@civicactions/cmsds-open-data-components 3.8.3-alpha.1 → 3.8.4-alpha.0

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/main.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./main.css";
2
2
  import {jsx as $hgUW1$jsx, jsxs as $hgUW1$jsxs, Fragment as $hgUW1$Fragment} from "react/jsx-runtime";
3
- import {Accordion as $hgUW1$Accordion, AccordionItem as $hgUW1$AccordionItem, Button as $hgUW1$Button, CloseIconThin as $hgUW1$CloseIconThin, ArrowIcon as $hgUW1$ArrowIcon, Spinner as $hgUW1$Spinner, Alert as $hgUW1$Alert, Dialog as $hgUW1$Dialog, TextField as $hgUW1$TextField, Tooltip as $hgUW1$Tooltip, Dropdown as $hgUW1$Dropdown, Choice as $hgUW1$Choice, Pagination as $hgUW1$Pagination, Badge as $hgUW1$Badge, Table as $hgUW1$Table, TableHead as $hgUW1$TableHead, TableRow as $hgUW1$TableRow, TableCell as $hgUW1$TableCell, TableBody as $hgUW1$TableBody, Tabs as $hgUW1$Tabs, TabPanel as $hgUW1$TabPanel, TooltipIcon as $hgUW1$TooltipIcon} from "@cmsgov/design-system";
3
+ import {Accordion as $hgUW1$Accordion, AccordionItem as $hgUW1$AccordionItem, Button as $hgUW1$Button, CloseIconThin as $hgUW1$CloseIconThin, ArrowIcon as $hgUW1$ArrowIcon, Spinner as $hgUW1$Spinner, Alert as $hgUW1$Alert, Dialog as $hgUW1$Dialog, TextField as $hgUW1$TextField, Tooltip as $hgUW1$Tooltip, TooltipIcon as $hgUW1$TooltipIcon, Dropdown as $hgUW1$Dropdown, Choice as $hgUW1$Choice, Pagination as $hgUW1$Pagination, Badge as $hgUW1$Badge, Table as $hgUW1$Table, TableHead as $hgUW1$TableHead, TableRow as $hgUW1$TableRow, TableCell as $hgUW1$TableCell, TableBody as $hgUW1$TableBody, Tabs as $hgUW1$Tabs, TabPanel as $hgUW1$TabPanel} from "@cmsgov/design-system";
4
4
  import $hgUW1$react, {createContext as $hgUW1$createContext, useState as $hgUW1$useState, useRef as $hgUW1$useRef, useEffect as $hgUW1$useEffect, useContext as $hgUW1$useContext, useMemo as $hgUW1$useMemo, useCallback as $hgUW1$useCallback} from "react";
5
5
  import {NavLink as $hgUW1$NavLink, useLocation as $hgUW1$useLocation, useSearchParams as $hgUW1$useSearchParams, Link as $hgUW1$Link, useNavigate as $hgUW1$useNavigate} from "react-router-dom";
6
6
  import $hgUW1$qs from "qs";
@@ -9,6 +9,7 @@ import {useQuery as $hgUW1$useQuery, QueryClient as $hgUW1$QueryClient, QueryCli
9
9
  import {useMediaQuery as $hgUW1$useMediaQuery} from "react-responsive";
10
10
  import $hgUW1$dompurify from "dompurify";
11
11
  import $hgUW1$lodashtruncate from "lodash.truncate";
12
+ import $hgUW1$moment from "moment";
12
13
  import $hgUW1$swaggeruireact from "swagger-ui-react";
13
14
  import {SpanOpenAPIVersion as $hgUW1$SpanOpenAPIVersion, SpanVersionStamp as $hgUW1$SpanVersionStamp} from "@civicactions/swagger-ui-layout";
14
15
  import "swagger-ui-react/swagger-ui.css";
@@ -41,7 +42,7 @@ function $e49d4387bed21287$export$2e2bcd8739ae039() {
41
42
  /*#__PURE__*/ (0, $hgUW1$jsx)("strong", {
42
43
  children: "offset"
43
44
  }),
44
- ' ',
45
+ " ",
45
46
  "parameters to iterate through result sets that are larger than the row limit when running queries against the datastore API."
46
47
  ]
47
48
  })
@@ -72,7 +73,7 @@ var $3c72c298c3a7f21f$export$2e2bcd8739ae039 = $3c72c298c3a7f21f$var$HeaderTagli
72
73
  const $1555e1cb3eb7b3e3$var$HeaderNavIconLink = (props)=>{
73
74
  const { url: url, urlTitle: urlTitle, logoFilePath: logoFilePath, logoAltText: logoAltText, backArrow: backArrow } = props;
74
75
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
75
- className: `dkan-c-header-nav-icon-link ${backArrow ? 'show-back-arrow' : ''} ds-u-valign--middle `,
76
+ className: `dkan-c-header-nav-icon-link ${backArrow ? "show-back-arrow" : ""} ds-u-valign--middle `,
76
77
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("a", {
77
78
  href: url,
78
79
  title: urlTitle,
@@ -232,7 +233,7 @@ const $046ded0064bd0a3d$var$FAQAccordion = (props)=>{
232
233
  type: "button",
233
234
  variation: "ghost",
234
235
  onClick: ()=>toggleAll(),
235
- children: `${expanded ? 'Collapse' : 'Expand'} all FAQs`
236
+ children: `${expanded ? "Collapse" : "Expand"} all FAQs`
236
237
  }),
237
238
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Accordion), {
238
239
  children: faqItems.map((faq)=>/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$AccordionItem), {
@@ -305,18 +306,18 @@ const $4808982eba3feb88$var$DatasetListSubmenuItem = (props)=>{
305
306
  minWidth: 1024
306
307
  });
307
308
  const { title: title, identifier: identifier, paginationEnabled: paginationEnabled, dataDictionaryLinks: dataDictionaryLinks } = props;
308
- let linkContainerClasses = 'ds-u-margin-bottom--2';
309
- if (dataDictionaryLinks) linkContainerClasses += ' ds-l-col--6 ds-u-padding-right--0';
310
- else linkContainerClasses += ' ds-l-col--auto ds-u-padding-left--0';
311
- let linkClasses = 'ds-u-display--block ds-u-text-align--left';
309
+ let linkContainerClasses = "ds-u-margin-bottom--2";
310
+ if (dataDictionaryLinks) linkContainerClasses += " ds-l-col--6 ds-u-padding-right--0";
311
+ else linkContainerClasses += " ds-l-col--auto ds-u-padding-left--0";
312
+ let linkClasses = "ds-u-display--block ds-u-text-align--left";
312
313
  if (desktop) {
313
- linkContainerClasses = 'ds-u-padding-x--0';
314
- linkClasses += ' ds-l-col--4 ds-l-md-col--auto';
314
+ linkContainerClasses = "ds-u-padding-x--0";
315
+ linkClasses += " ds-l-col--4 ds-l-md-col--auto";
315
316
  }
316
317
  return /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
317
318
  className: "dc-c-list-item ds-u-padding-top--4",
318
319
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
319
- className: `dc-c-searchlist-item ${paginationEnabled ? 'ds-u-border-top--1' : 'ds-u-border-bottom--1 ds-u-padding-bottom--3'}`,
320
+ className: `dc-c-searchlist-item ${paginationEnabled ? "ds-u-border-top--1" : "ds-u-border-bottom--1 ds-u-padding-bottom--3"}`,
320
321
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
321
322
  className: "ds-l-row ds-u-align-items--start",
322
323
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
@@ -388,12 +389,12 @@ async function $eff7d34c30f5a0fc$export$2d2256cb46e92ff7(rootUrl, options, ACA)
388
389
  fulltext: fulltext ? fulltext : undefined,
389
390
  ...selectedFacets,
390
391
  sort: sort ? sort : undefined,
391
- ['sort-order']: sortOrder ? sortOrder : undefined,
392
+ ["sort-order"]: sortOrder ? sortOrder : undefined,
392
393
  page: page !== 1 ? page : undefined,
393
- ['page-size']: pageSize !== 10 ? pageSize : undefined
394
+ ["page-size"]: pageSize !== 10 ? pageSize : undefined
394
395
  };
395
396
  return await (0, $hgUW1$axios).get(`${rootUrl}/search/?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA), {
396
- arrayFormat: 'comma',
397
+ arrayFormat: "comma",
397
398
  encode: false
398
399
  })}`);
399
400
  }
