@abcagency/hc-ui-components 1.2.8 → 1.2.9

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.
Files changed (132) hide show
  1. package/dist/_virtual/_rollupPluginBabelHelpers.js +516 -516
  2. package/dist/apis/hcApi.js +189 -189
  3. package/dist/apis/hcApi.js.map +1 -1
  4. package/dist/clientToken.js +10 -10
  5. package/dist/clientToken.js.map +1 -1
  6. package/dist/components/HireControlMap.js +135 -135
  7. package/dist/components/HireControlMap.js.map +1 -1
  8. package/dist/components/modules/accordions/MapAccordionItem.js +76 -76
  9. package/dist/components/modules/accordions/MapAccordionItem.js.map +1 -1
  10. package/dist/components/modules/accordions/default.js +108 -108
  11. package/dist/components/modules/accordions/default.js.map +1 -1
  12. package/dist/components/modules/accordions/filterItem.js +50 -50
  13. package/dist/components/modules/accordions/filterItem.js.map +1 -1
  14. package/dist/components/modules/accordions/filters.js +46 -46
  15. package/dist/components/modules/accordions/filters.js.map +1 -1
  16. package/dist/components/modules/buttons/button-group-apply.js +87 -87
  17. package/dist/components/modules/buttons/button-group-apply.js.map +1 -1
  18. package/dist/components/modules/buttons/commute-pill.js +18 -18
  19. package/dist/components/modules/buttons/commute-pill.js.map +1 -1
  20. package/dist/components/modules/buttons/default.js +145 -145
  21. package/dist/components/modules/buttons/default.js.map +1 -1
  22. package/dist/components/modules/buttons/items-pill.js +23 -23
  23. package/dist/components/modules/buttons/items-pill.js.map +1 -1
  24. package/dist/components/modules/buttons/pill-wrapper.js +20 -20
  25. package/dist/components/modules/buttons/pill-wrapper.js.map +1 -1
  26. package/dist/components/modules/buttons/show-all-button.js +39 -39
  27. package/dist/components/modules/buttons/show-all-button.js.map +1 -1
  28. package/dist/components/modules/cards/default.js +102 -102
  29. package/dist/components/modules/cards/default.js.map +1 -1
  30. package/dist/components/modules/cards/filter.js +38 -38
  31. package/dist/components/modules/cards/filter.js.map +1 -1
  32. package/dist/components/modules/dialogs/apply-dialog.js +46 -46
  33. package/dist/components/modules/dialogs/apply-dialog.js.map +1 -1
  34. package/dist/components/modules/filter/commute.js +184 -184
  35. package/dist/components/modules/filter/commute.js.map +1 -1
  36. package/dist/components/modules/filter/index.js +79 -79
  37. package/dist/components/modules/filter/index.js.map +1 -1
  38. package/dist/components/modules/filter/item.js +71 -71
  39. package/dist/components/modules/filter/item.js.map +1 -1
  40. package/dist/components/modules/filter/location.js +68 -68
  41. package/dist/components/modules/filter/location.js.map +1 -1
  42. package/dist/components/modules/filter/points-of-interest.js +38 -38
  43. package/dist/components/modules/filter/points-of-interest.js.map +1 -1
  44. package/dist/components/modules/filter/radio-item.js +46 -46
  45. package/dist/components/modules/filter/radio-item.js.map +1 -1
  46. package/dist/components/modules/filter/search.js +83 -83
  47. package/dist/components/modules/filter/search.js.map +1 -1
  48. package/dist/components/modules/filter/sort.js +93 -93
  49. package/dist/components/modules/filter/sort.js.map +1 -1
  50. package/dist/components/modules/grid.js +39 -39
  51. package/dist/components/modules/grid.js.map +1 -1
  52. package/dist/components/modules/icon.js +23 -23
  53. package/dist/components/modules/icon.js.map +1 -1
  54. package/dist/components/modules/jobListing/listing-details.js +71 -71
  55. package/dist/components/modules/jobListing/listing-details.js.map +1 -1
  56. package/dist/components/modules/maps/info-window-card.js +14 -14
  57. package/dist/components/modules/maps/info-window-card.js.map +1 -1
  58. package/dist/components/modules/maps/info-window-content.js +49 -39
  59. package/dist/components/modules/maps/info-window-content.js.map +1 -1
  60. package/dist/components/modules/maps/list/field-mapper.js +88 -88
  61. package/dist/components/modules/maps/list/field-mapper.js.map +1 -1
  62. package/dist/components/modules/maps/list/header-item.js +59 -59
  63. package/dist/components/modules/maps/list/header-item.js.map +1 -1
  64. package/dist/components/modules/maps/list/header.js +37 -37
  65. package/dist/components/modules/maps/list/header.js.map +1 -1
  66. package/dist/components/modules/maps/list/index.js +93 -93
  67. package/dist/components/modules/maps/list/index.js.map +1 -1
  68. package/dist/components/modules/maps/list/item-expand-card/index.js +16 -16
  69. package/dist/components/modules/maps/list/item-expand-card/index.js.map +1 -1
  70. package/dist/components/modules/maps/list/item-expand-card/recruiter-contact-nav.js +38 -38
  71. package/dist/components/modules/maps/list/item-expand-card/recruiter-contact-nav.js.map +1 -1
  72. package/dist/components/modules/maps/list/item-expand-card/recruiter-details.js +40 -40
  73. package/dist/components/modules/maps/list/item-expand-card/recruiter-details.js.map +1 -1
  74. package/dist/components/modules/maps/list/item-expand-card/recruiter-headshot.js +20 -20
  75. package/dist/components/modules/maps/list/item-expand-card/recruiter-headshot.js.map +1 -1
  76. package/dist/components/modules/maps/list/list-item/index.js +98 -98
  77. package/dist/components/modules/maps/list/list-item/index.js.map +1 -1
  78. package/dist/components/modules/maps/map-list.js +57 -57
  79. package/dist/components/modules/maps/map-list.js.map +1 -1
  80. package/dist/components/modules/maps/map-marker.js +85 -85
  81. package/dist/components/modules/maps/map-marker.js.map +1 -1
  82. package/dist/components/modules/maps/map.js +201 -201
  83. package/dist/components/modules/maps/map.js.map +1 -1
  84. package/dist/components/modules/maps/place-marker.js +37 -37
  85. package/dist/components/modules/maps/place-marker.js.map +1 -1
  86. package/dist/components/modules/maps/tabs.js +84 -84
  87. package/dist/components/modules/maps/tabs.js.map +1 -1
  88. package/dist/constants/placeTypes.js +11 -11
  89. package/dist/constants/placeTypes.js.map +1 -1
  90. package/dist/contexts/mapContext.js +133 -133
  91. package/dist/contexts/mapContext.js.map +1 -1
  92. package/dist/contexts/mapListContext.js +280 -280
  93. package/dist/contexts/mapListContext.js.map +1 -1
  94. package/dist/contexts/placesContext.js +152 -152
  95. package/dist/contexts/placesContext.js.map +1 -1
  96. package/dist/hooks/useList.js +119 -119
  97. package/dist/hooks/useList.js.map +1 -1
  98. package/dist/index.js +2 -2
  99. package/dist/services/_virtual/_rollupPluginBabelHelpers.js +372 -372
  100. package/dist/services/apis/hcApi.js +189 -189
  101. package/dist/services/apis/hcApi.js.map +1 -1
  102. package/dist/services/clientToken.js +7 -7
  103. package/dist/services/clientToken.js.map +1 -1
  104. package/dist/services/configService.js +33 -33
  105. package/dist/services/configService.js.map +1 -1
  106. package/dist/services/googlePlacesNearbyService.js +61 -61
  107. package/dist/services/googlePlacesNearbyService.js.map +1 -1
  108. package/dist/services/listingAggregatorService.js +56 -56
  109. package/dist/services/listingAggregatorService.js.map +1 -1
  110. package/dist/services/listingEntityService.js +36 -36
  111. package/dist/services/listingEntityService.js.map +1 -1
  112. package/dist/services/listingService.js +64 -64
  113. package/dist/services/listingService.js.map +1 -1
  114. package/dist/services/recruiterService.js +36 -36
  115. package/dist/services/recruiterService.js.map +1 -1
  116. package/dist/services/styles/index.css +2 -2
  117. package/dist/styles/index.css +2 -2
  118. package/dist/util/filterUtil.js +213 -213
  119. package/dist/util/filterUtil.js.map +1 -1
  120. package/dist/util/loading.js +16 -16
  121. package/dist/util/loading.js.map +1 -1
  122. package/dist/util/localStorageUtil.js +32 -32
  123. package/dist/util/localStorageUtil.js.map +1 -1
  124. package/dist/util/mapIconUtil.js +73 -73
  125. package/dist/util/mapIconUtil.js.map +1 -1
  126. package/dist/util/mapUtil.js +76 -76
  127. package/dist/util/mapUtil.js.map +1 -1
  128. package/dist/util/sortUtil.js +33 -33
  129. package/dist/util/sortUtil.js.map +1 -1
  130. package/dist/util/stringUtils.js +9 -9
  131. package/dist/util/stringUtils.js.map +1 -1
  132. package/package.json +1 -1
