@elyx-code/project-logic-tree 0.0.6203 → 0.0.6205

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.js CHANGED
@@ -1,20 +1,20 @@
1
1
  var xv = Object.defineProperty;
2
2
  var $v = (i, a, e) => a in i ? xv(i, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[a] = e;
3
3
  var f = (i, a, e) => ($v(i, typeof a != "symbol" ? a + "" : a, e), e);
4
- var n = /* @__PURE__ */ ((i) => (i.DefinitionEntity = "definition-entity", i.BuiltInBaseEntity = "built-in-base-entity", i.Project = "project", i.InstalledProject = "installed-project", i.GlobalEvent = "global-event", i.DataType = "data-type", i.FunctionCall = "function-call", i.FunctionDeclaration = "function-declaration", i.ActionDescriptor = "action-descriptor", i.ValueDescriptor = "value-descriptor", i.ArgumentDeclaration = "argument-declaration", i.InputMap = "input-map", i.ReturnStatement = "return-statement", i.BreakStatement = "break-statement", i.ContinueStatement = "continue-statement", i.ReturnDeclaration = "return-declaration", i.OutputMap = "output-map", i.PrimitiveEntity = "primitive-entity", i.LiteralValue = "literal-value", i.Property = "property", i.Operation = "operation", i.Condition = "condition", i.VariableDeclaration = "variable-declaration", i.VariableInstance = "variable-instance", i.Search = "search", i.Loop = "loop", i.InternalCall = "internal-call", i.GenericReference = "generic-reference", i))(n || {}), te = /* @__PURE__ */ ((i) => (i.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", i.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", i.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", i.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", i.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", i.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", i))(te || {}), Tt = /* @__PURE__ */ ((i) => (i.CurrentDateAndTime = "current-date-and-time", i.Unique = "unique", i.Random = "random", i))(Tt || {}), N = /* @__PURE__ */ ((i) => (i.EntityTemplate = "entity-template", i.ActionDescriptor = "action-descriptor", i.String = "string", i.Number = "number", i.Boolean = "boolean", i.Null = "null", i.Enum = "enum", i.KeyValue = "key-value", i.Date = "date", i.UUID = "uuid", i.File = "file", i.Untyped = "untyped", i))(N || {}), tt = /* @__PURE__ */ ((i) => (i.Addition = "addition", i.Subtraction = "subtraction", i.Multiplication = "multiplication", i.Division = "division", i.Remainder = "remainder", i.Exponentiation = "exponentiation", i))(tt || {}), ke = /* @__PURE__ */ ((i) => (i.Join = "string-join", i.Split = "string-split", i.DeleteLast = "string-delete-last", i.DeleteFirst = "string-delete-first", i.DeleteIndex = "string-delete-index", i.AddIndex = "string-add-index", i.ReplaceFirst = "string-replace-first", i.ReplaceLast = "string-replace-last", i.ReplaceIndex = "string-replace-index", i.ReplaceSingleMatch = "string-replace-single-match", i.ReplaceAllMatches = "string-replace-all-matches", i.GetIndex = "string-get-index", i.GetFirst = "string-get-first", i.GetLast = "string-get-last", i.Append = "string-append", i.Prepend = "string-prepend", i))(ke || {}), he = /* @__PURE__ */ ((i) => (i.Join = "list-join", i.Split = "list-split", i.DeleteLast = "list-delete-last", i.DeleteFirst = "list-delete-first", i.DeleteIndex = "list-delete-index", i.AddIndex = "list-add-index", i.ReplaceFirst = "list-replace-first", i.ReplaceLast = "list-replace-last", i.ReplaceIndex = "list-replace-index", i.ReplaceSingleMatch = "list-replace-single-match", i.ReplaceAllMatches = "list-replace-all-matches", i.GetIndex = "list-get-index", i.GetFirst = "list-get-first", i.GetLast = "list-get-last", i.Append = "list-append", i.Prepend = "list-prepend", i))(he || {}), Xe = /* @__PURE__ */ ((i) => (i.Parallel = "parallel", i.Sequential = "sequential", i.Wait = "wait", i))(Xe || {}), Ke = /* @__PURE__ */ ((i) => (i.CreateNewInstance = "create-new-instance", i.Validate = "validate", i))(Ke || {}), $t = /* @__PURE__ */ ((i) => (i.HttpRequest = "base-http-request", i))($t || {}), ct = /* @__PURE__ */ ((i) => (i.Equal = "equal", i.NotEqual = "not-equal", i.And = "and", i.Or = "or", i.LessThan = "less-than", i.MoreThan = "more-than", i.LessThanOrEqual = "less-than-or-equal", i.MoreThanOrEqual = "more-than-or-equal", i))(ct || {}), Or = /* @__PURE__ */ ((i) => (i.Empty = "empty", i.NotEmpty = "not-empty", i))(Or || {}), Q = /* @__PURE__ */ ((i) => (i.ManualFlow = "manual-flow-loop", i.Counted = "counted-loop", i.List = "list-loop", i.ObjectKeys = "object-keys-loop", i.ObjectValues = "object-values-loop", i.String = "string-loop", i))(Q || {}), _ = /* @__PURE__ */ ((i) => (i.FixedArguments = "fixed-arguments", i.FixedReturns = "fixed-returns", i.ReturnedError = "returned-error", i.OngoingProcessExecution = "ongoing-process-execution", i.DynamicArgument = "dynamic-argument-types", i.DynamicReturn = "dynamic-return-types", i))(_ || {}), Dt = /* @__PURE__ */ ((i) => (i.OrDataTypeGroup = "or-data-type-group", i.AndDataTypeGroup = "and-data-type-group", i))(Dt || {}), ci = /* @__PURE__ */ ((i) => (i.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", i))(ci || {}), yr = /* @__PURE__ */ ((i) => (i.DeletePersistedEntity = "base-delete-persisted-entity", i.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", i.AbortExecution = "base-abort-execution", i))(yr || {}), Es = /* @__PURE__ */ ((i) => (i.Error = "error", i.Task = "task", i.Return = "return", i))(Es || {});
4
+ var n = /* @__PURE__ */ ((i) => (i.DefinitionEntity = "definition-entity", i.BuiltInBaseEntity = "built-in-base-entity", i.Project = "project", i.InstalledProject = "installed-project", i.GlobalEvent = "global-event", i.DataType = "data-type", i.FunctionCall = "function-call", i.FunctionDeclaration = "function-declaration", i.ActionDescriptor = "action-descriptor", i.ValueDescriptor = "value-descriptor", i.ArgumentDeclaration = "argument-declaration", i.InputMap = "input-map", i.ReturnStatement = "return-statement", i.BreakStatement = "break-statement", i.ContinueStatement = "continue-statement", i.ReturnDeclaration = "return-declaration", i.OutputMap = "output-map", i.PrimitiveEntity = "primitive-entity", i.LiteralValue = "literal-value", i.Property = "property", i.Operation = "operation", i.Condition = "condition", i.VariableDeclaration = "variable-declaration", i.VariableInstance = "variable-instance", i.Search = "search", i.Loop = "loop", i.InternalCall = "internal-call", i.GenericReference = "generic-reference", i))(n || {}), te = /* @__PURE__ */ ((i) => (i.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", i.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", i.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", i.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", i.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", i.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", i))(te || {}), Tt = /* @__PURE__ */ ((i) => (i.CurrentDateAndTime = "current-date-and-time", i.Unique = "unique", i.Random = "random", i))(Tt || {}), N = /* @__PURE__ */ ((i) => (i.EntityTemplate = "entity-template", i.ActionDescriptor = "action-descriptor", i.String = "string", i.Number = "number", i.Boolean = "boolean", i.Null = "null", i.Enum = "enum", i.KeyValue = "key-value", i.Date = "date", i.UUID = "uuid", i.File = "file", i.Untyped = "untyped", i))(N || {}), tt = /* @__PURE__ */ ((i) => (i.Addition = "addition", i.Subtraction = "subtraction", i.Multiplication = "multiplication", i.Division = "division", i.Remainder = "remainder", i.Exponentiation = "exponentiation", i))(tt || {}), ke = /* @__PURE__ */ ((i) => (i.Join = "string-join", i.Split = "string-split", i.DeleteLast = "string-delete-last", i.DeleteFirst = "string-delete-first", i.DeleteIndex = "string-delete-index", i.AddIndex = "string-add-index", i.ReplaceFirst = "string-replace-first", i.ReplaceLast = "string-replace-last", i.ReplaceIndex = "string-replace-index", i.ReplaceSingleMatch = "string-replace-single-match", i.ReplaceAllMatches = "string-replace-all-matches", i.GetIndex = "string-get-index", i.GetFirst = "string-get-first", i.GetLast = "string-get-last", i.Append = "string-append", i.Prepend = "string-prepend", i))(ke || {}), he = /* @__PURE__ */ ((i) => (i.Join = "list-join", i.Split = "list-split", i.DeleteLast = "list-delete-last", i.DeleteFirst = "list-delete-first", i.DeleteIndex = "list-delete-index", i.AddIndex = "list-add-index", i.ReplaceFirst = "list-replace-first", i.ReplaceLast = "list-replace-last", i.ReplaceIndex = "list-replace-index", i.ReplaceSingleMatch = "list-replace-single-match", i.ReplaceAllMatches = "list-replace-all-matches", i.GetIndex = "list-get-index", i.GetFirst = "list-get-first", i.GetLast = "list-get-last", i.Append = "list-append", i.Prepend = "list-prepend", i))(he || {}), Xe = /* @__PURE__ */ ((i) => (i.Parallel = "parallel", i.Sequential = "sequential", i.Wait = "wait", i))(Xe || {}), Ke = /* @__PURE__ */ ((i) => (i.CreateNewInstance = "create-new-instance", i.Validate = "validate", i))(Ke || {}), $t = /* @__PURE__ */ ((i) => (i.HttpRequest = "base-http-request", i))($t || {}), ft = /* @__PURE__ */ ((i) => (i.Equal = "equal", i.NotEqual = "not-equal", i.And = "and", i.Or = "or", i.LessThan = "less-than", i.MoreThan = "more-than", i.LessThanOrEqual = "less-than-or-equal", i.MoreThanOrEqual = "more-than-or-equal", i))(ft || {}), Or = /* @__PURE__ */ ((i) => (i.Empty = "empty", i.NotEmpty = "not-empty", i))(Or || {}), Q = /* @__PURE__ */ ((i) => (i.ManualFlow = "manual-flow-loop", i.Counted = "counted-loop", i.List = "list-loop", i.ObjectKeys = "object-keys-loop", i.ObjectValues = "object-values-loop", i.String = "string-loop", i))(Q || {}), _ = /* @__PURE__ */ ((i) => (i.FixedArguments = "fixed-arguments", i.FixedReturns = "fixed-returns", i.ReturnedError = "returned-error", i.OngoingProcessExecution = "ongoing-process-execution", i.DynamicArgument = "dynamic-argument-types", i.DynamicReturn = "dynamic-return-types", i))(_ || {}), Dt = /* @__PURE__ */ ((i) => (i.OrDataTypeGroup = "or-data-type-group", i.AndDataTypeGroup = "and-data-type-group", i))(Dt || {}), ci = /* @__PURE__ */ ((i) => (i.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", i))(ci || {}), yr = /* @__PURE__ */ ((i) => (i.DeletePersistedEntity = "base-delete-persisted-entity", i.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", i.AbortExecution = "base-abort-execution", i))(yr || {}), Es = /* @__PURE__ */ ((i) => (i.Error = "error", i.Task = "task", i.Return = "return", i))(Es || {});
5
5
  const Ni = [
6
6
  n.VariableDeclaration,
7
7
  n.VariableInstance,
8
8
  n.InputMap,
9
9
  n.ReturnDeclaration
10
- ], mt = [
10
+ ], vt = [
11
11
  n.VariableDeclaration,
12
12
  n.VariableInstance,
13
13
  n.ArgumentDeclaration,
14
14
  n.OutputMap
15
15
  ], jv = [
16
16
  ...Ni,
17
- ...mt
17
+ ...vt
18
18
  ], et = [
19
19
  n.VariableDeclaration,
20
20
  n.VariableInstance
@@ -73,14 +73,14 @@ const Ni = [
73
73
  ], xl = [
74
74
  ...Wp,
75
75
  n.Condition
76
- ], at = [
76
+ ], ot = [
77
77
  ...xl,
78
78
  n.InternalCall
79
- ], ot = [
79
+ ], lt = [
80
80
  n.FunctionDeclaration,
81
81
  ...Fs
82
82
  ], ti = [
83
- ...at,
83
+ ...ot,
84
84
  n.ReturnStatement,
85
85
  n.BreakStatement,
86
86
  n.ContinueStatement
@@ -90,16 +90,16 @@ const Ni = [
90
90
  n.BreakStatement,
91
91
  n.ContinueStatement
92
92
  ], Yr = [
93
- ...at,
94
- ...ot
93
+ ...ot,
94
+ ...lt
95
95
  ], Fv = [
96
96
  ...xl,
97
- ...ot
98
- ], Eq = [...ti, ...ot], Aq = [
97
+ ...lt
98
+ ], Eq = [...ti, ...lt], Aq = [
99
99
  ...Sp,
100
- ...ot
101
- ], lt = [
102
- ...ot,
100
+ ...lt
101
+ ], dt = [
102
+ ...lt,
103
103
  n.Loop
104
104
  ], st = [
105
105
  n.ReturnStatement,
@@ -620,8 +620,8 @@ const F = {
620
620
  }
621
621
  },
622
622
  [n.Condition]: {
623
- [ct.MoreThanOrEqual]: {
624
- id: ct.MoreThanOrEqual,
623
+ [ft.MoreThanOrEqual]: {
624
+ id: ft.MoreThanOrEqual,
625
625
  inputs: {
626
626
  leftHand: {
627
627
  id: "condition-more-than-or-equal-left-hand-input-id",
@@ -6823,7 +6823,7 @@ const tA = {
6823
6823
  id: "more-than-or-equal-condition-left-hand-argument-parent-ref",
6824
6824
  version: "1",
6825
6825
  entityType: n.ActionDescriptor,
6826
- entityId: ct.MoreThanOrEqual
6826
+ entityId: ft.MoreThanOrEqual
6827
6827
  }, D1 = {
6828
6828
  id: zn.inputs.leftHand.id,
6829
6829
  type: n.ValueDescriptor,
@@ -6870,7 +6870,7 @@ const tA = {
6870
6870
  id: "more-than-or-equal-condition-right-hand-argument-parent-ref",
6871
6871
  version: "1",
6872
6872
  entityType: n.ActionDescriptor,
6873
- entityId: ct.MoreThanOrEqual
6873
+ entityId: ft.MoreThanOrEqual
6874
6874
  }, V1 = {
6875
6875
  id: zn.inputs.rightHand.id,
6876
6876
  type: n.ValueDescriptor,
@@ -6889,13 +6889,13 @@ const tA = {
6889
6889
  parent: P1
6890
6890
  }, Ks = {
6891
6891
  type: n.ActionDescriptor,
6892
- id: ct.MoreThanOrEqual,
6892
+ id: ft.MoreThanOrEqual,
6893
6893
  version: "1",
6894
6894
  createdAt: "2024-01-01T00:00:00.000Z",
6895
6895
  author: "1",
6896
6896
  previousVersion: null,
6897
6897
  deleted: !1,
6898
- name: ct.MoreThanOrEqual,
6898
+ name: ft.MoreThanOrEqual,
6899
6899
  description: "Checks if the value is not empty",
6900
6900
  parent: null,
6901
6901
  inputs: [
@@ -6905,7 +6905,7 @@ const tA = {
6905
6905
  outputs: [],
6906
6906
  error: null
6907
6907
  }, C1 = {
6908
- [ct.MoreThanOrEqual]: Ks
6908
+ [ft.MoreThanOrEqual]: Ks
6909
6909
  }, B1 = {
6910
6910
  ...E1,
6911
6911
  ...C1
@@ -8571,13 +8571,13 @@ Dr.create = (i, a) => new Dr({
8571
8571
  ...ve(a)
8572
8572
  });
8573
8573
  function On(i) {
8574
- if (i instanceof yt) {
8574
+ if (i instanceof mt) {
8575
8575
  const a = {};
8576
8576
  for (const e in i.shape) {
8577
8577
  const t = i.shape[e];
8578
8578
  a[e] = Mr.create(On(t));
8579
8579
  }
8580
- return new yt({
8580
+ return new mt({
8581
8581
  ...i._def,
8582
8582
  shape: () => a
8583
8583
  });
@@ -8587,7 +8587,7 @@ function On(i) {
8587
8587
  type: On(i.element)
8588
8588
  }) : i instanceof Mr ? Mr.create(On(i.unwrap())) : i instanceof mi ? mi.create(On(i.unwrap())) : i instanceof Ur ? Ur.create(i.items.map((a) => On(a))) : i;
8589
8589
  }
8590
- class yt extends Ze {
8590
+ class mt extends Ze {
8591
8591
  constructor() {
8592
8592
  super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
8593
8593
  }
@@ -8665,7 +8665,7 @@ class yt extends Ze {
8665
8665
  return this._def.shape();
8666
8666
  }
8667
8667
  strict(a) {
8668
- return re.errToObj, new yt({
8668
+ return re.errToObj, new mt({
8669
8669
  ...this._def,
8670
8670
  unknownKeys: "strict",
8671
8671
  ...a !== void 0 ? {
@@ -8682,13 +8682,13 @@ class yt extends Ze {
8682
8682
  });
8683
8683
  }
8684
8684
  strip() {
8685
- return new yt({
8685
+ return new mt({
8686
8686
  ...this._def,
8687
8687
  unknownKeys: "strip"
8688
8688
  });
8689
8689
  }
8690
8690
  passthrough() {
8691
- return new yt({
8691
+ return new mt({
8692
8692
  ...this._def,
8693
8693
  unknownKeys: "passthrough"
8694
8694
  });
@@ -8711,7 +8711,7 @@ class yt extends Ze {
8711
8711
  // }) as any;
8712
8712
  // };
8713
8713
  extend(a) {
8714
- return new yt({
8714
+ return new mt({
8715
8715
  ...this._def,
8716
8716
  shape: () => ({
8717
8717
  ...this._def.shape(),
@@ -8725,7 +8725,7 @@ class yt extends Ze {
8725
8725
  * upgrade if you are experiencing issues.
8726
8726
  */
8727
8727
  merge(a) {
8728
- return new yt({
8728
+ return new mt({
8729
8729
  unknownKeys: a._def.unknownKeys,
8730
8730
  catchall: a._def.catchall,
8731
8731
  shape: () => ({
@@ -8795,7 +8795,7 @@ class yt extends Ze {
8795
8795
  // return merged;
8796
8796
  // }
8797
8797
  catchall(a) {
8798
- return new yt({
8798
+ return new mt({
8799
8799
  ...this._def,
8800
8800
  catchall: a
8801
8801
  });
@@ -8804,7 +8804,7 @@ class yt extends Ze {
8804
8804
  const e = {};
8805
8805
  return We.objectKeys(a).forEach((t) => {
8806
8806
  a[t] && this.shape[t] && (e[t] = this.shape[t]);
8807
- }), new yt({
8807
+ }), new mt({
8808
8808
  ...this._def,
8809
8809
  shape: () => e
8810
8810
  });
@@ -8813,7 +8813,7 @@ class yt extends Ze {
8813
8813
  const e = {};
8814
8814
  return We.objectKeys(this.shape).forEach((t) => {
8815
8815
  a[t] || (e[t] = this.shape[t]);
8816
- }), new yt({
8816
+ }), new mt({
8817
8817
  ...this._def,
8818
8818
  shape: () => e
8819
8819
  });
@@ -8829,7 +8829,7 @@ class yt extends Ze {
8829
8829
  return We.objectKeys(this.shape).forEach((t) => {
8830
8830
  const r = this.shape[t];
8831
8831
  a && !a[t] ? e[t] = r : e[t] = r.optional();
8832
- }), new yt({
8832
+ }), new mt({
8833
8833
  ...this._def,
8834
8834
  shape: () => e
8835
8835
  });
@@ -8845,7 +8845,7 @@ class yt extends Ze {
8845
8845
  s = s._def.innerType;
8846
8846
  e[t] = s;
8847
8847
  }
8848
- }), new yt({
8848
+ }), new mt({
8849
8849
  ...this._def,
8850
8850
  shape: () => e
8851
8851
  });
@@ -8854,21 +8854,21 @@ class yt extends Ze {
8854
8854
  return zc(We.objectKeys(this.shape));
8855
8855
  }
8856
8856
  }
8857
- yt.create = (i, a) => new yt({
8857
+ mt.create = (i, a) => new mt({
8858
8858
  shape: () => i,
8859
8859
  unknownKeys: "strip",
8860
8860
  catchall: Hr.create(),
8861
8861
  typeName: pe.ZodObject,
8862
8862
  ...ve(a)
8863
8863
  });
8864
- yt.strictCreate = (i, a) => new yt({
8864
+ mt.strictCreate = (i, a) => new mt({
8865
8865
  shape: () => i,
8866
8866
  unknownKeys: "strict",
8867
8867
  catchall: Hr.create(),
8868
8868
  typeName: pe.ZodObject,
8869
8869
  ...ve(a)
8870
8870
  });
8871
- yt.lazycreate = (i, a) => new yt({
8871
+ mt.lazycreate = (i, a) => new mt({
8872
8872
  shape: i,
8873
8873
  unknownKeys: "strip",
8874
8874
  catchall: Hr.create(),
@@ -9812,7 +9812,7 @@ function Yc(i, a = {}, e) {
9812
9812
  }) : _n.create();
9813
9813
  }
9814
9814
  const dO = {
9815
- object: yt.lazycreate
9815
+ object: mt.lazycreate
9816
9816
  };
9817
9817
  var pe;
9818
9818
  (function(i) {
@@ -9820,7 +9820,7 @@ var pe;
9820
9820
  })(pe || (pe = {}));
9821
9821
  const uO = (i, a = {
9822
9822
  message: `Input not instance of ${i.name}`
9823
- }) => Yc((e) => e instanceof i, a), Ga = br.create, cd = fi.create, pO = ja.create, cO = hi.create, fd = Ds.create, Hc = $i.create, fO = La.create, hO = Os.create, Kc = ws.create, yO = _n.create, wa = Ui.create, mO = Hr.create, vO = xa.create, TO = Dr.create, Xc = yt.create, IO = yt.strictCreate, EO = Ps.create, AO = io.create, bO = Vs.create, RO = Ur.create, Qc = Cs.create, DO = $a.create, OO = ji.create, wO = Cn.create, PO = Bs.create, VO = Ms.create, ef = yi.create, CO = _s.create, BO = Nn.create, Tp = wr.create, MO = Mr.create, _O = mi.create, NO = wr.createWithPreprocess, UO = Xs.create, LO = () => Ga().optional(), xO = () => cd().optional(), $O = () => fd().optional(), jO = {
9823
+ }) => Yc((e) => e instanceof i, a), Ga = br.create, cd = fi.create, pO = ja.create, cO = hi.create, fd = Ds.create, Hc = $i.create, fO = La.create, hO = Os.create, Kc = ws.create, yO = _n.create, wa = Ui.create, mO = Hr.create, vO = xa.create, TO = Dr.create, Xc = mt.create, IO = mt.strictCreate, EO = Ps.create, AO = io.create, bO = Vs.create, RO = Ur.create, Qc = Cs.create, DO = $a.create, OO = ji.create, wO = Cn.create, PO = Bs.create, VO = Ms.create, ef = yi.create, CO = _s.create, BO = Nn.create, Tp = wr.create, MO = Mr.create, _O = mi.create, NO = wr.createWithPreprocess, UO = Xs.create, LO = () => Ga().optional(), xO = () => cd().optional(), $O = () => fd().optional(), jO = {
9824
9824
  string: (i) => br.create({ ...i, coerce: !0 }),
9825
9825
  number: (i) => fi.create({ ...i, coerce: !0 }),
9826
9826
  boolean: (i) => Ds.create({
@@ -9869,7 +9869,7 @@ var m = /* @__PURE__ */ Object.freeze({
9869
9869
  ZodNever: Hr,
9870
9870
  ZodVoid: xa,
9871
9871
  ZodArray: Dr,
9872
- ZodObject: yt,
9872
+ ZodObject: mt,
9873
9873
  ZodUnion: Ps,
9874
9874
  ZodDiscriminatedUnion: io,
9875
9875
  ZodIntersection: Vs,
@@ -24474,7 +24474,7 @@ var hm = { exports: {} };
24474
24474
  })(hm);
24475
24475
  var a9 = hm.exports;
24476
24476
  const v = /* @__PURE__ */ tf(a9);
24477
- var R = /* @__PURE__ */ ((i) => (i.Error = "error", i.Warning = "warning", i))(R || {}), $ = /* @__PURE__ */ ((i) => (i.InvalidObjectStructure = "invalid-object-structure", i.NameNotUniqueInScope = "name-not-unique-in-scope", i.EmptyName = "empty-name", i.MissingCaller = "missing-caller", i.PropertyOverwritesOtherSiblingWithSameName = "property-overwrites-other-sibling-with-same-name", i.PropertyOverwritesOtherSiblingWithSameImplementation = "property-overwrites-other-sibling-with-same-name", i.PropertyOverwritesOtherImplementedEntitysPropertyWithSameName = "property-overwrites-other-implemented-entitys-property-with-same-name", i.PropertyOverwritesOtherImplementedEntitysPropertyWithSameImplementation = "property-overwrites-other-implemented-entitys-property-with-same-name", i.PropertyOverwritesOtherExtendedEntitysPropertyWithSameImplementation = "property-overwrites-other-extended-entitys-property-with-same-name", i.PropertyOverwritesOtherExtendedEntitysPropertyWithSameName = "property-overwrites-other-extended-entitys-property-with-same-name", i.PropertyOverwritesBasePropertyWithSameName = "property-overwrites-base-property-with-same-name", i.PropertyOverwritesBasePropertyWithSameImplementation = "property-overwrites-base-property-with-same-name", i.MethodOverwritesOtherSiblingWithSameName = "method-overwrites-other-sibling-with-same-name", i.MethodOverwritesOtherSiblingWithSameImplementation = "method-overwrites-other-sibling-with-same-name", i.MethodOverwritesOtherImplementedEntitysMethodWithSameName = "method-overwrites-other-implemented-entitys-method-with-same-name", i.MethodOverwritesOtherImplementedEntitysMethodWithSameImplementation = "method-overwrites-other-implemented-entitys-method-with-same-name", i.MethodOverwritesOtherExtendedEntitysMethodWithSameImplementation = "method-overwrites-other-extended-entitys-method-with-same-name", i.MethodOverwritesOtherExtendedEntitysMethodWithSameName = "method-overwrites-other-extended-entitys-method-with-same-name", i.MethodOverwritesBaseMethodWithSameName = "method-overwrites-base-method-with-same-name", i.MethodOverwritesBaseMethodWithSameImplementation = "method-overwrites-base-method-with-same-name", i.LoopBodyFunctionOverwrite = "loop-body-function-overwrite", i.NoOverlapWithImplementedSignature = "no-overlap-with-implemented-signature", i.ReaderWriterIncompatibleDataType = "reader-writer-incompatible-data-type", i.UnreachableEntity = "unreachable-entity", i.InternalCallParentMissingDataType = "internal-call-parent-missing-data-type", i.InternalCallParentDeclarationEntityInvalidType = "internal-call-parent-declaration-entity-invalid-type", i.InternalCallDeclarationNotFoundInParentDatatypeEntity = "internal-call-declaration-not-found-in-parent-datatype-entity", i.InternalCallDeclarationIsNotFunctionDeclaration = "internal-call-declaration-is-not-function-declaration", i.InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity", i))($ || {}), b = /* @__PURE__ */ ((i) => (i.RootReference = "root-reference", i.ReferencedEntityNotFound = "referenced-entity-not-found", i.EntityIdNotUnique = "entity-id-not-unique", i.BuiltInEntityGenerated = "built-in-entity-generated", i.BuiltInEntityUpdated = "built-in-entity-updated", i.BuiltInEntityDeleted = "built-in-entity-deleted", i.UnknownEntityType = "unknown-entity-type", i.MissingTypeProperty = "missing-type-property", i.MissingIdProperty = "missing-id-property", i.BuiltInEntityParent = "built-in-entity-parent", i.InvalidBuiltInEntityReference = "invalid-built-in-entity-reference", i.RecommendedImplementAbstractEntityAction = "recommended-implement-abstract-entity-action", i.RecommendedImplementOperationAction = "recommended-implement-operation-action", i.RecommendedImplementFunctionCallAction = "recommended-implement-function-call-action", i.RecommendedImplementVariableDeclarationAction = "recommended-implement-variable-declaration-action", i.RecommendedImplementVariableInstanceAction = "recommended-implement-variable-instance-action", i.RecommendedImplementConditionAction = "recommended-implement-condition-action", i.InvalidReferenceObjectStructure = "invalid-reference-object-structure", i.ContainsSingleButShouldBeReferenceList = "contains-single-but-should-be-reference-list", i.ContainsListButShouldReferenceSingle = "contains-list-but-should-reference-single", i.InvalidParentReference = "invalid-parent-reference", i.InvalidImplementsReference = "invalid-implements-reference", i.InvalidExtendsReference = "invalid-extends-reference", i.InvalidGenerationActionPayload = "invalid-generation-action-payload", i.InvalidReference = "invalid-reference", i.InvalidInternalCallParentRelation = "invalid-internal-call-parent-relation", i.InvalidUpdateEntityOperation = "invalid-update-entity-operation", i.NewEntityWouldOverriteExisting = "new-entity-would-overrite-existing", i.InvalidDownstreamPropertyOverride = "invalid-downstream-property-override", i.UnrecognizedProperty = "unrecognized-property", i.SelfReference = "self-reference", i.DuplicateReference = "duplicate-reference", i.CallerWithIncompatibleScope = "caller-with-incompatible-scope", i.InvalidFunctionDeclarationForFunctionCall = "invalid-function-declaration-for-function-call", i.InvalidInputMapDeclaration = "invalid-input-map-declaration", i.InvalidActionDescriptorForOperation = "invalid-action-descriptor-for-operation", i.InvalidActionDescriptorForCondition = "invalid-action-descriptor-for-condition", i.InvalidActionDescriptorForLoop = "invalid-action-descriptor-for-loop", i.InvalidInmutablePropertyOverride = "invalid-inmutable-property-override", i.OutputOverwrite = "output-overwrite", i.InputOverwrite = "input-overwrite", i.IncompatibleScope = "incompatible-scope", i.InvalidParentUpdate = "invalid-parent-update", i.NonInteractiveEntityReferenced = "non-interactive-entity-referenced", i.InvalidParentRelationType = "invalid-parent-relation-type", i))(b || {}), g = /* @__PURE__ */ ((i) => (i.NoPrimaryKeyProperty = "no-primary-key-property", i.ScopeWithoutLogic = "scope-without-logic", i.AbstractEntityImplements = "abstract-entity-implements", i.ImplementsIncompatibleEntities = "implements-incompatible-entities", i.ExtendsIncompatibleEntities = "extends-incompatible-entities", i.NonAbstractExtendingAbstractEntity = "non-abstract-extending-abstract-entity", i.AbstractExtendingNonAbstractEntity = "abstract-extending-non-abstract-entity", i.NonStaticExtendingStaticEntity = "non-static-extending-static-entity", i.StaticExtendingNonStaticEntity = "static-extending-non-static-entity", i.ImplementingNonAbstractEntity = "implementing-non-abstract-entity", i.ExtendingNonInteractiveEntity = "extending-non-interactive-entity", i.AbstractEntityWithNonAbstractMethods = "abstract-entity-with-non-abstract-methods", i.AbstractEntityWithNonAbstractProperties = "abstract-entity-with-non-abstract-properties", i.StaticEntityWithNonStaticProperties = "static-entity-with-non-static-properties", i.NonStaticPropertyInStaticEntity = "non-static-property-in-static-entity", i.AbstractPropertyInNonAbstractEntity = "abstract-property-in-non-abstract-entity", i.AbstractMethodInNonAbstractEntity = "abstract-method-in-non-abstract-entity", i.IncorrectEntityImplementation = "incorrect-entity-implementation", i.IncorrectMethodImplementation = "incorrect-method-implementation", i.IncorrectPropertyImplementation = "incorrect-property-implementation", i.PropertyImplementsNonAbstact = "property-implements-non-abstract", i.NonStaticPropertyImplementsStatic = "non-static-property-implements-static", i.StaticPropertyImplementsNonStatic = "static-property-implements-non-static", i.PropertyImplementsIncompatibleType = "property-implements-incompatible-type", i.MissingPropertyImplementation = "missing-property-implementation", i.MissingMethodImplementation = "missing-method-implementation", i.NoProperties = "no-properties", i.ReadingFromIncompatibleType = "reading-from-incompatible-type", i.WritingToIncompatibleType = "writing-to-incompatible-type", i.InvalidPropertiesCombination = "invalid-properties-combination", i.DisconnectedCallableEntity = "disconnected-callable-entity", i.VariableReadsValueAndInternalCall = "variable-reads-value-and-internal-call", i.VariableWritesValuesAndInternalCall = "variable-writes-values-and-internal-call", i.VariableHasInputsAndInternalCall = "variable-has-inputs-and-internal-calls", i.VariableHasOutputsAndInternalCall = "variable-has-outputs-and-internal-call", i.VariableIsCalledAndHasInternalCall = "variable-is-called-and-has-internal-call", i.VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call", i))(g || {});
24477
+ var R = /* @__PURE__ */ ((i) => (i.Error = "error", i.Warning = "warning", i))(R || {}), $ = /* @__PURE__ */ ((i) => (i.InvalidObjectStructure = "invalid-object-structure", i.NameNotUniqueInScope = "name-not-unique-in-scope", i.EmptyName = "empty-name", i.MissingCaller = "missing-caller", i.PropertyOverwritesOtherSiblingWithSameName = "property-overwrites-other-sibling-with-same-name", i.PropertyOverwritesOtherSiblingWithSameImplementation = "property-overwrites-other-sibling-with-same-name", i.PropertyOverwritesOtherImplementedEntitysPropertyWithSameName = "property-overwrites-other-implemented-entitys-property-with-same-name", i.PropertyOverwritesOtherImplementedEntitysPropertyWithSameImplementation = "property-overwrites-other-implemented-entitys-property-with-same-name", i.PropertyOverwritesOtherExtendedEntitysPropertyWithSameImplementation = "property-overwrites-other-extended-entitys-property-with-same-name", i.PropertyOverwritesOtherExtendedEntitysPropertyWithSameName = "property-overwrites-other-extended-entitys-property-with-same-name", i.PropertyOverwritesBasePropertyWithSameName = "property-overwrites-base-property-with-same-name", i.PropertyOverwritesBasePropertyWithSameImplementation = "property-overwrites-base-property-with-same-name", i.MethodOverwritesOtherSiblingWithSameName = "method-overwrites-other-sibling-with-same-name", i.MethodOverwritesOtherSiblingWithSameImplementation = "method-overwrites-other-sibling-with-same-name", i.MethodOverwritesOtherImplementedEntitysMethodWithSameName = "method-overwrites-other-implemented-entitys-method-with-same-name", i.MethodOverwritesOtherImplementedEntitysMethodWithSameImplementation = "method-overwrites-other-implemented-entitys-method-with-same-name", i.MethodOverwritesOtherExtendedEntitysMethodWithSameImplementation = "method-overwrites-other-extended-entitys-method-with-same-name", i.MethodOverwritesOtherExtendedEntitysMethodWithSameName = "method-overwrites-other-extended-entitys-method-with-same-name", i.MethodOverwritesBaseMethodWithSameName = "method-overwrites-base-method-with-same-name", i.MethodOverwritesBaseMethodWithSameImplementation = "method-overwrites-base-method-with-same-name", i.LoopBodyFunctionOverwrite = "loop-body-function-overwrite", i.NoOverlapWithImplementedSignature = "no-overlap-with-implemented-signature", i.ReaderWriterIncompatibleDataType = "reader-writer-incompatible-data-type", i.UnreachableEntity = "unreachable-entity", i.InternalCallParentMissingDataType = "internal-call-parent-missing-data-type", i.InternalCallParentDeclarationEntityInvalidType = "internal-call-parent-declaration-entity-invalid-type", i.InternalCallDeclarationNotFoundInParentDatatypeEntity = "internal-call-declaration-not-found-in-parent-datatype-entity", i.InternalCallDeclarationIsNotFunctionDeclaration = "internal-call-declaration-is-not-function-declaration", i.InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity", i))($ || {}), b = /* @__PURE__ */ ((i) => (i.RootReference = "root-reference", i.ReferencedEntityNotFound = "referenced-entity-not-found", i.EntityIdNotUnique = "entity-id-not-unique", i.BuiltInEntityGenerated = "built-in-entity-generated", i.BuiltInEntityUpdated = "built-in-entity-updated", i.BuiltInEntityDeleted = "built-in-entity-deleted", i.UnknownEntityType = "unknown-entity-type", i.MissingTypeProperty = "missing-type-property", i.MissingIdProperty = "missing-id-property", i.BuiltInEntityParent = "built-in-entity-parent", i.InvalidBuiltInEntityReference = "invalid-built-in-entity-reference", i.RecommendedImplementAbstractEntityAction = "recommended-implement-abstract-entity-action", i.RecommendedImplementOperationAction = "recommended-implement-operation-action", i.RecommendedImplementFunctionCallAction = "recommended-implement-function-call-action", i.RecommendedImplementVariableDeclarationAction = "recommended-implement-variable-declaration-action", i.RecommendedImplementVariableInstanceAction = "recommended-implement-variable-instance-action", i.RecommendedImplementConditionAction = "recommended-implement-condition-action", i.InvalidReferenceObjectStructure = "invalid-reference-object-structure", i.ContainsSingleButShouldBeReferenceList = "contains-single-but-should-be-reference-list", i.ContainsListButShouldReferenceSingle = "contains-list-but-should-reference-single", i.InvalidParentReference = "invalid-parent-reference", i.InvalidImplementsReference = "invalid-implements-reference", i.InvalidExtendsReference = "invalid-extends-reference", i.InvalidGenerationActionPayload = "invalid-generation-action-payload", i.InvalidReference = "invalid-reference", i.InvalidInternalCallParentRelation = "invalid-internal-call-parent-relation", i.InvalidUpdateEntityOperation = "invalid-update-entity-operation", i.NewEntityWouldOverriteExisting = "new-entity-would-overrite-existing", i.InvalidDownstreamPropertyOverride = "invalid-downstream-property-override", i.UnrecognizedProperty = "unrecognized-property", i.SelfReference = "self-reference", i.DuplicateReference = "duplicate-reference", i.CallerWithIncompatibleScope = "caller-with-incompatible-scope", i.InvalidFunctionDeclarationForFunctionCall = "invalid-function-declaration-for-function-call", i.InvalidInputMapDeclaration = "invalid-input-map-declaration", i.InvalidActionDescriptorForOperation = "invalid-action-descriptor-for-operation", i.InvalidActionDescriptorForCondition = "invalid-action-descriptor-for-condition", i.InvalidActionDescriptorForLoop = "invalid-action-descriptor-for-loop", i.InvalidInmutablePropertyOverride = "invalid-inmutable-property-override", i.OutputOverwrite = "output-overwrite", i.InputOverwrite = "input-overwrite", i.IncompatibleScope = "incompatible-scope", i.InvalidParentUpdate = "invalid-parent-update", i.NonInteractiveEntityReferenced = "non-interactive-entity-referenced", i.InvalidParentRelationType = "invalid-parent-relation-type", i))(b || {}), G = /* @__PURE__ */ ((i) => (i.NoPrimaryKeyProperty = "no-primary-key-property", i.ScopeWithoutLogic = "scope-without-logic", i.AbstractEntityImplements = "abstract-entity-implements", i.ImplementsIncompatibleEntities = "implements-incompatible-entities", i.ExtendsIncompatibleEntities = "extends-incompatible-entities", i.NonAbstractExtendingAbstractEntity = "non-abstract-extending-abstract-entity", i.AbstractExtendingNonAbstractEntity = "abstract-extending-non-abstract-entity", i.NonStaticExtendingStaticEntity = "non-static-extending-static-entity", i.StaticExtendingNonStaticEntity = "static-extending-non-static-entity", i.StaticImplementingNonStaticEntity = "static-implementing-non-static-entity", i.NonStaticImplementingStaticEntity = "non-static-implementing-static-entity", i.ImplementingNonAbstractEntity = "implementing-non-abstract-entity", i.ExtendingNonInteractiveEntity = "extending-non-interactive-entity", i.AbstractEntityWithNonAbstractMethods = "abstract-entity-with-non-abstract-methods", i.AbstractEntityWithNonAbstractProperties = "abstract-entity-with-non-abstract-properties", i.StaticEntityWithNonStaticProperties = "static-entity-with-non-static-properties", i.NonStaticPropertyInStaticEntity = "non-static-property-in-static-entity", i.AbstractPropertyInNonAbstractEntity = "abstract-property-in-non-abstract-entity", i.AbstractMethodInNonAbstractEntity = "abstract-method-in-non-abstract-entity", i.IncorrectEntityImplementation = "incorrect-entity-implementation", i.IncorrectMethodImplementation = "incorrect-method-implementation", i.IncorrectPropertyImplementation = "incorrect-property-implementation", i.PropertyImplementsNonAbstact = "property-implements-non-abstract", i.NonStaticPropertyImplementsStatic = "non-static-property-implements-static", i.StaticPropertyImplementsNonStatic = "static-property-implements-non-static", i.PropertyImplementsIncompatibleType = "property-implements-incompatible-type", i.MissingPropertyImplementation = "missing-property-implementation", i.MissingMethodImplementation = "missing-method-implementation", i.NoProperties = "no-properties", i.ReadingFromIncompatibleType = "reading-from-incompatible-type", i.WritingToIncompatibleType = "writing-to-incompatible-type", i.InvalidPropertiesCombination = "invalid-properties-combination", i.DisconnectedCallableEntity = "disconnected-callable-entity", i.VariableReadsValueAndInternalCall = "variable-reads-value-and-internal-call", i.VariableWritesValuesAndInternalCall = "variable-writes-values-and-internal-call", i.VariableHasInputsAndInternalCall = "variable-has-inputs-and-internal-calls", i.VariableHasOutputsAndInternalCall = "variable-has-outputs-and-internal-call", i.VariableIsCalledAndHasInternalCall = "variable-is-called-and-has-internal-call", i.VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call", i))(G || {});
24478
24478
  class w {
24479
24479
  constructor(a) {
24480
24480
  // A deterministic error code, so if the same error occurs again in a subsequent validation run,
@@ -24491,7 +24491,7 @@ class w {
24491
24491
  this.id = a.id, this.message = a.message, this.issue = a.issue, this.severity = a.severity, this.code = a.code;
24492
24492
  }
24493
24493
  toEntityError(a) {
24494
- return this.code in $ ? new vt({
24494
+ return this.code in $ ? new at({
24495
24495
  id: this.id,
24496
24496
  message: this.message,
24497
24497
  issue: this.issue,
@@ -24501,7 +24501,7 @@ class w {
24501
24501
  }) : null;
24502
24502
  }
24503
24503
  }
24504
- class vt {
24504
+ class at {
24505
24505
  constructor(a) {
24506
24506
  // A deterministic error code, so if the same error occurs again in a subsequent validation run,
24507
24507
  // it can be identified as the same problem
@@ -24528,7 +24528,7 @@ class vt {
24528
24528
  this.id = a.id, this.message = a.message, this.issue = a.issue, this.severity = a.severity, this.code = a.code, this.entity = a.entity, this.firstRelationship = a.firstRelationship, this.secondRelationship = a.secondRelationship;
24529
24529
  }
24530
24530
  clone() {
24531
- return new vt({
24531
+ return new at({
24532
24532
  id: this.id,
24533
24533
  message: this.message,
24534
24534
  issue: this.issue,
@@ -24546,7 +24546,7 @@ function Bq(i) {
24546
24546
  }
24547
24547
  function de(i) {
24548
24548
  const a = i.entity.errors.find((t) => t.id === i.id);
24549
- return a ? { new: !1, error: a } : { new: !0, error: new vt(i) };
24549
+ return a ? { new: !1, error: a } : { new: !0, error: new at(i) };
24550
24550
  }
24551
24551
  function Mq(i, a) {
24552
24552
  const e = /* @__PURE__ */ new Map();
@@ -25413,14 +25413,14 @@ function p6() {
25413
25413
  }
25414
25414
  function c6() {
25415
25415
  return m.enum([
25416
- ct.Equal,
25417
- ct.NotEqual,
25418
- ct.MoreThan,
25419
- ct.MoreThanOrEqual,
25420
- ct.LessThan,
25421
- ct.LessThanOrEqual,
25422
- ct.And,
25423
- ct.Or,
25416
+ ft.Equal,
25417
+ ft.NotEqual,
25418
+ ft.MoreThan,
25419
+ ft.MoreThanOrEqual,
25420
+ ft.LessThan,
25421
+ ft.LessThanOrEqual,
25422
+ ft.And,
25423
+ ft.Or,
25424
25424
  Or.Empty,
25425
25425
  Or.NotEmpty
25426
25426
  ]);
@@ -28421,7 +28421,7 @@ function M0(i, a) {
28421
28421
  const r = er(Qe(i)).filter(
28422
28422
  (s) => s.type === n.VariableDeclaration
28423
28423
  );
28424
- e.push(...r), i.parent && (lt.includes(i.parent.type) || i.parent.type === n.Project) && e.push(
28424
+ e.push(...r), i.parent && (dt.includes(i.parent.type) || i.parent.type === n.Project) && e.push(
28425
28425
  ...M0(
28426
28426
  i.parent
28427
28427
  )
@@ -28478,7 +28478,7 @@ function Cl(i) {
28478
28478
  `${t.slice(0, 1).toUpperCase()}${t.slice(1)}`
28479
28479
  );
28480
28480
  } else if (i.entity.type === n.DefinitionEntity) {
28481
- const t = G(
28481
+ const t = g(
28482
28482
  i.entity,
28483
28483
  i.project
28484
28484
  );
@@ -28502,21 +28502,21 @@ function iW(i) {
28502
28502
  }
28503
28503
  function ol(i) {
28504
28504
  switch (i.declaration.id) {
28505
- case ct.Equal:
28505
+ case ft.Equal:
28506
28506
  return "is equal to";
28507
- case ct.NotEqual:
28507
+ case ft.NotEqual:
28508
28508
  return "is not equal to";
28509
- case ct.MoreThan:
28509
+ case ft.MoreThan:
28510
28510
  return "is greater than";
28511
- case ct.MoreThanOrEqual:
28511
+ case ft.MoreThanOrEqual:
28512
28512
  return "is greater than or equal to";
28513
- case ct.LessThan:
28513
+ case ft.LessThan:
28514
28514
  return "is less than";
28515
- case ct.LessThanOrEqual:
28515
+ case ft.LessThanOrEqual:
28516
28516
  return "is less than or equal to";
28517
- case ct.And:
28517
+ case ft.And:
28518
28518
  return "and";
28519
- case ct.Or:
28519
+ case ft.Or:
28520
28520
  return "or";
28521
28521
  case Or.Empty:
28522
28522
  return "is empty";
@@ -28544,15 +28544,15 @@ function nW(i) {
28544
28544
  const a = Vv(i);
28545
28545
  if (!a) {
28546
28546
  const e = Pv(i);
28547
- return e.includes(te.HTTP_ENDPOINT) ? "HTTP endpoint" : e.includes(te.PERSISTED_ENTITY) ? "Persisted entity" : e.includes(te.CRON_JOB) ? "Scheduled execution" : e.includes(te.RELATIONAL_DATABASE) ? "Relational database" : G(i, i.project) + " entity";
28547
+ return e.includes(te.HTTP_ENDPOINT) ? "HTTP endpoint" : e.includes(te.PERSISTED_ENTITY) ? "Persisted entity" : e.includes(te.CRON_JOB) ? "Scheduled execution" : e.includes(te.RELATIONAL_DATABASE) ? "Relational database" : g(i, i.project) + " entity";
28548
28548
  }
28549
- return G(a, i.project) + " entity";
28549
+ return g(a, i.project) + " entity";
28550
28550
  }
28551
28551
  function kZ(i) {
28552
28552
  let a = "Find ";
28553
28553
  return i.outputsDeclarations.forEach((e, t) => {
28554
28554
  const r = np(e, null), s = Pl(
28555
- r && r.entity ? G(r.entity, i.project) : "unstructured data"
28555
+ r && r.entity ? g(r.entity, i.project) : "unstructured data"
28556
28556
  );
28557
28557
  t === 0 ? a += `${s} ` : t === i.outputsDeclarations.length - 1 ? a += `and ${s} ` : a += `, ${s} `;
28558
28558
  }), a;
@@ -28693,7 +28693,7 @@ function JZ(i) {
28693
28693
  return (i.name.slice(0, 1).toUpperCase() + i.name.slice(1)).replaceAll("-", " ");
28694
28694
  }
28695
28695
  }
28696
- function G(i, a) {
28696
+ function g(i, a) {
28697
28697
  var e;
28698
28698
  if (n.FunctionDeclaration === i.type) {
28699
28699
  const t = i.name;
@@ -28721,7 +28721,7 @@ function G(i, a) {
28721
28721
  case n.InternalCall:
28722
28722
  case n.Loop:
28723
28723
  const t = hr(i.declaration, a);
28724
- return G(t, a);
28724
+ return g(t, a);
28725
28725
  case n.ActionDescriptor:
28726
28726
  return JZ(i);
28727
28727
  case n.BreakStatement:
@@ -28729,13 +28729,13 @@ function G(i, a) {
28729
28729
  i.parent,
28730
28730
  a
28731
28731
  );
28732
- return `Stop loop ${G(r, a)}`;
28732
+ return `Stop loop ${g(r, a)}`;
28733
28733
  case n.ContinueStatement:
28734
28734
  const s = hr(
28735
28735
  i.parent,
28736
28736
  a
28737
28737
  );
28738
- return `Execute next iteration of ${G(
28738
+ return `Execute next iteration of ${g(
28739
28739
  s,
28740
28740
  a
28741
28741
  )}`;
@@ -28747,7 +28747,7 @@ function G(i, a) {
28747
28747
  case n.Condition: {
28748
28748
  const o = i;
28749
28749
  if ((e = i.inputs) != null && e.length) {
28750
- const d = G(
28750
+ const d = g(
28751
28751
  o.inputs[0],
28752
28752
  o.project
28753
28753
  );
@@ -28765,7 +28765,7 @@ function G(i, a) {
28765
28765
  }
28766
28766
  case n.ReturnStatement: {
28767
28767
  const o = hr(i.parent, a);
28768
- return `Output of ${G(o, a)}`;
28768
+ return `Output of ${g(o, a)}`;
28769
28769
  }
28770
28770
  case n.InputMap:
28771
28771
  if (i.declaration) {
@@ -28773,7 +28773,7 @@ function G(i, a) {
28773
28773
  i.declaration,
28774
28774
  a
28775
28775
  );
28776
- return G(o, a) || "";
28776
+ return g(o, a) || "";
28777
28777
  } else
28778
28778
  return i.name || "";
28779
28779
  case n.VariableInstance: {
@@ -28781,7 +28781,7 @@ function G(i, a) {
28781
28781
  i.declaration,
28782
28782
  a
28783
28783
  );
28784
- return G(o, a) || "";
28784
+ return g(o, a) || "";
28785
28785
  }
28786
28786
  case n.OutputMap:
28787
28787
  if (i.declaration) {
@@ -29093,14 +29093,14 @@ function Gp(i, a) {
29093
29093
  }
29094
29094
  let r = "";
29095
29095
  return t && (r = `${Vl(
29096
- G(t, a)
29096
+ g(t, a)
29097
29097
  )}-`), e = `${r}${Vl(
29098
- G(i, a)
29098
+ g(i, a)
29099
29099
  )}-id`, a.instances[e] ? y.UUID.uuid() : e;
29100
29100
  }
29101
- function ft(i, a, e = "uuid") {
29101
+ function ht(i, a, e = "uuid") {
29102
29102
  return e === "semantic" ? qZ(
29103
- G(i, a),
29103
+ g(i, a),
29104
29104
  i.type,
29105
29105
  a
29106
29106
  ) : y.UUID.uuid();
@@ -29114,14 +29114,14 @@ function j0(i) {
29114
29114
  const s = [...r];
29115
29115
  if (i.id === "80c86e1b-caca-4ba5-9b1f-38f72d10e4a3") {
29116
29116
  const o = de({
29117
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
29118
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
29117
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
29118
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
29119
29119
  i,
29120
29120
  i.project
29121
29121
  )}" with id "${i.id}".`,
29122
29122
  issue: null,
29123
29123
  severity: R.Error,
29124
- code: g.PropertyImplementsNonAbstact,
29124
+ code: G.PropertyImplementsNonAbstact,
29125
29125
  entity: i
29126
29126
  });
29127
29127
  s.push(o.error);
@@ -29135,48 +29135,48 @@ function G0(i) {
29135
29135
  const e = i.implements;
29136
29136
  if (!e.abstract) {
29137
29137
  const r = de({
29138
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
29139
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
29138
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
29139
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
29140
29140
  e,
29141
29141
  i.project
29142
29142
  )}" with id "${e.id}".`,
29143
29143
  issue: null,
29144
29144
  severity: R.Error,
29145
- code: g.PropertyImplementsNonAbstact,
29145
+ code: G.PropertyImplementsNonAbstact,
29146
29146
  entity: i
29147
29147
  });
29148
29148
  a.push(r.error);
29149
29149
  }
29150
29150
  if (i.static && !e.static) {
29151
29151
  const r = de({
29152
- id: `${i.id}--${g.NonStaticPropertyImplementsStatic}`,
29153
- message: `Static property "${G(
29152
+ id: `${i.id}--${G.NonStaticPropertyImplementsStatic}`,
29153
+ message: `Static property "${g(
29154
29154
  i,
29155
29155
  i.project
29156
- )}" with id "${i.id}" implements a non-static property "${G(
29156
+ )}" with id "${i.id}" implements a non-static property "${g(
29157
29157
  e,
29158
29158
  i.project
29159
29159
  )}" with id "${e.id}".`,
29160
29160
  issue: null,
29161
29161
  severity: R.Error,
29162
- code: g.NonStaticPropertyImplementsStatic,
29162
+ code: G.NonStaticPropertyImplementsStatic,
29163
29163
  entity: i
29164
29164
  });
29165
29165
  a.push(r.error);
29166
29166
  }
29167
29167
  if (!i.static && e.static) {
29168
29168
  const r = de({
29169
- id: `${i.id}--${g.StaticPropertyImplementsNonStatic}`,
29170
- message: `Non-static property "${G(
29169
+ id: `${i.id}--${G.StaticPropertyImplementsNonStatic}`,
29170
+ message: `Non-static property "${g(
29171
29171
  i,
29172
29172
  i.project
29173
- )}" with id "${i.id}" implements a static property "${G(
29173
+ )}" with id "${i.id}" implements a static property "${g(
29174
29174
  e,
29175
29175
  i.project
29176
29176
  )}" with id "${e.id}".`,
29177
29177
  issue: null,
29178
29178
  severity: R.Error,
29179
- code: g.StaticPropertyImplementsNonStatic,
29179
+ code: G.StaticPropertyImplementsNonStatic,
29180
29180
  entity: i
29181
29181
  });
29182
29182
  a.push(r.error);
@@ -29186,14 +29186,14 @@ function G0(i) {
29186
29186
  e.dataType
29187
29187
  )) {
29188
29188
  const r = de({
29189
- id: `${i.id}--${g.PropertyImplementsIncompatibleType}`,
29190
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a property "${G(
29189
+ id: `${i.id}--${G.PropertyImplementsIncompatibleType}`,
29190
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a property "${g(
29191
29191
  e,
29192
29192
  i.project
29193
29193
  )}" with id "${e.id}" that has an incompatible data type.`,
29194
29194
  issue: null,
29195
29195
  severity: R.Error,
29196
- code: g.PropertyImplementsIncompatibleType,
29196
+ code: G.PropertyImplementsIncompatibleType,
29197
29197
  entity: i
29198
29198
  });
29199
29199
  a.push(r.error);
@@ -29222,7 +29222,7 @@ function WZ(i, a) {
29222
29222
  else {
29223
29223
  const s = rn(r);
29224
29224
  if (s) {
29225
- const l = r !== s ? `The entity of type '${i.type}' with id '${i.id}' have 'parent' with id '${i.parent}' because the entity belongs to a built-in '${s.type}' entity with id '${s.id}' (${G(
29225
+ const l = r !== s ? `The entity of type '${i.type}' with id '${i.id}' have 'parent' with id '${i.parent}' because the entity belongs to a built-in '${s.type}' entity with id '${s.id}' (${g(
29226
29226
  s,
29227
29227
  r.project
29228
29228
  )}) higher up in the tree.` : `The entity of type '${i.type}' with id '${i.id}' have 'parent' with id '${i.parent}' because it is a built-in entity of type ${s.type}.`;
@@ -29252,11 +29252,11 @@ function WZ(i, a) {
29252
29252
  if (o.length) {
29253
29253
  let d = o.length > 1 ? `The entity of type '${i.type}' with id '${i.id}' can't be added to the 'parent' entity with id '${r.id}' because it extends or implements multiple '${n.BuiltInBaseEntity}' entities that are non-interactive ("${ie(
29254
29254
  o.map(
29255
- (u) => G(u, u.project)
29255
+ (u) => g(u, u.project)
29256
29256
  ),
29257
29257
  '", "',
29258
29258
  '" and "'
29259
- )}").` : `The entity of type '${i.type}' with id '${i.id}' can't be added to the 'parent' entity with id '${r.id}' because it extends or implements a '${n.BuiltInBaseEntity}' entity that is non-interactive ("${G(
29259
+ )}").` : `The entity of type '${i.type}' with id '${i.id}' can't be added to the 'parent' entity with id '${r.id}' because it extends or implements a '${n.BuiltInBaseEntity}' entity that is non-interactive ("${g(
29260
29260
  o[0],
29261
29261
  o[0].project
29262
29262
  )}").`;
@@ -29811,7 +29811,7 @@ const Ae = class Ae extends it {
29811
29811
  return s.push(
29812
29812
  ...l,
29813
29813
  ...o,
29814
- ...dt(r)
29814
+ ...ut(r)
29815
29815
  ), {
29816
29816
  errors: s,
29817
29817
  modifiedData: r
@@ -30161,7 +30161,7 @@ ${Bl}`,
30161
30161
  "meta-sync"
30162
30162
  )
30163
30163
  )) {
30164
- const r = ut(this, e), s = this.toMeta();
30164
+ const r = pt(this, e), s = this.toMeta();
30165
30165
  return this.name = e.name || s.name, this.description = e.description || s.description, this.abstract = e.abstract !== void 0 ? e.abstract : s.abstract, this.private = e.private !== void 0 ? e.private : s.private, this.index = e.index || (e.index !== 0 ? s.index : 0), this.static = e.static !== void 0 ? e.static : s.static, this.hidden = e.hidden !== void 0 ? e.hidden : s.hidden, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
30166
30166
  }
30167
30167
  async APILoad(e = L, ...t) {
@@ -30366,7 +30366,7 @@ ${Bl}`,
30366
30366
  toJSONClone(e = J) {
30367
30367
  var r, s, l, o, d, u, h;
30368
30368
  let t;
30369
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
30369
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
30370
30370
  id: t,
30371
30371
  version: y.UUID.uuid(),
30372
30372
  createdAt: e.timestamp || v().toISOString(),
@@ -30505,7 +30505,7 @@ ${Bl}`,
30505
30505
  )
30506
30506
  ), t = null, r = null, s = !0) {
30507
30507
  var I, D;
30508
- let l = ht(t, this);
30508
+ let l = yt(t, this);
30509
30509
  const o = r || y.UUID.uuid();
30510
30510
  let d = t || this.parent;
30511
30511
  const u = {
@@ -30529,7 +30529,7 @@ ${Bl}`,
30529
30529
  dataType: null,
30530
30530
  implements: this.implements,
30531
30531
  parent: d
30532
- }, h = pt(
30532
+ }, h = ct(
30533
30533
  u,
30534
30534
  l
30535
30535
  );
@@ -30637,14 +30637,14 @@ function F0(i) {
30637
30637
  const r = [];
30638
30638
  if (i.id === "iterate-over-employee-list-continue-statement-employee-dto-output-decl-id") {
30639
30639
  const l = de({
30640
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
30641
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
30640
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
30641
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
30642
30642
  i,
30643
30643
  i.project
30644
30644
  )}" with id "${i.id}".`,
30645
30645
  issue: null,
30646
30646
  severity: R.Error,
30647
- code: g.PropertyImplementsNonAbstact,
30647
+ code: G.PropertyImplementsNonAbstact,
30648
30648
  entity: i
30649
30649
  });
30650
30650
  r.push(l.error);
@@ -30826,7 +30826,7 @@ ${Fp}`,
30826
30826
  }
30827
30827
  } else if (h && h.type === n.ReturnStatement) {
30828
30828
  const c = h.parent;
30829
- if (c && ot.includes(c.type)) {
30829
+ if (c && lt.includes(c.type)) {
30830
30830
  const T = c.implements;
30831
30831
  if (T) {
30832
30832
  const I = T.outputs.find(
@@ -30880,7 +30880,7 @@ ${j}`,
30880
30880
  return s.push(
30881
30881
  ...l.errors,
30882
30882
  ...o,
30883
- ...dt(r)
30883
+ ...ut(r)
30884
30884
  ), {
30885
30885
  errors: s,
30886
30886
  modifiedData: r
@@ -31268,8 +31268,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
31268
31268
  "meta-sync"
31269
31269
  )
31270
31270
  )) {
31271
- const r = ut(this, e), s = this.toMeta();
31272
- return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name || s.name, this.description = e.description || s.description, this.required = e.required || s.required, this.isError = e.isError || s.isError, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
31271
+ const r = pt(this, e), s = this.toMeta();
31272
+ return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name || s.name, this.description = e.description || s.description, this.required = e.required !== void 0 ? e.required : this.required, this.isError = e.isError !== void 0 ? e.isError : this.isError, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
31273
31273
  }
31274
31274
  async APILoad(e = L, ...t) {
31275
31275
  return await be.repository.APILoad(this.id, ...t), this;
@@ -31465,7 +31465,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
31465
31465
  toJSONClone(e = J) {
31466
31466
  var r, s, l, o, d, u, h, c, T;
31467
31467
  let t;
31468
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
31468
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
31469
31469
  id: t,
31470
31470
  version: y.UUID.uuid(),
31471
31471
  createdAt: e.timestamp || v().toISOString(),
@@ -31608,10 +31608,10 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
31608
31608
  )
31609
31609
  ), t = null, r = null, s = !0) {
31610
31610
  var T, I;
31611
- let l = ht(t, this);
31611
+ let l = yt(t, this);
31612
31612
  const o = this.toJSON(), d = r || y.UUID.uuid();
31613
31613
  o.dataType = null, o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
31614
- const u = pt(
31614
+ const u = ct(
31615
31615
  o,
31616
31616
  l
31617
31617
  );
@@ -31686,7 +31686,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
31686
31686
  ...t.breakStatements,
31687
31687
  ...t.continueStatements
31688
31688
  ].flatMap((l) => l.outputs).filter(
31689
- (l) => G(l, this.project) === G(this, this.project) && l.id !== this.id
31689
+ (l) => g(l, this.project) === g(this, this.project) && l.id !== this.id
31690
31690
  );
31691
31691
  } else if (this.parent.type === n.ReturnStatement && [n.FunctionDeclaration, n.GlobalEvent].includes(
31692
31692
  this.parent.parent.type
@@ -31700,7 +31700,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
31700
31700
  return this.implements.id === ((o = l.implements) == null ? void 0 : o.id);
31701
31701
  }
31702
31702
  ) : e = r.filter(
31703
- (l) => G(l, this.project) === G(this, this.project) && l.id !== this.id
31703
+ (l) => g(l, this.project) === g(this, this.project) && l.id !== this.id
31704
31704
  );
31705
31705
  }
31706
31706
  return e;
@@ -31941,7 +31941,7 @@ const $e = class $e extends it {
31941
31941
  );
31942
31942
  return r = l.modifiedData, s.push(
31943
31943
  ...l.errors,
31944
- ...dt(r)
31944
+ ...ut(r)
31945
31945
  ), {
31946
31946
  errors: s,
31947
31947
  modifiedData: r
@@ -32355,7 +32355,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
32355
32355
  "meta-sync"
32356
32356
  )
32357
32357
  )) {
32358
- const r = ut(this, e), s = this.toMeta();
32358
+ const r = pt(this, e), s = this.toMeta();
32359
32359
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
32360
32360
  }
32361
32361
  async APILoad(e = L, ...t) {
@@ -32545,7 +32545,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
32545
32545
  toJSONClone(e = J) {
32546
32546
  var r, s, l, o, d, u, h;
32547
32547
  let t;
32548
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
32548
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
32549
32549
  id: t,
32550
32550
  version: y.UUID.uuid(),
32551
32551
  createdAt: e.timestamp || v().toISOString(),
@@ -32680,12 +32680,12 @@ Specifically for continue statements the parent needs to always be the 'loop' en
32680
32680
  )
32681
32681
  ), t = null, r = null, s = !0) {
32682
32682
  var I;
32683
- let l = ht(t, this);
32683
+ let l = yt(t, this);
32684
32684
  const o = this.toJSON(), d = r || y.UUID.uuid();
32685
32685
  o.outputs = [];
32686
32686
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
32687
32687
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
32688
- const c = pt(
32688
+ const c = ct(
32689
32689
  o,
32690
32690
  l
32691
32691
  );
@@ -32853,7 +32853,7 @@ const He = class He extends it {
32853
32853
  {
32854
32854
  parent: {
32855
32855
  list: !1,
32856
- types: lt
32856
+ types: dt
32857
32857
  }
32858
32858
  // calledByEntry: {
32859
32859
  // list: true,
@@ -32872,7 +32872,7 @@ const He = class He extends it {
32872
32872
  );
32873
32873
  return r = l.modifiedData, s.push(
32874
32874
  ...l.errors,
32875
- ...dt(r)
32875
+ ...ut(r)
32876
32876
  // ...callerReferencesValidation.errors
32877
32877
  ), {
32878
32878
  errors: s,
@@ -33284,7 +33284,7 @@ Specifically for return statements the parent needs to always be the 'function-d
33284
33284
  "meta-sync"
33285
33285
  )
33286
33286
  )) {
33287
- const r = ut(this, e), s = this.toMeta();
33287
+ const r = pt(this, e), s = this.toMeta();
33288
33288
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
33289
33289
  }
33290
33290
  async APILoad(e = L, ...t) {
@@ -33475,7 +33475,7 @@ Specifically for return statements the parent needs to always be the 'function-d
33475
33475
  toJSONClone(e = J) {
33476
33476
  var r, s, l, o, d, u, h;
33477
33477
  let t;
33478
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
33478
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
33479
33479
  id: t,
33480
33480
  version: y.UUID.uuid(),
33481
33481
  createdAt: e.timestamp || v().toISOString(),
@@ -33608,12 +33608,12 @@ Specifically for return statements the parent needs to always be the 'function-d
33608
33608
  )
33609
33609
  ), t = null, r = null, s = !0) {
33610
33610
  var I;
33611
- let l = ht(t, this);
33611
+ let l = yt(t, this);
33612
33612
  const o = this.toJSON(), d = r || y.UUID.uuid();
33613
33613
  o.outputs = [];
33614
33614
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
33615
33615
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
33616
- const c = pt(
33616
+ const c = ct(
33617
33617
  o,
33618
33618
  l
33619
33619
  );
@@ -33643,7 +33643,7 @@ f(He, "repository", {
33643
33643
  APILoad: async (e, ...t) => null,
33644
33644
  APILoadVersion: async (e, t, ...r) => null
33645
33645
  }), f(He, "type", n.ReturnStatement), f(He, "USER_MANAGED_PARENT_TYPES", [
33646
- ...lt
33646
+ ...dt
33647
33647
  ]), f(He, "PARENT_TYPES", [
33648
33648
  ...He.USER_MANAGED_PARENT_TYPES
33649
33649
  ]), f(He, "MUTABLE_BASE_PROPERTIES", []), f(He, "INMUTABLE_BASE_PROPERTIES", [
@@ -33690,14 +33690,14 @@ function q0(i) {
33690
33690
  const o = [...r, ...s];
33691
33691
  if (i.id === "getCompanyByIdEndpointReachedEntityEvent") {
33692
33692
  const d = de({
33693
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
33694
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
33693
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
33694
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
33695
33695
  i,
33696
33696
  i.project
33697
33697
  )}" with id "${i.id}".`,
33698
33698
  issue: null,
33699
33699
  severity: R.Error,
33700
- code: g.PropertyImplementsNonAbstact,
33700
+ code: G.PropertyImplementsNonAbstact,
33701
33701
  entity: i
33702
33702
  });
33703
33703
  o.push(d.error);
@@ -33708,11 +33708,11 @@ function YZ(i) {
33708
33708
  const a = [];
33709
33709
  if (!i.calls.length) {
33710
33710
  const e = de({
33711
- id: `${i.id}--${g.ScopeWithoutLogic}`,
33712
- message: `Action "${G(i, i.project)}" with id "${i.id}" does not have any logic defined. So it doesn't do anything.`,
33711
+ id: `${i.id}--${G.ScopeWithoutLogic}`,
33712
+ message: `Action "${g(i, i.project)}" with id "${i.id}" does not have any logic defined. So it doesn't do anything.`,
33713
33713
  issue: null,
33714
33714
  severity: R.Warning,
33715
- code: g.ScopeWithoutLogic,
33715
+ code: G.ScopeWithoutLogic,
33716
33716
  entity: i
33717
33717
  });
33718
33718
  a.push(e.error);
@@ -33866,11 +33866,11 @@ const Re = class Re extends it {
33866
33866
  if (D.length) {
33867
33867
  let O = D.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${T.id}' because it extends or implements multiple '${n.BuiltInBaseEntity}' entities that are non-interactive ("${ie(
33868
33868
  D.map(
33869
- (V) => G(V, V.project)
33869
+ (V) => g(V, V.project)
33870
33870
  ),
33871
33871
  '", "',
33872
33872
  '" and "'
33873
- )}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${T.id}' because it extends or implements a '${n.BuiltInBaseEntity}' entity that is non-interactive ("${G(
33873
+ )}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${T.id}' because it extends or implements a '${n.BuiltInBaseEntity}' entity that is non-interactive ("${g(
33874
33874
  D[0],
33875
33875
  D[0].project
33876
33876
  )}").`;
@@ -33937,7 +33937,7 @@ If you want to modify the existing implementation, you can update the existing m
33937
33937
  id: `${e.id}--${b.BuiltInEntityParent}`,
33938
33938
  code: b.BuiltInEntityParent,
33939
33939
  severity: R.Error,
33940
- message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${G(
33940
+ message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${g(
33941
33941
  h,
33942
33942
  t
33943
33943
  )}" with id '${h.id}', and therefore it cannot be created as it would affect a built in entity, which are inmutable.`,
@@ -33946,7 +33946,7 @@ If you want to modify the existing implementation, you can update the existing m
33946
33946
  ), s.push(
33947
33947
  ...l.errors,
33948
33948
  ...o,
33949
- ...dt(r)
33949
+ ...ut(r)
33950
33950
  ), {
33951
33951
  errors: s,
33952
33952
  modifiedData: r
@@ -34354,8 +34354,8 @@ Please consider than any updates might affect the overlap with the signature of
34354
34354
  "meta-sync"
34355
34355
  )
34356
34356
  )) {
34357
- const r = ut(this, e), s = this.toMeta();
34358
- return this.name = e.name || s.name, this.description = e.description || s.description, this.private = e.private || s.private, this.index = e.index || (e.index !== 0 ? s.index : 0), this.collapsed = e.collapsed !== void 0 ? e.collapsed : s.collapsed, this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
34357
+ const r = pt(this, e), s = this.toMeta();
34358
+ return this.name = e.name || s.name, this.description = e.description || s.description, this.private = e.private !== void 0 ? e.private : this.private, this.index = e.index || (e.index !== 0 ? s.index : 0), this.collapsed = e.collapsed !== void 0 ? e.collapsed : s.collapsed, this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
34359
34359
  }
34360
34360
  async APILoad(e = L, ...t) {
34361
34361
  return await Re.repository.APILoad(this.id, ...t), this;
@@ -34555,7 +34555,7 @@ Please consider than any updates might affect the overlap with the signature of
34555
34555
  toJSONClone(e = J) {
34556
34556
  var r, s, l, o, d;
34557
34557
  let t;
34558
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
34558
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
34559
34559
  id: t,
34560
34560
  version: y.UUID.uuid(),
34561
34561
  createdAt: e.timestamp || v().toISOString(),
@@ -34703,12 +34703,12 @@ Please consider than any updates might affect the overlap with the signature of
34703
34703
  )
34704
34704
  ), t = null, r = null, s = !0, l = !1) {
34705
34705
  var O;
34706
- let o = ht(t, this);
34706
+ let o = yt(t, this);
34707
34707
  const d = this.toJSON(), u = r || y.UUID.uuid();
34708
34708
  d.inputs = [], d.calls = [];
34709
34709
  const h = u.split("-id"), c = h[h.length - 1 || 0] || u;
34710
34710
  d.id = u, d.version = y.UUID.uuid(), d.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), d.author = (e == null ? void 0 : e.author) || "1", d.previousVersion = null, d.deleted = !1;
34711
- const T = pt(
34711
+ const T = ct(
34712
34712
  d,
34713
34713
  o
34714
34714
  );
@@ -34834,7 +34834,7 @@ Please consider than any updates might affect the overlap with the signature of
34834
34834
  } else
34835
34835
  return r.forEach((s) => {
34836
34836
  e.find(
34837
- (o) => o === s || G(o, this.project) === G(s, this.project) && Ar(o.dataType, s.dataType)
34837
+ (o) => o === s || g(o, this.project) === g(s, this.project) && Ar(o.dataType, s.dataType)
34838
34838
  ) || e.push(s);
34839
34839
  }), p(
34840
34840
  e
@@ -34905,11 +34905,11 @@ function W0(i) {
34905
34905
  const r = [];
34906
34906
  if (i.entity && i.andChildrenGroup || i.entity && i.orChildrenGroup || i.andChildrenGroup && i.orChildrenGroup) {
34907
34907
  const s = de({
34908
- id: i.id + "--" + g.InvalidPropertiesCombination,
34908
+ id: i.id + "--" + G.InvalidPropertiesCombination,
34909
34909
  message: `Data type with id "${i.id}" has invalid properties combination. Only one of the following properties can be present at the time: 'entity', 'andChildrenGroup' or 'orChildrenGroup'`,
34910
34910
  issue: null,
34911
34911
  severity: R.Error,
34912
- code: g.InvalidPropertiesCombination,
34912
+ code: G.InvalidPropertiesCombination,
34913
34913
  entity: i
34914
34914
  });
34915
34915
  r.push(s.error);
@@ -35113,7 +35113,7 @@ const De = class De extends it {
35113
35113
  const s = [], l = XZ(r, t);
35114
35114
  if (s.push(
35115
35115
  ...l,
35116
- ...dt(r)
35116
+ ...ut(r)
35117
35117
  ), r.entity) {
35118
35118
  const h = t.get(r.entity);
35119
35119
  if (h.type === n.DefinitionEntity) {
@@ -35146,7 +35146,7 @@ ${Qi}`,
35146
35146
  id: `${e.id}--${b.BuiltInEntityParent}`,
35147
35147
  code: b.BuiltInEntityParent,
35148
35148
  severity: R.Error,
35149
- message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${G(
35149
+ message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${g(
35150
35150
  d,
35151
35151
  t
35152
35152
  )}" with id '${d.id}', and therefore it cannot be created as it would affect a built in entity, which are inmutable.`,
@@ -35555,7 +35555,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
35555
35555
  "meta-sync"
35556
35556
  )
35557
35557
  )) {
35558
- const r = ut(this, e), s = this.toMeta();
35558
+ const r = pt(this, e), s = this.toMeta();
35559
35559
  return this.options = e.options || s.options, this.parentRelationType = e.parentRelationType || s.parentRelationType, this.isList = e.isList !== void 0 ? e.isList : s.isList, this.inferred = e.inferred !== void 0 ? e.inferred : s.inferred, this.like = e.like !== void 0 ? e.like : s.like, this.asType = e.asType !== void 0 ? e.asType : s.asType, this.implementationChooseOne = e.implementationChooseOne !== void 0 ? e.implementationChooseOne : s.implementationChooseOne, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
35560
35560
  }
35561
35561
  async APILoad(e = L, ...t) {
@@ -35787,7 +35787,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
35787
35787
  toJSONClone(e = J) {
35788
35788
  var r, s, l, o, d, u, h, c, T;
35789
35789
  let t;
35790
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
35790
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
35791
35791
  id: t,
35792
35792
  version: y.UUID.uuid(),
35793
35793
  createdAt: e.timestamp || v().toISOString(),
@@ -35931,7 +35931,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
35931
35931
  )
35932
35932
  ), t = null, r = null, s = !0) {
35933
35933
  var I, D, O;
35934
- let l = ht(t, this), o = t || this.parent;
35934
+ let l = yt(t, this), o = t || this.parent;
35935
35935
  const u = {
35936
35936
  id: r || y.UUID.uuid(),
35937
35937
  version: y.UUID.uuid(),
@@ -35951,7 +35951,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
35951
35951
  orChildrenGroup: null,
35952
35952
  entity: null,
35953
35953
  parent: o.toReference()
35954
- }, h = pt(
35954
+ }, h = ct(
35955
35955
  u,
35956
35956
  l
35957
35957
  );
@@ -36101,7 +36101,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
36101
36101
  self: this
36102
36102
  };
36103
36103
  if (!this.entity && e.length) {
36104
- const u = G(this.parent, this.project) + " data type definition", h = {
36104
+ const u = g(this.parent, this.project) + " data type definition", h = {
36105
36105
  id: y.UUID.uuid(),
36106
36106
  type: n.DefinitionEntity,
36107
36107
  version: y.UUID.uuid(),
@@ -36224,14 +36224,14 @@ function z0(i) {
36224
36224
  const r = QZ(i), s = Ci(i), l = [...r, ...s];
36225
36225
  if (i.id === "exec-sequentially-operation-call-id") {
36226
36226
  const d = de({
36227
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
36228
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
36227
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
36228
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
36229
36229
  i,
36230
36230
  i.project
36231
36231
  )}" with id "${i.id}".`,
36232
36232
  issue: null,
36233
36233
  severity: R.Error,
36234
- code: g.PropertyImplementsNonAbstact,
36234
+ code: G.PropertyImplementsNonAbstact,
36235
36235
  entity: i
36236
36236
  });
36237
36237
  l.push(d.error);
@@ -36368,7 +36368,7 @@ const Oe = class Oe extends it {
36368
36368
  {
36369
36369
  parent: {
36370
36370
  list: !1,
36371
- types: [...lt, n.Project],
36371
+ types: [...dt, n.Project],
36372
36372
  optional: !0
36373
36373
  }
36374
36374
  // calledByEntry: {
@@ -36392,7 +36392,7 @@ const Oe = class Oe extends it {
36392
36392
  );
36393
36393
  r = l.modifiedData, s.push(
36394
36394
  ...l.errors,
36395
- ...dt(r)
36395
+ ...ut(r)
36396
36396
  );
36397
36397
  const o = B(
36398
36398
  r.declaration
@@ -36407,7 +36407,7 @@ const Oe = class Oe extends it {
36407
36407
  const d = `
36408
36408
  All built-in 'action-descriptor' entity ids are:
36409
36409
  - ${t.operationDeclarations.map(
36410
- (u) => `${u.id} (${G(u, t)})`
36410
+ (u) => `${u.id} (${g(u, t)})`
36411
36411
  ).join(`
36412
36412
  - `)}.
36413
36413
  `;
@@ -37005,7 +37005,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37005
37005
  "meta-sync"
37006
37006
  )
37007
37007
  )) {
37008
- const r = ut(this, e), s = this.toMeta();
37008
+ const r = pt(this, e), s = this.toMeta();
37009
37009
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
37010
37010
  }
37011
37011
  async APILoad(e = L, ...t) {
@@ -37247,7 +37247,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37247
37247
  toJSONClone(e = J) {
37248
37248
  var r, s, l, o, d, u, h;
37249
37249
  let t;
37250
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
37250
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
37251
37251
  id: t,
37252
37252
  version: y.UUID.uuid(),
37253
37253
  createdAt: e.timestamp || v().toISOString(),
@@ -37426,12 +37426,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37426
37426
  )
37427
37427
  ), t = null, r = null, s = !0) {
37428
37428
  var D, O;
37429
- let l = ht(t, this);
37429
+ let l = yt(t, this);
37430
37430
  const o = this.toJSON(), d = r || y.UUID.uuid();
37431
37431
  o.inputs = [];
37432
37432
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
37433
37433
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
37434
- const c = pt(
37434
+ const c = ct(
37435
37435
  o,
37436
37436
  l
37437
37437
  );
@@ -37656,7 +37656,7 @@ f(Oe, "repository", {
37656
37656
  APILoad: async (e, ...t) => null,
37657
37657
  APILoadVersion: async (e, t, ...r) => null
37658
37658
  }), f(Oe, "type", n.Operation), f(Oe, "USER_MANAGED_PARENT_TYPES", [
37659
- ...lt,
37659
+ ...dt,
37660
37660
  n.Project
37661
37661
  ]), f(Oe, "PARENT_TYPES", [
37662
37662
  ...Oe.USER_MANAGED_PARENT_TYPES
@@ -37825,7 +37825,7 @@ const hW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37825
37825
  );
37826
37826
  if (r = l.modifiedData, s.push(
37827
37827
  ...l.errors,
37828
- ...dt(r)
37828
+ ...ut(r)
37829
37829
  ), !e.implements)
37830
37830
  s.push(
37831
37831
  new w({
@@ -38271,7 +38271,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
38271
38271
  "meta-sync"
38272
38272
  )
38273
38273
  )) {
38274
- const r = ut(this, e), s = this.toMeta();
38274
+ const r = pt(this, e), s = this.toMeta();
38275
38275
  return this.name = e.name || s.name, this.description = e.description || s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.collapsed = e.collapsed !== void 0 ? e.collapsed : s.collapsed, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
38276
38276
  }
38277
38277
  async APILoad(e = L, ...t) {
@@ -38469,7 +38469,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
38469
38469
  toJSONClone(e = J) {
38470
38470
  var r, s, l, o, d;
38471
38471
  let t;
38472
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
38472
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
38473
38473
  id: t,
38474
38474
  version: y.UUID.uuid(),
38475
38475
  createdAt: e.timestamp || v().toISOString(),
@@ -38602,12 +38602,12 @@ You can attach new logic to the existing 'global-event' but creating a new calla
38602
38602
  )
38603
38603
  ), t = null, r = null, s = !0, l = !1) {
38604
38604
  var O;
38605
- let o = ht(t, this);
38605
+ let o = yt(t, this);
38606
38606
  const d = this.toJSON(), u = r || y.UUID.uuid();
38607
38607
  d.inputs = [];
38608
38608
  const h = u.split("-id"), c = h[h.length - 1 || 0] || u;
38609
38609
  d.id = u, d.version = y.UUID.uuid(), d.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), d.author = (e == null ? void 0 : e.author) || "1", d.previousVersion = null, d.deleted = !1;
38610
- const T = pt(
38610
+ const T = ct(
38611
38611
  d,
38612
38612
  o
38613
38613
  );
@@ -38820,7 +38820,7 @@ const je = class je extends it {
38820
38820
  );
38821
38821
  return r = l.modifiedData, s.push(
38822
38822
  ...l.errors,
38823
- ...dt(r)
38823
+ ...ut(r)
38824
38824
  ), {
38825
38825
  errors: s,
38826
38826
  modifiedData: r
@@ -39231,7 +39231,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
39231
39231
  "meta-sync"
39232
39232
  )
39233
39233
  )) {
39234
- const r = ut(this, e), s = this.toMeta();
39234
+ const r = pt(this, e), s = this.toMeta();
39235
39235
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
39236
39236
  }
39237
39237
  async APILoad(e = L, ...t) {
@@ -39422,7 +39422,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
39422
39422
  toJSONClone(e = J) {
39423
39423
  var r, s, l, o, d, u, h;
39424
39424
  let t;
39425
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
39425
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
39426
39426
  id: t,
39427
39427
  version: y.UUID.uuid(),
39428
39428
  createdAt: e.timestamp || v().toISOString(),
@@ -39556,12 +39556,12 @@ Specifically for break statements the parent needs to always be the 'loop' entit
39556
39556
  )
39557
39557
  ), t = null, r = null, s = !0) {
39558
39558
  var I;
39559
- let l = ht(t, this);
39559
+ let l = yt(t, this);
39560
39560
  const o = this.toJSON(), d = r || y.UUID.uuid();
39561
39561
  o.outputs = [];
39562
39562
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
39563
39563
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
39564
- const c = pt(
39564
+ const c = ct(
39565
39565
  o,
39566
39566
  l
39567
39567
  );
@@ -39760,11 +39760,11 @@ const Pe = class Pe extends it {
39760
39760
  if (h.length) {
39761
39761
  let c = h.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements multiple '${n.BuiltInBaseEntity}' entities that are non-interactive ("${ie(
39762
39762
  h.map(
39763
- (T) => G(T, T.project)
39763
+ (T) => g(T, T.project)
39764
39764
  ),
39765
39765
  '", "',
39766
39766
  '" and "'
39767
- )}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements a '${n.BuiltInBaseEntity}' entity that is non-interactive ("${G(
39767
+ )}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements a '${n.BuiltInBaseEntity}' entity that is non-interactive ("${g(
39768
39768
  h[0],
39769
39769
  h[0].project
39770
39770
  )}").`;
@@ -39800,7 +39800,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
39800
39800
  }
39801
39801
  return s.push(
39802
39802
  ...l.errors,
39803
- ...dt(r)
39803
+ ...ut(r)
39804
39804
  ), {
39805
39805
  errors: s,
39806
39806
  modifiedData: r
@@ -40163,7 +40163,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
40163
40163
  "meta-sync"
40164
40164
  )
40165
40165
  )) {
40166
- const r = ut(this, e), s = this.toMeta();
40166
+ const r = pt(this, e), s = this.toMeta();
40167
40167
  return this.name = e.name || s.name, this.description = e.description || s.description, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
40168
40168
  }
40169
40169
  async APILoad(e = L, ...t) {
@@ -40352,7 +40352,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
40352
40352
  toJSONClone(e = J) {
40353
40353
  var r, s, l, o, d, u, h;
40354
40354
  let t;
40355
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
40355
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
40356
40356
  id: t,
40357
40357
  version: y.UUID.uuid(),
40358
40358
  createdAt: e.timestamp || v().toISOString(),
@@ -40996,12 +40996,12 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
40996
40996
  /* @__PURE__ */ new Set([...Lr(), ...this.project.getAllBuiltInIds()])
40997
40997
  ).includes(this.id))
40998
40998
  return this;
40999
- let o = ht(t, this);
40999
+ let o = yt(t, this);
41000
41000
  const d = this.toJSON(), u = r || y.UUID.uuid();
41001
41001
  d.inputs = [], d.outputs = [], d.error = null;
41002
41002
  const h = u.split("-id"), c = h[h.length - 1 || 0] || u;
41003
41003
  d.id = u, d.version = y.UUID.uuid(), d.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), d.author = (e == null ? void 0 : e.author) || "1", d.previousVersion = null, d.deleted = !1;
41004
- const T = pt(
41004
+ const T = ct(
41005
41005
  d,
41006
41006
  o
41007
41007
  );
@@ -41257,7 +41257,7 @@ const oe = class oe extends it {
41257
41257
  {
41258
41258
  parent: {
41259
41259
  list: !1,
41260
- types: [...lt, n.Project],
41260
+ types: [...dt, n.Project],
41261
41261
  optional: !0
41262
41262
  },
41263
41263
  // calledByEntry: {
@@ -41281,7 +41281,7 @@ const oe = class oe extends it {
41281
41281
  );
41282
41282
  return r = l.modifiedData, s.push(
41283
41283
  ...l.errors,
41284
- ...dt(r)
41284
+ ...ut(r)
41285
41285
  ), e.declaration ? t.get(
41286
41286
  e.declaration
41287
41287
  ) ? t.conditionDeclarations.find(
@@ -41319,7 +41319,7 @@ ${cl(t)}`,
41319
41319
  };
41320
41320
  }
41321
41321
  static fromReturnDeclarationToBodyArgumentDeclarationName(e) {
41322
- return `Previous iteration results of '${G(
41322
+ return `Previous iteration results of '${g(
41323
41323
  e,
41324
41324
  e.project
41325
41325
  )}'`;
@@ -41332,7 +41332,7 @@ ${cl(t)}`,
41332
41332
  return t.slice(0, t.length - 1);
41333
41333
  }
41334
41334
  static fromReturnDeclarationToLoopOutputDeclarationName(e) {
41335
- return `Result list of '${G(
41335
+ return `Result list of '${g(
41336
41336
  e,
41337
41337
  e.project
41338
41338
  )}'`;
@@ -41931,7 +41931,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
41931
41931
  "meta-sync"
41932
41932
  )
41933
41933
  )) {
41934
- const r = ut(this, e), s = this.toMeta();
41934
+ const r = pt(this, e), s = this.toMeta();
41935
41935
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
41936
41936
  }
41937
41937
  async APILoad(e = L, ...t) {
@@ -42166,7 +42166,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42166
42166
  toJSONClone(e = J) {
42167
42167
  var r, s, l, o, d, u, h;
42168
42168
  let t;
42169
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
42169
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
42170
42170
  id: t,
42171
42171
  version: y.UUID.uuid(),
42172
42172
  createdAt: e.timestamp || v().toISOString(),
@@ -42371,12 +42371,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42371
42371
  )
42372
42372
  ), t = null, r = null, s = !0) {
42373
42373
  var D, O;
42374
- let l = ht(t, this);
42374
+ let l = yt(t, this);
42375
42375
  const o = this.toJSON(), d = r || y.UUID.uuid();
42376
42376
  o.inputs = [];
42377
42377
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
42378
42378
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
42379
- const c = pt(
42379
+ const c = ct(
42380
42380
  o,
42381
42381
  l
42382
42382
  );
@@ -42423,10 +42423,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42423
42423
  }
42424
42424
  // The return statements, don't belong to the loop itself, but to the parent scope entity
42425
42425
  addReturnStatement(e) {
42426
- return ot.includes(this.parent.type) && this.parent.addReturnStatement(e), this;
42426
+ return lt.includes(this.parent.type) && this.parent.addReturnStatement(e), this;
42427
42427
  }
42428
42428
  removeReturnStatement(e) {
42429
- return ot.includes(this.parent.type) && this.parent.removeReturnStatement(e), this;
42429
+ return lt.includes(this.parent.type) && this.parent.removeReturnStatement(e), this;
42430
42430
  }
42431
42431
  addBreakStatement(e) {
42432
42432
  return this.breakStatements.includes(e) || this.breakStatements.push(e), this;
@@ -42452,7 +42452,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42452
42452
  ].forEach((r) => {
42453
42453
  r.outputs.forEach((l) => {
42454
42454
  e.find(
42455
- (d) => d === l || G(d, this.project) === G(l, this.project) && Ar(d.dataType, l.dataType)
42455
+ (d) => d === l || g(d, this.project) === g(l, this.project) && Ar(d.dataType, l.dataType)
42456
42456
  ) || e.push(l);
42457
42457
  });
42458
42458
  }), p(
@@ -42479,7 +42479,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42479
42479
  ].forEach((u) => {
42480
42480
  const h = u.outputs, c = o.filter(
42481
42481
  (T) => !h.find(
42482
- (I) => G(T, this.project) === G(I, this.project) && Ar(T.dataType, I.dataType)
42482
+ (I) => g(T, this.project) === g(I, this.project) && Ar(T.dataType, I.dataType)
42483
42483
  )
42484
42484
  );
42485
42485
  c.length && (t.push(u), e == null || e.add(u, E.Updated)), c.forEach((T) => {
@@ -42549,7 +42549,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42549
42549
  h.sort((O, V) => O.index - V.index), h.forEach((O) => {
42550
42550
  const V = O.getDataType(e);
42551
42551
  let j = c.find(
42552
- (ue) => G(ue, this.project) === oe.fromReturnDeclarationToBodyArgumentDeclarationName(
42552
+ (ue) => g(ue, this.project) === oe.fromReturnDeclarationToBodyArgumentDeclarationName(
42553
42553
  O
42554
42554
  ) && Ar(ue.dataType, O.dataType)
42555
42555
  );
@@ -42565,7 +42565,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42565
42565
  deleted: !1,
42566
42566
  type: n.ArgumentDeclaration,
42567
42567
  name: ue,
42568
- description: `Aggretated list of all previously outputted values from each iteration by the output '${G(
42568
+ description: `Aggretated list of all previously outputted values from each iteration by the output '${g(
42569
42569
  O,
42570
42570
  this.project
42571
42571
  )}'`,
@@ -42686,7 +42686,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42686
42686
  }), o.forEach((h) => {
42687
42687
  const c = h.getDataType(e);
42688
42688
  let I = d.find(
42689
- (V) => G(V, this.project) === oe.fromReturnDeclarationToLoopOutputDeclarationName(
42689
+ (V) => g(V, this.project) === oe.fromReturnDeclarationToLoopOutputDeclarationName(
42690
42690
  h
42691
42691
  ) && Ar(V.dataType, h.dataType)
42692
42692
  );
@@ -42702,7 +42702,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42702
42702
  deleted: !1,
42703
42703
  type: n.ValueDescriptor,
42704
42704
  name: V,
42705
- description: `Aggretated list of all previously outputted values from each iteration by the output '${G(
42705
+ description: `Aggretated list of all previously outputted values from each iteration by the output '${g(
42706
42706
  h,
42707
42707
  this.project
42708
42708
  )}'`,
@@ -42779,7 +42779,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42779
42779
  }
42780
42780
  }), d.filter(
42781
42781
  (h) => !o.find(
42782
- (T) => G(h, this.project) === oe.fromReturnDeclarationToLoopOutputDeclarationName(T)
42782
+ (T) => g(h, this.project) === oe.fromReturnDeclarationToLoopOutputDeclarationName(T)
42783
42783
  )
42784
42784
  ).forEach((h) => {
42785
42785
  const { updated: c, removed: T } = h.remove(
@@ -42985,7 +42985,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42985
42985
  )) {
42986
42986
  const t = [], r = [], s = [], l = [], o = this.body.inputs, d = this.getUniqueReturnDeclarations();
42987
42987
  return o.filter((h) => h === this.currentIterationNumberArgumentDeclaration || h === this.currentValueArgumentDeclaration ? !1 : !d.find(
42988
- (T) => G(h, this.project) === oe.fromReturnDeclarationToBodyArgumentDeclarationName(T)
42988
+ (T) => g(h, this.project) === oe.fromReturnDeclarationToBodyArgumentDeclarationName(T)
42989
42989
  )).forEach((h) => {
42990
42990
  const { updated: c, removed: T } = h.remove(
42991
42991
  {
@@ -43893,7 +43893,7 @@ f(oe, "repository", {
43893
43893
  APILoad: async (e, ...t) => null,
43894
43894
  APILoadVersion: async (e, t, ...r) => null
43895
43895
  }), f(oe, "type", n.Loop), f(oe, "USER_MANAGED_PARENT_TYPES", [
43896
- ...lt,
43896
+ ...dt,
43897
43897
  n.Project
43898
43898
  ]), f(oe, "PARENT_TYPES", [
43899
43899
  ...qe.USER_MANAGED_PARENT_TYPES
@@ -44071,7 +44071,7 @@ const Ge = class Ge extends it {
44071
44071
  {
44072
44072
  parent: {
44073
44073
  list: !1,
44074
- types: [...lt, n.Project],
44074
+ types: [...dt, n.Project],
44075
44075
  optional: !0
44076
44076
  }
44077
44077
  // calledByEntry: {
@@ -44091,7 +44091,7 @@ const Ge = class Ge extends it {
44091
44091
  );
44092
44092
  return r = l.modifiedData, s.push(
44093
44093
  ...l.errors,
44094
- ...dt(r)
44094
+ ...ut(r)
44095
44095
  ), e.declaration ? t.get(
44096
44096
  e.declaration
44097
44097
  ) ? t.conditionDeclarations.find(
@@ -44626,7 +44626,7 @@ If an entity is called by another, they must be in the same scope, which means t
44626
44626
  "meta-sync"
44627
44627
  )
44628
44628
  )) {
44629
- const r = ut(this, e), s = this.toMeta();
44629
+ const r = pt(this, e), s = this.toMeta();
44630
44630
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
44631
44631
  }
44632
44632
  async APILoad(e = L, ...t) {
@@ -44817,7 +44817,7 @@ If an entity is called by another, they must be in the same scope, which means t
44817
44817
  toJSONClone(e = J) {
44818
44818
  var r, s, l, o, d;
44819
44819
  let t;
44820
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
44820
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
44821
44821
  id: t,
44822
44822
  version: y.UUID.uuid(),
44823
44823
  createdAt: e.timestamp || v().toISOString(),
@@ -44968,12 +44968,12 @@ If an entity is called by another, they must be in the same scope, which means t
44968
44968
  )
44969
44969
  ), t = null, r = null, s = !0) {
44970
44970
  var I;
44971
- let l = ht(t, this);
44971
+ let l = yt(t, this);
44972
44972
  const o = this.toJSON(), d = r || y.UUID.uuid();
44973
44973
  o.inputs = [];
44974
44974
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
44975
44975
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
44976
- const c = pt(
44976
+ const c = ct(
44977
44977
  o,
44978
44978
  l
44979
44979
  );
@@ -45086,7 +45086,7 @@ f(Ge, "repository", {
45086
45086
  APILoad: async (e, ...t) => null,
45087
45087
  APILoadVersion: async (e, t, ...r) => null
45088
45088
  }), f(Ge, "type", n.Condition), f(Ge, "USER_MANAGED_PARENT_TYPES", [
45089
- ...lt,
45089
+ ...dt,
45090
45090
  n.Project
45091
45091
  ]), f(Ge, "PARENT_TYPES", [
45092
45092
  ...Ge.USER_MANAGED_PARENT_TYPES
@@ -45138,28 +45138,28 @@ function ev(i) {
45138
45138
  const s = [...Ci(i)];
45139
45139
  if (i.id === "random-company-employee-test-variable-id") {
45140
45140
  const d = de({
45141
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
45142
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
45141
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
45142
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
45143
45143
  i,
45144
45144
  i.project
45145
45145
  )}" with id "${i.id}".`,
45146
45146
  issue: null,
45147
45147
  severity: R.Error,
45148
- code: g.PropertyImplementsNonAbstact,
45148
+ code: G.PropertyImplementsNonAbstact,
45149
45149
  entity: i
45150
45150
  });
45151
45151
  s.push(d.error);
45152
45152
  }
45153
45153
  if (i.id === "company-dto-variable-one-id") {
45154
45154
  const d = de({
45155
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
45156
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
45155
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
45156
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
45157
45157
  i,
45158
45158
  i.project
45159
45159
  )}" with id "${i.id}".`,
45160
45160
  issue: null,
45161
45161
  severity: R.Error,
45162
- code: g.PropertyImplementsNonAbstact,
45162
+ code: G.PropertyImplementsNonAbstact,
45163
45163
  entity: i
45164
45164
  });
45165
45165
  s.push(d.error);
@@ -45177,14 +45177,14 @@ function tv(i) {
45177
45177
  const s = [...Ci(i)];
45178
45178
  if (i.id === "exec-sequentially-result-variable-id") {
45179
45179
  const o = de({
45180
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
45181
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
45180
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
45181
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
45182
45182
  i,
45183
45183
  i.project
45184
45184
  )}" with id "${i.id}".`,
45185
45185
  issue: null,
45186
45186
  severity: R.Error,
45187
- code: g.PropertyImplementsNonAbstact,
45187
+ code: G.PropertyImplementsNonAbstact,
45188
45188
  entity: i
45189
45189
  });
45190
45190
  s.push(o.error);
@@ -45331,7 +45331,7 @@ const Ve = class Ve extends it {
45331
45331
  {
45332
45332
  parent: {
45333
45333
  list: !1,
45334
- types: [...lt, n.Project],
45334
+ types: [...dt, n.Project],
45335
45335
  optional: !0
45336
45336
  },
45337
45337
  // calledByEntry: {
@@ -45359,7 +45359,7 @@ const Ve = class Ve extends it {
45359
45359
  );
45360
45360
  return r = l.modifiedData, s.push(
45361
45361
  ...l.errors,
45362
- ...dt(r)
45362
+ ...ut(r)
45363
45363
  ), {
45364
45364
  errors: s,
45365
45365
  modifiedData: r
@@ -46073,7 +46073,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
46073
46073
  "meta-sync"
46074
46074
  )
46075
46075
  )) {
46076
- const r = ut(this, e), s = this.toMeta();
46076
+ const r = pt(this, e), s = this.toMeta();
46077
46077
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
46078
46078
  }
46079
46079
  async APILoad(e = L, ...t) {
@@ -46333,7 +46333,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
46333
46333
  toJSONClone(e = J) {
46334
46334
  var r, s, l, o, d, u, h;
46335
46335
  let t;
46336
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
46336
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
46337
46337
  id: t,
46338
46338
  version: y.UUID.uuid(),
46339
46339
  createdAt: e.timestamp || v().toISOString(),
@@ -46548,10 +46548,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
46548
46548
  )
46549
46549
  ), t = null, r = null, s = !0) {
46550
46550
  var D, O, V, M;
46551
- let l = ht(t, this);
46551
+ let l = yt(t, this);
46552
46552
  const o = this.toJSON(), d = r || y.UUID.uuid();
46553
46553
  o.inputs = [], o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
46554
- const u = pt(
46554
+ const u = ct(
46555
46555
  o,
46556
46556
  l
46557
46557
  );
@@ -46629,7 +46629,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
46629
46629
  (c) => !c.getDataType(e)
46630
46630
  ).forEach((c) => {
46631
46631
  const T = this.inputs.find(
46632
- (O) => G(O, this.project) === G(c, this.project)
46632
+ (O) => g(O, this.project) === g(c, this.project)
46633
46633
  );
46634
46634
  if (!T)
46635
46635
  return;
@@ -46672,7 +46672,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
46672
46672
  (c) => !c.declaration
46673
46673
  ).forEach((c) => {
46674
46674
  const T = o.find(
46675
- (I) => G(I, this.project) === G(c, this.project)
46675
+ (I) => g(I, this.project) === g(c, this.project)
46676
46676
  );
46677
46677
  T && c.setDeclaration(T);
46678
46678
  });
@@ -46863,7 +46863,7 @@ f(Ve, "repository", {
46863
46863
  APILoad: async (e, ...t) => null,
46864
46864
  APILoadVersion: async (e, t, ...r) => null
46865
46865
  }), f(Ve, "type", n.VariableInstance), f(Ve, "USER_MANAGED_PARENT_TYPES", [
46866
- ...lt,
46866
+ ...dt,
46867
46867
  n.Project
46868
46868
  ]), f(Ve, "PARENT_TYPES", [
46869
46869
  ...Ve.USER_MANAGED_PARENT_TYPES
@@ -47059,7 +47059,7 @@ const Ce = class Ce extends it {
47059
47059
  {
47060
47060
  parent: {
47061
47061
  list: !1,
47062
- types: [...lt, n.Project],
47062
+ types: [...dt, n.Project],
47063
47063
  optional: !0
47064
47064
  }
47065
47065
  // calledByEntry: {
@@ -47086,7 +47086,7 @@ const Ce = class Ce extends it {
47086
47086
  return s.push(
47087
47087
  ...l.errors,
47088
47088
  ...o,
47089
- ...dt(r)
47089
+ ...ut(r)
47090
47090
  ), {
47091
47091
  errors: s,
47092
47092
  modifiedData: r
@@ -47753,7 +47753,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47753
47753
  ...this.inputs,
47754
47754
  ...this.variableInstances.flatMap((s) => s.inputs)
47755
47755
  ]).find(
47756
- (s) => G(s, this.project) === G(e, this.project) && !!s.readsValue
47756
+ (s) => g(s, this.project) === g(e, this.project) && !!s.readsValue
47757
47757
  ) || e;
47758
47758
  }
47759
47759
  // On dynamically typed variable declarations, where any new property can be written to any of the instances,
@@ -47845,7 +47845,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47845
47845
  ]), d = [];
47846
47846
  if (o.forEach((Z) => {
47847
47847
  d.find(
47848
- (X) => G(X, this.project) === G(Z, this.project)
47848
+ (X) => g(X, this.project) === g(Z, this.project)
47849
47849
  ) || d.push(Z);
47850
47850
  }), !d.length)
47851
47851
  return e == null || e.attemptAutoclose(
@@ -47932,7 +47932,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47932
47932
  "meta-sync"
47933
47933
  )
47934
47934
  )) {
47935
- const r = ut(this, e), s = this.toMeta();
47935
+ const r = pt(this, e), s = this.toMeta();
47936
47936
  return this.name = e.name || s.name, this.description = e.description || s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
47937
47937
  }
47938
47938
  async APILoad(e = L, ...t) {
@@ -48214,7 +48214,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48214
48214
  toJSONClone(e = J) {
48215
48215
  var r, s, l, o, d, u, h, c;
48216
48216
  let t;
48217
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
48217
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
48218
48218
  id: t,
48219
48219
  version: y.UUID.uuid(),
48220
48220
  createdAt: e.timestamp || v().toISOString(),
@@ -48438,10 +48438,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48438
48438
  )
48439
48439
  ), t = null, r = null, s = !0) {
48440
48440
  var O, V, M, j, C;
48441
- let l = ht(t, this);
48441
+ let l = yt(t, this);
48442
48442
  const o = this.toJSON(), d = r || y.UUID.uuid();
48443
48443
  o.inputs = [], o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
48444
- const u = pt(
48444
+ const u = ct(
48445
48445
  o,
48446
48446
  l
48447
48447
  );
@@ -48563,7 +48563,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48563
48563
  (c) => !c.getDataType(e)
48564
48564
  ).forEach((c) => {
48565
48565
  const T = this.inputs.find(
48566
- (O) => G(O, this.project) === G(c, this.project)
48566
+ (O) => g(O, this.project) === g(c, this.project)
48567
48567
  );
48568
48568
  if (!T)
48569
48569
  return;
@@ -48606,7 +48606,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48606
48606
  (c) => !c.declaration
48607
48607
  ).forEach((c) => {
48608
48608
  const T = o.find(
48609
- (I) => G(I, this.project) === G(c, this.project)
48609
+ (I) => g(I, this.project) === g(c, this.project)
48610
48610
  );
48611
48611
  T && c.setDeclaration(T);
48612
48612
  });
@@ -48802,7 +48802,7 @@ f(Ce, "repository", {
48802
48802
  APILoad: async (e, ...t) => null,
48803
48803
  APILoadVersion: async (e, t, ...r) => null
48804
48804
  }), f(Ce, "type", n.VariableDeclaration), f(Ce, "USER_MANAGED_PARENT_TYPES", [
48805
- ...lt,
48805
+ ...dt,
48806
48806
  n.Project
48807
48807
  ]), f(Ce, "PARENT_TYPES", [
48808
48808
  ...Ce.USER_MANAGED_PARENT_TYPES
@@ -48860,14 +48860,14 @@ function iv(i) {
48860
48860
  const s = [...Ci(i)];
48861
48861
  if (i.id === "search-person-by-id-id") {
48862
48862
  const o = de({
48863
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
48864
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
48863
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
48864
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
48865
48865
  i,
48866
48866
  i.project
48867
48867
  )}" with id "${i.id}".`,
48868
48868
  issue: null,
48869
48869
  severity: R.Error,
48870
- code: g.PropertyImplementsNonAbstact,
48870
+ code: G.PropertyImplementsNonAbstact,
48871
48871
  entity: i
48872
48872
  });
48873
48873
  s.push(o.error);
@@ -49005,7 +49005,7 @@ const Je = class Je extends it {
49005
49005
  {
49006
49006
  parent: {
49007
49007
  list: !1,
49008
- types: [...lt, n.Project],
49008
+ types: [...dt, n.Project],
49009
49009
  optional: !0
49010
49010
  }
49011
49011
  },
@@ -49013,7 +49013,7 @@ const Je = class Je extends it {
49013
49013
  );
49014
49014
  return r = l.modifiedData, s.push(
49015
49015
  ...l.errors,
49016
- ...dt(r)
49016
+ ...ut(r)
49017
49017
  ), {
49018
49018
  errors: s,
49019
49019
  modifiedData: r
@@ -49610,7 +49610,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
49610
49610
  "meta-sync"
49611
49611
  )
49612
49612
  )) {
49613
- const r = ut(this, e), s = this.toMeta();
49613
+ const r = pt(this, e), s = this.toMeta();
49614
49614
  return this.x = e.x || s.x, this.y = e.y || s.y, this.name = e.name || s.name, this.description = e.description || s.description, e.query !== void 0 && (this.query = e.query), super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
49615
49615
  }
49616
49616
  async APILoad(e = L, ...t) {
@@ -49864,7 +49864,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
49864
49864
  toJSONClone(e = J) {
49865
49865
  var r, s, l, o, d, u;
49866
49866
  let t;
49867
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
49867
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
49868
49868
  id: t,
49869
49869
  version: y.UUID.uuid(),
49870
49870
  createdAt: e.timestamp || v().toISOString(),
@@ -50076,12 +50076,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
50076
50076
  )
50077
50077
  ), t = null, r = null, s = !0) {
50078
50078
  var V, M, j, C;
50079
- let l = ht(t, this);
50079
+ let l = yt(t, this);
50080
50080
  const o = this.toJSON(), d = r || y.UUID.uuid();
50081
50081
  o.inputs = [];
50082
50082
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
50083
50083
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
50084
- const c = pt(
50084
+ const c = ct(
50085
50085
  o,
50086
50086
  l
50087
50087
  );
@@ -50203,7 +50203,7 @@ f(Je, "repository", {
50203
50203
  APILoad: async (e, ...t) => null,
50204
50204
  APILoadVersion: async (e, t, ...r) => null
50205
50205
  }), f(Je, "type", n.Search), f(Je, "USER_MANAGED_PARENT_TYPES", [
50206
- ...lt,
50206
+ ...dt,
50207
50207
  n.Project
50208
50208
  ]), f(Je, "PARENT_TYPES", [
50209
50209
  ...Je.USER_MANAGED_PARENT_TYPES
@@ -50351,7 +50351,7 @@ const bW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50351
50351
  JSON.stringify(e)
50352
50352
  );
50353
50353
  const s = [];
50354
- return s.push(...dt(r)), { errors: s, modifiedData: r };
50354
+ return s.push(...ut(r)), { errors: s, modifiedData: r };
50355
50355
  }
50356
50356
  validateGeneratedUpdate(e) {
50357
50357
  const t = [];
@@ -50638,7 +50638,7 @@ const bW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50638
50638
  "meta-sync"
50639
50639
  )
50640
50640
  )) {
50641
- const r = ut(this, e), s = this.toMeta();
50641
+ const r = pt(this, e), s = this.toMeta();
50642
50642
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
50643
50643
  }
50644
50644
  async APILoad(e = L, ...t) {
@@ -50810,7 +50810,7 @@ const bW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50810
50810
  toJSONClone(e = J) {
50811
50811
  var r, s, l, o, d;
50812
50812
  let t;
50813
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
50813
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
50814
50814
  id: t,
50815
50815
  version: y.UUID.uuid(),
50816
50816
  createdAt: e.timestamp || v().toISOString(),
@@ -50931,12 +50931,12 @@ const bW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50931
50931
  )
50932
50932
  ), t = null, r = null, s = !0) {
50933
50933
  var D, O;
50934
- let l = ht(t, this);
50934
+ let l = yt(t, this);
50935
50935
  const o = this.toJSON(), d = r || y.UUID.uuid();
50936
50936
  o.functions = [], o.events = [];
50937
50937
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
50938
50938
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
50939
- const c = pt(
50939
+ const c = ct(
50940
50940
  o,
50941
50941
  l
50942
50942
  );
@@ -51345,7 +51345,7 @@ The you can attach the new internal-call to it.`,
51345
51345
  }
51346
51346
  return s.push(
51347
51347
  ...l.errors,
51348
- ...dt(r)
51348
+ ...ut(r)
51349
51349
  ), {
51350
51350
  errors: s,
51351
51351
  modifiedData: r
@@ -51859,7 +51859,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
51859
51859
  );
51860
51860
  this.setParent(t, null), this.parent.initChildren(e), this.parent.addInternalCall(this);
51861
51861
  const r = this.calledBy.find(
51862
- (s) => !!s.parent && lt.includes(s.parent.type)
51862
+ (s) => !!s.parent && dt.includes(s.parent.type)
51863
51863
  );
51864
51864
  if (r) {
51865
51865
  const s = P(
@@ -51931,7 +51931,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
51931
51931
  "meta-sync"
51932
51932
  )
51933
51933
  )) {
51934
- const r = ut(this, e), s = this.toMeta();
51934
+ const r = pt(this, e), s = this.toMeta();
51935
51935
  return this.index = e.index || (e.index !== 0 ? s.index : 0), super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
51936
51936
  }
51937
51937
  async APILoad(e = L, ...t) {
@@ -52174,7 +52174,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
52174
52174
  toJSONClone(e = J) {
52175
52175
  var r, s, l, o, d, u, h;
52176
52176
  let t;
52177
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
52177
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
52178
52178
  id: t,
52179
52179
  version: y.UUID.uuid(),
52180
52180
  createdAt: e.timestamp || v().toISOString(),
@@ -52350,12 +52350,12 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
52350
52350
  )
52351
52351
  ), t = null, r = null, s = !0) {
52352
52352
  var D, O;
52353
- let l = ht(t, this);
52353
+ let l = yt(t, this);
52354
52354
  const o = this.toJSON(), d = r || y.UUID.uuid();
52355
52355
  o.inputs = [];
52356
52356
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
52357
52357
  o.id = d, o.version = y.UUID.uuid();
52358
- const c = pt(
52358
+ const c = ct(
52359
52359
  o,
52360
52360
  l
52361
52361
  );
@@ -52637,14 +52637,14 @@ function ov(i) {
52637
52637
  const r = [];
52638
52638
  if (i.id === "exec-sequentially-argument-map-id") {
52639
52639
  const s = de({
52640
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
52641
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
52640
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
52641
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
52642
52642
  i,
52643
52643
  i.project
52644
52644
  )}" with id "${i.id}".`,
52645
52645
  issue: null,
52646
52646
  severity: R.Error,
52647
- code: g.PropertyImplementsNonAbstact,
52647
+ code: G.PropertyImplementsNonAbstact,
52648
52648
  entity: i
52649
52649
  });
52650
52650
  r.push(s.error);
@@ -52760,7 +52760,7 @@ const Me = class Me extends it {
52760
52760
  {
52761
52761
  parent: {
52762
52762
  list: !1,
52763
- types: [...at, n.InputMap]
52763
+ types: [...ot, n.InputMap]
52764
52764
  }
52765
52765
  },
52766
52766
  t
@@ -52889,7 +52889,7 @@ The entity of the data-type has the following properties that can be reads as in
52889
52889
  issue: null
52890
52890
  })
52891
52891
  ));
52892
- } else if (at.filter(
52892
+ } else if (ot.filter(
52893
52893
  (c) => et.includes(c)
52894
52894
  ).includes(o.type)) {
52895
52895
  const T = Dv(o), I = T.find(
@@ -52914,7 +52914,7 @@ ${D}`,
52914
52914
  }
52915
52915
  return s.push(
52916
52916
  ...l.errors,
52917
- ...dt(r)
52917
+ ...ut(r)
52918
52918
  ), {
52919
52919
  errors: s,
52920
52920
  modifiedData: r
@@ -53292,7 +53292,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
53292
53292
  "meta-sync"
53293
53293
  )
53294
53294
  )) {
53295
- const r = ut(this, e), s = this.toMeta();
53295
+ const r = pt(this, e), s = this.toMeta();
53296
53296
  return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name || s.name, this.description = e.description || s.description, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
53297
53297
  }
53298
53298
  async APILoad(e = L, ...t) {
@@ -53472,7 +53472,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
53472
53472
  toJSONClone(e = J) {
53473
53473
  var r, s, l, o, d, u, h, c, T, I, D;
53474
53474
  let t;
53475
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
53475
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
53476
53476
  id: t,
53477
53477
  version: y.UUID.uuid(),
53478
53478
  createdAt: e.timestamp || v().toISOString(),
@@ -53604,10 +53604,10 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
53604
53604
  )
53605
53605
  ), t = null, r = null, s = !0) {
53606
53606
  var c;
53607
- let l = ht(t, this);
53607
+ let l = yt(t, this);
53608
53608
  const o = this.toJSON(), d = r || y.UUID.uuid();
53609
53609
  o.defaultValue = null, o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
53610
- const u = pt(
53610
+ const u = ct(
53611
53611
  o,
53612
53612
  l
53613
53613
  );
@@ -53661,7 +53661,7 @@ f(Me, "repository", {
53661
53661
  APILoad: async (e, ...t) => null,
53662
53662
  APILoadVersion: async (e, t, ...r) => null
53663
53663
  }), f(Me, "type", n.InputMap), f(Me, "USER_MANAGED_PARENT_TYPES", [
53664
- ...at
53664
+ ...ot
53665
53665
  ]), f(Me, "PARENT_TYPES", [
53666
53666
  ...Me.USER_MANAGED_PARENT_TYPES
53667
53667
  ]), f(Me, "MUTABLE_BASE_PROPERTIES", ["name", "description"]), f(Me, "INMUTABLE_BASE_PROPERTIES", [
@@ -53732,14 +53732,14 @@ function lv(i) {
53732
53732
  const r = [];
53733
53733
  if (i.id === "exec-sequentially-return-map-id") {
53734
53734
  const s = de({
53735
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
53736
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
53735
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
53736
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
53737
53737
  i,
53738
53738
  i.project
53739
53739
  )}" with id "${i.id}".`,
53740
53740
  issue: null,
53741
53741
  severity: R.Error,
53742
- code: g.PropertyImplementsNonAbstact,
53742
+ code: G.PropertyImplementsNonAbstact,
53743
53743
  entity: i
53744
53744
  });
53745
53745
  r.push(s.error);
@@ -53843,7 +53843,7 @@ const _e = class _e extends it {
53843
53843
  {
53844
53844
  parent: {
53845
53845
  list: !1,
53846
- types: at.filter(
53846
+ types: ot.filter(
53847
53847
  (u) => u !== n.Condition
53848
53848
  )
53849
53849
  },
@@ -53858,7 +53858,7 @@ const _e = class _e extends it {
53858
53858
  const o = t.get(
53859
53859
  r.parent
53860
53860
  );
53861
- if (o && at.filter(
53861
+ if (o && ot.filter(
53862
53862
  (u) => u !== n.Condition
53863
53863
  ).includes(o.type)) {
53864
53864
  const u = o.outputs.find(
@@ -53942,7 +53942,7 @@ You can't edit output-map entities as they need to match their return declaratio
53942
53942
  }
53943
53943
  return s.push(
53944
53944
  ...l.errors,
53945
- ...dt(r)
53945
+ ...ut(r)
53946
53946
  ), {
53947
53947
  errors: s,
53948
53948
  modifiedData: r
@@ -54311,8 +54311,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
54311
54311
  "meta-sync"
54312
54312
  )
54313
54313
  )) {
54314
- const r = ut(this, e), s = this.toMeta();
54315
- return this.index = e.index || (e.index !== 0 ? s.index : 0), this.parentRelationType = e.parentRelationType || s.parentRelationType, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
54314
+ const r = pt(this, e), s = this.toMeta();
54315
+ return this.index = e.index || (e.index !== 0 ? s.index : 0), this.parentRelationType = e.parentRelationType !== void 0 ? e.parentRelationType : this.parentRelationType, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
54316
54316
  }
54317
54317
  async APILoad(e = L, ...t) {
54318
54318
  return await _e.repository.APILoad(this.id, ...t), this;
@@ -54496,7 +54496,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
54496
54496
  toJSONClone(e = J) {
54497
54497
  var r, s, l, o, d, u, h, c, T, I;
54498
54498
  let t;
54499
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
54499
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
54500
54500
  id: t,
54501
54501
  version: y.UUID.uuid(),
54502
54502
  createdAt: e.timestamp || v().toISOString(),
@@ -54633,10 +54633,10 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
54633
54633
  )
54634
54634
  ), t = null, r = null, s = !0) {
54635
54635
  var T, I;
54636
- let l = ht(t, this);
54636
+ let l = yt(t, this);
54637
54637
  const o = this.toJSON(), d = r || y.UUID.uuid();
54638
54638
  o.id = d;
54639
- const u = pt(
54639
+ const u = ct(
54640
54640
  o,
54641
54641
  l
54642
54642
  );
@@ -54749,28 +54749,28 @@ function dv(i) {
54749
54749
  const r = [];
54750
54750
  if (i.id === "company-dto-func-declaration-argument-dcl-id") {
54751
54751
  const l = de({
54752
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
54753
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
54752
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
54753
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
54754
54754
  i,
54755
54755
  i.project
54756
54756
  )}" with id "${i.id}".`,
54757
54757
  issue: null,
54758
54758
  severity: R.Error,
54759
- code: g.PropertyImplementsNonAbstact,
54759
+ code: G.PropertyImplementsNonAbstact,
54760
54760
  entity: i
54761
54761
  });
54762
54762
  r.push(l.error);
54763
54763
  }
54764
54764
  if (i.id === "manual-hello-world-loop-current-iteration-number-output-map-id") {
54765
54765
  const l = de({
54766
- id: `${i.id}--${g.PropertyImplementsNonAbstact}`,
54767
- message: `Property "${G(i, i.project)}" with id "${i.id}" implements a non-abstract property "${G(
54766
+ id: `${i.id}--${G.PropertyImplementsNonAbstact}`,
54767
+ message: `Property "${g(i, i.project)}" with id "${i.id}" implements a non-abstract property "${g(
54768
54768
  i,
54769
54769
  i.project
54770
54770
  )}" with id "${i.id}".`,
54771
54771
  issue: null,
54772
54772
  severity: R.Error,
54773
- code: g.PropertyImplementsNonAbstact,
54773
+ code: G.PropertyImplementsNonAbstact,
54774
54774
  entity: i
54775
54775
  });
54776
54776
  r.push(l.error);
@@ -54892,7 +54892,7 @@ const Ne = class Ne extends it {
54892
54892
  const d = t.get(
54893
54893
  B(r.parent)
54894
54894
  );
54895
- if (d && ot.includes(d.type)) {
54895
+ if (d && lt.includes(d.type)) {
54896
54896
  const u = d.implements;
54897
54897
  if (u) {
54898
54898
  const h = u.inputs.find(
@@ -54957,7 +54957,7 @@ ${O}`,
54957
54957
  return s.push(
54958
54958
  ...l.errors,
54959
54959
  ...o,
54960
- ...dt(r)
54960
+ ...ut(r)
54961
54961
  ), { errors: s, modifiedData: r };
54962
54962
  }
54963
54963
  validateGeneratedUpdate(e) {
@@ -55312,8 +55312,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
55312
55312
  "meta-sync"
55313
55313
  )
55314
55314
  )) {
55315
- const r = ut(this, e), s = this.toMeta();
55316
- return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name || s.name, this.description = e.description || s.description, this.required = e.required || s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
55315
+ const r = pt(this, e), s = this.toMeta();
55316
+ return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name || s.name, this.description = e.description || s.description, this.required = e.required !== void 0 ? e.required : this.required, this.constant = !0, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
55317
55317
  }
55318
55318
  async APILoad(e = L, ...t) {
55319
55319
  return await Ne.repository.APILoad(this.id, ...t), this;
@@ -55519,7 +55519,7 @@ Received type: ${typeof e}
55519
55519
  toJSONClone(e = J) {
55520
55520
  var r, s, l, o, d, u, h, c;
55521
55521
  let t;
55522
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
55522
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
55523
55523
  id: t,
55524
55524
  version: y.UUID.uuid(),
55525
55525
  createdAt: e.timestamp || v().toISOString(),
@@ -55662,10 +55662,10 @@ Received type: ${typeof e}
55662
55662
  )
55663
55663
  ), t = null, r = null, s = !0) {
55664
55664
  var T, I;
55665
- let l = ht(t, this);
55665
+ let l = yt(t, this);
55666
55666
  const o = this.toJSON(), d = r || y.UUID.uuid();
55667
55667
  o.dataType = null, o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
55668
- const u = pt(
55668
+ const u = ct(
55669
55669
  o,
55670
55670
  l
55671
55671
  );
@@ -55712,7 +55712,7 @@ f(Ne, "repository", {
55712
55712
  },
55713
55713
  APILoad: async (e, ...t) => null,
55714
55714
  APILoadVersion: async (e, t, ...r) => null
55715
- }), f(Ne, "type", n.ArgumentDeclaration), f(Ne, "USER_MANAGED_PARENT_TYPES", [...ot]), f(Ne, "PARENT_TYPES", [
55715
+ }), f(Ne, "type", n.ArgumentDeclaration), f(Ne, "USER_MANAGED_PARENT_TYPES", [...lt]), f(Ne, "PARENT_TYPES", [
55716
55716
  ...Ne.USER_MANAGED_PARENT_TYPES
55717
55717
  ]), f(Ne, "MUTABLE_BASE_PROPERTIES", ["name", "description", "required"]), f(Ne, "INMUTABLE_BASE_PROPERTIES", [
55718
55718
  "id",
@@ -55977,7 +55977,7 @@ const Ue = class Ue extends it {
55977
55977
  const s = [], l = p7(r, t);
55978
55978
  return s.push(
55979
55979
  ...l,
55980
- ...dt(r)
55980
+ ...ut(r)
55981
55981
  ), {
55982
55982
  errors: s,
55983
55983
  modifiedData: r
@@ -56376,7 +56376,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
56376
56376
  "meta-sync"
56377
56377
  )
56378
56378
  )) {
56379
- const r = ut(this, e), s = this.toMeta();
56379
+ const r = pt(this, e), s = this.toMeta();
56380
56380
  return this.name = e.name || s.name, this.autogeneration = e.autogeneration || s.autogeneration, e.value !== void 0 && (this.value = e.value), super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
56381
56381
  }
56382
56382
  async APILoad(e = L, ...t) {
@@ -56534,7 +56534,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
56534
56534
  toJSONClone(e = J) {
56535
56535
  var r, s, l, o, d, u;
56536
56536
  let t;
56537
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
56537
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
56538
56538
  id: t,
56539
56539
  version: y.UUID.uuid(),
56540
56540
  createdAt: e.timestamp || v().toISOString(),
@@ -56650,10 +56650,10 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
56650
56650
  "clone-entity"
56651
56651
  )
56652
56652
  ), t = null, r = null, s = !0) {
56653
- let l = ht(t, this);
56653
+ let l = yt(t, this);
56654
56654
  const o = this.toJSON(), d = r || y.UUID.uuid();
56655
56655
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
56656
- const u = pt(
56656
+ const u = ct(
56657
56657
  o,
56658
56658
  l
56659
56659
  );
@@ -56838,7 +56838,7 @@ const Le = class Le extends it {
56838
56838
  );
56839
56839
  r = l.modifiedData, s.push(
56840
56840
  ...l.errors,
56841
- ...dt(r)
56841
+ ...ut(r)
56842
56842
  );
56843
56843
  const o = r.parent && t.get(r.parent), d = o && rn(o);
56844
56844
  return d && d.type === n.ActionDescriptor && s.push(
@@ -57154,8 +57154,8 @@ ${Jr(
57154
57154
  "meta-sync"
57155
57155
  )
57156
57156
  )) {
57157
- const r = ut(this, e), s = this.toMeta();
57158
- return this.name = e.name || s.name, this.description = e.description || s.description, this.index = e.index || (e.index !== 0 ? s.index : 0), this.required = e.required || s.required, this.parentRelationType = e.parentRelationType || s.parentRelationType, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
57157
+ const r = pt(this, e), s = this.toMeta();
57158
+ return this.name = e.name || s.name, this.description = e.description || s.description, this.index = e.index || (e.index !== 0 ? s.index : 0), this.required = e.required !== void 0 ? e.required : this.required, this.parentRelationType = e.parentRelationType !== void 0 ? e.parentRelationType : this.parentRelationType, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
57159
57159
  }
57160
57160
  async APILoad(e = L, ...t) {
57161
57161
  return await Le.repository.APILoad(this.id, ...t), this;
@@ -57357,7 +57357,7 @@ ${Jr(
57357
57357
  toJSONClone(e = J) {
57358
57358
  var r, s, l, o, d, u, h, c;
57359
57359
  let t;
57360
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
57360
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
57361
57361
  id: t,
57362
57362
  version: y.UUID.uuid(),
57363
57363
  createdAt: e.timestamp || v().toISOString(),
@@ -57479,10 +57479,10 @@ ${Jr(
57479
57479
  /* @__PURE__ */ new Set([...Lr(), ...this.project.getAllBuiltInIds()])
57480
57480
  ).includes(this.id))
57481
57481
  return this;
57482
- let o = ht(t, this);
57482
+ let o = yt(t, this);
57483
57483
  const d = r || y.UUID.uuid(), u = this.toJSON();
57484
57484
  u.id = d, u.version = y.UUID.uuid(), u.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), u.author = (e == null ? void 0 : e.author) || "1", u.previousVersion = null, u.deleted = !1;
57485
- const h = pt(
57485
+ const h = ct(
57486
57486
  u,
57487
57487
  o
57488
57488
  );
@@ -57893,7 +57893,7 @@ function UW(i, a) {
57893
57893
  modifiedData: null,
57894
57894
  messageAddition: ""
57895
57895
  };
57896
- if (ot.includes(a.type) ? i.calls && e.push(
57896
+ if (lt.includes(a.type) ? i.calls && e.push(
57897
57897
  new w({
57898
57898
  id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
57899
57899
  message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "calls" updated.
@@ -57902,7 +57902,7 @@ ${_i}`,
57902
57902
  code: b.InvalidInmutablePropertyOverride,
57903
57903
  issue: null
57904
57904
  })
57905
- ) : at.includes(a.type) && (i.successCalls && e.push(
57905
+ ) : ot.includes(a.type) && (i.successCalls && e.push(
57906
57906
  new w({
57907
57907
  id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
57908
57908
  message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "successCalls" updated.
@@ -58225,7 +58225,7 @@ function cv(i, a) {
58225
58225
  })
58226
58226
  );
58227
58227
  }
58228
- function dt(i, a) {
58228
+ function ut(i, a) {
58229
58229
  const e = [], t = y7(i);
58230
58230
  if (t) {
58231
58231
  const s = t.safeParse(i);
@@ -58440,11 +58440,11 @@ function ie(i, a, e) {
58440
58440
  }
58441
58441
  const Xi = `Pass-through callable entities are entities that need to be called by another caller, then they execute some internal logic and when finished, it can call other callable entities with the "calledBySuccess" property or "calledByError" property based on whether their internal execution was successful or an error ocurred respectively.
58442
58442
  All pass-through callable entities are: ${ie(
58443
- at,
58443
+ ot,
58444
58444
  ", ",
58445
58445
  " and "
58446
58446
  )}.`, Wo = `Entry point entities are the entities which start the execution of a logic chain. They are ${ie(
58447
- ot,
58447
+ lt,
58448
58448
  ", ",
58449
58449
  " and "
58450
58450
  )}. They aren't explicitly called by any entities. Rather, they can be called implicitly by the system, or as a function-call somewhere else in the case of a function-declaration. `, m7 = `Caller entities are entities that can call other entities. Regarless of whether they are entry-point entities or pass-through callable entities. All caller entity types are: ${ie(
@@ -58465,7 +58465,7 @@ This data type entity is what will define which properties are available to be r
58465
58465
  "', '",
58466
58466
  "' and '"
58467
58467
  )}'.`, v7 = `Entities that write values to other entities, can be connected with entities that read values from them. Value writing entity types are: '${ie(
58468
- mt,
58468
+ vt,
58469
58469
  "', '",
58470
58470
  "' and '"
58471
58471
  )}'.`, yv = `A property entity, is neither a value reading, or a value writting entity, but they are often confused with one.
@@ -58537,7 +58537,7 @@ function T7(i, a) {
58537
58537
  const e = JSON.parse(
58538
58538
  JSON.stringify(i)
58539
58539
  ), t = [];
58540
- if (ot.includes(a.type))
58540
+ if (lt.includes(a.type))
58541
58541
  t.push(
58542
58542
  new w({
58543
58543
  id: `${i.id}--${a.id}--${b.InvalidReference}`,
@@ -58577,7 +58577,7 @@ Termination entities are ${ie(
58577
58577
  issue: null
58578
58578
  })
58579
58579
  );
58580
- } else if (!at.includes(a.type))
58580
+ } else if (!ot.includes(a.type))
58581
58581
  t.push(
58582
58582
  new w({
58583
58583
  id: `${i.id}--${a.id}--${b.InvalidReference}`,
@@ -58609,7 +58609,7 @@ ${Xi}`,
58609
58609
  }
58610
58610
  function I7(i, a) {
58611
58611
  const e = [];
58612
- if (ot.includes(a.type))
58612
+ if (lt.includes(a.type))
58613
58613
  e.push(
58614
58614
  new w({
58615
58615
  id: `${i.id}--${a.id}--${b.InvalidReference}`,
@@ -58646,7 +58646,7 @@ Termination entities are ${ie(
58646
58646
  issue: null
58647
58647
  })
58648
58648
  );
58649
- } else if (!at.includes(a.type))
58649
+ } else if (!ot.includes(a.type))
58650
58650
  e.push(
58651
58651
  new w({
58652
58652
  id: `${i.id}--${a.id}--${b.InvalidReference}`,
@@ -58703,7 +58703,7 @@ Termination entities are ${ie(
58703
58703
  issue: null
58704
58704
  })
58705
58705
  );
58706
- } else if (at.includes(a.type))
58706
+ } else if (ot.includes(a.type))
58707
58707
  e.push(
58708
58708
  new w({
58709
58709
  id: `${i.id}--${a.id}--${b.InvalidReference}`,
@@ -58813,13 +58813,13 @@ function A7(i, a) {
58813
58813
  })
58814
58814
  );
58815
58815
  const l = Zt(t, a);
58816
- t.type === n.ReturnStatement && l && !ot.includes(l.type) ? e.push(
58816
+ t.type === n.ReturnStatement && l && !lt.includes(l.type) ? e.push(
58817
58817
  new w({
58818
58818
  id: `${t.id}--${b.IncompatibleScope}`,
58819
58819
  code: b.IncompatibleScope,
58820
58820
  severity: R.Error,
58821
58821
  message: `Entity of type "${t.type}" with id "${t.id}" has an explicitly set parent, but it isn't a '${ie(
58822
- ot,
58822
+ lt,
58823
58823
  "', '",
58824
58824
  "' or '"
58825
58825
  )}' entity. A return statement's parent should always be resolved to a function declaration or global event.${ul}`,
@@ -59034,7 +59034,7 @@ function mv(i, a) {
59034
59034
  severity: R.Error,
59035
59035
  message: `Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities aren't value writting entities.
59036
59036
  All value writting entity types are: ${ie(
59037
- mt,
59037
+ vt,
59038
59038
  ", ",
59039
59039
  " and "
59040
59040
  )}.
@@ -59045,14 +59045,14 @@ This literal-value entity belongs to an input map entity with id "${l.id}". Inpu
59045
59045
  );
59046
59046
  else if (l.type === n.DataType) {
59047
59047
  const d = l, u = d.parent;
59048
- mt.includes(u.type) ? e.push(
59048
+ vt.includes(u.type) ? e.push(
59049
59049
  new w({
59050
59050
  id: `${i.id}--${a.id}--${b.InvalidReference}`,
59051
59051
  code: b.InvalidReference,
59052
59052
  severity: R.Error,
59053
59053
  message: `Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
59054
59054
  All value writting entity types are: ${ie(
59055
- mt,
59055
+ vt,
59056
59056
  ", ",
59057
59057
  " and "
59058
59058
  )}.
@@ -59069,7 +59069,7 @@ This literal-value entity belongs to a data type entity with id "${d.id}", which
59069
59069
  severity: R.Error,
59070
59070
  message: `Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
59071
59071
  All value writting entity types are: ${ie(
59072
- mt,
59072
+ vt,
59073
59073
  ", ",
59074
59074
  " and "
59075
59075
  )}.`,
@@ -59078,14 +59078,14 @@ All value writting entity types are: ${ie(
59078
59078
  );
59079
59079
  } else if (a.type === n.DataType) {
59080
59080
  const l = a.parent;
59081
- mt.includes(l.type) ? e.push(
59081
+ vt.includes(l.type) ? e.push(
59082
59082
  new w({
59083
59083
  id: `${i.id}--${a.id}--${b.InvalidReference}`,
59084
59084
  code: b.InvalidReference,
59085
59085
  severity: R.Error,
59086
59086
  message: `Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
59087
59087
  All value writting entity types are: ${ie(
59088
- mt,
59088
+ vt,
59089
59089
  ", ",
59090
59090
  " and "
59091
59091
  )}.
@@ -59100,7 +59100,7 @@ This data type entity belongs to a ${l.type} entity with id "${l.id}". ${l.type}
59100
59100
  severity: R.Error,
59101
59101
  message: `Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
59102
59102
  All value writting entity types are: ${ie(
59103
- mt,
59103
+ vt,
59104
59104
  ", ",
59105
59105
  " and "
59106
59106
  )}.`,
@@ -59108,14 +59108,14 @@ All value writting entity types are: ${ie(
59108
59108
  })
59109
59109
  );
59110
59110
  } else
59111
- mt.includes(a.type) || e.push(
59111
+ vt.includes(a.type) || e.push(
59112
59112
  new w({
59113
59113
  id: `${i.id}--${a.id}--${b.InvalidReference}`,
59114
59114
  code: b.InvalidReference,
59115
59115
  severity: R.Error,
59116
59116
  message: `Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that isn't a value writting entity.
59117
59117
  All value writting entity types are: ${ie(
59118
- mt,
59118
+ vt,
59119
59119
  ", ",
59120
59120
  " and "
59121
59121
  )}.`,
@@ -59135,14 +59135,14 @@ All value writting entity types are: ${ie(
59135
59135
  if (!s.compatible) {
59136
59136
  const { type: l } = s;
59137
59137
  let o = "";
59138
- const d = `But they are nested under different subscopes. The reader is in the scope of the '${t.type}' (${G(
59138
+ const d = `But they are nested under different subscopes. The reader is in the scope of the '${t.type}' (${g(
59139
59139
  t,
59140
59140
  a.project
59141
- )}) with id '${t.id}', and the writter is in the scope of the '${r.type}' (${G(
59141
+ )}) with id '${t.id}', and the writter is in the scope of the '${r.type}' (${g(
59142
59142
  r,
59143
59143
  a.project
59144
59144
  )}) with id '${r.id}'.`;
59145
- l === Ul.ParallelInCommonParent ? (o = `The reader and the writter entities are both in the scope of the '${s.commonAncestorScope.type}' (${G(
59145
+ l === Ul.ParallelInCommonParent ? (o = `The reader and the writter entities are both in the scope of the '${s.commonAncestorScope.type}' (${g(
59146
59146
  s.commonAncestorScope,
59147
59147
  a.project
59148
59148
  )}) with id '${s.commonAncestorScope.id}'.`, o += `
@@ -59170,7 +59170,7 @@ function At(i, a, e, t = !1) {
59170
59170
  if (l.readsValue) {
59171
59171
  const u = fv(
59172
59172
  l,
59173
- { key: "readsValue", types: mt },
59173
+ { key: "readsValue", types: vt },
59174
59174
  e
59175
59175
  );
59176
59176
  if (u.errors.length === 0) {
@@ -59184,7 +59184,7 @@ function At(i, a, e, t = !1) {
59184
59184
  delete s.readsValue;
59185
59185
  }
59186
59186
  } else
59187
- l.readsValue && (mt.includes(l.type) ? r.push(
59187
+ l.readsValue && (vt.includes(l.type) ? r.push(
59188
59188
  new w({
59189
59189
  id: `${l.id}--${b.InvalidReference}`,
59190
59190
  code: b.InvalidReference,
@@ -59224,7 +59224,7 @@ ${hv}`,
59224
59224
  issue: null
59225
59225
  })
59226
59226
  ), delete s.readsValue);
59227
- l.writesValues && (mt.includes(l.type) ? r.push(
59227
+ l.writesValues && (vt.includes(l.type) ? r.push(
59228
59228
  new w({
59229
59229
  id: `${l.id}--${b.InvalidReference}`,
59230
59230
  code: b.InvalidReference,
@@ -59324,7 +59324,7 @@ function GW(i, a, e = "calledBy") {
59324
59324
  issue: null
59325
59325
  })
59326
59326
  ), t;
59327
- if ([...at, ...ot].includes(r.type))
59327
+ if ([...ot, ...lt].includes(r.type))
59328
59328
  return [];
59329
59329
  if (st.includes(r.type)) {
59330
59330
  const s = r.calledBy || [], l = s.length ? `
@@ -59383,7 +59383,7 @@ function gW(i, a, e = "calledByError") {
59383
59383
  issue: null
59384
59384
  })
59385
59385
  ), t;
59386
- if (at.includes(r.type))
59386
+ if (ot.includes(r.type))
59387
59387
  return [];
59388
59388
  if (st.includes(r.type)) {
59389
59389
  const s = r.calledBy || [], l = s.length ? `
@@ -59411,7 +59411,7 @@ Termination entities are ${ie(
59411
59411
  })
59412
59412
  );
59413
59413
  } else
59414
- ot.includes(r.type) ? t.push(
59414
+ lt.includes(r.type) ? t.push(
59415
59415
  new w({
59416
59416
  id: `last-action--${r.id}--${b.InvalidReference}`,
59417
59417
  code: b.InvalidReference,
@@ -59458,7 +59458,7 @@ function FW(i, a) {
59458
59458
  severity: R.Error,
59459
59459
  message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities aren't value writting entities.
59460
59460
  All value writting entity types are: ${ie(
59461
- mt,
59461
+ vt,
59462
59462
  ", ",
59463
59463
  " and "
59464
59464
  )}.
@@ -59469,14 +59469,14 @@ This literal-value entity belongs to an input map entity with id "${s.id}". Inpu
59469
59469
  );
59470
59470
  else if (s.type === n.DataType) {
59471
59471
  const o = s, d = o.parent;
59472
- mt.includes(d.type) ? e.push(
59472
+ vt.includes(d.type) ? e.push(
59473
59473
  new w({
59474
59474
  id: `last-action--${t.id}--${b.InvalidReference}`,
59475
59475
  code: b.InvalidReference,
59476
59476
  severity: R.Error,
59477
59477
  message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
59478
59478
  All value writting entity types are: ${ie(
59479
- mt,
59479
+ vt,
59480
59480
  ", ",
59481
59481
  " and "
59482
59482
  )}.
@@ -59493,7 +59493,7 @@ This literal-value entity belongs to a data type entity with id "${o.id}", which
59493
59493
  severity: R.Error,
59494
59494
  message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
59495
59495
  All value writting entity types are: ${ie(
59496
- mt,
59496
+ vt,
59497
59497
  ", ",
59498
59498
  " and "
59499
59499
  )}.`,
@@ -59502,14 +59502,14 @@ All value writting entity types are: ${ie(
59502
59502
  );
59503
59503
  } else if (t.type === n.DataType) {
59504
59504
  const s = t.parent;
59505
- mt.includes(s.type) ? e.push(
59505
+ vt.includes(s.type) ? e.push(
59506
59506
  new w({
59507
59507
  id: `last-action--${t.id}--${b.InvalidReference}`,
59508
59508
  code: b.InvalidReference,
59509
59509
  severity: R.Error,
59510
59510
  message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
59511
59511
  All value writting entity types are: ${ie(
59512
- mt,
59512
+ vt,
59513
59513
  ", ",
59514
59514
  " and "
59515
59515
  )}.
@@ -59524,7 +59524,7 @@ This data type entity belongs to a ${s.type} entity with id "${s.id}". ${s.type}
59524
59524
  severity: R.Error,
59525
59525
  message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
59526
59526
  All value writting entity types are: ${ie(
59527
- mt,
59527
+ vt,
59528
59528
  ", ",
59529
59529
  " and "
59530
59530
  )}.`,
@@ -59532,14 +59532,14 @@ All value writting entity types are: ${ie(
59532
59532
  })
59533
59533
  );
59534
59534
  } else
59535
- mt.includes(t.type) || e.push(
59535
+ vt.includes(t.type) || e.push(
59536
59536
  new w({
59537
59537
  id: `last-action--${t.id}--${b.InvalidReference}`,
59538
59538
  code: b.InvalidReference,
59539
59539
  severity: R.Error,
59540
59540
  message: `The 'readsValue' property references an entity with id "${t.id}" that isn't a value writting entity.
59541
59541
  All value writting entity types are: ${ie(
59542
- mt,
59542
+ vt,
59543
59543
  ", ",
59544
59544
  " and "
59545
59545
  )}.`,
@@ -59550,27 +59550,27 @@ All value writting entity types are: ${ie(
59550
59550
  }
59551
59551
  function b7(i) {
59552
59552
  return i.functions.length ? `All global 'function-declaration' entity ids are:
59553
- - ${i.functions.map((e) => `${e.id} (${G(e, i)})`).join(`
59553
+ - ${i.functions.map((e) => `${e.id} (${g(e, i)})`).join(`
59554
59554
  - `)}.` : "The project currently has no global 'function-declaration' entities that can be called as 'function-call' entities.";
59555
59555
  }
59556
59556
  function pl(i) {
59557
59557
  return `All reserved action decriptor ids for '${n.GlobalEvent}' entities are:
59558
- - ${i.globalEventActionDescriptors.map((a) => `${a.id} (${G(a, i)})`).join(`
59558
+ - ${i.globalEventActionDescriptors.map((a) => `${a.id} (${g(a, i)})`).join(`
59559
59559
  - `)}`;
59560
59560
  }
59561
59561
  function cl(i) {
59562
59562
  return `All reserved action decriptor ids for '${n.Loop}' entities are:
59563
- - ${i.loopDeclarations.map((a) => `${a.id} (${G(a, i)})`).join(`
59563
+ - ${i.loopDeclarations.map((a) => `${a.id} (${g(a, i)})`).join(`
59564
59564
  - `)}`;
59565
59565
  }
59566
59566
  function kW(i) {
59567
59567
  return `All reserved action decriptor ids for '${n.Operation}' entities are:
59568
- - ${i.operationDeclarations.map((a) => `${a.id} (${G(a, i)})`).join(`
59568
+ - ${i.operationDeclarations.map((a) => `${a.id} (${g(a, i)})`).join(`
59569
59569
  - `)}`;
59570
59570
  }
59571
59571
  function fl(i) {
59572
59572
  return `All reserved action decriptor ids for '${n.Condition}' entities are:
59573
- - ${i.conditionDeclarations.map((a) => `${a.id} (${G(a, i)})`).join(`
59573
+ - ${i.conditionDeclarations.map((a) => `${a.id} (${g(a, i)})`).join(`
59574
59574
  - `)}`;
59575
59575
  }
59576
59576
  function R7(i, a) {
@@ -59668,7 +59668,7 @@ function D7(i, a) {
59668
59668
  ), r = `
59669
59669
  All built-in 'action-descriptor' entities that define 'operation' entity, are (IDs):
59670
59670
  - ${a.operationDeclarations.map(
59671
- (s) => `${s.id} (${G(s, a)}).`
59671
+ (s) => `${s.id} (${g(s, a)}).`
59672
59672
  ).join(`
59673
59673
  - `)}
59674
59674
  `;
@@ -59717,7 +59717,7 @@ function ZW(i, a) {
59717
59717
  ), r = `
59718
59718
  All built-in 'action-descriptor' entities that define 'condition' entity, are (IDs):
59719
59719
  - ${a.conditionDeclarations.map(
59720
- (s) => `${s.id} (${G(s, a)}).`
59720
+ (s) => `${s.id} (${g(s, a)}).`
59721
59721
  ).join(`
59722
59722
  - `)}
59723
59723
  `;
@@ -59765,7 +59765,7 @@ function JW(i, a) {
59765
59765
  i
59766
59766
  ), r = `
59767
59767
  All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
59768
- - ${a.loopDeclarations.map((s) => `${s.id} (${G(s, a)}).`).join(`
59768
+ - ${a.loopDeclarations.map((s) => `${s.id} (${g(s, a)}).`).join(`
59769
59769
  - `)}`;
59770
59770
  return t ? t.type === n.FunctionDeclaration ? e.push(
59771
59771
  new w({
@@ -59858,7 +59858,7 @@ function So(i, a) {
59858
59858
  id: `${a.id}--${b.InvalidBuiltInEntityReference}`,
59859
59859
  code: b.InvalidBuiltInEntityReference,
59860
59860
  severity: R.Error,
59861
- message: `The entity of type '${a.type}' with id '${a.id}' cannot update 'readsValue' to entity with id '${i.readsValue}' because the entity belongs to a built-in '${s.type}' entity with id '${s.id}' (${G(
59861
+ message: `The entity of type '${a.type}' with id '${a.id}' cannot update 'readsValue' to entity with id '${i.readsValue}' because the entity belongs to a built-in '${s.type}' entity with id '${s.id}' (${g(
59862
59862
  s,
59863
59863
  a.project
59864
59864
  )}) higher up in the tree.`,
@@ -59900,11 +59900,11 @@ function Ci(i) {
59900
59900
  const a = [];
59901
59901
  if (i.parent === i.project)
59902
59902
  !i.calledBy.length && i.type !== n.VariableDeclaration && a.push(
59903
- new vt({
59904
- id: `${i.id}--${g.DisconnectedCallableEntity}`,
59905
- code: g.DisconnectedCallableEntity,
59903
+ new at({
59904
+ id: `${i.id}--${G.DisconnectedCallableEntity}`,
59905
+ code: G.DisconnectedCallableEntity,
59906
59906
  severity: R.Warning,
59907
- message: `This '${i.type}' entity "${G(
59907
+ message: `This '${i.type}' entity "${g(
59908
59908
  i,
59909
59909
  i.project
59910
59910
  )}" with id "${i.id}" is globally declared and isn't called by any other entity.
@@ -59919,10 +59919,10 @@ Or for a logic that the user is going to manually test themselves by clicking on
59919
59919
  else {
59920
59920
  const e = Ma(i);
59921
59921
  if (!e.reachable) {
59922
- let t = `This '${i.type}' entity "${G(
59922
+ let t = `This '${i.type}' entity "${g(
59923
59923
  i,
59924
59924
  i.project
59925
- )}" with id "${i.id}" is not reachable from the project's closest entry point '${e.entryPoint.type}' "${G(e.entryPoint, i.project)}".`;
59925
+ )}" with id "${i.id}" is not reachable from the project's closest entry point '${e.entryPoint.type}' "${g(e.entryPoint, i.project)}".`;
59926
59926
  t += `
59927
59927
  This is because there are termination statements in the call chain before reaching this '${i.type}'.
59928
59928
  If a caller entity calls a termination statement, it will always prevent all other calls from executing.`;
@@ -59930,12 +59930,12 @@ If a caller entity calls a termination statement, it will always prevent all oth
59930
59930
  This '${i.type}' is blocked `;
59931
59931
  e.blocks.forEach((s, l) => {
59932
59932
  const o = s.blockedByCaller, d = s.blockedByCalling;
59933
- l === 0 ? r += "by " : l === e.blocks.length - 1 && (r += "and by "), r += `its ancestor "${G(
59933
+ l === 0 ? r += "by " : l === e.blocks.length - 1 && (r += "and by "), r += `its ancestor "${g(
59934
59934
  o,
59935
59935
  i.project
59936
59936
  )}" with id "${o.id}" that calls a '${d.type}' entity with id "${d.id}"`, l < e.blocks.length - 1 ? r += ", " : r += ".";
59937
59937
  }), a.push(
59938
- new vt({
59938
+ new at({
59939
59939
  id: `${i.id}--${$.UnreachableEntity}`,
59940
59940
  code: $.UnreachableEntity,
59941
59941
  severity: R.Warning,
@@ -59954,66 +59954,66 @@ function vv(i) {
59954
59954
  return a;
59955
59955
  if (i.readsValue) {
59956
59956
  const e = de({
59957
- id: `${i.id}--${g.VariableReadsValueAndInternalCall}`,
59958
- message: `Variable "${G(i, i.project)}" with id "${i.id}" reads a value. A variable with internal calls can't read a value.`,
59957
+ id: `${i.id}--${G.VariableReadsValueAndInternalCall}`,
59958
+ message: `Variable "${g(i, i.project)}" with id "${i.id}" reads a value. A variable with internal calls can't read a value.`,
59959
59959
  issue: null,
59960
59960
  severity: R.Error,
59961
- code: g.VariableReadsValueAndInternalCall,
59961
+ code: G.VariableReadsValueAndInternalCall,
59962
59962
  entity: i
59963
59963
  });
59964
59964
  a.push(e.error);
59965
59965
  }
59966
59966
  if (i.writesValues.length) {
59967
59967
  const e = de({
59968
- id: `${i.id}--${g.VariableWritesValuesAndInternalCall}`,
59969
- message: `Variable "${G(i, i.project)}" with id "${i.id}" writes values. A variable with internal calls can't write a value.`,
59968
+ id: `${i.id}--${G.VariableWritesValuesAndInternalCall}`,
59969
+ message: `Variable "${g(i, i.project)}" with id "${i.id}" writes values. A variable with internal calls can't write a value.`,
59970
59970
  issue: null,
59971
59971
  severity: R.Error,
59972
- code: g.VariableWritesValuesAndInternalCall,
59972
+ code: G.VariableWritesValuesAndInternalCall,
59973
59973
  entity: i
59974
59974
  });
59975
59975
  a.push(e.error);
59976
59976
  }
59977
59977
  if (i.getUsedInputs().length) {
59978
59978
  const e = de({
59979
- id: `${i.id}--${g.VariableHasInputsAndInternalCall}`,
59980
- message: `Variable "${G(i, i.project)}" with id "${i.id}" has inputs. A variable with internal calls can't have inputs.`,
59979
+ id: `${i.id}--${G.VariableHasInputsAndInternalCall}`,
59980
+ message: `Variable "${g(i, i.project)}" with id "${i.id}" has inputs. A variable with internal calls can't have inputs.`,
59981
59981
  issue: null,
59982
59982
  severity: R.Error,
59983
- code: g.VariableHasInputsAndInternalCall,
59983
+ code: G.VariableHasInputsAndInternalCall,
59984
59984
  entity: i
59985
59985
  });
59986
59986
  a.push(e.error);
59987
59987
  }
59988
59988
  if (i.getUsedOutputs().length) {
59989
59989
  const e = de({
59990
- id: `${i.id}--${g.VariableHasOutputsAndInternalCall}`,
59991
- message: `Variable "${G(i, i.project)}" with id "${i.id}" has outputs. A variable with internal calls can't have outputs.`,
59990
+ id: `${i.id}--${G.VariableHasOutputsAndInternalCall}`,
59991
+ message: `Variable "${g(i, i.project)}" with id "${i.id}" has outputs. A variable with internal calls can't have outputs.`,
59992
59992
  issue: null,
59993
59993
  severity: R.Error,
59994
- code: g.VariableHasOutputsAndInternalCall,
59994
+ code: G.VariableHasOutputsAndInternalCall,
59995
59995
  entity: i
59996
59996
  });
59997
59997
  a.push(e.error);
59998
59998
  }
59999
59999
  if (i.calledBy.length) {
60000
60000
  const e = de({
60001
- id: `${i.id}--${g.VariableIsCalledAndHasInternalCall}`,
60002
- message: `Variable "${G(i, i.project)}" with id "${i.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
60001
+ id: `${i.id}--${G.VariableIsCalledAndHasInternalCall}`,
60002
+ message: `Variable "${g(i, i.project)}" with id "${i.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
60003
60003
  issue: null,
60004
60004
  severity: R.Error,
60005
- code: g.VariableIsCalledAndHasInternalCall,
60005
+ code: G.VariableIsCalledAndHasInternalCall,
60006
60006
  entity: i
60007
60007
  });
60008
60008
  a.push(e.error);
60009
60009
  }
60010
60010
  if ([...i.successCalls, ...i.errorCalls].length) {
60011
60011
  const e = de({
60012
- id: `${i.id}--${g.VariableCallsOthersAndHasInternalCall}`,
60013
- message: `Variable "${G(i, i.project)}" with id "${i.id}" calls other entities. A variable with internal calls can't call other entities.`,
60012
+ id: `${i.id}--${G.VariableCallsOthersAndHasInternalCall}`,
60013
+ message: `Variable "${g(i, i.project)}" with id "${i.id}" calls other entities. A variable with internal calls can't call other entities.`,
60014
60014
  issue: null,
60015
60015
  severity: R.Error,
60016
- code: g.VariableCallsOthersAndHasInternalCall,
60016
+ code: G.VariableCallsOthersAndHasInternalCall,
60017
60017
  entity: i
60018
60018
  });
60019
60019
  a.push(e.error);
@@ -60151,7 +60151,7 @@ const Fe = class Fe extends it {
60151
60151
  {
60152
60152
  parent: {
60153
60153
  list: !1,
60154
- types: [...lt, n.Project],
60154
+ types: [...dt, n.Project],
60155
60155
  optional: !0
60156
60156
  }
60157
60157
  // calledByEntry: {
@@ -60175,7 +60175,7 @@ const Fe = class Fe extends it {
60175
60175
  );
60176
60176
  r = l.modifiedData, s.push(
60177
60177
  ...l.errors,
60178
- ...dt(r)
60178
+ ...ut(r)
60179
60179
  );
60180
60180
  const o = B(
60181
60181
  r.declaration
@@ -60189,7 +60189,7 @@ const Fe = class Fe extends it {
60189
60189
  } else {
60190
60190
  const d = t.functions.length ? `
60191
60191
  All global 'function-declaration' entity ids are:
60192
- - ${t.functions.map((u) => `${u.id} (${G(u, t)})`).join(`
60192
+ - ${t.functions.map((u) => `${u.id} (${g(u, t)})`).join(`
60193
60193
  - `)}.` : `
60194
60194
  The project currently has no global 'function-declaration' entities that can be called as 'function-call' entities.`;
60195
60195
  s.push(
@@ -60800,7 +60800,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60800
60800
  "meta-sync"
60801
60801
  )
60802
60802
  )) {
60803
- const r = ut(this, e), s = this.toMeta();
60803
+ const r = pt(this, e), s = this.toMeta();
60804
60804
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
60805
60805
  }
60806
60806
  async APILoad(e = L, ...t) {
@@ -61038,7 +61038,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
61038
61038
  toJSONClone(e = J) {
61039
61039
  var r, s, l, o, d, u, h;
61040
61040
  let t;
61041
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
61041
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
61042
61042
  id: t,
61043
61043
  version: y.UUID.uuid(),
61044
61044
  createdAt: e.timestamp || v().toISOString(),
@@ -61221,12 +61221,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
61221
61221
  )
61222
61222
  ), t = null, r = null, s = !0) {
61223
61223
  var D, O;
61224
- let l = ht(t, this);
61224
+ let l = yt(t, this);
61225
61225
  const o = this.toJSON(), d = r || y.UUID.uuid();
61226
61226
  o.inputs = [];
61227
61227
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
61228
61228
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
61229
- const c = pt(
61229
+ const c = ct(
61230
61230
  o,
61231
61231
  l
61232
61232
  );
@@ -61456,7 +61456,7 @@ f(Fe, "repository", {
61456
61456
  APILoad: async (e, ...t) => null,
61457
61457
  APILoadVersion: async (e, t, ...r) => null
61458
61458
  }), f(Fe, "type", n.FunctionCall), f(Fe, "USER_MANAGED_PARENT_TYPES", [
61459
- ...lt,
61459
+ ...dt,
61460
61460
  n.Project
61461
61461
  ]), f(Fe, "PARENT_TYPES", [
61462
61462
  ...Fe.USER_MANAGED_PARENT_TYPES
@@ -62225,7 +62225,7 @@ function ui(i, a, e, t) {
62225
62225
  return !!s.implements && ((u = d.implements) == null ? void 0 : u.id) === ((h = s.implements) == null ? void 0 : h.id);
62226
62226
  });
62227
62227
  if (l) {
62228
- const d = new vt({
62228
+ const d = new at({
62229
62229
  id: s.id + "--" + l.id + "--" + t,
62230
62230
  message: `Entity of type ${s.type} named "${s.name}" with id "${s.id}" overrides a base ${l.type} ${l.name} with id "${l.id}" that has the same name`,
62231
62231
  issue: null,
@@ -62237,7 +62237,7 @@ function ui(i, a, e, t) {
62237
62237
  r.push(d);
62238
62238
  }
62239
62239
  if (o) {
62240
- const d = new vt({
62240
+ const d = new at({
62241
62241
  id: s.id + "--" + o.id + "--" + e,
62242
62242
  message: `Entity of type ${s.type} named "${s.name}" with id "${s.id}" overrides a base ${o.type} ${o.name} with id "${o.id}" that implements the same base descriptor`,
62243
62243
  issue: null,
@@ -62255,7 +62255,7 @@ function ui(i, a, e, t) {
62255
62255
  return !!u.implements && ((h = u.implements) == null ? void 0 : h.id) === ((c = s.implements) == null ? void 0 : c.id);
62256
62256
  });
62257
62257
  if (l) {
62258
- const u = new vt({
62258
+ const u = new at({
62259
62259
  id: l.id + "--" + s.id + "--" + t,
62260
62260
  message: `Entity of type ${l.type} named "${l.name}" with id "${l.id}" overrides a base entity ${s.name} with id "${s.id}" that has the same name`,
62261
62261
  issue: null,
@@ -62267,7 +62267,7 @@ function ui(i, a, e, t) {
62267
62267
  r.push(u);
62268
62268
  }
62269
62269
  if (o) {
62270
- const u = new vt({
62270
+ const u = new at({
62271
62271
  id: o.id + "--" + s.id + "--" + e,
62272
62272
  message: `Entity of type ${o.type} named "${o.name}" with id "${o.id}" overrides a base entity ${s.name} with id "${s.id}" that implements the same base ${(d = o == null ? void 0 : o.implements) == null ? void 0 : d.type}`,
62273
62273
  issue: null,
@@ -62396,7 +62396,7 @@ function Y(i, a) {
62396
62396
  else if ((i.type === n.ContinueStatement || i.type === n.BreakStatement) && e.type !== n.Loop) {
62397
62397
  i.remove({ ignoreUpstream: !1 }, a);
62398
62398
  return;
62399
- } else if (i.type === n.ReturnStatement && !lt.includes(e.type)) {
62399
+ } else if (i.type === n.ReturnStatement && !dt.includes(e.type)) {
62400
62400
  i.remove({ ignoreUpstream: !1 }, a);
62401
62401
  return;
62402
62402
  } else
@@ -62411,7 +62411,7 @@ function Y(i, a) {
62411
62411
  else if ((l.type === n.ContinueStatement || l.type === n.BreakStatement) && o.type !== n.Loop) {
62412
62412
  l.remove({ ignoreUpstream: !1 }, a);
62413
62413
  return;
62414
- } else if (l.type === n.ReturnStatement && !lt.includes(o.type)) {
62414
+ } else if (l.type === n.ReturnStatement && !dt.includes(o.type)) {
62415
62415
  l.remove({ ignoreUpstream: !1 }, a);
62416
62416
  return;
62417
62417
  } else
@@ -62439,11 +62439,11 @@ function HW(i, a) {
62439
62439
  return !!gs(i, a).last;
62440
62440
  }
62441
62441
  function KW(i) {
62442
- if (ot.includes(i.type))
62442
+ if (lt.includes(i.type))
62443
62443
  return i;
62444
62444
  if ([...ti, n.VariableDeclaration].includes(i.type)) {
62445
62445
  const a = i.parent;
62446
- return ot.includes(a.type) ? a : null;
62446
+ return lt.includes(a.type) ? a : null;
62447
62447
  }
62448
62448
  return null;
62449
62449
  }
@@ -62520,7 +62520,7 @@ function M7(i) {
62520
62520
  function _7(i) {
62521
62521
  if (!i)
62522
62522
  return null;
62523
- if (at.includes(i.type))
62523
+ if (ot.includes(i.type))
62524
62524
  return i;
62525
62525
  const a = i.parent;
62526
62526
  return a ? _7(a) : null;
@@ -62534,7 +62534,7 @@ function N7(i) {
62534
62534
  return a ? N7(a) : null;
62535
62535
  }
62536
62536
  function XW(i) {
62537
- return i.type === n.VariableDeclaration ? [i] : at.includes(i.type) ? [
62537
+ return i.type === n.VariableDeclaration ? [i] : ot.includes(i.type) ? [
62538
62538
  ...i.inputs,
62539
62539
  ...i.outputs || []
62540
62540
  ] : st.includes(i.type) ? i.outputs : Fs.includes(i.type) || i.type === n.FunctionDeclaration ? i.inputs : [];
@@ -62569,14 +62569,14 @@ function er(i) {
62569
62569
  return p(a);
62570
62570
  }
62571
62571
  function bv(i) {
62572
- return at.includes(i.type) ? [
62572
+ return ot.includes(i.type) ? [
62573
62573
  ...er(
62574
62574
  i.successCalls
62575
62575
  ),
62576
62576
  ...er(
62577
62577
  i.errorCalls
62578
62578
  )
62579
- ] : ot.includes(i.type) ? er(
62579
+ ] : lt.includes(i.type) ? er(
62580
62580
  i.calls
62581
62581
  ) : [];
62582
62582
  }
@@ -62617,7 +62617,7 @@ function g7(i = []) {
62617
62617
  return i.reduce((a, e) => e.type === n.OutputMap ? [...a, ...G7(e)] : a, []);
62618
62618
  }
62619
62619
  function Qe(i) {
62620
- return at.includes(i.type) ? [
62620
+ return ot.includes(i.type) ? [
62621
62621
  ...Sr(
62622
62622
  er(
62623
62623
  i.successCalls
@@ -62628,14 +62628,14 @@ function Qe(i) {
62628
62628
  i.errorCalls
62629
62629
  )
62630
62630
  )
62631
- ] : ot.includes(i.type) ? Sr(
62631
+ ] : lt.includes(i.type) ? Sr(
62632
62632
  er(
62633
62633
  i.calls
62634
62634
  )
62635
62635
  ) : [];
62636
62636
  }
62637
62637
  function nS(i) {
62638
- return at.includes(i.type) ? [
62638
+ return ot.includes(i.type) ? [
62639
62639
  ...Sr(
62640
62640
  er(
62641
62641
  i.successCalls
@@ -62646,7 +62646,7 @@ function nS(i) {
62646
62646
  i.errorCalls
62647
62647
  )
62648
62648
  )
62649
- ] : ot.includes(i.type) ? Sr(
62649
+ ] : lt.includes(i.type) ? Sr(
62650
62650
  er(
62651
62651
  i.calls
62652
62652
  )
@@ -62819,7 +62819,7 @@ function J7(i, a) {
62819
62819
  case n.Operation:
62820
62820
  return t.outputs.find((r) => r.id === i.id) !== void 0;
62821
62821
  case n.VariableDeclaration:
62822
- return at.includes(i.type) ? TJ(
62822
+ return ot.includes(i.type) ? TJ(
62823
62823
  i
62824
62824
  ).find((s) => {
62825
62825
  var l;
@@ -63548,7 +63548,7 @@ function oS(i, a) {
63548
63548
  return a.type === n.Condition ? a.inputs.find((e) => e.declaration.id === i.id) : a.type === n.FunctionCall || a.type === n.Operation ? a.inputs.find((e) => e.declaration.id === i.id) : null;
63549
63549
  }
63550
63550
  function TJ(i) {
63551
- return at.includes(i.type) ? i.inputs : [];
63551
+ return ot.includes(i.type) ? i.inputs : [];
63552
63552
  }
63553
63553
  function IJ(i) {
63554
63554
  var a;
@@ -63560,7 +63560,7 @@ function lS(i, a) {
63560
63560
  return a.type === n.Condition ? null : a.type === n.FunctionCall || a.type === n.Operation ? a.outputs.find((e) => e.declaration.id === i.id) : null;
63561
63561
  }
63562
63562
  function dS(i) {
63563
- return i.type === n.Condition ? [] : at.includes(i.type) ? i.outputs : [];
63563
+ return i.type === n.Condition ? [] : ot.includes(i.type) ? i.outputs : [];
63564
63564
  }
63565
63565
  function _l(i) {
63566
63566
  const a = i.readsValue;
@@ -63611,7 +63611,7 @@ function tn(i, a = !1) {
63611
63611
  ...(i == null ? void 0 : i.functionCalls) || [],
63612
63612
  ...(i == null ? void 0 : i.events) || [],
63613
63613
  ...(i == null ? void 0 : i.projects) || []
63614
- ), lt.includes(i.type) && e.push(
63614
+ ), dt.includes(i.type) && e.push(
63615
63615
  ...(i == null ? void 0 : i.detachedChildren) || []
63616
63616
  ), i.type === n.DefinitionEntity) {
63617
63617
  const t = [
@@ -63640,7 +63640,7 @@ function tn(i, a = !1) {
63640
63640
  ...r
63641
63641
  );
63642
63642
  }
63643
- if (at.includes(i.type) && i.type !== n.Condition && i.type !== n.Loop) {
63643
+ if (ot.includes(i.type) && i.type !== n.Condition && i.type !== n.Loop) {
63644
63644
  const t = i == null ? void 0 : i.outputs.map((l) => vs(l)).flat(), r = i.successCalls.map(
63645
63645
  (l) => Ot(l)
63646
63646
  ), s = i.errorCalls.map(
@@ -63820,7 +63820,7 @@ function Cv(i) {
63820
63820
  }
63821
63821
  function OJ(i) {
63822
63822
  if ([
63823
- ...ot,
63823
+ ...lt,
63824
63824
  n.DefinitionEntity,
63825
63825
  n.InstalledProject,
63826
63826
  n.Project
@@ -63833,7 +63833,7 @@ function OJ(i) {
63833
63833
  }
63834
63834
  function Bv(i) {
63835
63835
  return [
63836
- ...ot,
63836
+ ...lt,
63837
63837
  n.DefinitionEntity,
63838
63838
  n.InstalledProject,
63839
63839
  n.Project
@@ -63916,7 +63916,7 @@ function zo(i) {
63916
63916
  }
63917
63917
  }
63918
63918
  function Zt(i, a) {
63919
- if (lt.includes(i.type))
63919
+ if (dt.includes(i.type))
63920
63920
  return i;
63921
63921
  if (Rr.includes(i.type))
63922
63922
  return null;
@@ -63939,7 +63939,7 @@ function Mv(i, a) {
63939
63939
  i.parent,
63940
63940
  a
63941
63941
  );
63942
- return e ? e === a ? lt.includes(i.type) ? i : null : e.type === n.DefinitionEntity ? i : Mv(e, a) : null;
63942
+ return e ? e === a ? dt.includes(i.type) ? i : null : e.type === n.DefinitionEntity ? i : Mv(e, a) : null;
63943
63943
  }
63944
63944
  function Nl(i, a, e) {
63945
63945
  if (i === a || a === e || i === e)
@@ -64113,7 +64113,7 @@ function Ma(i) {
64113
64113
  ).find((c) => c === d) || t(s, d));
64114
64114
  });
64115
64115
  let o;
64116
- if (at.includes(s.type) && (o = s), o) {
64116
+ if (ot.includes(s.type) && (o = s), o) {
64117
64117
  const d = Ma(o);
64118
64118
  d.reachable || Qe(
64119
64119
  i
@@ -64130,7 +64130,7 @@ function Ma(i) {
64130
64130
  ).find((c) => c === d) || t(s, d));
64131
64131
  });
64132
64132
  let o;
64133
- if (at.includes(s.type) && (o = s), o) {
64133
+ if (ot.includes(s.type) && (o = s), o) {
64134
64134
  const d = Ma(o);
64135
64135
  d.reachable || Qe(
64136
64136
  i
@@ -64249,7 +64249,7 @@ function ES(i) {
64249
64249
  );
64250
64250
  return (e = a == null ? void 0 : a.getDefaultValue()) == null ? void 0 : e.valueAsTypeSingle;
64251
64251
  }
64252
- function ht(i, a) {
64252
+ function yt(i, a) {
64253
64253
  var t;
64254
64254
  if (!Zv.includes(a.type) || !i)
64255
64255
  return a.project || null;
@@ -64332,7 +64332,7 @@ function bS(i) {
64332
64332
  new Set(i == null ? void 0 : i.affected.map((e) => e.id))
64333
64333
  ), a;
64334
64334
  }
64335
- function ut(i, a) {
64335
+ function pt(i, a) {
64336
64336
  const e = zo(
64337
64337
  i.type
64338
64338
  );
@@ -64416,11 +64416,11 @@ function MJ(i, a) {
64416
64416
  const e = [];
64417
64417
  if (!a.abstract) {
64418
64418
  const h = de({
64419
- id: i.id + "--" + g.ImplementingNonAbstractEntity,
64419
+ id: i.id + "--" + G.ImplementingNonAbstractEntity,
64420
64420
  message: `Entity "${i.name}" with id "${i.id}" is implementing a non-abstract entity "${a.name}" with id "${a.id}"`,
64421
64421
  issue: null,
64422
64422
  severity: R.Error,
64423
- code: g.ImplementingNonAbstractEntity,
64423
+ code: G.ImplementingNonAbstractEntity,
64424
64424
  entity: i
64425
64425
  });
64426
64426
  return e.push(h.error), e;
@@ -64439,11 +64439,11 @@ function MJ(i, a) {
64439
64439
  ) : r.push(h);
64440
64440
  }), r.length && r.forEach((h) => {
64441
64441
  const c = de({
64442
- id: i.id + "--" + g.MissingPropertyImplementation + "--" + h.id,
64442
+ id: i.id + "--" + G.MissingPropertyImplementation + "--" + h.id,
64443
64443
  message: `Property "${h.name}" with id "${h.id}" of entity "${a.name}" with id "${a.id}" is not implemented when entity "${i.name}" with id "${i.id}" implements it`,
64444
64444
  issue: null,
64445
64445
  severity: R.Error,
64446
- code: g.MissingPropertyImplementation,
64446
+ code: G.MissingPropertyImplementation,
64447
64447
  entity: i
64448
64448
  });
64449
64449
  e.push(c.error);
@@ -64462,11 +64462,11 @@ function MJ(i, a) {
64462
64462
  ) : l.push(h);
64463
64463
  }), l.length && l.forEach((h) => {
64464
64464
  const c = de({
64465
- id: i.id + "--" + g.MissingMethodImplementation + "--" + h.id,
64465
+ id: i.id + "--" + G.MissingMethodImplementation + "--" + h.id,
64466
64466
  message: `Method "${h.name}" with id "${h.id}" of entity "${a.name}" with id "${a.id}" is not implemented when entity "${i.name}" with id "${i.id}" implements it`,
64467
64467
  issue: null,
64468
64468
  severity: R.Error,
64469
- code: g.MissingMethodImplementation,
64469
+ code: G.MissingMethodImplementation,
64470
64470
  entity: i
64471
64471
  });
64472
64472
  e.push(c.error);
@@ -64510,11 +64510,11 @@ function _J(i, a) {
64510
64510
  const e = [], t = [];
64511
64511
  if (!i.abstract && a.abstract) {
64512
64512
  const s = de({
64513
- id: i.id + "--" + a.id + "--" + g.NonAbstractExtendingAbstractEntity,
64513
+ id: i.id + "--" + a.id + "--" + G.NonAbstractExtendingAbstractEntity,
64514
64514
  message: `Entity "${i.name}" with id "${i.id}" is not-abstract but is extending an abstract entity "${a.name}" with id "${a.id}"`,
64515
64515
  issue: null,
64516
64516
  severity: R.Error,
64517
- code: g.NonAbstractExtendingAbstractEntity,
64517
+ code: G.NonAbstractExtendingAbstractEntity,
64518
64518
  entity: i,
64519
64519
  firstRelationship: a
64520
64520
  });
@@ -64522,11 +64522,11 @@ function _J(i, a) {
64522
64522
  }
64523
64523
  if (i.abstract && !a.abstract) {
64524
64524
  const s = de({
64525
- id: i.id + "--" + a.id + "--" + g.AbstractExtendingNonAbstractEntity,
64525
+ id: i.id + "--" + a.id + "--" + G.AbstractExtendingNonAbstractEntity,
64526
64526
  message: `Entity "${i.name}" with id "${i.id}" is abstract but is extending an non-abstract entity "${a.name}" with id "${a.id}"`,
64527
64527
  issue: null,
64528
64528
  severity: R.Error,
64529
- code: g.AbstractExtendingNonAbstractEntity,
64529
+ code: G.AbstractExtendingNonAbstractEntity,
64530
64530
  entity: i,
64531
64531
  firstRelationship: a
64532
64532
  });
@@ -64574,11 +64574,11 @@ function NJ(i) {
64574
64574
  const a = [];
64575
64575
  if (!i.properties.length) {
64576
64576
  const e = de({
64577
- id: i.id + "--" + g.NoProperties,
64577
+ id: i.id + "--" + G.NoProperties,
64578
64578
  message: "No properties implemented",
64579
64579
  issue: null,
64580
64580
  severity: R.Warning,
64581
- code: g.NoProperties,
64581
+ code: G.NoProperties,
64582
64582
  entity: i
64583
64583
  });
64584
64584
  a.push(e.error);
@@ -64592,32 +64592,32 @@ function UJ(i) {
64592
64592
  if (i.abstract) {
64593
64593
  if (i.methods.length) {
64594
64594
  const e = de({
64595
- id: i.id + "--" + g.AbstractEntityWithNonAbstractMethods,
64595
+ id: i.id + "--" + G.AbstractEntityWithNonAbstractMethods,
64596
64596
  message: `Entity "${i.name}" with id "${i.id}" is marked as abstract but has non-abstract methods`,
64597
64597
  issue: null,
64598
64598
  severity: R.Error,
64599
- code: g.AbstractEntityWithNonAbstractMethods,
64599
+ code: G.AbstractEntityWithNonAbstractMethods,
64600
64600
  entity: i
64601
64601
  });
64602
64602
  a.push(e.error);
64603
64603
  }
64604
64604
  if (i.properties.some((e) => !e.abstract)) {
64605
64605
  const e = de({
64606
- id: i.id + "--" + g.AbstractEntityWithNonAbstractProperties,
64606
+ id: i.id + "--" + G.AbstractEntityWithNonAbstractProperties,
64607
64607
  message: `Entity "${i.name}" with id "${i.id}" is marked as abstract but has non-abstract properties`,
64608
64608
  issue: null,
64609
64609
  severity: R.Error,
64610
- code: g.AbstractEntityWithNonAbstractProperties,
64610
+ code: G.AbstractEntityWithNonAbstractProperties,
64611
64611
  entity: i
64612
64612
  });
64613
64613
  a.push(e.error), i.properties.forEach((t) => {
64614
64614
  if (!t.abstract) {
64615
64615
  const r = de({
64616
- id: i.id + "--" + g.StaticEntityWithNonStaticProperties + "--" + t.id,
64616
+ id: i.id + "--" + G.StaticEntityWithNonStaticProperties + "--" + t.id,
64617
64617
  message: `Property "${t.name}" with id "${t.id}" of entity "${i.name}" with id "${i.id}" is not marked as abstract but the entity is marked as abstract`,
64618
64618
  issue: null,
64619
64619
  severity: R.Error,
64620
- code: g.StaticEntityWithNonStaticProperties,
64620
+ code: G.StaticEntityWithNonStaticProperties,
64621
64621
  entity: i
64622
64622
  });
64623
64623
  a.push(r.error);
@@ -64627,32 +64627,32 @@ function UJ(i) {
64627
64627
  } else {
64628
64628
  if (i.abstractMethods.length) {
64629
64629
  const e = de({
64630
- id: i.id + "--" + g.AbstractPropertyInNonAbstractEntity,
64630
+ id: i.id + "--" + G.AbstractPropertyInNonAbstractEntity,
64631
64631
  message: `Entity "${i.name}" with id "${i.id}" is not marked as abstract but has abstract methods`,
64632
64632
  issue: null,
64633
64633
  severity: R.Error,
64634
- code: g.AbstractPropertyInNonAbstractEntity,
64634
+ code: G.AbstractPropertyInNonAbstractEntity,
64635
64635
  entity: i
64636
64636
  });
64637
64637
  a.push(e.error);
64638
64638
  }
64639
64639
  if (i.properties.some((e) => e.abstract)) {
64640
64640
  const e = de({
64641
- id: i.id + "--" + g.AbstractMethodInNonAbstractEntity,
64641
+ id: i.id + "--" + G.AbstractMethodInNonAbstractEntity,
64642
64642
  message: `Entity "${i.name}" with id "${i.id}" is not marked as abstract but has abstract properties`,
64643
64643
  issue: null,
64644
64644
  severity: R.Error,
64645
- code: g.AbstractMethodInNonAbstractEntity,
64645
+ code: G.AbstractMethodInNonAbstractEntity,
64646
64646
  entity: i
64647
64647
  });
64648
64648
  a.push(e.error), i.properties.forEach((t) => {
64649
64649
  if (t.abstract) {
64650
64650
  const r = de({
64651
- id: i.id + "--" + g.AbstractMethodInNonAbstractEntity + "--" + t.id,
64651
+ id: i.id + "--" + G.AbstractMethodInNonAbstractEntity + "--" + t.id,
64652
64652
  message: `Property "${t.name}" with id "${t.id}" of entity "${i.name}" with id "${i.id}" is marked as abstract but the entity is not marked as abstract`,
64653
64653
  issue: null,
64654
64654
  severity: R.Error,
64655
- code: g.AbstractMethodInNonAbstractEntity,
64655
+ code: G.AbstractMethodInNonAbstractEntity,
64656
64656
  entity: i
64657
64657
  });
64658
64658
  a.push(r.error);
@@ -64662,21 +64662,21 @@ function UJ(i) {
64662
64662
  }
64663
64663
  if (i.static && i.properties.some((e) => !e.static)) {
64664
64664
  const e = de({
64665
- id: i.id + "--" + g.StaticEntityWithNonStaticProperties,
64665
+ id: i.id + "--" + G.StaticEntityWithNonStaticProperties,
64666
64666
  message: `Entity "${i.name}" with id "${i.id}" is marked as static but has non-static properties`,
64667
64667
  issue: null,
64668
64668
  severity: R.Error,
64669
- code: g.StaticEntityWithNonStaticProperties,
64669
+ code: G.StaticEntityWithNonStaticProperties,
64670
64670
  entity: i
64671
64671
  });
64672
64672
  a.push(e.error), i.properties.forEach((t) => {
64673
64673
  if (!t.static) {
64674
64674
  const r = de({
64675
- id: i.id + "--" + g.NonStaticPropertyInStaticEntity + "--" + t.id,
64675
+ id: i.id + "--" + G.NonStaticPropertyInStaticEntity + "--" + t.id,
64676
64676
  message: `Property "${t.name}" with id "${t.id}" of entity "${i.name}" with id "${i.id}" is not marked as static but the entity is marked as static`,
64677
64677
  issue: null,
64678
64678
  severity: R.Error,
64679
- code: g.NonStaticPropertyInStaticEntity,
64679
+ code: G.NonStaticPropertyInStaticEntity,
64680
64680
  entity: i
64681
64681
  });
64682
64682
  a.push(r.error);
@@ -64688,12 +64688,12 @@ function UJ(i) {
64688
64688
  function LJ(i, a) {
64689
64689
  const e = [], t = kt(a);
64690
64690
  if (!a.abstract) {
64691
- const l = new vt({
64692
- id: i.id + "--" + a.id + "--" + g.ImplementingNonAbstractEntity,
64691
+ const l = new at({
64692
+ id: i.id + "--" + a.id + "--" + G.ImplementingNonAbstractEntity,
64693
64693
  message: `Entity "${i.name}" with id "${i.id}" is implementing a non-abstract built-in entity "${a.name}" with id "${a.id}"`,
64694
64694
  issue: null,
64695
64695
  severity: R.Error,
64696
- code: g.ImplementingNonAbstractEntity,
64696
+ code: G.ImplementingNonAbstractEntity,
64697
64697
  entity: i,
64698
64698
  firstRelationship: a
64699
64699
  });
@@ -64703,12 +64703,36 @@ function LJ(i, a) {
64703
64703
  (l) => l.id !== a.id
64704
64704
  );
64705
64705
  if (i.abstract) {
64706
- const l = new vt({
64707
- id: i.id + "--" + a.id + "--" + g.AbstractEntityImplements,
64706
+ const l = new at({
64707
+ id: i.id + "--" + a.id + "--" + G.AbstractEntityImplements,
64708
64708
  message: `Entity "${i.name}" with id "${i.id}" is marked as abstract and cannot implement built-in entity "${a.name}" with id "${a.id}"`,
64709
64709
  issue: null,
64710
64710
  severity: R.Error,
64711
- code: g.AbstractEntityImplements,
64711
+ code: G.AbstractEntityImplements,
64712
+ entity: i,
64713
+ firstRelationship: a
64714
+ });
64715
+ e.push(l);
64716
+ }
64717
+ if (i.static && !a.static) {
64718
+ const l = new at({
64719
+ id: i.id + "--" + a.id + "--" + G.StaticImplementingNonStaticEntity,
64720
+ message: `Entity "${i.name}" with id "${i.id}" is marked as static and cannot implement non-static built-in entity "${a.name}" with id "${a.id}"`,
64721
+ issue: null,
64722
+ severity: R.Error,
64723
+ code: G.StaticImplementingNonStaticEntity,
64724
+ entity: i,
64725
+ firstRelationship: a
64726
+ });
64727
+ e.push(l);
64728
+ }
64729
+ if (!i.static && a.static) {
64730
+ const l = new at({
64731
+ id: i.id + "--" + a.id + "--" + G.NonStaticImplementingStaticEntity,
64732
+ message: `Entity "${i.name}" with id "${i.id}" is not marked as static and cannot implement static built-in entity "${a.name}" with id "${a.id}"`,
64733
+ issue: null,
64734
+ severity: R.Error,
64735
+ code: G.NonStaticImplementingStaticEntity,
64712
64736
  entity: i,
64713
64737
  firstRelationship: a
64714
64738
  });
@@ -64721,12 +64745,12 @@ function LJ(i, a) {
64721
64745
  );
64722
64746
  o.length && o.forEach((d) => {
64723
64747
  if (d.id !== l.id) {
64724
- const u = new vt({
64725
- id: i.id + "--" + d.id + "--" + l.id + "--" + g.ImplementsIncompatibleEntities,
64748
+ const u = new at({
64749
+ id: i.id + "--" + d.id + "--" + l.id + "--" + G.ImplementsIncompatibleEntities,
64726
64750
  message: `Entity "${i.name}" with id "${i.id}" is implementing built-in entity "${d.name}" with id "${d.id}" but also implements entity "${l.name}" with id "${l.id}" which is incompatible`,
64727
64751
  issue: null,
64728
64752
  severity: R.Error,
64729
- code: g.ImplementsIncompatibleEntities,
64753
+ code: G.ImplementsIncompatibleEntities,
64730
64754
  entity: i,
64731
64755
  firstRelationship: d,
64732
64756
  secondRelationship: l
@@ -64741,12 +64765,12 @@ function LJ(i, a) {
64741
64765
  );
64742
64766
  c.length && c.forEach((T) => {
64743
64767
  if (T.id !== h.id) {
64744
- const I = new vt({
64745
- id: i.id + "--" + T.id + "--" + h.id + "--" + g.ImplementsIncompatibleEntities,
64768
+ const I = new at({
64769
+ id: i.id + "--" + T.id + "--" + h.id + "--" + G.ImplementsIncompatibleEntities,
64746
64770
  message: `Entity "${i.name}" with id "${i.id}" is implementing built-in entity "${T.name}" with id "${T.id}" but also implements entity "${h.name}" with id "${h.id}" which is incompatible`,
64747
64771
  issue: null,
64748
64772
  severity: R.Error,
64749
- code: g.ImplementsIncompatibleEntities,
64773
+ code: G.ImplementsIncompatibleEntities,
64750
64774
  entity: i,
64751
64775
  firstRelationship: T,
64752
64776
  secondRelationship: h
@@ -64776,12 +64800,12 @@ function LJ(i, a) {
64776
64800
  if (!t.find(
64777
64801
  (o) => o.id === l.id
64778
64802
  )) {
64779
- const o = new vt({
64780
- id: i.id + "--" + a.id + "--" + l.id + "--" + g.ExtendsIncompatibleEntities,
64803
+ const o = new at({
64804
+ id: i.id + "--" + a.id + "--" + l.id + "--" + G.ExtendsIncompatibleEntities,
64781
64805
  message: `Entity "${i.name}" with id "${i.id}" is implementing built-in entity "${a.name}" with id "${a.id}" but also extends entity "${l.name}" with id "${l.id}" which is incompatible`,
64782
64806
  issue: null,
64783
64807
  severity: R.Error,
64784
- code: g.ExtendsIncompatibleEntities,
64808
+ code: G.ExtendsIncompatibleEntities,
64785
64809
  entity: i,
64786
64810
  firstRelationship: a,
64787
64811
  secondRelationship: l
@@ -64794,11 +64818,11 @@ function xJ(i, a, e = !1) {
64794
64818
  const t = [], r = kt(a);
64795
64819
  if (!i.abstract && a.abstract) {
64796
64820
  const h = de({
64797
- id: i.id + "--" + a.id + "--" + g.NonAbstractExtendingAbstractEntity,
64821
+ id: i.id + "--" + a.id + "--" + G.NonAbstractExtendingAbstractEntity,
64798
64822
  message: `Entity "${i.name}" with id "${i.id}" is not-abstract but is extending an abstract entity "${a.name}" with id "${a.id}"`,
64799
64823
  issue: null,
64800
64824
  severity: R.Error,
64801
- code: g.NonAbstractExtendingAbstractEntity,
64825
+ code: G.NonAbstractExtendingAbstractEntity,
64802
64826
  entity: i,
64803
64827
  firstRelationship: a
64804
64828
  });
@@ -64806,11 +64830,11 @@ function xJ(i, a, e = !1) {
64806
64830
  }
64807
64831
  if (i.abstract && !a.abstract) {
64808
64832
  const h = de({
64809
- id: i.id + "--" + a.id + "--" + g.AbstractExtendingNonAbstractEntity,
64833
+ id: i.id + "--" + a.id + "--" + G.AbstractExtendingNonAbstractEntity,
64810
64834
  message: `Entity "${i.name}" with id "${i.id}" is abstract but is extending an non-abstract entity "${a.name}" with id "${a.id}"`,
64811
64835
  issue: null,
64812
64836
  severity: R.Error,
64813
- code: g.AbstractExtendingNonAbstractEntity,
64837
+ code: G.AbstractExtendingNonAbstractEntity,
64814
64838
  entity: i,
64815
64839
  firstRelationship: a
64816
64840
  });
@@ -64818,11 +64842,11 @@ function xJ(i, a, e = !1) {
64818
64842
  }
64819
64843
  if (!i.static && a.static) {
64820
64844
  const h = de({
64821
- id: i.id + "--" + a.id + "--" + g.NonStaticExtendingStaticEntity,
64845
+ id: i.id + "--" + a.id + "--" + G.NonStaticExtendingStaticEntity,
64822
64846
  message: `Entity "${i.name}" with id "${i.id}" is not static but is extending a static entity "${a.name}" with id "${a.id}"`,
64823
64847
  issue: null,
64824
64848
  severity: R.Error,
64825
- code: g.NonStaticExtendingStaticEntity,
64849
+ code: G.NonStaticExtendingStaticEntity,
64826
64850
  entity: i,
64827
64851
  firstRelationship: a
64828
64852
  });
@@ -64830,11 +64854,11 @@ function xJ(i, a, e = !1) {
64830
64854
  }
64831
64855
  if (i.static && !a.static) {
64832
64856
  const h = de({
64833
- id: i.id + "--" + a.id + "--" + g.StaticExtendingNonStaticEntity,
64857
+ id: i.id + "--" + a.id + "--" + G.StaticExtendingNonStaticEntity,
64834
64858
  message: `Entity "${i.name}" with id "${i.id}" is static but is extending an non-static entity "${a.name}" with id "${a.id}"`,
64835
64859
  issue: null,
64836
64860
  severity: R.Error,
64837
- code: g.StaticExtendingNonStaticEntity,
64861
+ code: G.StaticExtendingNonStaticEntity,
64838
64862
  entity: i,
64839
64863
  firstRelationship: a
64840
64864
  });
@@ -64842,11 +64866,11 @@ function xJ(i, a, e = !1) {
64842
64866
  }
64843
64867
  if (!fp(a)) {
64844
64868
  const h = de({
64845
- id: i.id + "--" + a.id + "--" + g.ExtendingNonInteractiveEntity,
64869
+ id: i.id + "--" + a.id + "--" + G.ExtendingNonInteractiveEntity,
64846
64870
  message: `Entity "${i.name}" with id "${i.id}" is extending an non-interactive entity "${a.name}" with id "${a.id}"`,
64847
64871
  issue: null,
64848
64872
  severity: R.Error,
64849
- code: g.ExtendingNonInteractiveEntity,
64873
+ code: G.ExtendingNonInteractiveEntity,
64850
64874
  entity: i,
64851
64875
  firstRelationship: a
64852
64876
  });
@@ -64863,11 +64887,11 @@ function xJ(i, a, e = !1) {
64863
64887
  c.length && c.forEach((T) => {
64864
64888
  if (T.id !== h.id) {
64865
64889
  const I = de({
64866
- id: i.id + "--" + T.id + "--" + h.id + "--" + g.ExtendsIncompatibleEntities,
64890
+ id: i.id + "--" + T.id + "--" + h.id + "--" + G.ExtendsIncompatibleEntities,
64867
64891
  message: `Entity "${i.name}" with id "${i.id}" is extending built-in entity "${T.name}" with id "${T.id}" but also extends entity "${h.name}" with id "${h.id}" which is incompatible`,
64868
64892
  issue: null,
64869
64893
  severity: R.Error,
64870
- code: g.ExtendsIncompatibleEntities,
64894
+ code: G.ExtendsIncompatibleEntities,
64871
64895
  entity: i,
64872
64896
  firstRelationship: T,
64873
64897
  secondRelationship: h
@@ -64882,12 +64906,12 @@ function xJ(i, a, e = !1) {
64882
64906
  );
64883
64907
  j.length && j.forEach((C) => {
64884
64908
  if (C.id !== M.id) {
64885
- const x = new vt({
64886
- id: i.id + "--" + C.id + "--" + M.id + "--" + g.ImplementsIncompatibleEntities,
64909
+ const x = new at({
64910
+ id: i.id + "--" + C.id + "--" + M.id + "--" + G.ImplementsIncompatibleEntities,
64887
64911
  message: `Entity "${i.name}" with id "${i.id}" is extending built-in entity "${C.name}" with id "${C.id}" but also extends or implements entity "${M.name}" with id "${M.id}" which is incompatible`,
64888
64912
  issue: null,
64889
64913
  severity: R.Error,
64890
- code: g.ImplementsIncompatibleEntities,
64914
+ code: G.ImplementsIncompatibleEntities,
64891
64915
  entity: i,
64892
64916
  firstRelationship: C,
64893
64917
  secondRelationship: M
@@ -64939,12 +64963,12 @@ function xJ(i, a, e = !1) {
64939
64963
  );
64940
64964
  c.length && c.forEach((T) => {
64941
64965
  if (T.id !== h.id) {
64942
- const I = new vt({
64943
- id: i.id + "--" + T.id + "--" + h.id + "--" + g.ImplementsIncompatibleEntities,
64966
+ const I = new at({
64967
+ id: i.id + "--" + T.id + "--" + h.id + "--" + G.ImplementsIncompatibleEntities,
64944
64968
  message: `Entity "${i.name}" with id "${i.id}" is implementing built-in entity "${T.name}" with id "${T.id}" but also implements entity "${h.name}" with id "${h.id}" which is incompatible`,
64945
64969
  issue: null,
64946
64970
  severity: R.Error,
64947
- code: g.ImplementsIncompatibleEntities,
64971
+ code: G.ImplementsIncompatibleEntities,
64948
64972
  entity: i,
64949
64973
  firstRelationship: T,
64950
64974
  secondRelationship: h
@@ -64959,12 +64983,12 @@ function xJ(i, a, e = !1) {
64959
64983
  );
64960
64984
  O.length && O.forEach((V) => {
64961
64985
  if (V.id !== D.id) {
64962
- const M = new vt({
64963
- id: i.id + "--" + V.id + "--" + D.id + "--" + g.ImplementsIncompatibleEntities,
64986
+ const M = new at({
64987
+ id: i.id + "--" + V.id + "--" + D.id + "--" + G.ImplementsIncompatibleEntities,
64964
64988
  message: `Entity "${i.name}" with id "${i.id}" is implementing built-in entity "${V.name}" with id "${V.id}" but also implements entity "${D.name}" with id "${D.id}" which is incompatible`,
64965
64989
  issue: null,
64966
64990
  severity: R.Error,
64967
- code: g.ImplementsIncompatibleEntities,
64991
+ code: G.ImplementsIncompatibleEntities,
64968
64992
  entity: i,
64969
64993
  firstRelationship: V,
64970
64994
  secondRelationship: D
@@ -65008,12 +65032,12 @@ function xJ(i, a, e = !1) {
65008
65032
  if (!r.find(
65009
65033
  (c) => c.id === h.id
65010
65034
  )) {
65011
- const c = new vt({
65012
- id: i.id + "--" + a.id + "--" + h.id + "--" + g.ImplementsIncompatibleEntities,
65035
+ const c = new at({
65036
+ id: i.id + "--" + a.id + "--" + h.id + "--" + G.ImplementsIncompatibleEntities,
65013
65037
  message: `Entity "${i.name}" with id "${i.id}" is extending built-in entity "${a.name}" with id "${a.id}" but also extends entity "${h.name}" with id "${h.id}" which is incompatible`,
65014
65038
  issue: null,
65015
65039
  severity: R.Error,
65016
- code: g.ImplementsIncompatibleEntities,
65040
+ code: G.ImplementsIncompatibleEntities,
65017
65041
  entity: i,
65018
65042
  firstRelationship: a,
65019
65043
  secondRelationship: h
@@ -65026,12 +65050,12 @@ function $J(i) {
65026
65050
  const a = [];
65027
65051
  return i.extends.forEach((e) => {
65028
65052
  if (!e.static) {
65029
- const t = new vt({
65030
- id: i.id + "--" + e.id + "--" + g.StaticExtendingNonStaticEntity,
65053
+ const t = new at({
65054
+ id: i.id + "--" + e.id + "--" + G.StaticExtendingNonStaticEntity,
65031
65055
  message: `Entity "${i.name}" with id "${i.id}" is static but extends entity "${e.name}" with id "${e.id}" which is non-static`,
65032
65056
  issue: null,
65033
65057
  severity: R.Error,
65034
- code: g.StaticExtendingNonStaticEntity,
65058
+ code: G.StaticExtendingNonStaticEntity,
65035
65059
  entity: i,
65036
65060
  firstRelationship: e
65037
65061
  });
@@ -65042,12 +65066,12 @@ function $J(i) {
65042
65066
  function jJ(i) {
65043
65067
  const a = [];
65044
65068
  if (i.implements.length) {
65045
- const e = new vt({
65046
- id: i.id + "--" + g.AbstractEntityImplements,
65069
+ const e = new at({
65070
+ id: i.id + "--" + G.AbstractEntityImplements,
65047
65071
  message: `Entity "${i.name}" with id "${i.id}" cannot be marked as abstract because it implements other entities`,
65048
65072
  issue: null,
65049
65073
  severity: R.Error,
65050
- code: g.AbstractEntityImplements,
65074
+ code: G.AbstractEntityImplements,
65051
65075
  entity: i
65052
65076
  });
65053
65077
  a.push(e);
@@ -65058,12 +65082,12 @@ function GJ(i) {
65058
65082
  const a = [];
65059
65083
  return i.extends.forEach((e) => {
65060
65084
  if (e.static) {
65061
- const t = new vt({
65062
- id: i.id + "--" + e.id + "--" + g.NonStaticExtendingStaticEntity,
65085
+ const t = new at({
65086
+ id: i.id + "--" + e.id + "--" + G.NonStaticExtendingStaticEntity,
65063
65087
  message: `Entity "${i.name}" with id "${i.id}" is non-static but extends entity "${e.name}" with id "${e.id}" which is static`,
65064
65088
  issue: null,
65065
65089
  severity: R.Error,
65066
- code: g.NonStaticExtendingStaticEntity,
65090
+ code: G.NonStaticExtendingStaticEntity,
65067
65091
  entity: i,
65068
65092
  firstRelationship: e
65069
65093
  });
@@ -65075,12 +65099,12 @@ function gJ(i) {
65075
65099
  const a = [];
65076
65100
  return i.extends.forEach((e) => {
65077
65101
  if (e.abstract) {
65078
- const t = new vt({
65079
- id: i.id + "--" + e.id + "--" + g.NonAbstractExtendingAbstractEntity,
65102
+ const t = new at({
65103
+ id: i.id + "--" + e.id + "--" + G.NonAbstractExtendingAbstractEntity,
65080
65104
  message: `Entity "${i.name}" with id "${i.id}" is non-abstract but extends entity "${e.name}" with id "${e.id}" which is abstract`,
65081
65105
  issue: null,
65082
65106
  severity: R.Error,
65083
- code: g.NonAbstractExtendingAbstractEntity,
65107
+ code: G.NonAbstractExtendingAbstractEntity,
65084
65108
  entity: i,
65085
65109
  firstRelationship: e
65086
65110
  });
@@ -65334,7 +65358,7 @@ const xe = class xe extends it {
65334
65358
  s.push(
65335
65359
  ...l,
65336
65360
  ...o,
65337
- ...dt(r)
65361
+ ...ut(r)
65338
65362
  );
65339
65363
  const d = r.parent ? t.get(r.parent) : null;
65340
65364
  if (d && d.type === n.DataType) {
@@ -65932,8 +65956,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
65932
65956
  "meta-sync"
65933
65957
  )
65934
65958
  )) {
65935
- const r = ut(this, e), s = this.toMeta();
65936
- return this.name = e.name || s.name, this.description = e.description || s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.static = e.static || s.static, this.abstract = e.abstract || s.abstract, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
65959
+ const r = pt(this, e), s = this.toMeta();
65960
+ return this.name = e.name || s.name, this.description = e.description || s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.static = e.static !== void 0 ? e.static : this.static, this.abstract = e.abstract !== void 0 ? e.abstract : this.abstract, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
65937
65961
  }
65938
65962
  async APILoad(e = L, ...t) {
65939
65963
  return await xe.repository.APILoad(this.id, ...t), this;
@@ -66182,7 +66206,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
66182
66206
  toJSONClone(e = J) {
66183
66207
  var r, s, l, o, d;
66184
66208
  let t;
66185
- return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ft(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
66209
+ return (r = e.seenEntityMaps) != null && r.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
66186
66210
  id: t,
66187
66211
  version: y.UUID.uuid(),
66188
66212
  createdAt: e.timestamp || v().toISOString(),
@@ -66349,12 +66373,12 @@ Alternatively you can update the parent data-type entity with 'update' action to
66349
66373
  )
66350
66374
  ), t = null, r = null, s = !0) {
66351
66375
  var O, V, M;
66352
- let l = ht(t, this);
66376
+ let l = yt(t, this);
66353
66377
  const o = this.toJSON(), d = r || y.UUID.uuid();
66354
66378
  o.properties = [], o.methods = [], o.abstractMethods = [];
66355
66379
  const u = d.split("-id"), h = u[u.length - 1 || 0] || d;
66356
66380
  o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
66357
- const c = pt(
66381
+ const c = ct(
66358
66382
  o,
66359
66383
  l
66360
66384
  );
@@ -66438,7 +66462,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
66438
66462
  const d = [];
66439
66463
  e.forEach((c) => {
66440
66464
  d.find(
66441
- (I) => G(I, this.project) === G(c, this.project)
66465
+ (I) => g(I, this.project) === g(c, this.project)
66442
66466
  ) || d.push(c);
66443
66467
  });
66444
66468
  const u = this.properties.filter(
@@ -66447,7 +66471,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
66447
66471
  d.forEach((c) => {
66448
66472
  var M, j;
66449
66473
  const T = u.find(
66450
- (C) => G(C, this.project) === G(c, this.project)
66474
+ (C) => g(C, this.project) === g(c, this.project)
66451
66475
  );
66452
66476
  if (!T)
66453
66477
  return;
@@ -66506,7 +66530,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
66506
66530
  }) : (h.forEach((c) => {
66507
66531
  var C, x, Z, q;
66508
66532
  const T = this.properties.find(
66509
- (X) => G(X, this.project) === G(c, this.project)
66533
+ (X) => g(X, this.project) === g(c, this.project)
66510
66534
  );
66511
66535
  if (T) {
66512
66536
  if (c.setDeclaration(T), !T.getDataType(t)) {
@@ -66552,7 +66576,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
66552
66576
  author: y.sessionAuthor,
66553
66577
  previousVersion: null,
66554
66578
  deleted: !1,
66555
- name: G(c, this.project),
66579
+ name: g(c, this.project),
66556
66580
  description: c.description,
66557
66581
  defaultValue: null,
66558
66582
  static: !0,
@@ -67276,7 +67300,7 @@ f(Ya, "repository", {
67276
67300
  APILoad: async (e, ...t) => null
67277
67301
  });
67278
67302
  let sr = Ya;
67279
- function pt(i, a) {
67303
+ function ct(i, a) {
67280
67304
  if (!i)
67281
67305
  throw new Error("Entity is null");
67282
67306
  const e = a.get(i.id);
@@ -67344,7 +67368,7 @@ function pt(i, a) {
67344
67368
  function P(i, a) {
67345
67369
  if (!i)
67346
67370
  throw new Error("Entity is null");
67347
- const e = pt(i, a);
67371
+ const e = ct(i, a);
67348
67372
  return e.subscribe(), e;
67349
67373
  }
67350
67374
  function OS(i, a) {
@@ -67497,7 +67521,7 @@ class Ti {
67497
67521
  if (a.readsValue) {
67498
67522
  if (et.includes(a.readsValue.type)) {
67499
67523
  let e = a.parent;
67500
- lt.includes(e.type) || (e = e.parent);
67524
+ dt.includes(e.type) || (e = e.parent);
67501
67525
  const t = a.type === n.InputMap && a.parent.type === n.Loop;
67502
67526
  t && (e = a.parent.parent), a.readsValue.setParent(
67503
67527
  e,
@@ -67532,7 +67556,7 @@ class Ti {
67532
67556
  if (a.readsValue) {
67533
67557
  if (et.includes(a.readsValue.type)) {
67534
67558
  let e = a.parent;
67535
- lt.includes(e.type) || (e = e.parent);
67559
+ dt.includes(e.type) || (e = e.parent);
67536
67560
  const t = a.type === n.InputMap && a.parent.type === n.Loop;
67537
67561
  t && (e = a.parent.parent), a.readsValue.setParent(
67538
67562
  e,
@@ -67658,7 +67682,7 @@ const se = class se extends it {
67658
67682
  JSON.stringify(e)
67659
67683
  );
67660
67684
  const s = [];
67661
- return s.push(...dt(r)), {
67685
+ return s.push(...ut(r)), {
67662
67686
  errors: s,
67663
67687
  modifiedData: r
67664
67688
  };
@@ -68090,7 +68114,7 @@ const se = class se extends it {
68090
68114
  "meta-sync"
68091
68115
  )
68092
68116
  )) {
68093
- const r = ut(this, e), s = this.toMeta();
68117
+ const r = pt(this, e), s = this.toMeta();
68094
68118
  return this.name = e.name || s.name, this.description = e.description || s.description, this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
68095
68119
  }
68096
68120
  async APILoad(e = L, ...t) {
@@ -70166,7 +70190,7 @@ export {
70166
70190
  g0 as ChangeSetChangeCaptureType,
70167
70191
  E as ChangeSetEntityChangeType,
70168
70192
  BS as ChildEntityState,
70169
- ct as ComparisonOperatorTypes,
70193
+ ft as ComparisonOperatorTypes,
70170
70194
  n7 as ConditionDependencyField,
70171
70195
  qi as ConditionState,
70172
70196
  J0 as ContinueStatementDependencyField,
@@ -70191,23 +70215,23 @@ export {
70191
70215
  J as ENTITY_RECUSION_OPTIONS_DEFAULTS,
70192
70216
  bq as ENTITY_TYPES,
70193
70217
  Iq as ENTITY_WITH_DECLARATION_TYPES,
70194
- lt as ENTITY_WITH_LOGIC_SCOPE_TYPES,
70218
+ dt as ENTITY_WITH_LOGIC_SCOPE_TYPES,
70195
70219
  kv as ENTITY_WITH_NAMES_TYPES,
70196
70220
  vq as ENTITY_WITH_PARENT_TYPES,
70197
70221
  Gv as ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES,
70198
70222
  Tq as ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES,
70199
70223
  jv as ENTITY_WITH_VALUE_TYPES,
70200
70224
  Wo as ENTRY_POINT_ENTITIES_EXPLANATION,
70201
- ot as ENTRY_POINT_TYPES,
70225
+ lt as ENTRY_POINT_TYPES,
70202
70226
  Fs as EVENT_TYPES,
70203
70227
  Eq as EXECUTABLE_TYPES,
70204
70228
  XE as EXECUTION_OPERATIONS,
70205
70229
  WJ as EntityAction,
70206
- vt as EntityError,
70230
+ at as EntityError,
70207
70231
  R as EntityErrorSeverity,
70208
70232
  w as EntityGenerationError,
70209
70233
  b as EntityGenerationErrorCode,
70210
- g as EntityInstanceErrorCode,
70234
+ G as EntityInstanceErrorCode,
70211
70235
  Ke as EntityOperations,
70212
70236
  n as EntityType,
70213
70237
  LS as EntityWithLogicScopeClass,
@@ -70252,7 +70276,7 @@ export {
70252
70276
  ei as OutputMapState,
70253
70277
  ul as PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION,
70254
70278
  Xi as PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION,
70255
- at as PASS_THROUGH_CALLABLE_TYPES,
70279
+ ot as PASS_THROUGH_CALLABLE_TYPES,
70256
70280
  gv as PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS,
70257
70281
  yv as PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION,
70258
70282
  SJ as ParallelExecutionOperation,
@@ -70291,7 +70315,7 @@ export {
70291
70315
  hv as VALUE_READING_ENTITIES_EXPLANATION,
70292
70316
  Ni as VALUE_READING_TYPES,
70293
70317
  v7 as VALUE_WRITING_ENTITIES_EXPLANATION,
70294
- mt as VALUE_WRITING_TYPES,
70318
+ vt as VALUE_WRITING_TYPES,
70295
70319
  kp as VARIABLE_DATA_TYPE_INFERRANCE_EXPLANATION,
70296
70320
  et as VARIABLE_TYPES,
70297
70321
  Tt as ValueAutogenerationType,
@@ -70336,7 +70360,7 @@ export {
70336
70360
  Ar as checkAreDataTypesCompatible,
70337
70361
  NZ as checkAreDefinitionEntitiesCompatibleAsDataType,
70338
70362
  _Z as checkArePropertiesCompatibleAsDataType,
70339
- ut as checkHasMetadataChanged,
70363
+ pt as checkHasMetadataChanged,
70340
70364
  ui as checkImplementationsOverlap,
70341
70365
  Wa as checkIsBranchDependentButNotDirectlyOnBranch,
70342
70366
  HW as checkIsBranchDependentOnBranch,
@@ -70392,7 +70416,7 @@ export {
70392
70416
  oA as createNewInstanceOperationRef,
70393
70417
  qZ as createSemanticId,
70394
70418
  OS as createStateFromGenerationTargetType,
70395
- pt as createStateFromType,
70419
+ ct as createStateFromType,
70396
70420
  P as createStateFromTypeAndSubscribe,
70397
70421
  ad as cronJobBuiltInBaseEntity,
70398
70422
  h1 as cronJobBuiltInBaseEntityExpressionProperty,
@@ -70527,7 +70551,7 @@ export {
70527
70551
  Cq as generate,
70528
70552
  jW as generateActionExample,
70529
70553
  Qq as generateExecutionDataType,
70530
- ft as generateIdFromStrategy,
70554
+ ht as generateIdFromStrategy,
70531
70555
  ll as generateMutablePropertiesExplanation,
70532
70556
  lP as generateRandomBoolean,
70533
70557
  qO as generateRandomDate,
@@ -70991,14 +71015,14 @@ export {
70991
71015
  JZ as resolveActionDescriptorName,
70992
71016
  gZ as resolveBaseEntityName,
70993
71017
  FZ as resolveBuiltInBaseEntityDataTypeLabel,
70994
- ht as resolveClonedEntityProject,
71018
+ yt as resolveClonedEntityProject,
70995
71019
  ol as resolveConditionOperatorLabel,
70996
71020
  np as resolveDataType,
70997
71021
  Ev as resolveDataTypeEntityOrNestedChildrenFromLiteralValue,
70998
71022
  Cl as resolveDataTypeLabel,
70999
71023
  nW as resolveDefinitionEntityDataTypeLabel,
71000
71024
  iW as resolveEntityDataTypeLabel,
71001
- G as resolveEntityName,
71025
+ g as resolveEntityName,
71002
71026
  tS as resolveFirstCallsSecond,
71003
71027
  rS as resolveFirstWritesSecond,
71004
71028
  TS as resolvePrimaryKeyProperty,
@@ -71101,7 +71125,7 @@ export {
71101
71125
  N0 as validateFunctionDeclarationName,
71102
71126
  LW as validateGeneratedEntityParentIsNotBuiltInEntity,
71103
71127
  NW as validateGeneration,
71104
- dt as validateGenerationTarget,
71128
+ ut as validateGenerationTarget,
71105
71129
  UW as validateGenerationUpdate,
71106
71130
  JW as validateLoopEntityDeclaration,
71107
71131
  sW as validateName,