@@ -408,8 +409,8 @@ const $844981eac9b63865$export$eccc29c8d0ff408 = (0, $hgUW1$createContext)({
408
409
 
409
410
  const $9384a736d4d6f425$var$DatasetListSubmenu = (props)=>{
410
411
  const { rootUrl: rootUrl, enablePagination: enablePagination = true, defaultPageSize: defaultPageSize = 3, defaultSort: defaultSort = {
411
- defaultSort: 'modified',
412
- defaultOrder: 'desc'
412
+ defaultSort: "modified",
413
+ defaultOrder: "desc"
413
414
  }, dataDictionaryLinks: dataDictionaryLinks = false } = props;
414
415
  const { ACA: ACA } = (0, $hgUW1$useContext)((0, $844981eac9b63865$export$eccc29c8d0ff408));
415
416
  const defaultSortBy = "";
@@ -423,7 +424,7 @@ const $9384a736d4d6f425$var$DatasetListSubmenu = (props)=>{
423
424
  endingNumber: 0
424
425
  });
425
426
  const [noResults, setNoResults] = (0, $hgUW1$useState)(false);
426
- const [announcementText, setAnnouncementText] = (0, $hgUW1$useState)('');
427
+ const [announcementText, setAnnouncementText] = (0, $hgUW1$useState)("");
427
428
  let [searchParams, setSearchParams] = (0, $hgUW1$useSearchParams)();
428
429
  const [totalItems, setTotalItems] = (0, $hgUW1$useState)(0);
429
430
  const [page, setPage] = (0, $hgUW1$useState)(transformedParams.page ? transformedParams.page : defaultPage);
@@ -434,7 +435,7 @@ const $9384a736d4d6f425$var$DatasetListSubmenu = (props)=>{
434
435
  // Update browser URL with current search params
435
436
  const params = buildSearchParams(true);
436
437
  const url = new URL(window.location.href);
437
- window.history.pushState({}, '', `${url.origin}${url.pathname}${params}`);
438
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${params}`);
438
439
  const baseNumber = Number(totalItems) > 0 ? 1 : 0;
439
440
  const startingNumber = baseNumber + (Number(pageSize) * Number(page) - Number(pageSize));
440
441
  const endingNumber = Number(pageSize) * Number(page);
@@ -473,9 +474,9 @@ const $9384a736d4d6f425$var$DatasetListSubmenu = (props)=>{
473
474
  }
474
475
  let params = {
475
476
  sort: sort ? sort : undefined,
476
- ['sort-order']: sortOrder ? sortOrder : undefined,
477
+ ["sort-order"]: sortOrder ? sortOrder : undefined,
477
478
  page: page !== 1 ? page : undefined,
478
- ['page-size']: pageSize !== 10 ? pageSize : undefined
479
+ ["page-size"]: pageSize !== 10 ? pageSize : undefined
479
480
  };
480
481
  const { data: data, isPending: isPending, error: error } = (0, $hgUW1$useQuery)({
481
482
  queryKey: [
@@ -484,7 +485,7 @@ const $9384a736d4d6f425$var$DatasetListSubmenu = (props)=>{
484
485
  ],
485
486
  queryFn: ()=>{
486
487
  return (0, $hgUW1$axios).get(`${rootUrl}/search/?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA), {
487
- arrayFormat: 'comma',
488
+ arrayFormat: "comma",
488
489
  encode: false
489
490
  })}`);
490
491
  }
@@ -612,11 +613,11 @@ const $4f153ca537d853e5$var$SubMenu = ({ link: link, linkClasses: linkClasses, s
612
613
  function handleFocusOut(event) {
613
614
  if (currentMenu && !currentMenu.contains(event.relatedTarget)) setIsExpanded1(false);
614
615
  }
615
- document.addEventListener('mousedown', handleClickOutside);
616
- currentMenu?.addEventListener('focusout', handleFocusOut);
616
+ document.addEventListener("mousedown", handleClickOutside);
617
+ currentMenu?.addEventListener("focusout", handleFocusOut);
617
618
  return ()=>{
618
- document.removeEventListener('mousedown', handleClickOutside);
619
- if (currentMenu) currentMenu.removeEventListener('focusout', handleFocusOut);
619
+ document.removeEventListener("mousedown", handleClickOutside);
620
+ if (currentMenu) currentMenu.removeEventListener("focusout", handleFocusOut);
620
621
  };
621
622
  }, [
622
623
  isExpanded1
@@ -627,7 +628,7 @@ const $4f153ca537d853e5$var$SubMenu = ({ link: link, linkClasses: linkClasses, s
627
628
  else if (/*#__PURE__*/ (0, $hgUW1$react).isValidElement(link.submenu)) submenuBlock = $4f153ca537d853e5$var$SubMenuDynamicList(link.submenu, subLinkClasses);
628
629
  }
629
630
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("li", {
630
- className: `dkan-c-nav-submenu has-submenu${isExpanded1 ? ' open' : ''}`,
631
+ className: `dkan-c-nav-submenu has-submenu${isExpanded1 ? " open" : ""}`,
631
632
  ref: menu,
632
633
  children: [
633
634
  /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Button), {
@@ -666,12 +667,12 @@ var $4f153ca537d853e5$export$2e2bcd8739ae039 = $4f153ca537d853e5$var$SubMenu;
666
667
  const $fea9297ba4dd394c$var$HeaderSearch = (props)=>{
667
668
  const { headingText: headingText = "Dataset Search" } = props;
668
669
  const navigate = (0, $hgUW1$useNavigate)();
669
- const [modalSearchTerm, setModalSearchTerm] = (0, $hgUW1$useState)('');
670
+ const [modalSearchTerm, setModalSearchTerm] = (0, $hgUW1$useState)("");
670
671
  const [modalSearch, setModalSearch] = (0, $hgUW1$useState)(false);
671
672
  function searchForDataset(e) {
672
673
  e.preventDefault();
673
674
  if (window) {
674
- if (window.location.pathname !== '/datasets') navigate(`/datasets?fulltext=${modalSearchTerm}`);
675
+ if (window.location.pathname !== "/datasets") navigate(`/datasets?fulltext=${modalSearchTerm}`);
675
676
  else {
676
677
  window.location.search = `fulltext=${modalSearchTerm}`;
677
678
  setModalSearch(false);
@@ -738,9 +739,9 @@ const $b939b31651e82908$var$HeaderNav = (props)=>{
738
739
  const headerContext = (0, $hgUW1$react).useContext((0, $11500a65bd7d9cf1$export$2e2bcd8739ae039));
739
740
  const { links: links, topNavLinks: topNavLinks, wrapperClasses: wrapperClasses, searchInMobile: searchInMobile } = props;
740
741
  const navMenuOpenClass = `dkan-c-nav-menu--${headerContext.mobileMenuOpen ? "open" : "close"}`;
741
- const isMobileClass = `dkan-c-nav-menu--${headerContext.isMobile ? 'mobile' : 'desktop'}`;
742
- const linkClasses = 'dkan-c-header--link ds-c-button ds-c-button--ghost';
743
- const listClasses = 'dkan-c-header--link-list ';
742
+ const isMobileClass = `dkan-c-nav-menu--${headerContext.isMobile ? "mobile" : "desktop"}`;
743
+ const linkClasses = "dkan-c-header--link ds-c-button ds-c-button--ghost";
744
+ const listClasses = "dkan-c-header--link-list ";
744
745
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
745
746
  className: `dkan-c-nav-menu ${wrapperClasses} ${navMenuOpenClass} ${isMobileClass}`,
746
747
  ref: headerContext.menuRef,
@@ -910,8 +911,8 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
910
911
  const { title: title, links: links, mobileMax: mobileMax } = props;
911
912
  const active = (0, $hgUW1$useLocation)().pathname;
912
913
  const [menuOpen, setMenuOpen] = (0, $hgUW1$useState)(false);
913
- const styleClasses = 'dkan-c--sidebar-nav-wrapper ds-u-border--1 ds-u-border--color-gray-lightest ds-u-padding--2';
914
- const mobileClass = `dkan-c-sidebar-nav--${mobileMax ? 'mobile' : 'desktop'}`;
914
+ const styleClasses = "dkan-c--sidebar-nav-wrapper ds-u-border--1 ds-u-border--color-gray-lightest ds-u-padding--2";
915
+ const mobileClass = `dkan-c-sidebar-nav--${mobileMax ? "mobile" : "desktop"}`;
915
916
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
916
917
  className: `dkan-c-sidebar-nav ${mobileClass}`,
917
918
  children: [
@@ -925,7 +926,7 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
925
926
  /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Button), {
926
927
  "aria-haspopup": "true",
927
928
  variation: "ghost",
928
- "aria-expanded": `${menuOpen ? 'true' : 'false'}`,
929
+ "aria-expanded": `${menuOpen ? "true" : "false"}`,
929
930
  onDark: true,
930
931
  onClick: ()=>setMenuOpen(!menuOpen),
931
932
  children: [
@@ -934,7 +935,7 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
934
935
  children: "Toggle menu"
935
936
  }),
936
937
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$ArrowIcon), {
937
- direction: menuOpen ? 'up' : 'down'
938
+ direction: menuOpen ? "up" : "down"
938
939
  })
939
940
  ]
940
941
  })
@@ -943,7 +944,7 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
943
944
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
944
945
  className: ``,
945
946
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("nav", {
946
- className: `${styleClasses} dkan-c-sidebar-nav-menu dkan-c-sidebar-nav-menu--${menuOpen ? 'open' : 'close'}`,
947
+ className: `${styleClasses} dkan-c-sidebar-nav-menu dkan-c-sidebar-nav-menu--${menuOpen ? "open" : "close"}`,
947
948
  children: [
948
949
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
949
950
  className: "ds-u-padding--2 ds-u-border-bottom--1 ds-u-border--color-gray-lightest",
@@ -955,7 +956,7 @@ const $953b286f7778640e$var$SidebarNavigation = (props)=>{
955
956
  /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
956
957
  className: "ds-u-padding-bottom--2",
957
958
  children: links.map(({ url: url, label: label })=>/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
958
- className: `ds-u-padding--1 ds-u-padding-top--2 ds-u-border-bottom--1 ds-u-border--color-gray-lightest ${active === url ? 'active' : ''}`,
959
+ className: `ds-u-padding--1 ds-u-padding-top--2 ds-u-border-bottom--1 ds-u-border--color-gray-lightest ${active === url ? "active" : ""}`,
959
960
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
960
961
  className: "ds-u-display--flex ds-u-padding-y--1",
961
962
  children: [
@@ -990,12 +991,12 @@ const $b0968edc60d7d3a4$var$SidebarPage = (props)=>{
990
991
  query: `(max-width: ${mobileMaxWidth}px)`
991
992
  });
992
993
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
993
- className: `${mobileMax ? "a" : 'ds-l-container'}`,
994
+ className: `${mobileMax ? "a" : "ds-l-container"}`,
994
995
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
995
- className: `${mobileMax ? "a" : 'ds-l-row'}`,
996
+ className: `${mobileMax ? "a" : "ds-l-row"}`,
996
997
  children: [
997
998
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
998
- className: `${mobileMax ? 'a' : "ds-l-col--4"}`,
999
+ className: `${mobileMax ? "a" : "ds-l-col--4"}`,
999
1000
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $953b286f7778640e$export$2e2bcd8739ae039), {
1000
1001
  links: links,
1001
1002
  title: menuTitle,
@@ -1018,9 +1019,9 @@ var $b0968edc60d7d3a4$export$2e2bcd8739ae039 = $b0968edc60d7d3a4$var$SidebarPage
1018
1019
 
1019
1020
 
1020
1021
 
1021
- const $59a079354baa335c$var$Hero = ({ title: title, description: description, searchUrl: searchUrl = 'datasets', searchKey: searchKey = 'fulltext', textfieldLabel: textfieldLabel = 'Search for a dataset', searchButtonText: searchButtonText = 'Search' })=>{
1022
+ const $59a079354baa335c$var$Hero = ({ title: title, description: description, searchUrl: searchUrl = "datasets", searchKey: searchKey = "fulltext", textfieldLabel: textfieldLabel = "Search for a dataset", searchButtonText: searchButtonText = "Search" })=>{
1022
1023
  const navigate = (0, $hgUW1$useNavigate)();
1023
- const [searchValue, setSearchValue] = (0, $hgUW1$react).useState('');
1024
+ const [searchValue, setSearchValue] = (0, $hgUW1$react).useState("");
1024
1025
  function submitHero(e) {
1025
1026
  e.preventDefault();
1026
1027
  navigate(`/${searchUrl}?${searchKey}=${searchValue}`);
@@ -1047,24 +1048,24 @@ const $59a079354baa335c$var$Hero = ({ title: title, description: description, se
1047
1048
  onSubmit: (e)=>submitHero(e),
1048
1049
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1049
1050
  style: {
1050
- position: 'relative'
1051
+ position: "relative"
1051
1052
  },
1052
1053
  className: "ds-l-row ds-u-align-items--stretch ds-u-margin-y--4 ds-u-flex-wrap--nowrap",
1053
1054
  children: [
1054
1055
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1055
1056
  className: "ds-u-padding--0 ds-u-margin-right--1",
1056
1057
  style: {
1057
- flex: '1 1 100%',
1058
- maxWidth: '100%'
1058
+ flex: "1 1 100%",
1059
+ maxWidth: "100%"
1059
1060
  },
1060
1061
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TextField), {
1061
1062
  label: textfieldLabel,
1062
1063
  labelClassName: "ds-u-visibility--screen-reader",
1063
1064
  name: "search_text_input",
1064
1065
  style: {
1065
- maxWidth: 'none',
1066
- height: '61px',
1067
- margin: '0 20px 0 0'
1066
+ maxWidth: "none",
1067
+ height: "61px",
1068
+ margin: "0 20px 0 0"
1068
1069
  },
1069
1070
  onChange: (e)=>setSearchValue(e.target.value)
1070
1071
  })
@@ -1106,7 +1107,7 @@ var $59a079354baa335c$export$2e2bcd8739ae039 = $59a079354baa335c$var$Hero;
1106
1107
 
1107
1108
  const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
1108
1109
  switch(props.id){
1109
- case 'overview':
1110
+ case "overview":
1110
1111
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
1111
1112
  width: "16px",
1112
1113
  height: "16px",
@@ -1148,7 +1149,7 @@ const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
1148
1149
  })
1149
1150
  ]
1150
1151
  });
1151
- case 'data-table':
1152
+ case "data-table":
1152
1153
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
1153
1154
  width: "16px",
1154
1155
  height: "12px",
@@ -1180,7 +1181,7 @@ const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
1180
1181
  })
1181
1182
  ]
1182
1183
  });
1183
- case 'api':
1184
+ case "api":
1184
1185
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
1185
1186
  width: "16px",
1186
1187
  height: "13px",
@@ -1212,7 +1213,7 @@ const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
1212
1213
  })
1213
1214
  ]
1214
1215
  });
1215
- case 'download':
1216
+ case "download":
1216
1217
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
1217
1218
  width: "16px",
1218
1219
  height: "16px",
@@ -1241,7 +1242,7 @@ const $b38839fd67928f42$var$SearchItemIcon = (props)=>{
1241
1242
  })
1242
1243
  ]
1243
1244
  });
1244
- case 'data-dictionary':
1245
+ case "data-dictionary":
1245
1246
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("svg", {
1246
1247
  width: "14px",
1247
1248
  height: "16px",
@@ -1340,14 +1341,14 @@ var $b61856b23f5f58a2$export$2e2bcd8739ae039 = $b61856b23f5f58a2$var$LargeFileDi
1340
1341
 
1341
1342
 
1342
1343
  const $bd76a91923d7e8a7$var$TransformedDate = ({ date: date, options: options = {
1343
- year: 'numeric',
1344
- month: 'long',
1345
- day: 'numeric',
1346
- timeZone: 'UTC'
1344
+ year: "numeric",
1345
+ month: "long",
1346
+ day: "numeric",
1347
+ timeZone: "UTC"
1347
1348
  } })=>{
1348
1349
  const rawDate = new Date(date);
1349
- let modifiedDate = '';
1350
- if (rawDate) modifiedDate = rawDate.toLocaleDateString('en-US', options);
1350
+ let modifiedDate = "";
1351
+ if (rawDate) modifiedDate = rawDate.toLocaleDateString("en-US", options);
1351
1352
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
1352
1353
  children: modifiedDate
1353
1354
  });
@@ -1359,13 +1360,13 @@ var $bd76a91923d7e8a7$export$2e2bcd8739ae039 = $bd76a91923d7e8a7$var$Transformed
1359
1360
 
1360
1361
 
1361
1362
  function $1a2bf34e2a8f6b80$export$59a943b34a82e690(textString, textLength = 240) {
1362
- if (!textString) return '';
1363
+ if (!textString) return "";
1363
1364
  let cleanedText = textString;
1364
- if (cleanedText.split('</p>').length > 1) cleanedText = cleanedText.split('</p>')[0];
1365
- if (cleanedText.split('<br/>').length > 1) cleanedText = cleanedText.split('<br/>')[0];
1365
+ if (cleanedText.split("</p>").length > 1) cleanedText = cleanedText.split("</p>")[0];
1366
+ if (cleanedText.split("<br/>").length > 1) cleanedText = cleanedText.split("<br/>")[0];
1366
1367
  cleanedText = (0, $hgUW1$lodashtruncate)(cleanedText, {
1367
- 'length': textLength,
1368
- 'separator': ' '
1368
+ "length": textLength,
1369
+ "separator": " "
1369
1370
  });
1370
1371
  return (0, $hgUW1$dompurify).sanitize(cleanedText, {
1371
1372
  ALLOWED_TAGS: []
@@ -1374,32 +1375,177 @@ function $1a2bf34e2a8f6b80$export$59a943b34a82e690(textString, textLength = 240)
1374
1375
 
1375
1376
 
1376
1377
 
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+ const $17711e94d2ce0ee4$var$DatasetDateItem = (props)=>{
1385
+ const { type: type, date: date, boldLabel: boldLabel = false, displayTooltips: displayTooltips = true } = props;
1386
+ const dateText = {
1387
+ modified: "Last Modified",
1388
+ released: "Released",
1389
+ refresh: "Planned Update"
1390
+ };
1391
+ const tooltipContent = {
1392
+ modified: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
1393
+ children: [
1394
+ /*#__PURE__*/ (0, $hgUW1$jsx)("strong", {
1395
+ children: "Last Modified: "
1396
+ }),
1397
+ " The date the ",
1398
+ /*#__PURE__*/ (0, $hgUW1$jsx)("br", {}),
1399
+ "dataset was last updated."
1400
+ ]
1401
+ }),
1402
+ released: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
1403
+ children: [
1404
+ /*#__PURE__*/ (0, $hgUW1$jsx)("strong", {
1405
+ children: "Released: "
1406
+ }),
1407
+ " The date the most ",
1408
+ /*#__PURE__*/ (0, $hgUW1$jsx)("br", {}),
1409
+ "recent dataset was made available",
1410
+ /*#__PURE__*/ (0, $hgUW1$jsx)("br", {}),
1411
+ "to the public."
1412
+ ]
1413
+ }),
1414
+ refresh: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
1415
+ children: [
1416
+ /*#__PURE__*/ (0, $hgUW1$jsx)("strong", {
1417
+ children: "Planned Update:"
1418
+ }),
1419
+ " The date the ",
1420
+ /*#__PURE__*/ (0, $hgUW1$jsx)("br", {}),
1421
+ "dataset is scheduled to be updated."
1422
+ ]
1423
+ })
1424
+ };
1425
+ return /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1426
+ className: `dataset-date-item${boldLabel ? " bold-label" : ""}`,
1427
+ children: [
1428
+ /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
1429
+ className: "dataset-data-item-label",
1430
+ children: [
1431
+ /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1432
+ children: dateText[type]
1433
+ }),
1434
+ ": ",
1435
+ (0, $hgUW1$moment)(date).format("MMMM D, YYYY")
1436
+ ]
1437
+ }),
1438
+ displayTooltips === true && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Tooltip), {
1439
+ "aria-label": dateText[type],
1440
+ className: "ds-c-tooltip__trigger-icon ds-u-display--inline ds-u-padding-left--0 ds-uw-padding-right--0",
1441
+ title: tooltipContent[type],
1442
+ placement: "top",
1443
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TooltipIcon), {})
1444
+ })
1445
+ ]
1446
+ });
1447
+ };
1448
+ var $17711e94d2ce0ee4$export$2e2bcd8739ae039 = $17711e94d2ce0ee4$var$DatasetDateItem;
1449
+
1450
+
1451
+ const $20de4fedf33d4f9a$var$DatasetDate = (props)=>{
1452
+ const { date: date, updatedBoldLabel: updatedBoldLabel = false, releasedBoldLabel: releasedBoldLabel = false, refreshBoldLabel: refreshBoldLabel = false, displayTooltips: displayTooltips = true } = props;
1453
+ const { modified: modified, released: released, refresh: refresh } = date;
1454
+ // Create an array of date items to render
1455
+ const dateItems = [];
1456
+ if (modified) dateItems.push(/*#__PURE__*/ (0, $hgUW1$jsx)((0, $17711e94d2ce0ee4$export$2e2bcd8739ae039), {
1457
+ displayTooltips: displayTooltips,
1458
+ type: "modified",
1459
+ date: modified,
1460
+ boldLabel: updatedBoldLabel
1461
+ }, "modified"));
1462
+ if (released) dateItems.push(/*#__PURE__*/ (0, $hgUW1$jsx)((0, $17711e94d2ce0ee4$export$2e2bcd8739ae039), {
1463
+ displayTooltips: displayTooltips,
1464
+ type: "released",
1465
+ date: released,
1466
+ boldLabel: releasedBoldLabel
1467
+ }, "released"));
1468
+ if (refresh) dateItems.push(/*#__PURE__*/ (0, $hgUW1$jsx)((0, $17711e94d2ce0ee4$export$2e2bcd8739ae039), {
1469
+ displayTooltips: displayTooltips,
1470
+ type: "refresh",
1471
+ date: refresh,
1472
+ boldLabel: refreshBoldLabel
1473
+ }, "refresh"));
1474
+ return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1475
+ className: "dataset-date",
1476
+ children: dateItems.map((item, index)=>/*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$react).Fragment, {
1477
+ children: [
1478
+ item,
1479
+ index < dateItems.length - 1 && /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1480
+ className: "bullet-point",
1481
+ children: "\u2022"
1482
+ })
1483
+ ]
1484
+ }, index))
1485
+ });
1486
+ };
1487
+ var $20de4fedf33d4f9a$export$2e2bcd8739ae039 = $20de4fedf33d4f9a$var$DatasetDate;
1488
+
1489
+
1377
1490
  const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1378
1491
  const desktop = (0, $hgUW1$useMediaQuery)({
1379
1492
  minWidth: 1024
1380
1493
  });
1381
- const { title: title, modified: modified, description: description, identifier: identifier, downloadUrl: downloadUrl, largeFile: largeFile = false, paginationEnabled: paginationEnabled, dataDictionaryLinks: dataDictionaryLinks } = props;
1382
- let linkContainerClasses = 'ds-u-margin-bottom--2';
1383
- if (dataDictionaryLinks) linkContainerClasses += ' ds-l-col--6 ds-u-padding-right--0';
1384
- else linkContainerClasses += ' ds-l-col--auto ds-u-padding-left--0';
1385
- let linkClasses = 'ds-u-display--block ds-u-text-align--left';
1494
+ const { title: title, modified: modified, description: description, url: url, downloadUrl: downloadUrl, largeFile: largeFile = false, paginationEnabled: paginationEnabled, dataDictionaryLinks: dataDictionaryLinks, refresh: refresh, released: released, showDateDetails: showDateDetails = false, showTopics: showTopics = false, theme: theme, topicSlugs: topicSlugs, location: location } = props;
1495
+ let linkContainerClasses = "ds-u-margin-bottom--2";
1496
+ if (dataDictionaryLinks) linkContainerClasses += " ds-l-col--6 ds-u-padding-right--0";
1497
+ else linkContainerClasses += " ds-l-col--auto ds-u-padding-left--0";
1498
+ let linkClasses = "ds-u-display--block ds-u-text-align--left";
1386
1499
  if (desktop) {
1387
- linkContainerClasses = 'ds-u-padding-x--0';
1388
- linkClasses += ' ds-l-col--4 ds-l-md-col--auto';
1500
+ linkContainerClasses = "ds-u-padding-x--0";
1501
+ linkClasses += " ds-l-col--4 ds-l-md-col--auto";
1389
1502
  }
1503
+ let themes;
1504
+ if (theme && showTopics) themes = /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
1505
+ className: "theme-list item-theme",
1506
+ children: theme.map((topic, index)=>{
1507
+ const title = topic || "Unknown Topic";
1508
+ const prefix = "topics";
1509
+ // Use the provided slug or fallback to a simple slug generation
1510
+ const slug = topicSlugs?.[title];
1511
+ const link = `/${prefix}/${slug}`;
1512
+ return /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1513
+ className: "ds-u-fill--primary ds-u-radius--pill",
1514
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
1515
+ to: link,
1516
+ state: {
1517
+ fromUrl: location.pathname,
1518
+ fromTitle: false,
1519
+ fromSearchList: location.pathname.includes("search")
1520
+ },
1521
+ children: title
1522
+ })
1523
+ }, `dist-${title}-${index}`);
1524
+ })
1525
+ });
1526
+ const date = {
1527
+ modified: modified,
1528
+ released: released,
1529
+ refresh: refresh
1530
+ };
1390
1531
  return /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1391
1532
  className: "dc-c-search-list-item ds-u-padding-top--3",
1392
1533
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1393
- className: `dc-c-searchlist-item ${paginationEnabled ? 'ds-u-border-top--1' : 'ds-u-border-bottom--1 ds-u-padding-bottom--3'}`,
1534
+ className: `dc-c-searchlist-item ${paginationEnabled ? "ds-u-border-top--1" : "ds-u-border-bottom--1 ds-u-padding-bottom--3"}`,
1394
1535
  children: [
1536
+ themes,
1395
1537
  /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1396
1538
  className: "ds-l-row ds-u-align-items--start",
1397
1539
  children: [
1398
- /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
1399
- id: `dataset-${identifier}-updated-date`,
1400
- className: `ds-l-col--12 ds-u-text-align--right ${paginationEnabled ? 'ds-u-padding-top--2' : 'ds-u-padding-top--0'}`,
1540
+ !showDateDetails && /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
1541
+ id: `dataset-${url}-updated-date`,
1542
+ className: `ds-l-col--12 ds-u-text-align--right ${paginationEnabled ? "ds-u-padding-top--2" : "ds-u-padding-top--0"}`,
1401
1543
  children: [
1402
- "Updated ",
1544
+ /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1545
+ className: "ds-u-font-weight--bold",
1546
+ children: "Updated:"
1547
+ }),
1548
+ " ",
1403
1549
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
1404
1550
  date: modified
1405
1551
  })
@@ -1408,8 +1554,8 @@ const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1408
1554
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
1409
1555
  className: "ds-l-col--12 ds-text-heading--2xl",
1410
1556
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
1411
- "aria-describedby": `dataset-${identifier}-updated-date`,
1412
- to: `/dataset/${identifier}`,
1557
+ "aria-describedby": `dataset-${url}-updated-date`,
1558
+ to: `${url}`,
1413
1559
  children: title
1414
1560
  })
1415
1561
  })
@@ -1423,7 +1569,7 @@ const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1423
1569
  })
1424
1570
  }),
1425
1571
  downloadUrl ? /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1426
- className: `ds-u-margin-top--3 ds-u-padding-left--0`,
1572
+ className: `ds-u-margin-top--3 ds-u-padding-left--0 download-button`,
1427
1573
  children: largeFile ? /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1428
1574
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $b61856b23f5f58a2$export$2e2bcd8739ae039), {
1429
1575
  downloadUrl: downloadUrl
@@ -1439,16 +1585,23 @@ const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1439
1585
  "Download"
1440
1586
  ]
1441
1587
  })
1442
- }) : '',
1588
+ }) : "",
1589
+ showDateDetails && /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1590
+ className: "dataset-dates",
1591
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $20de4fedf33d4f9a$export$2e2bcd8739ae039), {
1592
+ date: date,
1593
+ displayTooltips: false
1594
+ })
1595
+ }),
1443
1596
  /*#__PURE__*/ (0, $hgUW1$jsxs)("ul", {
1444
- className: `ds-l-row ds-u-padding--0 ds-u-flex-direction--row ds-u-justify-content--between ds-u-md-justify-content--start ds-u-margin-top--3 ds-u-margin-x--0 ${!dataDictionaryLinks ? 'ds-u-justify-content--center ds-u-md-justify-content--start' : ''}`,
1597
+ className: `ds-l-row ds-u-padding--0 ds-u-flex-direction--row ds-u-justify-content--between ds-u-md-justify-content--start ds-u-margin-top--3 ds-u-margin-x--0 ${!dataDictionaryLinks ? "ds-u-justify-content--center ds-u-md-justify-content--start" : ""}`,
1445
1598
  children: [
1446
1599
  /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1447
1600
  className: linkContainerClasses,
1448
1601
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1449
1602
  className: linkClasses,
1450
1603
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
1451
- to: `/dataset/${identifier}#data-table`,
1604
+ to: `${url}#data-table`,
1452
1605
  children: [
1453
1606
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $b38839fd67928f42$export$2e2bcd8739ae039), {
1454
1607
  id: "data-table"
@@ -1463,7 +1616,7 @@ const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1463
1616
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1464
1617
  className: linkClasses,
1465
1618
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
1466
- to: `/dataset/${identifier}#overview`,
1619
+ to: `${url}#overview`,
1467
1620
  children: [
1468
1621
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $b38839fd67928f42$export$2e2bcd8739ae039), {
1469
1622
  id: "overview"
@@ -1478,7 +1631,7 @@ const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1478
1631
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1479
1632
  className: linkClasses,
1480
1633
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
1481
- to: `/dataset/${identifier}#data-dictionary`,
1634
+ to: `${url}#data-dictionary`,
1482
1635
  children: [
1483
1636
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $b38839fd67928f42$export$2e2bcd8739ae039), {
1484
1637
  id: "data-dictionary"
@@ -1487,13 +1640,13 @@ const $52c6454cae137465$var$DatasetSearchListItem = (props)=>{
1487
1640
  ]
1488
1641
  })
1489
1642
  })
1490
- }) : '',
1643
+ }) : "",
1491
1644
  /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1492
1645
  className: linkContainerClasses,
1493
1646
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1494
1647
  className: linkClasses,
1495
1648
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
1496
- to: `/dataset/${identifier}#api`,
1649
+ to: `${url}#api`,
1497
1650
  children: [
1498
1651
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $b38839fd67928f42$export$2e2bcd8739ae039), {
1499
1652
  id: "api"
@@ -1518,80 +1671,6 @@ var $52c6454cae137465$export$2e2bcd8739ae039 = $52c6454cae137465$var$DatasetSear
1518
1671
 
1519
1672
 
1520
1673
 
1521
- const $c068004d499082cc$var$DatasetListItem = (props)=>{
1522
- const desktop = (0, $hgUW1$useMediaQuery)({
1523
- minWidth: 1024
1524
- });
1525
- const { title: title, modified: modified, identifier: identifier, paginationEnabled: paginationEnabled, dataDictionaryLinks: dataDictionaryLinks } = props;
1526
- let linkContainerClasses = 'ds-u-margin-bottom--2';
1527
- if (dataDictionaryLinks) linkContainerClasses += ' ds-l-col--6 ds-u-padding-right--0';
1528
- else linkContainerClasses += ' ds-l-col--auto ds-u-padding-left--0';
1529
- let linkClasses = 'ds-u-display--block ds-u-text-align--left';
1530
- if (desktop) {
1531
- linkContainerClasses = 'ds-u-padding-x--0';
1532
- linkClasses += ' ds-l-col--4 ds-l-md-col--auto';
1533
- }
1534
- return /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1535
- className: "dc-c-list-item ds-u-padding-top--4",
1536
- children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1537
- className: `dc-c-searchlist-item ${paginationEnabled ? 'ds-u-border-top--1' : 'ds-u-border-bottom--1 ds-u-padding-bottom--3'}`,
1538
- children: [
1539
- /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1540
- className: "ds-l-row ds-u-align-items--start",
1541
- children: [
1542
- /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
1543
- id: `dataset-${identifier}-updated-date`,
1544
- className: `ds-l-col--12 ds-u-text-align--left ds-text-heading--sm ${paginationEnabled ? 'ds-u-padding-top--3' : 'ds-u-padding-top--0'}`,
1545
- children: [
1546
- "Updated ",
1547
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
1548
- date: modified
1549
- })
1550
- ]
1551
- }),
1552
- /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
1553
- className: "ds-l-col--12 ds-text-heading--2xl",
1554
- children: title
1555
- })
1556
- ]
1557
- }),
1558
- /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1559
- className: "ds-l-row",
1560
- children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1561
- className: "ds-l-col--12 ds-l-md-col--12 ds-u-margin-top--2",
1562
- children: [
1563
- "The ",
1564
- title,
1565
- " dataset was updated."
1566
- ]
1567
- })
1568
- }),
1569
- /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1570
- className: "ds-l-row",
1571
- children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1572
- className: "ds-l-col--12",
1573
- children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
1574
- "aria-describedby": `dataset-${identifier}-updated-date`,
1575
- to: `/dataset/${identifier}`,
1576
- children: [
1577
- "View the Dataset for ",
1578
- title,
1579
- " "
1580
- ]
1581
- })
1582
- })
1583
- })
1584
- ]
1585
- })
1586
- });
1587
- };
1588
- var $c068004d499082cc$export$2e2bcd8739ae039 = $c068004d499082cc$var$DatasetListItem;
1589
-
1590
-
1591
-
1592
-
1593
-
1594
-
1595
1674
 
1596
1675
 
1597
1676
  const $789279954d8eff7f$var$ApiDocumentation = ({ endpoint: endpoint })=>{
@@ -1615,7 +1694,7 @@ var $789279954d8eff7f$export$2e2bcd8739ae039 = $789279954d8eff7f$var$ApiDocument
1615
1694
 
1616
1695
 
1617
1696
 
1618
- const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows, limit: limit, offset: offset, className: className = 'data-table-results' })=>{
1697
+ const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows, limit: limit, offset: offset, className: className = "data-table-results" })=>{
1619
1698
  const numTotalRows = totalRows;
1620
1699
  if (numTotalRows === 0) return /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
1621
1700
  className: className,
@@ -1633,18 +1712,18 @@ const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows, limi
1633
1712
  className: className,
1634
1713
  children: [
1635
1714
  "Displaying",
1636
- ' ',
1715
+ " ",
1637
1716
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1638
1717
  className: "ds-u-font-weight--bold",
1639
1718
  children: `${startTotal().toLocaleString()} - ${ofTotal().toLocaleString()}`
1640
1719
  }),
