@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260807130918 → 0.8.1-dev.20260808070128

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
@@ -8,10 +8,10 @@ import {
8
8
  import "./chunk-56HSDML5.mjs";
9
9
 
10
10
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
11
- import React23 from "react";
11
+ import React24 from "react";
12
12
 
13
13
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
14
- import React15 from "react";
14
+ import React16 from "react";
15
15
 
16
16
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
17
17
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -472,7 +472,7 @@ var EquationNode = ({ node }) => {
472
472
  var EquationNode_default = EquationNode;
473
473
 
474
474
  // src/components/controls/view/ViewControl.tsx
475
- import React14 from "react";
475
+ import React15 from "react";
476
476
 
477
477
  // src/components/controls/view/ViewControlTypes.tsx
478
478
  var ViewControlTypes = {
@@ -730,8 +730,80 @@ var DateTimeView = dynamic5(() => import("./DateTimeViewClient-K5FE5VSN.mjs"), {
730
730
  });
731
731
  var DateTimeVew_default = DateTimeView;
732
732
 
733
- // src/components/controls/view/ViewControl.tsx
733
+ // src/components/controls/view/TimeUntilStarts.tsx
734
+ import { useState, useEffect } from "react";
734
735
  import { jsx as jsx20 } from "react/jsx-runtime";
736
+ var TimeUntilStarts = (props) => {
737
+ const calculateTimeDifference = (startDate) => {
738
+ const now = /* @__PURE__ */ new Date();
739
+ const nowUtc = new Date(now.getTime() + now.getTimezoneOffset() * 6e4);
740
+ const startDateUtc = new Date(startDate);
741
+ const diffMs = startDateUtc.getTime() - nowUtc.getTime();
742
+ const isPast = diffMs < 0;
743
+ const absoluteDiffMs = Math.abs(diffMs);
744
+ const diffDays = Math.floor(absoluteDiffMs / (1e3 * 60 * 60 * 24));
745
+ const diffHours = Math.floor(
746
+ absoluteDiffMs % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)
747
+ );
748
+ const diffMinutes = Math.floor(
749
+ absoluteDiffMs % (1e3 * 60 * 60) / (1e3 * 60)
750
+ );
751
+ if (absoluteDiffMs < 6e4) {
752
+ return "Just now";
753
+ }
754
+ let timeParts = [
755
+ { value: diffDays, unit: "days" },
756
+ { value: diffHours, unit: "hours" },
757
+ { value: diffMinutes, unit: "minutes" }
758
+ ];
759
+ timeParts = timeParts.filter((part) => part.value > 0);
760
+ if (isPast) {
761
+ if (diffDays > 0) {
762
+ return `${diffDays} day(s) ago`;
763
+ } else if (diffHours > 0) {
764
+ return `${diffHours} hour(s) ago`;
765
+ } else if (diffMinutes > 0) {
766
+ return `${diffMinutes} minute(s) ago`;
767
+ } else {
768
+ return "Just now";
769
+ }
770
+ } else {
771
+ if (timeParts.length > 2) {
772
+ timeParts = timeParts.slice(0, 2);
773
+ }
774
+ const displayString = timeParts.map((part) => `${part.value} ${part.unit}`).join(" ");
775
+ return displayString ? `Starting in ${displayString}` : "Started";
776
+ }
777
+ };
778
+ const isValidDate = (date) => {
779
+ return !isNaN(Date.parse(date));
780
+ };
781
+ const [timeUntilStart, setTimeUntilStart] = useState(() => {
782
+ if (props.value && isValidDate(props.value)) {
783
+ return calculateTimeDifference(props.value);
784
+ }
785
+ return "";
786
+ });
787
+ useEffect(() => {
788
+ if (props.value && isValidDate(props.value)) {
789
+ setTimeUntilStart(calculateTimeDifference(props.value));
790
+ const initialTimeout = setTimeout(() => {
791
+ const interval = setInterval(() => {
792
+ setTimeUntilStart(calculateTimeDifference(props.value));
793
+ }, 6e4);
794
+ return () => clearInterval(interval);
795
+ }, 5e3);
796
+ return () => clearTimeout(initialTimeout);
797
+ } else {
798
+ setTimeUntilStart("");
799
+ }
800
+ }, [props.value]);
801
+ return /* @__PURE__ */ jsx20("div", { children: timeUntilStart });
802
+ };
803
+ var TimeUntilStarts_default = TimeUntilStarts;
804
+
805
+ // src/components/controls/view/ViewControl.tsx
806
+ import { jsx as jsx21 } from "react/jsx-runtime";
735
807
  var ViewControl = (props) => {
736
808
  const ControlComponents = {
737
809
  [ViewControlTypes_default.lineText]: LineTextView_default,
@@ -740,7 +812,7 @@ var ViewControl = (props) => {
740
812
  [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
741
813
  [ViewControlTypes_default.boolean]: BooleanView_default,
742
814
  [ViewControlTypes_default.checkboxInput]: BooleanView_default,
743
- // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
815
+ [ViewControlTypes_default.timeUntilStarts]: TimeUntilStarts_default,
744
816
  [ViewControlTypes_default.money]: MoneyView_default,
745
817
  [ViewControlTypes_default.date]: DateView_default,
746
818
  [ViewControlTypes_default.time]: DateView_default,
@@ -760,12 +832,12 @@ var ViewControl = (props) => {
760
832
  [ViewControlTypes_default.text]: LineTextView_default
761
833
  };
762
834
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
763
- return /* @__PURE__ */ jsx20(React14.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx20(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
835
+ return /* @__PURE__ */ jsx21(React15.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx21(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
764
836
  };
765
837
  var ViewControl_default = ViewControl;
766
838
 
767
839
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
768
- import { jsx as jsx21 } from "react/jsx-runtime";
840
+ import { jsx as jsx22 } from "react/jsx-runtime";
769
841
  function getNestedProperty(obj, path) {
770
842
  if (!obj || !path) return null;
771
843
  if (path.includes(".")) {
@@ -778,7 +850,7 @@ function getNestedProperty(obj, path) {
778
850
  }
779
851
  const value = obj[path];
780
852
  if (Array.isArray(value)) {
781
- return value.map((item, index) => /* @__PURE__ */ jsx21("div", { children: String(item) }, index));
853
+ return value.map((item, index) => /* @__PURE__ */ jsx22("div", { children: String(item) }, index));
782
854
  }
783
855
  return value;
784
856
  }
@@ -839,7 +911,7 @@ var DatafieldNode = (props) => {
839
911
  const dataType = props.node.dataType;
840
912
  if (isEmptyValue) return null;
841
913
  if (dataType === "rawContent") {
842
- return /* @__PURE__ */ jsx21(
914
+ return /* @__PURE__ */ jsx22(
843
915
  PageBodyRenderer_default,
844
916
  {
845
917
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -855,12 +927,12 @@ var DatafieldNode = (props) => {
855
927
  }
856
928
  );
857
929
  }
858
- return /* @__PURE__ */ jsx21(
930
+ return /* @__PURE__ */ jsx22(
859
931
  "span",
860
932
  {
861
933
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
862
934
  style: styles,
863
- children: /* @__PURE__ */ jsx21(
935
+ children: /* @__PURE__ */ jsx22(
864
936
  ViewControl_default,
865
937
  {
866
938
  controlType: dataType,
@@ -873,7 +945,7 @@ var DatafieldNode = (props) => {
873
945
  var DatafieldNode_default = DatafieldNode;
874
946
 
875
947
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
876
- import { Fragment as Fragment2, jsx as jsx22, jsxs as jsxs7 } from "react/jsx-runtime";
948
+ import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs7 } from "react/jsx-runtime";
877
949
  var ParagraphNode = (props) => {
878
950
  const NodeTypes2 = {
879
951
  ["text"]: TextNode_default,
@@ -893,9 +965,9 @@ var ParagraphNode = (props) => {
893
965
  const isInlineOnlyParent = props.parentTag === "summary";
894
966
  const hasChildren = props.node.children && props.node.children.length > 0;
895
967
  if (isInlineOnlyParent) {
896
- return /* @__PURE__ */ jsx22(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
968
+ return /* @__PURE__ */ jsx23(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
897
969
  const SelectedNode = NodeTypes2[node.type];
898
- return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(
970
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
899
971
  SelectedNode,
900
972
  {
901
973
  node,
@@ -910,7 +982,7 @@ var ParagraphNode = (props) => {
910
982
  return /* @__PURE__ */ jsxs7("div", { className: " " + formatClasses, children: [
911
983
  hasChildren && props.node.children.map((node, index) => {
912
984
  const SelectedNode = NodeTypes2[node.type];
913
- return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(
985
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
914
986
  SelectedNode,
915
987
  {
916
988
  node,
@@ -921,14 +993,14 @@ var ParagraphNode = (props) => {
921
993
  }
922
994
  ) }, index);
923
995
  }),
924
- !hasChildren && /* @__PURE__ */ jsx22("div", { className: "py-1.5 lg:py-2" })
996
+ !hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
925
997
  ] });
926
998
  };
927
999
  var ParagraphNode_default = ParagraphNode;
928
1000
 
929
1001
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
930
- import React16 from "react";
931
- import { Fragment as Fragment3, jsx as jsx23 } from "react/jsx-runtime";
1002
+ import React17 from "react";
1003
+ import { Fragment as Fragment3, jsx as jsx24 } from "react/jsx-runtime";
932
1004
  var HeadingNode = (props) => {
933
1005
  const NodeTypes2 = {
934
1006
  ["text"]: TextNode_default,
@@ -944,23 +1016,23 @@ var HeadingNode = (props) => {
944
1016
  {
945
1017
  }
946
1018
  const formatClasses = FormatClass[props.node.format] || "";
947
- return /* @__PURE__ */ jsx23(Fragment3, { children: React16.createElement(
1019
+ return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
948
1020
  HeadingTag,
949
1021
  { className: formatClasses },
950
1022
  props.node.children && props.node.children.map((childNode, index) => {
951
1023
  const SelectedNode = NodeTypes2[childNode.type];
952
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1024
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
953
1025
  })
954
1026
  ) });
955
1027
  };
956
1028
  var HeadingNode_default = HeadingNode;
957
1029
 
958
1030
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
959
- import React18 from "react";
1031
+ import React19 from "react";
960
1032
 
961
1033
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
962
- import React17 from "react";
963
- import { jsx as jsx24 } from "react/jsx-runtime";
1034
+ import React18 from "react";
1035
+ import { jsx as jsx25 } from "react/jsx-runtime";
964
1036
  var ListItemNode = (props) => {
965
1037
  const NodeTypes2 = {
966
1038
  text: TextNode_default,
@@ -977,66 +1049,66 @@ var ListItemNode = (props) => {
977
1049
  liStyle.fontSize = match[1].trim();
978
1050
  }
979
1051
  }
980
- return /* @__PURE__ */ jsx24("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1052
+ return /* @__PURE__ */ jsx25("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
981
1053
  const SelectedNode = NodeTypes2[node.type];
982
1054
  if (node.type === "linebreak") {
983
1055
  if (!foundFirstBreak) {
984
1056
  foundFirstBreak = true;
985
- return /* @__PURE__ */ jsx24("div", {}, index);
1057
+ return /* @__PURE__ */ jsx25("div", {}, index);
986
1058
  } else {
987
- return /* @__PURE__ */ jsx24("div", { className: "py-1 lg:py-2" }, index);
1059
+ return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
988
1060
  }
989
1061
  } else {
990
1062
  foundFirstBreak = false;
991
- return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1063
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
992
1064
  }
993
1065
  }) });
994
1066
  };
995
1067
  var ListItemNode_default = ListItemNode;
996
1068
 
997
1069
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
998
- import { jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
1070
+ import { jsx as jsx26, jsxs as jsxs8 } from "react/jsx-runtime";
999
1071
  var ListNode = (props) => {
1000
1072
  const NodeTypes2 = {
1001
1073
  listitem: ListItemNode_default
1002
1074
  };
1003
- return /* @__PURE__ */ jsxs8(React18.Fragment, { children: [
1004
- props.node.listType == "bullet" && /* @__PURE__ */ jsx25("ul", { children: props.node.children && props.node.children.map((node, index) => {
1075
+ return /* @__PURE__ */ jsxs8(React19.Fragment, { children: [
1076
+ props.node.listType == "bullet" && /* @__PURE__ */ jsx26("ul", { children: props.node.children && props.node.children.map((node, index) => {
1005
1077
  const SelectedNode = NodeTypes2[node.type];
1006
- return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1078
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1007
1079
  }) }),
1008
- props.node.listType == "number" && /* @__PURE__ */ jsx25("ol", { children: props.node.children && props.node.children.map((node, index) => {
1080
+ props.node.listType == "number" && /* @__PURE__ */ jsx26("ol", { children: props.node.children && props.node.children.map((node, index) => {
1009
1081
  const SelectedNode = NodeTypes2[node.type];
1010
- return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1082
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1011
1083
  }) })
1012
1084
  ] });
1013
1085
  };
1014
1086
  var ListNode_default = ListNode;
1015
1087
 
1016
1088
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
1017
- import React19 from "react";
1018
- import { jsx as jsx26 } from "react/jsx-runtime";
1089
+ import React20 from "react";
1090
+ import { jsx as jsx27 } from "react/jsx-runtime";
1019
1091
  var QuoteNode = (props) => {
1020
1092
  const NodeTypes2 = {
1021
1093
  ["text"]: TextNode_default,
1022
1094
  ["linebreak"]: LineBreakNode_default,
1023
1095
  ["link"]: LinkNode_default
1024
1096
  };
1025
- return /* @__PURE__ */ jsx26("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1097
+ return /* @__PURE__ */ jsx27("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1026
1098
  const SelectedNode = NodeTypes2[node.type];
1027
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1099
+ return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1028
1100
  }) });
1029
1101
  };
1030
1102
  var QuoteNode_default = QuoteNode;
1031
1103
 
1032
1104
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1033
- import React20 from "react";
1105
+ import React21 from "react";
1034
1106
  import dynamic6 from "next/dynamic";
1035
- import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
1107
+ import { jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
1036
1108
  var CopyButton = dynamic6(() => import("./CopyButton-XONTQQW7.mjs"), {
1037
1109
  ssr: false,
1038
1110
  // optional: fallback UI while loading
1039
- loading: () => /* @__PURE__ */ jsx27("span", { className: "text-gray-400 text-xs", children: "Copy" })
1111
+ loading: () => /* @__PURE__ */ jsx28("span", { className: "text-gray-400 text-xs", children: "Copy" })
1040
1112
  });
1041
1113
  var CodeNode = (props) => {
1042
1114
  const NodeTypes2 = {
@@ -1052,12 +1124,12 @@ var CodeNode = (props) => {
1052
1124
  }).join("") ?? "";
1053
1125
  return /* @__PURE__ */ jsxs9("div", { children: [
1054
1126
  /* @__PURE__ */ jsxs9("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
1055
- /* @__PURE__ */ jsx27("span", { children: "Code Snippet" }),
1056
- /* @__PURE__ */ jsx27(CopyButton, { text: textContent })
1127
+ /* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
1128
+ /* @__PURE__ */ jsx28(CopyButton, { text: textContent })
1057
1129
  ] }),
1058
- /* @__PURE__ */ jsx27("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) => {
1130
+ /* @__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) => {
1059
1131
  const SelectedNode = NodeTypes2[node.type];
1060
- return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(
1132
+ return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
1061
1133
  SelectedNode,
1062
1134
  {
1063
1135
  node,
@@ -1072,15 +1144,15 @@ var CodeNode = (props) => {
1072
1144
  var CodeNode_default = CodeNode;
1073
1145
 
1074
1146
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1075
- import { jsx as jsx28 } from "react/jsx-runtime";
1147
+ import { jsx as jsx29 } from "react/jsx-runtime";
1076
1148
  var HorizontalRuleNode = () => {
1077
- return /* @__PURE__ */ jsx28("hr", {});
1149
+ return /* @__PURE__ */ jsx29("hr", {});
1078
1150
  };
1079
1151
  var HorizontalRuleNode_default = HorizontalRuleNode;
1080
1152
 
1081
1153
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1082
- import React21 from "react";
1083
- import { Fragment as Fragment4, jsx as jsx29 } from "react/jsx-runtime";
1154
+ import React22 from "react";
1155
+ import { Fragment as Fragment4, jsx as jsx30 } from "react/jsx-runtime";
1084
1156
  var WidgetNode = (props) => {
1085
1157
  const getWidgetParameters = () => {
1086
1158
  const widgetInputParameters = {
@@ -1144,7 +1216,7 @@ var WidgetNode = (props) => {
1144
1216
  };
1145
1217
  const widgetCode = props.node?.widgetCode;
1146
1218
  if (!widgetCode) {
1147
- return /* @__PURE__ */ jsx29(Fragment4, { children: "Invalid widget" });
1219
+ return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
1148
1220
  }
1149
1221
  const widgetParams = getWidgetParameters();
1150
1222
  const WidgetRenderer = props.widgetRenderer;
@@ -1153,7 +1225,7 @@ var WidgetNode = (props) => {
1153
1225
  }
1154
1226
  return (
1155
1227
  // eslint-disable-next-line react-hooks/static-components
1156
- /* @__PURE__ */ jsx29(React21.Fragment, { children: /* @__PURE__ */ jsx29(
1228
+ /* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
1157
1229
  WidgetRenderer,
1158
1230
  {
1159
1231
  params: widgetParams,
@@ -1171,11 +1243,11 @@ var WidgetNode_default = WidgetNode;
1171
1243
 
1172
1244
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1173
1245
  import dynamic9 from "next/dynamic";
1174
- import React22 from "react";
1246
+ import React23 from "react";
1175
1247
 
1176
1248
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1177
1249
  import dynamic7 from "next/dynamic";
1178
- import { jsx as jsx30 } from "react/jsx-runtime";
1250
+ import { jsx as jsx31 } from "react/jsx-runtime";
1179
1251
  var IframeClient = dynamic7(() => import("./IframeClient-J22NMEVY.mjs"), {
1180
1252
  ssr: false
1181
1253
  });
@@ -1188,7 +1260,7 @@ var EmbedNode = (props) => {
1188
1260
  } else {
1189
1261
  src = props.node.embedSrc;
1190
1262
  }
1191
- return /* @__PURE__ */ jsx30("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx30(IframeClient, { src }) });
1263
+ return /* @__PURE__ */ jsx31("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx31(IframeClient, { src }) });
1192
1264
  };
1193
1265
  var EmbedNode_default = EmbedNode;
1194
1266
 
@@ -1381,10 +1453,10 @@ var PathUtility = class {
1381
1453
  var PathUtility_default = new PathUtility();
1382
1454
 
1383
1455
  // src/components/NoDataFound.tsx
1384
- import { jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
1456
+ import { jsx as jsx32, jsxs as jsxs10 } from "react/jsx-runtime";
1385
1457
  var NoDataFound = () => {
1386
1458
  return /* @__PURE__ */ jsxs10("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1387
- /* @__PURE__ */ jsx31("div", { className: "mb-5", children: /* @__PURE__ */ jsx31("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx31(
1459
+ /* @__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(
1388
1460
  "svg",
1389
1461
  {
1390
1462
  className: "w-10 h-10",
@@ -1392,7 +1464,7 @@ var NoDataFound = () => {
1392
1464
  stroke: "currentColor",
1393
1465
  viewBox: "0 0 24 24",
1394
1466
  xmlns: "http://www.w3.org/2000/svg",
1395
- children: /* @__PURE__ */ jsx31(
1467
+ children: /* @__PURE__ */ jsx32(
1396
1468
  "path",
1397
1469
  {
1398
1470
  strokeLinecap: "round",
@@ -1403,15 +1475,15 @@ var NoDataFound = () => {
1403
1475
  )
1404
1476
  }
1405
1477
  ) }) }),
1406
- /* @__PURE__ */ jsx31("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1407
- /* @__PURE__ */ jsx31("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1478
+ /* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1479
+ /* @__PURE__ */ jsx32("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1408
1480
  ] });
1409
1481
  };
1410
1482
  var NoDataFound_default = NoDataFound;
1411
1483
 
1412
1484
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1413
1485
  import dynamic8 from "next/dynamic";
1414
- import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1486
+ import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs11 } from "react/jsx-runtime";
1415
1487
  var HlsPlayer3 = dynamic8(() => import("./HlsPlayer-BVS6BVF7.mjs"), { ssr: false });
1416
1488
  var deviceToMediaQuery = (device) => {
1417
1489
  switch (device) {
@@ -1568,7 +1640,7 @@ var ImageGalleryNode = (props) => {
1568
1640
  };
1569
1641
  const formatClasses = FormatClass[props.node.format || ""] || "";
1570
1642
  return /* @__PURE__ */ jsxs11(Fragment5, { children: [
1571
- hlsSources.length > 0 && /* @__PURE__ */ jsx32(Fragment5, { children: /* @__PURE__ */ jsx32(
1643
+ hlsSources.length > 0 && /* @__PURE__ */ jsx33(Fragment5, { children: /* @__PURE__ */ jsx33(
1572
1644
  HlsPlayer3,
1573
1645
  {
1574
1646
  sources: hlsSources,
@@ -1583,7 +1655,7 @@ var ImageGalleryNode = (props) => {
1583
1655
  styles: hlsStyles
1584
1656
  }
1585
1657
  ) }),
1586
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx32(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs11("picture", { children: [
1658
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx33(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs11("picture", { children: [
1587
1659
  DEVICE_ORDER.map((deviceKey) => {
1588
1660
  const match = staticSources.find(
1589
1661
  (img) => img.device === deviceKey
@@ -1599,7 +1671,7 @@ var ImageGalleryNode = (props) => {
1599
1671
  if (!srcUrl) {
1600
1672
  return null;
1601
1673
  }
1602
- return /* @__PURE__ */ jsx32(
1674
+ return /* @__PURE__ */ jsx33(
1603
1675
  "source",
1604
1676
  {
1605
1677
  media: deviceToMediaQuery(match.device),
@@ -1624,7 +1696,7 @@ var ImageGalleryNode = (props) => {
1624
1696
  if (img.borderRadius) {
1625
1697
  styles.borderRadius = img.borderRadius;
1626
1698
  }
1627
- return /* @__PURE__ */ jsx32(
1699
+ return /* @__PURE__ */ jsx33(
1628
1700
  "img",
1629
1701
  {
1630
1702
  loading: "lazy",
@@ -1639,7 +1711,7 @@ var ImageGalleryNode = (props) => {
1639
1711
  })()
1640
1712
  ] }) : (
1641
1713
  /* Case 2: Only device-specific images exist */
1642
- /* @__PURE__ */ jsx32(Fragment5, { children: staticSources.map((img, index) => {
1714
+ /* @__PURE__ */ jsx33(Fragment5, { children: staticSources.map((img, index) => {
1643
1715
  const resolved = resolveImage(img);
1644
1716
  const imageUrl = resolved?.imageUrl;
1645
1717
  if (!imageUrl) {
@@ -1666,7 +1738,7 @@ var ImageGalleryNode = (props) => {
1666
1738
  default:
1667
1739
  display = "block";
1668
1740
  }
1669
- return /* @__PURE__ */ jsx32(
1741
+ return /* @__PURE__ */ jsx33(
1670
1742
  "img",
1671
1743
  {
1672
1744
  loading: "lazy",
@@ -1806,7 +1878,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
1806
1878
  };
1807
1879
 
1808
1880
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
1809
- import { Fragment as Fragment6, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1881
+ import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs12 } from "react/jsx-runtime";
1810
1882
  var getNestedValue5 = (obj, path) => {
1811
1883
  if (!obj || !path) return void 0;
1812
1884
  return path.split(".").reduce((current, key) => {
@@ -1820,14 +1892,14 @@ var PdfIcon = () => /* @__PURE__ */ jsxs12(
1820
1892
  viewBox: "0 0 48 48",
1821
1893
  className: "w-10 h-10",
1822
1894
  children: [
1823
- /* @__PURE__ */ jsx33(
1895
+ /* @__PURE__ */ jsx34(
1824
1896
  "path",
1825
1897
  {
1826
1898
  fill: "#e53935",
1827
1899
  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"
1828
1900
  }
1829
1901
  ),
1830
- /* @__PURE__ */ jsx33(
1902
+ /* @__PURE__ */ jsx34(
1831
1903
  "path",
1832
1904
  {
1833
1905
  fill: "#fff",
@@ -1844,48 +1916,48 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs12(
1844
1916
  viewBox: "0 0 48 48",
1845
1917
  className: "w-10 h-10",
1846
1918
  children: [
1847
- /* @__PURE__ */ jsx33(
1919
+ /* @__PURE__ */ jsx34(
1848
1920
  "path",
1849
1921
  {
1850
1922
  fill: "#169154",
1851
1923
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
1852
1924
  }
1853
1925
  ),
1854
- /* @__PURE__ */ jsx33(
1926
+ /* @__PURE__ */ jsx34(
1855
1927
  "path",
1856
1928
  {
1857
1929
  fill: "#18482a",
1858
1930
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
1859
1931
  }
1860
1932
  ),
1861
- /* @__PURE__ */ jsx33("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1862
- /* @__PURE__ */ jsx33("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1933
+ /* @__PURE__ */ jsx34("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1934
+ /* @__PURE__ */ jsx34("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1863
1935
  /* @__PURE__ */ jsxs12("g", { children: [
1864
- /* @__PURE__ */ jsx33(
1936
+ /* @__PURE__ */ jsx34(
1865
1937
  "path",
1866
1938
  {
1867
1939
  fill: "#29c27f",
1868
1940
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
1869
1941
  }
1870
1942
  ),
1871
- /* @__PURE__ */ jsx33(
1943
+ /* @__PURE__ */ jsx34(
1872
1944
  "path",
1873
1945
  {
1874
1946
  fill: "#27663f",
1875
1947
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
1876
1948
  }
1877
1949
  ),
1878
- /* @__PURE__ */ jsx33("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1879
- /* @__PURE__ */ jsx33("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1950
+ /* @__PURE__ */ jsx34("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1951
+ /* @__PURE__ */ jsx34("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1880
1952
  ] }),
1881
- /* @__PURE__ */ jsx33(
1953
+ /* @__PURE__ */ jsx34(
1882
1954
  "path",
1883
1955
  {
1884
1956
  fill: "#0c7238",
1885
1957
  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"
1886
1958
  }
1887
1959
  ),
1888
- /* @__PURE__ */ jsx33(
1960
+ /* @__PURE__ */ jsx34(
1889
1961
  "path",
1890
1962
  {
1891
1963
  fill: "#fff",
@@ -1903,7 +1975,7 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1903
1975
  className: "w-10 h-10",
1904
1976
  baseProfile: "basic",
1905
1977
  children: [
1906
- /* @__PURE__ */ jsx33(
1978
+ /* @__PURE__ */ jsx34(
1907
1979
  "path",
1908
1980
  {
1909
1981
  fill: "#283593",
@@ -1921,19 +1993,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1921
1993
  gradientTransform: "translate(0 -339.89)",
1922
1994
  gradientUnits: "userSpaceOnUse",
1923
1995
  children: [
1924
- /* @__PURE__ */ jsx33("stop", { offset: "0", "stop-color": "#66c0ff" }),
1925
- /* @__PURE__ */ jsx33("stop", { offset: ".26", "stop-color": "#0094f0" })
1996
+ /* @__PURE__ */ jsx34("stop", { offset: "0", "stop-color": "#66c0ff" }),
1997
+ /* @__PURE__ */ jsx34("stop", { offset: ".26", "stop-color": "#0094f0" })
1926
1998
  ]
1927
1999
  }
1928
2000
  ),
1929
- /* @__PURE__ */ jsx33(
2001
+ /* @__PURE__ */ jsx34(
1930
2002
  "path",
1931
2003
  {
1932
2004
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
1933
2005
  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"
1934
2006
  }
1935
2007
  ),
1936
- /* @__PURE__ */ jsx33(
2008
+ /* @__PURE__ */ jsx34(
1937
2009
  "path",
1938
2010
  {
1939
2011
  fill: "#1e88e5",
@@ -1941,21 +2013,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1941
2013
  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"
1942
2014
  }
1943
2015
  ),
1944
- /* @__PURE__ */ jsx33(
2016
+ /* @__PURE__ */ jsx34(
1945
2017
  "path",
1946
2018
  {
1947
2019
  fill: "#00e5ff",
1948
2020
  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"
1949
2021
  }
1950
2022
  ),
1951
- /* @__PURE__ */ jsx33(
2023
+ /* @__PURE__ */ jsx34(
1952
2024
  "path",
1953
2025
  {
1954
2026
  fill: "#1565c0",
1955
2027
  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"
1956
2028
  }
1957
2029
  ),
1958
- /* @__PURE__ */ jsx33(
2030
+ /* @__PURE__ */ jsx34(
1959
2031
  "path",
1960
2032
  {
1961
2033
  fill: "#fff",
@@ -1972,8 +2044,8 @@ var StandardIcon = () => /* @__PURE__ */ jsxs12(
1972
2044
  viewBox: "0 0 48 48",
1973
2045
  className: "w-10 h-10",
1974
2046
  children: [
1975
- /* @__PURE__ */ jsx33("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
1976
- /* @__PURE__ */ jsx33("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2047
+ /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2048
+ /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
1977
2049
  ]
1978
2050
  }
1979
2051
  );
@@ -1984,23 +2056,23 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs12(
1984
2056
  viewBox: "0 0 48 48",
1985
2057
  className: "w-10 h-10",
1986
2058
  children: [
1987
- /* @__PURE__ */ jsx33(
2059
+ /* @__PURE__ */ jsx34(
1988
2060
  "path",
1989
2061
  {
1990
2062
  fill: "#dc4c2c",
1991
2063
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
1992
2064
  }
1993
2065
  ),
1994
- /* @__PURE__ */ jsx33("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
1995
- /* @__PURE__ */ jsx33("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
1996
- /* @__PURE__ */ jsx33(
2066
+ /* @__PURE__ */ jsx34("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2067
+ /* @__PURE__ */ jsx34("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2068
+ /* @__PURE__ */ jsx34(
1997
2069
  "path",
1998
2070
  {
1999
2071
  fill: "#9b341f",
2000
2072
  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"
2001
2073
  }
2002
2074
  ),
2003
- /* @__PURE__ */ jsx33(
2075
+ /* @__PURE__ */ jsx34(
2004
2076
  "path",
2005
2077
  {
2006
2078
  fill: "#fff",
@@ -2017,9 +2089,9 @@ var TextIcon = () => /* @__PURE__ */ jsxs12(
2017
2089
  viewBox: "0 0 48 48",
2018
2090
  className: "w-10 h-10",
2019
2091
  children: [
2020
- /* @__PURE__ */ jsx33("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2021
- /* @__PURE__ */ jsx33("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2022
- /* @__PURE__ */ jsx33(
2092
+ /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2093
+ /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2094
+ /* @__PURE__ */ jsx34(
2023
2095
  "path",
2024
2096
  {
2025
2097
  fill: "#1976D2",
@@ -2039,14 +2111,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2039
2111
  version: "1.0",
2040
2112
  className: "w-10 h-10",
2041
2113
  children: [
2042
- /* @__PURE__ */ jsx33("defs", { children: /* @__PURE__ */ jsx33("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx33(
2114
+ /* @__PURE__ */ jsx34("defs", { children: /* @__PURE__ */ jsx34("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx34(
2043
2115
  "path",
2044
2116
  {
2045
2117
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
2046
2118
  "clip-rule": "nonzero"
2047
2119
  }
2048
2120
  ) }) }),
2049
- /* @__PURE__ */ jsx33("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx33(
2121
+ /* @__PURE__ */ jsx34("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx34(
2050
2122
  "path",
2051
2123
  {
2052
2124
  fill: "#ff9100",
@@ -2055,7 +2127,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2055
2127
  "fill-rule": "nonzero"
2056
2128
  }
2057
2129
  ) }),
2058
- /* @__PURE__ */ jsx33(
2130
+ /* @__PURE__ */ jsx34(
2059
2131
  "path",
2060
2132
  {
2061
2133
  fill: "#fbe9e7",
@@ -2064,7 +2136,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2064
2136
  "fill-rule": "nonzero"
2065
2137
  }
2066
2138
  ),
2067
- /* @__PURE__ */ jsx33(
2139
+ /* @__PURE__ */ jsx34(
2068
2140
  "path",
2069
2141
  {
2070
2142
  fill: "#ffe0b2",
@@ -2073,7 +2145,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2073
2145
  "fill-rule": "nonzero"
2074
2146
  }
2075
2147
  ),
2076
- /* @__PURE__ */ jsx33(
2148
+ /* @__PURE__ */ jsx34(
2077
2149
  "path",
2078
2150
  {
2079
2151
  fill: "#ffe0b2",
@@ -2082,7 +2154,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2082
2154
  "fill-rule": "nonzero"
2083
2155
  }
2084
2156
  ),
2085
- /* @__PURE__ */ jsx33(
2157
+ /* @__PURE__ */ jsx34(
2086
2158
  "path",
2087
2159
  {
2088
2160
  fill: "#ffe0b2",
@@ -2158,8 +2230,8 @@ var DocumentNode = (props) => {
2158
2230
  }
2159
2231
  }
2160
2232
  if (documents.length === 0) {
2161
- return /* @__PURE__ */ jsx33(Fragment6, { children: /* @__PURE__ */ jsxs12("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2162
- /* @__PURE__ */ jsx33("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
2233
+ return /* @__PURE__ */ jsx34(Fragment6, { children: /* @__PURE__ */ jsxs12("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2234
+ /* @__PURE__ */ jsx34("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
2163
2235
  "svg",
2164
2236
  {
2165
2237
  className: "w-5 h-5",
@@ -2167,7 +2239,7 @@ var DocumentNode = (props) => {
2167
2239
  stroke: "currentColor",
2168
2240
  viewBox: "0 0 24 24",
2169
2241
  xmlns: "http://www.w3.org/2000/svg",
2170
- children: /* @__PURE__ */ jsx33(
2242
+ children: /* @__PURE__ */ jsx34(
2171
2243
  "path",
2172
2244
  {
2173
2245
  strokeLinecap: "round",
@@ -2178,11 +2250,11 @@ var DocumentNode = (props) => {
2178
2250
  )
2179
2251
  }
2180
2252
  ) }),
2181
- /* @__PURE__ */ jsx33("div", { className: "text-sm font-medium", children: "No documents found" }),
2182
- /* @__PURE__ */ jsx33("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2253
+ /* @__PURE__ */ jsx34("div", { className: "text-sm font-medium", children: "No documents found" }),
2254
+ /* @__PURE__ */ jsx34("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2183
2255
  ] }) });
2184
2256
  }
2185
- return /* @__PURE__ */ jsx33("div", { className: "", children: documents.map((doc, index) => {
2257
+ return /* @__PURE__ */ jsx34("div", { className: "", children: documents.map((doc, index) => {
2186
2258
  const documentUrl = AssetUtility_default.resolveUrl(
2187
2259
  props.assetBaseUrl,
2188
2260
  doc.assetUrl
@@ -2206,8 +2278,8 @@ var DocumentNode = (props) => {
2206
2278
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2207
2279
  children: [
2208
2280
  /* @__PURE__ */ jsxs12("div", { className: "flex items-center space-x-4", children: [
2209
- /* @__PURE__ */ jsx33("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx33(Icon, {}) }),
2210
- /* @__PURE__ */ jsx33("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx33("h4", { className: "text-base font-semibold", children: documentTitle }) })
2281
+ /* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx34(Icon, {}) }),
2282
+ /* @__PURE__ */ jsx34("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx34("h4", { className: "text-base font-semibold", children: documentTitle }) })
2211
2283
  ] }),
2212
2284
  /* @__PURE__ */ jsxs12(
2213
2285
  "a",
@@ -2225,7 +2297,7 @@ var DocumentNode = (props) => {
2225
2297
  stroke: "currentColor",
2226
2298
  viewBox: "0 0 24 24",
2227
2299
  children: [
2228
- /* @__PURE__ */ jsx33(
2300
+ /* @__PURE__ */ jsx34(
2229
2301
  "path",
2230
2302
  {
2231
2303
  strokeLinecap: "round",
@@ -2234,7 +2306,7 @@ var DocumentNode = (props) => {
2234
2306
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2235
2307
  }
2236
2308
  ),
2237
- /* @__PURE__ */ jsx33(
2309
+ /* @__PURE__ */ jsx34(
2238
2310
  "path",
2239
2311
  {
2240
2312
  strokeLinecap: "round",
@@ -2259,7 +2331,7 @@ var DocumentNode = (props) => {
2259
2331
  var DocumentNode_default = DocumentNode;
2260
2332
 
2261
2333
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2262
- import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
2334
+ import { jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
2263
2335
  var Pagination = dynamic9(() => import("./Pagination-6OFACRMQ.mjs"), { ssr: true });
2264
2336
  var Slider = dynamic9(() => import("./Slider-PEIVH6A5.mjs"), {
2265
2337
  ssr: false
@@ -2514,7 +2586,7 @@ var DivContainer = async (props) => {
2514
2586
  response = await serviceClient.get(endpoint);
2515
2587
  result = response?.result;
2516
2588
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
2517
- return /* @__PURE__ */ jsx34(NoDataFound_default, {});
2589
+ return /* @__PURE__ */ jsx35(NoDataFound_default, {});
2518
2590
  }
2519
2591
  if (dataBindingProperties.childCollectionName && props.dataitem) {
2520
2592
  childCollectionData = getNestedValue6(
@@ -2534,7 +2606,7 @@ var DivContainer = async (props) => {
2534
2606
  }
2535
2607
  const SelectedNode = NodeTypes2[node.type];
2536
2608
  if (!SelectedNode) return null;
2537
- return /* @__PURE__ */ jsx34(React22.Fragment, { children: /* @__PURE__ */ jsx34(
2609
+ return /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2538
2610
  SelectedNode,
2539
2611
  {
2540
2612
  node,
@@ -2667,14 +2739,14 @@ var DivContainer = async (props) => {
2667
2739
  noLinkColor && "no-link-color",
2668
2740
  !!props.node.enterAnimation && "enter-animation"
2669
2741
  ].filter(Boolean).join(" ");
2670
- return /* @__PURE__ */ jsxs13(React22.Fragment, { children: [
2671
- /* @__PURE__ */ jsx34(
2742
+ return /* @__PURE__ */ jsxs13(React23.Fragment, { children: [
2743
+ /* @__PURE__ */ jsx35(
2672
2744
  "style",
2673
2745
  {
2674
2746
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2675
2747
  }
2676
2748
  ),
2677
- /* @__PURE__ */ jsx34(
2749
+ /* @__PURE__ */ jsx35(
2678
2750
  Wrapper,
2679
2751
  {
2680
2752
  id: guid,
@@ -2688,11 +2760,11 @@ var DivContainer = async (props) => {
2688
2760
  item,
2689
2761
  idx,
2690
2762
  props.href ? void 0 : item?.links?.view
2691
- )?.map((child, i) => /* @__PURE__ */ jsx34(React22.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2763
+ )?.map((child, i) => /* @__PURE__ */ jsx35(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2692
2764
  )
2693
2765
  }
2694
2766
  ),
2695
- dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx34("div", { children: /* @__PURE__ */ jsx34(
2767
+ dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx35("div", { children: /* @__PURE__ */ jsx35(
2696
2768
  Pagination,
2697
2769
  {
2698
2770
  path: props.path,
@@ -2705,7 +2777,7 @@ var DivContainer = async (props) => {
2705
2777
  var DivContainer_default = DivContainer;
2706
2778
 
2707
2779
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2708
- import { jsx as jsx35 } from "react/jsx-runtime";
2780
+ import { jsx as jsx36 } from "react/jsx-runtime";
2709
2781
  var NodeTypes = {
2710
2782
  ["paragraph"]: ParagraphNode_default,
2711
2783
  ["heading"]: HeadingNode_default,
@@ -2742,14 +2814,14 @@ var PageBodyRenderer = (props) => {
2742
2814
  }
2743
2815
  return true;
2744
2816
  };
2745
- return /* @__PURE__ */ jsx35(React23.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2817
+ return /* @__PURE__ */ jsx36(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2746
2818
  {
2747
2819
  }
2748
2820
  const SelectedNode = NodeTypes[node.type];
2749
2821
  if (!shouldRenderNode(node)) {
2750
2822
  return null;
2751
2823
  }
2752
- return /* @__PURE__ */ jsx35(React23.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx35(React23.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2824
+ return /* @__PURE__ */ jsx36(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx36(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx36(React24.Fragment, { children: /* @__PURE__ */ jsx36(
2753
2825
  SelectedNode,
2754
2826
  {
2755
2827
  node,
@@ -2765,7 +2837,7 @@ var PageBodyRenderer = (props) => {
2765
2837
  device: props.device,
2766
2838
  widgetRenderer: props.widgetRenderer
2767
2839
  }
2768
- ) }) : /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2840
+ ) }) : /* @__PURE__ */ jsx36(React24.Fragment, { children: /* @__PURE__ */ jsx36(
2769
2841
  SelectedNode,
2770
2842
  {
2771
2843
  node,