@geowiki/cms 0.16.9-dev.4 → 0.16.9-dev.6

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
@@ -36,17 +36,17 @@ var NewsFeedWidget_exports = {};
36
36
  __export(NewsFeedWidget_exports, {
37
37
  default: () => NewsFeedWidget_default
38
38
  });
39
- var import_core, import_ui, import_router, import_react, import_jsx_runtime, NewsFeedWidget, NewsFeedWidget_default;
39
+ var import_core, import_ui, import_core2, import_react, import_jsx_runtime, NewsFeedWidget, NewsFeedWidget_default;
40
40
  var init_NewsFeedWidget = __esm({
41
41
  "src/components/Section/NewsFeedWidget.tsx"() {
42
42
  "use strict";
43
43
  import_core = require("@geowiki/core");
44
44
  import_ui = require("@geowiki/ui");
45
- import_router = require("next/router");
45
+ import_core2 = require("@geowiki/core");
46
46
  import_react = require("react");
47
47
  import_jsx_runtime = require("react/jsx-runtime");
48
48
  NewsFeedWidget = () => {
49
- const router = (0, import_router.useRouter)();
49
+ const router = (0, import_core2.useRouter)();
50
50
  var lang = router.query.lang || "all";
51
51
  var [skip, _setSkip] = (0, import_react.useState)(0);
52
52
  var [take, _setTake] = (0, import_react.useState)(32);
@@ -102,26 +102,26 @@ var ContactWidget_exports = {};
102
102
  __export(ContactWidget_exports, {
103
103
  ContactWidget: () => ContactWidget
104
104
  });
105
- var import_api_proxy, import_core2, import_react_hook_form, import_react_toastify, import_jsx_runtime4, ContactWidget;
105
+ var import_api_proxy, import_core3, import_react_hook_form, import_react_toastify, import_jsx_runtime4, ContactWidget;
106
106
  var init_ContactWidget = __esm({
107
107
  "src/components/Section/ContactWidget.tsx"() {
108
108
  "use strict";
109
109
  "use client";
110
110
  import_api_proxy = require("@geowiki/api-proxy");
111
- import_core2 = require("@geowiki/core");
111
+ import_core3 = require("@geowiki/core");
112
112
  import_react_hook_form = require("react-hook-form");
113
113
  import_react_toastify = require("react-toastify");
114
114
  import_jsx_runtime4 = require("react/jsx-runtime");
115
115
  ContactWidget = ({ data }) => {
116
- const { data: hosts } = (0, import_core2.useHosts)();
116
+ const { data: hosts } = (0, import_core3.useHosts)();
117
117
  const {
118
118
  register,
119
119
  handleSubmit,
120
120
  formState: { errors }
121
121
  } = (0, import_react_hook_form.useForm)();
122
122
  const onSubmit = async (formData) => {
123
- var tenantInfo = import_core2.HostService.getCurrentHostInfo(hosts || []);
124
- var tenantName = import_core2.HostService.getTenantName(tenantInfo);
123
+ var tenantInfo = import_core3.HostService.getCurrentHostInfo(hosts || []);
124
+ var tenantName = import_core3.HostService.getTenantName(tenantInfo);
125
125
  var subjectPrefix = "";
126
126
  if (tenantName) {
127
127
  subjectPrefix = tenantName + " - ";
@@ -276,23 +276,23 @@ var CardGridWidget_exports = {};
276
276
  __export(CardGridWidget_exports, {
277
277
  CardGridWidget: () => CardGridWidget
278
278
  });
279
- var import_core3, import_core4, import_ui2, import_jsx_runtime5, CardGridWidget;
279
+ var import_core4, import_core5, import_ui2, import_jsx_runtime5, CardGridWidget;
280
280
  var init_CardGridWidget = __esm({
281
281
  "src/components/Section/CardGridWidget.tsx"() {
282
282
  "use strict";
283
283
  "use client";
284
- import_core3 = require("@geowiki/core");
285
284
  import_core4 = require("@geowiki/core");
285
+ import_core5 = require("@geowiki/core");
286
286
  import_ui2 = require("@geowiki/ui");
287
287
  import_jsx_runtime5 = require("react/jsx-runtime");
288
288
  CardGridWidget = ({ data, cmsUrl }) => {
289
- cmsUrl = cmsUrl === void 0 ? import_core4.settingsStore.getState().settings?.generalSettings.GeoWikiSettings?.Host?.Text : cmsUrl;
289
+ cmsUrl = cmsUrl === void 0 ? import_core5.settingsStore.getState().settings?.generalSettings.GeoWikiSettings?.Host?.Text : cmsUrl;
290
290
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "container mx-auto sm:w-2/3 items-center p-8 bg-base-300 ", children: [
291
291
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h3", { className: "text-3xl py-2 font-bold", children: data.TitlePart?.Title }),
292
292
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "divide-y divide-base-300 overflow-hidden rounded-lg bg-base-300 sm:grid sm:grid-cols-2 sm:gap-px sm:divide-y-0", children: data.BagPart?.ContentItems?.map((contentItemDto, actionIdx) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
293
293
  "div",
294
294
  {
295
- className: (0, import_core3.classNames)(
295
+ className: (0, import_core4.classNames)(
296
296
  actionIdx === 0 ? "rounded-tl-lg sm:rounded-tr-none" : "",
297
297
  actionIdx === 1 ? "sm:rounded-tr-lg" : "",
298
298
  "relative group p-6 focus-within:ring-2 focus-within:ring-inset focus-within:ring-primary-900 hover:border-neutral-focus"
@@ -458,24 +458,24 @@ var EntityListWidget_exports = {};
458
458
  __export(EntityListWidget_exports, {
459
459
  EntityListWidget: () => EntityListWidget
460
460
  });
461
- var import_react2, import_core5, import_ui3, import_ui4, import_core6, import_core7, import_jsx_runtime9, EntityListWidget;
461
+ var import_react2, import_core6, import_ui3, import_ui4, import_core7, import_core8, import_jsx_runtime9, EntityListWidget;
462
462
  var init_EntityListWidget = __esm({
463
463
  "src/components/Section/EntityListWidget.tsx"() {
464
464
  "use strict";
465
465
  "use client";
466
466
  import_react2 = require("react");
467
- import_core5 = require("@geowiki/core");
467
+ import_core6 = require("@geowiki/core");
468
468
  import_ui3 = require("@geowiki/ui");
469
469
  import_ui4 = require("@geowiki/ui");
470
- import_core6 = require("@geowiki/core");
471
470
  import_core7 = require("@geowiki/core");
471
+ import_core8 = require("@geowiki/core");
472
472
  import_jsx_runtime9 = require("react/jsx-runtime");
473
473
  EntityListWidget = ({ data }) => {
474
- const { data: appData } = (0, import_core7.useAppConfig)();
474
+ const { data: appData } = (0, import_core8.useAppConfig)();
475
475
  const NumberOfEntity = data?.EntityList?.NumberofEntity?.Value === null || data?.EntityList?.NumberofEntity?.Value === void 0 ? 4 : data?.EntityList?.NumberofEntity?.Value;
476
476
  const [Skip, setSkip] = (0, import_react2.useState)(0);
477
- const fileUrl = (0, import_core6.useFileUrl)();
478
- const { data: clusterNews, isLoading } = (0, import_core5.useAllNewsFromAllClusters)(
477
+ const fileUrl = (0, import_core7.useFileUrl)();
478
+ const { data: clusterNews, isLoading } = (0, import_core6.useAllNewsFromAllClusters)(
479
479
  "CreationTime",
480
480
  Skip * NumberOfEntity,
481
481
  NumberOfEntity
@@ -972,16 +972,16 @@ var CardWidget_exports = {};
972
972
  __export(CardWidget_exports, {
973
973
  CardWidget: () => CardWidget
974
974
  });
975
- var import_ui12, import_core8, import_jsx_runtime20, CardWidget;
975
+ var import_ui12, import_core9, import_jsx_runtime20, CardWidget;
976
976
  var init_CardWidget = __esm({
977
977
  "src/components/Section/CardWidget.tsx"() {
978
978
  "use strict";
979
979
  "use client";
980
980
  import_ui12 = require("@geowiki/ui");
981
- import_core8 = require("@geowiki/core");
981
+ import_core9 = require("@geowiki/core");
982
982
  import_jsx_runtime20 = require("react/jsx-runtime");
983
983
  CardWidget = ({ data, cmsUrl }) => {
984
- cmsUrl = (0, import_core8.useCmsUrl)();
984
+ cmsUrl = (0, import_core9.useCmsUrl)();
985
985
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "container mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "px-4 py-16 mx-auto sm:max-w-xl md:max-w-full lg:max-w-screen-xl md:px-24 lg:px-8 lg:py-20", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-col max-w-screen-lg overflow-hidden border rounded shadow-sm lg:flex-row sm:mx-auto", children: [
986
986
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "relative lg:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
987
987
  import_ui12.CmsImage,
@@ -1111,7 +1111,7 @@ var NewsLetterWidget_exports = {};
1111
1111
  __export(NewsLetterWidget_exports, {
1112
1112
  NewsLetterWidget: () => NewsLetterWidget
1113
1113
  });
1114
- var import_ui16, import_react3, import_api_proxy2, import_core9, import_ui17, import_jsx_runtime23, NewsLetterWidget;
1114
+ var import_ui16, import_react3, import_api_proxy2, import_core10, import_ui17, import_jsx_runtime23, NewsLetterWidget;
1115
1115
  var init_NewsLetterWidget = __esm({
1116
1116
  "src/components/Section/NewsLetterWidget.tsx"() {
1117
1117
  "use strict";
@@ -1119,12 +1119,12 @@ var init_NewsLetterWidget = __esm({
1119
1119
  import_ui16 = require("@geowiki/ui");
1120
1120
  import_react3 = require("react");
1121
1121
  import_api_proxy2 = require("@geowiki/api-proxy");
1122
- import_core9 = require("@geowiki/core");
1122
+ import_core10 = require("@geowiki/core");
1123
1123
  import_ui17 = require("@geowiki/ui");
1124
1124
  import_jsx_runtime23 = require("react/jsx-runtime");
1125
1125
  NewsLetterWidget = ({ data }) => {
1126
1126
  const { toast: toast2 } = (0, import_ui17.useToast)();
1127
- var brandName = import_core9.settingsStore.getState().settings?.generalSettings.GeoWikiSettings?.BrandName?.Text;
1127
+ var brandName = import_core10.settingsStore.getState().settings?.generalSettings.GeoWikiSettings?.BrandName?.Text;
1128
1128
  const [loading, setLoading] = (0, import_react3.useState)(false);
1129
1129
  const [isAccepted, setIsAccepted] = (0, import_react3.useState)(false);
1130
1130
  const [email, setEmail] = (0, import_react3.useState)("");
@@ -1273,52 +1273,9 @@ var init_StatsWidget = __esm({
1273
1273
  }
1274
1274
  });
1275
1275
 
1276
- // src/components/ClusterMap/MarkerClusterGroup.tsx
1277
- function getPropsAndEvents(props) {
1278
- let clusterProps = {};
1279
- let clusterEvents = {};
1280
- const { children, ...rest } = props;
1281
- Object.entries(rest).forEach(([propName, prop]) => {
1282
- if (propName.startsWith("on")) {
1283
- clusterEvents = { ...clusterEvents, [propName]: prop };
1284
- } else {
1285
- clusterProps = { ...clusterProps, [propName]: prop };
1286
- }
1287
- });
1288
- return { clusterProps, clusterEvents };
1289
- }
1290
- function createMarkerClusterGroup(props, context) {
1291
- const { clusterProps, clusterEvents } = getPropsAndEvents(props);
1292
- const markerClusterGroup = new L.MarkerClusterGroup(clusterProps);
1293
- Object.entries(clusterEvents).forEach(([eventAsProp, callback]) => {
1294
- const clusterEvent = `cluster${eventAsProp.substring(2).toLowerCase()}`;
1295
- markerClusterGroup.on(clusterEvent, callback);
1296
- });
1297
- return (0, import_core10.createElementObject)(
1298
- markerClusterGroup,
1299
- (0, import_core10.extendContext)(context, { layerContainer: markerClusterGroup })
1300
- );
1301
- }
1302
- var import_core10, L, import_leaflet, updateMarkerCluster, MarkerClusterGroup2;
1303
- var init_MarkerClusterGroup = __esm({
1304
- "src/components/ClusterMap/MarkerClusterGroup.tsx"() {
1305
- "use strict";
1306
- "use client";
1307
- import_core10 = require("@react-leaflet/core");
1308
- L = __toESM(require("leaflet"));
1309
- import_leaflet = require("leaflet.markercluster");
1310
- updateMarkerCluster = () => {
1311
- };
1312
- MarkerClusterGroup2 = (0, import_core10.createPathComponent)(
1313
- createMarkerClusterGroup,
1314
- updateMarkerCluster
1315
- );
1316
- }
1317
- });
1318
-
1319
1276
  // src/components/ClusterMap/cluster-markers.tsx
1320
1277
  function getIcon(color, name) {
1321
- const myIcon = import_ui19.IconPaths.find((icon) => icon.name === name);
1278
+ const myIcon = import_ui18.IconPaths.find((icon) => icon.name === name);
1322
1279
  if (myIcon) {
1323
1280
  return (0, import_server.renderToString)(/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(myIcon.icon, {}));
1324
1281
  } else {
@@ -1326,21 +1283,20 @@ function getIcon(color, name) {
1326
1283
  return (0, import_server.renderToString)(/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(MyIcon, { height: 40, width: 40, color }));
1327
1284
  }
1328
1285
  }
1329
- var import_leaflet2, import_react_leaflet, import_core11, import_ui18, import_core12, import_MapPinIcon, import_server, import_core13, import_ui19, import_jsx_runtime25, createClusterIcon, ClusterMarkers;
1286
+ var import_leaflet, import_react_leaflet, import_core11, import_ui18, import_map, import_core12, import_MapPinIcon, import_server, import_core13, import_jsx_runtime25, createClusterIcon, ClusterMarkers;
1330
1287
  var init_cluster_markers = __esm({
1331
1288
  "src/components/ClusterMap/cluster-markers.tsx"() {
1332
1289
  "use strict";
1333
1290
  "use client";
1334
- import_leaflet2 = require("leaflet");
1291
+ import_leaflet = require("leaflet");
1335
1292
  import_react_leaflet = require("react-leaflet");
1336
1293
  import_core11 = require("@geowiki/core");
1337
1294
  import_ui18 = require("@geowiki/ui");
1338
- init_MarkerClusterGroup();
1295
+ import_map = require("@geowiki/map");
1339
1296
  import_core12 = require("@geowiki/core");
1340
1297
  import_MapPinIcon = __toESM(require("@heroicons/react/24/solid/MapPinIcon"));
1341
1298
  import_server = require("react-dom/server");
1342
1299
  import_core13 = require("@geowiki/core");
1343
- import_ui19 = require("@geowiki/ui");
1344
1300
  import_jsx_runtime25 = require("react/jsx-runtime");
1345
1301
  createClusterIcon = (color) => {
1346
1302
  return (cluster) => {
@@ -1359,7 +1315,7 @@ var init_cluster_markers = __esm({
1359
1315
  else
1360
1316
  statusCount.default++;
1361
1317
  });
1362
- return (0, import_leaflet2.divIcon)({
1318
+ return (0, import_leaflet.divIcon)({
1363
1319
  html: `<div style=
1364
1320
  "background-color: ${color};
1365
1321
  width: 36px;
@@ -1388,19 +1344,19 @@ var init_cluster_markers = __esm({
1388
1344
  if (isLoading || IsConfigSettingsLoaded)
1389
1345
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_ui18.LoaderFull, {});
1390
1346
  if (ConfigSettings?.ConfigSettings?.FeaturesFarmerCluster?.Text) {
1391
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(MarkerClusterGroup2, { iconCreateFunction: createClusterIcon("#9999CC"), children: data?.map((cluster) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1347
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_map.MarkerClusterGroup, { iconCreateFunction: createClusterIcon("#9999CC"), children: data?.map((cluster) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1392
1348
  import_react_leaflet.Marker,
1393
1349
  {
1394
- icon: new import_leaflet2.DivIcon({
1350
+ icon: new import_leaflet.DivIcon({
1395
1351
  iconSize: [40, 40],
1396
1352
  html: `${getIcon("#9999CC", "Farmer Clusters")}`,
1397
1353
  className: "custom-div-icon",
1398
1354
  iconAnchor: [20, 40]
1399
1355
  }),
1400
- position: cluster.location ? new import_leaflet2.LatLng(
1356
+ position: cluster.location ? new import_leaflet.LatLng(
1401
1357
  cluster?.location?.latitude,
1402
1358
  cluster?.location?.longitude
1403
- ) : new import_leaflet2.LatLng(0, 0),
1359
+ ) : new import_leaflet.LatLng(0, 0),
1404
1360
  children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_leaflet.Popup, { maxWidth: 600, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "bg-white text-black rounded-3xl", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1405
1361
  import_ui18.DesignFarmerClusterPin,
1406
1362
  {
@@ -1427,12 +1383,12 @@ var HeroMap_exports = {};
1427
1383
  __export(HeroMap_exports, {
1428
1384
  HeroMap: () => HeroMap
1429
1385
  });
1430
- var import_react_leaflet2, import_leaflet3, import_jsx_runtime26, HeroMap;
1386
+ var import_react_leaflet2, import_leaflet2, import_jsx_runtime26, HeroMap;
1431
1387
  var init_HeroMap = __esm({
1432
1388
  "src/components/ClusterMap/HeroMap.tsx"() {
1433
1389
  "use strict";
1434
1390
  import_react_leaflet2 = require("react-leaflet");
1435
- import_leaflet3 = require("leaflet/dist/leaflet.css");
1391
+ import_leaflet2 = require("leaflet/dist/leaflet.css");
1436
1392
  init_cluster_markers();
1437
1393
  import_jsx_runtime26 = require("react/jsx-runtime");
1438
1394
  HeroMap = () => {
@@ -1457,15 +1413,15 @@ var MapHeroWidget_exports = {};
1457
1413
  __export(MapHeroWidget_exports, {
1458
1414
  MapHeroWidget: () => MapHeroWidget
1459
1415
  });
1460
- var import_dynamic, import_react4, import_jsx_runtime27, MapWithNoSSR, MapHeroWidget;
1416
+ var import_core14, import_react4, import_jsx_runtime27, MapWithNoSSR, MapHeroWidget;
1461
1417
  var init_MapHeroWidget = __esm({
1462
1418
  "src/components/Section/MapHeroWidget.tsx"() {
1463
1419
  "use strict";
1464
1420
  "use client";
1465
- import_dynamic = __toESM(require("next/dynamic"));
1421
+ import_core14 = require("@geowiki/core");
1466
1422
  import_react4 = require("react");
1467
1423
  import_jsx_runtime27 = require("react/jsx-runtime");
1468
- MapWithNoSSR = (0, import_dynamic.default)(
1424
+ MapWithNoSSR = (0, import_core14.dynamic)(
1469
1425
  () => Promise.resolve().then(() => (init_HeroMap(), HeroMap_exports)).then((x) => x.HeroMap),
1470
1426
  {
1471
1427
  ssr: false
@@ -1493,21 +1449,21 @@ var HeroCenterTextWidget_exports = {};
1493
1449
  __export(HeroCenterTextWidget_exports, {
1494
1450
  HeroCenterTextWidget: () => HeroCenterTextWidget
1495
1451
  });
1496
- var import_ui20, import_jsx_runtime28, HeroCenterTextWidget;
1452
+ var import_ui19, import_jsx_runtime28, HeroCenterTextWidget;
1497
1453
  var init_HeroCenterTextWidget = __esm({
1498
1454
  "src/components/Section/HeroCenterTextWidget.tsx"() {
1499
1455
  "use strict";
1500
1456
  "use client";
1501
- import_ui20 = require("@geowiki/ui");
1457
+ import_ui19 = require("@geowiki/ui");
1502
1458
  import_jsx_runtime28 = require("react/jsx-runtime");
1503
1459
  HeroCenterTextWidget = ({ data }) => {
1504
1460
  var paths = data?.HeroCenterText?.Image?.Paths;
1505
1461
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "grid pt-8", children: [
1506
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "w-full bg-center bg-cover hero-geo-wiki rounded-xl overflow-hidden col-start-1 row-start-1", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_ui20.CmsImage, { src: paths[0] }) }),
1462
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "w-full bg-center bg-cover hero-geo-wiki rounded-xl overflow-hidden col-start-1 row-start-1", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_ui19.CmsImage, { src: paths[0] }) }),
1507
1463
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "col-start-1 row-start-1 z-10 flex justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "text-center bg-opacity-60 p-8 bg-gray-600 text-white", children: [
1508
1464
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h1", { className: "text-4xl font-bold mt-2 sm:mt-0 mb-4 sm:mb-2", children: data.HeroCenterText?.MainText?.Text }),
1509
1465
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-xl mb-6", children: data.HeroCenterText?.SubText?.Text }),
1510
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex flex-row flex-wrap gap-4 justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_ui20.ButtonList, { data: data?.Buttons?.ContentItems }) })
1466
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex flex-row flex-wrap gap-4 justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_ui19.ButtonList, { data: data?.Buttons?.ContentItems }) })
1511
1467
  ] }) })
1512
1468
  ] });
1513
1469
  };
@@ -1519,16 +1475,16 @@ var html_section_exports = {};
1519
1475
  __export(html_section_exports, {
1520
1476
  HtmlSection: () => HtmlSection
1521
1477
  });
1522
- var import_ui21, import_jsx_runtime29, HtmlSection;
1478
+ var import_ui20, import_jsx_runtime29, HtmlSection;
1523
1479
  var init_html_section = __esm({
1524
1480
  "src/components/Section/html-section.tsx"() {
1525
1481
  "use strict";
1526
1482
  "use client";
1527
- import_ui21 = require("@geowiki/ui");
1483
+ import_ui20 = require("@geowiki/ui");
1528
1484
  import_jsx_runtime29 = require("react/jsx-runtime");
1529
1485
  HtmlSection = ({ data }) => {
1530
1486
  const { HtmlBodyPart } = data;
1531
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "lg:container mx-auto pt-4 lg:pt-0", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "max-w-screen-2xl prose prose-xl", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_ui21.HtmlView, { html: HtmlBodyPart.Html }) }) });
1487
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "lg:container mx-auto pt-4 lg:pt-0", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "max-w-screen-2xl prose prose-xl", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_ui20.HtmlView, { html: HtmlBodyPart.Html }) }) });
1532
1488
  };
1533
1489
  }
1534
1490
  });
@@ -1580,30 +1536,30 @@ var HeroWidget_exports = {};
1580
1536
  __export(HeroWidget_exports, {
1581
1537
  HeroWidget: () => HeroWidget
1582
1538
  });
1583
- var import_ui22, import_ui23, import_ui24, import_ui25, import_ui26, import_ui27, import_core14, import_ui28, import_ui29, import_jsx_runtime32, HeroWidget;
1539
+ var import_ui21, import_ui22, import_ui23, import_ui24, import_ui25, import_ui26, import_core15, import_ui27, import_ui28, import_jsx_runtime32, HeroWidget;
1584
1540
  var init_HeroWidget = __esm({
1585
1541
  "src/components/Section/HeroWidget.tsx"() {
1586
1542
  "use strict";
1587
1543
  "use client";
1544
+ import_ui21 = require("@geowiki/ui");
1588
1545
  import_ui22 = require("@geowiki/ui");
1589
1546
  import_ui23 = require("@geowiki/ui");
1590
1547
  import_ui24 = require("@geowiki/ui");
1591
1548
  import_ui25 = require("@geowiki/ui");
1592
1549
  import_ui26 = require("@geowiki/ui");
1550
+ import_core15 = require("@geowiki/core");
1593
1551
  import_ui27 = require("@geowiki/ui");
1594
- import_core14 = require("@geowiki/core");
1595
1552
  import_ui28 = require("@geowiki/ui");
1596
- import_ui29 = require("@geowiki/ui");
1597
1553
  import_jsx_runtime32 = require("react/jsx-runtime");
1598
1554
  HeroWidget = ({ data }) => {
1599
1555
  const type = data?.Hero?.Type?.Text;
1600
- var cmsUrl = (0, import_core14.useCmsUrl)();
1556
+ var cmsUrl = (0, import_core15.useCmsUrl)();
1601
1557
  switch (type) {
1602
1558
  case "image":
1603
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_ui22.HeroImage, { path: data?.Hero?.Images?.Paths[0], cmsUrl });
1559
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_ui21.HeroImage, { path: data?.Hero?.Images?.Paths[0], cmsUrl });
1604
1560
  case "withMultipleImages":
1605
1561
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1606
- import_ui26.HeroWithMultipleImage,
1562
+ import_ui25.HeroWithMultipleImage,
1607
1563
  {
1608
1564
  paths: data?.Hero?.Images?.Paths,
1609
1565
  contentItemId: data.ContentItemId,
@@ -1615,7 +1571,7 @@ var init_HeroWidget = __esm({
1615
1571
  );
1616
1572
  case "withThreeImages":
1617
1573
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1618
- import_ui27.HeroWithThreeImage,
1574
+ import_ui26.HeroWithThreeImage,
1619
1575
  {
1620
1576
  paths: data?.Hero?.Images?.Paths,
1621
1577
  title: data?.Hero?.Title?.Text,
@@ -1626,7 +1582,7 @@ var init_HeroWidget = __esm({
1626
1582
  );
1627
1583
  case "withCenterText":
1628
1584
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1629
- import_ui24.HeroWithCenterText,
1585
+ import_ui23.HeroWithCenterText,
1630
1586
  {
1631
1587
  paths: data?.Hero?.Images?.Paths,
1632
1588
  title: data.Hero?.Title?.Text,
@@ -1637,7 +1593,7 @@ var init_HeroWidget = __esm({
1637
1593
  );
1638
1594
  case "withMap":
1639
1595
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1640
- import_ui25.HeroWithMap,
1596
+ import_ui24.HeroWithMap,
1641
1597
  {
1642
1598
  title: data.Hero?.Title?.Text,
1643
1599
  description: data.Hero?.Description?.Text,
@@ -1646,7 +1602,7 @@ var init_HeroWidget = __esm({
1646
1602
  );
1647
1603
  case "withImageLeft":
1648
1604
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1649
- import_ui28.HeroImageLeft,
1605
+ import_ui27.HeroImageLeft,
1650
1606
  {
1651
1607
  logoPath: data?.Hero?.Logo?.Paths[0],
1652
1608
  path: data?.Hero?.Images?.Paths[0],
@@ -1655,7 +1611,7 @@ var init_HeroWidget = __esm({
1655
1611
  );
1656
1612
  case "withImageRight":
1657
1613
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1658
- import_ui28.HeroImageRight,
1614
+ import_ui27.HeroImageRight,
1659
1615
  {
1660
1616
  path: data?.Hero?.Images?.Paths[0],
1661
1617
  title: data.Hero?.Title?.Text,
@@ -1664,7 +1620,7 @@ var init_HeroWidget = __esm({
1664
1620
  );
1665
1621
  case "mobileDevice":
1666
1622
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1667
- import_ui29.HeroWidgetMobileDevice,
1623
+ import_ui28.HeroWidgetMobileDevice,
1668
1624
  {
1669
1625
  version: data.Hero?.LayoutVersion.Value ?? 1,
1670
1626
  title: data.Hero?.Title?.Text,
@@ -1680,7 +1636,7 @@ var init_HeroWidget = __esm({
1680
1636
  );
1681
1637
  default:
1682
1638
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1683
- import_ui23.HeroWidgetOld,
1639
+ import_ui22.HeroWidgetOld,
1684
1640
  {
1685
1641
  paths: data?.HeroWidget.Images?.Paths,
1686
1642
  contentItemId: data.ContentItemId,
@@ -1700,11 +1656,11 @@ var HeadingTextWidget_exports = {};
1700
1656
  __export(HeadingTextWidget_exports, {
1701
1657
  HeadingTextWidget: () => HeadingTextWidget
1702
1658
  });
1703
- var import_ui30, import_jsx_runtime33, HeadingTextWidget;
1659
+ var import_ui29, import_jsx_runtime33, HeadingTextWidget;
1704
1660
  var init_HeadingTextWidget = __esm({
1705
1661
  "src/components/Section/HeadingTextWidget.tsx"() {
1706
1662
  "use strict";
1707
- import_ui30 = require("@geowiki/ui");
1663
+ import_ui29 = require("@geowiki/ui");
1708
1664
  import_jsx_runtime33 = require("react/jsx-runtime");
1709
1665
  HeadingTextWidget = ({ data }) => {
1710
1666
  var type = data.HeadingText.Type.Values[0];
@@ -1715,7 +1671,7 @@ var init_HeadingTextWidget = __esm({
1715
1671
  };
1716
1672
  if (type === "H1BodyButton") {
1717
1673
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1718
- import_ui30.H1BodyButton,
1674
+ import_ui29.H1BodyButton,
1719
1675
  {
1720
1676
  title: data.TitlePart.Title,
1721
1677
  textBody: data.HeadingText.TextBody.Html,
@@ -1725,7 +1681,7 @@ var init_HeadingTextWidget = __esm({
1725
1681
  }
1726
1682
  if (type === "H2BodyButton") {
1727
1683
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1728
- import_ui30.H2BodyButton,
1684
+ import_ui29.H2BodyButton,
1729
1685
  {
1730
1686
  tag: data.HeadingText.Tag.Text,
1731
1687
  textBody: data.HeadingText.TextBody.Html,
@@ -1737,7 +1693,7 @@ var init_HeadingTextWidget = __esm({
1737
1693
  }
1738
1694
  if (type === "LandingTitleBodyButton") {
1739
1695
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1740
- import_ui30.LandingTitleBodyButton,
1696
+ import_ui29.LandingTitleBodyButton,
1741
1697
  {
1742
1698
  textBody: data.HeadingText.TextBody.Text,
1743
1699
  button: buttonProps,
@@ -1772,15 +1728,15 @@ var NewfeedPreviewWidget_exports = {};
1772
1728
  __export(NewfeedPreviewWidget_exports, {
1773
1729
  NewsfeedPreviewWidget: () => NewsfeedPreviewWidget
1774
1730
  });
1775
- var import_core15, import_ui31, import_jsx_runtime35, NewsfeedPreviewWidget;
1731
+ var import_core16, import_ui30, import_jsx_runtime35, NewsfeedPreviewWidget;
1776
1732
  var init_NewfeedPreviewWidget = __esm({
1777
1733
  "src/components/Section/NewfeedPreviewWidget.tsx"() {
1778
1734
  "use strict";
1779
- import_core15 = require("@geowiki/core");
1780
- import_ui31 = require("@geowiki/ui");
1735
+ import_core16 = require("@geowiki/core");
1736
+ import_ui30 = require("@geowiki/ui");
1781
1737
  import_jsx_runtime35 = require("react/jsx-runtime");
1782
1738
  NewsfeedPreviewWidget = () => {
1783
- var { data: newsItems, isLoading } = (0, import_core15.useNews)("all", 0, 6);
1739
+ var { data: newsItems, isLoading } = (0, import_core16.useNews)("all", 0, 6);
1784
1740
  var newsArticleData = newsItems?.slice(0, 4)?.map((news) => {
1785
1741
  return {
1786
1742
  title: news.title,
@@ -1795,7 +1751,7 @@ var init_NewfeedPreviewWidget = __esm({
1795
1751
  if (isLoading) {
1796
1752
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { children: "Loading..." });
1797
1753
  }
1798
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_ui31.NewsfeedPreview, { newsArticleData });
1754
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_ui30.NewsfeedPreview, { newsArticleData });
1799
1755
  };
1800
1756
  }
1801
1757
  });
@@ -1805,11 +1761,11 @@ var SubtitleH3BodyWidget_exports = {};
1805
1761
  __export(SubtitleH3BodyWidget_exports, {
1806
1762
  SubtitleH3BodyWidget: () => SubtitleH3BodyWidget
1807
1763
  });
1808
- var import_ui32, import_jsx_runtime36, SubtitleH3BodyWidget;
1764
+ var import_ui31, import_jsx_runtime36, SubtitleH3BodyWidget;
1809
1765
  var init_SubtitleH3BodyWidget = __esm({
1810
1766
  "src/components/Section/SubtitleH3BodyWidget.tsx"() {
1811
1767
  "use strict";
1812
- import_ui32 = require("@geowiki/ui");
1768
+ import_ui31 = require("@geowiki/ui");
1813
1769
  import_jsx_runtime36 = require("react/jsx-runtime");
1814
1770
  SubtitleH3BodyWidget = ({ data }) => {
1815
1771
  var buttonProps = {
@@ -1829,7 +1785,7 @@ var init_SubtitleH3BodyWidget = __esm({
1829
1785
  }
1830
1786
  };
1831
1787
  return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1832
- import_ui32.SubtitleH3Body,
1788
+ import_ui31.SubtitleH3Body,
1833
1789
  {
1834
1790
  title: data.TitlePart.Title,
1835
1791
  subtitle: data.SubtitleH3Body.Subtitle.Text,
@@ -1848,11 +1804,11 @@ var SubtitleH3BodyInternalLinkListWidget_exports = {};
1848
1804
  __export(SubtitleH3BodyInternalLinkListWidget_exports, {
1849
1805
  SubtitleH3BodyInternalLinkListWidget: () => SubtitleH3BodyInternalLinkListWidget
1850
1806
  });
1851
- var import_ui33, import_jsx_runtime37, SubtitleH3BodyInternalLinkListWidget;
1807
+ var import_ui32, import_jsx_runtime37, SubtitleH3BodyInternalLinkListWidget;
1852
1808
  var init_SubtitleH3BodyInternalLinkListWidget = __esm({
1853
1809
  "src/components/Section/SubtitleH3BodyInternalLinkListWidget.tsx"() {
1854
1810
  "use strict";
1855
- import_ui33 = require("@geowiki/ui");
1811
+ import_ui32 = require("@geowiki/ui");
1856
1812
  import_jsx_runtime37 = require("react/jsx-runtime");
1857
1813
  SubtitleH3BodyInternalLinkListWidget = ({
1858
1814
  data
@@ -1864,7 +1820,7 @@ var init_SubtitleH3BodyInternalLinkListWidget = __esm({
1864
1820
  type: contentItem.HtmlLink.NewTab.Value ? "external" : "internal"
1865
1821
  }));
1866
1822
  return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1867
- import_ui33.SubtitleH3BodyInternalLinkList,
1823
+ import_ui32.SubtitleH3BodyInternalLinkList,
1868
1824
  {
1869
1825
  title: data.TitlePart.Title,
1870
1826
  subtitle: data.SubtitleH3BodyInternalLinkList.Subtitle?.Text,
@@ -1881,11 +1837,11 @@ var SubtitleH3FaqWidget_exports = {};
1881
1837
  __export(SubtitleH3FaqWidget_exports, {
1882
1838
  SubtitleH3FaqWidget: () => SubtitleH3FaqWidget
1883
1839
  });
1884
- var import_ui34, import_uuid, import_jsx_runtime38, SubtitleH3FaqWidget;
1840
+ var import_ui33, import_uuid, import_jsx_runtime38, SubtitleH3FaqWidget;
1885
1841
  var init_SubtitleH3FaqWidget = __esm({
1886
1842
  "src/components/Section/SubtitleH3FaqWidget.tsx"() {
1887
1843
  "use strict";
1888
- import_ui34 = require("@geowiki/ui");
1844
+ import_ui33 = require("@geowiki/ui");
1889
1845
  import_uuid = require("uuid");
1890
1846
  import_jsx_runtime38 = require("react/jsx-runtime");
1891
1847
  SubtitleH3FaqWidget = ({ data }) => {
@@ -1911,7 +1867,7 @@ var init_SubtitleH3FaqWidget = __esm({
1911
1867
  const faqs = data.BagPart.ContentItems.map((contentItem) => ({
1912
1868
  question: contentItem.Faq.Question.Text,
1913
1869
  answer: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1914
- import_ui34.HtmlView,
1870
+ import_ui33.HtmlView,
1915
1871
  {
1916
1872
  cssClass: "m-0",
1917
1873
  html: addLinksStyles(contentItem.Faq.AnswerText?.Html)
@@ -1920,7 +1876,7 @@ var init_SubtitleH3FaqWidget = __esm({
1920
1876
  hint: contentItem.Faq.Hint.Text
1921
1877
  }));
1922
1878
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1923
- import_ui34.SubtitleH3Faq,
1879
+ import_ui33.SubtitleH3Faq,
1924
1880
  {
1925
1881
  title: data.TitlePart.Title,
1926
1882
  subtitle: data.SubtitleH3Faq.Subtitle.Text,
@@ -1935,7 +1891,7 @@ var init_SubtitleH3FaqWidget = __esm({
1935
1891
  const faqs = data.BagPart.ContentItems.map((contentItem) => ({
1936
1892
  question: contentItem.Faq.Question.Text,
1937
1893
  answer: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "grid grid-cols-1 space-y-4", children: contentItem.BagPart.ContentItems.map((contentItem2) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1938
- import_ui34.DesignCustomLink,
1894
+ import_ui33.DesignCustomLink,
1939
1895
  {
1940
1896
  linkText: contentItem2.Link?.Text?.Text,
1941
1897
  href: contentItem2.Link?.Url?.Text,
@@ -1945,10 +1901,10 @@ var init_SubtitleH3FaqWidget = __esm({
1945
1901
  },
1946
1902
  (0, import_uuid.v4)()
1947
1903
  )) }),
1948
- hint: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_ui34.HtmlView, { cssClass: "m-0", html: contentItem.Faq.Hint.Text })
1904
+ hint: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_ui33.HtmlView, { cssClass: "m-0", html: contentItem.Faq.Hint.Text })
1949
1905
  }));
1950
1906
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1951
- import_ui34.SubtitleH3Faq,
1907
+ import_ui33.SubtitleH3Faq,
1952
1908
  {
1953
1909
  title: data.TitlePart.Title,
1954
1910
  subtitle: data.SubtitleH3Faq.Subtitle.Text,
@@ -1967,12 +1923,12 @@ var NewTestimonialsWidget_exports = {};
1967
1923
  __export(NewTestimonialsWidget_exports, {
1968
1924
  NewTestimonialsWidget: () => NewTestimonialsWidget
1969
1925
  });
1970
- var import_ui35, import_jsx_runtime39, NewTestimonialsWidget;
1926
+ var import_ui34, import_jsx_runtime39, NewTestimonialsWidget;
1971
1927
  var init_NewTestimonialsWidget = __esm({
1972
1928
  "src/components/Section/NewTestimonialsWidget.tsx"() {
1973
1929
  "use strict";
1974
1930
  "use client";
1975
- import_ui35 = require("@geowiki/ui");
1931
+ import_ui34 = require("@geowiki/ui");
1976
1932
  import_jsx_runtime39 = require("react/jsx-runtime");
1977
1933
  NewTestimonialsWidget = ({ data }) => {
1978
1934
  const testimonials = data.BagPart.ContentItems.map((contentItem) => ({
@@ -1981,7 +1937,7 @@ var init_NewTestimonialsWidget = __esm({
1981
1937
  position: contentItem.Testimonial?.Title?.Text,
1982
1938
  imagePath: contentItem.Testimonial?.Image?.Paths[0]
1983
1939
  }));
1984
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_ui35.DesignTestimonials, { testimonials }) });
1940
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_ui34.DesignTestimonials, { testimonials }) });
1985
1941
  };
1986
1942
  }
1987
1943
  });
@@ -2035,16 +1991,16 @@ var BannerFollowLinksWidget_exports = {};
2035
1991
  __export(BannerFollowLinksWidget_exports, {
2036
1992
  BannerFollowLinksWidget: () => BannerFollowLinksWidget
2037
1993
  });
2038
- var import_ui36, import_jsx_runtime41, BannerFollowLinksWidget;
1994
+ var import_ui35, import_jsx_runtime41, BannerFollowLinksWidget;
2039
1995
  var init_BannerFollowLinksWidget = __esm({
2040
1996
  "src/components/Section/BannerFollowLinksWidget.tsx"() {
2041
1997
  "use strict";
2042
1998
  "use client";
2043
- import_ui36 = require("@geowiki/ui");
1999
+ import_ui35 = require("@geowiki/ui");
2044
2000
  import_jsx_runtime41 = require("react/jsx-runtime");
2045
2001
  BannerFollowLinksWidget = ({ data }) => {
2046
2002
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2047
- import_ui36.BannerFollowLinks,
2003
+ import_ui35.BannerFollowLinks,
2048
2004
  {
2049
2005
  title: data.TitlePart?.Title,
2050
2006
  links: data.BagPart.ContentItems.map((contentItem) => ({
@@ -2063,7 +2019,7 @@ var NewContactUsWidget_exports = {};
2063
2019
  __export(NewContactUsWidget_exports, {
2064
2020
  NewContactUsWidget: () => NewContactUsWidget
2065
2021
  });
2066
- var import_api_proxy3, import_react5, import_react_hook_form2, import_ui37, import_ui38, import_ui39, import_react6, import_core16, import_zod, import_zod2, import_jsx_runtime42, ContactFormSchema, NewContactUsWidget;
2022
+ var import_api_proxy3, import_react5, import_react_hook_form2, import_ui36, import_ui37, import_ui38, import_react6, import_core17, import_zod, import_zod2, import_jsx_runtime42, ContactFormSchema, NewContactUsWidget;
2067
2023
  var init_NewContactUsWidget = __esm({
2068
2024
  "src/components/Section/NewContactUsWidget.tsx"() {
2069
2025
  "use strict";
@@ -2071,11 +2027,11 @@ var init_NewContactUsWidget = __esm({
2071
2027
  import_api_proxy3 = require("@geowiki/api-proxy");
2072
2028
  import_react5 = require("react");
2073
2029
  import_react_hook_form2 = require("react-hook-form");
2030
+ import_ui36 = require("@geowiki/ui");
2074
2031
  import_ui37 = require("@geowiki/ui");
2075
2032
  import_ui38 = require("@geowiki/ui");
2076
- import_ui39 = require("@geowiki/ui");
2077
2033
  import_react6 = require("react");
2078
- import_core16 = require("@geowiki/core");
2034
+ import_core17 = require("@geowiki/core");
2079
2035
  import_zod = require("zod");
2080
2036
  import_zod2 = require("@hookform/resolvers/zod");
2081
2037
  import_jsx_runtime42 = require("react/jsx-runtime");
@@ -2092,7 +2048,7 @@ var init_NewContactUsWidget = __esm({
2092
2048
  NewContactUsWidget = ({ data }) => {
2093
2049
  console.log("data", data);
2094
2050
  const formRef = (0, import_react5.useRef)(null);
2095
- const { data: audiences, isLoading: isAudienceLoading } = (0, import_core16.useAudience)();
2051
+ const { data: audiences, isLoading: isAudienceLoading } = (0, import_core17.useAudience)();
2096
2052
  const [open, setOpen] = (0, import_react6.useState)(false);
2097
2053
  const [openSending, setOpenSending] = (0, import_react6.useState)(false);
2098
2054
  const form = (0, import_react_hook_form2.useForm)({
@@ -2132,7 +2088,7 @@ var init_NewContactUsWidget = __esm({
2132
2088
  setOpen(false);
2133
2089
  });
2134
2090
  };
2135
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "p-5 bg-grey-lightest rounded-xl flex justify-center mt-6 lg:px-88 lg:py-20 lg:mt-12", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui38.Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2091
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "p-5 bg-grey-lightest rounded-xl flex justify-center mt-6 lg:px-88 lg:py-20 lg:mt-12", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui37.Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2136
2092
  "form",
2137
2093
  {
2138
2094
  onSubmit: handleSubmit(onSubmit),
@@ -2141,7 +2097,7 @@ var init_NewContactUsWidget = __esm({
2141
2097
  children: [
2142
2098
  /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "space-y-8", children: [
2143
2099
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2144
- import_ui37.DesignInput,
2100
+ import_ui36.DesignInput,
2145
2101
  {
2146
2102
  placeholder: "Your name",
2147
2103
  type: "text",
@@ -2152,7 +2108,7 @@ var init_NewContactUsWidget = __esm({
2152
2108
  ),
2153
2109
  errors.name && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-red-500 text-sm", children: errors.name.message }),
2154
2110
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2155
- import_ui37.DesignInput,
2111
+ import_ui36.DesignInput,
2156
2112
  {
2157
2113
  placeholder: "Your email",
2158
2114
  type: "email",
@@ -2163,7 +2119,7 @@ var init_NewContactUsWidget = __esm({
2163
2119
  ),
2164
2120
  errors.email && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-red-500 text-sm", children: errors.email.message }),
2165
2121
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2166
- import_ui37.DesignInput,
2122
+ import_ui36.DesignInput,
2167
2123
  {
2168
2124
  placeholder: "Your subject",
2169
2125
  id: "subject",
@@ -2172,26 +2128,26 @@ var init_NewContactUsWidget = __esm({
2172
2128
  ),
2173
2129
  errors.subject && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-red-500 text-sm", children: errors.subject.message }),
2174
2130
  !isAudienceLoading && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2175
- import_ui38.FormField,
2131
+ import_ui37.FormField,
2176
2132
  {
2177
2133
  control,
2178
2134
  name: "role",
2179
2135
  render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2180
- import_ui38.DesignSelect,
2136
+ import_ui37.DesignSelect,
2181
2137
  {
2182
2138
  onValueChange: field.onChange,
2183
2139
  defaultValue: field.value,
2184
2140
  children: [
2185
2141
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2186
- import_ui38.DesignSelectTrigger,
2142
+ import_ui37.DesignSelectTrigger,
2187
2143
  {
2188
2144
  className: "pl-0 py-1.5",
2189
2145
  variant: "input",
2190
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui38.DesignSelectValue, { placeholder: "Your role" })
2146
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui37.DesignSelectValue, { placeholder: "Your role" })
2191
2147
  }
2192
2148
  ),
2193
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui38.DesignSelectContent, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui38.DesignSelectGroup, { children: audiences.map((audience) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2194
- import_ui38.DesignSelectItem,
2149
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui37.DesignSelectContent, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui37.DesignSelectGroup, { children: audiences.map((audience) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2150
+ import_ui37.DesignSelectItem,
2195
2151
  {
2196
2152
  value: audience.value,
2197
2153
  children: audience.value
@@ -2220,12 +2176,12 @@ var init_NewContactUsWidget = __esm({
2220
2176
  ] }),
2221
2177
  /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-center space-x-1", children: [
2222
2178
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2223
- import_ui38.FormField,
2179
+ import_ui37.FormField,
2224
2180
  {
2225
2181
  control,
2226
2182
  name: "acceptTerms",
2227
- render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui38.FormItem, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui38.FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2228
- import_ui37.Checkbox,
2183
+ render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui37.FormItem, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_ui37.FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2184
+ import_ui36.Checkbox,
2229
2185
  {
2230
2186
  onCheckedChange: field.onChange,
2231
2187
  checked: field.value
@@ -2257,7 +2213,7 @@ var init_NewContactUsWidget = __esm({
2257
2213
  ] })
2258
2214
  ] }),
2259
2215
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2260
- import_ui39.DesignButton,
2216
+ import_ui38.DesignButton,
2261
2217
  {
2262
2218
  type: "submit",
2263
2219
  disabled: !acceptTerms,
@@ -2266,7 +2222,7 @@ var init_NewContactUsWidget = __esm({
2266
2222
  }
2267
2223
  ),
2268
2224
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2269
- import_ui38.Notification,
2225
+ import_ui37.Notification,
2270
2226
  {
2271
2227
  title: "Sending",
2272
2228
  description: " ",
@@ -2275,7 +2231,7 @@ var init_NewContactUsWidget = __esm({
2275
2231
  }
2276
2232
  ),
2277
2233
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2278
- import_ui38.Notification,
2234
+ import_ui37.Notification,
2279
2235
  {
2280
2236
  title: "Thank you for submitting your information.",
2281
2237
  description: "Someone from the Recodo team will contact you shortly.",
@@ -2295,12 +2251,12 @@ var ContactCardsWidget_exports = {};
2295
2251
  __export(ContactCardsWidget_exports, {
2296
2252
  ContactCardsWidget: () => ContactCardsWidget
2297
2253
  });
2298
- var import_ui40, import_jsx_runtime43, ContactCardsWidget;
2254
+ var import_ui39, import_jsx_runtime43, ContactCardsWidget;
2299
2255
  var init_ContactCardsWidget = __esm({
2300
2256
  "src/components/Section/ContactCardsWidget.tsx"() {
2301
2257
  "use strict";
2302
2258
  "use client";
2303
- import_ui40 = require("@geowiki/ui");
2259
+ import_ui39 = require("@geowiki/ui");
2304
2260
  import_jsx_runtime43 = require("react/jsx-runtime");
2305
2261
  ContactCardsWidget = ({ data }) => {
2306
2262
  const cards = data.BagPart?.ContentItems || [];
@@ -2345,7 +2301,7 @@ var init_ContactCardsWidget = __esm({
2345
2301
  card.NewResourceCollectionItem?.Title?.Text && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("h3", { className: "text-2xl font-bold text-gray-900 mb-4", children: card.NewResourceCollectionItem.Title.Text }),
2346
2302
  card.NewResourceCollectionItem?.Text?.Text && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "text-gray-700 mb-6 leading-relaxed", children: card.NewResourceCollectionItem.Text.Text }),
2347
2303
  card.NewResourceCollectionItem?.Link?.Text && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2348
- import_ui40.DesignButton,
2304
+ import_ui39.DesignButton,
2349
2305
  {
2350
2306
  variant: "primary",
2351
2307
  size: "sm",
@@ -2441,17 +2397,17 @@ var H2BodyInternalLinkMapWidget_exports = {};
2441
2397
  __export(H2BodyInternalLinkMapWidget_exports, {
2442
2398
  H2BodyInternalLinkMapWidget: () => H2BodyInternalLinkMapWidget
2443
2399
  });
2444
- var import_link, import_dynamic2, import_react7, import_ui41, import_jsx_runtime45, MapWithNoSSR2, H2BodyInternalLinkMapWidget;
2400
+ var import_core18, import_core19, import_react7, import_ui40, import_jsx_runtime45, MapWithNoSSR2, H2BodyInternalLinkMapWidget;
2445
2401
  var init_H2BodyInternalLinkMapWidget = __esm({
2446
2402
  "src/components/Section/H2BodyInternalLinkMapWidget.tsx"() {
2447
2403
  "use strict";
2448
2404
  "use client";
2449
- import_link = __toESM(require("next/link"));
2450
- import_dynamic2 = __toESM(require("next/dynamic"));
2405
+ import_core18 = require("@geowiki/core");
2406
+ import_core19 = require("@geowiki/core");
2451
2407
  import_react7 = require("react");
2452
- import_ui41 = require("@geowiki/ui");
2408
+ import_ui40 = require("@geowiki/ui");
2453
2409
  import_jsx_runtime45 = require("react/jsx-runtime");
2454
- MapWithNoSSR2 = (0, import_dynamic2.default)(
2410
+ MapWithNoSSR2 = (0, import_core19.dynamic)(
2455
2411
  () => Promise.resolve().then(() => (init_HeroMap(), HeroMap_exports)).then((x) => x.HeroMap),
2456
2412
  {
2457
2413
  ssr: false
@@ -2474,20 +2430,20 @@ var init_H2BodyInternalLinkMapWidget = __esm({
2474
2430
  children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "container mx-auto mt-6 p-5 lg:p-0 lg:flex lg:justify-between lg:items-center lg:mt-20", children: [
2475
2431
  /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "pt-1 pb-8 lg:pl-28 lg:pr-30 lg:py-0", children: [
2476
2432
  /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2477
- import_ui41.HtmlView,
2433
+ import_ui40.HtmlView,
2478
2434
  {
2479
2435
  cssClass: "m-0 lg:max-w-sm",
2480
- html: (0, import_ui41.parseTitle)(data.TitlePart.Title, "H2")
2436
+ html: (0, import_ui40.parseTitle)(data.TitlePart.Title, "H2")
2481
2437
  }
2482
2438
  ),
2483
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_ui41.Body18, { className: " py-4 lg:max-w-xs lg:pt-16 lg:pb-6", children: data.H2BodyInternalLinkMap.Text.Text }),
2439
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_ui40.Body18, { className: " py-4 lg:max-w-xs lg:pt-16 lg:pb-6", children: data.H2BodyInternalLinkMap.Text.Text }),
2484
2440
  button?.text && button?.link && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2485
- import_ui41.DesignButton,
2441
+ import_ui40.DesignButton,
2486
2442
  {
2487
2443
  variant: "internalLink",
2488
2444
  className: "h-auto p-0 text-base lg:p-0",
2489
2445
  children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2490
- import_link.default,
2446
+ import_core18.Link,
2491
2447
  {
2492
2448
  href: button.link,
2493
2449
  target: button.isNewTab ? "_blank" : "_self",
@@ -2521,12 +2477,12 @@ var SignUpBannerWidget_exports = {};
2521
2477
  __export(SignUpBannerWidget_exports, {
2522
2478
  SignUpBannerWidget: () => SignUpBannerWidget
2523
2479
  });
2524
- var import_ui42, import_jsx_runtime46, SignUpBannerWidget;
2480
+ var import_ui41, import_jsx_runtime46, SignUpBannerWidget;
2525
2481
  var init_SignUpBannerWidget = __esm({
2526
2482
  "src/components/Section/SignUpBannerWidget.tsx"() {
2527
2483
  "use strict";
2528
2484
  "use client";
2529
- import_ui42 = require("@geowiki/ui");
2485
+ import_ui41 = require("@geowiki/ui");
2530
2486
  import_jsx_runtime46 = require("react/jsx-runtime");
2531
2487
  SignUpBannerWidget = ({ data }) => {
2532
2488
  var buttonProps = {
@@ -2538,7 +2494,7 @@ var init_SignUpBannerWidget = __esm({
2538
2494
  (contentItem) => contentItem.Image.Image.Paths[0]
2539
2495
  );
2540
2496
  return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2541
- import_ui42.SignUpBanner,
2497
+ import_ui41.SignUpBanner,
2542
2498
  {
2543
2499
  title: data.TitlePart.Title,
2544
2500
  text: data.SignUpBanner.Text.Text,
@@ -2555,12 +2511,12 @@ var SubtitleH3ChildrenWidget_exports = {};
2555
2511
  __export(SubtitleH3ChildrenWidget_exports, {
2556
2512
  SubtitleH3ChildrenWidget: () => SubtitleH3ChildrenWidget
2557
2513
  });
2558
- var import_ui43, import_jsx_runtime47, SubtitleH3ChildrenWidget;
2514
+ var import_ui42, import_jsx_runtime47, SubtitleH3ChildrenWidget;
2559
2515
  var init_SubtitleH3ChildrenWidget = __esm({
2560
2516
  "src/components/Section/SubtitleH3ChildrenWidget.tsx"() {
2561
2517
  "use strict";
2562
2518
  "use client";
2563
- import_ui43 = require("@geowiki/ui");
2519
+ import_ui42 = require("@geowiki/ui");
2564
2520
  import_jsx_runtime47 = require("react/jsx-runtime");
2565
2521
  SubtitleH3ChildrenWidget = ({ data }) => {
2566
2522
  var type = data.SubtitleH3Children.Type.Values[0];
@@ -2571,7 +2527,7 @@ var init_SubtitleH3ChildrenWidget = __esm({
2571
2527
  };
2572
2528
  if (type === "ClusterNews3Collumn") {
2573
2529
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2574
- import_ui43.SubtitleH3ClusterNews3Column,
2530
+ import_ui42.SubtitleH3ClusterNews3Column,
2575
2531
  {
2576
2532
  title: data.TitlePart.Title,
2577
2533
  subtitle: data.SubtitleH3Children.Subtitle.Text,
@@ -2581,7 +2537,7 @@ var init_SubtitleH3ChildrenWidget = __esm({
2581
2537
  }
2582
2538
  if (type === "Cluster4Column") {
2583
2539
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2584
- import_ui43.SubtitleH3Cluster4Column,
2540
+ import_ui42.SubtitleH3Cluster4Column,
2585
2541
  {
2586
2542
  title: data.TitlePart.Title,
2587
2543
  subtitle: data.SubtitleH3Children.Subtitle.Text,
@@ -2599,17 +2555,17 @@ var HeaderBodyWidget_exports = {};
2599
2555
  __export(HeaderBodyWidget_exports, {
2600
2556
  HeaderBodyWidget: () => HeaderBodyWidget
2601
2557
  });
2602
- var import_ui44, import_jsx_runtime48, HeaderBodyWidget;
2558
+ var import_ui43, import_jsx_runtime48, HeaderBodyWidget;
2603
2559
  var init_HeaderBodyWidget = __esm({
2604
2560
  "src/components/Section/HeaderBodyWidget.tsx"() {
2605
2561
  "use strict";
2606
- import_ui44 = require("@geowiki/ui");
2562
+ import_ui43 = require("@geowiki/ui");
2607
2563
  import_jsx_runtime48 = require("react/jsx-runtime");
2608
2564
  HeaderBodyWidget = ({ data }) => {
2609
2565
  var type = data.HeaderBody.Type.Values[0];
2610
2566
  if (type === "H1Body") {
2611
2567
  return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "mx-auto max-w-full lg:container lg:max-w-5xl", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2612
- import_ui44.H1Body,
2568
+ import_ui43.H1Body,
2613
2569
  {
2614
2570
  title: data.TitlePart.Title,
2615
2571
  textBody: data.HeaderBody.TextBody.Html
@@ -2618,7 +2574,7 @@ var init_HeaderBodyWidget = __esm({
2618
2574
  }
2619
2575
  if (type === "H7Body") {
2620
2576
  return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "mx-auto max-w-full lg:container lg:max-w-5xl", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2621
- import_ui44.H7Body,
2577
+ import_ui43.H7Body,
2622
2578
  {
2623
2579
  title: data.TitlePart.Title,
2624
2580
  textBody: data.HeaderBody.TextBody.Html
@@ -2634,18 +2590,18 @@ var LanguagesWidget_exports = {};
2634
2590
  __export(LanguagesWidget_exports, {
2635
2591
  LanguageWidget: () => LanguageWidget
2636
2592
  });
2637
- var import_core17, import_ui45, import_react8, import_jsx_runtime49, LanguageWidget;
2593
+ var import_core20, import_ui44, import_react8, import_jsx_runtime49, LanguageWidget;
2638
2594
  var init_LanguagesWidget = __esm({
2639
2595
  "src/components/Section/Recodo/LanguagesWidget.tsx"() {
2640
2596
  "use strict";
2641
- import_core17 = require("@geowiki/core");
2597
+ import_core20 = require("@geowiki/core");
2642
2598
  init_Sections();
2643
- import_ui45 = require("@geowiki/ui");
2599
+ import_ui44 = require("@geowiki/ui");
2644
2600
  import_react8 = require("react");
2645
2601
  import_jsx_runtime49 = require("react/jsx-runtime");
2646
2602
  LanguageWidget = () => {
2647
- const { data: languages, isLoading: isLanguagesLoading } = (0, import_core17.useCmsContentWithType)("LanguageItem");
2648
- const { data: generalSettings, isLoading: isGeneralSettingsLoading } = (0, import_core17.useDefaultSettings)();
2603
+ const { data: languages, isLoading: isLanguagesLoading } = (0, import_core20.useCmsContentWithType)("LanguageItem");
2604
+ const { data: generalSettings, isLoading: isGeneralSettingsLoading } = (0, import_core20.useDefaultSettings)();
2649
2605
  const [selectedLanguageContent, setSelectedLanguageContent] = (0, import_react8.useState)();
2650
2606
  const handleLanguageChange = (language) => {
2651
2607
  const selectedLang = languages.find(
@@ -2668,7 +2624,7 @@ var init_LanguagesWidget = __esm({
2668
2624
  /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "space-y-4 lg:mt-28", children: [
2669
2625
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("h2", { className: "text-2xl font-bold", children: "Language" }),
2670
2626
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("nav", { className: "space-y-1", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2671
- import_ui45.RadioGroup,
2627
+ import_ui44.RadioGroup,
2672
2628
  {
2673
2629
  defaultValue: "English",
2674
2630
  onValueChange: (e) => {
@@ -2676,8 +2632,8 @@ var init_LanguagesWidget = __esm({
2676
2632
  handleLanguageChange(e);
2677
2633
  },
2678
2634
  children: languages.map((language, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center space-x-2", children: [
2679
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_ui45.RadioGroupItem, { value: language?.TitlePart?.Title, id: "r1" }),
2680
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_ui45.Label, { htmlFor: "r1", children: language?.TitlePart?.Title })
2635
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_ui44.RadioGroupItem, { value: language?.TitlePart?.Title, id: "r1" }),
2636
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_ui44.Label, { htmlFor: "r1", children: language?.TitlePart?.Title })
2681
2637
  ] }, index))
2682
2638
  }
2683
2639
  ) })
@@ -2732,13 +2688,13 @@ var VideoWidget_exports = {};
2732
2688
  __export(VideoWidget_exports, {
2733
2689
  VideoWidget: () => VideoWidget
2734
2690
  });
2735
- var import_dynamic3, import_jsx_runtime51, ReactPlayer, VideoWidget;
2691
+ var import_core21, import_jsx_runtime51, ReactPlayer, VideoWidget;
2736
2692
  var init_VideoWidget = __esm({
2737
2693
  "src/components/Section/VideoWidget.tsx"() {
2738
2694
  "use strict";
2739
- import_dynamic3 = __toESM(require("next/dynamic"));
2695
+ import_core21 = require("@geowiki/core");
2740
2696
  import_jsx_runtime51 = require("react/jsx-runtime");
2741
- ReactPlayer = (0, import_dynamic3.default)(() => import("react-player"), { ssr: false });
2697
+ ReactPlayer = (0, import_core21.dynamic)(() => import("react-player"), { ssr: false });
2742
2698
  VideoWidget = ({ data }) => {
2743
2699
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "mx-auto lg:container w-full lg:w-[60%] pt-10 h-[260px] lg:h-[505px]", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2744
2700
  ReactPlayer,
@@ -2758,11 +2714,11 @@ var SubtitleH2BodyVideoWidget_exports = {};
2758
2714
  __export(SubtitleH2BodyVideoWidget_exports, {
2759
2715
  SubtitleH2BodyVideoWidget: () => SubtitleH2BodyVideoWidget
2760
2716
  });
2761
- var import_ui46, import_jsx_runtime52, SubtitleH2BodyVideoWidget;
2717
+ var import_ui45, import_jsx_runtime52, SubtitleH2BodyVideoWidget;
2762
2718
  var init_SubtitleH2BodyVideoWidget = __esm({
2763
2719
  "src/components/Section/SubtitleH2BodyVideoWidget.tsx"() {
2764
2720
  "use strict";
2765
- import_ui46 = require("@geowiki/ui");
2721
+ import_ui45 = require("@geowiki/ui");
2766
2722
  import_jsx_runtime52 = require("react/jsx-runtime");
2767
2723
  SubtitleH2BodyVideoWidget = ({
2768
2724
  data
@@ -2773,7 +2729,7 @@ var init_SubtitleH2BodyVideoWidget = __esm({
2773
2729
  isNewTab: data.LinkPart.IsNewTab.Value
2774
2730
  };
2775
2731
  return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2776
- import_ui46.SubtitleH2BodyVideo,
2732
+ import_ui45.SubtitleH2BodyVideo,
2777
2733
  {
2778
2734
  title: data.TitlePart.Title,
2779
2735
  content: data.SubtitleH2BodyVideo?.Content?.Html,
@@ -2790,12 +2746,12 @@ var ImageLefttH3BodyWidget_exports = {};
2790
2746
  __export(ImageLefttH3BodyWidget_exports, {
2791
2747
  ImageLefttH3BodyWidget: () => ImageLefttH3BodyWidget
2792
2748
  });
2793
- var import_ui47, import_jsx_runtime53, ImageLefttH3BodyWidget;
2749
+ var import_ui46, import_jsx_runtime53, ImageLefttH3BodyWidget;
2794
2750
  var init_ImageLefttH3BodyWidget = __esm({
2795
2751
  "src/components/Section/ImageLefttH3BodyWidget.tsx"() {
2796
2752
  "use strict";
2797
2753
  "use client";
2798
- import_ui47 = require("@geowiki/ui");
2754
+ import_ui46 = require("@geowiki/ui");
2799
2755
  import_jsx_runtime53 = require("react/jsx-runtime");
2800
2756
  ImageLefttH3BodyWidget = ({
2801
2757
  data
@@ -2806,7 +2762,7 @@ var init_ImageLefttH3BodyWidget = __esm({
2806
2762
  isNewTab: data.LinkPart.IsNewTab.Value
2807
2763
  };
2808
2764
  return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2809
- import_ui47.ImageLefttH3Body,
2765
+ import_ui46.ImageLefttH3Body,
2810
2766
  {
2811
2767
  imagePath: data?.ImageLefttH3Body?.Image?.Paths,
2812
2768
  title: data.TitlePart?.Title,
@@ -2823,15 +2779,15 @@ var SixClusterNewsWidget_exports = {};
2823
2779
  __export(SixClusterNewsWidget_exports, {
2824
2780
  SixClusterNewsWidget: () => SixClusterNewsWidget
2825
2781
  });
2826
- var import_ui48, import_jsx_runtime54, SixClusterNewsWidget;
2782
+ var import_ui47, import_jsx_runtime54, SixClusterNewsWidget;
2827
2783
  var init_SixClusterNewsWidget = __esm({
2828
2784
  "src/components/Section/SixClusterNewsWidget.tsx"() {
2829
2785
  "use strict";
2830
2786
  "use client";
2831
- import_ui48 = require("@geowiki/ui");
2787
+ import_ui47 = require("@geowiki/ui");
2832
2788
  import_jsx_runtime54 = require("react/jsx-runtime");
2833
2789
  SixClusterNewsWidget = () => {
2834
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_ui48.SixClusterNews, {});
2790
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_ui47.SixClusterNews, {});
2835
2791
  };
2836
2792
  }
2837
2793
  });
@@ -2841,12 +2797,12 @@ var ImageLeftH3BodyLinkWidget_exports = {};
2841
2797
  __export(ImageLeftH3BodyLinkWidget_exports, {
2842
2798
  ImageLeftH3BodyLinkWidget: () => ImageLeftH3BodyLinkWidget
2843
2799
  });
2844
- var import_ui49, import_jsx_runtime55, ImageLeftH3BodyLinkWidget;
2800
+ var import_ui48, import_jsx_runtime55, ImageLeftH3BodyLinkWidget;
2845
2801
  var init_ImageLeftH3BodyLinkWidget = __esm({
2846
2802
  "src/components/Section/ImageLeftH3BodyLinkWidget.tsx"() {
2847
2803
  "use strict";
2848
2804
  "use client";
2849
- import_ui49 = require("@geowiki/ui");
2805
+ import_ui48 = require("@geowiki/ui");
2850
2806
  import_jsx_runtime55 = require("react/jsx-runtime");
2851
2807
  ImageLeftH3BodyLinkWidget = ({
2852
2808
  data
@@ -2857,7 +2813,7 @@ var init_ImageLeftH3BodyLinkWidget = __esm({
2857
2813
  isNewTab: data.LinkPart.IsNewTab.Value
2858
2814
  };
2859
2815
  return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
2860
- import_ui49.ImageLeftH3BodyLink,
2816
+ import_ui48.ImageLeftH3BodyLink,
2861
2817
  {
2862
2818
  title: data.TitlePart.Title,
2863
2819
  content: data.ImageLeftH3BodyLink.Content.Html,
@@ -2874,16 +2830,16 @@ var IframeWidget_exports = {};
2874
2830
  __export(IframeWidget_exports, {
2875
2831
  IframeWidget: () => IframeWidget
2876
2832
  });
2877
- var import_ui50, import_jsx_runtime56, IframeWidget;
2833
+ var import_ui49, import_jsx_runtime56, IframeWidget;
2878
2834
  var init_IframeWidget = __esm({
2879
2835
  "src/components/Section/IframeWidget.tsx"() {
2880
2836
  "use strict";
2881
2837
  "use client";
2882
- import_ui50 = require("@geowiki/ui");
2838
+ import_ui49 = require("@geowiki/ui");
2883
2839
  import_jsx_runtime56 = require("react/jsx-runtime");
2884
2840
  IframeWidget = ({ data }) => {
2885
2841
  return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "lg:container mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2886
- import_ui50.IframeViewer,
2842
+ import_ui49.IframeViewer,
2887
2843
  {
2888
2844
  html: data.IframeViewer?.Content?.Text,
2889
2845
  className: data.IframeViewer?.ClassName?.Text
@@ -2993,36 +2949,36 @@ __export(QuestMapClient_exports, {
2993
2949
  QuestMapClient: () => QuestMapClient
2994
2950
  });
2995
2951
  function getIcon2(color, name) {
2996
- const myIcon = import_ui52.IconPaths.find((icon) => icon.name === name);
2952
+ const myIcon = import_ui51.IconPaths.find((icon) => icon.name === name);
2997
2953
  if (myIcon) {
2998
- const MyIcon = import_ui52.LocationIcon;
2954
+ const MyIcon = import_ui51.LocationIcon;
2999
2955
  return (0, import_server2.renderToString)(/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(MyIcon, { Icon: myIcon.icon, color }));
3000
2956
  } else {
3001
2957
  const MyIcon = import_MapPinIcon2.default;
3002
2958
  return (0, import_server2.renderToString)(/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(MyIcon, { height: 40, width: 40, color }));
3003
2959
  }
3004
2960
  }
3005
- var import_leaflet4, import_leaflet5, import_leaflet6, import_react10, import_ui51, import_ui52, import_server2, import_MapPinIcon2, import_leaflet7, import_jsx_runtime58, centerLocation, QuestMapClient;
2961
+ var import_leaflet3, import_leaflet4, import_leaflet5, import_react10, import_ui50, import_ui51, import_server2, import_MapPinIcon2, import_leaflet6, import_jsx_runtime58, centerLocation, QuestMapClient;
3006
2962
  var init_QuestMapClient = __esm({
3007
2963
  "src/components/Section/GeoQuest/QuestMapClient.tsx"() {
3008
2964
  "use strict";
3009
2965
  "use client";
3010
- import_leaflet4 = require("leaflet/dist/leaflet.css");
3011
- import_leaflet5 = require("leaflet");
3012
- import_leaflet6 = __toESM(require("leaflet"));
2966
+ import_leaflet3 = require("leaflet/dist/leaflet.css");
2967
+ import_leaflet4 = require("leaflet");
2968
+ import_leaflet5 = __toESM(require("leaflet"));
3013
2969
  import_react10 = require("react");
2970
+ import_ui50 = require("@geowiki/ui");
3014
2971
  import_ui51 = require("@geowiki/ui");
3015
- import_ui52 = require("@geowiki/ui");
3016
2972
  import_server2 = require("react-dom/server");
3017
2973
  import_MapPinIcon2 = __toESM(require("@heroicons/react/24/solid/MapPinIcon"));
3018
- import_leaflet7 = require("leaflet.markercluster");
2974
+ import_leaflet6 = require("leaflet.markercluster");
3019
2975
  import_jsx_runtime58 = require("react/jsx-runtime");
3020
- centerLocation = new import_leaflet5.LatLng(48.2081, 16.3713);
2976
+ centerLocation = new import_leaflet4.LatLng(48.2081, 16.3713);
3021
2977
  QuestMapClient = () => {
3022
- const markerCluster = import_leaflet6.default.markerClusterGroup({
2978
+ const markerCluster = import_leaflet5.default.markerClusterGroup({
3023
2979
  iconCreateFunction: function(cluster) {
3024
2980
  var count = cluster.getChildCount();
3025
- return import_leaflet6.default.divIcon({
2981
+ return import_leaflet5.default.divIcon({
3026
2982
  html: `<div style="
3027
2983
  position: relative;
3028
2984
  width: 44px;
@@ -3051,7 +3007,7 @@ var init_QuestMapClient = __esm({
3051
3007
  text-align: center;
3052
3008
  "><span>${count}</span></div></div>`,
3053
3009
  className: "custom-cluster-icon",
3054
- iconSize: import_leaflet6.default.point(40, 40)
3010
+ iconSize: import_leaflet5.default.point(40, 40)
3055
3011
  });
3056
3012
  }
3057
3013
  });
@@ -3067,20 +3023,20 @@ var init_QuestMapClient = __esm({
3067
3023
  }, []);
3068
3024
  (0, import_react10.useEffect)(() => {
3069
3025
  if (mapRef.current && !leafletmap.current) {
3070
- leafletmap.current = import_leaflet6.default.map(mapRef.current).setView(centerLocation, 3);
3071
- import_leaflet6.default.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
3026
+ leafletmap.current = import_leaflet5.default.map(mapRef.current).setView(centerLocation, 3);
3027
+ import_leaflet5.default.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
3072
3028
  attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
3073
3029
  }).addTo(leafletmap.current);
3074
3030
  if (!isLoading) {
3075
3031
  if (data) {
3076
3032
  data?.forEach((element) => {
3077
- const icon = import_leaflet6.default.divIcon({
3033
+ const icon = import_leaflet5.default.divIcon({
3078
3034
  iconSize: [40, 40],
3079
3035
  iconAnchor: [28, 15],
3080
3036
  html: `<i>${getIcon2("#00A7CE")}</i>`,
3081
3037
  className: ""
3082
3038
  });
3083
- const marker = import_leaflet6.default.marker(
3039
+ const marker = import_leaflet5.default.marker(
3084
3040
  [
3085
3041
  element.coordinates.split(",")[1],
3086
3042
  element.coordinates.split(",")[0]
@@ -3101,7 +3057,7 @@ var init_QuestMapClient = __esm({
3101
3057
  };
3102
3058
  }, [isLoading]);
3103
3059
  if (isLoading)
3104
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_ui51.LoaderFull, {});
3060
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_ui50.LoaderFull, {});
3105
3061
  return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "w-full rounded-2xl overflow-hidden shadow bg-white", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
3106
3062
  "div",
3107
3063
  {
@@ -3119,13 +3075,13 @@ var QuestMapWidget_exports = {};
3119
3075
  __export(QuestMapWidget_exports, {
3120
3076
  QuestMapWidget: () => QuestMapWidget
3121
3077
  });
3122
- var import_dynamic4, import_jsx_runtime59, QuestMapClient2, QuestMapWidget;
3078
+ var import_core22, import_jsx_runtime59, QuestMapClient2, QuestMapWidget;
3123
3079
  var init_QuestMapWidget = __esm({
3124
3080
  "src/components/Section/GeoQuest/QuestMapWidget.tsx"() {
3125
3081
  "use strict";
3126
- import_dynamic4 = __toESM(require("next/dynamic"));
3082
+ import_core22 = require("@geowiki/core");
3127
3083
  import_jsx_runtime59 = require("react/jsx-runtime");
3128
- QuestMapClient2 = (0, import_dynamic4.default)(
3084
+ QuestMapClient2 = (0, import_core22.dynamic)(
3129
3085
  () => Promise.resolve().then(() => (init_QuestMapClient(), QuestMapClient_exports)).then((mod) => mod.QuestMapClient),
3130
3086
  {
3131
3087
  ssr: false
@@ -3314,232 +3270,232 @@ var init_SelectQuestWidget = __esm({
3314
3270
  });
3315
3271
 
3316
3272
  // src/components/SectionComponents.ts
3317
- var import_dynamic5, NewsFeedWidget2, UpdateUserInfoWidget2, UserInfoWidget2, ContactWidget2, CardGridWidget2, ResourceCollectionItemWidget2, ResourceCollectionsWidget2, FarmerClusterFinderWidget2, EntityListWidget2, SpecialFeaturesWidget2, SimpleActionListWidget2, FeatureRowWithMultipleImagesWidget2, TestimonialListWidget2, FeatureRowWithImageWidget2, FeatureRowWidget2, SimpleCallToActionWidget2, ImageWidget2, GalleryWidget2, HeaderWidget2, CardWidget2, ColumnWidget2, RowWidget2, NewsLetterWidget2, StatsWidget2, MapHeroWidget2, HeroCenterTextWidget2, HtmlSection2, MarkdownWidget2, ContainerWidget2, HeroWidget2, HeadingTextWidget2, ResourceQuickFindWidget2, NewsfeedPreviewWidget2, SubtitleH3BodyWidget2, SubtitleH3BodyInternalLinkListWidget2, SubtitleH3FaqWidget2, NewTestimonialsWidget2, SubtitleH3ResourceCollectionsWidget2, BannerFollowLinksWidget2, NewContactUsWidget2, ContactCardsWidget2, SubtitleH3BodySpecialFeatureResourceCollectionsWidget2, H2BodyInternalLinkMapWidget2, SignUpBannerWidget2, SubtitleH3ChildrenWidget2, HeaderBodyWidget2, LanguageWidget2, SubtitleH3KeyResourcesWidget2, VideoWidget2, SubtitleH2BodyVideoWidget2, ImageLefttH3BodyWidget2, SixClusterNewsWidget2, ImageLeftH3BodyLinkWidget2, IframeWidget2, DownloadQuestWidget2, QuestMapWidget2, SelectQuestWidget2, SectionComponents;
3273
+ var import_core23, NewsFeedWidget2, UpdateUserInfoWidget2, UserInfoWidget2, ContactWidget2, CardGridWidget2, ResourceCollectionItemWidget2, ResourceCollectionsWidget2, FarmerClusterFinderWidget2, EntityListWidget2, SpecialFeaturesWidget2, SimpleActionListWidget2, FeatureRowWithMultipleImagesWidget2, TestimonialListWidget2, FeatureRowWithImageWidget2, FeatureRowWidget2, SimpleCallToActionWidget2, ImageWidget2, GalleryWidget2, HeaderWidget2, CardWidget2, ColumnWidget2, RowWidget2, NewsLetterWidget2, StatsWidget2, MapHeroWidget2, HeroCenterTextWidget2, HtmlSection2, MarkdownWidget2, ContainerWidget2, HeroWidget2, HeadingTextWidget2, ResourceQuickFindWidget2, NewsfeedPreviewWidget2, SubtitleH3BodyWidget2, SubtitleH3BodyInternalLinkListWidget2, SubtitleH3FaqWidget2, NewTestimonialsWidget2, SubtitleH3ResourceCollectionsWidget2, BannerFollowLinksWidget2, NewContactUsWidget2, ContactCardsWidget2, SubtitleH3BodySpecialFeatureResourceCollectionsWidget2, H2BodyInternalLinkMapWidget2, SignUpBannerWidget2, SubtitleH3ChildrenWidget2, HeaderBodyWidget2, LanguageWidget2, SubtitleH3KeyResourcesWidget2, VideoWidget2, SubtitleH2BodyVideoWidget2, ImageLefttH3BodyWidget2, SixClusterNewsWidget2, ImageLeftH3BodyLinkWidget2, IframeWidget2, DownloadQuestWidget2, QuestMapWidget2, SelectQuestWidget2, SectionComponents;
3318
3274
  var init_SectionComponents = __esm({
3319
3275
  "src/components/SectionComponents.ts"() {
3320
3276
  "use strict";
3321
- import_dynamic5 = __toESM(require("next/dynamic"));
3322
- NewsFeedWidget2 = (0, import_dynamic5.default)(() => Promise.resolve().then(() => (init_NewsFeedWidget(), NewsFeedWidget_exports)));
3323
- UpdateUserInfoWidget2 = (0, import_dynamic5.default)(
3277
+ import_core23 = require("@geowiki/core");
3278
+ NewsFeedWidget2 = (0, import_core23.dynamic)(() => Promise.resolve().then(() => (init_NewsFeedWidget(), NewsFeedWidget_exports)));
3279
+ UpdateUserInfoWidget2 = (0, import_core23.dynamic)(
3324
3280
  () => Promise.resolve().then(() => (init_UpdateUserInfoWidget(), UpdateUserInfoWidget_exports)).then(
3325
3281
  (mod) => mod.UpdateUserInfoWidget
3326
3282
  )
3327
3283
  );
3328
- UserInfoWidget2 = (0, import_dynamic5.default)(
3284
+ UserInfoWidget2 = (0, import_core23.dynamic)(
3329
3285
  () => Promise.resolve().then(() => (init_UserInfoWidget(), UserInfoWidget_exports)).then((mod) => mod.UserInfoWidget)
3330
3286
  );
3331
- ContactWidget2 = (0, import_dynamic5.default)(
3287
+ ContactWidget2 = (0, import_core23.dynamic)(
3332
3288
  () => Promise.resolve().then(() => (init_ContactWidget(), ContactWidget_exports)).then((mod) => mod.ContactWidget)
3333
3289
  );
3334
- CardGridWidget2 = (0, import_dynamic5.default)(
3290
+ CardGridWidget2 = (0, import_core23.dynamic)(
3335
3291
  () => Promise.resolve().then(() => (init_CardGridWidget(), CardGridWidget_exports)).then((mod) => mod.CardGridWidget)
3336
3292
  );
3337
- ResourceCollectionItemWidget2 = (0, import_dynamic5.default)(
3293
+ ResourceCollectionItemWidget2 = (0, import_core23.dynamic)(
3338
3294
  () => Promise.resolve().then(() => (init_ResourceCollectionItemWidget(), ResourceCollectionItemWidget_exports)).then(
3339
3295
  (mod) => mod.ResourceCollectionItemWidget
3340
3296
  )
3341
3297
  );
3342
- ResourceCollectionsWidget2 = (0, import_dynamic5.default)(
3298
+ ResourceCollectionsWidget2 = (0, import_core23.dynamic)(
3343
3299
  () => Promise.resolve().then(() => (init_ResourceCollectionsWidget(), ResourceCollectionsWidget_exports)).then(
3344
3300
  (mod) => mod.ResourceCollectionsWidget
3345
3301
  )
3346
3302
  );
3347
- FarmerClusterFinderWidget2 = (0, import_dynamic5.default)(
3303
+ FarmerClusterFinderWidget2 = (0, import_core23.dynamic)(
3348
3304
  () => Promise.resolve().then(() => (init_FarmerClusterFinderWidget(), FarmerClusterFinderWidget_exports)).then(
3349
3305
  (mod) => mod.FarmerClusterFinderWidget
3350
3306
  )
3351
3307
  );
3352
- EntityListWidget2 = (0, import_dynamic5.default)(
3308
+ EntityListWidget2 = (0, import_core23.dynamic)(
3353
3309
  () => Promise.resolve().then(() => (init_EntityListWidget(), EntityListWidget_exports)).then((mod) => mod.EntityListWidget)
3354
3310
  );
3355
- SpecialFeaturesWidget2 = (0, import_dynamic5.default)(
3311
+ SpecialFeaturesWidget2 = (0, import_core23.dynamic)(
3356
3312
  () => Promise.resolve().then(() => (init_SpecialFeaturesWidget(), SpecialFeaturesWidget_exports)).then(
3357
3313
  (mod) => mod.SpecialFeaturesWidget
3358
3314
  )
3359
3315
  );
3360
- SimpleActionListWidget2 = (0, import_dynamic5.default)(
3316
+ SimpleActionListWidget2 = (0, import_core23.dynamic)(
3361
3317
  () => Promise.resolve().then(() => (init_SimpleActionListWidget(), SimpleActionListWidget_exports)).then(
3362
3318
  (mod) => mod.SimpleActionListWidget
3363
3319
  )
3364
3320
  );
3365
- FeatureRowWithMultipleImagesWidget2 = (0, import_dynamic5.default)(
3321
+ FeatureRowWithMultipleImagesWidget2 = (0, import_core23.dynamic)(
3366
3322
  () => Promise.resolve().then(() => (init_FeatureRowWithMultipleImagesWidget(), FeatureRowWithMultipleImagesWidget_exports)).then(
3367
3323
  (mod) => mod.FeatureRowWithMultipleImagesWidget
3368
3324
  )
3369
3325
  );
3370
- TestimonialListWidget2 = (0, import_dynamic5.default)(
3326
+ TestimonialListWidget2 = (0, import_core23.dynamic)(
3371
3327
  () => Promise.resolve().then(() => (init_TestimonialListWidget(), TestimonialListWidget_exports)).then(
3372
3328
  (mod) => mod.TestimonialListWidget
3373
3329
  )
3374
3330
  );
3375
- FeatureRowWithImageWidget2 = (0, import_dynamic5.default)(
3331
+ FeatureRowWithImageWidget2 = (0, import_core23.dynamic)(
3376
3332
  () => Promise.resolve().then(() => (init_FeatureRowWithImageWidget(), FeatureRowWithImageWidget_exports)).then(
3377
3333
  (mod) => mod.FeatureRowWithImageWidget
3378
3334
  )
3379
3335
  );
3380
- FeatureRowWidget2 = (0, import_dynamic5.default)(
3336
+ FeatureRowWidget2 = (0, import_core23.dynamic)(
3381
3337
  () => Promise.resolve().then(() => (init_FeatureRowWidget(), FeatureRowWidget_exports)).then((mod) => mod.FeatureRowWidget)
3382
3338
  );
3383
- SimpleCallToActionWidget2 = (0, import_dynamic5.default)(
3339
+ SimpleCallToActionWidget2 = (0, import_core23.dynamic)(
3384
3340
  () => Promise.resolve().then(() => (init_SimpleCallToActionWidget(), SimpleCallToActionWidget_exports)).then(
3385
3341
  (mod) => mod.SimpleCallToActionWidget
3386
3342
  )
3387
3343
  );
3388
- ImageWidget2 = (0, import_dynamic5.default)(
3344
+ ImageWidget2 = (0, import_core23.dynamic)(
3389
3345
  () => Promise.resolve().then(() => (init_ImageWidget(), ImageWidget_exports)).then((mod) => mod.ImageWidget)
3390
3346
  );
3391
- GalleryWidget2 = (0, import_dynamic5.default)(
3347
+ GalleryWidget2 = (0, import_core23.dynamic)(
3392
3348
  () => Promise.resolve().then(() => (init_GalleryWidget(), GalleryWidget_exports)).then((mod) => mod.GalleryWidget)
3393
3349
  );
3394
- HeaderWidget2 = (0, import_dynamic5.default)(
3350
+ HeaderWidget2 = (0, import_core23.dynamic)(
3395
3351
  () => Promise.resolve().then(() => (init_HeaderWidget(), HeaderWidget_exports)).then((mod) => mod.HeaderWidget)
3396
3352
  );
3397
- CardWidget2 = (0, import_dynamic5.default)(
3353
+ CardWidget2 = (0, import_core23.dynamic)(
3398
3354
  () => Promise.resolve().then(() => (init_CardWidget(), CardWidget_exports)).then((mod) => mod.CardWidget)
3399
3355
  );
3400
- ColumnWidget2 = (0, import_dynamic5.default)(
3356
+ ColumnWidget2 = (0, import_core23.dynamic)(
3401
3357
  () => Promise.resolve().then(() => (init_ColumnWidget(), ColumnWidget_exports)).then((mod) => mod.ColumnWidget)
3402
3358
  );
3403
- RowWidget2 = (0, import_dynamic5.default)(
3359
+ RowWidget2 = (0, import_core23.dynamic)(
3404
3360
  () => Promise.resolve().then(() => (init_RowWidget(), RowWidget_exports)).then((mod) => mod.RowWidget)
3405
3361
  );
3406
- NewsLetterWidget2 = (0, import_dynamic5.default)(
3362
+ NewsLetterWidget2 = (0, import_core23.dynamic)(
3407
3363
  () => Promise.resolve().then(() => (init_NewsLetterWidget(), NewsLetterWidget_exports)).then((mod) => mod.NewsLetterWidget)
3408
3364
  );
3409
- StatsWidget2 = (0, import_dynamic5.default)(
3365
+ StatsWidget2 = (0, import_core23.dynamic)(
3410
3366
  () => Promise.resolve().then(() => (init_StatsWidget(), StatsWidget_exports)).then((mod) => mod.StatsWidget)
3411
3367
  );
3412
- MapHeroWidget2 = (0, import_dynamic5.default)(
3368
+ MapHeroWidget2 = (0, import_core23.dynamic)(
3413
3369
  () => Promise.resolve().then(() => (init_MapHeroWidget(), MapHeroWidget_exports)).then((mod) => mod.MapHeroWidget)
3414
3370
  );
3415
- HeroCenterTextWidget2 = (0, import_dynamic5.default)(
3371
+ HeroCenterTextWidget2 = (0, import_core23.dynamic)(
3416
3372
  () => Promise.resolve().then(() => (init_HeroCenterTextWidget(), HeroCenterTextWidget_exports)).then(
3417
3373
  (mod) => mod.HeroCenterTextWidget
3418
3374
  )
3419
3375
  );
3420
- HtmlSection2 = (0, import_dynamic5.default)(
3376
+ HtmlSection2 = (0, import_core23.dynamic)(
3421
3377
  () => Promise.resolve().then(() => (init_html_section(), html_section_exports)).then((mod) => mod.HtmlSection)
3422
3378
  );
3423
- MarkdownWidget2 = (0, import_dynamic5.default)(
3379
+ MarkdownWidget2 = (0, import_core23.dynamic)(
3424
3380
  () => Promise.resolve().then(() => (init_MarkdownWidget(), MarkdownWidget_exports)).then((mod) => mod.MarkdownWidget)
3425
3381
  );
3426
- ContainerWidget2 = (0, import_dynamic5.default)(
3382
+ ContainerWidget2 = (0, import_core23.dynamic)(
3427
3383
  () => Promise.resolve().then(() => (init_ContainerWidget(), ContainerWidget_exports)).then((mod) => mod.ContainerWidget)
3428
3384
  );
3429
- HeroWidget2 = (0, import_dynamic5.default)(
3385
+ HeroWidget2 = (0, import_core23.dynamic)(
3430
3386
  () => Promise.resolve().then(() => (init_HeroWidget(), HeroWidget_exports)).then((mod) => mod.HeroWidget)
3431
3387
  );
3432
- HeadingTextWidget2 = (0, import_dynamic5.default)(
3388
+ HeadingTextWidget2 = (0, import_core23.dynamic)(
3433
3389
  () => Promise.resolve().then(() => (init_HeadingTextWidget(), HeadingTextWidget_exports)).then((mod) => mod.HeadingTextWidget)
3434
3390
  );
3435
- ResourceQuickFindWidget2 = (0, import_dynamic5.default)(
3391
+ ResourceQuickFindWidget2 = (0, import_core23.dynamic)(
3436
3392
  () => Promise.resolve().then(() => (init_ResourceQuickFindWidget(), ResourceQuickFindWidget_exports)).then(
3437
3393
  (mod) => mod.ResourceQuickFindWidget
3438
3394
  )
3439
3395
  );
3440
- NewsfeedPreviewWidget2 = (0, import_dynamic5.default)(
3396
+ NewsfeedPreviewWidget2 = (0, import_core23.dynamic)(
3441
3397
  () => Promise.resolve().then(() => (init_NewfeedPreviewWidget(), NewfeedPreviewWidget_exports)).then(
3442
3398
  (mod) => mod.NewsfeedPreviewWidget
3443
3399
  )
3444
3400
  );
3445
- SubtitleH3BodyWidget2 = (0, import_dynamic5.default)(
3401
+ SubtitleH3BodyWidget2 = (0, import_core23.dynamic)(
3446
3402
  () => Promise.resolve().then(() => (init_SubtitleH3BodyWidget(), SubtitleH3BodyWidget_exports)).then(
3447
3403
  (mod) => mod.SubtitleH3BodyWidget
3448
3404
  )
3449
3405
  );
3450
- SubtitleH3BodyInternalLinkListWidget2 = (0, import_dynamic5.default)(
3406
+ SubtitleH3BodyInternalLinkListWidget2 = (0, import_core23.dynamic)(
3451
3407
  () => Promise.resolve().then(() => (init_SubtitleH3BodyInternalLinkListWidget(), SubtitleH3BodyInternalLinkListWidget_exports)).then(
3452
3408
  (mod) => mod.SubtitleH3BodyInternalLinkListWidget
3453
3409
  )
3454
3410
  );
3455
- SubtitleH3FaqWidget2 = (0, import_dynamic5.default)(
3411
+ SubtitleH3FaqWidget2 = (0, import_core23.dynamic)(
3456
3412
  () => Promise.resolve().then(() => (init_SubtitleH3FaqWidget(), SubtitleH3FaqWidget_exports)).then(
3457
3413
  (mod) => mod.SubtitleH3FaqWidget
3458
3414
  )
3459
3415
  );
3460
- NewTestimonialsWidget2 = (0, import_dynamic5.default)(
3416
+ NewTestimonialsWidget2 = (0, import_core23.dynamic)(
3461
3417
  () => Promise.resolve().then(() => (init_NewTestimonialsWidget(), NewTestimonialsWidget_exports)).then(
3462
3418
  (mod) => mod.NewTestimonialsWidget
3463
3419
  )
3464
3420
  );
3465
- SubtitleH3ResourceCollectionsWidget2 = (0, import_dynamic5.default)(
3421
+ SubtitleH3ResourceCollectionsWidget2 = (0, import_core23.dynamic)(
3466
3422
  () => Promise.resolve().then(() => (init_SubtitleH3ResourceCollectionsWidget(), SubtitleH3ResourceCollectionsWidget_exports)).then(
3467
3423
  (mod) => mod.SubtitleH3ResourceCollectionsWidget
3468
3424
  )
3469
3425
  );
3470
- BannerFollowLinksWidget2 = (0, import_dynamic5.default)(
3426
+ BannerFollowLinksWidget2 = (0, import_core23.dynamic)(
3471
3427
  () => Promise.resolve().then(() => (init_BannerFollowLinksWidget(), BannerFollowLinksWidget_exports)).then(
3472
3428
  (mod) => mod.BannerFollowLinksWidget
3473
3429
  )
3474
3430
  );
3475
- NewContactUsWidget2 = (0, import_dynamic5.default)(
3431
+ NewContactUsWidget2 = (0, import_core23.dynamic)(
3476
3432
  () => Promise.resolve().then(() => (init_NewContactUsWidget(), NewContactUsWidget_exports)).then((mod) => mod.NewContactUsWidget)
3477
3433
  );
3478
- ContactCardsWidget2 = (0, import_dynamic5.default)(
3434
+ ContactCardsWidget2 = (0, import_core23.dynamic)(
3479
3435
  () => Promise.resolve().then(() => (init_ContactCardsWidget(), ContactCardsWidget_exports)).then((mod) => mod.ContactCardsWidget)
3480
3436
  );
3481
- SubtitleH3BodySpecialFeatureResourceCollectionsWidget2 = (0, import_dynamic5.default)(
3437
+ SubtitleH3BodySpecialFeatureResourceCollectionsWidget2 = (0, import_core23.dynamic)(
3482
3438
  () => Promise.resolve().then(() => (init_SubtitleH3BodySpecialFeatureResourceCollectionsWidget(), SubtitleH3BodySpecialFeatureResourceCollectionsWidget_exports)).then((mod) => mod.SubtitleH3BodySpecialFeatureResourceCollectionsWidget)
3483
3439
  );
3484
- H2BodyInternalLinkMapWidget2 = (0, import_dynamic5.default)(
3440
+ H2BodyInternalLinkMapWidget2 = (0, import_core23.dynamic)(
3485
3441
  () => Promise.resolve().then(() => (init_H2BodyInternalLinkMapWidget(), H2BodyInternalLinkMapWidget_exports)).then(
3486
3442
  (mod) => mod.H2BodyInternalLinkMapWidget
3487
3443
  )
3488
3444
  );
3489
- SignUpBannerWidget2 = (0, import_dynamic5.default)(
3445
+ SignUpBannerWidget2 = (0, import_core23.dynamic)(
3490
3446
  () => Promise.resolve().then(() => (init_SignUpBannerWidget(), SignUpBannerWidget_exports)).then((mod) => mod.SignUpBannerWidget)
3491
3447
  );
3492
- SubtitleH3ChildrenWidget2 = (0, import_dynamic5.default)(
3448
+ SubtitleH3ChildrenWidget2 = (0, import_core23.dynamic)(
3493
3449
  () => Promise.resolve().then(() => (init_SubtitleH3ChildrenWidget(), SubtitleH3ChildrenWidget_exports)).then(
3494
3450
  (mod) => mod.SubtitleH3ChildrenWidget
3495
3451
  )
3496
3452
  );
3497
- HeaderBodyWidget2 = (0, import_dynamic5.default)(
3453
+ HeaderBodyWidget2 = (0, import_core23.dynamic)(
3498
3454
  () => Promise.resolve().then(() => (init_HeaderBodyWidget(), HeaderBodyWidget_exports)).then((mod) => mod.HeaderBodyWidget)
3499
3455
  );
3500
- LanguageWidget2 = (0, import_dynamic5.default)(
3456
+ LanguageWidget2 = (0, import_core23.dynamic)(
3501
3457
  () => Promise.resolve().then(() => (init_LanguagesWidget(), LanguagesWidget_exports)).then((mod) => mod.LanguageWidget)
3502
3458
  );
3503
- SubtitleH3KeyResourcesWidget2 = (0, import_dynamic5.default)(
3459
+ SubtitleH3KeyResourcesWidget2 = (0, import_core23.dynamic)(
3504
3460
  () => Promise.resolve().then(() => (init_SubtitleH3KeyResourcesWidget(), SubtitleH3KeyResourcesWidget_exports)).then(
3505
3461
  (mod) => mod.SubtitleH3KeyResourcesWidget
3506
3462
  )
3507
3463
  );
3508
- VideoWidget2 = (0, import_dynamic5.default)(
3464
+ VideoWidget2 = (0, import_core23.dynamic)(
3509
3465
  () => Promise.resolve().then(() => (init_VideoWidget(), VideoWidget_exports)).then((mod) => mod.VideoWidget)
3510
3466
  );
3511
- SubtitleH2BodyVideoWidget2 = (0, import_dynamic5.default)(
3467
+ SubtitleH2BodyVideoWidget2 = (0, import_core23.dynamic)(
3512
3468
  () => Promise.resolve().then(() => (init_SubtitleH2BodyVideoWidget(), SubtitleH2BodyVideoWidget_exports)).then(
3513
3469
  (mod) => mod.SubtitleH2BodyVideoWidget
3514
3470
  )
3515
3471
  );
3516
- ImageLefttH3BodyWidget2 = (0, import_dynamic5.default)(
3472
+ ImageLefttH3BodyWidget2 = (0, import_core23.dynamic)(
3517
3473
  () => Promise.resolve().then(() => (init_ImageLefttH3BodyWidget(), ImageLefttH3BodyWidget_exports)).then(
3518
3474
  (mod) => mod.ImageLefttH3BodyWidget
3519
3475
  )
3520
3476
  );
3521
- SixClusterNewsWidget2 = (0, import_dynamic5.default)(
3477
+ SixClusterNewsWidget2 = (0, import_core23.dynamic)(
3522
3478
  () => Promise.resolve().then(() => (init_SixClusterNewsWidget(), SixClusterNewsWidget_exports)).then(
3523
3479
  (mod) => mod.SixClusterNewsWidget
3524
3480
  )
3525
3481
  );
3526
- ImageLeftH3BodyLinkWidget2 = (0, import_dynamic5.default)(
3482
+ ImageLeftH3BodyLinkWidget2 = (0, import_core23.dynamic)(
3527
3483
  () => Promise.resolve().then(() => (init_ImageLeftH3BodyLinkWidget(), ImageLeftH3BodyLinkWidget_exports)).then(
3528
3484
  (mod) => mod.ImageLeftH3BodyLinkWidget
3529
3485
  )
3530
3486
  );
3531
- IframeWidget2 = (0, import_dynamic5.default)(
3487
+ IframeWidget2 = (0, import_core23.dynamic)(
3532
3488
  () => Promise.resolve().then(() => (init_IframeWidget(), IframeWidget_exports)).then((mod) => mod.IframeWidget)
3533
3489
  );
3534
- DownloadQuestWidget2 = (0, import_dynamic5.default)(
3490
+ DownloadQuestWidget2 = (0, import_core23.dynamic)(
3535
3491
  () => Promise.resolve().then(() => (init_DownloadQuestWidget(), DownloadQuestWidget_exports)).then(
3536
3492
  (mod) => mod.DownloadQuestWidget
3537
3493
  )
3538
3494
  );
3539
- QuestMapWidget2 = (0, import_dynamic5.default)(
3495
+ QuestMapWidget2 = (0, import_core23.dynamic)(
3540
3496
  () => Promise.resolve().then(() => (init_QuestMapWidget(), QuestMapWidget_exports)).then((mod) => mod.QuestMapWidget)
3541
3497
  );
3542
- SelectQuestWidget2 = (0, import_dynamic5.default)(
3498
+ SelectQuestWidget2 = (0, import_core23.dynamic)(
3543
3499
  () => Promise.resolve().then(() => (init_SelectQuestWidget(), SelectQuestWidget_exports)).then(
3544
3500
  (mod) => mod.SelectQuestWidget
3545
3501
  )
@@ -3691,12 +3647,12 @@ module.exports = __toCommonJS(src_exports);
3691
3647
  init_Sections();
3692
3648
 
3693
3649
  // src/components/Section/apps-list.tsx
3694
- var import_core18 = require("@geowiki/core");
3695
- var import_ui53 = require("@geowiki/ui");
3650
+ var import_core24 = require("@geowiki/core");
3651
+ var import_ui52 = require("@geowiki/ui");
3696
3652
  var import_jsx_runtime62 = require("react/jsx-runtime");
3697
3653
  var AppsList = ({ apps }) => {
3698
3654
  console.log("apps", apps);
3699
- var cmsUrl = (0, import_core18.useCmsUrl)();
3655
+ var cmsUrl = (0, import_core24.useCmsUrl)();
3700
3656
  var visibleApps = apps?.filter(
3701
3657
  (app) => app?.Application?.IsVisible?.Value === true
3702
3658
  );
@@ -3706,7 +3662,7 @@ var AppsList = ({ apps }) => {
3706
3662
  return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "px-4 py-16 mx-auto sm:max-w-xl md:max-w-full ", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "mx-auto px-4 container sm:px-6", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "space-y-12", children: [
3707
3663
  /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "space-y-5 sm:space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("h2", { className: "text-3xl font-extrabold tracking-tight sm:text-4xl text-center", children: "Our Apps" }) }),
3708
3664
  /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "lg:col-span-2", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("ul", { className: "space-y-12 sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:gap-x-6 sm:gap-y-12 sm:space-y-0 lg:gap-x-8", children: visibleApps && visibleApps.map((app) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3709
- import_ui53.ApplicationView,
3665
+ import_ui52.ApplicationView,
3710
3666
  {
3711
3667
  app,
3712
3668
  cmsUrl
@@ -3727,11 +3683,11 @@ init_ContainerWidget();
3727
3683
  init_EntityListWidget();
3728
3684
 
3729
3685
  // src/components/Section/feature-columns-group.tsx
3730
- var import_ui54 = require("@geowiki/ui");
3686
+ var import_ui53 = require("@geowiki/ui");
3731
3687
  var import_jsx_runtime63 = require("react/jsx-runtime");
3732
3688
  var FeatureColumnsGroup = ({ data }) => {
3733
3689
  return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "container mx-auto flex flex-col lg:flex-row lg:flex-wrap gap-12 align-top py-12 text-center", children: data.features.map((feature) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex-1 text-lg", children: [
3734
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex content-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_ui54.CustomImage, { src: feature.icon, className: "w-10" }) }),
3690
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex content-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_ui53.CustomImage, { src: feature.icon, className: "w-10" }) }),
3735
3691
  /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("h3", { className: "font-bold mt-4 mb-4", children: feature.title }),
3736
3692
  /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { children: feature.description }),
3737
3693
  /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("a", {})
@@ -3740,8 +3696,8 @@ var FeatureColumnsGroup = ({ data }) => {
3740
3696
 
3741
3697
  // src/components/Section/feature-rows-group.tsx
3742
3698
  var import_classnames2 = __toESM(require("classnames"));
3699
+ var import_ui54 = require("@geowiki/ui");
3743
3700
  var import_ui55 = require("@geowiki/ui");
3744
- var import_ui56 = require("@geowiki/ui");
3745
3701
  var import_jsx_runtime64 = require("react/jsx-runtime");
3746
3702
 
3747
3703
  // src/index.tsx
@@ -3754,8 +3710,8 @@ init_HeroWidget();
3754
3710
  init_HeadingTextWidget();
3755
3711
 
3756
3712
  // src/components/Section/hero-geowiki.tsx
3757
- var import_core19 = require("@geowiki/core");
3758
- var import_ui57 = require("@geowiki/ui");
3713
+ var import_core25 = require("@geowiki/core");
3714
+ var import_ui56 = require("@geowiki/ui");
3759
3715
  var import_jsx_runtime65 = require("react/jsx-runtime");
3760
3716
  var HeroGeoWiki = ({ data }) => {
3761
3717
  return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
@@ -3768,11 +3724,11 @@ var HeroGeoWiki = ({ data }) => {
3768
3724
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("h1", { className: "title text-white mt-2 sm:mt-0 mb-4 sm:mb-2", children: data.title }),
3769
3725
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "text-xl text-white mb-6", children: data.description }),
3770
3726
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "flex flex-row flex-wrap gap-4 justify-center text-white", children: data.buttons.map((button) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3771
- import_ui57.ButtonLink,
3727
+ import_ui56.ButtonLink,
3772
3728
  {
3773
3729
  button,
3774
3730
  compact: false,
3775
- appearance: (0, import_core19.getButtonAppearance)(button.type, "light")
3731
+ appearance: (0, import_core25.getButtonAppearance)(button.type, "light")
3776
3732
  },
3777
3733
  button.id
3778
3734
  )) })
@@ -3786,14 +3742,14 @@ init_html_section();
3786
3742
  init_ImageWidget();
3787
3743
 
3788
3744
  // src/components/Section/large-video.tsx
3789
- var import_ui58 = require("@geowiki/ui");
3745
+ var import_ui57 = require("@geowiki/ui");
3790
3746
  var import_jsx_runtime66 = require("react/jsx-runtime");
3791
3747
  var LargeVideo = ({ data }) => {
3792
3748
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("section", { className: "container flex flex-col align-middle text-center pt-12 pb-16", children: [
3793
3749
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("h2", { className: "title mb-6", children: data.title }),
3794
3750
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-lg mb-10", children: data.description }),
3795
3751
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "w-full lg:w-9/12 mx-auto overflow-hidden shadow-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3796
- import_ui58.Video,
3752
+ import_ui57.Video,
3797
3753
  {
3798
3754
  media: data.video,
3799
3755
  poster: data.poster,
@@ -3825,13 +3781,13 @@ init_StatsWidget();
3825
3781
  init_TestimonialListWidget();
3826
3782
 
3827
3783
  // src/components/Section/under-construction.tsx
3828
- var import_link2 = __toESM(require("next/link"));
3784
+ var import_core26 = require("@geowiki/core");
3829
3785
  var import_jsx_runtime68 = require("react/jsx-runtime");
3830
3786
  var UnderConstruction = () => {
3831
3787
  return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "container mx-auto min-h-screen px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "max-w-max mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("main", { className: "sm:flex", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "sm:ml-6", children: [
3832
3788
  /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "sm:border-l sm:border-gray-200 sm:pl-6", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("h1", { className: "text-4xl font-extrabold tracking-tight sm:text-5xl", children: "Page under construction" }) }),
3833
3789
  /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "mt-10 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3834
- import_link2.default,
3790
+ import_core26.Link,
3835
3791
  {
3836
3792
  href: "/",
3837
3793
  className: "inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500",
@@ -3847,27 +3803,27 @@ init_UpdateUserInfoWidget();
3847
3803
  init_UserInfoWidget();
3848
3804
 
3849
3805
  // src/components/Section/Recodo/ClusterNewsStories.tsx
3850
- var import_core20 = require("@geowiki/core");
3851
- var import_ui59 = require("@geowiki/ui");
3852
- var import_link3 = __toESM(require("next/link"));
3853
- var import_router2 = require("next/router");
3806
+ var import_core27 = require("@geowiki/core");
3807
+ var import_ui58 = require("@geowiki/ui");
3808
+ var import_core28 = require("@geowiki/core");
3809
+ var import_core29 = require("@geowiki/core");
3854
3810
  var import_jsx_runtime69 = require("react/jsx-runtime");
3855
3811
  var ArticleMeta = ({
3856
3812
  date,
3857
3813
  location,
3858
3814
  author
3859
3815
  }) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex gap-3 items-center", children: [
3860
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui59.Body16, { children: new Date(date).toDateString() }),
3861
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui59.Body16m, { children: location }),
3862
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui59.Body16m, { children: author })
3816
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui58.Body16, { children: new Date(date).toDateString() }),
3817
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui58.Body16m, { children: location }),
3818
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui58.Body16m, { children: author })
3863
3819
  ] });
3864
3820
  var Article = ({ meta, title, newsId }) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("article", { className: "flex flex-col items-start self-stretch lg:px-5 my-auto font-medium max-md:mt-6 max-md:max-w-full", children: [
3865
3821
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ArticleMeta, { ...meta }),
3866
3822
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("h1", { className: "self-stretch mt-4 text-2xl font-light leading-[130%] max-md:max-w-full lg:leading-10 lg:text-3xl lg:mt-6", children: title }),
3867
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "flex gap-2 mt-4 text-lg lg:mt-6", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_link3.default, { href: `/news/farmer-cluster/${newsId}`, className: "text-primary", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui59.DesignButton, { variant: "internalLink", className: "h-auto p-0 lg:p-0 ", children: "Read full story" }) }) })
3823
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "flex gap-2 mt-4 text-lg lg:mt-6", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_core28.Link, { href: `/news/farmer-cluster/${newsId}`, className: "text-primary", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui58.DesignButton, { variant: "internalLink", className: "h-auto p-0 lg:p-0 ", children: "Read full story" }) }) })
3868
3824
  ] });
3869
3825
  var ClusterNewsStories = ({}) => {
3870
- const router = (0, import_router2.useRouter)();
3826
+ const router = (0, import_core29.useRouter)();
3871
3827
  var page = parseInt(router.query.page) || 1;
3872
3828
  var pageSize = 9;
3873
3829
  var skip = (page - 1) * pageSize + 1;
@@ -3875,11 +3831,11 @@ var ClusterNewsStories = ({}) => {
3875
3831
  skip = 1;
3876
3832
  }
3877
3833
  var take = pageSize;
3878
- const { data: clusterNews, isLoading } = (0, import_core20.useNewsFromAllClusters)(skip, take);
3879
- const { data: featuredNews, isLoading: isFeaturedLoading } = (0, import_core20.useNewsFromAllClusters)(0, 1);
3834
+ const { data: clusterNews, isLoading } = (0, import_core27.useNewsFromAllClusters)(skip, take);
3835
+ const { data: featuredNews, isLoading: isFeaturedLoading } = (0, import_core27.useNewsFromAllClusters)(0, 1);
3880
3836
  var firstNews = featuredNews?.items?.[0];
3881
3837
  if (isFeaturedLoading || isLoading) {
3882
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui59.LoaderFull, {});
3838
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui58.LoaderFull, {});
3883
3839
  }
3884
3840
  return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "lg:container mx-auto", children: [
3885
3841
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex gap-5 max-md:flex-col max-md:gap-0", children: [
@@ -3896,7 +3852,7 @@ var ClusterNewsStories = ({}) => {
3896
3852
  }
3897
3853
  ) }),
3898
3854
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "flex flex-col ml-5 w-6/12 max-md:ml-0 max-md:w-full", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3899
- import_ui59.ApiImage,
3855
+ import_ui58.ApiImage,
3900
3856
  {
3901
3857
  imageId: firstNews?.imageId,
3902
3858
  className: "flex overflow-hidden relative flex-col grow justify-center min-h-[560px] mt-6 max-md:max-w-full lg:mt-10"
@@ -3904,7 +3860,7 @@ var ClusterNewsStories = ({}) => {
3904
3860
  ) })
3905
3861
  ] }),
3906
3862
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "grid grid-flow-row gap-5 lg:grid-cols-3 py-11 lg:pt-20 lg:pb-24", children: clusterNews?.items?.map((news) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3907
- import_ui59.ClusterNewsItem,
3863
+ import_ui58.ClusterNewsItem,
3908
3864
  {
3909
3865
  id: news.id,
3910
3866
  clusterCountry: news.clusterCountry,
@@ -3916,7 +3872,7 @@ var ClusterNewsStories = ({}) => {
3916
3872
  },
3917
3873
  news.id
3918
3874
  ) }, news.id)) }),
3919
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui59.RoutePagination, { pageSize, total: clusterNews?.totalCount }) })
3875
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ui58.RoutePagination, { pageSize, total: clusterNews?.totalCount }) })
3920
3876
  ] });
3921
3877
  };
3922
3878