1641
- ' ',
1720
+ " ",
1642
1721
  "of ",
1643
1722
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
1644
1723
  className: "ds-u-font-weight--bold",
1645
1724
  children: `${numTotalRows.toLocaleString()}`
1646
1725
  }),
1647
- ' ',
1726
+ " ",
1648
1727
  "results"
1649
1728
  ]
1650
1729
  });
@@ -1670,16 +1749,16 @@ const $1e012d1e3b534af0$var$DataTableDensity = ({ setTablePadding: setTablePaddi
1670
1749
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
1671
1750
  options: [
1672
1751
  {
1673
- label: 'Tight',
1674
- value: 'ds-u-padding-y--0'
1752
+ label: "Tight",
1753
+ value: "ds-u-padding-y--0"
1675
1754
  },
1676
1755
  {
1677
- label: 'Normal',
1678
- value: 'ds-u-padding-y--1'
1756
+ label: "Normal",
1757
+ value: "ds-u-padding-y--1"
1679
1758
  },
1680
1759
  {
1681
- label: 'Expanded',
1682
- value: 'ds-u-padding-y--2'
1760
+ label: "Expanded",
1761
+ value: "ds-u-padding-y--2"
1683
1762
  }
1684
1763
  ],
1685
1764
  label: "Display density:",
@@ -1922,7 +2001,7 @@ function $aa4450dcbeef3ac0$export$385a5aba38cc3325(sortArray) {
1922
2001
  sortArray.forEach((s)=>{
1923
2002
  return newQuery.push({
1924
2003
  property: s.id,
1925
- order: s.desc ? 'desc' : 'asc'
2004
+ order: s.desc ? "desc" : "asc"
1926
2005
  });
1927
2006
  });
1928
2007
  return newQuery;
@@ -1960,103 +2039,103 @@ function $7264a673914aa746$export$e284ae5d89467c8f(date) {
1960
2039
  }
1961
2040
  function $7264a673914aa746$export$6b5e57d20078142b(value, operator) {
1962
2041
  let newValue = value;
1963
- if (Array.isArray(newValue)) newValue = newValue.join(',');
2042
+ if (Array.isArray(newValue)) newValue = newValue.join(",");
1964
2043
  // return newValue.replace(/(^\%+|\%+$)/gm, '');
1965
2044
  return newValue;
1966
2045
  }
1967
2046
  const $7264a673914aa746$export$5f89a5ae87bc48e1 = [
1968
2047
  {
1969
- label: 'Is',
1970
- value: '='
2048
+ label: "Is",
2049
+ value: "="
1971
2050
  },
1972
2051
  {
1973
- label: 'Starts With',
1974
- value: 'starts with'
2052
+ label: "Starts With",
2053
+ value: "starts with"
1975
2054
  },
1976
2055
  {
1977
- label: 'Contains',
1978
- value: 'contains'
2056
+ label: "Contains",
2057
+ value: "contains"
1979
2058
  },
1980
2059
  {
1981
- label: 'Is Not',
1982
- value: '<>'
2060
+ label: "Is Not",
2061
+ value: "<>"
1983
2062
  },
1984
2063
  {
1985
- label: 'Or',
1986
- value: 'in'
2064
+ label: "Or",
2065
+ value: "in"
1987
2066
  },
1988
2067
  {
1989
- label: 'Is',
1990
- value: '='
2068
+ label: "Is",
2069
+ value: "="
1991
2070
  },
1992
2071
  {
1993
- label: 'Is Not',
1994
- value: '<>'
2072
+ label: "Is Not",
2073
+ value: "<>"
1995
2074
  },
1996
2075
  {
1997
- label: 'Greater Than',
1998
- value: '>'
2076
+ label: "Greater Than",
2077
+ value: ">"
1999
2078
  },
2000
2079
  {
2001
- label: 'Less Than',
2002
- value: '<'
2080
+ label: "Less Than",
2081
+ value: "<"
2003
2082
  }
2004
2083
  ];
2005
2084
  function $7264a673914aa746$export$2b9377795161999(type) {
2006
2085
  switch(type){
2007
- case 'text':
2008
- case 'string':
2086
+ case "text":
2087
+ case "string":
2009
2088
  return [
2010
2089
  {
2011
- label: 'Is',
2012
- value: '='
2090
+ label: "Is",
2091
+ value: "="
2013
2092
  },
2014
2093
  {
2015
- label: 'Starts With',
2016
- value: 'starts with'
2094
+ label: "Starts With",
2095
+ value: "starts with"
2017
2096
  },
2018
2097
  {
2019
- label: 'Contains',
2020
- value: 'contains'
2098
+ label: "Contains",
2099
+ value: "contains"
2021
2100
  },
2022
2101
  {
2023
- label: 'Is Not',
2024
- value: '<>'
2102
+ label: "Is Not",
2103
+ value: "<>"
2025
2104
  },
2026
2105
  {
2027
- label: 'Or',
2028
- value: 'in'
2106
+ label: "Or",
2107
+ value: "in"
2029
2108
  }
2030
2109
  ];
2031
- case 'date':
2110
+ case "date":
2032
2111
  return [
2033
2112
  {
2034
- label: 'Is',
2035
- value: '='
2113
+ label: "Is",
2114
+ value: "="
2036
2115
  },
2037
2116
  {
2038
- label: 'Is Not',
2039
- value: '<>'
2117
+ label: "Is Not",
2118
+ value: "<>"
2040
2119
  },
2041
2120
  {
2042
- label: 'Greater Than',
2043
- value: '>'
2121
+ label: "Greater Than",
2122
+ value: ">"
2044
2123
  },
2045
2124
  {
2046
- label: 'Less Than',
2047
- value: '<'
2125
+ label: "Less Than",
2126
+ value: "<"
2048
2127
  }
2049
2128
  ];
2050
2129
  default:
2051
2130
  // These 2 should be safe for all data types
2052
2131
  return [
2053
2132
  {
2054
- label: 'Is',
2055
- value: '='
2133
+ label: "Is",
2134
+ value: "="
2056
2135
  },
2057
2136
  {
2058
- label: 'Is Not',
2059
- value: '<>'
2137
+ label: "Is Not",
2138
+ value: "<>"
2060
2139
  }
2061
2140
  ];
2062
2141
  }
@@ -2073,7 +2152,7 @@ function $7264a673914aa746$export$2b9377795161999(type) {
2073
2152
 
2074
2153
 
2075
2154
  const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: header, sortElement: sortElement, setAriaLiveFeedback: setAriaLiveFeedback })=>{
2076
- const [columnResizing, setColumnResizing] = (0, $hgUW1$useState)('');
2155
+ const [columnResizing, setColumnResizing] = (0, $hgUW1$useState)("");
2077
2156
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("th", {
2078
2157
  key: header.id,
2079
2158
  style: {
@@ -2086,13 +2165,13 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
2086
2165
  children: [
2087
2166
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
2088
2167
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
2089
- title: typeof header.column.columnDef.header === "string" ? header.column.columnDef.header : '',
2168
+ title: typeof header.column.columnDef.header === "string" ? header.column.columnDef.header : "",
2090
2169
  children: header.isPlaceholder ? null : (0, $hgUW1$flexRender)(header.column.columnDef.header, header.getContext())
2091
2170
  })
2092
2171
  }),
2093
2172
  sortElement && /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
2094
2173
  onClick: header.column.getToggleSortingHandler(),
2095
- className: header.column.getCanSort() ? `cursor-pointer select-none ds-u-focus-visible ${sortElement(header.column.getIsSorted())}` : '',
2174
+ className: header.column.getCanSort() ? `cursor-pointer select-none ds-u-focus-visible ${sortElement(header.column.getIsSorted())}` : "",
2096
2175
  "aria-label": `${header.column.columnDef.header} sort order`
2097
2176
  })
2098
2177
  ]
@@ -2100,18 +2179,18 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
2100
2179
  /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
2101
2180
  onMouseDown: header.getResizeHandler(),
2102
2181
  onTouchStart: header.getResizeHandler(),
2103
- className: `dc-c-resize-handle ds-u-focus-visible ${header.column.getIsResizing() || header.column.id == columnResizing ? 'isResizing' : ''}`,
2182
+ className: `dc-c-resize-handle ds-u-focus-visible ${header.column.getIsResizing() || header.column.id == columnResizing ? "isResizing" : ""}`,
2104
2183
  "aria-label": `Resize ${header.column.columnDef.header} column`,
2105
2184
  onKeyDown: (e)=>{
2106
2185
  const columnSizingObject = table.getState().columnSizing;
2107
2186
  switch(e.key){
2108
- case 'Enter':
2109
- case ' ':
2187
+ case "Enter":
2188
+ case " ":
2110
2189
  e.preventDefault();
2111
2190
  e.stopPropagation();
2112
2191
  if (columnResizing) {
2113
2192
  // end resizing
2114
- setColumnResizing('');
2193
+ setColumnResizing("");
2115
2194
  setAriaLiveFeedback(`${header.column.columnDef.header} dropped.`);
2116
2195
  } else {
2117
2196
  // start resizing
@@ -2119,13 +2198,13 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
2119
2198
  setAriaLiveFeedback(`${header.column.columnDef.header} grabbed.`);
2120
2199
  }
2121
2200
  break;
2122
- case 'Escape':
2201
+ case "Escape":
2123
2202
  if (columnResizing) {
2124
- setColumnResizing('');
2203
+ setColumnResizing("");
2125
2204
  setAriaLiveFeedback(`${header.column.columnDef.header} dropped.`);
2126
2205
  }
2127
2206
  break;
2128
- case 'ArrowRight':
2207
+ case "ArrowRight":
2129
2208
  e.preventDefault();
2130
2209
  e.stopPropagation();
2131
2210
  if (columnResizing) {
@@ -2134,7 +2213,7 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
2134
2213
  setAriaLiveFeedback(`${header.column.columnDef.header} has been resized. The new width is ${header.getSize()} pixels.`);
2135
2214
  }
2136
2215
  break;
2137
- case 'ArrowLeft':
2216
+ case "ArrowLeft":
2138
2217
  e.preventDefault();
2139
2218
  e.stopPropagation();
2140
2219
  if (columnResizing) {
@@ -2146,7 +2225,7 @@ const $64a351d3fd8413c3$var$HeaderResizeElement = ({ table: table, header: heade
2146
2225
  }
2147
2226
  },
2148
2227
  onBlur: ()=>{
2149
- setColumnResizing('');
2228
+ setColumnResizing("");
2150
2229
  }
2151
2230
  })
2152
2231
  ]
@@ -2195,7 +2274,7 @@ const $23763e27eda0e8d7$var$FixedSizeTHead = ({ table: table, sortElement: sortE
2195
2274
  children: header.isPlaceholder ? null : (0, $hgUW1$flexRender)(header.column.columnDef.header, header.getContext())
2196
2275
  }),
2197
2276
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
2198
- className: header.column.getCanSort() ? `cursor-pointer select-none ${sortElement(header.column.getIsSorted())}` : ''
2277
+ className: header.column.getCanSort() ? `cursor-pointer select-none ${sortElement(header.column.getIsSorted())}` : ""
2199
2278
  })
2200
2279
  ]
2201
2280
  })
