@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260829045216 → 0.8.1-dev.20260829103635

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/server.mjs CHANGED
@@ -487,7 +487,8 @@ var ViewControlTypes = {
487
487
  aiGeneratedSummary: "aiGeneratedSummary",
488
488
  booleanView: "booleanView",
489
489
  text: "text",
490
- commentRenderer: "commentRenderer"
490
+ commentRenderer: "commentRenderer",
491
+ avatar: "avatar"
491
492
  };
492
493
  var ViewControlTypes_default = ViewControlTypes;
493
494
 
@@ -747,8 +748,61 @@ var CommentRenderer = dynamic7(() => import("./CommentRendererClient-IAXFBEMF.mj
747
748
  });
748
749
  var Commentrenderer_default = CommentRenderer;
749
750
 
750
- // src/components/controls/view/ViewControl.tsx
751
+ // src/components/controls/view/AvatarView.tsx
751
752
  import { jsx as jsx21 } from "react/jsx-runtime";
753
+ var AVATAR_COLORS = [
754
+ "bg-error-strong",
755
+ "bg-accent-base",
756
+ "bg-warning-base",
757
+ "bg-success-base",
758
+ "bg-info-base",
759
+ "bg-primary-base",
760
+ "bg-secondary-base"
761
+ ];
762
+ var getAvatarColor = (text) => {
763
+ let hash = 0;
764
+ for (let i = 0; i < text.length; i += 1) {
765
+ hash = hash * 31 + text.charCodeAt(i) >>> 0;
766
+ }
767
+ return AVATAR_COLORS[hash % AVATAR_COLORS.length];
768
+ };
769
+ var getInitials = (text) => {
770
+ const words = text.trim().split(/\s+/).filter(Boolean);
771
+ if (words.length === 0) {
772
+ return "?";
773
+ }
774
+ if (words.length === 1) {
775
+ return words[0].slice(0, 2).toUpperCase();
776
+ }
777
+ return `${words[0][0]}${words[words.length - 1][0]}`.toUpperCase();
778
+ };
779
+ var AvatarView = (props) => {
780
+ const text = props.value === null || props.value === void 0 ? "" : String(props.value).trim();
781
+ if (!text) {
782
+ return null;
783
+ }
784
+ const size = props.width ?? "1.75rem";
785
+ return /* @__PURE__ */ jsx21(
786
+ "span",
787
+ {
788
+ className: `avatar-view inline-flex flex-shrink-0 items-center justify-center rounded-full font-semibold uppercase select-none overflow-hidden ${getAvatarColor(text)}`,
789
+ title: text,
790
+ "aria-label": text,
791
+ style: {
792
+ width: size,
793
+ height: size,
794
+ fontSize: "0.6875rem",
795
+ letterSpacing: "0.02em",
796
+ lineHeight: 1
797
+ },
798
+ children: getInitials(text)
799
+ }
800
+ );
801
+ };
802
+ var AvatarView_default = AvatarView;
803
+
804
+ // src/components/controls/view/ViewControl.tsx
805
+ import { jsx as jsx22 } from "react/jsx-runtime";
752
806
  var ViewControl = (props) => {
753
807
  const ControlComponents = {
754
808
  [ViewControlTypes_default.lineText]: LineTextView_default,
@@ -776,15 +830,16 @@ var ViewControl = (props) => {
776
830
  [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
777
831
  [ViewControlTypes_default.booleanView]: BooleanView_default,
778
832
  [ViewControlTypes_default.text]: LineTextView_default,
779
- [ViewControlTypes_default.commentRenderer]: Commentrenderer_default
833
+ [ViewControlTypes_default.commentRenderer]: Commentrenderer_default,
834
+ [ViewControlTypes_default.avatar]: AvatarView_default
780
835
  };
781
836
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
782
- return /* @__PURE__ */ jsx21(React15.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx21(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
837
+ return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx22(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
783
838
  };
784
839
  var ViewControl_default = ViewControl;
785
840
 
786
841
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
787
- import { jsx as jsx22 } from "react/jsx-runtime";
842
+ import { jsx as jsx23 } from "react/jsx-runtime";
788
843
  function getNestedProperty(obj, path) {
789
844
  if (!obj || !path) return null;
790
845
  if (path.includes(".")) {
@@ -797,7 +852,7 @@ function getNestedProperty(obj, path) {
797
852
  }
798
853
  const value = obj[path];
799
854
  if (Array.isArray(value)) {
800
- return value.map((item, index) => /* @__PURE__ */ jsx22("div", { children: String(item) }, index));
855
+ return value.map((item, index) => /* @__PURE__ */ jsx23("div", { children: String(item) }, index));
801
856
  }
802
857
  return value;
803
858
  }
@@ -860,7 +915,7 @@ var DatafieldNode = (props) => {
860
915
  const dataType = props.node.dataType;
861
916
  if (isEmptyValue) return null;
862
917
  if (dataType === "rawContent") {
863
- return /* @__PURE__ */ jsx22(
918
+ return /* @__PURE__ */ jsx23(
864
919
  PageBodyRenderer_default,
865
920
  {
866
921
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -876,13 +931,13 @@ var DatafieldNode = (props) => {
876
931
  }
877
932
  );
878
933
  }
879
- return /* @__PURE__ */ jsx22(
934
+ return /* @__PURE__ */ jsx23(
880
935
  "span",
881
936
  {
882
937
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
883
938
  style: styles,
884
939
  title,
885
- children: /* @__PURE__ */ jsx22(
940
+ children: /* @__PURE__ */ jsx23(
886
941
  ViewControl_default,
887
942
  {
888
943
  controlType: dataType,
@@ -897,7 +952,7 @@ var DatafieldNode = (props) => {
897
952
  var DatafieldNode_default = DatafieldNode;
898
953
 
899
954
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
900
- import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
955
+ import { Fragment as Fragment2, jsx as jsx24, jsxs as jsxs8 } from "react/jsx-runtime";
901
956
  var ParagraphNode = (props) => {
902
957
  const NodeTypes2 = {
903
958
  ["text"]: TextNode_default,
@@ -917,9 +972,9 @@ var ParagraphNode = (props) => {
917
972
  const isInlineOnlyParent = props.parentTag === "summary";
918
973
  const hasChildren = props.node.children && props.node.children.length > 0;
919
974
  if (isInlineOnlyParent) {
920
- return /* @__PURE__ */ jsx23(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
975
+ return /* @__PURE__ */ jsx24(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
921
976
  const SelectedNode = NodeTypes2[node.type];
922
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
977
+ return /* @__PURE__ */ jsx24(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
923
978
  SelectedNode,
924
979
  {
925
980
  node,
@@ -935,7 +990,7 @@ var ParagraphNode = (props) => {
935
990
  return /* @__PURE__ */ jsxs8("div", { className: " " + formatClasses, children: [
936
991
  hasChildren && props.node.children.map((node, index) => {
937
992
  const SelectedNode = NodeTypes2[node.type];
938
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
993
+ return /* @__PURE__ */ jsx24(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
939
994
  SelectedNode,
940
995
  {
941
996
  node,
@@ -947,14 +1002,14 @@ var ParagraphNode = (props) => {
947
1002
  }
948
1003
  ) }, index);
949
1004
  }),
950
- !hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
1005
+ !hasChildren && /* @__PURE__ */ jsx24("div", { className: "py-1.5 lg:py-2" })
951
1006
  ] });
952
1007
  };
953
1008
  var ParagraphNode_default = ParagraphNode;
954
1009
 
955
1010
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
956
1011
  import React17 from "react";
957
- import { Fragment as Fragment3, jsx as jsx24 } from "react/jsx-runtime";
1012
+ import { Fragment as Fragment3, jsx as jsx25 } from "react/jsx-runtime";
958
1013
  var HeadingNode = (props) => {
959
1014
  const NodeTypes2 = {
960
1015
  ["text"]: TextNode_default,
@@ -970,12 +1025,12 @@ var HeadingNode = (props) => {
970
1025
  {
971
1026
  }
972
1027
  const formatClasses = FormatClass[props.node.format] || "";
973
- return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
1028
+ return /* @__PURE__ */ jsx25(Fragment3, { children: React17.createElement(
974
1029
  HeadingTag,
975
1030
  { className: formatClasses },
976
1031
  props.node.children && props.node.children.map((childNode, index) => {
977
1032
  const SelectedNode = NodeTypes2[childNode.type];
978
- return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
1033
+ return /* @__PURE__ */ jsx25(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
979
1034
  })
980
1035
  ) });
981
1036
  };
@@ -986,7 +1041,7 @@ import React19 from "react";
986
1041
 
987
1042
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
988
1043
  import React18 from "react";
989
- import { jsx as jsx25 } from "react/jsx-runtime";
1044
+ import { jsx as jsx26 } from "react/jsx-runtime";
990
1045
  var ListItemNode = (props) => {
991
1046
  const NodeTypes2 = {
992
1047
  text: TextNode_default,
@@ -1003,37 +1058,37 @@ var ListItemNode = (props) => {
1003
1058
  liStyle.fontSize = match[1].trim();
1004
1059
  }
1005
1060
  }
1006
- return /* @__PURE__ */ jsx25("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1061
+ return /* @__PURE__ */ jsx26("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1007
1062
  const SelectedNode = NodeTypes2[node.type];
1008
1063
  if (node.type === "linebreak") {
1009
1064
  if (!foundFirstBreak) {
1010
1065
  foundFirstBreak = true;
1011
- return /* @__PURE__ */ jsx25("div", {}, index);
1066
+ return /* @__PURE__ */ jsx26("div", {}, index);
1012
1067
  } else {
1013
- return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
1068
+ return /* @__PURE__ */ jsx26("div", { className: "py-1 lg:py-2" }, index);
1014
1069
  }
1015
1070
  } else {
1016
1071
  foundFirstBreak = false;
1017
- return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1072
+ return /* @__PURE__ */ jsx26(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1018
1073
  }
1019
1074
  }) });
1020
1075
  };
1021
1076
  var ListItemNode_default = ListItemNode;
1022
1077
 
1023
1078
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1024
- import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1079
+ import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
1025
1080
  var ListNode = (props) => {
1026
1081
  const NodeTypes2 = {
1027
1082
  listitem: ListItemNode_default
1028
1083
  };
1029
1084
  return /* @__PURE__ */ jsxs9(React19.Fragment, { children: [
1030
- props.node.listType == "bullet" && /* @__PURE__ */ jsx26("ul", { children: props.node.children && props.node.children.map((node, index) => {
1085
+ props.node.listType == "bullet" && /* @__PURE__ */ jsx27("ul", { children: props.node.children && props.node.children.map((node, index) => {
1031
1086
  const SelectedNode = NodeTypes2[node.type];
1032
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1087
+ return /* @__PURE__ */ jsx27(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1033
1088
  }) }),
1034
- props.node.listType == "number" && /* @__PURE__ */ jsx26("ol", { children: props.node.children && props.node.children.map((node, index) => {
1089
+ props.node.listType == "number" && /* @__PURE__ */ jsx27("ol", { children: props.node.children && props.node.children.map((node, index) => {
1035
1090
  const SelectedNode = NodeTypes2[node.type];
1036
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1091
+ return /* @__PURE__ */ jsx27(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1037
1092
  }) })
1038
1093
  ] });
1039
1094
  };
@@ -1041,16 +1096,16 @@ var ListNode_default = ListNode;
1041
1096
 
1042
1097
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
1043
1098
  import React20 from "react";
1044
- import { jsx as jsx27 } from "react/jsx-runtime";
1099
+ import { jsx as jsx28 } from "react/jsx-runtime";
1045
1100
  var QuoteNode = (props) => {
1046
1101
  const NodeTypes2 = {
1047
1102
  ["text"]: TextNode_default,
1048
1103
  ["linebreak"]: LineBreakNode_default,
1049
1104
  ["link"]: LinkNode_default
1050
1105
  };
1051
- return /* @__PURE__ */ jsx27("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1106
+ return /* @__PURE__ */ jsx28("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1052
1107
  const SelectedNode = NodeTypes2[node.type];
1053
- return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1108
+ return /* @__PURE__ */ jsx28(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1054
1109
  }) });
1055
1110
  };
1056
1111
  var QuoteNode_default = QuoteNode;
@@ -1058,11 +1113,11 @@ var QuoteNode_default = QuoteNode;
1058
1113
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1059
1114
  import React21 from "react";
1060
1115
  import dynamic8 from "next/dynamic";
1061
- import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1116
+ import { jsx as jsx29, jsxs as jsxs10 } from "react/jsx-runtime";
1062
1117
  var CopyButton = dynamic8(() => import("./CopyButton-XONTQQW7.mjs"), {
1063
1118
  ssr: false,
1064
1119
  // optional: fallback UI while loading
1065
- loading: () => /* @__PURE__ */ jsx28("span", { className: "text-gray-400 text-xs", children: "Copy" })
1120
+ loading: () => /* @__PURE__ */ jsx29("span", { className: "text-gray-400 text-xs", children: "Copy" })
1066
1121
  });
1067
1122
  var CodeNode = (props) => {
1068
1123
  const NodeTypes2 = {
@@ -1078,12 +1133,12 @@ var CodeNode = (props) => {
1078
1133
  }).join("") ?? "";
1079
1134
  return /* @__PURE__ */ jsxs10("div", { children: [
1080
1135
  /* @__PURE__ */ jsxs10("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
1081
- /* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
1082
- /* @__PURE__ */ jsx28(CopyButton, { text: textContent })
1136
+ /* @__PURE__ */ jsx29("span", { children: "Code Snippet" }),
1137
+ /* @__PURE__ */ jsx29(CopyButton, { text: textContent })
1083
1138
  ] }),
1084
- /* @__PURE__ */ jsx28("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
1139
+ /* @__PURE__ */ jsx29("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
1085
1140
  const SelectedNode = NodeTypes2[node.type];
1086
- return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
1141
+ return /* @__PURE__ */ jsx29(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx29(
1087
1142
  SelectedNode,
1088
1143
  {
1089
1144
  node,
@@ -1098,15 +1153,15 @@ var CodeNode = (props) => {
1098
1153
  var CodeNode_default = CodeNode;
1099
1154
 
1100
1155
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1101
- import { jsx as jsx29 } from "react/jsx-runtime";
1156
+ import { jsx as jsx30 } from "react/jsx-runtime";
1102
1157
  var HorizontalRuleNode = () => {
1103
- return /* @__PURE__ */ jsx29("hr", {});
1158
+ return /* @__PURE__ */ jsx30("hr", {});
1104
1159
  };
1105
1160
  var HorizontalRuleNode_default = HorizontalRuleNode;
1106
1161
 
1107
1162
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1108
1163
  import React22 from "react";
1109
- import { Fragment as Fragment4, jsx as jsx30 } from "react/jsx-runtime";
1164
+ import { Fragment as Fragment4, jsx as jsx31 } from "react/jsx-runtime";
1110
1165
  var WidgetNode = (props) => {
1111
1166
  const getWidgetParameters = () => {
1112
1167
  const widgetInputParameters = {
@@ -1170,7 +1225,7 @@ var WidgetNode = (props) => {
1170
1225
  };
1171
1226
  const widgetCode = props.node?.widgetCode;
1172
1227
  if (!widgetCode) {
1173
- return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
1228
+ return /* @__PURE__ */ jsx31(Fragment4, { children: "Invalid widget" });
1174
1229
  }
1175
1230
  const widgetParams = getWidgetParameters();
1176
1231
  const WidgetRenderer = props.widgetRenderer;
@@ -1179,7 +1234,7 @@ var WidgetNode = (props) => {
1179
1234
  }
1180
1235
  return (
1181
1236
  // eslint-disable-next-line react-hooks/static-components
1182
- /* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
1237
+ /* @__PURE__ */ jsx31(React22.Fragment, { children: /* @__PURE__ */ jsx31(
1183
1238
  WidgetRenderer,
1184
1239
  {
1185
1240
  params: widgetParams,
@@ -1201,7 +1256,7 @@ import React23 from "react";
1201
1256
 
1202
1257
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1203
1258
  import dynamic9 from "next/dynamic";
1204
- import { jsx as jsx31 } from "react/jsx-runtime";
1259
+ import { jsx as jsx32 } from "react/jsx-runtime";
1205
1260
  var IframeClient = dynamic9(() => import("./IframeClient-XEWQLGUQ.mjs"), {
1206
1261
  ssr: false
1207
1262
  });
@@ -1214,7 +1269,7 @@ var EmbedNode = (props) => {
1214
1269
  } else {
1215
1270
  src = props.node.embedSrc;
1216
1271
  }
1217
- return /* @__PURE__ */ jsx31("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx31(IframeClient, { src }) });
1272
+ return /* @__PURE__ */ jsx32("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx32(IframeClient, { src }) });
1218
1273
  };
1219
1274
  var EmbedNode_default = EmbedNode;
1220
1275
 
@@ -1407,10 +1462,10 @@ var PathUtility = class {
1407
1462
  var PathUtility_default = new PathUtility();
1408
1463
 
1409
1464
  // src/components/NoDataFound.tsx
1410
- import { jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1465
+ import { jsx as jsx33, jsxs as jsxs11 } from "react/jsx-runtime";
1411
1466
  var NoDataFound = () => {
1412
1467
  return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1413
- /* @__PURE__ */ jsx32("div", { className: "mb-5", children: /* @__PURE__ */ jsx32("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx32(
1468
+ /* @__PURE__ */ jsx33("div", { className: "mb-5", children: /* @__PURE__ */ jsx33("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
1414
1469
  "svg",
1415
1470
  {
1416
1471
  className: "w-10 h-10",
@@ -1418,7 +1473,7 @@ var NoDataFound = () => {
1418
1473
  stroke: "currentColor",
1419
1474
  viewBox: "0 0 24 24",
1420
1475
  xmlns: "http://www.w3.org/2000/svg",
1421
- children: /* @__PURE__ */ jsx32(
1476
+ children: /* @__PURE__ */ jsx33(
1422
1477
  "path",
1423
1478
  {
1424
1479
  strokeLinecap: "round",
@@ -1429,15 +1484,15 @@ var NoDataFound = () => {
1429
1484
  )
1430
1485
  }
1431
1486
  ) }) }),
1432
- /* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1433
- /* @__PURE__ */ jsx32("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1487
+ /* @__PURE__ */ jsx33("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1488
+ /* @__PURE__ */ jsx33("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1434
1489
  ] });
1435
1490
  };
1436
1491
  var NoDataFound_default = NoDataFound;
1437
1492
 
1438
1493
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1439
1494
  import dynamic10 from "next/dynamic";
1440
- import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1495
+ import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs12 } from "react/jsx-runtime";
1441
1496
  var HlsPlayer3 = dynamic10(() => import("./HlsPlayer-BVS6BVF7.mjs"), { ssr: false });
1442
1497
  var deviceToMediaQuery = (device) => {
1443
1498
  switch (device) {
@@ -1594,7 +1649,7 @@ var ImageGalleryNode = (props) => {
1594
1649
  };
1595
1650
  const formatClasses = FormatClass[props.node.format || ""] || "";
1596
1651
  return /* @__PURE__ */ jsxs12(Fragment5, { children: [
1597
- hlsSources.length > 0 && /* @__PURE__ */ jsx33(Fragment5, { children: /* @__PURE__ */ jsx33(
1652
+ hlsSources.length > 0 && /* @__PURE__ */ jsx34(Fragment5, { children: /* @__PURE__ */ jsx34(
1598
1653
  HlsPlayer3,
1599
1654
  {
1600
1655
  sources: hlsSources,
@@ -1609,7 +1664,7 @@ var ImageGalleryNode = (props) => {
1609
1664
  styles: hlsStyles
1610
1665
  }
1611
1666
  ) }),
1612
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx33(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs12("picture", { children: [
1667
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx34(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs12("picture", { children: [
1613
1668
  DEVICE_ORDER.map((deviceKey) => {
1614
1669
  const match = staticSources.find(
1615
1670
  (img) => img.device === deviceKey
@@ -1625,7 +1680,7 @@ var ImageGalleryNode = (props) => {
1625
1680
  if (!srcUrl) {
1626
1681
  return null;
1627
1682
  }
1628
- return /* @__PURE__ */ jsx33(
1683
+ return /* @__PURE__ */ jsx34(
1629
1684
  "source",
1630
1685
  {
1631
1686
  media: deviceToMediaQuery(match.device),
@@ -1650,7 +1705,7 @@ var ImageGalleryNode = (props) => {
1650
1705
  if (img.borderRadius) {
1651
1706
  styles.borderRadius = img.borderRadius;
1652
1707
  }
1653
- return /* @__PURE__ */ jsx33(
1708
+ return /* @__PURE__ */ jsx34(
1654
1709
  "img",
1655
1710
  {
1656
1711
  loading: "lazy",
@@ -1665,7 +1720,7 @@ var ImageGalleryNode = (props) => {
1665
1720
  })()
1666
1721
  ] }) : (
1667
1722
  /* Case 2: Only device-specific images exist */
1668
- /* @__PURE__ */ jsx33(Fragment5, { children: staticSources.map((img, index) => {
1723
+ /* @__PURE__ */ jsx34(Fragment5, { children: staticSources.map((img, index) => {
1669
1724
  const resolved = resolveImage(img);
1670
1725
  const imageUrl = resolved?.imageUrl;
1671
1726
  if (!imageUrl) {
@@ -1692,7 +1747,7 @@ var ImageGalleryNode = (props) => {
1692
1747
  default:
1693
1748
  display = "block";
1694
1749
  }
1695
- return /* @__PURE__ */ jsx33(
1750
+ return /* @__PURE__ */ jsx34(
1696
1751
  "img",
1697
1752
  {
1698
1753
  loading: "lazy",
@@ -1832,7 +1887,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
1832
1887
  };
1833
1888
 
1834
1889
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
1835
- import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
1890
+ import { Fragment as Fragment6, jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
1836
1891
  var getNestedValue5 = (obj, path) => {
1837
1892
  if (!obj || !path) return void 0;
1838
1893
  return path.split(".").reduce((current, key) => {
@@ -1846,14 +1901,14 @@ var PdfIcon = () => /* @__PURE__ */ jsxs13(
1846
1901
  viewBox: "0 0 48 48",
1847
1902
  className: "w-10 h-10",
1848
1903
  children: [
1849
- /* @__PURE__ */ jsx34(
1904
+ /* @__PURE__ */ jsx35(
1850
1905
  "path",
1851
1906
  {
1852
1907
  fill: "#e53935",
1853
1908
  d: "M38,42H10c-2.209,0-4-1.791-4-4V10c0-2.209,1.791-4,4-4h28c2.209,0,4,1.791,4,4v28 C42,40.209,40.209,42,38,42z"
1854
1909
  }
1855
1910
  ),
1856
- /* @__PURE__ */ jsx34(
1911
+ /* @__PURE__ */ jsx35(
1857
1912
  "path",
1858
1913
  {
1859
1914
  fill: "#fff",
@@ -1870,48 +1925,48 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs13(
1870
1925
  viewBox: "0 0 48 48",
1871
1926
  className: "w-10 h-10",
1872
1927
  children: [
1873
- /* @__PURE__ */ jsx34(
1928
+ /* @__PURE__ */ jsx35(
1874
1929
  "path",
1875
1930
  {
1876
1931
  fill: "#169154",
1877
1932
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
1878
1933
  }
1879
1934
  ),
1880
- /* @__PURE__ */ jsx34(
1935
+ /* @__PURE__ */ jsx35(
1881
1936
  "path",
1882
1937
  {
1883
1938
  fill: "#18482a",
1884
1939
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
1885
1940
  }
1886
1941
  ),
1887
- /* @__PURE__ */ jsx34("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1888
- /* @__PURE__ */ jsx34("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1942
+ /* @__PURE__ */ jsx35("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1943
+ /* @__PURE__ */ jsx35("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1889
1944
  /* @__PURE__ */ jsxs13("g", { children: [
1890
- /* @__PURE__ */ jsx34(
1945
+ /* @__PURE__ */ jsx35(
1891
1946
  "path",
1892
1947
  {
1893
1948
  fill: "#29c27f",
1894
1949
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
1895
1950
  }
1896
1951
  ),
1897
- /* @__PURE__ */ jsx34(
1952
+ /* @__PURE__ */ jsx35(
1898
1953
  "path",
1899
1954
  {
1900
1955
  fill: "#27663f",
1901
1956
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
1902
1957
  }
1903
1958
  ),
1904
- /* @__PURE__ */ jsx34("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1905
- /* @__PURE__ */ jsx34("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1959
+ /* @__PURE__ */ jsx35("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1960
+ /* @__PURE__ */ jsx35("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1906
1961
  ] }),
1907
- /* @__PURE__ */ jsx34(
1962
+ /* @__PURE__ */ jsx35(
1908
1963
  "path",
1909
1964
  {
1910
1965
  fill: "#0c7238",
1911
1966
  d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
1912
1967
  }
1913
1968
  ),
1914
- /* @__PURE__ */ jsx34(
1969
+ /* @__PURE__ */ jsx35(
1915
1970
  "path",
1916
1971
  {
1917
1972
  fill: "#fff",
@@ -1929,7 +1984,7 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
1929
1984
  className: "w-10 h-10",
1930
1985
  baseProfile: "basic",
1931
1986
  children: [
1932
- /* @__PURE__ */ jsx34(
1987
+ /* @__PURE__ */ jsx35(
1933
1988
  "path",
1934
1989
  {
1935
1990
  fill: "#283593",
@@ -1947,19 +2002,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
1947
2002
  gradientTransform: "translate(0 -339.89)",
1948
2003
  gradientUnits: "userSpaceOnUse",
1949
2004
  children: [
1950
- /* @__PURE__ */ jsx34("stop", { offset: "0", "stop-color": "#66c0ff" }),
1951
- /* @__PURE__ */ jsx34("stop", { offset: ".26", "stop-color": "#0094f0" })
2005
+ /* @__PURE__ */ jsx35("stop", { offset: "0", "stop-color": "#66c0ff" }),
2006
+ /* @__PURE__ */ jsx35("stop", { offset: ".26", "stop-color": "#0094f0" })
1952
2007
  ]
1953
2008
  }
1954
2009
  ),
1955
- /* @__PURE__ */ jsx34(
2010
+ /* @__PURE__ */ jsx35(
1956
2011
  "path",
1957
2012
  {
1958
2013
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
1959
2014
  d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
1960
2015
  }
1961
2016
  ),
1962
- /* @__PURE__ */ jsx34(
2017
+ /* @__PURE__ */ jsx35(
1963
2018
  "path",
1964
2019
  {
1965
2020
  fill: "#1e88e5",
@@ -1967,21 +2022,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
1967
2022
  d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
1968
2023
  }
1969
2024
  ),
1970
- /* @__PURE__ */ jsx34(
2025
+ /* @__PURE__ */ jsx35(
1971
2026
  "path",
1972
2027
  {
1973
2028
  fill: "#00e5ff",
1974
2029
  d: "M9,10.333C9,6.836,11.835,4,15.332,4h21.975C39.346,4,41,5.654,41,7.694v5.611 C41,15.346,39.346,17,37.306,17H15.332C11.835,17,9,19.836,9,23.333C9,23.333,9,10.333,9,10.333z"
1975
2030
  }
1976
2031
  ),
1977
- /* @__PURE__ */ jsx34(
2032
+ /* @__PURE__ */ jsx35(
1978
2033
  "path",
1979
2034
  {
1980
2035
  fill: "#1565c0",
1981
2036
  d: "M7.5,23h10c1.933,0,3.5,1.567,3.5,3.5v10c0,1.933-1.567,3.5-3.5,3.5h-10C5.567,40,4,38.433,4,36.5 v-10C4,24.567,5.567,23,7.5,23z"
1982
2037
  }
1983
2038
  ),
1984
- /* @__PURE__ */ jsx34(
2039
+ /* @__PURE__ */ jsx35(
1985
2040
  "path",
1986
2041
  {
1987
2042
  fill: "#fff",
@@ -1998,8 +2053,8 @@ var StandardIcon = () => /* @__PURE__ */ jsxs13(
1998
2053
  viewBox: "0 0 48 48",
1999
2054
  className: "w-10 h-10",
2000
2055
  children: [
2001
- /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2002
- /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2056
+ /* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2057
+ /* @__PURE__ */ jsx35("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2003
2058
  ]
2004
2059
  }
2005
2060
  );
@@ -2010,23 +2065,23 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs13(
2010
2065
  viewBox: "0 0 48 48",
2011
2066
  className: "w-10 h-10",
2012
2067
  children: [
2013
- /* @__PURE__ */ jsx34(
2068
+ /* @__PURE__ */ jsx35(
2014
2069
  "path",
2015
2070
  {
2016
2071
  fill: "#dc4c2c",
2017
2072
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
2018
2073
  }
2019
2074
  ),
2020
- /* @__PURE__ */ jsx34("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2021
- /* @__PURE__ */ jsx34("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2022
- /* @__PURE__ */ jsx34(
2075
+ /* @__PURE__ */ jsx35("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2076
+ /* @__PURE__ */ jsx35("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2077
+ /* @__PURE__ */ jsx35(
2023
2078
  "path",
2024
2079
  {
2025
2080
  fill: "#9b341f",
2026
2081
  d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
2027
2082
  }
2028
2083
  ),
2029
- /* @__PURE__ */ jsx34(
2084
+ /* @__PURE__ */ jsx35(
2030
2085
  "path",
2031
2086
  {
2032
2087
  fill: "#fff",
@@ -2043,9 +2098,9 @@ var TextIcon = () => /* @__PURE__ */ jsxs13(
2043
2098
  viewBox: "0 0 48 48",
2044
2099
  className: "w-10 h-10",
2045
2100
  children: [
2046
- /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2047
- /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2048
- /* @__PURE__ */ jsx34(
2101
+ /* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2102
+ /* @__PURE__ */ jsx35("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2103
+ /* @__PURE__ */ jsx35(
2049
2104
  "path",
2050
2105
  {
2051
2106
  fill: "#1976D2",
@@ -2065,14 +2120,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2065
2120
  version: "1.0",
2066
2121
  className: "w-10 h-10",
2067
2122
  children: [
2068
- /* @__PURE__ */ jsx34("defs", { children: /* @__PURE__ */ jsx34("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx34(
2123
+ /* @__PURE__ */ jsx35("defs", { children: /* @__PURE__ */ jsx35("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx35(
2069
2124
  "path",
2070
2125
  {
2071
2126
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
2072
2127
  "clip-rule": "nonzero"
2073
2128
  }
2074
2129
  ) }) }),
2075
- /* @__PURE__ */ jsx34("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx34(
2130
+ /* @__PURE__ */ jsx35("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx35(
2076
2131
  "path",
2077
2132
  {
2078
2133
  fill: "#ff9100",
@@ -2081,7 +2136,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2081
2136
  "fill-rule": "nonzero"
2082
2137
  }
2083
2138
  ) }),
2084
- /* @__PURE__ */ jsx34(
2139
+ /* @__PURE__ */ jsx35(
2085
2140
  "path",
2086
2141
  {
2087
2142
  fill: "#fbe9e7",
@@ -2090,7 +2145,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2090
2145
  "fill-rule": "nonzero"
2091
2146
  }
2092
2147
  ),
2093
- /* @__PURE__ */ jsx34(
2148
+ /* @__PURE__ */ jsx35(
2094
2149
  "path",
2095
2150
  {
2096
2151
  fill: "#ffe0b2",
@@ -2099,7 +2154,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2099
2154
  "fill-rule": "nonzero"
2100
2155
  }
2101
2156
  ),
2102
- /* @__PURE__ */ jsx34(
2157
+ /* @__PURE__ */ jsx35(
2103
2158
  "path",
2104
2159
  {
2105
2160
  fill: "#ffe0b2",
@@ -2108,7 +2163,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2108
2163
  "fill-rule": "nonzero"
2109
2164
  }
2110
2165
  ),
2111
- /* @__PURE__ */ jsx34(
2166
+ /* @__PURE__ */ jsx35(
2112
2167
  "path",
2113
2168
  {
2114
2169
  fill: "#ffe0b2",
@@ -2183,8 +2238,8 @@ var DocumentNode = (props) => {
2183
2238
  }
2184
2239
  }
2185
2240
  if (documents.length === 0) {
2186
- return /* @__PURE__ */ jsx34(Fragment6, { children: /* @__PURE__ */ jsxs13("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2187
- /* @__PURE__ */ jsx34("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
2241
+ return /* @__PURE__ */ jsx35(Fragment6, { children: /* @__PURE__ */ jsxs13("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2242
+ /* @__PURE__ */ jsx35("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx35(
2188
2243
  "svg",
2189
2244
  {
2190
2245
  className: "w-5 h-5",
@@ -2192,7 +2247,7 @@ var DocumentNode = (props) => {
2192
2247
  stroke: "currentColor",
2193
2248
  viewBox: "0 0 24 24",
2194
2249
  xmlns: "http://www.w3.org/2000/svg",
2195
- children: /* @__PURE__ */ jsx34(
2250
+ children: /* @__PURE__ */ jsx35(
2196
2251
  "path",
2197
2252
  {
2198
2253
  strokeLinecap: "round",
@@ -2203,11 +2258,11 @@ var DocumentNode = (props) => {
2203
2258
  )
2204
2259
  }
2205
2260
  ) }),
2206
- /* @__PURE__ */ jsx34("div", { className: "text-sm font-medium", children: "No documents found" }),
2207
- /* @__PURE__ */ jsx34("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2261
+ /* @__PURE__ */ jsx35("div", { className: "text-sm font-medium", children: "No documents found" }),
2262
+ /* @__PURE__ */ jsx35("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2208
2263
  ] }) });
2209
2264
  }
2210
- return /* @__PURE__ */ jsx34("div", { className: "", children: documents.map((doc, index) => {
2265
+ return /* @__PURE__ */ jsx35("div", { className: "", children: documents.map((doc, index) => {
2211
2266
  const documentUrl = AssetUtility_default.resolveUrl(
2212
2267
  props.assetBaseUrl,
2213
2268
  doc.assetUrl
@@ -2231,8 +2286,8 @@ var DocumentNode = (props) => {
2231
2286
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2232
2287
  children: [
2233
2288
  /* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-4", children: [
2234
- /* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx34(Icon, {}) }),
2235
- /* @__PURE__ */ jsx34("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx34("h4", { className: "text-base font-semibold", children: documentTitle }) })
2289
+ /* @__PURE__ */ jsx35("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx35(Icon, {}) }),
2290
+ /* @__PURE__ */ jsx35("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx35("h4", { className: "text-base font-semibold", children: documentTitle }) })
2236
2291
  ] }),
2237
2292
  /* @__PURE__ */ jsxs13(
2238
2293
  "a",
@@ -2250,7 +2305,7 @@ var DocumentNode = (props) => {
2250
2305
  stroke: "currentColor",
2251
2306
  viewBox: "0 0 24 24",
2252
2307
  children: [
2253
- /* @__PURE__ */ jsx34(
2308
+ /* @__PURE__ */ jsx35(
2254
2309
  "path",
2255
2310
  {
2256
2311
  strokeLinecap: "round",
@@ -2259,7 +2314,7 @@ var DocumentNode = (props) => {
2259
2314
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2260
2315
  }
2261
2316
  ),
2262
- /* @__PURE__ */ jsx34(
2317
+ /* @__PURE__ */ jsx35(
2263
2318
  "path",
2264
2319
  {
2265
2320
  strokeLinecap: "round",
@@ -2285,13 +2340,13 @@ var DocumentNode_default = DocumentNode;
2285
2340
 
2286
2341
  // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
2287
2342
  import dynamic11 from "next/dynamic";
2288
- import { jsx as jsx35 } from "react/jsx-runtime";
2343
+ import { jsx as jsx36 } from "react/jsx-runtime";
2289
2344
  var IframeClient2 = dynamic11(() => import("./IframeClient-XEWQLGUQ.mjs"), {
2290
2345
  ssr: false
2291
2346
  });
2292
2347
  var GoogleMapNode = (props) => {
2293
2348
  let src = props.node.embedUrl;
2294
- return /* @__PURE__ */ jsx35("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx35(
2349
+ return /* @__PURE__ */ jsx36("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx36(
2295
2350
  IframeClient2,
2296
2351
  {
2297
2352
  src,
@@ -2303,7 +2358,7 @@ var GoogleMapNode = (props) => {
2303
2358
  var GoogleMapNode_default = GoogleMapNode;
2304
2359
 
2305
2360
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2306
- import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2361
+ import { jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
2307
2362
  var Pagination = dynamic12(() => import("./Pagination-QBPYDD66.mjs"), { ssr: true });
2308
2363
  var DataBindingControls = dynamic12(() => import("./DataBindingControls-Y4JXUDZV.mjs"), {
2309
2364
  ssr: true
@@ -2562,7 +2617,7 @@ var DivContainer = async (props) => {
2562
2617
  response = await serviceClient.get(endpoint);
2563
2618
  result = response?.result;
2564
2619
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
2565
- return /* @__PURE__ */ jsx36(NoDataFound_default, {});
2620
+ return /* @__PURE__ */ jsx37(NoDataFound_default, {});
2566
2621
  }
2567
2622
  if (dataBindingProperties.childCollectionName && props.dataitem) {
2568
2623
  childCollectionData = getNestedValue6(
@@ -2582,7 +2637,7 @@ var DivContainer = async (props) => {
2582
2637
  }
2583
2638
  const SelectedNode = NodeTypes2[node.type];
2584
2639
  if (!SelectedNode) return null;
2585
- return /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
2640
+ return /* @__PURE__ */ jsx37(React23.Fragment, { children: /* @__PURE__ */ jsx37(
2586
2641
  SelectedNode,
2587
2642
  {
2588
2643
  node,
@@ -2719,7 +2774,7 @@ var DivContainer = async (props) => {
2719
2774
  dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
2720
2775
  );
2721
2776
  const WrapperComponent = Wrapper;
2722
- const renderedContainer = /* @__PURE__ */ jsx36(
2777
+ const renderedContainer = /* @__PURE__ */ jsx37(
2723
2778
  WrapperComponent,
2724
2779
  {
2725
2780
  id: guid,
@@ -2733,11 +2788,11 @@ var DivContainer = async (props) => {
2733
2788
  item,
2734
2789
  idx,
2735
2790
  props.href ? void 0 : item?.links?.view
2736
- )?.map((child, i) => /* @__PURE__ */ jsx36(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2791
+ )?.map((child, i) => /* @__PURE__ */ jsx37(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2737
2792
  )
2738
2793
  }
2739
2794
  );
2740
- const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx36(
2795
+ const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx37(
2741
2796
  Pagination,
2742
2797
  {
2743
2798
  path: props.path,
@@ -2746,14 +2801,14 @@ var DivContainer = async (props) => {
2746
2801
  }
2747
2802
  ) : null;
2748
2803
  return /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2749
- /* @__PURE__ */ jsx36(
2804
+ /* @__PURE__ */ jsx37(
2750
2805
  "style",
2751
2806
  {
2752
2807
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2753
2808
  }
2754
2809
  ),
2755
2810
  showDataBindingControls ? /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2756
- /* @__PURE__ */ jsx36(
2811
+ /* @__PURE__ */ jsx37(
2757
2812
  DataBindingControls,
2758
2813
  {
2759
2814
  mode: "toolbar",
@@ -2775,8 +2830,8 @@ var DivContainer = async (props) => {
2775
2830
  paginationControl
2776
2831
  ] }),
2777
2832
  dataBindingProperties?.showFacets && /* @__PURE__ */ jsxs14("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
2778
- /* @__PURE__ */ jsx36("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
2779
- /* @__PURE__ */ jsx36(
2833
+ /* @__PURE__ */ jsx37("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
2834
+ /* @__PURE__ */ jsx37(
2780
2835
  DataBindingControls,
2781
2836
  {
2782
2837
  mode: "facets",
@@ -2792,14 +2847,14 @@ var DivContainer = async (props) => {
2792
2847
  )
2793
2848
  ] }) : /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2794
2849
  renderedContainer,
2795
- paginationControl && /* @__PURE__ */ jsx36("div", { children: paginationControl })
2850
+ paginationControl && /* @__PURE__ */ jsx37("div", { children: paginationControl })
2796
2851
  ] })
2797
2852
  ] });
2798
2853
  };
2799
2854
  var DivContainer_default = DivContainer;
2800
2855
 
2801
2856
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2802
- import { jsx as jsx37 } from "react/jsx-runtime";
2857
+ import { jsx as jsx38 } from "react/jsx-runtime";
2803
2858
  var NodeTypes = {
2804
2859
  ["paragraph"]: ParagraphNode_default,
2805
2860
  ["heading"]: HeadingNode_default,
@@ -2837,14 +2892,14 @@ var PageBodyRenderer = (props) => {
2837
2892
  }
2838
2893
  return true;
2839
2894
  };
2840
- return /* @__PURE__ */ jsx37(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2895
+ return /* @__PURE__ */ jsx38(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2841
2896
  {
2842
2897
  }
2843
2898
  const SelectedNode = NodeTypes[node.type];
2844
2899
  if (!shouldRenderNode(node)) {
2845
2900
  return null;
2846
2901
  }
2847
- return /* @__PURE__ */ jsx37(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx37(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
2902
+ return /* @__PURE__ */ jsx38(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx38(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
2848
2903
  SelectedNode,
2849
2904
  {
2850
2905
  node,
@@ -2860,7 +2915,7 @@ var PageBodyRenderer = (props) => {
2860
2915
  device: props.device,
2861
2916
  widgetRenderer: props.widgetRenderer
2862
2917
  }
2863
- ) }) : /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
2918
+ ) }) : /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
2864
2919
  SelectedNode,
2865
2920
  {
2866
2921
  node,