@@ -1,93 +1,93 @@
1
- import React from 'react';
2
- import Accordion from '../../accordions/default.js';
3
- import ListHeader from './header.js';
4
- import MapAccordionItem from '../../accordions/MapAccordionItem.js';
5
- import FilterSort from '../../filter/sort.js';
6
- import ListingDetails from '../../jobListing/listing-details.js';
7
- import useListLogic from '../../../../hooks/useList.js';
8
- import Loading from '../../../../util/loading.js';
9
- import { useMap } from '../../../../contexts/mapContext.js';
10
- import { useMapList } from '../../../../contexts/mapListContext.js';
11
-
12
- var ItemsList = function ItemsList(_ref) {
13
- var fieldNames = _ref.fieldNames,
14
- showMap = _ref.showMap,
15
- fieldsShown = _ref.fieldsShown,
16
- specialFeatures = _ref.specialFeatures;
17
- var _useListLogic = useListLogic(),
18
- itemLimit = _useListLogic.itemLimit,
19
- sortSetting = _useListLogic.sortSetting,
20
- loader = _useListLogic.loader,
21
- scrollContainerRef = _useListLogic.scrollContainerRef,
22
- itemRefs = _useListLogic.itemRefs,
23
- setSortSetting = _useListLogic.setSortSetting;
24
- var _useMap = useMap(),
25
- selectedListItem = _useMap.selectedListItem;
26
- var _useMapList = useMapList(),
27
- mapItems = _useMapList.mapItems,
28
- filteredListings = _useMapList.filteredListings,
29
- loading = _useMapList.loading,
30
- commuteLocation = _useMapList.commuteLocation;
31
- var itemExpandedContent = function itemExpandedContent(item, recruiters) {
32
- return item ? /*#__PURE__*/React.createElement(ListingDetails, {
33
- item: item,
34
- recruiters: recruiters
35
- }) : null;
36
- };
37
- if (!fieldsShown.includes('travelTime') && commuteLocation != null && Object.entries(commuteLocation).length > 0) {
38
- fieldsShown.push('travelTime');
39
- fieldNames['travelTime'] = 'Commute';
40
- } else if (fieldsShown.includes('travelTime') && !commuteLocation) {
41
- fieldsShown = fieldsShown.filter(function (x) {
42
- return x !== 'travelTime';
43
- });
44
- }
45
- return /*#__PURE__*/React.createElement("div", {
46
- className: "hc-relative hc-bg-white md:hc-px-4 hc-flex hc-flex-col"
47
- }, /*#__PURE__*/React.createElement("div", {
48
- className: "hc-flex hc-flex-wrap hc-items-center hc-justify-between hc-gap-4 md:hc-mb-2 hc-p-3 md:hc-p-0 hc-bg-uiAccent/10 md:hc-bg-transparent hc-border-b md:hc-border-none hc-border-uiAccent/20"
49
- }, /*#__PURE__*/React.createElement("h2", {
50
- className: "hc-text-gray-500 hc-font-semibold hc-text-xs md:hc-text-sm"
51
- }, loading && /*#__PURE__*/React.createElement("span", null, "Loading..."), !loading && /*#__PURE__*/React.createElement("span", null, filteredListings.length, " results")), /*#__PURE__*/React.createElement("div", {
52
- className: "hc-block md:hc-hidden"
53
- }, /*#__PURE__*/React.createElement(FilterSort, {
54
- fields: fieldsShown,
55
- setSortSetting: setSortSetting,
56
- fieldNames: fieldNames
57
- }))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ListHeader, {
58
- setSortSetting: setSortSetting,
59
- sortSetting: sortSetting,
60
- fieldsShown: fieldsShown,
61
- fieldNames: fieldNames
62
- })), /*#__PURE__*/React.createElement("div", {
63
- ref: scrollContainerRef,
64
- className: "\n\t\t\t\t\thc-flex-grow hc-overflow-y-auto\n\t\t\t\t\t".concat(showMap ? "md:hc-max-h-45vh hc-max-h-[100vh]" : "md:hc-max-h-95vh hc-max-h-[95vh]", "\n\t\t\t\t")
65
- }, loading ? /*#__PURE__*/React.createElement("div", {
66
- className: "hc-flex hc-justify-center hc-items-center hc-pt-20"
67
- }, /*#__PURE__*/React.createElement(Loading, null)) : /*#__PURE__*/React.createElement(Accordion, {
68
- className: "hc-divide-y hc-divide-uiAccent/10 hc-z-[1000]",
69
- defaultValue: selectedListItem === null || selectedListItem === void 0 ? void 0 : selectedListItem.id
70
- }, filteredListings.slice(0, itemLimit).map(function (item) {
71
- return /*#__PURE__*/React.createElement(MapAccordionItem, {
72
- key: item.id,
73
- showMap: showMap,
74
- item: item,
75
- itemRefs: itemRefs,
76
- fieldsShown: fieldsShown,
77
- itemExpandedContent: itemExpandedContent,
78
- specialFeatures: specialFeatures,
79
- mapItems: mapItems,
80
- isActive: (selectedListItem === null || selectedListItem === void 0 ? void 0 : selectedListItem.id) == item.id,
81
- hasListItemSelected: selectedListItem != null
82
- });
83
- })), /*#__PURE__*/React.createElement("div", {
84
- ref: loader,
85
- style: {
86
- height: "100px",
87
- textAlign: "center"
88
- }
89
- }, filteredListings.length >= itemLimit && /*#__PURE__*/React.createElement(Loading, null))));
90
- };
91
-
92
- export { ItemsList as default };
93
- //# sourceMappingURL=index.js.map
1
+ import React from 'react';
2
+ import Accordion from '../../accordions/default.js';
3
+ import ListHeader from './header.js';
4
+ import MapAccordionItem from '../../accordions/MapAccordionItem.js';
5
+ import FilterSort from '../../filter/sort.js';
6
+ import ListingDetails from '../../jobListing/listing-details.js';
7
+ import useListLogic from '../../../../hooks/useList.js';
8
+ import Loading from '../../../../util/loading.js';
9
+ import { useMap } from '../../../../contexts/mapContext.js';
10
+ import { useMapList } from '../../../../contexts/mapListContext.js';
11
+
12
+ var ItemsList = function ItemsList(_ref) {
13
+ var fieldNames = _ref.fieldNames,
14
+ showMap = _ref.showMap,
15
+ fieldsShown = _ref.fieldsShown,
16
+ specialFeatures = _ref.specialFeatures;
17
+ var _useListLogic = useListLogic(),
18
+ itemLimit = _useListLogic.itemLimit,
19
+ sortSetting = _useListLogic.sortSetting,
20
+ loader = _useListLogic.loader,
21
+ scrollContainerRef = _useListLogic.scrollContainerRef,
22
+ itemRefs = _useListLogic.itemRefs,
23
+ setSortSetting = _useListLogic.setSortSetting;
24
+ var _useMap = useMap(),
25
+ selectedListItem = _useMap.selectedListItem;
26
+ var _useMapList = useMapList(),
27
+ mapItems = _useMapList.mapItems,
28
+ filteredListings = _useMapList.filteredListings,
29
+ loading = _useMapList.loading,
30
+ commuteLocation = _useMapList.commuteLocation;
31
+ var itemExpandedContent = function itemExpandedContent(item, recruiters) {
32
+ return item ? /*#__PURE__*/React.createElement(ListingDetails, {
33
+ item: item,
34
+ recruiters: recruiters
35
+ }) : null;
36
+ };
37
+ if (!fieldsShown.includes('travelTime') && commuteLocation != null && Object.entries(commuteLocation).length > 0) {
38
+ fieldsShown.push('travelTime');
39
+ fieldNames['travelTime'] = 'Commute';
40
+ } else if (fieldsShown.includes('travelTime') && !commuteLocation) {
41
+ fieldsShown = fieldsShown.filter(function (x) {
42
+ return x !== 'travelTime';
43
+ });
44
+ }
45
+ return /*#__PURE__*/React.createElement("div", {
46
+ className: "hc-relative hc-bg-white md:hc-px-4 hc-flex hc-flex-col"
47
+ }, /*#__PURE__*/React.createElement("div", {
48
+ className: "hc-flex hc-flex-wrap hc-items-center hc-justify-between hc-gap-4 md:hc-mb-2 hc-p-3 md:hc-p-0 hc-bg-uiAccent/10 md:hc-bg-transparent hc-border-b md:hc-border-none hc-border-uiAccent/20"
49
+ }, /*#__PURE__*/React.createElement("h2", {
50
+ className: "hc-text-gray-500 hc-font-semibold hc-text-xs md:hc-text-sm"
51
+ }, loading && /*#__PURE__*/React.createElement("span", null, "Loading..."), !loading && /*#__PURE__*/React.createElement("span", null, filteredListings.length, " results")), /*#__PURE__*/React.createElement("div", {
52
+ className: "hc-block md:hc-hidden"
53
+ }, /*#__PURE__*/React.createElement(FilterSort, {
54
+ fields: fieldsShown,
55
+ setSortSetting: setSortSetting,
56
+ fieldNames: fieldNames
57
+ }))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ListHeader, {
58
+ setSortSetting: setSortSetting,
59
+ sortSetting: sortSetting,
60
+ fieldsShown: fieldsShown,
61
+ fieldNames: fieldNames
62
+ })), /*#__PURE__*/React.createElement("div", {
63
+ ref: scrollContainerRef,
64
+ className: "\n\t\t\t\t\thc-flex-grow hc-overflow-y-auto\n\t\t\t\t\t".concat(showMap ? "md:hc-max-h-45vh hc-max-h-[100vh]" : "md:hc-max-h-95vh hc-max-h-[95vh]", "\n\t\t\t\t")
65
+ }, loading ? /*#__PURE__*/React.createElement("div", {
66
+ className: "hc-flex hc-justify-center hc-items-center hc-pt-20"
67
+ }, /*#__PURE__*/React.createElement(Loading, null)) : /*#__PURE__*/React.createElement(Accordion, {
68
+ className: "hc-divide-y hc-divide-uiAccent/10 hc-z-[1000]",
69
+ defaultValue: selectedListItem === null || selectedListItem === void 0 ? void 0 : selectedListItem.id
70
+ }, filteredListings.slice(0, itemLimit).map(function (item) {
71
+ return /*#__PURE__*/React.createElement(MapAccordionItem, {
72
+ key: item.id,
73
+ showMap: showMap,
74
+ item: item,
75
+ itemRefs: itemRefs,
76
+ fieldsShown: fieldsShown,
77
+ itemExpandedContent: itemExpandedContent,
78
+ specialFeatures: specialFeatures,
79
+ mapItems: mapItems,
80
+ isActive: (selectedListItem === null || selectedListItem === void 0 ? void 0 : selectedListItem.id) == item.id,
81
+ hasListItemSelected: selectedListItem != null
82
+ });
83
+ })), /*#__PURE__*/React.createElement("div", {
84
+ ref: loader,
85
+ style: {
86
+ height: "100px",
87
+ textAlign: "center"
88
+ }
89
+ }, filteredListings.length >= itemLimit && /*#__PURE__*/React.createElement(Loading, null))));
90
+ };
91
+
92
+ export { ItemsList as default };
93
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../src/components/modules/maps/list/index.js"],"sourcesContent":["import React from 'react';\n\nimport Accordion from '~/components/modules/accordions/default';\nimport Header from '~/components/modules/maps/list/header';\nimport MapAccordionItem from '~/components/modules/accordions/MapAccordionItem';\nimport Sort from '~/components/modules/filter/sort';\nimport ListingDetails from '~/components/modules/jobListing/listing-details';\n\nimport useListLogic from '~/hooks/useList';\n\nimport Loading from \"~/util/loading\";\n\nimport { useMap } from '~/contexts/mapContext';\nimport { useMapList } from '~/contexts/mapListContext';\n\nconst ItemsList = ({\n\tfieldNames,\n\tshowMap,\n\tfieldsShown,\n\tspecialFeatures\n}) => {\n\n\tconst {\n\t\titemLimit,\n\t\tsortSetting,\n\t\tloader,\n\t\tscrollContainerRef,\n\t\titemRefs,\n\t\tsetSortSetting\n\t} = useListLogic();\n\tconst { selectedListItem } = useMap();\n\tconst { mapItems, filteredListings, loading, commuteLocation } = useMapList();\n\tconst itemExpandedContent = (item, recruiters) =>\n\t\titem ? <ListingDetails item={item} recruiters={recruiters} /> : null;\n\tif (!fieldsShown.includes('travelTime') && commuteLocation != null && Object.entries(commuteLocation).length > 0) {\n\t\tfieldsShown.push('travelTime');\n\t\tfieldNames['travelTime'] = 'Commute';\n\t} else if (fieldsShown.includes('travelTime') && !commuteLocation) {\n\t\tfieldsShown = fieldsShown.filter(x => x !== 'travelTime');\n\t}\n\n\treturn (\n\t\t<div className=\"hc-relative hc-bg-white md:hc-px-4 hc-flex hc-flex-col\">\n\t\t\t<div className=\"hc-flex hc-flex-wrap hc-items-center hc-justify-between hc-gap-4 md:hc-mb-2 hc-p-3 md:hc-p-0 hc-bg-uiAccent/10 md:hc-bg-transparent hc-border-b md:hc-border-none hc-border-uiAccent/20\">\n\t\t\t\t<h2 className=\"hc-text-gray-500 hc-font-semibold hc-text-xs md:hc-text-sm\">\n\t\t\t\t\t{loading &&\n\t\t\t\t\t\t<span>Loading...</span>\n\t\t\t\t\t}\n\t\t\t\t\t{!loading &&\n\t\t\t\t\t\t<span>{filteredListings.length} results</span>\n\t\t\t\t\t}\n\t\t\t\t</h2>\n\t\t\t\t<div className=\"hc-block md:hc-hidden\">\n\t\t\t\t\t<Sort\n\t\t\t\t\t\tfields={fieldsShown}\n\t\t\t\t\t\tsetSortSetting={setSortSetting}\n\t\t\t\t\t\tfieldNames={fieldNames}\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div>\n\t\t\t\t<Header\n\t\t\t\t\tsetSortSetting={setSortSetting}\n\t\t\t\t\tsortSetting={sortSetting}\n\t\t\t\t\tfieldsShown={fieldsShown}\n\t\t\t\t\tfieldNames={fieldNames}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\tref={scrollContainerRef}\n\t\t\t\tclassName={`\n\t\t\t\t\thc-flex-grow hc-overflow-y-auto\n\t\t\t\t\t${showMap ? \"md:hc-max-h-45vh hc-max-h-[100vh]\" : \"md:hc-max-h-95vh hc-max-h-[95vh]\"}\n\t\t\t\t`}\n\t\t\t>\n\t\t\t\t{loading ? (\n\t\t\t\t\t<div className=\"hc-flex hc-justify-center hc-items-center hc-pt-20\">\n\t\t\t\t\t\t<Loading />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<Accordion className=\"hc-divide-y hc-divide-uiAccent/10 hc-z-[1000]\" defaultValue={selectedListItem?.id}>\n\t\t\t\t\t\t{filteredListings.slice(0, itemLimit).map(item => {\n\t\t\t\t\t\t\treturn (<MapAccordionItem\n\t\t\t\t\t\t\t\tkey={item.id}\n\t\t\t\t\t\t\t\tshowMap={showMap}\n\t\t\t\t\t\t\t\titem={item}\n\t\t\t\t\t\t\t\titemRefs={itemRefs}\n\t\t\t\t\t\t\t\tfieldsShown={fieldsShown}\n\t\t\t\t\t\t\t\titemExpandedContent={itemExpandedContent}\n\t\t\t\t\t\t\t\tspecialFeatures={specialFeatures}\n\t\t\t\t\t\t\t\tmapItems={mapItems}\n\t\t\t\t\t\t\t\tisActive={selectedListItem?.id == item.id}\n\t\t\t\t\t\t\t\thasListItemSelected={selectedListItem != null}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t</Accordion>\n\t\t\t\t)}\n\t\t\t\t<div ref={loader} style={{ height: \"100px\", textAlign: \"center\" }}>\n\t\t\t\t\t{filteredListings.length >= itemLimit && <Loading />}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default ItemsList;\n"],"names":["ItemsList","_ref","fieldNames","showMap","fieldsShown","specialFeatures","_useListLogic","useListLogic","itemLimit","sortSetting","loader","scrollContainerRef","itemRefs","setSortSetting","_useMap","useMap","selectedListItem","_useMapList","useMapList","mapItems","filteredListings","loading","commuteLocation","itemExpandedContent","item","recruiters","React","createElement","ListingDetails","includes","Object","entries","length","push","filter","x","className","Sort","fields","Header","ref","concat","Loading","Accordion","defaultValue","id","slice","map","MapAccordionItem","key","isActive","hasListItemSelected","style","height","textAlign"],"mappings":";;;;;;;;;;;AAeA,IAAMA,SAAS,GAAG,SAAZA,SAASA,CAAAC,IAAA,EAKT;AAAA,EAAA,IAJLC,UAAU,GAAAD,IAAA,CAAVC,UAAU;IACVC,OAAO,GAAAF,IAAA,CAAPE,OAAO;IACPC,WAAW,GAAAH,IAAA,CAAXG,WAAW;IACXC,eAAe,GAAAJ,IAAA,CAAfI,eAAe,CAAA;AAGf,EAAA,IAAAC,aAAA,GAOIC,YAAY,EAAE;IANjBC,SAAS,GAAAF,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K,EAAE;AAAEC,MAAAA,MAAM,EAAE,OAAO;AAAEC,MAAAA,SAAS,EAAE,QAAA;AAAS,KAAA;AAAE,GAAA,EAChElC,gBAAgB,CAACY,MAAM,IAAIxB,SAAS,iBAAIkB,KAAA,CAAAC,aAAA,CAACe,OAAO,EAAA,IAAE,CAC/C,CACD,CACD,CAAC,CAAA;AAER;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/modules/maps/list/index.js"],"sourcesContent":["import React from 'react';\r\n\r\nimport Accordion from '~/components/modules/accordions/default';\r\nimport Header from '~/components/modules/maps/list/header';\r\nimport MapAccordionItem from '~/components/modules/accordions/MapAccordionItem';\r\nimport Sort from '~/components/modules/filter/sort';\r\nimport ListingDetails from '~/components/modules/jobListing/listing-details';\r\n\r\nimport useListLogic from '~/hooks/useList';\r\n\r\nimport Loading from \"~/util/loading\";\r\n\r\nimport { useMap } from '~/contexts/mapContext';\r\nimport { useMapList } from '~/contexts/mapListContext';\r\n\r\nconst ItemsList = ({\r\n\tfieldNames,\r\n\tshowMap,\r\n\tfieldsShown,\r\n\tspecialFeatures\r\n}) => {\r\n\r\n\tconst {\r\n\t\titemLimit,\r\n\t\tsortSetting,\r\n\t\tloader,\r\n\t\tscrollContainerRef,\r\n\t\titemRefs,\r\n\t\tsetSortSetting\r\n\t} = useListLogic();\r\n\tconst { selectedListItem } = useMap();\r\n\tconst { mapItems, filteredListings, loading, commuteLocation } = useMapList();\r\n\tconst itemExpandedContent = (item, recruiters) =>\r\n\t\titem ? <ListingDetails item={item} recruiters={recruiters} /> : null;\r\n\tif (!fieldsShown.includes('travelTime') && commuteLocation != null && Object.entries(commuteLocation).length > 0) {\r\n\t\tfieldsShown.push('travelTime');\r\n\t\tfieldNames['travelTime'] = 'Commute';\r\n\t} else if (fieldsShown.includes('travelTime') && !commuteLocation) {\r\n\t\tfieldsShown = fieldsShown.filter(x => x !== 'travelTime');\r\n\t}\r\n\r\n\treturn (\r\n\t\t<div className=\"hc-relative hc-bg-white md:hc-px-4 hc-flex hc-flex-col\">\r\n\t\t\t<div className=\"hc-flex hc-flex-wrap hc-items-center hc-justify-between hc-gap-4 md:hc-mb-2 hc-p-3 md:hc-p-0 hc-bg-uiAccent/10 md:hc-bg-transparent hc-border-b md:hc-border-none hc-border-uiAccent/20\">\r\n\t\t\t\t<h2 className=\"hc-text-gray-500 hc-font-semibold hc-text-xs md:hc-text-sm\">\r\n\t\t\t\t\t{loading &&\r\n\t\t\t\t\t\t<span>Loading...</span>\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{!loading &&\r\n\t\t\t\t\t\t<span>{filteredListings.length} results</span>\r\n\t\t\t\t\t}\r\n\t\t\t\t</h2>\r\n\t\t\t\t<div className=\"hc-block md:hc-hidden\">\r\n\t\t\t\t\t<Sort\r\n\t\t\t\t\t\tfields={fieldsShown}\r\n\t\t\t\t\t\tsetSortSetting={setSortSetting}\r\n\t\t\t\t\t\tfieldNames={fieldNames}\r\n\t\t\t\t\t/>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div>\r\n\t\t\t\t<Header\r\n\t\t\t\t\tsetSortSetting={setSortSetting}\r\n\t\t\t\t\tsortSetting={sortSetting}\r\n\t\t\t\t\tfieldsShown={fieldsShown}\r\n\t\t\t\t\tfieldNames={fieldNames}\r\n\t\t\t\t/>\r\n\t\t\t</div>\r\n\t\t\t<div\r\n\t\t\t\tref={scrollContainerRef}\r\n\t\t\t\tclassName={`\r\n\t\t\t\t\thc-flex-grow hc-overflow-y-auto\r\n\t\t\t\t\t${showMap ? \"md:hc-max-h-45vh hc-max-h-[100vh]\" : \"md:hc-max-h-95vh hc-max-h-[95vh]\"}\r\n\t\t\t\t`}\r\n\t\t\t>\r\n\t\t\t\t{loading ? (\r\n\t\t\t\t\t<div className=\"hc-flex hc-justify-center hc-items-center hc-pt-20\">\r\n\t\t\t\t\t\t<Loading />\r\n\t\t\t\t\t</div>\r\n\t\t\t\t) : (\r\n\t\t\t\t\t<Accordion className=\"hc-divide-y hc-divide-uiAccent/10 hc-z-[1000]\" defaultValue={selectedListItem?.id}>\r\n\t\t\t\t\t\t{filteredListings.slice(0, itemLimit).map(item => {\r\n\t\t\t\t\t\t\treturn (<MapAccordionItem\r\n\t\t\t\t\t\t\t\tkey={item.id}\r\n\t\t\t\t\t\t\t\tshowMap={showMap}\r\n\t\t\t\t\t\t\t\titem={item}\r\n\t\t\t\t\t\t\t\titemRefs={itemRefs}\r\n\t\t\t\t\t\t\t\tfieldsShown={fieldsShown}\r\n\t\t\t\t\t\t\t\titemExpandedContent={itemExpandedContent}\r\n\t\t\t\t\t\t\t\tspecialFeatures={specialFeatures}\r\n\t\t\t\t\t\t\t\tmapItems={mapItems}\r\n\t\t\t\t\t\t\t\tisActive={selectedListItem?.id == item.id}\r\n\t\t\t\t\t\t\t\thasListItemSelected={selectedListItem != null}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t})}\r\n\t\t\t\t\t</Accordion>\r\n\t\t\t\t)}\r\n\t\t\t\t<div ref={loader} style={{ height: \"100px\", textAlign: \"center\" }}>\r\n\t\t\t\t\t{filteredListings.length >= itemLimit && <Loading />}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default ItemsList;\r\n"],"names":["ItemsList","_ref","fieldNames","showMap","fieldsShown","specialFeatures","_useListLogic","useListLogic","itemLimit","sortSetting","loader","scrollContainerRef","itemRefs","setSortSetting","_useMap","useMap","selectedListItem","_useMapList","useMapList","mapItems","filteredListings","loading","commuteLocation","itemExpandedContent","item","recruiters","React","createElement","ListingDetails","includes","Object","entries","length","push","filter","x","className","Sort","fields","Header","ref","concat","Loading","Accordion","defaultValue","id","slice","map","MapAccordionItem","key","isActive","hasListItemSelected","style","height","textAlign"],"mappings":";;;;;;;;;;;AAeA,IAAMA,SAAS,GAAG,SAAZA,SAASA,CAAAC,IAAA,EAKT;AAAA,EAAA,IAJL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AAE,KAAIrB,IAAI,CAACqB,EAAG;MAC1CM,mBAAmB,EAAEnC,gBAAgB,IAAI,IAAA;AAAK,KAC9C,CAAC,CAAA;AAEH,GAAC,CACS,CACX,eACDU,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKa,IAAAA,GAAG,EAAE9B,MAAO;AAAC0C,IAAAA,KAAK,EAAE;AAAEC,MAAAA,MAAM,EAAE,OAAO;AAAEC,MAAAA,SAAS,EAAE,QAAA;AAAS,KAAA;AAAE,GAAA,EAChElC,gBAAgB,CAACY,MAAM,IAAIxB,SAAS,iBAAIkB,KAAA,CAAAC,aAAA,CAACe,OAAO,EAAA,IAAE,CAC/C,CACD,CACD,CAAC,CAAA;AAER;;;;"}
@@ -1,16 +1,16 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React from 'react';
3
- import { twMerge } from 'tailwind-merge';
4
-
5
- var _excluded = ["className", "content"];
6
- var CardItemExpand = function CardItemExpand(_ref) {
7
- var className = _ref.className,
8
- content = _ref.content,
9
- props = _objectWithoutProperties(_ref, _excluded);
10
- return /*#__PURE__*/React.createElement("div", _extends({
11
- className: twMerge('hc-flex hc-flex-col lg:hc-flex-row hc-flex-wrap hc-items-stretch hc-gap-x-4 hc-w-full lg:hc-pt-2 hc-border-t hc-border-uiAccent/20', className !== null && className !== void 0 ? className : '')
12
- }, props), content);
13
- };
14
-
15
- export { CardItemExpand as default };
16
- //# sourceMappingURL=index.js.map
1
+ import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React from 'react';
3
+ import { twMerge } from 'tailwind-merge';
4
+
5
+ var _excluded = ["className", "content"];
6
+ var CardItemExpand = function CardItemExpand(_ref) {
7
+ var className = _ref.className,
8
+ content = _ref.content,
9
+ props = _objectWithoutProperties(_ref, _excluded);
10
+ return /*#__PURE__*/React.createElement("div", _extends({
11
+ className: twMerge('hc-flex hc-flex-col lg:hc-flex-row hc-flex-wrap hc-items-stretch hc-gap-x-4 hc-w-full lg:hc-pt-2 hc-border-t hc-border-uiAccent/20', className !== null && className !== void 0 ? className : '')
12
+ }, props), content);
13
+ };
14
+
15
+ export { CardItemExpand as default };
16
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../src/components/modules/maps/list/item-expand-card/index.js"],"sourcesContent":["import React from 'react';\nimport { twMerge } from 'tailwind-merge';\n\nconst CardItemExpand = ({\n\tclassName,\n\tcontent,\n\t...props\n}) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={twMerge(\n\t\t\t\t'hc-flex hc-flex-col lg:hc-flex-row hc-flex-wrap hc-items-stretch hc-gap-x-4 hc-w-full lg:hc-pt-2 hc-border-t hc-border-uiAccent/20',\n\t\t\t\tclassName ?? ''\n\t\t\t)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{content}\n\t\t</div>\n\t);\n};\n\nexport default CardItemExpand;\n"],"names":["CardItemExpand","_ref","className","content","props","_objectWithoutProperties","_excluded","React","createElement","_extends","twMerge"],"mappings":";;;;;AAGA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAId;AAAA,EAAA,IAHLC,SAAS,GAAAD,IAAA,CAATC,SAAS;IACTC,OAAO,GAAAF,IAAA,CAAPE,OAAO;AACJC,IAAAA,KAAK,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;AAER,EAAA,oBACCC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;IACCP,SAAS,EAAEQ,OAAO,CACjB,oIAAoI,EACpIR,SAAS,KAAA,IAAA,IAATA,SAAS,KAAA,KAAA,CAAA,GAATA,SAAS,GAAI,EACd,CAAA;GACIE,EAAAA,KAAK,CAERD,EAAAA,OACG,CAAC,CAAA;AAER;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../src/components/modules/maps/list/item-expand-card/index.js"],"sourcesContent":["import React from 'react';\r\nimport { twMerge } from 'tailwind-merge';\r\n\r\nconst CardItemExpand = ({\r\n\tclassName,\r\n\tcontent,\r\n\t...props\r\n}) => {\r\n\treturn (\r\n\t\t<div\r\n\t\t\tclassName={twMerge(\r\n\t\t\t\t'hc-flex hc-flex-col lg:hc-flex-row hc-flex-wrap hc-items-stretch hc-gap-x-4 hc-w-full lg:hc-pt-2 hc-border-t hc-border-uiAccent/20',\r\n\t\t\t\tclassName ?? ''\r\n\t\t\t)}\r\n\t\t\t{...props}\r\n\t\t>\r\n\t\t\t{content}\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default CardItemExpand;\r\n"],"names":["CardItemExpand","_ref","className","content","props","_objectWithoutProperties","_excluded","React","createElement","_extends","twMerge"],"mappings":";;;;;AAGA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAId;AAAA,EAAA,IAHLC,SAAS,GAAAD,IAAA,CAATC,SAAS;IACTC,OAAO,GAAAF,IAAA,CAAPE,OAAO;AACJC,IAAAA,KAAK,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;AAER,EAAA,oBACCC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;IACCP,SAAS,EAAEQ,OAAO,CACjB,oIAAoI,EACpIR,SAAS,KAAA,IAAA,IAATA,SAAS,KAAA,KAAA,CAAA,GAATA,SAAS,GAAI,EACd,CAAA;GACIE,EAAAA,KAAK,CAERD,EAAAA,OACG,CAAC,CAAA;AAER;;;;"}
@@ -1,38 +1,38 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React from 'react';
3
- import Button from '../../../buttons/default.js';
4
-
5
- var _excluded = ["className", "href", "target", "title", "icon"];
6
- var RecruiterContactNav = function RecruiterContactNav(_ref) {
7
- var children = _ref.children,
8
- className = _ref.className;
9
- return /*#__PURE__*/React.createElement("nav", {
10
- className: "\n\t\t\thc-inline-flex hc-items-center hc-justify-between hc-gap-2 hc-mt-2\n\t\t\t\t".concat(className !== null && className !== void 0 ? className : '', "\n\t\t\t")
11
- }, children);
12
- };
13
- var NavButton = function NavButton(_ref2) {
14
- var className = _ref2.className,
15
- href = _ref2.href,
16
- _ref2$target = _ref2.target,
17
- target = _ref2$target === void 0 ? '_self' : _ref2$target,
18
- title = _ref2.title,
19
- icon = _ref2.icon,
20
- props = _objectWithoutProperties(_ref2, _excluded);
21
- return /*#__PURE__*/React.createElement(Button.Anchor, _extends({
22
- href: href,
23
- variant: "icon",
24
- size: "sq",
25
- target: target,
26
- title: title,
27
- className: className !== null && className !== void 0 ? className : ''
28
- }, props), /*#__PURE__*/React.createElement("span", {
29
- className: "hc-sr-only"
30
- }, title), /*#__PURE__*/React.createElement(Button.Icon, {
31
- icon: icon,
32
- size: "hc-size-8"
33
- }));
34
- };
35
- RecruiterContactNav.Button = NavButton;
36
-
37
- export { NavButton, RecruiterContactNav as default };
38
- //# sourceMappingURL=recruiter-contact-nav.js.map
1
+ import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React from 'react';
3
+ import Button from '../../../buttons/default.js';
4
+
5
+ var _excluded = ["className", "href", "target", "title", "icon"];
6
+ var RecruiterContactNav = function RecruiterContactNav(_ref) {
7
+ var children = _ref.children,
8
+ className = _ref.className;
9
+ return /*#__PURE__*/React.createElement("nav", {
10
+ className: "\n\t\t\thc-inline-flex hc-items-center hc-justify-between hc-gap-2 hc-mt-2\n\t\t\t\t".concat(className !== null && className !== void 0 ? className : '', "\n\t\t\t")
11
+ }, children);
12
+ };
13
+ var NavButton = function NavButton(_ref2) {
14
+ var className = _ref2.className,
15
+ href = _ref2.href,
16
+ _ref2$target = _ref2.target,
17
+ target = _ref2$target === void 0 ? '_self' : _ref2$target,
18
+ title = _ref2.title,
19
+ icon = _ref2.icon,
20
+ props = _objectWithoutProperties(_ref2, _excluded);
21
+ return /*#__PURE__*/React.createElement(Button.Anchor, _extends({
22
+ href: href,
23
+ variant: "icon",
24
+ size: "sq",
25
+ target: target,
26
+ title: title,
27
+ className: className !== null && className !== void 0 ? className : ''
28
+ }, props), /*#__PURE__*/React.createElement("span", {
29
+ className: "hc-sr-only"
30
+ }, title), /*#__PURE__*/React.createElement(Button.Icon, {
31
+ icon: icon,
32
+ size: "hc-size-8"
33
+ }));
34
+ };
35
+ RecruiterContactNav.Button = NavButton;
36
+
37
+ export { NavButton, RecruiterContactNav as default };
38
+ //# sourceMappingURL=recruiter-contact-nav.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"recruiter-contact-nav.js","sources":["../../../../../../src/components/modules/maps/list/item-expand-card/recruiter-contact-nav.js"],"sourcesContent":["import React from 'react';\n\nimport Button from '~/components/modules/buttons/default';\n\nconst RecruiterContactNav = ({\n\tchildren,\n\tclassName\n}) => {\n\treturn (\n\t\t<nav\n\t\t\tclassName={`\n\t\t\thc-inline-flex hc-items-center hc-justify-between hc-gap-2 hc-mt-2\n\t\t\t\t${className ?? ''}\n\t\t\t`}\n\t\t>\n\t\t\t{children}\n\t\t</nav>\n\t);\n};\n\nexport const NavButton = ({\n\tclassName,\n\thref,\n\ttarget = '_self',\n\ttitle,\n\ticon,\n\t...props\n}) => {\n\treturn (\n\t\t<Button.Anchor\n\t\t\thref={href}\n\t\t\tvariant=\"icon\"\n\t\t\tsize=\"sq\"\n\t\t\ttarget={target}\n\t\t\ttitle={title}\n\t\t\tclassName={className ?? ''}\n\t\t\t{...props}\n\t\t>\n\t\t\t<span className=\"hc-sr-only\">{title}</span>\n\t\t\t<Button.Icon\n\t\t\t\ticon={icon}\n\t\t\t\tsize=\"hc-size-8\"\n\t\t\t/>\n\t\t</Button.Anchor>\n\t);\n};\n\nRecruiterContactNav.Button = NavButton;\n\nexport default RecruiterContactNav;\n"],"names":["RecruiterContactNav","_ref","children","className","React","createElement","concat","NavButton","_ref2","href","_ref2$target","target","title","icon","props","_objectWithoutProperties","_excluded","Button","Anchor","_extends","variant","size","Icon"],"mappings":";;;;;AAIA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA,EAGnB;AAAA,EAAA,IAFLC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IACRC,SAAS,GAAAF,IAAA,CAATE,SAAS,CAAA;EAET,oBACCC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IACCF,SAAS,EAAA,sFAAA,CAAAG,MAAA,CAENH,SAAS,aAATA,SAAS,KAAA,KAAA,CAAA,GAATA,SAAS,GAAI,EAAE,EAAA,UAAA,CAAA;AAChB,GAAA,EAEDD,QACG,CAAC,CAAA;AAER,EAAC;IAEYK,SAAS,GAAG,SAAZA,SAASA,CAAAC,KAAA,EAOhB;AAAA,EAAA,IANLL,SAAS,GAAAK,KAAA,CAATL,SAAS;IACTM,IAAI,GAAAD,KAAA,CAAJC,IAAI;IAAAC,YAAA,GAAAF,KAAA,CACJG,MAAM;AAANA,IAAAA,MAAM,GAAAD,YAAA,KAAG,KAAA,CAAA,GAAA,OAAO,GAAAA,YAAA;IAChBE,KAAK,GAAAJ,KAAA,CAALI,KAAK;IACLC,IAAI,GAAAL,KAAA,CAAJK,IAAI;AACDC,IAAAA,KAAK,GAAAC,wBAAA,CAAAP,KAAA,EAAAQ,SAAA,CAAA,CAAA;EAER,oBACCZ,KAAA,CAAAC,aAAA,CAACY,MAAM,CAACC,MAAM,EAAAC,QAAA,CAAA;AACbV,IAAAA,IAAI,EAAEA,IAAK;AACXW,IAAAA,OAAO,EAAC,MAAM;AACdC,IAAAA,IAAI,EAAC,IAAI;AACTV,IAAAA,MAAM,EAAEA,MAAO;AACfC,IAAAA,KAAK,EAAEA,KAAM;AACbT,IAAAA,SAAS,EAAEA,SAAS,KAAA,IAAA,IAATA,SAAS,KAAA,KAAA,CAAA,GAATA,SAAS,GAAI,EAAA;AAAG,GAAA,EACvBW,KAAK,CAAA,eAETV,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AAAMF,IAAAA,SAAS,EAAC,YAAA;GAAcS,EAAAA,KAAY,CAAC,eAC3CR,KAAA,CAAAC,aAAA,CAACY,MAAM,CAACK,IAAI,EAAA;AACXT,IAAAA,IAAI,EAAEA,IAAK;AACXQ,IAAAA,IAAI,EAAC,WAAA;AAAW,GAChB,CACa,CAAC,CAAA;AAElB,EAAC;AAEDrB,mBAAmB,CAACiB,MAAM,GAAGV,SAAS;;;;"}
1
+ {"version":3,"file":"recruiter-contact-nav.js","sources":["../../../../../../src/components/modules/maps/list/item-expand-card/recruiter-contact-nav.js"],"sourcesContent":["import React from 'react';\r\n\r\nimport Button from '~/components/modules/buttons/default';\r\n\r\nconst RecruiterContactNav = ({\r\n\tchildren,\r\n\tclassName\r\n}) => {\r\n\treturn (\r\n\t\t<nav\r\n\t\t\tclassName={`\r\n\t\t\thc-inline-flex hc-items-center hc-justify-between hc-gap-2 hc-mt-2\r\n\t\t\t\t${className ?? ''}\r\n\t\t\t`}\r\n\t\t>\r\n\t\t\t{children}\r\n\t\t</nav>\r\n\t);\r\n};\r\n\r\nexport const NavButton = ({\r\n\tclassName,\r\n\thref,\r\n\ttarget = '_self',\r\n\ttitle,\r\n\ticon,\r\n\t...props\r\n}) => {\r\n\treturn (\r\n\t\t<Button.Anchor\r\n\t\t\thref={href}\r\n\t\t\tvariant=\"icon\"\r\n\t\t\tsize=\"sq\"\r\n\t\t\ttarget={target}\r\n\t\t\ttitle={title}\r\n\t\t\tclassName={className ?? ''}\r\n\t\t\t{...props}\r\n\t\t>\r\n\t\t\t<span className=\"hc-sr-only\">{title}</span>\r\n\t\t\t<Button.Icon\r\n\t\t\t\ticon={icon}\r\n\t\t\t\tsize=\"hc-size-8\"\r\n\t\t\t/>\r\n\t\t</Button.Anchor>\r\n\t);\r\n};\r\n\r\nRecruiterContactNav.Button = NavButton;\r\n\r\nexport default RecruiterContactNav;\r\n"],"names":["RecruiterContactNav","_ref","children","className","React","createElement","concat","NavButton","_ref2","href","_ref2$target","target","title","icon","props","_objectWithoutProperties","_excluded","Button","Anchor","_extends","variant","size","Icon"],"mappings":";;;;;AAIA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA,EAGnB;AAAA,EAAA,IAFLC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IACRC,SAAS,GAAAF,IAAA,CAATE,SAAS,CAAA;EAET,oBACCC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IACCF,SAAS,EAAA,sFAAA,CAAAG,MAAA,CAENH,SAAS,aAATA,SAAS,KAAA,KAAA,CAAA,GAATA,SAAS,GAAI,EAAE,EAAA,UAAA,CAAA;AAChB,GAAA,EAEDD,QACG,CAAC,CAAA;AAER,EAAC;IAEYK,SAAS,GAAG,SAAZA,SAASA,CAAAC,KAAA,EAOhB;AAAA,EAAA,IANLL,SAAS,GAAAK,KAAA,CAATL,SAAS;IACTM,IAAI,GAAAD,KAAA,CAAJC,IAAI;IAAAC,YAAA,GAAAF,KAAA,CACJG,MAAM;AAANA,IAAAA,MAAM,GAAAD,YAAA,KAAG,KAAA,CAAA,GAAA,OAAO,GAAAA,YAAA;IAChBE,KAAK,GAAAJ,KAAA,CAALI,KAAK;IACLC,IAAI,GAAAL,KAAA,CAAJK,IAAI;AACDC,IAAAA,KAAK,GAAAC,wBAAA,CAAAP,KAAA,EAAAQ,SAAA,CAAA,CAAA;EAER,oBACCZ,KAAA,CAAAC,aAAA,CAACY,MAAM,CAACC,MAAM,EAAAC,QAAA,CAAA;AACbV,IAAAA,IAAI,EAAEA,IAAK;AACXW,IAAAA,OAAO,EAAC,MAAM;AACdC,IAAAA,IAAI,EAAC,IAAI;AACTV,IAAAA,MAAM,EAAEA,MAAO;AACfC,IAAAA,KAAK,EAAEA,KAAM;AACbT,IAAAA,SAAS,EAAEA,SAAS,KAAA,IAAA,IAATA,SAAS,KAAA,KAAA,CAAA,GAATA,SAAS,GAAI,EAAA;AAAG,GAAA,EACvBW,KAAK,CAAA,eAETV,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AAAMF,IAAAA,SAAS,EAAC,YAAA;GAAcS,EAAAA,KAAY,CAAC,eAC3CR,KAAA,CAAAC,aAAA,CAACY,MAAM,CAACK,IAAI,EAAA;AACXT,IAAAA,IAAI,EAAEA,IAAK;AACXQ,IAAAA,IAAI,EAAC,WAAA;AAAW,GAChB,CACa,CAAC,CAAA;AAElB,EAAC;AAEDrB,mBAAmB,CAACiB,MAAM,GAAGV,SAAS;;;;"}
@@ -1,40 +1,40 @@
1
- import { taggedTemplateLiteral as _taggedTemplateLiteral } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React from 'react';
3
- import { twMerge } from 'tailwind-merge';
4
-
5
- var _templateObject, _templateObject2, _templateObject3;
6
- var RecruiterDetails = function RecruiterDetails(_ref) {
7
- var contactNav = _ref.contactNav,
8
- className = _ref.className,
9
- children = _ref.children;
10
- return /*#__PURE__*/React.createElement("div", {
11
- className: twMerge(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t\thc-grow\n\t\t\t\t", "\n\t\t\t"])), className !== null && className !== void 0 ? className : '')
12
- }, children, contactNav && /*#__PURE__*/React.createElement("div", {
13
- className: "hc-inline-flex"
14
- }, contactNav));
15
- };
16
- var Title = function Title(_ref2) {
17
- var _ref2$as = _ref2.as,
18
- as = _ref2$as === void 0 ? 'h4' : _ref2$as,
19
- className = _ref2.className,
20
- children = _ref2.children;
21
- var Container = as;
22
- return /*#__PURE__*/React.createElement(Container, {
23
- className: twMerge(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\t\t\thc-text-base hc-font-medium\n\t\t\t\t", "\n\t\t\t"])), className !== null && className !== void 0 ? className : '')
24
- }, children);
25
- };
26
- var Text = function Text(_ref3) {
27
- var _ref3$as = _ref3.as,
28
- as = _ref3$as === void 0 ? 'p' : _ref3$as,
29
- className = _ref3.className,
30
- children = _ref3.children;
31
- var Container = as;
32
- return /*#__PURE__*/React.createElement(Container, {
33
- className: twMerge(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t\t\thc-text-sm hc-text-uiText/60\n\t\t\t\t", "\n\t\t\t"])), className !== null && className !== void 0 ? className : '')
34
- }, children);
35
- };
36
- RecruiterDetails.Title = Title;
37
- RecruiterDetails.Text = Text;
38
-
39
- export { Text, Title, RecruiterDetails as default };
40
- //# sourceMappingURL=recruiter-details.js.map
1
+ import { taggedTemplateLiteral as _taggedTemplateLiteral } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React from 'react';
3
+ import { twMerge } from 'tailwind-merge';
4
+
5
+ var _templateObject, _templateObject2, _templateObject3;
6
+ var RecruiterDetails = function RecruiterDetails(_ref) {
7
+ var contactNav = _ref.contactNav,
8
+ className = _ref.className,
9
+ children = _ref.children;
10
+ return /*#__PURE__*/React.createElement("div", {
11
+ className: twMerge(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t\thc-grow\n\t\t\t\t", "\n\t\t\t"])), className !== null && className !== void 0 ? className : '')
12
+ }, children, contactNav && /*#__PURE__*/React.createElement("div", {
13
+ className: "hc-inline-flex"
14
+ }, contactNav));
15
+ };
16
+ var Title = function Title(_ref2) {
17
+ var _ref2$as = _ref2.as,
18
+ as = _ref2$as === void 0 ? 'h4' : _ref2$as,
19
+ className = _ref2.className,
20
+ children = _ref2.children;
21
+ var Container = as;
22
+ return /*#__PURE__*/React.createElement(Container, {
23
+ className: twMerge(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\t\t\thc-text-base hc-font-medium\n\t\t\t\t", "\n\t\t\t"])), className !== null && className !== void 0 ? className : '')
24
+ }, children);
25
+ };
26
+ var Text = function Text(_ref3) {
27
+ var _ref3$as = _ref3.as,
28
+ as = _ref3$as === void 0 ? 'p' : _ref3$as,
29
+ className = _ref3.className,
30
+ children = _ref3.children;
31
+ var Container = as;
32
+ return /*#__PURE__*/React.createElement(Container, {
33
+ className: twMerge(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t\t\thc-text-sm hc-text-uiText/60\n\t\t\t\t", "\n\t\t\t"])), className !== null && className !== void 0 ? className : '')
34
+ }, children);
35
+ };
36
+ RecruiterDetails.Title = Title;
37
+ RecruiterDetails.Text = Text;
38
+
39
+ export { Text, Title, RecruiterDetails as default };
40
+ //# sourceMappingURL=recruiter-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"recruiter-details.js","sources":["../../../../../../src/components/modules/maps/list/item-expand-card/recruiter-details.js"],"sourcesContent":["import React from 'react';\nimport { twMerge } from 'tailwind-merge';\n\nconst RecruiterDetails = ({\n\tcontactNav,\n\tclassName,\n\tchildren\n}) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={twMerge`\n\t\t\t\thc-grow\n\t\t\t\t${className ?? ''}\n\t\t\t`}\n\t\t>\n\t\t\t{children}\n\n\t\t\t{contactNav &&\n\t\t\t\t<div className=\"hc-inline-flex\">\n\t\t\t\t\t{contactNav}\n\t\t\t\t</div>\n\t\t\t}\n\t\t</div>\n\t);\n};\n\nexport const Title = ({\n\tas = 'h4',\n\tclassName,\n\tchildren\n}) => {\n\tconst Container = as;\n\n\treturn (\n\t\t<Container\n\t\t\tclassName={twMerge`\n\t\t\t\thc-text-base hc-font-medium\n\t\t\t\t${className ?? ''}\n\t\t\t`}\n\t\t>\n\t\t\t{children}\n\t\t</Container>\n\t);\n};\n\nexport const Text = ({\n\tas = 'p',\n\tclassName,\n\tchildren\n}) => {\n\tconst Container = as;\n\n\treturn (\n\t\t<Container\n\t\t\tclassName={twMerge`\n\t\t\t\thc-text-sm hc-text-uiText/60\n\t\t\t\t${className ?? ''}\n\t\t\t`}\n\t\t>\n\t\t\t{children}\n\t\t</Container>\n\t);\n};\n\nRecruiterDetails.Title = Title;\nRecruiterDetails.Text = Text;\n\nexport default RecruiterDetails;\n"],"names":["RecruiterDetails","_ref","contactNav","className","children","React","createElement","twMerge","_templateObject","_taggedTemplateLiteral","Title","_ref2","_ref2$as","as","Container","_templateObject2","Text","_ref3","_ref3$as","_templateObject3"],"mappings":";;;;;AAGA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAIhB;AAAA,EAAA,IAHLC,UAAU,GAAAD,IAAA,CAAVC,UAAU;IACVC,SAAS,GAAAF,IAAA,CAATE,SAAS;IACTC,QAAQ,GAAAH,IAAA,CAARG,QAAQ,CAAA;EAER,oBACCC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACCH,IAAAA,SAAS,EAAEI,OAAO,CAAAC,eAAA,KAAAA,eAAA,GAAAC,sBAAA,CAAA,CAAA,6BAAA,EAAA,UAAA,CAAA,CAAA,CAAA,EAEfN,SAAS,KAATA,IAAAA,IAAAA,SAAS,KAATA,KAAAA,CAAAA,GAAAA,SAAS,GAAI,EAAE,CAAA;AAChB,GAAA,EAEDC,QAAQ,EAERF,UAAU,iBACVG,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKH,IAAAA,SAAS,EAAC,gBAAA;GACbD,EAAAA,UACG,CAEF,CAAC,CAAA;AAER,EAAC;IAEYQ,KAAK,GAAG,SAARA,KAAKA,CAAAC,KAAA,EAIZ;AAAA,EAAA,IAAAC,QAAA,GAAAD,KAAA,CAHLE,EAAE;AAAFA,IAAAA,EAAE,GAAAD,QAAA,KAAG,KAAA,CAAA,GAAA,IAAI,GAAAA,QAAA;IACTT,SAAS,GAAAQ,KAAA,CAATR,SAAS;IACTC,QAAQ,GAAAO,KAAA,CAARP,QAAQ,CAAA;EAER,IAAMU,SAAS,GAAGD,EAAE,CAAA;AAEpB,EAAA,oBACCR,KAAA,CAAAC,aAAA,CAACQ,SAAS,EAAA;AACTX,IAAAA,SAAS,EAAEI,OAAO,CAAAQ,gBAAA,KAAAA,gBAAA,GAAAN,sBAAA,CAAA,CAAA,iDAAA,EAAA,UAAA,CAAA,CAAA,CAAA,EAEfN,SAAS,KAATA,IAAAA,IAAAA,SAAS,KAATA,KAAAA,CAAAA,GAAAA,SAAS,GAAI,EAAE,CAAA;AAChB,GAAA,EAEDC,QACS,CAAC,CAAA;AAEd,EAAC;IAEYY,IAAI,GAAG,SAAPA,IAAIA,CAAAC,KAAA,EAIX;AAAA,EAAA,IAAAC,QAAA,GAAAD,KAAA,CAHLJ,EAAE;AAAFA,IAAAA,EAAE,GAAAK,QAAA,KAAG,KAAA,CAAA,GAAA,GAAG,GAAAA,QAAA;IACRf,SAAS,GAAAc,KAAA,CAATd,SAAS;IACTC,QAAQ,GAAAa,KAAA,CAARb,QAAQ,CAAA;EAER,IAAMU,SAAS,GAAGD,EAAE,CAAA;AAEpB,EAAA,oBACCR,KAAA,CAAAC,aAAA,CAACQ,SAAS,EAAA;AACTX,IAAAA,SAAS,EAAEI,OAAO,CAAAY,gBAAA,KAAAA,gBAAA,GAAAV,sBAAA,CAAA,CAAA,kDAAA,EAAA,UAAA,CAAA,CAAA,CAAA,EAEfN,SAAS,KAATA,IAAAA,IAAAA,SAAS,KAATA,KAAAA,CAAAA,GAAAA,SAAS,GAAI,EAAE,CAAA;AAChB,GAAA,EAEDC,QACS,CAAC,CAAA;AAEd,EAAC;AAEDJ,gBAAgB,CAACU,KAAK,GAAGA,KAAK,CAAA;AAC9BV,gBAAgB,CAACgB,IAAI,GAAGA,IAAI;;;;"}
1
+ {"version":3,"file":"recruiter-details.js","sources":["../../../../../../src/components/modules/maps/list/item-expand-card/recruiter-details.js"],"sourcesContent":["import React from 'react';\r\nimport { twMerge } from 'tailwind-merge';\r\n\r\nconst RecruiterDetails = ({\r\n\tcontactNav,\r\n\tclassName,\r\n\tchildren\r\n}) => {\r\n\treturn (\r\n\t\t<div\r\n\t\t\tclassName={twMerge`\r\n\t\t\t\thc-grow\r\n\t\t\t\t${className ?? ''}\r\n\t\t\t`}\r\n\t\t>\r\n\t\t\t{children}\r\n\r\n\t\t\t{contactNav &&\r\n\t\t\t\t<div className=\"hc-inline-flex\">\r\n\t\t\t\t\t{contactNav}\r\n\t\t\t\t</div>\r\n\t\t\t}\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport const Title = ({\r\n\tas = 'h4',\r\n\tclassName,\r\n\tchildren\r\n}) => {\r\n\tconst Container = as;\r\n\r\n\treturn (\r\n\t\t<Container\r\n\t\t\tclassName={twMerge`\r\n\t\t\t\thc-text-base hc-font-medium\r\n\t\t\t\t${className ?? ''}\r\n\t\t\t`}\r\n\t\t>\r\n\t\t\t{children}\r\n\t\t</Container>\r\n\t);\r\n};\r\n\r\nexport const Text = ({\r\n\tas = 'p',\r\n\tclassName,\r\n\tchildren\r\n}) => {\r\n\tconst Container = as;\r\n\r\n\treturn (\r\n\t\t<Container\r\n\t\t\tclassName={twMerge`\r\n\t\t\t\thc-text-sm hc-text-uiText/60\r\n\t\t\t\t${className ?? ''}\r\n\t\t\t`}\r\n\t\t>\r\n\t\t\t{children}\r\n\t\t</Container>\r\n\t);\r\n};\r\n\r\nRecruiterDetails.Title = Title;\r\nRecruiterDetails.Text = Text;\r\n\r\nexport default RecruiterDetails;\r\n"],"names":["RecruiterDetails","_ref","contactNav","className","children","React","createElement","twMerge","_templateObject","_taggedTemplateLiteral","Title","_ref2","_ref2$as","as","Container","_templateObject2","Text","_ref3","_ref3$as","_templateObject3"],"mappings":";;;;;AAGA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAIhB;AAAA,EAAA,IAHLC,UAAU,GAAAD,IAAA,CAAVC,UAAU;IACVC,SAAS,GAAAF,IAAA,CAATE,SAAS;IACTC,QAAQ,GAAAH,IAAA,CAARG,QAAQ,CAAA;EAER,oBACCC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACCH,IAAAA,SAAS,EAAEI,OAAO,CAAAC,eAAA,KAAAA,eAAA,GAAAC,sBAAA,CAAA,CAAA,6BAAA,EAAA,UAAA,CAAA,CAAA,CAAA,EAEfN,SAAS,KAATA,IAAAA,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,SAAS,EAAEI,OAAO,CAAAY,gBAAA,KAAAA,gBAAA,GAAAV,sBAAA,CAAA,CAAA,kDAAA,EAAA,UAAA,CAAA,CAAA,CAAA,EAEfN,SAAS,KAATA,IAAAA,IAAAA,SAAS,KAATA,KAAAA,CAAAA,GAAAA,SAAS,GAAI,EAAE,CAAA;AAChB,GAAA,EAEDC,QACS,CAAC,CAAA;AAEd,EAAC;AAEDJ,gBAAgB,CAACU,KAAK,GAAGA,KAAK,CAAA;AAC9BV,gBAAgB,CAACgB,IAAI,GAAGA,IAAI;;;;"}
@@ -1,20 +1,20 @@
1
- import React from 'react';
2
-
3
- var RecruiterHeadshot = function RecruiterHeadshot(_ref) {
4
- var image = _ref.image,
5
- alt = _ref.alt,
6
- className = _ref.className,
7
- imageClassName = _ref.imageClassName;
8
- return /*#__PURE__*/React.createElement("div", {
9
- className: className !== null && className !== void 0 ? className : ''
10
- }, /*#__PURE__*/React.createElement("img", {
11
- src: image,
12
- width: "96",
13
- height: "96",
14
- alt: alt,
15
- className: imageClassName !== null && imageClassName !== void 0 ? imageClassName : ''
16
- }));
17
- };
18
-
19
- export { RecruiterHeadshot as default };
20
- //# sourceMappingURL=recruiter-headshot.js.map
1
+ import React from 'react';
2
+
3
+ var RecruiterHeadshot = function RecruiterHeadshot(_ref) {
4
+ var image = _ref.image,
5
+ alt = _ref.alt,
6
+ className = _ref.className,
7
+ imageClassName = _ref.imageClassName;
8
+ return /*#__PURE__*/React.createElement("div", {
9
+ className: className !== null && className !== void 0 ? className : ''
10
+ }, /*#__PURE__*/React.createElement("img", {
11
+ src: image,
12
+ width: "96",
13
+ height: "96",
14
+ alt: alt,
15
+ className: imageClassName !== null && imageClassName !== void 0 ? imageClassName : ''
16
+ }));
17
+ };
18
+
19
+ export { RecruiterHeadshot as default };
20
+ //# sourceMappingURL=recruiter-headshot.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"recruiter-headshot.js","sources":["../../../../../../src/components/modules/maps/list/item-expand-card/recruiter-headshot.js"],"sourcesContent":["import React from 'react';\n\nconst RecruiterHeadshot = ({\n\timage,\n\talt,\n\tclassName,\n\timageClassName\n}) => {\n\treturn (\n\t\t<div className={className ?? ''}>\n\t\t\t<img\n\t\t\t\tsrc={image}\n\t\t\t\twidth=\"96\"\n\t\t\t\theight=\"96\"\n\t\t\t\talt={alt}\n\t\t\t\tclassName={imageClassName ?? ''}\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default RecruiterHeadshot;\n"],"names":["RecruiterHeadshot","_ref","image","alt","className","imageClassName","React","createElement","src","width","height"],"mappings":";;AAEA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EAKjB;AAAA,EAAA,IAJLC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IACHC,SAAS,GAAAH,IAAA,CAATG,SAAS;IACTC,cAAc,GAAAJ,IAAA,CAAdI,cAAc,CAAA;EAEd,oBACCC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKH,IAAAA,SAAS,EAAEA,SAAS,KAAA,IAAA,IAATA,SAAS,KAAA,KAAA,CAAA,GAATA,SAAS,GAAI,EAAA;GAC5BE,eAAAA,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACCC,IAAAA,GAAG,EAAEN,KAAM;AACXO,IAAAA,KAAK,EAAC,IAAI;AACVC,IAAAA,MAAM,EAAC,IAAI;AACXP,IAAAA,GAAG,EAAEA,GAAI;AACTC,IAAAA,SAAS,EAAEC,cAAc,KAAA,IAAA,IAAdA,cAAc,KAAA,KAAA,CAAA,GAAdA,cAAc,GAAI,EAAA;AAAG,GAChC,CACG,CAAC,CAAA;AAER;;;;"}
1
+ {"version":3,"file":"recruiter-headshot.js","sources":["../../../../../../src/components/modules/maps/list/item-expand-card/recruiter-headshot.js"],"sourcesContent":["import React from 'react';\r\n\r\nconst RecruiterHeadshot = ({\r\n\timage,\r\n\talt,\r\n\tclassName,\r\n\timageClassName\r\n}) => {\r\n\treturn (\r\n\t\t<div className={className ?? ''}>\r\n\t\t\t<img\r\n\t\t\t\tsrc={image}\r\n\t\t\t\twidth=\"96\"\r\n\t\t\t\theight=\"96\"\r\n\t\t\t\talt={alt}\r\n\t\t\t\tclassName={imageClassName ?? ''}\r\n\t\t\t/>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default RecruiterHeadshot;\r\n"],"names":["RecruiterHeadshot","_ref","image","alt","className","imageClassName","React","createElement","src","width","height"],"mappings":";;AAEA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EAKjB;AAAA,EAAA,IAJLC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IACHC,SAAS,GAAAH,IAAA,CAATG,SAAS;IACTC,cAAc,GAAAJ,IAAA,CAAdI,cAAc,CAAA;EAEd,oBACCC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKH,IAAAA,SAAS,EAAEA,SAAS,KAAA,IAAA,IAATA,SAAS,KAAA,KAAA,CAAA,GAATA,SAAS,GAAI,EAAA;GAC5BE,eAAAA,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACCC,IAAAA,GAAG,EAAEN,KAAM;AACXO,IAAAA,KAAK,EAAC,IAAI;AACVC,IAAAA,MAAM,EAAC,IAAI;AACXP,IAAAA,GAAG,EAAEA,GAAI;AACTC,IAAAA,SAAS,EAAEC,cAAc,KAAA,IAAA,IAAdA,cAAc,KAAA,KAAA,CAAA,GAAdA,cAAc,GAAI,EAAA;AAAG,GAChC,CACG,CAAC,CAAA;AAER;;;;"}