@@ -2231,9 +2310,9 @@ const $5fe94aeb50e0798b$var$Card = ({ id: id, visible: visible, updateVisibility
2231
2310
  transition: transition,
2232
2311
  opacity: isDragging ? 0.7 : 1,
2233
2312
  zIndex: isDragging ? 1 : 0,
2234
- position: 'relative',
2235
- background: 'white',
2236
- touchAction: 'none'
2313
+ position: "relative",
2314
+ background: "white",
2315
+ touchAction: "none"
2237
2316
  };
2238
2317
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("li", {
2239
2318
  className: "ds-u-display--flex ds-u-justify-content--between ds-u-border-bottom--1",
@@ -2248,7 +2327,7 @@ const $5fe94aeb50e0798b$var$Card = ({ id: id, visible: visible, updateVisibility
2248
2327
  // this code forces the repaint without user interaction
2249
2328
  const target = e.target;
2250
2329
  if (isDragging && target.tagName.toLowerCase() === "label") setTimeout(()=>{
2251
- target.parentNode.querySelector('input').checked = visible;
2330
+ target.parentNode.querySelector("input").checked = visible;
2252
2331
  }, 1);
2253
2332
  },
2254
2333
  children: [
@@ -2265,7 +2344,7 @@ const $5fe94aeb50e0798b$var$Card = ({ id: id, visible: visible, updateVisibility
2265
2344
  }
2266
2345
  }),
2267
2346
  /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
2268
- className: `ds-l-col--2 dkan-manage-columns-reorder-button ${isDragging && 'grabbed'}`,
2347
+ className: `ds-l-col--2 dkan-manage-columns-reorder-button ${isDragging && "grabbed"}`,
2269
2348
  "aria-label": `Reorder ${id} column`,
2270
2349
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
2271
2350
  className: "fa fa-sort"
@@ -2287,7 +2366,7 @@ class $5d9e2ce238d53d29$var$ExcludeCheckboxKeyboardSensor extends (0, $hgUW1$Key
2287
2366
  // Custom function to exclude checkbox from keyboard dragging
2288
2367
  static activators = [
2289
2368
  {
2290
- eventName: 'onKeyDown',
2369
+ eventName: "onKeyDown",
2291
2370
  handler: ({ nativeEvent: event })=>{
2292
2371
  // prevent scrolling the list
2293
2372
  const isCheckbox = [
@@ -2310,7 +2389,7 @@ class $5d9e2ce238d53d29$var$ExcludeCheckboxPointerSensor extends (0, $hgUW1$Poin
2310
2389
  // Custom function to stop accidental checkbox clicks on pointer activation
2311
2390
  static activators = [
2312
2391
  {
2313
- eventName: 'onPointerDown',
2392
+ eventName: "onPointerDown",
2314
2393
  handler: ({ nativeEvent: event })=>{
2315
2394
  if (event.target.tagName.toLowerCase() === "input") return false;
2316
2395
  if (event.target.tagName.toLowerCase() === "label") event.target.blur();
@@ -2378,7 +2457,7 @@ const $5d9e2ce238d53d29$var$ManageColumns = ({ id: id, columns: columns, default
2378
2457
  }));
2379
2458
  };
2380
2459
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
2381
- className: `ds-c-dialog-wrap${modalOpen ? ' open' : ''}`,
2460
+ className: `ds-c-dialog-wrap${modalOpen ? " open" : ""}`,
2382
2461
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Dialog), {
2383
2462
  heading: "Manage columns",
2384
2463
  isOpen: modalOpen,
@@ -2712,12 +2791,12 @@ const $bef7bff2823feea2$var$QueryTitle = ({ conditions: conditions, schema: sche
2712
2791
  className: "ds-u-font-weight--bold",
2713
2792
  children: description
2714
2793
  }),
2715
- ' ',
2794
+ " ",
2716
2795
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
2717
2796
  className: "ds-u-font-weight--normal",
2718
2797
  children: operator.label.toUpperCase()
2719
2798
  }),
2720
- ' ',
2799
+ " ",
2721
2800
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
2722
2801
  className: "ds-u-color--success",
2723
2802
  children: formattedText
@@ -2747,7 +2826,7 @@ var $bef7bff2823feea2$export$2e2bcd8739ae039 = $bef7bff2823feea2$var$QueryTitle;
2747
2826
 
2748
2827
 
2749
2828
  function $6369abf590ca298f$var$getStartDate(condition, schema, id) {
2750
- if (schema[id].fields[condition.property].mysql_type === 'date') {
2829
+ if (schema[id].fields[condition.property].mysql_type === "date") {
2751
2830
  const newDate = new Date(condition.value.toString());
2752
2831
  if (newDate instanceof Date && !isNaN(newDate.getTime())) return newDate;
2753
2832
  }
@@ -2763,9 +2842,9 @@ const $6369abf590ca298f$var$QueryRow = ({ id: id, condition: condition, index: i
2763
2842
  });
2764
2843
  (0, $hgUW1$useEffect)(()=>{
2765
2844
  if (property !== condition.property) {
2766
- if (property) update(index, 'property', property);
2767
- else update(index, 'property', '');
2768
- if (schema[id].fields[condition.property].mysql_type === 'date') {
2845
+ if (property) update(index, "property", property);
2846
+ else update(index, "property", "");
2847
+ if (schema[id].fields[condition.property].mysql_type === "date") {
2769
2848
  if (!value) setValue(startDate.toJSON().slice(0, 10));
2770
2849
  }
2771
2850
  }
@@ -2779,16 +2858,16 @@ const $6369abf590ca298f$var$QueryRow = ({ id: id, condition: condition, index: i
2779
2858
  ]);
2780
2859
  (0, $hgUW1$useEffect)(()=>{
2781
2860
  if (operator !== condition.operator) {
2782
- if (operator) update(index, 'operator', operator);
2783
- else update(index, 'operator', '');
2861
+ if (operator) update(index, "operator", operator);
2862
+ else update(index, "operator", "");
2784
2863
  }
2785
2864
  }, [
2786
2865
  operator
2787
2866
  ]);
2788
2867
  (0, $hgUW1$useEffect)(()=>{
2789
2868
  if (value !== condition.value) {
2790
- if (value) update(index, 'value', value);
2791
- else update(index, 'value', '');
2869
+ if (value) update(index, "value", value);
2870
+ else update(index, "value", "");
2792
2871
  }
2793
2872
  }, [
2794
2873
  value
@@ -2820,7 +2899,7 @@ const $6369abf590ca298f$var$QueryRow = ({ id: id, condition: condition, index: i
2820
2899
  /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
2821
2900
  className: "ds-l-col--12 ds-l-md-col--4 ds-u-padding-x--0 ds-u-md-padding-left--2 ds-u-display--flex ds-u-justify-content--between",
2822
2901
  children: [
2823
- schema[id].fields[property].mysql_type === 'date' ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
2902
+ schema[id].fields[property].mysql_type === "date" ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
2824
2903
  children: [
2825
2904
  /*#__PURE__*/ (0, $hgUW1$jsx)("label", {
2826
2905
  className: "ds-c-label",
@@ -2881,9 +2960,9 @@ const $2eec38d4d0dbf714$var$ClearFiltersButton = ({ disabled: disabled = false,
2881
2960
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Button), {
2882
2961
  disabled: disabled,
2883
2962
  className: "ds-u-float--right ds-l-md-col--6 ds-l-col--5",
2884
- variation: small ? 'ghost' : undefined,
2963
+ variation: small ? "ghost" : undefined,
2885
2964
  onClick: ()=>clearFiltersFn(),
2886
- children: small ? 'Clear all' : 'Clear all filters'
2965
+ children: small ? "Clear all" : "Clear all filters"
2887
2966
  });
2888
2967
  };
2889
2968
  var $2eec38d4d0dbf714$export$2e2bcd8739ae039 = $2eec38d4d0dbf714$var$ClearFiltersButton;
@@ -2892,19 +2971,19 @@ var $2eec38d4d0dbf714$export$2e2bcd8739ae039 = $2eec38d4d0dbf714$var$ClearFilter
2892
2971
  function $ee4ad47aa483e5b5$var$updateQueryForDatastore(condition) {
2893
2972
  let cond = condition;
2894
2973
  delete cond.key;
2895
- if (cond.operator === '=' || cond.operator === '<>') {
2974
+ if (cond.operator === "=" || cond.operator === "<>") {
2896
2975
  if (Array.isArray(cond.value)) cond.value = cond.value.join();
2897
- cond.value = cond.value.replace(/(^\%+|\%+$)/gm, '');
2976
+ cond.value = cond.value.replace(/(^\%+|\%+$)/gm, "");
2898
2977
  }
2899
- if (cond.operator.toLowerCase() === 'like') {
2978
+ if (cond.operator.toLowerCase() === "like") {
2900
2979
  if (Array.isArray(cond.value)) cond.value = cond.value.join();
2901
- const cleanedValue = cond.value.replace(/(^\%+|\%+$)/gm, '');
2980
+ const cleanedValue = cond.value.replace(/(^\%+|\%+$)/gm, "");
2902
2981
  cond.value = `%${cleanedValue}%`;
2903
2982
  }
2904
- if (cond.operator.toLowerCase() === 'in') {
2905
- if (!Array.isArray(cond.value)) cond.value = cond.value.split(',');
2983
+ if (cond.operator.toLowerCase() === "in") {
2984
+ if (!Array.isArray(cond.value)) cond.value = cond.value.split(",");
2906
2985
  }
2907
- if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ''));
2986
+ if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ""));
2908
2987
  return cond;
2909
2988
  }
2910
2989
  const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, customColumns: customColumns, isModal: isModal = false, setPage: setPage, setOffset: setOffset })=>{
@@ -2923,7 +3002,7 @@ const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, custom
2923
3002
  } else setQueryConditions([
2924
3003
  {
2925
3004
  property: fields[0],
2926
- value: '',
3005
+ value: "",
2927
3006
  operator: (0, $7264a673914aa746$export$2b9377795161999)(schema[id].fields[fields[0]].mysql_type)[0].value,
2928
3007
  key: Date.now().toString()
2929
3008
  }
@@ -2940,7 +3019,7 @@ const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, custom
2940
3019
  ...queryConditions,
2941
3020
  {
2942
3021
  property: fields[0],
2943
- value: '',
3022
+ value: "",
2944
3023
  operator: (0, $7264a673914aa746$export$2b9377795161999)(schema[id].fields[fields[0]].mysql_type)[0].value,
2945
3024
  key: Date.now().toString()
2946
3025
  }
@@ -2971,7 +3050,7 @@ const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, custom
2971
3050
  encodeValuesOnly: true,
2972
3051
  addQueryPrefix: true
2973
3052
  });
2974
- window.history.pushState({}, '', `${url.origin}${url.pathname}${urlString}`);
3053
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
2975
3054
  };
2976
3055
  const submitConditions = (e)=>{
2977
3056
  // only update the data conditions when "Apply filters" is pressed
@@ -3124,12 +3203,12 @@ const $a35cf16d1488f54e$var$DatasetTable = ({ isModal: isModal = false, closeFul
3124
3203
  showStoredQueryDownloadButton: showStoredQueryDownloadButton
3125
3204
  }),
3126
3205
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
3127
- className: `ds-u-border-x--1 ds-u-border-bottom--1 ${isModal && 'dkan-datatable-fullscreen-mode'}`,
3206
+ className: `ds-u-border-x--1 ds-u-border-bottom--1 ${isModal && "dkan-datatable-fullscreen-mode"}`,
3128
3207
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $d98f94c79ddf4e0e$export$2e2bcd8739ae039), {
3129
3208
  canResize: true,
3130
3209
  columns: columns,
3131
3210
  sortTransform: (0, $aa4450dcbeef3ac0$export$385a5aba38cc3325),
3132
- tablePadding: 'ds-u-padding-y--2',
3211
+ tablePadding: "ds-u-padding-y--2",
3133
3212
  loading: resource.loading,
3134
3213
  isModal: isModal,
3135
3214
  closeFullScreenModal: closeFullScreenModal
@@ -3162,7 +3241,7 @@ var $a35cf16d1488f54e$export$2e2bcd8739ae039 = $a35cf16d1488f54e$var$DatasetTabl
3162
3241
 
3163
3242
  const $16bd41951b91f02d$var$FullScreenDataTable = ({ modalOpen: modalOpen, setModalOpen: setModalOpen })=>{
3164
3243
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
3165
- className: `ds-c-dialog-wrap${modalOpen ? ' open' : ''}`,
3244
+ className: `ds-c-dialog-wrap${modalOpen ? " open" : ""}`,
3166
3245
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dialog), {
3167
3246
  heading: "Dataset Explorer",
3168
3247
  isOpen: modalOpen,
@@ -3212,7 +3291,7 @@ const $71b4324f265dec16$var$DataTableControls = ({ id: id, columns: columns, def
3212
3291
  ]
3213
3292
  }),
3214
3293
  /*#__PURE__*/ (0, $hgUW1$jsxs)("button", {
3215
- "aria-label": isModal ? 'Close Full Screen dialog' : 'Full Screen mode - Opens in a dialog',
3294
+ "aria-label": isModal ? "Close Full Screen dialog" : "Full Screen mode - Opens in a dialog",
3216
3295
  className: "ds-c-button ds-c-button--ghost ds-u-margin-y--1",
3217
3296
  onClick: ()=>{
3218
3297
  if (isModal) closeFullScreenModal();
@@ -3220,7 +3299,7 @@ const $71b4324f265dec16$var$DataTableControls = ({ id: id, columns: columns, def
3220
3299
  },
3221
3300
  children: [
3222
3301
  /*#__PURE__*/ (0, $hgUW1$jsx)("i", {
3223
- className: `fa ${isModal ? 'fa-compress' : 'fa-expand'} ds-u-margin-right--1`
3302
+ className: `fa ${isModal ? "fa-compress" : "fa-expand"} ds-u-margin-right--1`
3224
3303
  }),
3225
3304
  isModal ? "Exit Full Screen" : "Full Screen"
3226
3305
  ]
@@ -3257,7 +3336,7 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
3257
3336
  const { columnOrder: columnOrder, setColumnOrder: setColumnOrder, columnVisibility: columnVisibility, setColumnVisibility: setColumnVisibility } = (0, $hgUW1$useContext)((0, $ebda441784d176a5$export$2e2bcd8739ae039));
3258
3337
  const data = resource.values;
3259
3338
  const [sorting, setSorting] = (0, $hgUW1$useState)([]);
3260
- const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)('');
3339
+ const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)("");
3261
3340
  const dataTableWrapperElement = (0, $hgUW1$useRef)(null);
3262
3341
  const columnHelper = (0, $hgUW1$createColumnHelper)();
3263
3342
  const table_columns = columns.map((col)=>{
@@ -3276,9 +3355,9 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
3276
3355
  columnOrder
3277
3356
  ]);
3278
3357
  const sortElement = (isSorted, onClickFn)=>{
3279
- if (isSorted === 'asc') return 'dc-c-sort--asc';
3280
- if (isSorted === 'desc') return 'dc-c-sort--desc';
3281
- return 'dc-c-sort--default';
3358
+ if (isSorted === "asc") return "dc-c-sort--asc";
3359
+ if (isSorted === "desc") return "dc-c-sort--desc";
3360
+ return "dc-c-sort--default";
3282
3361
  };
3283
3362
  const filters = [];
3284
3363
  const table = (0, $hgUW1$useReactTable)({
@@ -3290,7 +3369,7 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
3290
3369
  columnVisibility: columnVisibility,
3291
3370
  sorting: sorting
3292
3371
  },
3293
- columnResizeMode: 'onChange',
3372
+ columnResizeMode: "onChange",
3294
3373
  onSortingChange: setSorting,
3295
3374
  onColumnOrderChange: setColumnOrder,
3296
3375
  onColumnVisibilityChange: setColumnVisibility,
@@ -3307,7 +3386,7 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
3307
3386
  const defaultColumnOrder = (0, $hgUW1$useMemo)(()=>table_columns.map((column)=>column.accessorKey), []);
3308
3387
  const tableWrapperWidth = ()=>{
3309
3388
  if (dataTableWrapperElement.current) return dataTableWrapperElement.current.offsetWidth;
3310
- return 'auto';
3389
+ return "auto";
3311
3390
  };
3312
3391
  (0, $hgUW1$useEffect)(()=>{
3313
3392
  setHighlightRow(null);
@@ -3409,7 +3488,7 @@ function $626282d9a03c51d5$var$DefaultColumnFilter({ column: { Header: Header, a
3409
3488
  },
3410
3489
  labelClassName: "ds-u-visibility--screen-reader",
3411
3490
  name: accessor,
3412
- value: filterValue || ''
3491
+ value: filterValue || ""
3413
3492
  });
3414
3493
  }
3415
3494
  const $626282d9a03c51d5$var$ResourcePreview = ({ tablePadding: tablePadding, id: id, canResize: canResize = true })=>{
@@ -3485,7 +3564,7 @@ const $ec3e23baa005dc03$var$Breadcrumb = ({ currentPage: currentPage, pageTrail:
3485
3564
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
3486
3565
  children: currentPage
3487
3566
  })
3488
- }) : ''
3567
+ }) : ""
3489
3568
  ]
3490
3569
  })
3491
3570
  });
@@ -3542,11 +3621,11 @@ var $10acbeaa4d8f6040$export$2e2bcd8739ae039 = $10acbeaa4d8f6040$var$ChevronRigh
3542
3621
 
3543
3622
 
3544
3623
 
3545
- const $bdb071ea3a6d3466$var$SearchInput = ({ placeholder: placeholder = 'Search the Data', showMagnifyingGlass: showMagnifyingGlass, showSearchButton: showSearchButton, onDark: onDark, onChange: onChange, onSubmit: onSubmit, onKeyDown: onKeyDown, defaultValue: defaultValue = '' })=>/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
3624
+ const $bdb071ea3a6d3466$var$SearchInput = ({ placeholder: placeholder = "Search the Data", showMagnifyingGlass: showMagnifyingGlass, showSearchButton: showSearchButton, onDark: onDark, onChange: onChange, onSubmit: onSubmit, onKeyDown: onKeyDown, defaultValue: defaultValue = "" })=>/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
3546
3625
  className: "search-input-container",
3547
3626
  children: [
3548
3627
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TextField), {
3549
- className: `${showMagnifyingGlass ? 'left-padding' : ''} ${showSearchButton ? 'right-padding' : ''}`,
3628
+ className: `${showMagnifyingGlass ? "left-padding" : ""} ${showSearchButton ? "right-padding" : ""}`,
3550
3629
  label: placeholder,
3551
3630
  labelClassName: "ds-u-visibility--screen-reader",
3552
3631
  placeholder: placeholder,
@@ -3561,7 +3640,7 @@ const $bdb071ea3a6d3466$var$SearchInput = ({ placeholder: placeholder = 'Search
3561
3640
  }),
3562
3641
  showSearchButton && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Button), {
3563
3642
  variation: "solid",
3564
- className: onDark && 'on-dark',
3643
+ className: onDark && "on-dark",
3565
3644
  onClick: onSubmit,
3566
3645
  children: [
3567
3646
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
@@ -3680,7 +3759,7 @@ const $c96c4b9ef7203c1f$var$APIPage = ({ hideAuth: hideAuth = true, rootUrl: roo
3680
3759
  url: `${rootUrl}${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA), {
3681
3760
  addQueryPrefix: true
3682
3761
  })}`,
3683
- docExpansion: 'list',
3762
+ docExpansion: "list",
3684
3763
  defaultModelsExpandDepth: -1,
3685
3764
  plugins: [
3686
3765
  (0, $hgUW1$SpanOpenAPIVersion),
@@ -3828,7 +3907,7 @@ const $0a551147dc92a718$var$SearchButton = (props)=>{
3828
3907
  size: "big",
3829
3908
  type: "submit",
3830
3909
  style: {
3831
- width: '70px'
3910
+ width: "70px"
3832
3911
  },
3833
3912
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
3834
3913
  className: "fas fa-search small-text"
@@ -3845,7 +3924,7 @@ const $0a551147dc92a718$var$SearchButton = (props)=>{
3845
3924
  className: "full-text ds-u-display--none ds-u-sm-display--inline-block ds-u-display--flex ds-u-align-items--center",
3846
3925
  children: [
3847
3926
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
3848
- children: text ? text : 'Search'
3927
+ children: text ? text : "Search"
3849
3928
  }),
3850
3929
  ` `,
3851
3930
  /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
@@ -3891,26 +3970,26 @@ var $5723016a5461c1ca$export$2e2bcd8739ae039 = $5723016a5461c1ca$var$PageHeader;
3891
3970
 
3892
3971
  const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3893
3972
  const { rootUrl: rootUrl, enableSort: enableSort = true, enablePagination: enablePagination = true, defaultPageSize: defaultPageSize = 10, defaultSort: defaultSort = {
3894
- defaultSort: 'modified',
3895
- defaultOrder: 'desc'
3896
- }, pageTitle: pageTitle = 'Dataset Explorer', filterTitle: filterTitle = 'Tags', showLargeFileWarning: showLargeFileWarning = false, largeFileThemes: largeFileThemes, introText: introText = '', showDownloadIcon: showDownloadIcon = false, altMobileSearchButton: altMobileSearchButton, dataDictionaryLinks: dataDictionaryLinks = false } = props;
3973
+ defaultSort: "modified",
3974
+ defaultOrder: "desc"
3975
+ }, pageTitle: pageTitle = "Dataset Explorer", filterTitle: filterTitle = "Tags", showLargeFileWarning: showLargeFileWarning = false, largeFileThemes: largeFileThemes, introText: introText = "", showDownloadIcon: showDownloadIcon = false, altMobileSearchButton: altMobileSearchButton, dataDictionaryLinks: dataDictionaryLinks = false } = props;
3897
3976
  const { ACA: ACA } = (0, $hgUW1$useContext)((0, $844981eac9b63865$export$eccc29c8d0ff408));
3898
3977
  const sortOptions = [
3899
3978
  {
3900
- label: 'Newest',
3901
- value: 'newest'
3979
+ label: "Newest",
3980
+ value: "newest"
3902
3981
  },
3903
3982
  {
3904
- label: 'Oldest',
3905
- value: 'oldest'
3983
+ label: "Oldest",
3984
+ value: "oldest"
3906
3985
  },
3907
3986
  {
3908
- label: 'Title A-Z',
3909
- value: 'titleAZ'
3987
+ label: "Title A-Z",
3988
+ value: "titleAZ"
3910
3989
  },
3911
3990
  {
3912
- label: 'Title Z-A',
3913
- value: 'titleZA'
3991
+ label: "Title Z-A",
3992
+ value: "titleZA"
3914
3993
  }
3915
3994
  ];
3916
3995
  const defaultSortBy = "";
@@ -3929,7 +4008,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3929
4008
  endingNumber: 0
3930
4009
  });
3931
4010
  const [noResults, setNoResults] = (0, $hgUW1$useState)(false);
3932
- const [announcementText, setAnnouncementText] = (0, $hgUW1$useState)('');
4011
+ const [announcementText, setAnnouncementText] = (0, $hgUW1$useState)("");
3933
4012
  let [searchParams, setSearchParams] = (0, $hgUW1$useSearchParams)();
3934
4013
  const [fulltext, setFullText] = (0, $hgUW1$useState)(transformedParams.fulltext);
3935
4014
  const [filterText, setFilterText] = (0, $hgUW1$useState)(transformedParams.fulltext);
@@ -3938,7 +4017,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3938
4017
  const [sort, setSort] = (0, $hgUW1$useState)(transformedParams.sort ? transformedParams.sort : defaultSort ? defaultSort.defaultSort : defaultSortBy);
3939
4018
  const [sortOrder, setSortOrder] = (0, $hgUW1$useState)(transformedParams.sortOrder ? transformedParams.sortOrder : defaultSort ? defaultSort.defaultOrder : defaultSortOrder);
3940
4019
  const [sortDisplay, setSortDisplay] = (0, $hgUW1$useState)(()=>{
3941
- return sort === 'modified' ? sortOrder === 'desc' ? 'newest' : 'oldest' : sortOrder === 'desc' ? 'titleZA' : 'titleAZ';
4020
+ return sort === "modified" ? sortOrder === "desc" ? "newest" : "oldest" : sortOrder === "desc" ? "titleZA" : "titleAZ";
3942
4021
  });
3943
4022
  const [selectedFacets, setSelectedFacets] = (0, $hgUW1$useState)(transformedParams.selectedFacets ? transformedParams.selectedFacets : {
3944
4023
  theme: [],
@@ -3947,21 +4026,21 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3947
4026
  const setSortOptions = (value)=>{
3948
4027
  setSortDisplay(value);
3949
4028
  switch(value){
3950
- case 'newest':
3951
- setSort('modified');
3952
- setSortOrder('desc');
4029
+ case "newest":
4030
+ setSort("modified");
4031
+ setSortOrder("desc");
3953
4032
  break;
3954
- case 'oldest':
3955
- setSort('modified');
3956
- setSortOrder('asc');
4033
+ case "oldest":
4034
+ setSort("modified");
4035
+ setSortOrder("asc");
3957
4036
  break;
3958
- case 'titleAZ':
3959
- setSort('title');
3960
- setSortOrder('asc');
4037
+ case "titleAZ":
4038
+ setSort("title");
4039
+ setSortOrder("asc");
3961
4040
  break;
3962
- case 'titleZA':
3963
- setSort('title');
3964
- setSortOrder('desc');
4041
+ case "titleZA":
4042
+ setSort("title");
4043
+ setSortOrder("desc");
3965
4044
  break;
3966
4045
  }
3967
4046
  };
@@ -3969,12 +4048,12 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3969
4048
  const newFacets = {
3970
4049
  ...selectedFacets
3971
4050
  };
3972
- if (key === 'theme') {
4051
+ if (key === "theme") {
3973
4052
  const existingFacet = newFacets.theme.findIndex((s)=>s === value);
3974
4053
  if (existingFacet > -1) newFacets.theme.splice(existingFacet, 1);
3975
4054
  else newFacets.theme.push(value);
3976
4055
  }
3977
- if (key === 'keyword') {
4056
+ if (key === "keyword") {
3978
4057
  const existingFacet = newFacets.keyword.findIndex((s)=>s === value);
3979
4058
  if (existingFacet > -1) newFacets.keyword.splice(existingFacet, 1);
3980
4059
  else newFacets.keyword.push(value);
@@ -3988,14 +4067,14 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
3988
4067
  });
3989
4068
  setSelectedFacets(newFacets);
3990
4069
  const url = new URL(window.location.href);
3991
- window.history.pushState({}, '', `${url.origin}${url.pathname}${urlString}`);
4070
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
3992
4071
  }
3993
4072
  const pageSize = defaultPageSize;
3994
4073
  (0, $hgUW1$useEffect)(()=>{
3995
4074
  // Update browser URL with current search params
3996
4075
  const params = buildSearchParams(true);
3997
4076
  const url = new URL(window.location.href);
3998
- window.history.pushState({}, '', `${url.origin}${url.pathname}${params}`);
4077
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${params}`);
3999
4078
  const baseNumber = Number(totalItems) > 0 ? 1 : 0;
4000
4079
  const startingNumber = baseNumber + (Number(pageSize) * Number(page) - Number(pageSize));
4001
4080
  const endingNumber = Number(pageSize) * Number(page);
@@ -4034,14 +4113,14 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
4034
4113
  setSelectedFacets(defaultSelectedFacets);
4035
4114
  setPage(defaultPage);
4036
4115
  const url = new URL(window.location.href);
4037
- window.history.pushState({}, '', `${url.origin}${url.pathname}`);
4116
+ window.history.pushState({}, "", `${url.origin}${url.pathname}`);
4038
4117
  }
4039
4118
  function buildSearchParams(includePage) {
4040
4119
  let newParams = {};
4041
4120
  if (Number(page) !== 1 && includePage) newParams.page = page;
4042
4121
  if (sort !== defaultSort.defaultSort) newParams.sort = sort;
4043
4122
  if (sortOrder !== defaultSort.defaultOrder) newParams.sortOrder = sortOrder;
4044
- if (fulltext !== '') newParams.fulltext = fulltext;
4123
+ if (fulltext !== "") newParams.fulltext = fulltext;
4045
4124
  if (Object.keys(selectedFacets).length) Object.keys(selectedFacets).forEach((key)=>{
4046
4125
  newParams[key] = selectedFacets[key];
4047
4126
  });
@@ -4054,9 +4133,9 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
4054
4133
  fulltext: fulltext ? fulltext : undefined,
4055
4134
  ...selectedFacets,
4056
4135
  sort: sort ? sort : undefined,
4057
- ['sort-order']: sortOrder ? sortOrder : undefined,
4136
+ ["sort-order"]: sortOrder ? sortOrder : undefined,
4058
4137
  page: page !== 1 ? page : undefined,
4059
- ['page-size']: pageSize !== 10 ? pageSize : undefined
4138
+ ["page-size"]: pageSize !== 10 ? pageSize : undefined
4060
4139
  };
4061
4140
  const { data: data, isPending: isPending, error: error } = (0, $hgUW1$useQuery)({
4062
4141
  queryKey: [
@@ -4065,7 +4144,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
4065
4144
  ],
4066
4145
  queryFn: ()=>{
4067
4146
  return (0, $hgUW1$axios).get(`${rootUrl}/search/?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA), {
4068
- arrayFormat: 'comma',
4147
+ arrayFormat: "comma",
4069
4148
  encode: false
4070
4149
  })}`);
4071
4150
  }
@@ -4116,7 +4195,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
4116
4195
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TextField), {
4117
4196
  fieldClassName: "ds-u-margin--0",
4118
4197
  value: filterText,
4119
- className: `ds-u-padding-right--2 ${altMobileSearchButton ? 'ds-l-col--12 ds-l-md-col--10 --alt-style' : 'ds-l-col--10'}`,
4198
+ className: `ds-u-padding-right--2 ${altMobileSearchButton ? "ds-l-col--12 ds-l-md-col--10 --alt-style" : "ds-l-col--10"}`,
4120
4199
  label: "Search datasets",
4121
4200
  labelClassName: "ds-u-visibility--screen-reader",
4122
4201
  placeholder: "Search datasets",
@@ -4178,7 +4257,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
4178
4257
  "Showing ",
4179
4258
  currentResultNumbers.startingNumber,
4180
4259
  " -",
4181
- ' ',
4260
+ " ",
4182
4261
  currentResultNumbers.endingNumber,
4183
4262
  " of ",
4184
4263
  data.data.total,
@@ -4232,11 +4311,14 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
4232
4311
  title: item.title,
4233
4312
  modified: item.modified,
4234
4313
  description: item.description,
4235
- identifier: item.identifier,
4314
+ url: `/dataset/${item.identifier}`,
4236
4315
  downloadUrl: showDownloadIcon ? getDownloadUrl(item) : null,
4237
4316
  largeFile: showLargeFile,
4238
4317
  paginationEnabled: enablePagination,
4239
- dataDictionaryLinks: dataDictionaryLinks
4318
+ dataDictionaryLinks: dataDictionaryLinks,
4319
+ location: {
4320
+ pathname: window.location.pathname
4321
+ }
4240
4322
  }, item.identifier);
4241
4323
  }) : /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Alert), {
4242
4324
  variation: "error",
@@ -4254,7 +4336,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
4254
4336
  },
4255
4337
  renderHref: (page)=>{
4256
4338
  const searchParams = buildSearchParams(false);
4257
- const includeAnd = searchParams ? '&' : '';
4339
+ const includeAnd = searchParams ? "&" : "";
4258
4340
  return `/datasets?page=${page}${includeAnd}${searchParams}`;
4259
4341
  }
4260
4342
  })
@@ -4286,29 +4368,104 @@ var $e873081a6e8f024e$export$2e2bcd8739ae039 = (0, $61ff88fb3f6ee2c8$export$2e2b
4286
4368
 
4287
4369
 
4288
4370
 
4371
+ const $c068004d499082cc$var$DatasetListItem = (props)=>{
4372
+ const desktop = (0, $hgUW1$useMediaQuery)({
4373
+ minWidth: 1024
4374
+ });
4375
+ const { title: title, modified: modified, identifier: identifier, paginationEnabled: paginationEnabled, dataDictionaryLinks: dataDictionaryLinks } = props;
4376
+ let linkContainerClasses = "ds-u-margin-bottom--2";
4377
+ if (dataDictionaryLinks) linkContainerClasses += " ds-l-col--6 ds-u-padding-right--0";
4378
+ else linkContainerClasses += " ds-l-col--auto ds-u-padding-left--0";
4379
+ let linkClasses = "ds-u-display--block ds-u-text-align--left";
4380
+ if (desktop) {
4381
+ linkContainerClasses = "ds-u-padding-x--0";
4382
+ linkClasses += " ds-l-col--4 ds-l-md-col--auto";
4383
+ }
4384
+ return /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
4385
+ className: "dc-c-list-item ds-u-padding-top--4",
4386
+ children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
4387
+ className: `dc-c-searchlist-item ${paginationEnabled ? "ds-u-border-top--1" : "ds-u-border-bottom--1 ds-u-padding-bottom--3"}`,
4388
+ children: [
4389
+ /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
4390
+ className: "ds-l-row ds-u-align-items--start",
4391
+ children: [
4392
+ /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
4393
+ id: `dataset-${identifier}-updated-date`,
4394
+ className: `ds-l-col--12 ds-u-text-align--left ds-text-heading--sm ${paginationEnabled ? "ds-u-padding-top--3" : "ds-u-padding-top--0"}`,
4395
+ children: [
4396
+ "Updated ",
4397
+ /*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
4398
+ date: modified
4399
+ })
4400
+ ]
4401
+ }),
4402
+ /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
4403
+ className: "ds-l-col--12 ds-text-heading--2xl",
4404
+ children: title
4405
+ })
4406
+ ]
4407
+ }),
4408
+ /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4409
+ className: "ds-l-row",
4410
+ children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
4411
+ className: "ds-l-col--12 ds-l-md-col--12 ds-u-margin-top--2",
4412
+ children: [
4413
+ "The ",
4414
+ title,
4415
+ " dataset was updated."
4416
+ ]
4417
+ })
4418
+ }),
4419
+ /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4420
+ className: "ds-l-row",
4421
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4422
+ className: "ds-l-col--12",
4423
+ children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
4424
+ "aria-describedby": `dataset-${identifier}-updated-date`,
4425
+ to: `/dataset/${identifier}`,
4426
+ children: [
4427
+ "View the Dataset for ",
4428
+ title,
4429
+ " "
4430
+ ]
4431
+ })
4432
+ })
4433
+ })
4434
+ ]
4435
+ })
4436
+ });
4437
+ };
4438
+ var $c068004d499082cc$export$2e2bcd8739ae039 = $c068004d499082cc$var$DatasetListItem;
4439
+
4440
+
4441
+
4442
+
4443
+
4444
+
4445
+
4289
4446
 
4290
4447
  const $550bcc185f420ff5$var$DatasetList = (props)=>{
4291
4448
  const { rootUrl: rootUrl, enableSort: enableSort = true, enablePagination: enablePagination = true, defaultPageSize: defaultPageSize = 10, defaultSort: defaultSort = {
4292
- defaultSort: 'modified',
4293
- defaultOrder: 'desc'
4294
- }, pageTitle: pageTitle = 'What\'s New ', showLargeFileWarning: showLargeFileWarning = false, introText: introText = '', dataDictionaryLinks: dataDictionaryLinks = false } = props;
4449
+ defaultSort: "modified",
4450
+ defaultOrder: "desc"
4451
+ }, pageTitle: pageTitle = "What's New ", showLargeFileWarning: showLargeFileWarning = false, introText: introText = "", dataDictionaryLinks: dataDictionaryLinks = false } = props;
4295
4452
  const { ACA: ACA } = (0, $hgUW1$useContext)((0, $844981eac9b63865$export$eccc29c8d0ff408));
4296
4453
  const sortOptions = [
4297
4454
  {
4298
- label: 'Newest',
4299
- value: 'newest'
4455
+ label: "Newest",
4456
+ value: "newest"
4300
4457
  },
4301
4458
  {
4302
- label: 'Oldest',
4303
- value: 'oldest'
4459
+ label: "Oldest",
4460
+ value: "oldest"
4304
4461
  },
4305
4462
  {
4306
- label: 'Title A-Z',
4307
- value: 'titleAZ'
4463
+ label: "Title A-Z",
4464
+ value: "titleAZ"
4308
4465
  },
4309
4466
  {
4310
- label: 'Title Z-A',
4311
- value: 'titleZA'
4467
+ label: "Title Z-A",
4468
+ value: "titleZA"
4312
4469
  }
4313
4470
  ];
4314
4471
  const defaultSortBy = "";
@@ -4322,33 +4479,33 @@ const $550bcc185f420ff5$var$DatasetList = (props)=>{
4322
4479
  endingNumber: 0
4323
4480
  });
4324
4481
  const [noResults, setNoResults] = (0, $hgUW1$useState)(false);
4325
- const [announcementText, setAnnouncementText] = (0, $hgUW1$useState)('');
4482
+ const [announcementText, setAnnouncementText] = (0, $hgUW1$useState)("");
4326
4483
  let [searchParams, setSearchParams] = (0, $hgUW1$useSearchParams)();
4327
4484
  const [totalItems, setTotalItems] = (0, $hgUW1$useState)(0);
4328
4485
  const [page, setPage] = (0, $hgUW1$useState)(transformedParams.page ? transformedParams.page : defaultPage);
4329
4486
  const [sort, setSort] = (0, $hgUW1$useState)(transformedParams.sort ? transformedParams.sort : defaultSort ? defaultSort.defaultSort : defaultSortBy);
4330
4487
  const [sortOrder, setSortOrder] = (0, $hgUW1$useState)(transformedParams.sortOrder ? transformedParams.sortOrder : defaultSort ? defaultSort.defaultOrder : defaultSortOrder);
4331
4488
  const [sortDisplay, setSortDisplay] = (0, $hgUW1$useState)(()=>{
4332
- return sort === 'modified' ? sortOrder === 'desc' ? 'newest' : 'oldest' : sortOrder === 'desc' ? 'titleZA' : 'titleAZ';
4489
+ return sort === "modified" ? sortOrder === "desc" ? "newest" : "oldest" : sortOrder === "desc" ? "titleZA" : "titleAZ";
4333
4490
  });
4334
4491
  const setSortOptions = (value)=>{
4335
4492
  setSortDisplay(value);
4336
4493
  switch(value){
4337
- case 'newest':
4338
- setSort('modified');
4339
- setSortOrder('desc');
4494
+ case "newest":
4495
+ setSort("modified");
4496
+ setSortOrder("desc");
4340
4497
  break;
4341
- case 'oldest':
4342
- setSort('modified');
4343
- setSortOrder('asc');
4498
+ case "oldest":
4499
+ setSort("modified");
4500
+ setSortOrder("asc");
4344
4501
  break;
4345
- case 'titleAZ':
4346
- setSort('title');
4347
- setSortOrder('asc');
4502
+ case "titleAZ":
4503
+ setSort("title");
4504
+ setSortOrder("asc");
4348
4505
  break;
4349
- case 'titleZA':
4350
- setSort('title');
4351
- setSortOrder('desc');
4506
+ case "titleZA":
4507
+ setSort("title");
4508
+ setSortOrder("desc");
4352
4509
  break;
4353
4510
  }
4354
4511
  };
@@ -4357,7 +4514,7 @@ const $550bcc185f420ff5$var$DatasetList = (props)=>{
4357
4514
  // Update browser URL with current search params
4358
4515
  const params = buildSearchParams(true);
4359
4516
  const url = new URL(window.location.href);
4360
- window.history.pushState({}, '', `${url.origin}${url.pathname}${params}`);
4517
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${params}`);
4361
4518
  const baseNumber = Number(totalItems) > 0 ? 1 : 0;
4362
4519
  const startingNumber = baseNumber + (Number(pageSize) * Number(page) - Number(pageSize));
4363
4520
  const endingNumber = Number(pageSize) * Number(page);
@@ -4396,9 +4553,9 @@ const $550bcc185f420ff5$var$DatasetList = (props)=>{
4396
4553
  }
4397
4554
  let params = {
4398
4555
  sort: sort ? sort : undefined,
4399
- ['sort-order']: sortOrder ? sortOrder : undefined,
4556
+ ["sort-order"]: sortOrder ? sortOrder : undefined,
4400
4557
  page: page !== 1 ? page : undefined,
4401
- ['page-size']: pageSize !== 10 ? pageSize : undefined
4558
+ ["page-size"]: pageSize !== 10 ? pageSize : undefined
4402
4559
  };
4403
4560
  const { data: data, isPending: isPending, error: error } = (0, $hgUW1$useQuery)({
4404
4561
  queryKey: [
@@ -4407,7 +4564,7 @@ const $550bcc185f420ff5$var$DatasetList = (props)=>{
4407
4564
  ],
4408
4565
  queryFn: ()=>{
4409
4566
  return (0, $hgUW1$axios).get(`${rootUrl}/search/?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA), {
4410
- arrayFormat: 'comma',
4567
+ arrayFormat: "comma",
4411
4568
  encode: false
4412
4569
  })}`);
4413
4570
  }
@@ -4468,7 +4625,7 @@ const $550bcc185f420ff5$var$DatasetList = (props)=>{
4468
4625
  "Showing ",
4469
4626
  currentResultNumbers.startingNumber,
4470
4627
  " -",
4471
- ' ',
4628
+ " ",
4472
4629
  currentResultNumbers.endingNumber,
4473
4630
  " of ",
4474
4631
  data.data.total,
@@ -4533,7 +4690,7 @@ const $550bcc185f420ff5$var$DatasetList = (props)=>{
4533
4690
  },
4534
4691
  renderHref: (page)=>{
4535
4692
  const searchParams = buildSearchParams(false);
4536
- const includeAnd = searchParams ? '&' : '';
4693
+ const includeAnd = searchParams ? "&" : "";
4537
4694
  return `/datasets?page=${page}${includeAnd}${searchParams}`;
4538
4695
  }
4539
4696
  })
@@ -4566,12 +4723,12 @@ var $550bcc185f420ff5$export$2e2bcd8739ae039 = (0, $61ff88fb3f6ee2c8$export$2e2b
4566
4723
 
4567
4724
  const $b4aa9c66f2e86959$var$useMetastoreDataset = (datasetId, rootAPIUrl)=>{
4568
4725
  const [dataset, setDataset] = (0, $hgUW1$useState)({
4569
- title: '',
4726
+ title: "",
4570
4727
  distribution: [],
4571
- error: '',
4572
- description: '',
4573
- identifier: '',
4574
- modified: ''
4728
+ error: "",
4729
+ description: "",
4730
+ identifier: "",
4731
+ modified: ""
4575
4732
  });
4576
4733
  const [id, setId] = (0, $hgUW1$useState)(datasetId);
4577
4734
  const [rootUrl, setRootUrl] = (0, $hgUW1$useState)(rootAPIUrl);
@@ -4581,7 +4738,7 @@ const $b4aa9c66f2e86959$var$useMetastoreDataset = (datasetId, rootAPIUrl)=>{
4581
4738
  "metastore" + id
4582
4739
  ],
4583
4740
  queryFn: ()=>{
4584
- return (0, $hgUW1$axios).get(`${rootUrl}/metastore/schemas/dataset/items/${id}?show-reference-ids${ACA ? '&' : ''}${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA))}`).then((res)=>res.data).catch((error)=>{
4741
+ return (0, $hgUW1$axios).get(`${rootUrl}/metastore/schemas/dataset/items/${id}?show-reference-ids${ACA ? "&" : ""}${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA))}`).then((res)=>res.data).catch((error)=>{
4585
4742
  return {
4586
4743
  title: dataset.title,
4587
4744
  distribution: dataset.distribution,
@@ -4647,7 +4804,7 @@ const $1d3d480a9cfaabe0$var$useDatastore = (resourceId, rootAPIUrl, options, add
4647
4804
  ...additionalParams
4648
4805
  };
4649
4806
  params = (0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA);
4650
- const paramsString = Object.keys(params).length ? `${(0, $hgUW1$qs).stringify(params)}` : '';
4807
+ const paramsString = Object.keys(params).length ? `${(0, $hgUW1$qs).stringify(params)}` : "";
4651
4808
  let enabled = false;
4652
4809
  if (id) {
4653
4810
  if (!requireConditions) enabled = true;
@@ -4727,65 +4884,65 @@ var $1d3d480a9cfaabe0$export$2e2bcd8739ae039 = $1d3d480a9cfaabe0$var$useDatastor
4727
4884
 
4728
4885
 
4729
4886
  const $28f16f59778efa64$export$82b1b1d517e5388a = {
4730
- 'R/P10Y': {
4731
- name: 'Decennial'
4887
+ "R/P10Y": {
4888
+ name: "Decennial"
4732
4889
  },
4733
- 'R/P4Y': {
4734
- name: 'Quadrennial'
4890
+ "R/P4Y": {
4891
+ name: "Quadrennial"
4735
4892
  },
4736
- 'R/P1Y': {
4737
- name: 'Annual'
4893
+ "R/P1Y": {
4894
+ name: "Annual"
4738
4895
  },
4739
- 'R/P2M': {
4740
- name: 'Bimonthly'
4896
+ "R/P2M": {
4897
+ name: "Bimonthly"
4741
4898
  },
4742
- 'R/P3.5D': {
4743
- name: 'Semiweekly'
4899
+ "R/P3.5D": {
4900
+ name: "Semiweekly"
4744
4901
  },
4745
- 'R/P1D': {
4746
- name: 'Daily'
4902
+ "R/P1D": {
4903
+ name: "Daily"
4747
4904
  },
4748
- 'R/P2W': {
4749
- name: 'Biweekly'
4905
+ "R/P2W": {
4906
+ name: "Biweekly"
4750
4907
  },
4751
- 'R/P6M': {
4752
- name: 'Semiannual'
4908
+ "R/P6M": {
4909
+ name: "Semiannual"
4753
4910
  },
4754
- 'R/P2Y': {
4755
- name: 'Biennial'
4911
+ "R/P2Y": {
4912
+ name: "Biennial"
4756
4913
  },
4757
- 'R/P3Y': {
4758
- name: 'Triennial'
4914
+ "R/P3Y": {
4915
+ name: "Triennial"
4759
4916
  },
4760
- 'R/P0.33W': {
4761
- name: 'Three times a week'
4917
+ "R/P0.33W": {
4918
+ name: "Three times a week"
4762
4919
  },
4763
- 'R/P0.33M': {
4764
- name: 'Three times a month'
4920
+ "R/P0.33M": {
4921
+ name: "Three times a month"
4765
4922
  },
4766
- 'R/PT1S': {
4767
- name: 'Continuously updated'
4923
+ "R/PT1S": {
4924
+ name: "Continuously updated"
4768
4925
  },
4769
- 'R/P1M': {
4770
- name: 'Monthly'
4926
+ "R/P1M": {
4927
+ name: "Monthly"
4771
4928
  },
4772
- 'R/P3M': {
4773
- name: 'Quarterly'
4929
+ "R/P3M": {
4930
+ name: "Quarterly"
4774
4931
  },
4775
- 'R/P0.5M': {
4776
- name: 'Semimonthly'
4932
+ "R/P0.5M": {
4933
+ name: "Semimonthly"
4777
4934
  },
4778
- 'R/P4M': {
4779
- name: 'Three times a year'
4935
+ "R/P4M": {
4936
+ name: "Three times a year"
4780
4937
  },
4781
- 'R/P1W': {
4782
- name: 'Weekly'
4938
+ "R/P1W": {
4939
+ name: "Weekly"
4783
4940
  },
4784
- 'R/PT1H': {
4785
- name: 'Hourly'
4941
+ "R/PT1H": {
4942
+ name: "Hourly"
4786
4943
  },
4787
4944
  irregular: {
4788
- name: 'Irregular'
4945
+ name: "Irregular"
4789
4946
  }
4790
4947
  };
4791
4948
 
@@ -4794,7 +4951,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4794
4951
  modified: (data)=>{
4795
4952
  return [
4796
4953
  {
4797
- label: 'Modified',
4954
+ label: "Modified",
4798
4955
  value: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
4799
4956
  date: data
4800
4957
  })
@@ -4804,7 +4961,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4804
4961
  issued: (data)=>{
4805
4962
  return [
4806
4963
  {
4807
- label: 'Issued',
4964
+ label: "Issued",
4808
4965
  value: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $bd76a91923d7e8a7$export$2e2bcd8739ae039), {
4809
4966
  date: data
4810
4967
  })
@@ -4814,7 +4971,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4814
4971
  accrualPeriodicity: (data)=>{
4815
4972
  return [
4816
4973
  {
4817
- label: 'Frequency',
4974
+ label: "Frequency",
4818
4975
  value: (0, $28f16f59778efa64$export$82b1b1d517e5388a)[data].name
4819
4976
  }
4820
4977
  ];
@@ -4822,7 +4979,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4822
4979
  publisher: (data)=>{
4823
4980
  if (data.data && data.data.name) return [
4824
4981
  {
4825
- label: 'Publisher',
4982
+ label: "Publisher",
4826
4983
  value: data.data.name
4827
4984
  }
4828
4985
  ];
@@ -4831,7 +4988,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4831
4988
  identifier: (data)=>{
4832
4989
  return [
4833
4990
  {
4834
- label: 'Identifier',
4991
+ label: "Identifier",
4835
4992
  value: data
4836
4993
  }
4837
4994
  ];
@@ -4839,11 +4996,11 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4839
4996
  contactPoint: (data)=>{
4840
4997
  let rows = [];
4841
4998
  if (data.fn) rows.push({
4842
- label: 'Contact',
4999
+ label: "Contact",
4843
5000
  value: data.fn
4844
5001
  });
4845
5002
  if (data.hasEmail) rows.push({
4846
- label: 'Contact Email',
5003
+ label: "Contact Email",
4847
5004
  value: /*#__PURE__*/ (0, $hgUW1$jsx)("a", {
4848
5005
  href: data.hasEmail.includes("mailto:") ? data.hasEmail : `mailto:${data.hasEmail}`,
4849
5006
  children: data.hasEmail.replace("mailto:", "")
@@ -4854,7 +5011,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4854
5011
  bureauCode: (data)=>{
4855
5012
  if (data.length) return [
4856
5013
  {
4857
- label: 'Bureau Code',
5014
+ label: "Bureau Code",
4858
5015
  value: data[0]
4859
5016
  }
4860
5017
  ];
@@ -4862,7 +5019,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4862
5019
  programCode: (data)=>{
4863
5020
  if (data.length) return [
4864
5021
  {
4865
- label: 'Program Code',
5022
+ label: "Program Code",
4866
5023
  value: data[0]
4867
5024
  }
4868
5025
  ];
@@ -4870,13 +5027,13 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4870
5027
  theme: (data)=>{
4871
5028
  return [
4872
5029
  {
4873
- label: 'Category',
5030
+ label: "Category",
4874
5031
  value: data.map((theme)=>/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
4875
5032
  to: `/datasets?theme[]=${theme.data}`,
4876
5033
  children: theme.data
4877
5034
  }, theme.data)).reduce((prev, curr)=>[
4878
5035
  prev,
4879
- ', ',
5036
+ ", ",
4880
5037
  curr
4881
5038
  ])
4882
5039
  }
@@ -4885,13 +5042,13 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4885
5042
  keyword: (data)=>{
4886
5043
  return [
4887
5044
  {
4888
- label: 'Tags',
5045
+ label: "Tags",
4889
5046
  value: data.map((keyword)=>/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
4890
5047
  to: `/datasets?keyword[]=${keyword.data}`,
4891
5048
  children: keyword.data
4892
5049
  }, keyword.data)).reduce((prev, curr)=>[
4893
5050
  prev,
4894
- ', ',
5051
+ ", ",
4895
5052
  curr
4896
5053
  ])
4897
5054
  }
@@ -4900,7 +5057,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4900
5057
  license: (data)=>{
4901
5058
  return [
4902
5059
  {
4903
- label: 'License',
5060
+ label: "License",
4904
5061
  value: /*#__PURE__*/ (0, $hgUW1$jsx)("a", {
4905
5062
  href: data,
4906
5063
  children: data
@@ -4911,7 +5068,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4911
5068
  accessLevel: (data)=>{
4912
5069
  return [
4913
5070
  {
4914
- label: 'Public Access Level',
5071
+ label: "Public Access Level",
4915
5072
  value: data
4916
5073
  }
4917
5074
  ];
@@ -4919,7 +5076,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4919
5076
  temporal: (data)=>{
4920
5077
  return [
4921
5078
  {
4922
- label: 'Temporal Coverage',
5079
+ label: "Temporal Coverage",
4923
5080
  value: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
4924
5081
  className: "dc-c-word-break--all",
4925
5082
  children: data
@@ -4930,7 +5087,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4930
5087
  spatial: (data)=>{
4931
5088
  return [
4932
5089
  {
4933
- label: 'Spacial/Geographical Coverage',
5090
+ label: "Spacial/Geographical Coverage",
4934
5091
  value: data
4935
5092
  }
4936
5093
  ];
@@ -4938,7 +5095,7 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
4938
5095
  references: (data)=>{
4939
5096
  return [
4940
5097
  {
4941
- label: 'Related Documents',
5098
+ label: "Related Documents",
4942
5099
  value: /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
4943
5100
  className: "ds-u-margin--0 ds-u-padding-y--0 ds-u-padding-left--2 ds-u-padding-right--0",
4944
5101
  children: data.map((item)=>/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
@@ -5019,7 +5176,7 @@ function $f764661366bd9e1b$export$ee48b7e0e4eb536e(dist) {
5019
5176
  if (dist && dist.data) {
5020
5177
  if (dist.data.format) return dist.data.format.toLowerCase();
5021
5178
  if (dist.data.mediaType) {
5022
- const mediaType = dist.data.mediaType.split('/');
5179
+ const mediaType = dist.data.mediaType.split("/");
5023
5180
  if (mediaType.length && mediaType[1]) return mediaType[1].toLowerCase();
5024
5181
  }
5025
5182
  if (dist.data["%Ref:downloadURL"].length && dist.data["%Ref:downloadURL"][0].data) {
@@ -5029,7 +5186,7 @@ function $f764661366bd9e1b$export$ee48b7e0e4eb536e(dist) {
5029
5186
  }
5030
5187
  }
5031
5188
  }
5032
- return '';
5189
+ return "";
5033
5190
  }
5034
5191
 
5035
5192
 
@@ -5073,8 +5230,8 @@ const $7357cc0f79f9c514$var$Resource = ({ distributions: distributions, resource
5073
5230
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("a", {
5074
5231
  href: dist.data.downloadURL,
5075
5232
  style: {
5076
- order: sm ? '1' : '0',
5077
- width: sm ? '100%' : 'auto'
5233
+ order: sm ? "1" : "0",
5234
+ width: sm ? "100%" : "auto"
5078
5235
  },
5079
5236
  "aria-label": `Download ${dist.data.title || title} ${fileFormat}`,
5080
5237
  className: "ds-c-button",
@@ -5087,7 +5244,7 @@ const $7357cc0f79f9c514$var$Resource = ({ distributions: distributions, resource
5087
5244
  })
5088
5245
  }),
5089
5246
  dist.data.description && /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5090
- className: 'ds-u-measure--wide ds-u-margin-bottom--7',
5247
+ className: "ds-u-measure--wide ds-u-margin-bottom--7",
5091
5248
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5092
5249
  className: "dc-c-metadata-description ds-u-margin--0",
5093
5250
  dangerouslySetInnerHTML: {
@@ -5159,7 +5316,7 @@ const $364dc44850cd8f7f$var$DatasetOverview = ({ dataset: dataset, resource: res
5159
5316
  const tooltip = tooltips.find((item)=>item.label === r.label.toLowerCase());
5160
5317
  return /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableRow), {
5161
5318
  children: [
5162
- md ? '' : /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableCell), {
5319
+ md ? "" : /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableCell), {
5163
5320
  component: "th",
5164
5321
  className: "ds-u-font-weight--bold",
5165
5322
  children: [
@@ -5170,8 +5327,8 @@ const $364dc44850cd8f7f$var$DatasetOverview = ({ dataset: dataset, resource: res
5170
5327
  title: tooltip.title,
5171
5328
  // @ts-ignore
5172
5329
  style: {
5173
- border: 'none',
5174
- background: 'none'
5330
+ border: "none",
5331
+ background: "none"
5175
5332
  },
5176
5333
  maxWidth: "400px",
5177
5334
  placement: "auto",
@@ -5230,10 +5387,10 @@ const $cf6eaefd6b928de3$var$DatasetAPI = ({ id: id, rootUrl: rootUrl, apiUrl: ap
5230
5387
  href: apiUrl,
5231
5388
  children: [
5232
5389
  "View API",
5233
- ' ',
5390
+ " ",
5234
5391
  /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
5235
5392
  style: {
5236
- whiteSpace: 'nowrap'
5393
+ whiteSpace: "nowrap"
5237
5394
  },
5238
5395
  children: [
5239
5396
  "specification ",
@@ -5274,20 +5431,20 @@ var $cf6eaefd6b928de3$export$2e2bcd8739ae039 = $cf6eaefd6b928de3$var$DatasetAPI;
5274
5431
 
5275
5432
  const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns, tableData: tableData, pageSize: pageSize, columnFilters: columnFilters })=>{
5276
5433
  const [sorting, setSorting] = (0, $hgUW1$useState)([]);
5277
- const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)('');
5434
+ const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)("");
5278
5435
  const mobile = (0, $hgUW1$useMediaQuery)({
5279
5436
  minWidth: 0,
5280
5437
  maxWidth: 544
5281
5438
  });
5282
5439
  const sortElement = (isSorted)=>{
5283
- if (isSorted === 'asc') return 'dc-c-sort--asc';
5284
- if (isSorted === 'desc') return 'dc-c-sort--desc';
5285
- return 'dc-c-sort--default';
5440
+ if (isSorted === "asc") return "dc-c-sort--asc";
5441
+ if (isSorted === "desc") return "dc-c-sort--desc";
5442
+ return "dc-c-sort--default";
5286
5443
  };
5287
5444
  const table = (0, $hgUW1$useReactTable)({
5288
5445
  data: tableData,
5289
5446
  columns: tableColumns,
5290
- columnResizeMode: 'onChange',
5447
+ columnResizeMode: "onChange",
5291
5448
  getCoreRowModel: (0, $hgUW1$getCoreRowModel)(),
5292
5449
  getFilteredRowModel: (0, $hgUW1$getFilteredRowModel)(),
5293
5450
  getPaginationRowModel: (0, $hgUW1$getPaginationRowModel)(),
@@ -5306,49 +5463,49 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
5306
5463
  });
5307
5464
  const sortOptions = [
5308
5465
  {
5309
- value: 'default',
5310
- label: 'No Sort'
5466
+ value: "default",
5467
+ label: "No Sort"
5311
5468
  },
5312
5469
  {
5313
- value: 'titleasc',
5314
- label: 'Title A-Z'
5470
+ value: "titleasc",
5471
+ label: "Title A-Z"
5315
5472
  },
5316
5473
  {
5317
- value: 'titledesc',
5318
- label: 'Title Z-A'
5474
+ value: "titledesc",
5475
+ label: "Title Z-A"
5319
5476
  },
5320
5477
  {
5321
- value: 'typeasc',
5322
- label: 'Type A-Z'
5478
+ value: "typeasc",
5479
+ label: "Type A-Z"
5323
5480
  },
5324
5481
  {
5325
- value: 'typedesc',
5326
- label: 'Type Z-A'
5482
+ value: "typedesc",
5483
+ label: "Type Z-A"
5327
5484
  }
5328
5485
  ];
5329
5486
  const sortStatesLookup = {
5330
5487
  default: [],
5331
5488
  titleasc: [
5332
5489
  {
5333
- id: 'titleResizable',
5490
+ id: "titleResizable",
5334
5491
  desc: false
5335
5492
  }
5336
5493
  ],
5337
5494
  titledesc: [
5338
5495
  {
5339
- id: 'titleResizable',
5496
+ id: "titleResizable",
5340
5497
  desc: true
5341
5498
  }
5342
5499
  ],
5343
5500
  typeasc: [
5344
5501
  {
5345
- id: 'type',
5502
+ id: "type",
5346
5503
  desc: false
5347
5504
  }
5348
5505
  ],
5349
5506
  typedesc: [
5350
5507
  {
5351
- id: 'type',
5508
+ id: "type",
5352
5509
  desc: true
5353
5510
  }
5354
5511
  ]
@@ -5376,7 +5533,7 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
5376
5533
  /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Table), {
5377
5534
  className: "dc-c-datatable",
5378
5535
  style: {
5379
- width: '100%'
5536
+ width: "100%"
5380
5537
  },
5381
5538
  stackable: true,
5382
5539
  children: [
@@ -5392,12 +5549,12 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
5392
5549
  }, header.id + "_resize") : /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableCell), {
5393
5550
  key: header.id,
5394
5551
  className: `ds-u-border-y--2 ds-u-border--dark ds-u-border-x--0`,
5395
- id: 'dataDictionary_' + header.id,
5552
+ id: "dataDictionary_" + header.id,
5396
5553
  children: [
5397
5554
  (0, $hgUW1$flexRender)(header.column.columnDef.header, header.getContext()),
5398
- header.id === 'type' && /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
5555
+ header.id === "type" && /*#__PURE__*/ (0, $hgUW1$jsx)("button", {
5399
5556
  onClick: header.column.getToggleSortingHandler(),
5400
- className: header.column.getCanSort() ? `cursor-pointer select-none ds-u-focus-visible ${sortElement(header.column.getIsSorted())}` : '',
5557
+ className: header.column.getCanSort() ? `cursor-pointer select-none ds-u-focus-visible ${sortElement(header.column.getIsSorted())}` : "",
5401
5558
  "aria-label": `${header.column.columnDef.header} sort order`
5402
5559
  })
5403
5560
  ]
@@ -5412,12 +5569,12 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
5412
5569
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
5413
5570
  key: cell.id,
5414
5571
  style: {
5415
- maxWidth: mobile ? '100%' : cell.column.getSize(),
5416
- whiteSpace: cell.column.id === "description" ? 'pre-wrap' : 'normal'
5572
+ maxWidth: mobile ? "100%" : cell.column.getSize(),
5573
+ whiteSpace: cell.column.id === "description" ? "pre-wrap" : "normal"
5417
5574
  },
5418
- className: `${cell.column.id === 'titleResizable' ? 'ds-u-word-break' : ''}`,
5419
- headers: 'dataDictionary_' + cell.column.id,
5420
- stackedTitle: cell.column.id === 'titleResizable' ? 'Title' : cell.column.columnDef.header,
5575
+ className: `${cell.column.id === "titleResizable" ? "ds-u-word-break" : ""}`,
5576
+ headers: "dataDictionary_" + cell.column.id,
5577
+ stackedTitle: cell.column.id === "titleResizable" ? "Title" : cell.column.columnDef.header,
5421
5578
  children: (0, $hgUW1$flexRender)(cell.column.columnDef.cell, cell.getContext())
5422
5579
  });
5423
5580
  })
@@ -5446,7 +5603,7 @@ const $6765a74df807d015$var$DataDictionaryTable = ({ tableColumns: tableColumns,
5446
5603
  table.setPageIndex(page - 1);
5447
5604
  },
5448
5605
  renderHref: (page)=>`/page=${page}`
5449
- }) : ''
5606
+ }) : ""
5450
5607
  ]
5451
5608
  });
5452
5609
  };
@@ -5456,17 +5613,17 @@ var $6765a74df807d015$export$2e2bcd8739ae039 = $6765a74df807d015$var$DataDiction
5456
5613
  const $a24829b27758fe6c$var$SitewideDataDictionaryTable = ({ datasetDictionary: datasetDictionary, pageSize: pageSize })=>{
5457
5614
  const columnHelper = (0, $hgUW1$createColumnHelper)();
5458
5615
  const tableColumns = [
5459
- columnHelper.accessor('name', {
5460
- header: 'Name'
5616
+ columnHelper.accessor("name", {
5617
+ header: "Name"
5461
5618
  }),
5462
- columnHelper.accessor('title', {
5463
- header: 'Title'
5619
+ columnHelper.accessor("title", {
5620
+ header: "Title"
5464
5621
  }),
5465
- columnHelper.accessor('type', {
5466
- header: 'Type'
5622
+ columnHelper.accessor("type", {
5623
+ header: "Type"
5467
5624
  }),
5468
- columnHelper.accessor('format', {
5469
- header: 'Format'
5625
+ columnHelper.accessor("format", {
5626
+ header: "Format"
5470
5627
  })
5471
5628
  ];
5472
5629
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $6765a74df807d015$export$2e2bcd8739ae039), {
@@ -5510,7 +5667,7 @@ const $a6e312940f7003ef$var$DatasetDictionaryTable = ({ datasetDictionary: datas
5510
5667
  });
5511
5668
  const columnHelper = (0, $hgUW1$createColumnHelper)();
5512
5669
  const tableColumns = [
5513
- columnHelper.accessor('titleResizable', {
5670
+ columnHelper.accessor("titleResizable", {
5514
5671
  header: ()=>/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5515
5672
  className: "dc-c-tooltip-width-override",
5516
5673
  children: [
@@ -5519,8 +5676,8 @@ const $a6e312940f7003ef$var$DatasetDictionaryTable = ({ datasetDictionary: datas
5519
5676
  title: "Title represents the column headers of the data file",
5520
5677
  // @ts-ignore
5521
5678
  style: {
5522
- border: 'none',
5523
- background: 'none'
5679
+ border: "none",
5680
+ background: "none"
5524
5681
  },
5525
5682
  maxWidth: "400px",
5526
5683
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TooltipIcon), {})
@@ -5530,48 +5687,48 @@ const $a6e312940f7003ef$var$DatasetDictionaryTable = ({ datasetDictionary: datas
5530
5687
  size: 300,
5531
5688
  minSize: 132
5532
5689
  }),
5533
- columnHelper.accessor('description', {
5534
- header: 'Description',
5690
+ columnHelper.accessor("description", {
5691
+ header: "Description",
5535
5692
  minSize: 600
5536
5693
  }),
5537
- columnHelper.accessor('type', {
5538
- header: 'Type',
5694
+ columnHelper.accessor("type", {
5695
+ header: "Type",
5539
5696
  size: 150,
5540
5697
  enableResizing: false
5541
5698
  })
5542
5699
  ];
5543
5700
  const typeOptions = [
5544
5701
  {
5545
- value: 'all',
5546
- label: 'All Types'
5702
+ value: "all",
5703
+ label: "All Types"
5547
5704
  },
5548
5705
  {
5549
- value: 'string',
5550
- label: 'String'
5706
+ value: "string",
5707
+ label: "String"
5551
5708
  },
5552
5709
  {
5553
- value: 'date',
5554
- label: 'Date'
5710
+ value: "date",
5711
+ label: "Date"
5555
5712
  },
5556
5713
  {
5557
- value: 'datetime',
5558
- label: 'Datetime'
5714
+ value: "datetime",
5715
+ label: "Datetime"
5559
5716
  },
5560
5717
  {
5561
- value: 'year',
5562
- label: 'Year'
5718
+ value: "year",
5719
+ label: "Year"
5563
5720
  },
5564
5721
  {
5565
- value: 'integer',
5566
- label: 'Integer'
5722
+ value: "integer",
5723
+ label: "Integer"
5567
5724
  },
5568
5725
  {
5569
- value: 'number',
5570
- label: 'Number'
5726
+ value: "number",
5727
+ label: "Number"
5571
5728
  },
5572
5729
  {
5573
- value: 'boolean',
5574
- label: 'Boolean'
5730
+ value: "boolean",
5731
+ label: "Boolean"
5575
5732
  }
5576
5733
  ];
5577
5734
  return /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
@@ -5678,7 +5835,7 @@ const $6012b86ffcaf3f71$var$DataDictionary = ({ datasetDictionaryEndpoint: datas
5678
5835
  href: datasetDictionaryEndpoint + "/csv",
5679
5836
  className: "ds-c-button",
5680
5837
  style: {
5681
- width: '100%'
5838
+ width: "100%"
5682
5839
  },
5683
5840
  children: [
5684
5841
  /*#__PURE__*/ (0, $hgUW1$jsx)("i", {
@@ -5757,7 +5914,7 @@ const $2bd73bb95b0c04ed$var$DatasetDescription = ({ distribution: distribution,
5757
5914
  const [description, setDescription] = (0, $hgUW1$useState)("");
5758
5915
  if (!distribution && !dataset?.identifier) return null;
5759
5916
  (0, $hgUW1$useEffect)(()=>{
5760
- let newDescription = '';
5917
+ let newDescription = "";
5761
5918
  if (customDescription) newDescription = customDescription(dataset, distribution, resource);
5762
5919
  else {
5763
5920
  if (distribution.data && distribution.data.description) newDescription = distribution.data.description;
@@ -5772,7 +5929,7 @@ const $2bd73bb95b0c04ed$var$DatasetDescription = ({ distribution: distribution,
5772
5929
  customDescription
5773
5930
  ]);
5774
5931
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5775
- className: 'ds-u-measure--wide ds-u-margin-bottom--7',
5932
+ className: "ds-u-measure--wide ds-u-margin-bottom--7",
5776
5933
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5777
5934
  className: "ds-u-margin-top--0 dc-c-metadata-description",
5778
5935
  dangerouslySetInnerHTML: {
@@ -5794,7 +5951,7 @@ const $a0f13962e513caa1$var$getDataDictionary = (dataDictionaryUrl)=>{
5794
5951
  ],
5795
5952
  queryFn: ()=>{
5796
5953
  return fetch(`${dataDictionaryUrl}?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA), {
5797
- arrayFormat: 'comma',
5954
+ arrayFormat: "comma",
5798
5955
  encode: false
5799
5956
  })}`).then((res)=>res.json());
5800
5957
  }
@@ -5813,7 +5970,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5813
5970
  conditions: []
5814
5971
  };
5815
5972
  const { dataset: dataset, isPending: isPending } = (0, $b4aa9c66f2e86959$export$2e2bcd8739ae039)(id, rootUrl);
5816
- const title = dataset.title ? dataset.title : '';
5973
+ const title = dataset.title ? dataset.title : "";
5817
5974
  const metadataMapping = {
5818
5975
  ...(0, $6da0396069e23175$export$bc27cf7ecf44639d),
5819
5976
  ...customMetadataMapping
@@ -5821,7 +5978,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5821
5978
  let distribution = {};
5822
5979
  let distributions = dataset.distribution ? dataset.distribution : [];
5823
5980
  if (distributions.length) distribution = distributions[0];
5824
- const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)('', rootUrl, {
5981
+ const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)("", rootUrl, {
5825
5982
  ...options,
5826
5983
  limit: defaultPageSize
5827
5984
  });
@@ -5833,7 +5990,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5833
5990
  }) : null;
5834
5991
  (0, $hgUW1$useEffect)(()=>{
5835
5992
  const localFileFormat = (0, $f764661366bd9e1b$export$ee48b7e0e4eb536e)(distribution);
5836
- if (localFileFormat === 'csv') resource.setResource(distribution.identifier);
5993
+ if (localFileFormat === "csv") resource.setResource(distribution.identifier);
5837
5994
  }, [
5838
5995
  distribution
5839
5996
  ]);
@@ -5888,26 +6045,26 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5888
6045
  distribution,
5889
6046
  window.location.hash
5890
6047
  ]);
5891
- const displayDataDictionaryTab = distribution.data && distribution.data.describedBy && distribution.data.describedByType === 'application/vnd.tableschema+json' || datasetSitewideDictionary && datasetSitewideDictionary.length > 0;
6048
+ const displayDataDictionaryTab = distribution.data && distribution.data.describedBy && distribution.data.describedByType === "application/vnd.tableschema+json" || datasetSitewideDictionary && datasetSitewideDictionary.length > 0;
5892
6049
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
5893
6050
  children: dataset.error ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $026cb986f9fea2b1$export$2e2bcd8739ae039), {
5894
6051
  content: notFoundContent,
5895
6052
  siteUrl: rootUrl
5896
6053
  }) : /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5897
- className: 'ds-l-container',
6054
+ className: "ds-l-container",
5898
6055
  children: [
5899
6056
  /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5900
- className: 'ds-l-row',
6057
+ className: "ds-l-row",
5901
6058
  children: [
5902
6059
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5903
- className: 'ds-l-md-col--9',
6060
+ className: "ds-l-md-col--9",
5904
6061
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("h1", {
5905
6062
  className: "ds-text-heading--3xl",
5906
6063
  children: title
5907
6064
  })
5908
6065
  }),
5909
6066
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5910
- className: 'ds-l-md-col--12 ds-u-margin-y--1 ds-u-text-align--right',
6067
+ className: "ds-l-md-col--12 ds-u-margin-y--1 ds-u-text-align--right",
5911
6068
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("p", {
5912
6069
  className: "ds-u-margin--0",
5913
6070
  children: [
@@ -5919,7 +6076,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5919
6076
  })
5920
6077
  }),
5921
6078
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5922
- className: 'ds-l-md-col--9',
6079
+ className: "ds-l-md-col--9",
5923
6080
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $2bd73bb95b0c04ed$export$2e2bcd8739ae039), {
5924
6081
  distribution: distribution,
5925
6082
  dataset: dataset,
@@ -5931,9 +6088,9 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5931
6088
  ]
5932
6089
  }),
5933
6090
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5934
- className: 'ds-l-row',
6091
+ className: "ds-l-row",
5935
6092
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5936
- className: 'ds-l-md-col--12 dc-dataset',
6093
+ className: "ds-l-md-col--12 dc-dataset",
5937
6094
  children: !isPending && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Tabs), {
5938
6095
  onChange: (selectedId, prevSelectedId)=>{
5939
6096
  setSelectedTab(selectedId);
@@ -5941,7 +6098,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5941
6098
  selectedId: selectedTab,
5942
6099
  children: [
5943
6100
  (0, $f764661366bd9e1b$export$ee48b7e0e4eb536e)(distribution) === "csv" && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TabPanel), {
5944
- id: 'data-table',
6101
+ id: "data-table",
5945
6102
  tab: /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
5946
6103
  className: "ds-u-color--primary",
5947
6104
  children: [
@@ -5951,7 +6108,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5951
6108
  "Data Table"
5952
6109
  ]
5953
6110
  }),
5954
- className: borderlessTabs ? 'ds-u-border--0 ds-u-padding-x--0' : '',
6111
+ className: borderlessTabs ? "ds-u-border--0 ds-u-padding-x--0" : "",
5955
6112
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039).Provider, {
5956
6113
  value: {
5957
6114
  id: id,
@@ -5966,7 +6123,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5966
6123
  })
5967
6124
  }),
5968
6125
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TabPanel), {
5969
- id: 'overview',
6126
+ id: "overview",
5970
6127
  tab: /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
5971
6128
  className: "ds-u-color--primary",
5972
6129
  children: [
@@ -5976,7 +6133,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5976
6133
  "Overview"
5977
6134
  ]
5978
6135
  }),
5979
- className: borderlessTabs ? 'ds-u-border--0 ds-u-padding-x--0' : '',
6136
+ className: borderlessTabs ? "ds-u-border--0 ds-u-padding-x--0" : "",
5980
6137
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $364dc44850cd8f7f$export$2e2bcd8739ae039), {
5981
6138
  resource: resource,
5982
6139
  dataset: dataset,
@@ -5985,7 +6142,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5985
6142
  })
5986
6143
  }),
5987
6144
  !hideDataDictionary && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TabPanel), {
5988
- id: 'data-dictionary',
6145
+ id: "data-dictionary",
5989
6146
  tab: /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
5990
6147
  className: "ds-u-color--primary",
5991
6148
  children: [
@@ -5995,7 +6152,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
5995
6152
  "Data Dictionary"
5996
6153
  ]
5997
6154
  }),
5998
- className: borderlessTabs ? 'ds-u-border--0 ds-u-padding-x--0' : '',
6155
+ className: borderlessTabs ? "ds-u-border--0 ds-u-padding-x--0" : "",
5999
6156
  children: [
6000
6157
  displayDataDictionaryTab && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $6012b86ffcaf3f71$export$2e2bcd8739ae039), {
6001
6158
  datasetSitewideDictionary: datasetSitewideDictionary,
@@ -6009,7 +6166,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
6009
6166
  ]
6010
6167
  }),
6011
6168
  distribution && distribution.data && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TabPanel), {
6012
- id: 'api',
6169
+ id: "api",
6013
6170
  tab: /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
6014
6171
  className: "ds-u-color--primary",
6015
6172
  children: [
@@ -6019,7 +6176,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, customColumns
6019
6176
  "API"
6020
6177
  ]
6021
6178
  }),
6022
- className: borderlessTabs ? 'ds-u-border--0 ds-u-padding-x--0' : '',
6179
+ className: borderlessTabs ? "ds-u-border--0 ds-u-padding-x--0" : "",
6023
6180
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $cf6eaefd6b928de3$export$2e2bcd8739ae039), {
6024
6181
  id: id,
6025
6182
  rootUrl: rootUrl,
@@ -6056,13 +6213,13 @@ const $b9af6ce5e2c06331$var$Header = (props)=>{
6056
6213
  });
6057
6214
  const menu = (0, $hgUW1$useRef)(null);
6058
6215
  function closeMobileMenu() {
6059
- const mobileMenuButtonElement = document.querySelector('.dkan-c-mobile-menu-button');
6216
+ const mobileMenuButtonElement = document.querySelector(".dkan-c-mobile-menu-button");
6060
6217
  if (!mobileMenuButtonElement) return;
6061
6218
  mobileMenuButtonElement.focus();
6062
6219
  }
6063
6220
  // Close mobile menu with escape.
6064
6221
  function handleMenuClose(event) {
6065
- if (event.key === 'Escape' && mobileMenuOpen) setMobileMenuOpen(false);
6222
+ if (event.key === "Escape" && mobileMenuOpen) setMobileMenuOpen(false);
6066
6223
  }
6067
6224
  function handleClick(event) {
6068
6225
  // Links are wrapped in spans, this checks if the parent is an A, also check if in the search modal.
@@ -6097,7 +6254,7 @@ const $b9af6ce5e2c06331$var$Header = (props)=>{
6097
6254
  const focusableEls = getFocusableElements(menu.current).selectors.visible;
6098
6255
  const firstEl = focusableEls[0];
6099
6256
  const lastEl = focusableEls[focusableEls.length - 1];
6100
- if (event.key === 'Tab') {
6257
+ if (event.key === "Tab") {
6101
6258
  if (event.shiftKey && document.activeElement === firstEl) {
6102
6259
  lastEl?.focus();
6103
6260
  event.preventDefault();
@@ -6109,15 +6266,15 @@ const $b9af6ce5e2c06331$var$Header = (props)=>{
6109
6266
  }
6110
6267
  };
6111
6268
  (0, $hgUW1$useEffect)(()=>{
6112
- document.addEventListener('keyup', handleMenuClose);
6113
- document.addEventListener('mousedown', handleClick);
6269
+ document.addEventListener("keyup", handleMenuClose);
6270
+ document.addEventListener("mousedown", handleClick);
6114
6271
  if (mobileMenuOpen) handleFocusIn();
6115
6272
  else closeMobileMenu();
6116
- if (menu.current) menu.current.addEventListener('keydown', (evt)=>trapFocus(evt));
6273
+ if (menu.current) menu.current.addEventListener("keydown", (evt)=>trapFocus(evt));
6117
6274
  return ()=>{
6118
- document.removeEventListener('keyup', handleMenuClose);
6119
- document.addEventListener('mousedown', handleClick);
6120
- if (menu.current) menu.current.removeEventListener('keydown', trapFocus);
6275
+ document.removeEventListener("keyup", handleMenuClose);
6276
+ document.addEventListener("mousedown", handleClick);
6277
+ if (menu.current) menu.current.removeEventListener("keydown", trapFocus);
6121
6278
  };
6122
6279
  }, [
6123
6280
  mobileMenuOpen
@@ -6132,7 +6289,7 @@ const $b9af6ce5e2c06331$var$Header = (props)=>{
6132
6289
  },
6133
6290
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("header", {
6134
6291
  "aria-label": "Site header",
6135
- className: `dkan-c-header dkan-c-header--${mobileMax ? 'mobile' : 'desktop'}`,
6292
+ className: `dkan-c-header dkan-c-header--${mobileMax ? "mobile" : "desktop"}`,
6136
6293
  children: [
6137
6294
  topNav && topNav,
6138
6295
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
@@ -6175,7 +6332,7 @@ const $24918217e48ac525$var$NavLink = ({ link: link, className: className = null
6175
6332
  var $24918217e48ac525$export$2e2bcd8739ae039 = $24918217e48ac525$var$NavLink;
6176
6333
 
6177
6334
 
6178
- const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = true, emailTitle: emailTitle = 'Get Email Updates', emailBody: emailBody = 'Sign up to get the latest information from CMS by choosing the topics and frequency of emails that are best for you.', emailLink: emailLink = '', emailButton: emailButton = 'Sign up for email updates', socialMediaLinks: socialMediaLinks = null, hhsLogo: hhsLogo, cmsLogo: cmsLogo, trademarkContent: trademarkContent = /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
6335
+ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = true, emailTitle: emailTitle = "Get Email Updates", emailBody: emailBody = "Sign up to get the latest information from CMS by choosing the topics and frequency of emails that are best for you.", emailLink: emailLink = "", emailButton: emailButton = "Sign up for email updates", socialMediaLinks: socialMediaLinks = null, hhsLogo: hhsLogo, cmsLogo: cmsLogo, trademarkContent: trademarkContent = /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
6179
6336
  children: [
6180
6337
  /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
6181
6338
  children: "A federal government website managed and paid for by the U.S. Centers for Medicare & Medicaid Services."
@@ -6263,14 +6420,14 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
6263
6420
  /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
6264
6421
  className: "ds-u-font-size--sm",
6265
6422
  children: footerAdditionalResourcesLinks.filter((link)=>{
6266
- const noOnClick = Object.keys(link).findIndex((l)=>l === 'onClick');
6423
+ const noOnClick = Object.keys(link).findIndex((l)=>l === "onClick");
6267
6424
  if (noOnClick === -1 || link.onClick && link.dataTag) return link;
6268
6425
  }).map((link)=>{
6269
6426
  if (link.onClick && link.dataTag) return /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
6270
6427
  className: "ds-u-margin-bottom--1",
6271
6428
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("a", {
6272
6429
  href: link.url,
6273
- ['data-' + link.dataTag.name]: link.dataTag.value,
6430
+ ["data-" + link.dataTag.name]: link.dataTag.value,
6274
6431
  onClick: link.onClick,
6275
6432
  children: link.label
6276
6433
  })
@@ -6370,7 +6527,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
6370
6527
  children: [
6371
6528
  /*#__PURE__*/ (0, $hgUW1$jsx)("title", {
6372
6529
  id: "svg-inline--fa-title-iRCARP7h6Kp3",
6373
- children: socialMediaLinks.facebook.title ? socialMediaLinks.facebook.title : 'CMS Facebook'
6530
+ children: socialMediaLinks.facebook.title ? socialMediaLinks.facebook.title : "CMS Facebook"
6374
6531
  }),
6375
6532
  /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
6376
6533
  transform: "translate(160 256)",
@@ -6423,7 +6580,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
6423
6580
  children: [
6424
6581
  /*#__PURE__*/ (0, $hgUW1$jsx)("title", {
6425
6582
  id: "svg-inline--fa-title-4z03ITiPPTVF",
6426
- children: socialMediaLinks.twitter.title ? socialMediaLinks.twitter.title : 'CMS Twitter'
6583
+ children: socialMediaLinks.twitter.title ? socialMediaLinks.twitter.title : "CMS Twitter"
6427
6584
  }),
6428
6585
  /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
6429
6586
  transform: "translate(256 256)",
@@ -6476,7 +6633,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
6476
6633
  children: [
6477
6634
  /*#__PURE__*/ (0, $hgUW1$jsx)("title", {
6478
6635
  id: "svg-inline--fa-title-Nm2qsuSKvuRZ",
6479
- children: socialMediaLinks.linkedin.title ? socialMediaLinks.linkedin.title : 'CMS LinkedIn'
6636
+ children: socialMediaLinks.linkedin.title ? socialMediaLinks.linkedin.title : "CMS LinkedIn"
6480
6637
  }),
6481
6638
  /*#__PURE__*/ (0, $hgUW1$jsx)("g", {
6482
6639
  transform: "translate(224 256)",
@@ -6528,7 +6685,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links, showEmail: showEmail = tru
6528
6685
  children: [
6529
6686
  /*#__PURE__*/ (0, $hgUW1$jsx)("title", {
6530
6687
  id: "svg-inline--fa-title-youtube",
6531
- children: socialMediaLinks.youtube.title ? socialMediaLinks.youtube.title : 'CMS youtube'
6688
+ children: socialMediaLinks.youtube.title ? socialMediaLinks.youtube.title : "CMS youtube"
6532
6689
  }),
6533
6690
  /*#__PURE__*/ (0, $hgUW1$jsx)("path", {
6534
6691
  fill: "currentColor",
@@ -6628,26 +6785,26 @@ const $5655284dbbb89508$var$DocumentationTable = (props)=>{
6628
6785
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
6629
6786
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Table), {
6630
6787
  stackable: true,
6631
- className: 'ds-c-table',
6788
+ className: "ds-c-table",
6632
6789
  children: [
6633
6790
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableHead), {
6634
6791
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TableRow), {
6635
6792
  children: [
6636
6793
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6637
- id: 'application',
6638
- headers: 'Application',
6794
+ id: "application",
6795
+ headers: "Application",
6639
6796
  children: "Application"
6640
- }, 'Application'),
6797
+ }, "Application"),
6641
6798
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6642
- id: 'notes',
6643
- headers: 'Notes',
6799
+ id: "notes",
6800
+ headers: "Notes",
6644
6801
  children: "Notes"
6645
- }, 'Notes'),
6802
+ }, "Notes"),
6646
6803
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6647
- id: 'links',
6648
- headers: 'Links',
6804
+ id: "links",
6805
+ headers: "Links",
6649
6806
  children: "Links"
6650
- }, 'Links')
6807
+ }, "Links")
6651
6808
  ]
6652
6809
  })
6653
6810
  }),
@@ -6657,19 +6814,19 @@ const $5655284dbbb89508$var$DocumentationTable = (props)=>{
6657
6814
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6658
6815
  id: d.id,
6659
6816
  stackedTitle: "Application",
6660
- headers: 'Application',
6817
+ headers: "Application",
6661
6818
  children: d.application
6662
6819
  }, d.id),
6663
6820
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6664
6821
  id: d.id,
6665
6822
  stackedTitle: "Notes",
6666
- headers: 'Notes',
6823
+ headers: "Notes",
6667
6824
  children: d.notes
6668
6825
  }, `${d.id}-notes`),
6669
6826
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TableCell), {
6670
6827
  id: d.id,
6671
6828
  stackedTitle: "Links",
6672
- headers: 'Links',
6829
+ headers: "Links",
6673
6830
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("a", {
6674
6831
  className: "dkan-newtab",
6675
6832
  href: d.link,
@@ -6697,44 +6854,44 @@ var $5655284dbbb89508$export$2e2bcd8739ae039 = $5655284dbbb89508$var$Documentati
6697
6854
 
6698
6855
  const $c7bf75f7e8a68780$export$7850f4d545d994c6 = [
6699
6856
  {
6700
- id: 'excel',
6701
- application: 'Microsoft Excel',
6702
- notes: 'Official size limitations for Microsoft Excel',
6703
- link: 'https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3?redirectSourcePath=%252fen-us%252farticle%252fExcel-specifications-and-limits-ca36e2dc-1f09-4620-b726-67c00b05040f',
6704
- linkText: 'Excel Specifications and Limits',
6705
- screenReaderOnlyText: 'on microsoft.com'
6857
+ id: "excel",
6858
+ application: "Microsoft Excel",
6859
+ notes: "Official size limitations for Microsoft Excel",
6860
+ link: "https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3?redirectSourcePath=%252fen-us%252farticle%252fExcel-specifications-and-limits-ca36e2dc-1f09-4620-b726-67c00b05040f",
6861
+ linkText: "Excel Specifications and Limits",
6862
+ screenReaderOnlyText: "on microsoft.com"
6706
6863
  },
6707
6864
  {
6708
- id: 'access',
6709
- application: 'Microsoft Access',
6710
- notes: 'Official size limitations for Microsoft Access',
6711
- link: 'https://support.microsoft.com/en-us/office/access-specifications-0cf3c66f-9cf2-4e32-9568-98c1025bb47c?ui=en-us&rs=en-us&ad=us',
6712
- linkText: 'Access 2016 Specifications',
6713
- screenReaderOnlyText: 'on microsoft.com'
6865
+ id: "access",
6866
+ application: "Microsoft Access",
6867
+ notes: "Official size limitations for Microsoft Access",
6868
+ link: "https://support.microsoft.com/en-us/office/access-specifications-0cf3c66f-9cf2-4e32-9568-98c1025bb47c?ui=en-us&rs=en-us&ad=us",
6869
+ linkText: "Access 2016 Specifications",
6870
+ screenReaderOnlyText: "on microsoft.com"
6714
6871
  },
6715
6872
  {
6716
- id: 'oracle-sql-developer',
6717
- application: 'Oracle SQL Developer',
6718
- notes: 'Oracle SQL Developer tool',
6719
- link: 'https://www.oracle.com/database/sqldeveloper/',
6720
- linkText: 'Oracle SQL Developer Overview',
6721
- screenReaderOnlyText: 'on oracle.com'
6873
+ id: "oracle-sql-developer",
6874
+ application: "Oracle SQL Developer",
6875
+ notes: "Oracle SQL Developer tool",
6876
+ link: "https://www.oracle.com/database/sqldeveloper/",
6877
+ linkText: "Oracle SQL Developer Overview",
6878
+ screenReaderOnlyText: "on oracle.com"
6722
6879
  },
6723
6880
  {
6724
- id: 'oracle-database',
6725
- application: 'Oracle Database',
6726
- notes: 'Oracle Database official size limitations',
6727
- link: 'https://docs.oracle.com/cd/B28359_01/server.111/b28320/limits002.htm#i287915',
6728
- linkText: 'Oracle Physical Database Limits',
6729
- screenReaderOnlyText: 'on oracle.com'
6881
+ id: "oracle-database",
6882
+ application: "Oracle Database",
6883
+ notes: "Oracle Database official size limitations",
6884
+ link: "https://docs.oracle.com/cd/B28359_01/server.111/b28320/limits002.htm#i287915",
6885
+ linkText: "Oracle Physical Database Limits",
6886
+ screenReaderOnlyText: "on oracle.com"
6730
6887
  },
6731
6888
  {
6732
- id: 'oracle-sql-client-tools',
6733
- application: 'Oracle SQL Client Tools',
6734
- notes: 'Oracle SQL Client Tools',
6735
- link: 'https://www.oracle.com/database/technologies/oracle-database-software-downloads.html',
6736
- linkText: 'Oracle SQL Client',
6737
- screenReaderOnlyText: 'on oracle.com'
6889
+ id: "oracle-sql-client-tools",
6890
+ application: "Oracle SQL Client Tools",
6891
+ notes: "Oracle SQL Client Tools",
6892
+ link: "https://www.oracle.com/database/technologies/oracle-database-software-downloads.html",
6893
+ linkText: "Oracle SQL Client",
6894
+ screenReaderOnlyText: "on oracle.com"
6738
6895
  }
6739
6896
  ];
6740
6897
 
@@ -6762,7 +6919,7 @@ const $669d2782ec2e2250$var$SpecsAndLimits = (props)=>{
6762
6919
  }),
6763
6920
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Alert), {
6764
6921
  heading: "Notice",
6765
- className: 'ds-u-margin-top--6',
6922
+ className: "ds-u-margin-top--6",
6766
6923
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
6767
6924
  className: "ds-c-alert__text",
6768
6925
  children: "Be aware of the file size and row limitations of the software you are attempting to import the files into. For information on limitations, look at the software's official documentation."
@@ -6771,16 +6928,16 @@ const $669d2782ec2e2250$var$SpecsAndLimits = (props)=>{
6771
6928
  ]
6772
6929
  }),
6773
6930
  /*#__PURE__*/ (0, $hgUW1$jsx)("section", {
6774
- className: 'ds-u-margin-top--4 ds-l-row',
6931
+ className: "ds-u-margin-top--4 ds-l-row",
6775
6932
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
6776
- className: 'ds-l-col--12',
6933
+ className: "ds-l-col--12",
6777
6934
  children: [
6778
6935
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
6779
6936
  className: "ds-text-heading--2xl ds-text-heading--2xl",
6780
6937
  children: "Documentation by Application"
6781
6938
  }),
6782
6939
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6783
- className: 'ds-u-margin-top--4',
6940
+ className: "ds-u-margin-top--4",
6784
6941
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $5655284dbbb89508$export$2e2bcd8739ae039), {
6785
6942
  data: documentationList
6786
6943
  })
@@ -6808,7 +6965,7 @@ function $8b67b7ee3fcfb629$export$2e2bcd8739ae039({ id: id, rootUrl: rootUrl, cu
6808
6965
  const options = {
6809
6966
  conditions: query ? JSON.parse(query).map(({ column: column, operator: operator, ...rest })=>({
6810
6967
  property: column,
6811
- operator: operator === 'is' ? '=' : operator === 'is not' ? '<>' : operator === 'or' ? 'in' : operator,
6968
+ operator: operator === "is" ? "=" : operator === "is not" ? "<>" : operator === "or" ? "in" : operator,
6812
6969
  ...rest
6813
6970
  })) : []
6814
6971
  };
@@ -6816,13 +6973,13 @@ function $8b67b7ee3fcfb629$export$2e2bcd8739ae039({ id: id, rootUrl: rootUrl, cu
6816
6973
  let distribution = {};
6817
6974
  let distributions = dataset.distribution ? dataset.distribution : [];
6818
6975
  if (distributions.length) distribution = distributions[distributionIndex];
6819
- const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)('', rootUrl, {
6976
+ const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)("", rootUrl, {
6820
6977
  ...options,
6821
6978
  limit: defaultPageSize
6822
6979
  });
6823
6980
  (0, $hgUW1$useEffect)(()=>{
6824
6981
  const localFileFormat = (0, $f764661366bd9e1b$export$ee48b7e0e4eb536e)(distribution);
6825
- if (localFileFormat === 'csv') resource.setResource(distribution.identifier);
6982
+ if (localFileFormat === "csv") resource.setResource(distribution.identifier);
6826
6983
  }, [
6827
6984
  distribution
6828
6985
  ]);
@@ -6873,7 +7030,7 @@ function $8b67b7ee3fcfb629$export$2e2bcd8739ae039({ id: id, rootUrl: rootUrl, cu
6873
7030
 
6874
7031
 
6875
7032
  function $374c4669b044ddf8$var$getStartDate(condition, schema, id) {
6876
- if (schema[id].fields[condition.property].mysql_type === 'date') {
7033
+ if (schema[id].fields[condition.property].mysql_type === "date") {
6877
7034
  const newDate = new Date(condition.value);
6878
7035
  if (newDate instanceof Date && !isNaN(newDate)) return newDate;
6879
7036
  }
@@ -6890,9 +7047,9 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id, condition: condition, index: i
6890
7047
  const [startDate, setStartDate] = (0, $hgUW1$react).useState($374c4669b044ddf8$var$getStartDate(condition, schema, id));
6891
7048
  (0, $hgUW1$useEffect)(()=>{
6892
7049
  if (property !== condition.property) {
6893
- if (property) update(index, 'property', property);
6894
- else update(index, 'property', '');
6895
- if (schema[id].fields[condition.property].mysql_type === 'date') {
7050
+ if (property) update(index, "property", property);
7051
+ else update(index, "property", "");
7052
+ if (schema[id].fields[condition.property].mysql_type === "date") {
6896
7053
  if (!value) setValue(startDate.toJSON().slice(0, 10));
6897
7054
  }
6898
7055
  }
@@ -6906,16 +7063,16 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id, condition: condition, index: i
6906
7063
  ]);
6907
7064
  (0, $hgUW1$useEffect)(()=>{
6908
7065
  if (operator !== condition.operator) {
6909
- if (operator) update(index, 'operator', operator);
6910
- else update(index, 'operator', '');
7066
+ if (operator) update(index, "operator", operator);
7067
+ else update(index, "operator", "");
6911
7068
  }
6912
7069
  }, [
6913
7070
  operator
6914
7071
  ]);
6915
7072
  (0, $hgUW1$useEffect)(()=>{
6916
7073
  if (value !== condition.value) {
6917
- if (value) update(index, 'value', value);
6918
- else update(index, 'value', '');
7074
+ if (value) update(index, "value", value);
7075
+ else update(index, "value", "");
6919
7076
  }
6920
7077
  }, [
6921
7078
  value
@@ -6939,7 +7096,7 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id, condition: condition, index: i
6939
7096
  onChange: (e)=>setOperator(e.target.value),
6940
7097
  className: "ds-l-sm-col--3 ds-l-md-col--2 ds-l-col--12 ds-u-padding--0 ds-u-md-padding-right--2 ds-u-margin-bottom--0 ds-u-md-margin-bottom--2"
6941
7098
  }),
6942
- schema[id].fields[property].mysql_type === 'date' ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
7099
+ schema[id].fields[property].mysql_type === "date" ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
6943
7100
  className: "ds-l-md-col--5 ds-l-lg-col--4 ds-l-sm-col--8 ds-l-col--12 ds-u-padding--0 ds-u-sm-padding-right--2 ds-u-md-padding-right--0 ds-u-lg-padding-right--2 ds-u-margin-bottom--2",
6944
7101
  children: [
6945
7102
  /*#__PURE__*/ (0, $hgUW1$jsx)("label", {
@@ -6989,19 +7146,19 @@ var $374c4669b044ddf8$export$2e2bcd8739ae039 = $374c4669b044ddf8$var$QueryRow;
6989
7146
  function $3b6ca952e79f0695$var$updateQueryForDatastore(condition) {
6990
7147
  let cond = condition;
6991
7148
  delete cond.key;
6992
- if (cond.operator === '=' || cond.operator === '<>') {
7149
+ if (cond.operator === "=" || cond.operator === "<>") {
6993
7150
  if (Array.isArray(cond.value)) cond.value = cond.value.join();
6994
- cond.value = cond.value.replace(/(^\%+|\%+$)/gm, '');
7151
+ cond.value = cond.value.replace(/(^\%+|\%+$)/gm, "");
6995
7152
  }
6996
- if (cond.operator.toLowerCase() === 'like') {
7153
+ if (cond.operator.toLowerCase() === "like") {
6997
7154
  if (Array.isArray(cond.value)) cond.value = cond.value.join();
6998
- const cleanedValue = cond.value.replace(/(^\%+|\%+$)/gm, '');
7155
+ const cleanedValue = cond.value.replace(/(^\%+|\%+$)/gm, "");
6999
7156
  cond.value = `%${cleanedValue}%`;
7000
7157
  }
7001
- if (cond.operator.toLowerCase() === 'in') {
7002
- if (!Array.isArray(cond.value)) cond.value = cond.value.split(',');
7158
+ if (cond.operator.toLowerCase() === "in") {
7159
+ if (!Array.isArray(cond.value)) cond.value = cond.value.split(",");
7003
7160
  }
7004
- if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ''));
7161
+ if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ""));
7005
7162
  return cond;
7006
7163
  }
7007
7164
  const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, customColumns: customColumns, setOffset: setOffset })=>{
@@ -7021,7 +7178,7 @@ const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, custom
7021
7178
  ...queryConditions,
7022
7179
  {
7023
7180
  property: fields[0],
7024
- value: '',
7181
+ value: "",
7025
7182
  operator: (0, $7264a673914aa746$export$2b9377795161999)(schema[id].fields[fields[0]].mysql_type)[0].value,
7026
7183
  key: Date.now()
7027
7184
  }
@@ -7061,7 +7218,7 @@ const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, custom
7061
7218
  encodeValuesOnly: true,
7062
7219
  addQueryPrefix: true
7063
7220
  });
7064
- window.history.pushState({}, '', `${url.origin}${url.pathname}${urlString}`);
7221
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
7065
7222
  };
7066
7223
  const updateCondition = (index, key, value)=>{
7067
7224
  let newConditions = [
@@ -7134,7 +7291,7 @@ var $3b6ca952e79f0695$export$2e2bcd8739ae039 = $3b6ca952e79f0695$var$QueryBuilde
7134
7291
 
7135
7292
 
7136
7293
  const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset, distIndex: distIndex, location: location, customColumns: customColumns, columnSettings: columnSettings, columnWidths: columnWidths, customTitle: customTitle, customDescription: customDescription, rootUrl: rootUrl, updateAriaLive: updateAriaLive })=>{
7137
- const [tablePadding, setTablePadding] = (0, $hgUW1$react).useState('ds-u-padding-y--1');
7294
+ const [tablePadding, setTablePadding] = (0, $hgUW1$react).useState("ds-u-padding-y--1");
7138
7295
  let apiDocs = (0, $hgUW1$useRef)();
7139
7296
  let distribution = {};
7140
7297
  let distribution_array = dataset.distribution ? dataset.distribution : [];
@@ -7146,7 +7303,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
7146
7303
  } : {
7147
7304
  conditions: []
7148
7305
  };
7149
- const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)('', rootUrl, {
7306
+ const resource = (0, $1d3d480a9cfaabe0$export$2e2bcd8739ae039)("", rootUrl, {
7150
7307
  ...options,
7151
7308
  limit: 25
7152
7309
  });
@@ -7160,7 +7317,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
7160
7317
  }, {
7161
7318
  encode: true
7162
7319
  })}&format=csv`;
7163
- const pageTitle = distribution.data.title && distribution.data.title.toLowerCase() !== 'csv' ? distribution.data.title : dataset.title;
7320
+ const pageTitle = distribution.data.title && distribution.data.title.toLowerCase() !== "csv" ? distribution.data.title : dataset.title;
7164
7321
  const { ACA: ACA } = (0, $hgUW1$useContext)((0, $844981eac9b63865$export$eccc29c8d0ff408));
7165
7322
  return /*#__PURE__*/ (0, $hgUW1$jsx)("section", {
7166
7323
  className: "ds-l-container ds-u-padding-bottom--3 ds-u-margin-bottom--2",
@@ -7169,7 +7326,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
7169
7326
  children: Object.keys(distribution).length && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
7170
7327
  children: [
7171
7328
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
7172
- className: 'ds-l-md-col--9',
7329
+ className: "ds-l-md-col--9",
7173
7330
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Link), {
7174
7331
  to: `/dataset/${id}`,
7175
7332
  className: "ds-u-padding-y--4 ds-u-display--block",
@@ -7180,14 +7337,14 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
7180
7337
  })
7181
7338
  }),
7182
7339
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
7183
- className: 'ds-l-md-col--9',
7340
+ className: "ds-l-md-col--9",
7184
7341
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("h1", {
7185
7342
  className: "ds-text-heading--3xl",
7186
7343
  children: customTitle ? customTitle : pageTitle
7187
7344
  })
7188
7345
  }),
7189
7346
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
7190
- className: 'ds-l-md-col--12 ds-u-margin-y--1 ds-u-text-align--right',
7347
+ className: "ds-l-md-col--12 ds-u-margin-y--1 ds-u-text-align--right",
7191
7348
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("p", {
7192
7349
  className: "ds-u-margin--0",
7193
7350
  children: [
@@ -7199,7 +7356,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
7199
7356
  })
7200
7357
  }),
7201
7358
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
7202
- className: 'ds-l-md-col--9',
7359
+ className: "ds-l-md-col--9",
7203
7360
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $2bd73bb95b0c04ed$export$2e2bcd8739ae039), {
7204
7361
  distribution: distribution,
7205
7362
  dataset: dataset,
@@ -7209,13 +7366,13 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
7209
7366
  })
7210
7367
  }),
7211
7368
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
7212
- className: 'ds-l-md-col--12',
7369
+ className: "ds-l-md-col--12",
7213
7370
  children: Object.keys(resource).length && resource.columns && Object.keys(resource.schema).length ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $3b6ca952e79f0695$export$2e2bcd8739ae039), {
7214
7371
  resource: resource,
7215
7372
  id: distribution.identifier,
7216
7373
  customColumns: customColumns,
7217
7374
  setOffset: resource.setOffset
7218
- }) : ''
7375
+ }) : ""
7219
7376
  }),
7220
7377
  Object.keys(resource).length && resource.columns && Object.keys(resource.schema).length ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039).Provider, {
7221
7378
  value: {
@@ -7226,7 +7383,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
7226
7383
  customColumns: (0, $7264a673914aa746$export$8049e8f40a9bdfb8)(customColumns, resource.columns, resource.schema[distribution_array[distIndex].identifier])
7227
7384
  },
7228
7385
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
7229
- className: 'ds-l-md-col--12',
7386
+ className: "ds-l-md-col--12",
7230
7387
  children: [
7231
7388
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $af099c546cb226c7$export$2e2bcd8739ae039), {
7232
7389
  includeDensity: true,
@@ -7248,14 +7405,14 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
7248
7405
  ]
7249
7406
  })
7250
7407
  }) : /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
7251
- className: 'ds-l-md-col--12',
7408
+ className: "ds-l-md-col--12",
7252
7409
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Spinner), {
7253
7410
  role: "status",
7254
7411
  "aria-valuetext": "Resource loading"
7255
7412
  })
7256
7413
  }),
7257
7414
  dataset.identifier && /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
7258
- className: 'ds-l-md-col--12',
7415
+ className: "ds-l-md-col--12",
7259
7416
  ref: apiDocs,
7260
7417
  children: [
7261
7418
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
@@ -7264,7 +7421,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
7264
7421
  }),
7265
7422
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$swaggeruireact), {
7266
7423
  url: `${rootUrl}/metastore/schemas/dataset/items/${dataset.identifier}/docs?${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA))}`,
7267
- docExpansion: 'list',
7424
+ docExpansion: "list",
7268
7425
  defaultModelsExpandDepth: -1
7269
7426
  })
7270
7427
  ]
@@ -7283,7 +7440,7 @@ const $f61ecf9f84951a61$var$FilteredResource = ({ id: id, dist_id: dist_id, loca
7283
7440
  const [ready, setReady] = (0, $hgUW1$useState)(false);
7284
7441
  const [error, setError] = (0, $hgUW1$useState)(false);
7285
7442
  const { dataset: dataset } = (0, $b4aa9c66f2e86959$export$2e2bcd8739ae039)(id, rootUrl);
7286
- const distIndex = dist_id === 'data' ? 0 : dist_id;
7443
+ const distIndex = dist_id === "data" ? 0 : dist_id;
7287
7444
  (0, $hgUW1$useEffect)(()=>{
7288
7445
  if (dataset.error) setError(true);
7289
7446
  if (dataset.distribution && dataset.distribution.length) {
@@ -7501,5 +7658,5 @@ var $90fb213ab8eeb2e7$export$2e2bcd8739ae039 = $90fb213ab8eeb2e7$var$useScrollTo
7501
7658
 
7502
7659
 
7503
7660
 
7504
- export {$e49d4387bed21287$export$2e2bcd8739ae039 as ApiRowLimitNotice, $a8accc31bf9e0bda$export$2e2bcd8739ae039 as CMSTopNav, $c49454ea7d1c4579$export$2e2bcd8739ae039 as ErrorBoundary, $046ded0064bd0a3d$export$2e2bcd8739ae039 as FAQAccordion, $b939b31651e82908$export$2e2bcd8739ae039 as HeaderNav, $1555e1cb3eb7b3e3$export$2e2bcd8739ae039 as HeaderNavIconLink, $fea9297ba4dd394c$export$2e2bcd8739ae039 as HeaderSearch, $9a8892c5ac150556$export$2e2bcd8739ae039 as HeaderSiteTitle, $3c72c298c3a7f21f$export$2e2bcd8739ae039 as HeaderTagline, $403833a4b442d5df$export$2e2bcd8739ae039 as MobileMenuButton, $f57121650539d8c5$export$2e2bcd8739ae039 as NavBar, $953b286f7778640e$export$2e2bcd8739ae039 as SidebarNavigation, $b0968edc60d7d3a4$export$2e2bcd8739ae039 as SidebarPage, $4f153ca537d853e5$export$2e2bcd8739ae039 as SubMenu, $59a079354baa335c$export$2e2bcd8739ae039 as Hero, $52c6454cae137465$export$2e2bcd8739ae039 as DatasetSearchListItem, $c068004d499082cc$export$2e2bcd8739ae039 as DatasetListItem, $789279954d8eff7f$export$2e2bcd8739ae039 as ApiDocumentation, $af099c546cb226c7$export$2e2bcd8739ae039 as ResourceHeader, $626282d9a03c51d5$export$2e2bcd8739ae039 as ResourcePreview, $072291d44ce1834a$export$2e2bcd8739ae039 as ResourceFooter, $ec3e23baa005dc03$export$2e2bcd8739ae039 as Breadcrumb, $bd76a91923d7e8a7$export$2e2bcd8739ae039 as TransformedDate, $d98f94c79ddf4e0e$export$2e2bcd8739ae039 as DataTable, $bdb071ea3a6d3466$export$2e2bcd8739ae039 as SearchInput, $5644ebd2c3dbfd7b$export$eea3a12df15499ca as buildRows, $2ed0091f7e32d1e6$export$2e2bcd8739ae039 as DataTablePageResults, $1a2bf34e2a8f6b80$export$59a943b34a82e690 as truncateText, $c96c4b9ef7203c1f$export$2e2bcd8739ae039 as APIPage, $026cb986f9fea2b1$export$2e2bcd8739ae039 as PageNotFound, $e873081a6e8f024e$export$2e2bcd8739ae039 as DatasetSearch, $550bcc185f420ff5$export$2e2bcd8739ae039 as DatasetList, $9384a736d4d6f425$export$2e2bcd8739ae039 as DatasetListSubmenu, $a0f13962e513caa1$export$2e2bcd8739ae039 as Dataset, $a35cf16d1488f54e$export$2e2bcd8739ae039 as DatasetTable, $b9af6ce5e2c06331$export$2e2bcd8739ae039 as Header, $a6df0aa147323304$export$2e2bcd8739ae039 as Footer, $669d2782ec2e2250$export$2e2bcd8739ae039 as SpecsAndLimits, $8b67b7ee3fcfb629$export$2e2bcd8739ae039 as StoredQueryPage, $f61ecf9f84951a61$export$2e2bcd8739ae039 as FilteredResource, $bef7bff2823feea2$export$2e2bcd8739ae039 as QueryTitle, $7264a673914aa746$export$2b9377795161999 as buildOperatorOptions, $7264a673914aa746$export$e284ae5d89467c8f as convertUTCToLocalDate, $7264a673914aa746$export$6b5e57d20078142b as cleanText, $7264a673914aa746$export$8049e8f40a9bdfb8 as buildCustomColHeaders, $11500a65bd7d9cf1$export$2e2bcd8739ae039 as HeaderContext, $43a30d745a7bbc86$export$2e2bcd8739ae039 as DataTableContext, $ebda441784d176a5$export$2e2bcd8739ae039 as ManageColumnsContext, $844981eac9b63865$export$eccc29c8d0ff408 as ACAContext, $efc410f5f7ac5ef3$export$2e2bcd8739ae039 as useSearchAPI, $1d3d480a9cfaabe0$export$2e2bcd8739ae039 as useDatastore, $aa4450dcbeef3ac0$export$385a5aba38cc3325 as transformTableSortToQuerySort, $eb7821d186b1a389$export$2e2bcd8739ae039 as useAddLoginLink, $90fb213ab8eeb2e7$export$2e2bcd8739ae039 as useScrollToTop, $b4aa9c66f2e86959$export$2e2bcd8739ae039 as useMetastoreDataset, $61ff88fb3f6ee2c8$export$2e2bcd8739ae039 as withQueryProvider, $6d5c0212e738499b$export$34e95918366a058e as acaToParams, $6da0396069e23175$export$bc27cf7ecf44639d as defaultMetadataMapping};
7661
+ export {$e49d4387bed21287$export$2e2bcd8739ae039 as ApiRowLimitNotice, $a8accc31bf9e0bda$export$2e2bcd8739ae039 as CMSTopNav, $c49454ea7d1c4579$export$2e2bcd8739ae039 as ErrorBoundary, $046ded0064bd0a3d$export$2e2bcd8739ae039 as FAQAccordion, $b939b31651e82908$export$2e2bcd8739ae039 as HeaderNav, $1555e1cb3eb7b3e3$export$2e2bcd8739ae039 as HeaderNavIconLink, $fea9297ba4dd394c$export$2e2bcd8739ae039 as HeaderSearch, $9a8892c5ac150556$export$2e2bcd8739ae039 as HeaderSiteTitle, $3c72c298c3a7f21f$export$2e2bcd8739ae039 as HeaderTagline, $403833a4b442d5df$export$2e2bcd8739ae039 as MobileMenuButton, $f57121650539d8c5$export$2e2bcd8739ae039 as NavBar, $953b286f7778640e$export$2e2bcd8739ae039 as SidebarNavigation, $b0968edc60d7d3a4$export$2e2bcd8739ae039 as SidebarPage, $4f153ca537d853e5$export$2e2bcd8739ae039 as SubMenu, $59a079354baa335c$export$2e2bcd8739ae039 as Hero, $52c6454cae137465$export$2e2bcd8739ae039 as DatasetSearchListItem, $17711e94d2ce0ee4$export$2e2bcd8739ae039 as DatasetDateItem, $20de4fedf33d4f9a$export$2e2bcd8739ae039 as DatasetDate, $789279954d8eff7f$export$2e2bcd8739ae039 as ApiDocumentation, $af099c546cb226c7$export$2e2bcd8739ae039 as ResourceHeader, $626282d9a03c51d5$export$2e2bcd8739ae039 as ResourcePreview, $072291d44ce1834a$export$2e2bcd8739ae039 as ResourceFooter, $ec3e23baa005dc03$export$2e2bcd8739ae039 as Breadcrumb, $bd76a91923d7e8a7$export$2e2bcd8739ae039 as TransformedDate, $d98f94c79ddf4e0e$export$2e2bcd8739ae039 as DataTable, $bdb071ea3a6d3466$export$2e2bcd8739ae039 as SearchInput, $5644ebd2c3dbfd7b$export$eea3a12df15499ca as buildRows, $2ed0091f7e32d1e6$export$2e2bcd8739ae039 as DataTablePageResults, $1a2bf34e2a8f6b80$export$59a943b34a82e690 as truncateText, $c96c4b9ef7203c1f$export$2e2bcd8739ae039 as APIPage, $026cb986f9fea2b1$export$2e2bcd8739ae039 as PageNotFound, $e873081a6e8f024e$export$2e2bcd8739ae039 as DatasetSearch, $550bcc185f420ff5$export$2e2bcd8739ae039 as DatasetList, $9384a736d4d6f425$export$2e2bcd8739ae039 as DatasetListSubmenu, $a0f13962e513caa1$export$2e2bcd8739ae039 as Dataset, $a35cf16d1488f54e$export$2e2bcd8739ae039 as DatasetTable, $b9af6ce5e2c06331$export$2e2bcd8739ae039 as Header, $a6df0aa147323304$export$2e2bcd8739ae039 as Footer, $669d2782ec2e2250$export$2e2bcd8739ae039 as SpecsAndLimits, $8b67b7ee3fcfb629$export$2e2bcd8739ae039 as StoredQueryPage, $f61ecf9f84951a61$export$2e2bcd8739ae039 as FilteredResource, $bef7bff2823feea2$export$2e2bcd8739ae039 as QueryTitle, $7264a673914aa746$export$2b9377795161999 as buildOperatorOptions, $7264a673914aa746$export$e284ae5d89467c8f as convertUTCToLocalDate, $7264a673914aa746$export$6b5e57d20078142b as cleanText, $7264a673914aa746$export$8049e8f40a9bdfb8 as buildCustomColHeaders, $11500a65bd7d9cf1$export$2e2bcd8739ae039 as HeaderContext, $43a30d745a7bbc86$export$2e2bcd8739ae039 as DataTableContext, $ebda441784d176a5$export$2e2bcd8739ae039 as ManageColumnsContext, $844981eac9b63865$export$eccc29c8d0ff408 as ACAContext, $efc410f5f7ac5ef3$export$2e2bcd8739ae039 as useSearchAPI, $1d3d480a9cfaabe0$export$2e2bcd8739ae039 as useDatastore, $aa4450dcbeef3ac0$export$385a5aba38cc3325 as transformTableSortToQuerySort, $eb7821d186b1a389$export$2e2bcd8739ae039 as useAddLoginLink, $90fb213ab8eeb2e7$export$2e2bcd8739ae039 as useScrollToTop, $b4aa9c66f2e86959$export$2e2bcd8739ae039 as useMetastoreDataset, $61ff88fb3f6ee2c8$export$2e2bcd8739ae039 as withQueryProvider, $6d5c0212e738499b$export$34e95918366a058e as acaToParams, $6da0396069e23175$export$bc27cf7ecf44639d as defaultMetadataMapping};
7505
7662
  //# sourceMappingURL=main.js.map