@nypl/design-system-react-components 0.25.12 → 0.25.13
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/CHANGELOG.md +63 -1
- package/dist/components/Accordion/Accordion.d.ts +5 -3
- package/dist/components/Accordion/AccordionTypes.d.ts +5 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/dist/components/Breadcrumbs/BreadcrumbsTypes.d.ts +1 -1
- package/dist/components/Card/Card.d.ts +11 -20
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +4 -2
- package/dist/components/Heading/Heading.d.ts +4 -4
- package/dist/components/Heading/HeadingTypes.d.ts +1 -1
- package/dist/components/Hero/Hero.d.ts +7 -4
- package/dist/components/Icons/IconTypes.d.ts +1 -0
- package/dist/components/Image/Image.d.ts +25 -7
- package/dist/components/Image/ImageTypes.d.ts +4 -4
- package/dist/components/Logo/LogoTypes.d.ts +2 -2
- package/dist/components/Notification/Notification.d.ts +4 -4
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +4 -2
- package/dist/components/Select/Select.d.ts +2 -2
- package/dist/components/SkeletonLoader/SkeletonLoader.d.ts +4 -3
- package/dist/components/SkeletonLoader/SkeletonLoaderTypes.d.ts +0 -4
- package/dist/components/StructuredContent/StructuredContent.d.ts +9 -22
- package/dist/components/Tabs/Tabs.d.ts +3 -3
- package/dist/components/Template/Template.d.ts +13 -5
- package/dist/components/Text/Text.d.ts +3 -3
- package/dist/components/Text/TextTypes.d.ts +1 -1
- package/dist/components/TextInput/TextInput.d.ts +2 -2
- package/dist/components/Toggle/Toggle.d.ts +6 -7
- package/dist/components/Toggle/{ToggleSizes.d.ts → ToggleTypes.d.ts} +1 -1
- package/dist/design-system-react-components.cjs.development.js +505 -422
- package/dist/design-system-react-components.cjs.development.js.map +1 -1
- package/dist/design-system-react-components.cjs.production.min.js +1 -1
- package/dist/design-system-react-components.cjs.production.min.js.map +1 -1
- package/dist/design-system-react-components.esm.js +514 -435
- package/dist/design-system-react-components.esm.js.map +1 -1
- package/dist/helpers/enums.d.ts +4 -0
- package/dist/index.d.ts +7 -8
- package/dist/theme/components/accordion.d.ts +7 -12
- package/dist/theme/components/breadcrumb.d.ts +3 -0
- package/dist/theme/components/card.d.ts +4 -4
- package/dist/theme/components/checkbox.d.ts +1 -0
- package/dist/theme/components/checkboxGroup.d.ts +3 -1
- package/dist/theme/components/global.d.ts +2 -1
- package/dist/theme/components/hero.d.ts +1 -1
- package/dist/theme/components/image.d.ts +1 -1
- package/dist/theme/components/notification.d.ts +4 -4
- package/dist/theme/components/pagination.d.ts +2 -5
- package/dist/theme/components/radio.d.ts +1 -0
- package/dist/theme/components/radioGroup.d.ts +3 -1
- package/dist/theme/components/select.d.ts +3 -0
- package/dist/theme/components/toggle.d.ts +13 -1
- package/package.json +1 -1
- package/src/components/AccessibilityGuide/SkipNavigation.stories.mdx +34 -0
- package/src/components/Accordion/Accordion.stories.mdx +150 -66
- package/src/components/Accordion/Accordion.test.tsx +44 -17
- package/src/components/Accordion/Accordion.tsx +50 -20
- package/src/components/Accordion/AccordionTypes.tsx +5 -0
- package/src/components/Accordion/__snapshots__/Accordion.test.tsx.snap +244 -2
- package/src/components/Breadcrumbs/Breadcrumbs.stories.mdx +17 -15
- package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +6 -6
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +6 -6
- package/src/components/Breadcrumbs/BreadcrumbsTypes.tsx +1 -1
- package/src/components/Card/Card.stories.mdx +236 -165
- package/src/components/Card/Card.test.tsx +36 -18
- package/src/components/Card/Card.tsx +84 -59
- package/src/components/Card/__snapshots__/Card.test.tsx.snap +25 -65
- package/src/components/Chakra/Center.stories.mdx +2 -2
- package/src/components/Checkbox/Checkbox.stories.mdx +13 -1
- package/src/components/Checkbox/Checkbox.test.tsx +58 -2
- package/src/components/Checkbox/Checkbox.tsx +6 -1
- package/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap +76 -0
- package/src/components/CheckboxGroup/CheckboxGroup.stories.mdx +73 -9
- package/src/components/CheckboxGroup/CheckboxGroup.test.tsx +79 -9
- package/src/components/CheckboxGroup/CheckboxGroup.tsx +10 -7
- package/src/components/CheckboxGroup/__snapshots__/CheckboxGroup.test.tsx.snap +169 -0
- package/src/components/ComponentWrapper/ComponentWrapper.tsx +1 -1
- package/src/components/DatePicker/DatePicker.test.tsx +5 -2
- package/src/components/DatePicker/DatePicker.tsx +5 -2
- package/src/components/Form/Form.stories.mdx +47 -9
- package/src/components/Form/Form.test.tsx +1 -1
- package/src/components/Form/Form.tsx +3 -1
- package/src/components/Grid/SimpleGrid.stories.mdx +53 -35
- package/src/components/Grid/SimpleGrid.test.tsx +15 -9
- package/src/components/Heading/Heading.stories.mdx +21 -23
- package/src/components/Heading/Heading.test.tsx +7 -7
- package/src/components/Heading/Heading.tsx +10 -14
- package/src/components/Heading/HeadingTypes.tsx +1 -1
- package/src/components/Heading/__snapshots__/Heading.test.tsx.snap +1 -1
- package/src/components/Hero/Hero.stories.mdx +27 -27
- package/src/components/Hero/Hero.test.tsx +113 -58
- package/src/components/Hero/Hero.tsx +43 -20
- package/src/components/HorizontalRule/HorizontalRule.test.tsx +6 -4
- package/src/components/HorizontalRule/HorizontalRule.tsx +3 -2
- package/src/components/Icons/Icon.stories.mdx +50 -18
- package/src/components/Icons/Icon.test.tsx +13 -2
- package/src/components/Icons/Icon.tsx +11 -6
- package/src/components/Icons/IconTypes.tsx +1 -0
- package/src/components/Image/Image.stories.mdx +133 -68
- package/src/components/Image/Image.test.tsx +32 -48
- package/src/components/Image/Image.tsx +46 -26
- package/src/components/Image/ImageTypes.ts +4 -4
- package/src/components/Image/__snapshots__/Image.test.tsx.snap +60 -13
- package/src/components/Link/Link.tsx +8 -1
- package/src/components/List/List.stories.mdx +1 -1
- package/src/components/List/List.test.tsx +7 -4
- package/src/components/List/List.tsx +7 -4
- package/src/components/Logo/Logo.stories.mdx +13 -13
- package/src/components/Logo/Logo.test.tsx +12 -2
- package/src/components/Logo/Logo.tsx +10 -5
- package/src/components/Logo/LogoTypes.tsx +1 -1
- package/src/components/Notification/Notification.stories.mdx +5 -5
- package/src/components/Notification/Notification.tsx +10 -10
- package/src/components/Pagination/Pagination.stories.mdx +4 -3
- package/src/components/Pagination/Pagination.test.tsx +30 -2
- package/src/components/Pagination/Pagination.tsx +6 -3
- package/src/components/ProgressIndicator/ProgressIndicator.stories.mdx +1 -1
- package/src/components/ProgressIndicator/ProgressIndicator.test.tsx +6 -2
- package/src/components/ProgressIndicator/ProgressIndicator.tsx +3 -1
- package/src/components/Radio/Radio.stories.mdx +13 -1
- package/src/components/Radio/Radio.test.tsx +56 -2
- package/src/components/Radio/Radio.tsx +6 -1
- package/src/components/Radio/__snapshots__/Radio.test.tsx.snap +61 -0
- package/src/components/RadioGroup/RadioGroup.stories.mdx +73 -9
- package/src/components/RadioGroup/RadioGroup.test.tsx +72 -7
- package/src/components/RadioGroup/RadioGroup.tsx +10 -7
- package/src/components/RadioGroup/__snapshots__/RadioGroup.test.tsx.snap +140 -0
- package/src/components/SearchBar/SearchBar.stories.mdx +1 -1
- package/src/components/SearchBar/SearchBar.tsx +3 -3
- package/src/components/Select/Select.stories.mdx +26 -16
- package/src/components/Select/Select.test.tsx +1 -36
- package/src/components/Select/Select.tsx +4 -16
- package/src/components/SkeletonLoader/SkeletonLoader.stories.mdx +12 -14
- package/src/components/SkeletonLoader/SkeletonLoader.test.tsx +6 -8
- package/src/components/SkeletonLoader/SkeletonLoader.tsx +5 -7
- package/src/components/SkeletonLoader/SkeletonLoaderTypes.tsx +0 -5
- package/src/components/Slider/Slider.stories.mdx +41 -8
- package/src/components/Slider/Slider.tsx +4 -4
- package/src/components/StatusBadge/StatusBadge.test.tsx +3 -1
- package/src/components/StatusBadge/StatusBadge.tsx +1 -1
- package/src/components/StructuredContent/StructuredContent.stories.mdx +103 -54
- package/src/components/StructuredContent/StructuredContent.test.tsx +129 -102
- package/src/components/StructuredContent/StructuredContent.tsx +43 -53
- package/src/components/StyleGuide/ColorCard.tsx +3 -3
- package/src/components/StyleGuide/Typography.stories.mdx +17 -12
- package/src/components/Table/Table.test.tsx +1 -1
- package/src/components/Table/Table.tsx +3 -1
- package/src/components/Tabs/Tabs.stories.mdx +8 -8
- package/src/components/Tabs/Tabs.test.tsx +13 -11
- package/src/components/Tabs/Tabs.tsx +18 -15
- package/src/components/Template/Template.stories.mdx +62 -25
- package/src/components/Template/Template.test.tsx +35 -5
- package/src/components/Template/Template.tsx +26 -13
- package/src/components/Template/__snapshots__/Template.test.tsx.snap +4 -2
- package/src/components/Text/Text.stories.mdx +13 -15
- package/src/components/Text/Text.test.tsx +6 -15
- package/src/components/Text/Text.tsx +7 -12
- package/src/components/Text/TextTypes.tsx +1 -1
- package/src/components/TextInput/TextInput.stories.mdx +9 -9
- package/src/components/TextInput/TextInput.test.tsx +28 -27
- package/src/components/TextInput/TextInput.tsx +4 -4
- package/src/components/Toggle/Toggle.stories.mdx +12 -22
- package/src/components/Toggle/Toggle.test.tsx +15 -2
- package/src/components/Toggle/Toggle.tsx +8 -9
- package/src/components/Toggle/{ToggleSizes.tsx → ToggleTypes.tsx} +1 -1
- package/src/components/Toggle/__snapshots__/Toggle.test.tsx.snap +64 -0
- package/src/components/VideoPlayer/VideoPlayer.test.tsx +18 -6
- package/src/components/VideoPlayer/VideoPlayer.tsx +14 -7
- package/src/docs/{Intro.stories.mdx → Welcome.stories.mdx} +5 -9
- package/src/{components/Card/CardTypes.tsx → helpers/enums.ts} +2 -2
- package/src/hooks/tests/useNYPLTheme.test.tsx +1 -1
- package/src/hooks/useCarouselStyles.stories.mdx +10 -0
- package/src/hooks/useNYPLTheme.ts +1 -1
- package/src/index.ts +7 -14
- package/src/theme/components/accordion.ts +7 -12
- package/src/theme/components/breadcrumb.ts +3 -0
- package/src/theme/components/card.ts +29 -20
- package/src/theme/components/checkboxGroup.ts +3 -1
- package/src/theme/components/global.ts +4 -3
- package/src/theme/components/hero.ts +1 -1
- package/src/theme/components/icon.ts +5 -2
- package/src/theme/components/image.ts +1 -1
- package/src/theme/components/list.ts +1 -1
- package/src/theme/components/notification.ts +5 -5
- package/src/theme/components/pagination.ts +2 -5
- package/src/theme/components/progressIndicator.ts +3 -3
- package/src/theme/components/radioGroup.ts +3 -1
- package/src/theme/components/select.ts +6 -0
- package/src/theme/components/toggle.ts +26 -3
- package/src/utils/componentCategories.ts +27 -19
- package/dist/components/Card/CardTypes.d.ts +0 -4
- package/dist/components/CheckboxGroup/CheckboxGroupLayoutTypes.d.ts +0 -4
- package/dist/components/RadioGroup/RadioGroupLayoutTypes.d.ts +0 -4
- package/src/components/CheckboxGroup/CheckboxGroupLayoutTypes.tsx +0 -4
- package/src/components/RadioGroup/RadioGroupLayoutTypes.tsx +0 -4
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Breadcrumb as Breadcrumb$1, BreadcrumbItem, BreadcrumbLink, Button as Button$2, Heading as Heading$2, useMultiStyleConfig, LinkBox, LinkOverlay, Checkbox as Checkbox$2, CheckboxGroup as CheckboxGroup$2, Stack, SimpleGrid as SimpleGrid$1, Input, Textarea, extendTheme, ChakraProvider, CircularProgress, CircularProgressLabel, Progress, Radio as Radio$2, useRadioGroup, Text as Text$2, Select as Select$2, Skeleton as Skeleton$1, RangeSlider, RangeSliderTrack, RangeSliderFilledTrack, RangeSliderThumb, Slider as Slider$1, SliderTrack, SliderFilledTrack, SliderThumb, Tabs as Tabs$1, Tab, TabPanel, TabList, TabPanels, Switch as Switch$1, useTheme, TableCaption, Thead, Tr, Th, Table as Table$1, Tbody, Td } from '@chakra-ui/react';
|
|
2
2
|
export { Box, ButtonGroup, Center, Circle, Flex, Grid, GridItem, HStack, Spacer, Square, Stack, Tab, TabList, TabPanel, TabPanels, VStack } from '@chakra-ui/react';
|
|
3
|
-
import React__default, { createElement, cloneElement, Fragment, Children, forwardRef, useState, Component, useRef
|
|
3
|
+
import React__default, { createElement, cloneElement, Fragment, Children, forwardRef, useState, useEffect, Component, useRef } from 'react';
|
|
4
4
|
import { v4 } from 'uuid';
|
|
5
5
|
import ReactDatePicker from 'react-datepicker';
|
|
6
|
-
import { createBreakpoints } from '@chakra-ui/theme-tools';
|
|
6
|
+
import { createBreakpoints, cssVar } from '@chakra-ui/theme-tools';
|
|
7
7
|
import { keyframes } from '@chakra-ui/system';
|
|
8
8
|
|
|
9
|
+
var AccordionTypes;
|
|
10
|
+
|
|
11
|
+
(function (AccordionTypes) {
|
|
12
|
+
AccordionTypes["Default"] = "default";
|
|
13
|
+
AccordionTypes["Warning"] = "warning";
|
|
14
|
+
AccordionTypes["Error"] = "error";
|
|
15
|
+
})(AccordionTypes || (AccordionTypes = {}));
|
|
16
|
+
|
|
9
17
|
function _extends() {
|
|
10
18
|
_extends = Object.assign || function (target) {
|
|
11
19
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -111,6 +119,7 @@ var IconColors;
|
|
|
111
119
|
var IconSizes;
|
|
112
120
|
|
|
113
121
|
(function (IconSizes) {
|
|
122
|
+
IconSizes["Default"] = "default";
|
|
114
123
|
IconSizes["Small"] = "small";
|
|
115
124
|
IconSizes["Medium"] = "medium";
|
|
116
125
|
IconSizes["Large"] = "large";
|
|
@@ -752,7 +761,7 @@ function SvgDownload(_ref) {
|
|
|
752
761
|
})));
|
|
753
762
|
}
|
|
754
763
|
|
|
755
|
-
var _path$j
|
|
764
|
+
var _path$j;
|
|
756
765
|
|
|
757
766
|
var _excluded$j = ["title", "titleId"];
|
|
758
767
|
|
|
@@ -768,16 +777,15 @@ function SvgErrorFilled(_ref) {
|
|
|
768
777
|
props = _objectWithoutProperties$j(_ref, _excluded$j);
|
|
769
778
|
|
|
770
779
|
return /*#__PURE__*/createElement("svg", _extends$k({
|
|
771
|
-
viewBox: "0 0 24
|
|
780
|
+
viewBox: "0 0 24 24",
|
|
772
781
|
xmlns: "http://www.w3.org/2000/svg",
|
|
773
782
|
"aria-labelledby": titleId
|
|
774
783
|
}, props), title ? /*#__PURE__*/createElement("title", {
|
|
775
784
|
id: titleId
|
|
776
785
|
}, title) : null, _path$j || (_path$j = /*#__PURE__*/createElement("path", {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
d: "
|
|
780
|
-
fill: "#fff"
|
|
786
|
+
fillRule: "evenodd",
|
|
787
|
+
clipRule: "evenodd",
|
|
788
|
+
d: "M12 0C5.376 0 0 5.376 0 12s5.376 12 12 12 12-5.376 12-12S18.624 0 12 0zm1.2 13.2h-2.4V6h2.4v7.2zM10.8 18h2.4v-2.4h-2.4V18z"
|
|
781
789
|
})));
|
|
782
790
|
}
|
|
783
791
|
|
|
@@ -957,7 +965,7 @@ function SvgSpeakerNotes(_ref) {
|
|
|
957
965
|
})));
|
|
958
966
|
}
|
|
959
967
|
|
|
960
|
-
var _path$o, _path2$
|
|
968
|
+
var _path$o, _path2$9;
|
|
961
969
|
|
|
962
970
|
var _excluded$q = ["title", "titleId"];
|
|
963
971
|
|
|
@@ -982,13 +990,13 @@ function SvgUtilityAccountFilled(_ref) {
|
|
|
982
990
|
}, title) : null, _path$o || (_path$o = /*#__PURE__*/createElement("path", {
|
|
983
991
|
clipRule: "evenodd",
|
|
984
992
|
d: "M18.25 7.866c0 3.136-2.798 5.678-6.25 5.678s-6.25-2.542-6.25-5.678S8.548 2.188 12 2.188s6.25 2.542 6.25 5.678z"
|
|
985
|
-
})), _path2$
|
|
993
|
+
})), _path2$9 || (_path2$9 = /*#__PURE__*/createElement("path", {
|
|
986
994
|
clipRule: "evenodd",
|
|
987
995
|
d: "M11.225 12.993c-6.245.466-8.974 5.763-9.23 9.206h20s-3.078-9.78-10.77-9.206z"
|
|
988
996
|
})));
|
|
989
997
|
}
|
|
990
998
|
|
|
991
|
-
var _path$p, _path2$
|
|
999
|
+
var _path$p, _path2$a;
|
|
992
1000
|
|
|
993
1001
|
var _excluded$r = ["title", "titleId"];
|
|
994
1002
|
|
|
@@ -1016,7 +1024,7 @@ function SvgUtilityAccountUnfilled(_ref) {
|
|
|
1016
1024
|
d: "M17.8 7.807c0 2.87-2.558 5.263-5.8 5.263s-5.8-2.393-5.8-5.263S8.758 2.544 12 2.544s5.8 2.393 5.8 5.263z",
|
|
1017
1025
|
fill: "#fff",
|
|
1018
1026
|
stroke: "#000"
|
|
1019
|
-
})), _path2$
|
|
1027
|
+
})), _path2$a || (_path2$a = /*#__PURE__*/createElement("path", {
|
|
1020
1028
|
fillRule: "evenodd",
|
|
1021
1029
|
clipRule: "evenodd",
|
|
1022
1030
|
d: "M11.225 13.071c-6.245.466-8.974 5.763-9.23 9.207h20s-3.078-9.78-10.77-9.207z",
|
|
@@ -1095,6 +1103,8 @@ var iconSvgs = {
|
|
|
1095
1103
|
*/
|
|
1096
1104
|
|
|
1097
1105
|
function Icon(props) {
|
|
1106
|
+
var _children$props, _children$props2;
|
|
1107
|
+
|
|
1098
1108
|
var _props$additionalStyl = props.additionalStyles,
|
|
1099
1109
|
additionalStyles = _props$additionalStyl === void 0 ? {} : _props$additionalStyl,
|
|
1100
1110
|
_props$align = props.align,
|
|
@@ -1111,7 +1121,7 @@ function Icon(props) {
|
|
|
1111
1121
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
1112
1122
|
name = props.name,
|
|
1113
1123
|
_props$size = props.size,
|
|
1114
|
-
size = _props$size === void 0 ? IconSizes.
|
|
1124
|
+
size = _props$size === void 0 ? IconSizes.Default : _props$size,
|
|
1115
1125
|
_props$title = props.title,
|
|
1116
1126
|
title = _props$title === void 0 ? name + " icon" : _props$title,
|
|
1117
1127
|
_props$type = props.type,
|
|
@@ -1133,10 +1143,10 @@ function Icon(props) {
|
|
|
1133
1143
|
var childSVG = null; // Component prop validation
|
|
1134
1144
|
|
|
1135
1145
|
if (name && children) {
|
|
1136
|
-
console.warn("Icon
|
|
1146
|
+
console.warn("NYPL Reservoir Icon: Pass in either a `name` prop or an `svg` element " + "child. Do not pass both.");
|
|
1137
1147
|
return null;
|
|
1138
1148
|
} else if (!name && !children) {
|
|
1139
|
-
console.warn("Icon: Pass an icon `name` prop or an SVG child to ensure an icon appears.");
|
|
1149
|
+
console.warn("NYPL Reservoir Icon: Pass an icon `name` prop or an SVG child to " + "ensure an icon appears.");
|
|
1140
1150
|
return null;
|
|
1141
1151
|
} // The user wants to render an existing icon. Load the icon and render it
|
|
1142
1152
|
// as a component through Chakra's Icon component. Otherwise, we're going to
|
|
@@ -1154,10 +1164,10 @@ function Icon(props) {
|
|
|
1154
1164
|
// Apply icon props to the SVG child.
|
|
1155
1165
|
|
|
1156
1166
|
|
|
1157
|
-
if (children.type === "svg" || children.props.type === "svg" || children.props.mdxType === "svg") {
|
|
1167
|
+
if (children.type === "svg" || ((_children$props = children.props) == null ? void 0 : _children$props.type) === "svg" || ((_children$props2 = children.props) == null ? void 0 : _children$props2.mdxType) === "svg") {
|
|
1158
1168
|
childSVG = cloneElement(children, _extends({}, iconProps));
|
|
1159
1169
|
} else {
|
|
1160
|
-
console.warn("
|
|
1170
|
+
console.warn("NYPL Reservoir Icon: An `svg` element must be passed to the `Icon` " + "component as its child.");
|
|
1161
1171
|
}
|
|
1162
1172
|
|
|
1163
1173
|
return createElement(Box, {
|
|
@@ -1189,15 +1199,16 @@ var getIcon = function getIcon(isExpanded, index, id) {
|
|
|
1189
1199
|
*/
|
|
1190
1200
|
|
|
1191
1201
|
|
|
1192
|
-
var
|
|
1193
|
-
var _data;
|
|
1202
|
+
var getElementsFromData = function getElementsFromData(data, id) {
|
|
1203
|
+
var _colorMap, _data;
|
|
1194
1204
|
|
|
1195
1205
|
if (data === void 0) {
|
|
1196
1206
|
data = [];
|
|
1197
1207
|
}
|
|
1198
1208
|
|
|
1199
|
-
// For FAQ-style multiple accordions, the button should be bigger.
|
|
1209
|
+
var colorMap = (_colorMap = {}, _colorMap[AccordionTypes.Default] = "ui.white", _colorMap[AccordionTypes.Warning] = "ui.status.primary", _colorMap[AccordionTypes.Error] = "ui.status.secondary", _colorMap); // For FAQ-style multiple accordions, the button should be bigger.
|
|
1200
1210
|
// Otherwise, use the default.
|
|
1211
|
+
|
|
1201
1212
|
var multiplePadding = ((_data = data) == null ? void 0 : _data.length) > 1 ? 4 : null;
|
|
1202
1213
|
return data.map(function (content, index) {
|
|
1203
1214
|
// This is done to support both string and DOM element input.
|
|
@@ -1216,9 +1227,18 @@ var getElementsFromContentData = function getElementsFromContentData(data, id) {
|
|
|
1216
1227
|
key: index
|
|
1217
1228
|
}, function (_ref) {
|
|
1218
1229
|
var isExpanded = _ref.isExpanded;
|
|
1230
|
+
var bgColorByAccordionType = colorMap[content.accordionType];
|
|
1219
1231
|
return createElement(Fragment, null, createElement(AccordionButton, {
|
|
1220
1232
|
id: id + "-button-" + index,
|
|
1221
|
-
padding: multiplePadding
|
|
1233
|
+
padding: multiplePadding,
|
|
1234
|
+
bg: !content.accordionType ? colorMap["default"] : bgColorByAccordionType,
|
|
1235
|
+
_expanded: {
|
|
1236
|
+
bg: !content.accordionType || content.accordionType === "default" ? "ui.gray.light-warm" : bgColorByAccordionType
|
|
1237
|
+
},
|
|
1238
|
+
_hover: {
|
|
1239
|
+
bg: !content.accordionType || content.accordionType === "default" ? "transparent" : bgColorByAccordionType,
|
|
1240
|
+
borderColor: "ui.gray.dark"
|
|
1241
|
+
}
|
|
1222
1242
|
}, createElement(Box, {
|
|
1223
1243
|
flex: "1",
|
|
1224
1244
|
textAlign: "left"
|
|
@@ -1233,7 +1253,7 @@ var getElementsFromContentData = function getElementsFromContentData(data, id) {
|
|
|
1233
1253
|
|
|
1234
1254
|
|
|
1235
1255
|
function Accordion(props) {
|
|
1236
|
-
var
|
|
1256
|
+
var accordionData = props.accordionData,
|
|
1237
1257
|
_props$id = props.id,
|
|
1238
1258
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
1239
1259
|
_props$isDefaultOpen = props.isDefaultOpen,
|
|
@@ -1244,19 +1264,19 @@ function Accordion(props) {
|
|
|
1244
1264
|
id: id,
|
|
1245
1265
|
defaultIndex: [openFirstAccordion],
|
|
1246
1266
|
allowMultiple: true
|
|
1247
|
-
},
|
|
1267
|
+
}, getElementsFromData(accordionData, id));
|
|
1248
1268
|
}
|
|
1249
1269
|
|
|
1250
|
-
var
|
|
1270
|
+
var BreadcrumbsTypes;
|
|
1251
1271
|
|
|
1252
|
-
(function (
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
})(
|
|
1272
|
+
(function (BreadcrumbsTypes) {
|
|
1273
|
+
BreadcrumbsTypes["Blogs"] = "blogs";
|
|
1274
|
+
BreadcrumbsTypes["BooksAndMore"] = "booksAndMore";
|
|
1275
|
+
BreadcrumbsTypes["Education"] = "education";
|
|
1276
|
+
BreadcrumbsTypes["Locations"] = "locations";
|
|
1277
|
+
BreadcrumbsTypes["Research"] = "research";
|
|
1278
|
+
BreadcrumbsTypes["WhatsOn"] = "whatsOn";
|
|
1279
|
+
})(BreadcrumbsTypes || (BreadcrumbsTypes = {}));
|
|
1260
1280
|
|
|
1261
1281
|
// Utility functions to use throughout the codebase
|
|
1262
1282
|
|
|
@@ -1298,7 +1318,7 @@ var getVariant = function getVariant(variant, collection, fallback) {
|
|
|
1298
1318
|
return variantMap[variant] || fallback;
|
|
1299
1319
|
};
|
|
1300
1320
|
|
|
1301
|
-
var getElementsFromData = function getElementsFromData(data, breadcrumbsID) {
|
|
1321
|
+
var getElementsFromData$1 = function getElementsFromData(data, breadcrumbsID) {
|
|
1302
1322
|
if (!(data != null && data.length)) {
|
|
1303
1323
|
return {};
|
|
1304
1324
|
}
|
|
@@ -1327,14 +1347,14 @@ function Breadcrumbs(props) {
|
|
|
1327
1347
|
var _props$additionalStyl = props.additionalStyles,
|
|
1328
1348
|
additionalStyles = _props$additionalStyl === void 0 ? {} : _props$additionalStyl,
|
|
1329
1349
|
breadcrumbsData = props.breadcrumbsData,
|
|
1350
|
+
breadcrumbsType = props.breadcrumbsType,
|
|
1330
1351
|
className = props.className,
|
|
1331
|
-
colorVariant = props.colorVariant,
|
|
1332
1352
|
_props$id = props.id,
|
|
1333
1353
|
id = _props$id === void 0 ? generateUUID() : _props$id;
|
|
1334
|
-
var variant = getVariant(
|
|
1354
|
+
var variant = getVariant(breadcrumbsType, BreadcrumbsTypes);
|
|
1335
1355
|
|
|
1336
1356
|
if (!breadcrumbsData || breadcrumbsData.length === 0) {
|
|
1337
|
-
throw new Error("
|
|
1357
|
+
throw new Error("NYPL Reservoir Breadcrumbs: No data was passed to the `breadcrumbsData` prop.");
|
|
1338
1358
|
}
|
|
1339
1359
|
|
|
1340
1360
|
var styles = useStyleConfig("Breadcrumb", {
|
|
@@ -1343,7 +1363,7 @@ function Breadcrumbs(props) {
|
|
|
1343
1363
|
|
|
1344
1364
|
var finalStyles = _extends({}, styles, additionalStyles);
|
|
1345
1365
|
|
|
1346
|
-
var breadcrumbItems = getElementsFromData(breadcrumbsData, id);
|
|
1366
|
+
var breadcrumbItems = getElementsFromData$1(breadcrumbsData, id);
|
|
1347
1367
|
var ariaAttrs = {
|
|
1348
1368
|
"aria-label": "Breadcrumb"
|
|
1349
1369
|
};
|
|
@@ -1425,21 +1445,21 @@ function Button(props) {
|
|
|
1425
1445
|
}, attributes, btnCallback), children);
|
|
1426
1446
|
}
|
|
1427
1447
|
|
|
1428
|
-
var
|
|
1448
|
+
var LayoutTypes;
|
|
1429
1449
|
|
|
1430
|
-
(function (
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
})(
|
|
1450
|
+
(function (LayoutTypes) {
|
|
1451
|
+
LayoutTypes["Column"] = "column";
|
|
1452
|
+
LayoutTypes["Row"] = "row";
|
|
1453
|
+
})(LayoutTypes || (LayoutTypes = {}));
|
|
1434
1454
|
|
|
1435
|
-
var
|
|
1455
|
+
var HeadingSizes;
|
|
1436
1456
|
|
|
1437
|
-
(function (
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
})(
|
|
1457
|
+
(function (HeadingSizes) {
|
|
1458
|
+
HeadingSizes["Primary"] = "primary";
|
|
1459
|
+
HeadingSizes["Secondary"] = "secondary";
|
|
1460
|
+
HeadingSizes["Tertiary"] = "tertiary";
|
|
1461
|
+
HeadingSizes["Callout"] = "callout";
|
|
1462
|
+
})(HeadingSizes || (HeadingSizes = {}));
|
|
1443
1463
|
|
|
1444
1464
|
var HeadingLevels;
|
|
1445
1465
|
|
|
@@ -1488,7 +1508,8 @@ function getWithDirectionIcon(children, type, linkId) {
|
|
|
1488
1508
|
className: "more-link",
|
|
1489
1509
|
iconRotation: iconRotation,
|
|
1490
1510
|
id: iconId,
|
|
1491
|
-
name: IconNames.Arrow
|
|
1511
|
+
name: IconNames.Arrow,
|
|
1512
|
+
size: IconSizes.Medium
|
|
1492
1513
|
});
|
|
1493
1514
|
return createElement(Fragment, null, type === LinkTypes.Backwards && icon, children, type === LinkTypes.Forwards && icon);
|
|
1494
1515
|
}
|
|
@@ -1499,7 +1520,8 @@ function getExternalIcon(children, linkId) {
|
|
|
1499
1520
|
align: IconAlign.Right,
|
|
1500
1521
|
className: "more-link",
|
|
1501
1522
|
id: iconId,
|
|
1502
|
-
name: IconNames.ActionLaunch
|
|
1523
|
+
name: IconNames.ActionLaunch,
|
|
1524
|
+
size: IconSizes.Medium
|
|
1503
1525
|
});
|
|
1504
1526
|
return createElement(Fragment, null, children, icon);
|
|
1505
1527
|
}
|
|
@@ -1608,16 +1630,16 @@ function Heading(props) {
|
|
|
1608
1630
|
var _props$additionalStyl = props.additionalStyles,
|
|
1609
1631
|
additionalStyles = _props$additionalStyl === void 0 ? {} : _props$additionalStyl,
|
|
1610
1632
|
className = props.className,
|
|
1611
|
-
displaySize = props.displaySize,
|
|
1612
1633
|
_props$id = props.id,
|
|
1613
1634
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
1614
1635
|
_props$level = props.level,
|
|
1615
1636
|
level = _props$level === void 0 ? HeadingLevels.Two : _props$level,
|
|
1637
|
+
size = props.size,
|
|
1616
1638
|
text = props.text,
|
|
1617
1639
|
url = props.url,
|
|
1618
1640
|
urlClass = props.urlClass;
|
|
1619
1641
|
var finalLevel = getMappedLevel(level);
|
|
1620
|
-
var variant =
|
|
1642
|
+
var variant = size ? getVariant(size, HeadingSizes) : "h" + finalLevel;
|
|
1621
1643
|
var styles = useStyleConfig("Heading", {
|
|
1622
1644
|
variant: variant
|
|
1623
1645
|
}); // Combine native base styles with any additional styles.
|
|
@@ -1628,15 +1650,12 @@ function Heading(props) {
|
|
|
1628
1650
|
var asHeading = "h" + finalLevel;
|
|
1629
1651
|
|
|
1630
1652
|
if (!props.children && !text) {
|
|
1631
|
-
throw new Error("Heading
|
|
1653
|
+
throw new Error("NYPL Reservoir Heading: No children or value was passed to the `text` prop.");
|
|
1632
1654
|
}
|
|
1633
1655
|
|
|
1634
1656
|
if (Children.count(props.children) > 1) {
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
}); // Catching the error because React's error isn't as helpful.
|
|
1638
|
-
|
|
1639
|
-
throw new Error("Please only pass one child into Heading, got " + children.join(", "));
|
|
1657
|
+
// Catching the error because React's error isn't as helpful.
|
|
1658
|
+
throw new Error("NYPL Reservoir Heading: Only pass one child into Heading.");
|
|
1640
1659
|
}
|
|
1641
1660
|
|
|
1642
1661
|
var contentToRender = props.children ? props.children : text;
|
|
@@ -1670,11 +1689,11 @@ var ImageSizes;
|
|
|
1670
1689
|
|
|
1671
1690
|
(function (ImageSizes) {
|
|
1672
1691
|
ImageSizes["Default"] = "default";
|
|
1673
|
-
ImageSizes["Large"] = "large";
|
|
1674
|
-
ImageSizes["Medium"] = "medium";
|
|
1675
|
-
ImageSizes["Small"] = "small";
|
|
1676
|
-
ImageSizes["ExtraSmall"] = "xsmall";
|
|
1677
1692
|
ImageSizes["ExtraExtraSmall"] = "xxsmall";
|
|
1693
|
+
ImageSizes["ExtraSmall"] = "xsmall";
|
|
1694
|
+
ImageSizes["Small"] = "small";
|
|
1695
|
+
ImageSizes["Medium"] = "medium";
|
|
1696
|
+
ImageSizes["Large"] = "large";
|
|
1678
1697
|
})(ImageSizes || (ImageSizes = {}));
|
|
1679
1698
|
|
|
1680
1699
|
var ImageTypes;
|
|
@@ -1690,13 +1709,13 @@ function ImageWrapper(props) {
|
|
|
1690
1709
|
_props$className = props.className,
|
|
1691
1710
|
className = _props$className === void 0 ? "" : _props$className,
|
|
1692
1711
|
children = props.children,
|
|
1693
|
-
_props$
|
|
1694
|
-
|
|
1695
|
-
_props$
|
|
1696
|
-
|
|
1712
|
+
_props$aspectRatio = props.aspectRatio,
|
|
1713
|
+
aspectRatio = _props$aspectRatio === void 0 ? ImageRatios.Original : _props$aspectRatio,
|
|
1714
|
+
_props$size = props.size,
|
|
1715
|
+
size = _props$size === void 0 ? ImageSizes.Default : _props$size;
|
|
1697
1716
|
var styles = useMultiStyleConfig("CustomImageWrapper", {
|
|
1698
|
-
ratio:
|
|
1699
|
-
size:
|
|
1717
|
+
ratio: aspectRatio,
|
|
1718
|
+
size: size
|
|
1700
1719
|
});
|
|
1701
1720
|
return createElement(Box, {
|
|
1702
1721
|
className: "the-wrap " + className,
|
|
@@ -1715,26 +1734,26 @@ function Image(props) {
|
|
|
1715
1734
|
_props$additionalWrap2 = props.additionalWrapperStyles,
|
|
1716
1735
|
additionalWrapperStyles = _props$additionalWrap2 === void 0 ? {} : _props$additionalWrap2,
|
|
1717
1736
|
alt = props.alt,
|
|
1737
|
+
_props$aspectRatio2 = props.aspectRatio,
|
|
1738
|
+
aspectRatio = _props$aspectRatio2 === void 0 ? ImageRatios.Original : _props$aspectRatio2,
|
|
1739
|
+
caption = props.caption,
|
|
1718
1740
|
_props$className2 = props.className,
|
|
1719
1741
|
className = _props$className2 === void 0 ? "" : _props$className2,
|
|
1720
1742
|
component = props.component,
|
|
1721
|
-
|
|
1722
|
-
imageAspectRatio = _props$imageAspectRat2 === void 0 ? ImageRatios.Original : _props$imageAspectRat2,
|
|
1723
|
-
imageCaption = props.imageCaption,
|
|
1724
|
-
imageCredit = props.imageCredit,
|
|
1725
|
-
_props$imageSize2 = props.imageSize,
|
|
1726
|
-
imageSize = _props$imageSize2 === void 0 ? ImageSizes.Default : _props$imageSize2,
|
|
1743
|
+
credit = props.credit,
|
|
1727
1744
|
_props$imageType = props.imageType,
|
|
1728
1745
|
imageType = _props$imageType === void 0 ? ImageTypes.Default : _props$imageType,
|
|
1746
|
+
_props$size2 = props.size,
|
|
1747
|
+
size = _props$size2 === void 0 ? ImageSizes.Default : _props$size2,
|
|
1729
1748
|
src = props.src;
|
|
1730
|
-
var useImageWrapper =
|
|
1749
|
+
var useImageWrapper = aspectRatio !== ImageRatios.Original;
|
|
1731
1750
|
var styles = useMultiStyleConfig("CustomImage", {
|
|
1732
1751
|
variant: imageType,
|
|
1733
|
-
size:
|
|
1752
|
+
size: size
|
|
1734
1753
|
});
|
|
1735
1754
|
|
|
1736
1755
|
if (alt && alt.length > 300) {
|
|
1737
|
-
throw new Error("Alt
|
|
1756
|
+
throw new Error("NYPL Reservoir Image: Alt text must be less than 300 characters.");
|
|
1738
1757
|
}
|
|
1739
1758
|
|
|
1740
1759
|
var imageComponent = component ? component : createElement(Box, {
|
|
@@ -1744,22 +1763,54 @@ function Image(props) {
|
|
|
1744
1763
|
__css: _extends({}, styles.img, additionalImageStyles)
|
|
1745
1764
|
});
|
|
1746
1765
|
var finalImage = useImageWrapper ? createElement(ImageWrapper, {
|
|
1766
|
+
additionalWrapperStyles: additionalWrapperStyles,
|
|
1767
|
+
aspectRatio: aspectRatio,
|
|
1747
1768
|
className: className,
|
|
1748
|
-
|
|
1749
|
-
imageSize: imageSize,
|
|
1750
|
-
additionalWrapperStyles: additionalWrapperStyles
|
|
1769
|
+
size: size
|
|
1751
1770
|
}, imageComponent) : imageComponent;
|
|
1752
|
-
return
|
|
1771
|
+
return caption || credit ? createElement(Box, {
|
|
1753
1772
|
as: "figure",
|
|
1754
1773
|
__css: _extends({}, styles.figure, additionalFigureStyles)
|
|
1755
1774
|
}, finalImage, createElement(Box, {
|
|
1756
1775
|
as: "figcaption",
|
|
1757
1776
|
__css: styles.figcaption
|
|
1758
|
-
},
|
|
1777
|
+
}, caption && createElement(Box, {
|
|
1759
1778
|
__css: styles.captionWrappers
|
|
1760
|
-
},
|
|
1779
|
+
}, caption), credit && createElement(Box, {
|
|
1761
1780
|
__css: styles.captionWrappers
|
|
1762
|
-
},
|
|
1781
|
+
}, credit))) : finalImage;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* React hook used to get the window size on device resizing.
|
|
1786
|
+
* Based on https://usehooks-typescript.com/react-hook/use-window-size
|
|
1787
|
+
*/
|
|
1788
|
+
|
|
1789
|
+
function useWindowSize() {
|
|
1790
|
+
var _React$useState = React__default.useState({
|
|
1791
|
+
width: 0,
|
|
1792
|
+
height: 0
|
|
1793
|
+
}),
|
|
1794
|
+
windowSize = _React$useState[0],
|
|
1795
|
+
setWindowSize = _React$useState[1];
|
|
1796
|
+
|
|
1797
|
+
React__default.useEffect(function () {
|
|
1798
|
+
var handler = function handler() {
|
|
1799
|
+
setWindowSize({
|
|
1800
|
+
width: window.innerWidth,
|
|
1801
|
+
height: window.innerHeight
|
|
1802
|
+
});
|
|
1803
|
+
}; // Set size at the first client-side load
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
handler();
|
|
1807
|
+
window.addEventListener("resize", handler); // Remove event listener on cleanup
|
|
1808
|
+
|
|
1809
|
+
return function () {
|
|
1810
|
+
window.removeEventListener("resize", handler);
|
|
1811
|
+
};
|
|
1812
|
+
}, []);
|
|
1813
|
+
return windowSize;
|
|
1763
1814
|
}
|
|
1764
1815
|
|
|
1765
1816
|
/**
|
|
@@ -1770,27 +1821,31 @@ function Image(props) {
|
|
|
1770
1821
|
|
|
1771
1822
|
function CardImage(props) {
|
|
1772
1823
|
var alt = props.alt,
|
|
1773
|
-
|
|
1824
|
+
aspectRatio = props.aspectRatio,
|
|
1825
|
+
caption = props.caption,
|
|
1774
1826
|
component = props.component,
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1827
|
+
credit = props.credit,
|
|
1828
|
+
isAtEnd = props.isAtEnd,
|
|
1829
|
+
isCentered = props.isCentered,
|
|
1830
|
+
layout = props.layout,
|
|
1831
|
+
size = props.size,
|
|
1832
|
+
src = props.src; // Additional styles to add to the `Image` component.
|
|
1780
1833
|
|
|
1781
1834
|
var styles = useStyleConfig("CardImage", {
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1835
|
+
imageIsAtEnd: isAtEnd,
|
|
1836
|
+
isCentered: isCentered,
|
|
1837
|
+
size: size,
|
|
1785
1838
|
layout: layout
|
|
1786
1839
|
});
|
|
1787
1840
|
return createElement(Box, {
|
|
1788
1841
|
__css: styles
|
|
1789
1842
|
}, createElement(Image, {
|
|
1790
1843
|
alt: alt,
|
|
1844
|
+
caption: caption,
|
|
1791
1845
|
component: component,
|
|
1792
|
-
|
|
1793
|
-
|
|
1846
|
+
credit: credit,
|
|
1847
|
+
aspectRatio: aspectRatio,
|
|
1848
|
+
size: size,
|
|
1794
1849
|
src: src
|
|
1795
1850
|
}));
|
|
1796
1851
|
} // CardHeading child-component
|
|
@@ -1809,14 +1864,14 @@ function CardContent(props) {
|
|
|
1809
1864
|
function CardActions(props) {
|
|
1810
1865
|
var bottomBorder = props.bottomBorder,
|
|
1811
1866
|
children = props.children,
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1867
|
+
isCentered = props.isCentered,
|
|
1868
|
+
layout = props.layout,
|
|
1869
|
+
topBorder = props.topBorder;
|
|
1815
1870
|
var styles = useStyleConfig("CardActions", {
|
|
1816
1871
|
bottomBorder: bottomBorder,
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1872
|
+
isCentered: isCentered,
|
|
1873
|
+
layout: layout,
|
|
1874
|
+
topBorder: topBorder
|
|
1820
1875
|
});
|
|
1821
1876
|
return children && createElement(Box, {
|
|
1822
1877
|
__css: styles
|
|
@@ -1853,42 +1908,61 @@ function CardLinkOverlay(_ref2) {
|
|
|
1853
1908
|
function Card(props) {
|
|
1854
1909
|
var backgroundColor = props.backgroundColor,
|
|
1855
1910
|
border = props.border,
|
|
1856
|
-
_props$center = props.center,
|
|
1857
|
-
center = _props$center === void 0 ? false : _props$center,
|
|
1858
1911
|
children = props.children,
|
|
1859
1912
|
className = props.className,
|
|
1860
1913
|
foregroundColor = props.foregroundColor,
|
|
1861
1914
|
_props$id = props.id,
|
|
1862
1915
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
1863
|
-
_props$
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1916
|
+
_props$imageProps = props.imageProps,
|
|
1917
|
+
imageProps = _props$imageProps === void 0 ? {
|
|
1918
|
+
alt: "",
|
|
1919
|
+
aspectRatio: ImageRatios.Square,
|
|
1920
|
+
caption: undefined,
|
|
1921
|
+
component: undefined,
|
|
1922
|
+
credit: undefined,
|
|
1923
|
+
isAtEnd: false,
|
|
1924
|
+
size: ImageSizes.Default,
|
|
1925
|
+
src: ""
|
|
1926
|
+
} : _props$imageProps,
|
|
1927
|
+
_props$isCentered = props.isCentered,
|
|
1928
|
+
isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
|
|
1872
1929
|
_props$layout = props.layout,
|
|
1873
|
-
layout = _props$layout === void 0 ?
|
|
1930
|
+
layout = _props$layout === void 0 ? LayoutTypes.Column : _props$layout,
|
|
1874
1931
|
mainActionLink = props.mainActionLink;
|
|
1875
|
-
var hasImage =
|
|
1876
|
-
|
|
1932
|
+
var hasImage = imageProps.src || imageProps.component;
|
|
1933
|
+
|
|
1934
|
+
var _React$useState = useState(imageProps.size),
|
|
1935
|
+
finalImageSize = _React$useState[0],
|
|
1936
|
+
setFinalImageSize = _React$useState[1];
|
|
1937
|
+
|
|
1938
|
+
var finalImageAspectRatio = imageProps.component ? ImageRatios.Original : imageProps.aspectRatio;
|
|
1877
1939
|
var customColors = {};
|
|
1878
1940
|
var cardContents = [];
|
|
1941
|
+
var windowDimensions = useWindowSize();
|
|
1879
1942
|
var cardHeadingCount = 0;
|
|
1880
1943
|
|
|
1881
|
-
if (
|
|
1882
|
-
console.warn("Both `
|
|
1883
|
-
}
|
|
1944
|
+
if (imageProps.component && imageProps.aspectRatio !== ImageRatios.Square) {
|
|
1945
|
+
console.warn("NYPL Reservoir Card: Both the `imageProps.component` and `imageProps.aspectRatio` " + "props were set but `imageProps.aspectRatio` will be ignored in favor " + "of the aspect ratio on `imageProps.component` prop.");
|
|
1946
|
+
} // The `Card`'s image should always display as 100% width on mobile. To
|
|
1947
|
+
// achieve this, we set the size to `ImageSizes.Default` only when the
|
|
1948
|
+
// viewport is less than "600px". Otherwise, we set the size to
|
|
1949
|
+
// the value passed in via `imageSize`.
|
|
1950
|
+
|
|
1884
1951
|
|
|
1952
|
+
useEffect(function () {
|
|
1953
|
+
if (windowDimensions.width < 600) {
|
|
1954
|
+
setFinalImageSize(ImageSizes.Default);
|
|
1955
|
+
} else {
|
|
1956
|
+
setFinalImageSize(imageProps.size);
|
|
1957
|
+
}
|
|
1958
|
+
}, [windowDimensions.width, imageProps.size]);
|
|
1885
1959
|
backgroundColor && (customColors["backgroundColor"] = backgroundColor);
|
|
1886
1960
|
foregroundColor && (customColors["color"] = foregroundColor);
|
|
1887
1961
|
var styles = useMultiStyleConfig("Card", {
|
|
1888
1962
|
border: border,
|
|
1889
|
-
center: center,
|
|
1890
1963
|
hasImage: hasImage,
|
|
1891
|
-
|
|
1964
|
+
imageIsAtEnd: imageProps.isAtEnd,
|
|
1965
|
+
isCentered: isCentered,
|
|
1892
1966
|
layout: layout,
|
|
1893
1967
|
mainActionLink: mainActionLink
|
|
1894
1968
|
});
|
|
@@ -1905,7 +1979,7 @@ function Card(props) {
|
|
|
1905
1979
|
var elem = cloneElement(child, {
|
|
1906
1980
|
additionalStyles: _extends({}, styles.heading, child.props.additionalStyles),
|
|
1907
1981
|
key: key,
|
|
1908
|
-
|
|
1982
|
+
isCentered: isCentered,
|
|
1909
1983
|
// Override the child text with the potential `CardLinkOverlay`.
|
|
1910
1984
|
children: newChildren,
|
|
1911
1985
|
layout: layout
|
|
@@ -1915,7 +1989,7 @@ function Card(props) {
|
|
|
1915
1989
|
} else if (child.type === CardContent || child.props.mdxType === "CardContent" || child.type === CardActions || child.props.mdxType === "CardActions") {
|
|
1916
1990
|
var _elem = cloneElement(child, {
|
|
1917
1991
|
key: key,
|
|
1918
|
-
|
|
1992
|
+
isCentered: isCentered,
|
|
1919
1993
|
layout: layout
|
|
1920
1994
|
});
|
|
1921
1995
|
|
|
@@ -1929,13 +2003,15 @@ function Card(props) {
|
|
|
1929
2003
|
className: className,
|
|
1930
2004
|
__css: _extends({}, styles, customColors)
|
|
1931
2005
|
}, hasImage && createElement(CardImage, {
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
layout: layout
|
|
2006
|
+
alt: imageProps.alt,
|
|
2007
|
+
aspectRatio: finalImageAspectRatio,
|
|
2008
|
+
caption: imageProps.caption,
|
|
2009
|
+
component: imageProps.component,
|
|
2010
|
+
credit: imageProps.credit,
|
|
2011
|
+
isAtEnd: imageProps.isAtEnd,
|
|
2012
|
+
layout: layout,
|
|
2013
|
+
size: finalImageSize,
|
|
2014
|
+
src: imageProps.src ? imageProps.src : undefined
|
|
1939
2015
|
}), createElement(Box, {
|
|
1940
2016
|
className: "card-body",
|
|
1941
2017
|
__css: styles.body
|
|
@@ -2032,6 +2108,10 @@ var Checkbox = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
2032
2108
|
var icon = !isIndeterminate ? createElement(CheckboxIcon, null) : undefined;
|
|
2033
2109
|
|
|
2034
2110
|
if (!showLabel) {
|
|
2111
|
+
if (typeof labelText !== "string") {
|
|
2112
|
+
console.warn("NYPL Reservoir Checkbox: `labelText` must be a string when `showLabel` is false.");
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2035
2115
|
ariaAttributes["aria-label"] = labelText && footnote ? labelText + " - " + footnote : labelText;
|
|
2036
2116
|
} else {
|
|
2037
2117
|
if (footnote) ariaAttributes["aria-describedby"] = id + "-helperText";
|
|
@@ -2065,13 +2145,6 @@ var Checkbox = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
2065
2145
|
})));
|
|
2066
2146
|
});
|
|
2067
2147
|
|
|
2068
|
-
var CheckboxGroupLayoutTypes;
|
|
2069
|
-
|
|
2070
|
-
(function (CheckboxGroupLayoutTypes) {
|
|
2071
|
-
CheckboxGroupLayoutTypes["Column"] = "column";
|
|
2072
|
-
CheckboxGroupLayoutTypes["Row"] = "row";
|
|
2073
|
-
})(CheckboxGroupLayoutTypes || (CheckboxGroupLayoutTypes = {}));
|
|
2074
|
-
|
|
2075
2148
|
/**
|
|
2076
2149
|
* A wrapper component that renders a `fieldset` element along with a `legend`
|
|
2077
2150
|
* element as its first child. Commonly used to wrap form components.
|
|
@@ -2208,13 +2281,15 @@ var CheckboxGroup = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
2208
2281
|
invalidText = props.invalidText,
|
|
2209
2282
|
_props$isDisabled = props.isDisabled,
|
|
2210
2283
|
isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
|
|
2284
|
+
_props$isFullWidth = props.isFullWidth,
|
|
2285
|
+
isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
|
|
2211
2286
|
_props$isInvalid = props.isInvalid,
|
|
2212
2287
|
isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
|
|
2213
2288
|
_props$isRequired = props.isRequired,
|
|
2214
2289
|
isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
|
|
2215
2290
|
labelText = props.labelText,
|
|
2216
2291
|
_props$layout = props.layout,
|
|
2217
|
-
layout = _props$layout === void 0 ?
|
|
2292
|
+
layout = _props$layout === void 0 ? LayoutTypes.Column : _props$layout,
|
|
2218
2293
|
name = props.name,
|
|
2219
2294
|
onChange = props.onChange,
|
|
2220
2295
|
_props$optReqFlag = props.optReqFlag,
|
|
@@ -2224,7 +2299,7 @@ var CheckboxGroup = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
2224
2299
|
_props$showLabel = props.showLabel,
|
|
2225
2300
|
showLabel = _props$showLabel === void 0 ? true : _props$showLabel;
|
|
2226
2301
|
var footnote = isInvalid ? invalidText : helperText;
|
|
2227
|
-
var spacingProp = layout ===
|
|
2302
|
+
var spacingProp = layout === LayoutTypes.Column ? spacing.s : spacing.l;
|
|
2228
2303
|
var newChildren = [];
|
|
2229
2304
|
var checkboxProps = defaultValue && onChange ? {
|
|
2230
2305
|
defaultValue: defaultValue,
|
|
@@ -2235,7 +2310,7 @@ var CheckboxGroup = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
2235
2310
|
if (child.type !== Checkbox) {
|
|
2236
2311
|
// Special case for Storybook MDX documentation.
|
|
2237
2312
|
if (child.props.mdxType && child.props.mdxType === "Checkbox") ; else {
|
|
2238
|
-
console.warn("Only `Checkbox` components are
|
|
2313
|
+
console.warn("NYPL Reservoir CheckboxGroup: Only `Checkbox` components are " + "allowed as children.");
|
|
2239
2314
|
}
|
|
2240
2315
|
}
|
|
2241
2316
|
|
|
@@ -2252,7 +2327,9 @@ var CheckboxGroup = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
2252
2327
|
}
|
|
2253
2328
|
}); // Get the Chakra-based styles for the custom elements in this component.
|
|
2254
2329
|
|
|
2255
|
-
var styles = useMultiStyleConfig("CheckboxGroup", {
|
|
2330
|
+
var styles = useMultiStyleConfig("CheckboxGroup", {
|
|
2331
|
+
isFullWidth: isFullWidth
|
|
2332
|
+
});
|
|
2256
2333
|
return createElement(Fieldset, {
|
|
2257
2334
|
id: id + "-checkbox-group",
|
|
2258
2335
|
isLegendHidden: !showLabel,
|
|
@@ -2335,7 +2412,7 @@ function FormRow(props) {
|
|
|
2335
2412
|
});
|
|
2336
2413
|
}
|
|
2337
2414
|
|
|
2338
|
-
console.warn("FormRow
|
|
2415
|
+
console.warn("NYPL Reservoir FormRow: Children must be `FormField` components.");
|
|
2339
2416
|
return null;
|
|
2340
2417
|
});
|
|
2341
2418
|
return createElement(SimpleGrid, {
|
|
@@ -2442,6 +2519,7 @@ var checkboxRadioLabelStyles = {
|
|
|
2442
2519
|
fontWeight: "text.default",
|
|
2443
2520
|
marginBottom: "0",
|
|
2444
2521
|
marginLeft: "xs",
|
|
2522
|
+
width: "100%",
|
|
2445
2523
|
_disabled: {
|
|
2446
2524
|
color: "ui.gray.dark",
|
|
2447
2525
|
opacity: 1,
|
|
@@ -2465,15 +2543,22 @@ var checkboxRadioHelperStyle = /*#__PURE__*/_extends({}, helperTextMargin, {
|
|
|
2465
2543
|
}
|
|
2466
2544
|
});
|
|
2467
2545
|
|
|
2468
|
-
var checkboxRadioGroupStyles = {
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
},
|
|
2472
|
-
stack: {
|
|
2473
|
-
width: "fit-content"
|
|
2546
|
+
var checkboxRadioGroupStyles = function checkboxRadioGroupStyles(isFullWidth) {
|
|
2547
|
+
if (isFullWidth === void 0) {
|
|
2548
|
+
isFullWidth = false;
|
|
2474
2549
|
}
|
|
2550
|
+
|
|
2551
|
+
return {
|
|
2552
|
+
helper: {
|
|
2553
|
+
marginTop: "s"
|
|
2554
|
+
},
|
|
2555
|
+
stack: {
|
|
2556
|
+
width: isFullWidth ? "100%" : "fit-content"
|
|
2557
|
+
}
|
|
2558
|
+
};
|
|
2475
2559
|
}; // Used in `Label` and `Fieldset`.
|
|
2476
2560
|
|
|
2561
|
+
|
|
2477
2562
|
var labelLegendText = {
|
|
2478
2563
|
alignItems: "baseline",
|
|
2479
2564
|
width: "100%",
|
|
@@ -2606,13 +2691,13 @@ var TextInput = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
2606
2691
|
showOptReqLabel = _props$showOptReqLabe === void 0 ? true : _props$showOptReqLabe,
|
|
2607
2692
|
_props$step = props.step,
|
|
2608
2693
|
step = _props$step === void 0 ? 1 : _props$step,
|
|
2694
|
+
_props$textInputType = props.textInputType,
|
|
2695
|
+
textInputType = _props$textInputType === void 0 ? TextInputVariants.Default : _props$textInputType,
|
|
2609
2696
|
_props$type = props.type,
|
|
2610
2697
|
type = _props$type === void 0 ? TextInputTypes.text : _props$type,
|
|
2611
|
-
value = props.value
|
|
2612
|
-
_props$variantType = props.variantType,
|
|
2613
|
-
variantType = _props$variantType === void 0 ? TextInputVariants.Default : _props$variantType;
|
|
2698
|
+
value = props.value;
|
|
2614
2699
|
var styles = useMultiStyleConfig("TextInput", {
|
|
2615
|
-
variant:
|
|
2700
|
+
variant: textInputType
|
|
2616
2701
|
});
|
|
2617
2702
|
|
|
2618
2703
|
var finalStyles = _extends({}, styles, additionalStyles);
|
|
@@ -2901,11 +2986,11 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
2901
2986
|
}
|
|
2902
2987
|
|
|
2903
2988
|
if (ref && !nameFrom || refTo && !nameTo) {
|
|
2904
|
-
console.warn("A `ref` or `refTo` prop was passed but not the equivalent `nameFrom` or `nameTo` prop.");
|
|
2989
|
+
console.warn("NYPL Reservoir DatePicker: A `ref` or `refTo` prop was passed but " + "not the equivalent `nameFrom` or `nameTo` prop.");
|
|
2905
2990
|
}
|
|
2906
2991
|
|
|
2907
2992
|
if (onChange && (ref || refTo || nameFrom || nameTo)) {
|
|
2908
|
-
console.warn("
|
|
2993
|
+
console.warn("NYPL Reservoir DatePicker: A `ref`, `refTo`, `nameFrom`, or `nameTo` " + "prop was passed and an `onChange` prop as well. Use whichever is best " + "for your app but not both.");
|
|
2909
2994
|
} // Set the "From" DatePicker values here based on the base props. If a date
|
|
2910
2995
|
// range is selected, additional props get added automatically.
|
|
2911
2996
|
|
|
@@ -3369,23 +3454,18 @@ var typography = {
|
|
|
3369
3454
|
};
|
|
3370
3455
|
|
|
3371
3456
|
var containerStyles = {
|
|
3372
|
-
|
|
3373
|
-
borderRightWidth: "1px",
|
|
3374
|
-
borderColor: "ui.gray.medium",
|
|
3457
|
+
border: "none",
|
|
3375
3458
|
width: "100%"
|
|
3376
3459
|
};
|
|
3377
3460
|
var buttonStyles = {
|
|
3378
|
-
|
|
3379
|
-
fontWeight:
|
|
3380
|
-
_hover: {
|
|
3381
|
-
bg: "ui.gray.light-cool"
|
|
3382
|
-
}
|
|
3461
|
+
borderWidth: "1px",
|
|
3462
|
+
fontWeight: "medium"
|
|
3383
3463
|
};
|
|
3384
3464
|
var panelStyles = {
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3465
|
+
padding: "s",
|
|
3466
|
+
borderLeftWidth: "1px",
|
|
3467
|
+
borderRightWidth: "1px",
|
|
3468
|
+
borderBottomWidth: "1px"
|
|
3389
3469
|
};
|
|
3390
3470
|
var Accordion$1 = {
|
|
3391
3471
|
parts: ["container", "button", "panel"],
|
|
@@ -3404,6 +3484,9 @@ var blogs = {
|
|
|
3404
3484
|
_hover: {
|
|
3405
3485
|
color: "ui.gray.xdark"
|
|
3406
3486
|
}
|
|
3487
|
+
},
|
|
3488
|
+
svg: {
|
|
3489
|
+
fill: "ui.black"
|
|
3407
3490
|
}
|
|
3408
3491
|
};
|
|
3409
3492
|
var booksAndMore = {
|
|
@@ -3662,7 +3745,7 @@ var imageSizes = {
|
|
|
3662
3745
|
var getBodyPaddingStyles = function getBodyPaddingStyles(_ref) {
|
|
3663
3746
|
var border = _ref.border,
|
|
3664
3747
|
hasImage = _ref.hasImage,
|
|
3665
|
-
|
|
3748
|
+
imageIsAtEnd = _ref.imageIsAtEnd,
|
|
3666
3749
|
isRow = _ref.isRow;
|
|
3667
3750
|
var bodyPadding = null;
|
|
3668
3751
|
|
|
@@ -3684,7 +3767,7 @@ var getBodyPaddingStyles = function getBodyPaddingStyles(_ref) {
|
|
|
3684
3767
|
md: "var(--nypl-space-s) var(--nypl-space-s) var(--nypl-space-s) 0"
|
|
3685
3768
|
};
|
|
3686
3769
|
|
|
3687
|
-
if (
|
|
3770
|
+
if (imageIsAtEnd) {
|
|
3688
3771
|
bodyPadding = {
|
|
3689
3772
|
base: "var(--nypl-space-s) var(--nypl-space-s) 0",
|
|
3690
3773
|
md: "var(--nypl-space-s) 0 var(--nypl-space-s) var(--nypl-space-s)"
|
|
@@ -3699,9 +3782,9 @@ var Card$1 = {
|
|
|
3699
3782
|
parts: ["body", "heading"],
|
|
3700
3783
|
baseStyle: function baseStyle(props) {
|
|
3701
3784
|
var border = props.border,
|
|
3702
|
-
center = props.center,
|
|
3703
3785
|
hasImage = props.hasImage,
|
|
3704
|
-
|
|
3786
|
+
imageIsAtEnd = props.imageIsAtEnd,
|
|
3787
|
+
isCentered = props.isCentered,
|
|
3705
3788
|
layout = props.layout,
|
|
3706
3789
|
mainActionLink = props.mainActionLink;
|
|
3707
3790
|
var isRow = layout === "row";
|
|
@@ -3713,7 +3796,7 @@ var Card$1 = {
|
|
|
3713
3796
|
},
|
|
3714
3797
|
maxWidth: "100%",
|
|
3715
3798
|
textAlign: "left",
|
|
3716
|
-
alignItems:
|
|
3799
|
+
alignItems: isCentered ? "center" : null
|
|
3717
3800
|
} : {};
|
|
3718
3801
|
var baseBorderStyles = border ? {
|
|
3719
3802
|
border: "1px solid",
|
|
@@ -3722,12 +3805,12 @@ var Card$1 = {
|
|
|
3722
3805
|
var bodyPadding = getBodyPaddingStyles({
|
|
3723
3806
|
border: border,
|
|
3724
3807
|
hasImage: hasImage,
|
|
3725
|
-
|
|
3808
|
+
imageIsAtEnd: imageIsAtEnd,
|
|
3726
3809
|
isRow: isRow
|
|
3727
3810
|
});
|
|
3728
3811
|
var bodyMargin = null;
|
|
3729
3812
|
|
|
3730
|
-
if (
|
|
3813
|
+
if (isCentered) {
|
|
3731
3814
|
bodyMargin = "auto";
|
|
3732
3815
|
|
|
3733
3816
|
if (isRow) {
|
|
@@ -3739,7 +3822,7 @@ var Card$1 = {
|
|
|
3739
3822
|
alignItems: "flex-start",
|
|
3740
3823
|
display: "flex",
|
|
3741
3824
|
flexFlow: "column wrap",
|
|
3742
|
-
textAlign:
|
|
3825
|
+
textAlign: isCentered ? "center" : null,
|
|
3743
3826
|
heading: {
|
|
3744
3827
|
marginBottom: "xs",
|
|
3745
3828
|
a: mainActionLink ? {
|
|
@@ -3762,15 +3845,15 @@ var Card$1 = {
|
|
|
3762
3845
|
var CardActions$1 = {
|
|
3763
3846
|
baseStyle: function baseStyle(props) {
|
|
3764
3847
|
var bottomBorder = props.bottomBorder,
|
|
3765
|
-
|
|
3848
|
+
isCentered = props.isCentered,
|
|
3766
3849
|
layout = props.layout,
|
|
3767
3850
|
topBorder = props.topBorder;
|
|
3768
|
-
var justifyContent = null;
|
|
3851
|
+
var justifyContent = null; // Only center in the column layout.
|
|
3769
3852
|
|
|
3770
|
-
if (
|
|
3771
|
-
justifyContent = "center";
|
|
3772
|
-
} else if (layout === "row") {
|
|
3853
|
+
if (layout === "row") {
|
|
3773
3854
|
justifyContent = "left";
|
|
3855
|
+
} else if (isCentered) {
|
|
3856
|
+
justifyContent = "center";
|
|
3774
3857
|
}
|
|
3775
3858
|
|
|
3776
3859
|
var topBorderStyles = topBorder ? {
|
|
@@ -3804,12 +3887,12 @@ var CardContent$1 = {
|
|
|
3804
3887
|
};
|
|
3805
3888
|
var CardImage$1 = {
|
|
3806
3889
|
baseStyle: function baseStyle(_ref2) {
|
|
3807
|
-
var
|
|
3808
|
-
|
|
3809
|
-
|
|
3890
|
+
var imageIsAtEnd = _ref2.imageIsAtEnd,
|
|
3891
|
+
isCentered = _ref2.isCentered,
|
|
3892
|
+
size = _ref2.size,
|
|
3810
3893
|
layout = _ref2.layout;
|
|
3811
3894
|
// These sizes are only for the "row" layout.
|
|
3812
|
-
var
|
|
3895
|
+
var imageSize = imageSizes[size] || {};
|
|
3813
3896
|
var layoutStyles = layout === "row" ? _extends({
|
|
3814
3897
|
flex: {
|
|
3815
3898
|
md: "0 0 225px"
|
|
@@ -3819,25 +3902,26 @@ var CardImage$1 = {
|
|
|
3819
3902
|
md: "50%"
|
|
3820
3903
|
},
|
|
3821
3904
|
textAlign: "left",
|
|
3822
|
-
alignItems:
|
|
3905
|
+
alignItems: isCentered ? "center" : null,
|
|
3823
3906
|
margin: {
|
|
3824
|
-
base:
|
|
3825
|
-
md:
|
|
3907
|
+
base: imageIsAtEnd ? "var(--nypl-space-m) 0 0" : null,
|
|
3908
|
+
md: imageIsAtEnd ? "0 0 0 var(--nypl-space-m)" : "0 var(--nypl-space-m) 0 0"
|
|
3826
3909
|
},
|
|
3827
3910
|
width: {
|
|
3828
3911
|
base: "100%",
|
|
3829
3912
|
md: null
|
|
3830
|
-
}
|
|
3831
|
-
|
|
3913
|
+
},
|
|
3914
|
+
marginBottom: ["xs", "xs"]
|
|
3915
|
+
}, imageSize) : {
|
|
3832
3916
|
marginBottom: "xs",
|
|
3833
3917
|
width: "100%"
|
|
3834
3918
|
};
|
|
3835
|
-
var
|
|
3919
|
+
var imageIsAtEndStyles = imageIsAtEnd ? {
|
|
3836
3920
|
marginBottom: "0",
|
|
3837
3921
|
marginTop: "s",
|
|
3838
3922
|
order: "2"
|
|
3839
3923
|
} : {};
|
|
3840
|
-
return _extends({},
|
|
3924
|
+
return _extends({}, imageIsAtEndStyles, layoutStyles);
|
|
3841
3925
|
}
|
|
3842
3926
|
};
|
|
3843
3927
|
var Card$2 = {
|
|
@@ -3945,7 +4029,11 @@ var ComponentWrapper = {
|
|
|
3945
4029
|
|
|
3946
4030
|
var CheckboxGroup$1 = {
|
|
3947
4031
|
parts: ["helper", "stack"],
|
|
3948
|
-
baseStyle:
|
|
4032
|
+
baseStyle: function baseStyle(_ref) {
|
|
4033
|
+
var _ref$isFullWidth = _ref.isFullWidth,
|
|
4034
|
+
isFullWidth = _ref$isFullWidth === void 0 ? false : _ref$isFullWidth;
|
|
4035
|
+
return _extends({}, checkboxRadioGroupStyles(isFullWidth));
|
|
4036
|
+
}
|
|
3949
4037
|
};
|
|
3950
4038
|
|
|
3951
4039
|
var imageWrap = {
|
|
@@ -4023,7 +4111,8 @@ var CustomImage = {
|
|
|
4023
4111
|
}
|
|
4024
4112
|
}),
|
|
4025
4113
|
figcaption: {
|
|
4026
|
-
fontStyle: "italic"
|
|
4114
|
+
fontStyle: "italic",
|
|
4115
|
+
fontSize: "text.tag"
|
|
4027
4116
|
},
|
|
4028
4117
|
img: _extends({
|
|
4029
4118
|
display: "block",
|
|
@@ -4033,8 +4122,7 @@ var CustomImage = {
|
|
|
4033
4122
|
width: "100%"
|
|
4034
4123
|
}, imageSizes$1[size]),
|
|
4035
4124
|
captionWrappers: {
|
|
4036
|
-
marginBottom: "xxs"
|
|
4037
|
-
fontSize: "text.caption"
|
|
4125
|
+
marginBottom: "xxs"
|
|
4038
4126
|
}
|
|
4039
4127
|
};
|
|
4040
4128
|
}
|
|
@@ -4092,6 +4180,12 @@ var Select = {
|
|
|
4092
4180
|
parts: ["select", "helper"],
|
|
4093
4181
|
baseStyle: {
|
|
4094
4182
|
marginBottom: "xs",
|
|
4183
|
+
// The backgroundColor set to "ui.white" hides the arrow SVG icon when
|
|
4184
|
+
// the component is focused. The background is added for dark mode and
|
|
4185
|
+
// so we need to add specific selector.
|
|
4186
|
+
".chakra-select__icon-wrapper": {
|
|
4187
|
+
zIndex: "9999"
|
|
4188
|
+
},
|
|
4095
4189
|
helper: /*#__PURE__*/_extends({}, helperTextMargin),
|
|
4096
4190
|
select: select
|
|
4097
4191
|
},
|
|
@@ -4439,7 +4533,7 @@ var campaign = {
|
|
|
4439
4533
|
alignItems: "center",
|
|
4440
4534
|
display: "flex",
|
|
4441
4535
|
justifyContent: "center",
|
|
4442
|
-
marginBottom: "xxl",
|
|
4536
|
+
marginBottom: ["0", "0", "xxl"],
|
|
4443
4537
|
minHeight: "300px",
|
|
4444
4538
|
overflow: "visible",
|
|
4445
4539
|
padding: {
|
|
@@ -4562,8 +4656,8 @@ var HorizontalRule = {
|
|
|
4562
4656
|
var svgBase = {
|
|
4563
4657
|
display: "inline-block",
|
|
4564
4658
|
fill: "currentColor",
|
|
4565
|
-
width: "
|
|
4566
|
-
height: "
|
|
4659
|
+
width: "auto",
|
|
4660
|
+
height: "100%"
|
|
4567
4661
|
};
|
|
4568
4662
|
var align = {
|
|
4569
4663
|
none: {},
|
|
@@ -4605,6 +4699,9 @@ var size = {
|
|
|
4605
4699
|
height: "var(--nypl-space-m)",
|
|
4606
4700
|
width: "var(--nypl-space-m)"
|
|
4607
4701
|
},
|
|
4702
|
+
"default": {
|
|
4703
|
+
width: "100%"
|
|
4704
|
+
},
|
|
4608
4705
|
medium: {
|
|
4609
4706
|
height: "1.125rem",
|
|
4610
4707
|
width: "1.125rem"
|
|
@@ -4655,7 +4752,7 @@ var List = {
|
|
|
4655
4752
|
padding: noStyling ? "0" : null,
|
|
4656
4753
|
display: inline ? "flex" : null,
|
|
4657
4754
|
li: {
|
|
4658
|
-
marginRight: inline ? "
|
|
4755
|
+
marginRight: inline ? "xs" : null,
|
|
4659
4756
|
listStyleType: inline ? "none" : null,
|
|
4660
4757
|
_notFirst: {
|
|
4661
4758
|
marginTop: inline ? null : "xxs"
|
|
@@ -4794,8 +4891,8 @@ var NotificationTypes;
|
|
|
4794
4891
|
var Notification = {
|
|
4795
4892
|
parts: ["container", "dismissibleButton", "icon"],
|
|
4796
4893
|
baseStyle: function baseStyle(_ref) {
|
|
4797
|
-
var
|
|
4798
|
-
|
|
4894
|
+
var dismissible = _ref.dismissible,
|
|
4895
|
+
isCentered = _ref.isCentered,
|
|
4799
4896
|
noMargin = _ref.noMargin,
|
|
4800
4897
|
notificationType = _ref.notificationType;
|
|
4801
4898
|
var bg = "ui.status.primary";
|
|
@@ -4809,7 +4906,7 @@ var Notification = {
|
|
|
4809
4906
|
display: "flex",
|
|
4810
4907
|
fontSize: "-1",
|
|
4811
4908
|
position: "relative",
|
|
4812
|
-
textAlign:
|
|
4909
|
+
textAlign: isCentered ? "center" : null,
|
|
4813
4910
|
borderRadius: noMargin ? "0" : "4px",
|
|
4814
4911
|
margin: noMargin ? "0" : "s",
|
|
4815
4912
|
container: {
|
|
@@ -4817,7 +4914,7 @@ var Notification = {
|
|
|
4817
4914
|
maxWidth: "var(--nypl-breakpoint-xl)",
|
|
4818
4915
|
padding: "s",
|
|
4819
4916
|
paddingRight: dismissible ? "l" : null,
|
|
4820
|
-
paddingLeft:
|
|
4917
|
+
paddingLeft: isCentered && dismissible ? "l" : null,
|
|
4821
4918
|
width: "100%"
|
|
4822
4919
|
},
|
|
4823
4920
|
dismissibleButton: {
|
|
@@ -4874,8 +4971,8 @@ var NotificationContent = {
|
|
|
4874
4971
|
var NotificationHeading = {
|
|
4875
4972
|
parts: ["heading"],
|
|
4876
4973
|
baseStyle: function baseStyle(_ref3) {
|
|
4877
|
-
var
|
|
4878
|
-
|
|
4974
|
+
var icon = _ref3.icon,
|
|
4975
|
+
isCentered = _ref3.isCentered,
|
|
4879
4976
|
notificationType = _ref3.notificationType;
|
|
4880
4977
|
var color = "ui.black";
|
|
4881
4978
|
|
|
@@ -4888,7 +4985,7 @@ var NotificationHeading = {
|
|
|
4888
4985
|
return {
|
|
4889
4986
|
display: "flex",
|
|
4890
4987
|
marginBottom: "xxs",
|
|
4891
|
-
justifyContent:
|
|
4988
|
+
justifyContent: isCentered ? "center" : null,
|
|
4892
4989
|
heading: {
|
|
4893
4990
|
marginBottom: "0",
|
|
4894
4991
|
marginTop: icon ? "xxxs" : "0",
|
|
@@ -4906,7 +5003,6 @@ var NotificationStyles = {
|
|
|
4906
5003
|
var Pagination = {
|
|
4907
5004
|
parts: ["link"],
|
|
4908
5005
|
baseStyle: {
|
|
4909
|
-
marginBottom: "l",
|
|
4910
5006
|
alignItems: "stretch",
|
|
4911
5007
|
display: "flex",
|
|
4912
5008
|
width: "100%",
|
|
@@ -4914,10 +5010,8 @@ var Pagination = {
|
|
|
4914
5010
|
lineHeight: "1.15",
|
|
4915
5011
|
textDecoration: "none"
|
|
4916
5012
|
},
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
marginTop: "xxs"
|
|
4920
|
-
}
|
|
5013
|
+
ul: {
|
|
5014
|
+
marginBottom: "0"
|
|
4921
5015
|
}
|
|
4922
5016
|
}
|
|
4923
5017
|
};
|
|
@@ -4947,8 +5041,8 @@ var ProgressIndicator = {
|
|
|
4947
5041
|
// Note: we have to target the SVG HTMl elements in order
|
|
4948
5042
|
// to override the default styles.
|
|
4949
5043
|
svg: {
|
|
4950
|
-
height: size === ProgressIndicatorSizes.
|
|
4951
|
-
width: size === ProgressIndicatorSizes.
|
|
5044
|
+
height: size === ProgressIndicatorSizes.Default ? "48px" : "24px",
|
|
5045
|
+
width: size === ProgressIndicatorSizes.Default ? "48px" : "24px",
|
|
4952
5046
|
display: "block",
|
|
4953
5047
|
circle: {
|
|
4954
5048
|
_first: {
|
|
@@ -4976,7 +5070,7 @@ var ProgressIndicator = {
|
|
|
4976
5070
|
bg: darkMode ? "ui.gray.dark" : "ui.gray.light-cool",
|
|
4977
5071
|
height: {
|
|
4978
5072
|
base: "4px",
|
|
4979
|
-
md: size === ProgressIndicatorSizes.
|
|
5073
|
+
md: size === ProgressIndicatorSizes.Default ? "8px" : "4px"
|
|
4980
5074
|
}
|
|
4981
5075
|
},
|
|
4982
5076
|
linearContainer: {
|
|
@@ -5077,7 +5171,11 @@ var Radio = {
|
|
|
5077
5171
|
|
|
5078
5172
|
var RadioGroup = {
|
|
5079
5173
|
parts: ["helper", "stack"],
|
|
5080
|
-
baseStyle:
|
|
5174
|
+
baseStyle: function baseStyle(_ref) {
|
|
5175
|
+
var _ref$isFullWidth = _ref.isFullWidth,
|
|
5176
|
+
isFullWidth = _ref$isFullWidth === void 0 ? false : _ref$isFullWidth;
|
|
5177
|
+
return _extends({}, checkboxRadioGroupStyles(isFullWidth));
|
|
5178
|
+
}
|
|
5081
5179
|
};
|
|
5082
5180
|
|
|
5083
5181
|
var SearchBar = {
|
|
@@ -5791,6 +5889,7 @@ var TextInput$1 = {
|
|
|
5791
5889
|
}
|
|
5792
5890
|
};
|
|
5793
5891
|
|
|
5892
|
+
var _container, _container2;
|
|
5794
5893
|
var baseStyle$4 = {
|
|
5795
5894
|
label: {
|
|
5796
5895
|
alignItems: "start",
|
|
@@ -5801,6 +5900,8 @@ var baseStyle$4 = {
|
|
|
5801
5900
|
marginLeft: "xxs"
|
|
5802
5901
|
})
|
|
5803
5902
|
};
|
|
5903
|
+
var $width = /*#__PURE__*/cssVar("switch-track-width");
|
|
5904
|
+
var $height = /*#__PURE__*/cssVar("switch-track-height");
|
|
5804
5905
|
var Switch = {
|
|
5805
5906
|
baseStyle: function baseStyle(_ref) {
|
|
5806
5907
|
var size = _ref.size;
|
|
@@ -5810,7 +5911,7 @@ var Switch = {
|
|
|
5810
5911
|
track: {
|
|
5811
5912
|
border: "1px solid",
|
|
5812
5913
|
borderColor: "ui.gray.medium",
|
|
5813
|
-
p: "
|
|
5914
|
+
p: "1px",
|
|
5814
5915
|
_checked: {
|
|
5815
5916
|
bg: "ui.link.primary",
|
|
5816
5917
|
borderColor: "ui.link.primary",
|
|
@@ -5840,7 +5941,7 @@ var Switch = {
|
|
|
5840
5941
|
label: {
|
|
5841
5942
|
fontSize: "label.default",
|
|
5842
5943
|
marginLeft: "xs",
|
|
5843
|
-
marginTop: size === "lg" ? "
|
|
5944
|
+
marginTop: size === "lg" ? "xxxs" : null,
|
|
5844
5945
|
_disabled: {
|
|
5845
5946
|
fontStyle: "italic"
|
|
5846
5947
|
}
|
|
@@ -5852,6 +5953,14 @@ var Switch = {
|
|
|
5852
5953
|
}
|
|
5853
5954
|
};
|
|
5854
5955
|
},
|
|
5956
|
+
sizes: {
|
|
5957
|
+
sm: {
|
|
5958
|
+
container: (_container = {}, _container[$width.variable] = "2.25rem", _container[$height.variable] = "1rem", _container)
|
|
5959
|
+
},
|
|
5960
|
+
lg: {
|
|
5961
|
+
container: (_container2 = {}, _container2[$width.variable] = "3.25rem", _container2[$height.variable] = "1.5rem", _container2)
|
|
5962
|
+
}
|
|
5963
|
+
},
|
|
5855
5964
|
defaultProps: {
|
|
5856
5965
|
colorScheme: "white"
|
|
5857
5966
|
}
|
|
@@ -6039,7 +6148,8 @@ function Hero$1(props) {
|
|
|
6039
6148
|
foregroundColor = props.foregroundColor,
|
|
6040
6149
|
heading = props.heading,
|
|
6041
6150
|
heroType = props.heroType,
|
|
6042
|
-
|
|
6151
|
+
imageAlt = props.imageAlt,
|
|
6152
|
+
imageSrc = props.imageSrc,
|
|
6043
6153
|
locationDetails = props.locationDetails,
|
|
6044
6154
|
subHeaderText = props.subHeaderText;
|
|
6045
6155
|
var variant = getVariant$1(heroType);
|
|
@@ -6054,32 +6164,36 @@ function Hero$1(props) {
|
|
|
6054
6164
|
var backgroundImageStyle = {};
|
|
6055
6165
|
var contentBoxStyling = {};
|
|
6056
6166
|
|
|
6167
|
+
if (imageSrc && !imageAlt) {
|
|
6168
|
+
console.warn("NYPL Reservoir: The \"imageSrc\" prop was passed but the \"imageAlt\" props was not. This will make the rendered image inaccessible.");
|
|
6169
|
+
}
|
|
6170
|
+
|
|
6057
6171
|
if (heroType === HeroTypes.Primary) {
|
|
6058
6172
|
if (!backgroundImageSrc) {
|
|
6059
|
-
console.warn("
|
|
6173
|
+
console.warn("NYPL Reservoir Hero: It is recommended to use the `backgroundImageSrc` " + "prop for the `HeroTypes.Primary` `heroType` variant.");
|
|
6060
6174
|
}
|
|
6061
6175
|
|
|
6062
|
-
if (
|
|
6063
|
-
console.warn("
|
|
6176
|
+
if (imageAlt && imageSrc) {
|
|
6177
|
+
console.warn("NYPL Reservoir Hero: The `imageSrc` and `imageAlt` props have been " + "passed, but the `HeroTypes.Primary` `heroType` variant will not use it.");
|
|
6064
6178
|
}
|
|
6065
6179
|
} else if (locationDetails) {
|
|
6066
|
-
console.warn("
|
|
6180
|
+
console.warn("NYPL Reservoir Hero: The `locationDetails` prop should only be used " + "with the `HeroTypes.Primary` `heroType` variant.");
|
|
6067
6181
|
}
|
|
6068
6182
|
|
|
6069
6183
|
if (HeroSecondaryTypes.includes(heroType) && backgroundImageSrc) {
|
|
6070
|
-
console.warn("
|
|
6184
|
+
console.warn("NYPL Reservoir Hero: The `backgroundImageSrc` prop has been passed, " + "but the `HeroTypes.Secondary` `heroType` variant will not use it.");
|
|
6071
6185
|
}
|
|
6072
6186
|
|
|
6073
|
-
if (heroType === HeroTypes.Tertiary && (backgroundImageSrc ||
|
|
6074
|
-
console.warn("
|
|
6187
|
+
if (heroType === HeroTypes.Tertiary && (backgroundImageSrc || imageSrc)) {
|
|
6188
|
+
console.warn("NYPL Reservoir Hero: The `HeroTypes.Tertiary` `heroType` variant hero " + "will not use any of the image props.");
|
|
6075
6189
|
}
|
|
6076
6190
|
|
|
6077
|
-
if (heroType === HeroTypes.Campaign && (!backgroundImageSrc || !
|
|
6078
|
-
console.warn("
|
|
6191
|
+
if (heroType === HeroTypes.Campaign && (!backgroundImageSrc || !imageSrc)) {
|
|
6192
|
+
console.warn("NYPL Reservoir Hero: It is recommended to use both the " + "`backgroundImageSrc` and `imageSrc` props for the " + "`HeroTypes.Campaign` `heroType` variant.");
|
|
6079
6193
|
}
|
|
6080
6194
|
|
|
6081
6195
|
if (heroType === HeroTypes.FiftyFifty && backgroundImageSrc) {
|
|
6082
|
-
console.warn("
|
|
6196
|
+
console.warn("NYPL Reservoir Hero: The `backgroundImageSrc` prop has been passed, " + "but the `HeroTypes.FiftyFifty` `heroType` variant hero will not use it.");
|
|
6083
6197
|
}
|
|
6084
6198
|
|
|
6085
6199
|
if (heroType === HeroTypes.Primary) {
|
|
@@ -6104,12 +6218,18 @@ function Hero$1(props) {
|
|
|
6104
6218
|
backgroundColor: backgroundColor
|
|
6105
6219
|
};
|
|
6106
6220
|
} else if (foregroundColor || backgroundColor) {
|
|
6107
|
-
console.warn("
|
|
6221
|
+
console.warn("NYPL Reservoir Hero: The `foregroundColor` and/or `backgroundColor` " + "props have been passed, but the `HeroTypes.Secondary` `heroType` " + "variant will not use them.");
|
|
6108
6222
|
}
|
|
6109
6223
|
|
|
6110
|
-
var childrenToRender = heroType === HeroTypes.Campaign ? createElement(Fragment, null,
|
|
6224
|
+
var childrenToRender = heroType === HeroTypes.Campaign ? createElement(Fragment, null, createElement(Image, {
|
|
6225
|
+
alt: imageAlt,
|
|
6226
|
+
src: imageSrc
|
|
6227
|
+
}), createElement(Box, {
|
|
6111
6228
|
__css: styles.interior
|
|
6112
|
-
}, finalHeading, subHeaderText)) : createElement(Fragment, null, heroType !== HeroTypes.Primary && heroType !== HeroTypes.Tertiary &&
|
|
6229
|
+
}, finalHeading, subHeaderText)) : createElement(Fragment, null, heroType !== HeroTypes.Primary && heroType !== HeroTypes.Tertiary && createElement(Image, {
|
|
6230
|
+
alt: imageAlt,
|
|
6231
|
+
src: imageSrc
|
|
6232
|
+
}), finalHeading, heroType === HeroTypes.Tertiary && subHeaderText ? createElement("p", null, subHeaderText) : createElement(Box, {
|
|
6113
6233
|
__css: styles.bodyText
|
|
6114
6234
|
}, subHeaderText));
|
|
6115
6235
|
return createElement(Box, {
|
|
@@ -6137,7 +6257,7 @@ function HorizontalRule$1(props) {
|
|
|
6137
6257
|
var finalHeight = height;
|
|
6138
6258
|
|
|
6139
6259
|
if (height.endsWith("%")) {
|
|
6140
|
-
console.warn("
|
|
6260
|
+
console.warn("NYPL Reservoir HorizontalRule: An invalid value was passed for the " + "`height` prop, so the default value of 2px will be used. A valid " + "value should be a whole number, a `px` value, a `em` value, or a `rem` value.");
|
|
6141
6261
|
finalHeight = "2px";
|
|
6142
6262
|
}
|
|
6143
6263
|
|
|
@@ -6194,12 +6314,12 @@ function List$1(props) {
|
|
|
6194
6314
|
// prop must be used.
|
|
6195
6315
|
|
|
6196
6316
|
if (children && (listItems || (listItems == null ? void 0 : listItems.length) > 0)) {
|
|
6197
|
-
console.warn("Pass in either `<li>`, `<dt>`, or `<dd>` children or use the `listItems` data prop
|
|
6317
|
+
console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
|
|
6198
6318
|
return null;
|
|
6199
6319
|
}
|
|
6200
6320
|
|
|
6201
6321
|
if (!children && !listItems) {
|
|
6202
|
-
console.warn("
|
|
6322
|
+
console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
|
|
6203
6323
|
return null;
|
|
6204
6324
|
}
|
|
6205
6325
|
/**
|
|
@@ -6245,7 +6365,7 @@ function List$1(props) {
|
|
|
6245
6365
|
var _child$props;
|
|
6246
6366
|
|
|
6247
6367
|
if (child && (child == null ? void 0 : child.type) !== "li" && (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) !== "li") {
|
|
6248
|
-
console.warn("Direct children of `List` (" + listType + ")
|
|
6368
|
+
console.warn("NYPL Reservoir List: Direct children of `List` (" + listType + ") must be `<li>`s.");
|
|
6249
6369
|
}
|
|
6250
6370
|
});
|
|
6251
6371
|
};
|
|
@@ -6258,7 +6378,7 @@ function List$1(props) {
|
|
|
6258
6378
|
var checkDefinitionChildrenError = function checkDefinitionChildrenError() {
|
|
6259
6379
|
Children.map(children, function (child) {
|
|
6260
6380
|
if (child.type !== "dt" && child.type !== "dd" && child.type !== Fragment && child.props.mdxType !== "dt" && child.props.mdxType !== "dd" && child.props.mdxType !== Fragment) {
|
|
6261
|
-
console.warn("Direct children of `List` (definition)
|
|
6381
|
+
console.warn("NYPL Reservoir List: Direct children of `List` (definition) must " + "be `<dt>`s and `<dd>`s.");
|
|
6262
6382
|
}
|
|
6263
6383
|
});
|
|
6264
6384
|
};
|
|
@@ -6298,12 +6418,12 @@ var LogoColors;
|
|
|
6298
6418
|
var LogoSizes;
|
|
6299
6419
|
|
|
6300
6420
|
(function (LogoSizes) {
|
|
6421
|
+
LogoSizes["Default"] = "default";
|
|
6301
6422
|
LogoSizes["ExtraExtraSmall"] = "xxsmall";
|
|
6302
6423
|
LogoSizes["ExtraSmall"] = "xsmall";
|
|
6303
6424
|
LogoSizes["Small"] = "small";
|
|
6304
6425
|
LogoSizes["Medium"] = "medium";
|
|
6305
6426
|
LogoSizes["Large"] = "large";
|
|
6306
|
-
LogoSizes["Default"] = "default";
|
|
6307
6427
|
})(LogoSizes || (LogoSizes = {}));
|
|
6308
6428
|
|
|
6309
6429
|
var LogoNames;
|
|
@@ -6348,7 +6468,7 @@ var LogoNames;
|
|
|
6348
6468
|
LogoNames["TreasuresColorNegative"] = "logo_treasures_color_negative";
|
|
6349
6469
|
})(LogoNames || (LogoNames = {}));
|
|
6350
6470
|
|
|
6351
|
-
var _path$r, _path2$
|
|
6471
|
+
var _path$r, _path2$b, _path3$7;
|
|
6352
6472
|
|
|
6353
6473
|
var _excluded$u = ["title", "titleId"];
|
|
6354
6474
|
|
|
@@ -6371,14 +6491,14 @@ function SvgLogoBplBlack(_ref) {
|
|
|
6371
6491
|
id: titleId
|
|
6372
6492
|
}, title) : null, _path$r || (_path$r = /*#__PURE__*/createElement("path", {
|
|
6373
6493
|
d: "M277.596 75.851c0-8.969-.046-17.9-.046-26.856-.017-6.498 1.196-19.651-11.682-24.62a21.793 21.793 0 00-3.504-.857 26.033 26.033 0 00-9.896.857 22.683 22.683 0 00-6.023 3.272c-.433.31-1.281 1.032-1.839 1.528a37.42 37.42 0 00-3.353 3.46c-.026 0 .271-7.03.304-8.416h-47.732c-.104.227-6.666 24.573-7.274 26.683-.514-2.001-7.572-25.973-7.748-26.683h-25.154V0h-25.465v24.455c-.027.02-27.162 0-27.324 0-.047.048-12.675 10.12-13.121 10.465 0-12.655.003-34.704.003-34.885C79.384.035 70.97 0 62.612 0l.003 14.073a17.495 17.495 0 00-5.506-7.93c-.265-.22-.914-.769-1.43-1.115-3.792-2.545-5.283-3.012-9.714-4.107-1.293-.25-2.599-.428-3.912-.532-.714-.067-3.53-.218-4.05-.233a511.856 511.856 0 00-8.722-.078H0c0 25.333.016 50.656.047 75.97.716 0 34.158-.142 34.76-.142 1.346 0 2.306-.06 3.593-.06a54.641 54.641 0 008.575-.913 22.543 22.543 0 009.106-4.218c5.638-4.787 6.307-8.214 6.529-8.579l-.012 13.608h24.978V61.406c.345-.284 2.788-2.312 2.84-2.312.998 1.287 12.898 15.798 13.608 16.65h49.625V29.749c.026 0 19.356 42.224 19.62 42.873-.63 1.275-18.374 38.247-18.374 38.273h27.074c.365-.877 35.612-80.465 35.612-80.517.026 0-.02 18.05-.02 45.473h25.574v-22.78c0-5.166-.943-9.81 5.232-9.633 2.316.067 3.614 2.61 3.711 3.975v28.438h25.518zM37.066 55.633c-2.638 2.797-7.72 2.224-11.953 2.224V46.128c7.693 0 8.73.014 9.917.52a5.163 5.163 0 013.279 4.881c0 2.353-.525 3.341-1.244 4.104zm0-28.068c-2.638 2.798-7.72 2.224-11.953 2.224V18.06c7.693 0 8.73.014 9.917.521a5.161 5.161 0 013.279 4.88c0 2.353-.525 3.341-1.244 4.104zM62.55 48.67c-.521-2.765-4.888-7.078-7.423-8.7a28.146 28.146 0 00-2.657-1.48c-.37-.184-1.21-.522-1.237-.548a21.838 21.838 0 008.863-6.267 12.437 12.437 0 002.481-4.32c0 6.93-.002 21.315-.027 21.315zm65.599 21.213c-.026 0-20.484-26.864-20.51-26.864.717-.568 20.484-15.963 20.51-15.963v42.827z"
|
|
6374
|
-
})), _path2$
|
|
6494
|
+
})), _path2$b || (_path2$b = /*#__PURE__*/createElement("path", {
|
|
6375
6495
|
d: "M143.024 91.463a9.616 9.616 0 014.517.779c.238.12.781.368 1.012.467v6.607c-.052 0-2.502-2.406-5.328-1.42a4.676 4.676 0 00-2.07 2.289 6.187 6.187 0 00-.234 1.947c.168 1.822 2.034 3.917 5.296 3.037a6.235 6.235 0 002.336-1.557v6.619c-.851.416-1.737.755-2.648 1.012a11.662 11.662 0 01-8.177-1.479c-2.858-1.686-5.447-6.505-3.816-11.526a10.187 10.187 0 015.607-5.996 15.995 15.995 0 013.505-.78zM73.247 92.086h7.32v8.566c0 1.546-.104 3.156.546 4.05a2.904 2.904 0 002.492.779 3.415 3.415 0 001.635-.623c.762-.778.7-2.44.7-3.972v-8.8h7.243c0 .646.153 11.962-.233 13.784-.358 1.991-2.237 4.1-5.218 5.062-.806.229-1.632.378-2.468.444a22.52 22.52 0 01-3.92-.027 11.616 11.616 0 01-4.733-1.325 7.206 7.206 0 01-2.825-3.407 20.363 20.363 0 01-.539-5.653v-8.878zm12.694 8.8v-8.8h7.242c0 .646.153 11.962-.233 13.784M72.299 90.562a7.908 7.908 0 00-6.896-6.605c-2.204-.324-13.694-.15-13.878-.15v27.158h7.768v-8.722c5.783.02 9.628-.167 11.837-3.738.513-.944.88-1.96 1.087-3.015.061-.324.197-1.088.207-1.331.051-1.2.01-2.404-.126-3.597zm-8.4 4.367c-1.085.974-2.94.77-4.592.77v-5.567c3.061.041 3.627.287 4.075.518a2.552 2.552 0 011.045 2.079c-.02 1.298-.203 1.835-.528 2.2zM115.861 98.816a9.561 9.561 0 00-6.368-6.922 8.678 8.678 0 00-7.821 1.282V81.028H94.43v29.826h7.242v-1.246a5.681 5.681 0 002.959 1.635 10.3 10.3 0 005.497-.421 9.964 9.964 0 006.029-8.456 14.998 14.998 0 00-.296-3.55zm-10.803 6.252a3.607 3.607 0 01-2.008-.61 3.61 3.61 0 01-.548-5.562 3.614 3.614 0 115.112 5.113 3.612 3.612 0 01-2.556 1.059zM129.029 89.763a4.035 4.035 0 100-8.07 4.035 4.035 0 000 8.07zM116.931 81.058h7.23v29.799h-7.23s-.03-29.83 0-29.8zM125.368 92.11h7.23v18.747h-7.23s-.03-18.777 0-18.747zM223.562 89.763a4.034 4.034 0 100-8.068 4.034 4.034 0 000 8.068zM219.901 92.11h7.23v18.747h-7.23s-.03-18.777 0-18.747zM249.872 98.87a9.56 9.56 0 00-6.368-6.922 8.676 8.676 0 00-7.82 1.282V81.082h-7.243v29.826h7.243v-1.246a5.681 5.681 0 002.959 1.635 10.3 10.3 0 005.497-.421 9.967 9.967 0 006.029-8.456 14.997 14.997 0 00-.297-3.55zm-10.802 6.252a3.62 3.62 0 01-3.34-2.232 3.616 3.616 0 113.34 2.232zM279.092 92.093l.001 1.063c-.231-.137-.575-.427-.913-.62a6.268 6.268 0 00-2.292-.862c-5.628-.588-8.082 2.038-9.532 3.934a9.069 9.069 0 00-.973 2.13h-.094v-5.645c-5.361-.32-6.973 2.197-7.024 2.197v-2.197h-7.305v18.761l7.267-.005c.159-5.709-.388-9.522.788-11.215a3.866 3.866 0 012.457-1.318 7.012 7.012 0 011.893.06c.525.149 1.038.337 1.535.563a24.451 24.451 0 00-.234 3.504c.538 4.526 2.694 6.926 6.074 8.411 2.552 1.06 7.019.69 8.241-1.151h.162c0 .39.008 1.004.008 1.151h7.242V92.093h-7.301zm-3.356 13.029a3.62 3.62 0 01-3.34-2.232 3.616 3.616 0 113.34 2.232zM202.876 83.728v27.121h15.981v-6.719l-8.166.027v-20.43s-7.842-.026-7.815 0zM302.06 99.127c-.508-.165-1.39-.624-1.947-.737a6.497 6.497 0 00-1.736-.06 3.731 3.731 0 00-2.614 1.318c-1.176 1.693-.588 5.495-.747 11.204h-7.308V92.093h7.305v2.21c.051 0 1.693-2.21 7.024-2.21 0 .359.036 5.216.036 5.641l-.013 1.393zm-14.352 11.725V92.093h7.242"
|
|
6376
6496
|
})), _path3$7 || (_path3$7 = /*#__PURE__*/createElement("path", {
|
|
6377
6497
|
d: "M301.248 92.093l9.194 15.863-6.274 11.735h8.167l14.709-27.598h-8.206l-4.381 8.643-4.516-8.643s-8.679-.014-8.693 0z"
|
|
6378
6498
|
})));
|
|
6379
6499
|
}
|
|
6380
6500
|
|
|
6381
|
-
var _path$s, _path2$
|
|
6501
|
+
var _path$s, _path2$c, _path3$8;
|
|
6382
6502
|
|
|
6383
6503
|
var _excluded$v = ["title", "titleId"];
|
|
6384
6504
|
|
|
@@ -6402,7 +6522,7 @@ function SvgLogoBplWhite(_ref) {
|
|
|
6402
6522
|
id: titleId
|
|
6403
6523
|
}, title) : null, _path$s || (_path$s = /*#__PURE__*/createElement("path", {
|
|
6404
6524
|
d: "M277.596 75.851c0-8.969-.046-17.9-.046-26.856-.017-6.498 1.196-19.651-11.682-24.62a21.793 21.793 0 00-3.504-.857 26.033 26.033 0 00-9.896.857 22.683 22.683 0 00-6.023 3.272c-.433.31-1.281 1.032-1.839 1.528a37.42 37.42 0 00-3.353 3.46c-.026 0 .271-7.03.304-8.416h-47.732c-.104.227-6.666 24.573-7.274 26.683-.514-2.001-7.572-25.973-7.748-26.683h-25.154V0h-25.465v24.455c-.027.02-27.162 0-27.324 0-.047.048-12.675 10.12-13.121 10.465 0-12.655.003-34.704.003-34.885C79.384.035 70.97 0 62.612 0l.003 14.073a17.495 17.495 0 00-5.506-7.93c-.265-.22-.914-.769-1.43-1.115-3.792-2.545-5.283-3.012-9.714-4.107-1.293-.25-2.599-.428-3.912-.532-.714-.067-3.53-.218-4.05-.233a511.856 511.856 0 00-8.722-.078H0c0 25.333.016 50.656.047 75.97.716 0 34.158-.142 34.76-.142 1.346 0 2.306-.06 3.593-.06a54.641 54.641 0 008.575-.913 22.543 22.543 0 009.106-4.218c5.638-4.787 6.307-8.214 6.529-8.579l-.012 13.608h24.978V61.406c.345-.284 2.788-2.312 2.84-2.312.998 1.287 12.898 15.798 13.608 16.65h49.625V29.749c.026 0 19.356 42.224 19.62 42.873-.63 1.275-18.374 38.247-18.374 38.273h27.074c.365-.877 35.612-80.465 35.612-80.517.026 0-.02 18.05-.02 45.473h25.574v-22.78c0-5.166-.943-9.81 5.232-9.633 2.316.067 3.614 2.61 3.711 3.975v28.438h25.518zM37.066 55.633c-2.638 2.797-7.72 2.224-11.953 2.224V46.128c7.693 0 8.73.014 9.917.52a5.163 5.163 0 013.279 4.881c0 2.353-.525 3.341-1.244 4.104zm0-28.068c-2.638 2.798-7.72 2.224-11.953 2.224V18.06c7.693 0 8.73.014 9.917.521a5.161 5.161 0 013.279 4.88c0 2.353-.525 3.341-1.244 4.104zM62.55 48.67c-.521-2.765-4.888-7.078-7.423-8.7a28.146 28.146 0 00-2.657-1.48c-.37-.184-1.21-.522-1.237-.548a21.838 21.838 0 008.863-6.267 12.437 12.437 0 002.481-4.32c0 6.93-.002 21.315-.027 21.315zm65.599 21.213c-.026 0-20.484-26.864-20.51-26.864.717-.568 20.484-15.963 20.51-15.963v42.827z"
|
|
6405
|
-
})), _path2$
|
|
6525
|
+
})), _path2$c || (_path2$c = /*#__PURE__*/createElement("path", {
|
|
6406
6526
|
d: "M143.024 91.463a9.616 9.616 0 014.517.779c.238.12.781.368 1.012.467v6.607c-.052 0-2.502-2.406-5.328-1.42a4.676 4.676 0 00-2.07 2.289 6.187 6.187 0 00-.234 1.947c.168 1.822 2.034 3.917 5.296 3.037a6.235 6.235 0 002.336-1.557v6.619c-.851.416-1.737.755-2.648 1.012a11.662 11.662 0 01-8.177-1.479c-2.858-1.686-5.447-6.505-3.816-11.526a10.187 10.187 0 015.607-5.996 15.995 15.995 0 013.505-.78zM73.247 92.086h7.32v8.566c0 1.546-.104 3.156.546 4.05a2.904 2.904 0 002.492.779 3.415 3.415 0 001.635-.623c.762-.778.7-2.44.7-3.972v-8.8h7.243c0 .646.153 11.962-.233 13.784-.358 1.991-2.237 4.1-5.218 5.062-.806.229-1.632.378-2.468.444a22.52 22.52 0 01-3.92-.027 11.616 11.616 0 01-4.733-1.325 7.206 7.206 0 01-2.825-3.407 20.363 20.363 0 01-.539-5.653v-8.878zm12.694 8.8v-8.8h7.242c0 .646.153 11.962-.233 13.784M72.299 90.562a7.908 7.908 0 00-6.896-6.605c-2.204-.324-13.694-.15-13.878-.15v27.158h7.768v-8.722c5.783.02 9.628-.167 11.837-3.738.513-.944.88-1.96 1.087-3.015.061-.324.197-1.088.207-1.331.051-1.2.01-2.404-.126-3.597zm-8.4 4.367c-1.085.974-2.94.77-4.592.77v-5.567c3.061.041 3.627.287 4.075.518a2.552 2.552 0 011.045 2.079c-.02 1.298-.203 1.835-.528 2.2zM115.861 98.816a9.561 9.561 0 00-6.368-6.922 8.678 8.678 0 00-7.821 1.282V81.028H94.43v29.826h7.242v-1.246a5.681 5.681 0 002.959 1.635 10.3 10.3 0 005.497-.421 9.964 9.964 0 006.029-8.456 14.998 14.998 0 00-.296-3.55zm-10.803 6.252a3.607 3.607 0 01-2.008-.61 3.61 3.61 0 01-.548-5.562 3.614 3.614 0 115.112 5.113 3.612 3.612 0 01-2.556 1.059zM129.029 89.763a4.035 4.035 0 100-8.07 4.035 4.035 0 000 8.07zM116.931 81.058h7.23v29.799h-7.23s-.03-29.83 0-29.8zM125.368 92.11h7.23v18.747h-7.23s-.03-18.777 0-18.747zM223.562 89.763a4.034 4.034 0 100-8.068 4.034 4.034 0 000 8.068zM219.901 92.11h7.23v18.747h-7.23s-.03-18.777 0-18.747zM249.872 98.87a9.56 9.56 0 00-6.368-6.922 8.676 8.676 0 00-7.82 1.282V81.082h-7.243v29.826h7.243v-1.246a5.681 5.681 0 002.959 1.635 10.3 10.3 0 005.497-.421 9.967 9.967 0 006.029-8.456 14.997 14.997 0 00-.297-3.55zm-10.802 6.252a3.62 3.62 0 01-3.34-2.232 3.616 3.616 0 113.34 2.232zM279.092 92.093l.001 1.063c-.231-.137-.575-.427-.913-.62a6.268 6.268 0 00-2.292-.862c-5.628-.588-8.082 2.038-9.532 3.934a9.069 9.069 0 00-.973 2.13h-.094v-5.645c-5.361-.32-6.973 2.197-7.024 2.197v-2.197h-7.305v18.761l7.267-.005c.159-5.709-.388-9.522.788-11.215a3.866 3.866 0 012.457-1.318 7.012 7.012 0 011.893.06c.525.149 1.038.337 1.535.563a24.451 24.451 0 00-.234 3.504c.538 4.526 2.694 6.926 6.074 8.411 2.552 1.06 7.019.69 8.241-1.151h.162c0 .39.008 1.004.008 1.151h7.242V92.093h-7.301zm-3.356 13.029a3.62 3.62 0 01-3.34-2.232 3.616 3.616 0 113.34 2.232zM202.876 83.728v27.121h15.981v-6.719l-8.166.027v-20.43s-7.842-.026-7.815 0zM302.06 99.127c-.508-.165-1.39-.624-1.947-.737a6.497 6.497 0 00-1.736-.06 3.731 3.731 0 00-2.614 1.318c-1.176 1.693-.588 5.495-.747 11.204h-7.308V92.093h7.305v2.21c.051 0 1.693-2.21 7.024-2.21 0 .359.036 5.216.036 5.641l-.013 1.393zm-14.352 11.725V92.093h7.242"
|
|
6407
6527
|
})), _path3$8 || (_path3$8 = /*#__PURE__*/createElement("path", {
|
|
6408
6528
|
d: "M301.248 92.093l9.194 15.863-6.274 11.735h8.167l14.709-27.598h-8.206l-4.381 8.643-4.516-8.643s-8.679-.014-8.693 0z"
|
|
@@ -6467,7 +6587,7 @@ function SvgLogoCleverWhite(_ref) {
|
|
|
6467
6587
|
})));
|
|
6468
6588
|
}
|
|
6469
6589
|
|
|
6470
|
-
var _path$v, _path2$
|
|
6590
|
+
var _path$v, _path2$d, _path3$9, _path4$1, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13;
|
|
6471
6591
|
|
|
6472
6592
|
var _excluded$y = ["title", "titleId"];
|
|
6473
6593
|
|
|
@@ -6492,7 +6612,7 @@ function SvgLogoFirstbookColor(_ref) {
|
|
|
6492
6612
|
}, title) : null, _path$v || (_path$v = /*#__PURE__*/createElement("path", {
|
|
6493
6613
|
d: "M154.516 34.244l-46.123 6.988 44.085-9.731a.68.68 0 00.411-.344.736.736 0 00.057-.547.726.726 0 00-.289-.395.677.677 0 00-.463-.112l-46.156 9.784 43.418-12.51a.655.655 0 00.237-.123.705.705 0 00.254-.474.715.715 0 00-.024-.276.714.714 0 00-.317-.434.66.66 0 00-.518-.073l-43.601 12.23 40.546-14.501a.696.696 0 00.396-.36.749.749 0 00.038-.549.712.712 0 00-.345-.415.658.658 0 00-.524-.039l-42.666 14.659 39.026-16.965a.704.704 0 00.373-.386.753.753 0 00.003-.549.705.705 0 00-.369-.39.658.658 0 00-.525-.003L99.893 36.393l37.172-19.813a.714.714 0 00.319-.435.749.749 0 00-.068-.543.71.71 0 00-.382-.317.673.673 0 00-.487.02l-38.575 19.97 33.95-21.822a.76.76 0 00.233-.891.674.674 0 00-.697-.344.665.665 0 00-.254.1L94.766 35.03l31.144-24.46a.715.715 0 00.253-.746.73.73 0 00-.119-.25.694.694 0 00-.194-.193.646.646 0 00-.758.036L92.128 34.593l27.42-26.609a.757.757 0 00-.038-.976.68.68 0 00-.931-.072L89.523 34.331l23.262-28.583a.745.745 0 00-.067-1.013.668.668 0 00-.969.07l-24.08 28.617 18.486-29.404a.752.752 0 00.005-.797.676.676 0 00-.702-.31.697.697 0 00-.438.302l-20.04 30.49 14.111-31.1a.746.746 0 00-.03-.544.697.697 0 00-.387-.364.656.656 0 00-.447-.005.69.69 0 00-.355.284L83.195 32.76l9.168-31.134a.73.73 0 00-.084-.528.687.687 0 00-.417-.31.658.658 0 00-.456.066.705.705 0 00-.312.353l-10.02 31.308 4.61-31.448a.742.742 0 00-.122-.534.662.662 0 00-.957-.16.722.722 0 00-.274.467l-5.444 32.2L78.719.715a.733.733 0 00-.2-.506.67.67 0 00-.485-.21.67.67 0 00-.484.21.733.733 0 00-.2.506l-.518 32.532L71.605.786a.72.72 0 00-.278-.444.661.661 0 00-.932.145.74.74 0 00-.143.509l4.459 32.531L64.274 1.24a.704.704 0 00-.341-.372.657.657 0 00-.492-.036.69.69 0 00-.387.32.745.745 0 00-.083.508l9.502 31.867L57.11 2.08a.69.69 0 00-.416-.334.658.658 0 00-.519.072.73.73 0 00-.303.4.766.766 0 00.02.509l14.444 31.098L49.93 3.39a.706.706 0 00-.194-.196.672.672 0 00-.52-.099.675.675 0 00-.247.112.741.741 0 00-.282.746c.02.093.056.18.107.259l19.054 29.578L43.033 5.05a.69.69 0 00-.474-.236.658.658 0 00-.495.184.716.716 0 00-.225.496.75.75 0 00.175.517L65.66 34.296 36.253 7.181a.668.668 0 00-.968.052.738.738 0 00.05 1.013L62.42 34 30.175 9.54a.656.656 0 00-.508-.133.65.65 0 00-.25.098.681.681 0 00-.194.193.712.712 0 00-.136.527.72.72 0 00.27.468l30.776 23.971-35.72-22.38a.65.65 0 00-.517-.087.657.657 0 00-.241.12.691.691 0 00-.177.21.745.745 0 00-.083.537c.041.183.149.342.3.442L58.08 35.624l-39.126-20.18a.657.657 0 00-.504-.015.696.696 0 00-.378.35.747.747 0 00-.046.525c.049.175.16.324.31.416l36.788 19.498L14.16 18.747a.659.659 0 00-.746.16.721.721 0 00-.198.508.746.746 0 00.204.505c.063.066.14.119.223.154l39.81 17.454L9.835 22.503a.66.66 0 00-.735.21.727.727 0 00-.167.522c.007.094.03.186.071.27.082.171.224.3.397.36L51.399 38.77 6.128 26.539a.66.66 0 00-.49.1.715.715 0 00-.295.42.746.746 0 00.057.52c.08.158.215.28.377.34l43.819 12.23-46.49-9.487a.658.658 0 00-.523.06.73.73 0 00-.352.709.743.743 0 00.253.482c.07.059.15.103.237.13h.1l43.535 9.294-45.421-6.64a.663.663 0 00-.487.15.742.742 0 00-.138.975c.1.15.252.255.424.291l32.68 5.084 44.303 5.434 37.84-4.7 39.159-6.272a.666.666 0 00.466-.258.732.732 0 00.126-.248c.026-.091.035-.186.026-.28a.742.742 0 00-.247-.487.674.674 0 00-.505-.16l-.066.018z",
|
|
6494
6614
|
fill: "#ED1C24"
|
|
6495
|
-
})), _path2$
|
|
6615
|
+
})), _path2$d || (_path2$d = /*#__PURE__*/createElement("path", {
|
|
6496
6616
|
d: "M167.41 138.023a1.828 1.828 0 00-.484-.402c.338-.034.652-.195.885-.454.205-.246.313-.565.3-.891a1.428 1.428 0 00-.2-.734 1.032 1.032 0 00-.518-.454 3.043 3.043 0 00-1.052-.122h-1.67v4.699h.819v-1.747h.167c.133-.016.267-.016.4 0a.756.756 0 01.234.175c.15.192.284.402.418.612l.567.891h1.119l-.551-.891a4.553 4.553 0 00-.434-.682zm-1.336-.908h-.518v-1.276h.552c.195.106.414.154.634.14a.494.494 0 01.334.175.559.559 0 01.117.367.586.586 0 010 .332.446.446 0 01-.234.192 3.21 3.21 0 01-.885.07z",
|
|
6497
6617
|
fill: "#00ACE4"
|
|
6498
6618
|
})), _path3$9 || (_path3$9 = /*#__PURE__*/createElement("path", {
|
|
@@ -6600,7 +6720,7 @@ function SvgLogoFirstbookColorNegative(_ref) {
|
|
|
6600
6720
|
}))));
|
|
6601
6721
|
}
|
|
6602
6722
|
|
|
6603
|
-
var _path$w, _path2$
|
|
6723
|
+
var _path$w, _path2$e;
|
|
6604
6724
|
|
|
6605
6725
|
var _excluded$A = ["title", "titleId"];
|
|
6606
6726
|
|
|
@@ -6625,7 +6745,7 @@ function SvgLogoLpaColor(_ref) {
|
|
|
6625
6745
|
}, title) : null, _path$w || (_path$w = /*#__PURE__*/createElement("path", {
|
|
6626
6746
|
d: "M44.43 13.745c-3.302-2.913-7.002-4.835-11.527-5.58-5.565-.93-9.692.404-12.047 1.179-.489.155-.55.465-.55.868-.03 1.023.397 1.829.734 2.139.367.34.734.154 1.284-.032 2.17-.744 5.167-1.27 8.316-.899 2.997.341 5.779 1.271 7.858 2.45-2.935.433-7.338 1.58-11.955 4.959-3.791-.217-8.56.31-13.85 3.007C2.664 26.92-3.634 39.846 2.297 53.919c2.416 5.703 7.889 10.973 14.279 12.864 3.73 1.116 7.063 1.023 7.95.96.275.218.733.559 1.284.93 8.958 6.014 17.213 4.805 22.075 2.108 4.464-2.48 10.395-8.71 10.579-19.56 8.285-8.09 6.726-17.42 5.625-21.388-2.599-9.454-11.282-15.437-19.66-16.088zm9.54 33.478c.03.713-.276 1.023-1.102 1.612-1.1.775-2.782 1.705-4.433 2.232-.214.062-.306-.186-.245-.341.214-.403.52-1.023.704-1.426.367-.806.733-1.643 1.04-2.449.641-1.674 1.283-3.844 1.68-5.61.062-.28.245-.31.337-.155.184.279.795 1.673 1.223 3.068.459 1.488.764 2.666.795 3.07zm-8.562.961c-.642 1.333-1.223 2.449-1.834 3.224-.367.465-2.783 1.302-7.247-.62-3.118-1.333-4.892-2.728-7.552-6.262-.611-.837-1.1-1.55-1.437-2.077-.367-.588-.55-1.053-1.59-.837-.764.155-2.385.806-3.271 2.14-.337.526-.092.96.214 1.456.58.992 1.468 2.17 2.293 3.162 2.905 3.534 6.574 6.51 10.885 7.998.58.185 1.681.495 2.17.62.337.093.49.495.306.681-1.131 1.24-4.066 3.255-4.953 3.72-2.14 1.116-4.311 1.891-5.931 2.139-.55.093-1.07.186-1.835-.465-.948-.837-1.804-1.829-2.568-2.82-1.498-1.985-2.66-4.248-3.455-6.603-1.651-4.867-1.835-10.168-.703-15.158 1.04-4.619 3.18-8.959 6.298-12.492.428-.496 2.049-2.108 2.538-2.45.397-.247.917-.495 2.201-.247 2.08.434 5.565 1.457 9.295 3.782 4.984 3.1 7.827 6.54 8.714 7.656.703.899.734 1.519.611 2.51-.428 4.185-2.018 8.587-3.149 10.943zM43.39 18.178c.245.031.52.093.887.589.703.992 1.865 3.007 2.323 4.06.826 1.985 1.468 4.526 1.743 5.797.061.31-.183.248-.275.186-.275-.31-.856-.806-1.04-.96-.855-.869-3.332-2.883-6.237-4.588-2.599-1.52-5.656-2.76-6.91-3.1-.153-.031-.214-.279-.03-.372.55-.248 2.323-.93 4.464-1.333 1.65-.31 3.516-.434 5.075-.279zM4.132 46.696c-1.07-6.664.917-13.205 5.228-17.452 2.324-2.293 5.137-4.122 8.225-5.145.917-.31 2.568-.744 3.669-.93.306-.031.397.34.214.527-1.04 1.116-2.507 3.44-2.966 4.215-3.577 6.045-5.136 13.33-4.403 20.335.887 8.648 5.106 13.856 5.779 14.755.153.217.306.589-.03.651-.062 0-.398-.062-.887-.155-9.57-2.139-13.82-10.57-14.83-16.8zm27.212 20.242c-.367-.155-.337-.434 0-.558.947-.341 2.69-1.054 3.516-1.52a26.587 26.587 0 004.647-3.223c.734-.62 2.293-2.046 3.21-3.13.306-.373.826-1.024 1.835-1.148 1.957-.217 2.538-.31 3.914-.65 1.314-.342 3.577-1.147 5.075-1.984.184-.093.49 0 .398.465-.673 3.378-2.997 8.586-7.155 11.252-4.8 3.162-10.395 2.82-15.44.496zm26.63-23.528c-.244.403-.611.31-.764-.03-.122-.373-.275-.9-.398-1.272-.642-1.797-1.436-3.564-2.415-5.207a56.94 56.94 0 00-1.62-2.542c-.367-.558-.367-.837-.367-1.519-.03-3.875-1.223-9.206-3.119-12.647-.183-.341.092-.558.306-.465 5.106 2.387 7.858 5.89 9.172 9.206 2.936 7.378.52 12.275-.795 14.476z",
|
|
6627
6747
|
fill: "#008375"
|
|
6628
|
-
})), _path2$
|
|
6748
|
+
})), _path2$e || (_path2$e = /*#__PURE__*/createElement("path", {
|
|
6629
6749
|
d: "M84.349 38.204c0-2.356-1.804-3.472-4.158-3.472h-3.578v11.005h2.324V41.8h.978c2.722 0 4.434-1.21 4.434-3.596zm-2.324.031c0 1.209-.611 1.829-2.079 1.829h-1.009V36.53h1.07c1.437-.03 2.018.59 2.018 1.705zm4.892 3.968h5.014c.276-2.976-.947-4.712-3.424-4.712-2.202 0-3.914 1.643-3.914 4.185 0 2.573 1.498 4.247 4.158 4.247 1.621 0 2.447-.465 2.966-.775l-.703-1.426c-.397.186-.978.558-2.079.558-1.284 0-1.896-.837-2.018-2.077zm0-1.488c.153-1.054.673-1.643 1.59-1.643.978 0 1.345.744 1.376 1.643h-2.966zm11.557-3.007c-.183-.093-.489-.217-1.07-.217-1.009 0-1.65.682-1.987 1.302v-1.085h-2.17v8.029h2.17v-5.053c.183-.372.764-1.209 1.712-1.209.459 0 .703.093.826.186l.52-1.953zm3.578 1.612h1.895v-1.643h-1.895v-.65c0-1.055.397-1.582 1.284-1.582.581 0 .948.155 1.101.217l.489-1.643c-.184-.124-.765-.372-1.927-.372-2.017 0-3.118 1.302-3.118 3.224v.837h-1.193v1.643h1.193v6.417h2.171V39.32zm10.242 2.325c0-2.077-1.253-4.185-4.005-4.185s-3.944 2.17-3.944 4.247 1.192 4.185 3.975 4.185c2.751.03 3.974-2.201 3.974-4.247zm-2.293.093c0 1.488-.428 2.51-1.681 2.51-1.223 0-1.713-1.084-1.713-2.603 0-1.488.398-2.542 1.621-2.542 1.253 0 1.773 1.116 1.773 2.635zm8.653-4.03c-.184-.093-.489-.217-1.07-.217-1.009 0-1.651.682-1.988 1.302v-1.085h-2.17v8.029h2.17v-5.053c.184-.372.765-1.209 1.713-1.209.458 0 .703.093.825.186l.52-1.953zm7.307 1.054c-.305-.744-.917-1.27-2.048-1.27-1.284 0-1.957.712-2.385 1.177v-.992h-2.11v8.029h2.171V40.28c.153-.217.673-.992 1.468-.992.642 0 .917.403.917 1.209v5.177h2.171v-5.487c.305-.372.795-.899 1.467-.899.704 0 .948.434.948 1.209v5.177h2.171v-5.642c0-1.488-.581-2.604-2.263-2.604-1.131.062-1.865.558-2.507 1.333zm8.622-1.085h-2.17v8.029h2.17v-8.029zm.245-2.356c0-.682-.581-1.302-1.345-1.302-.765 0-1.315.59-1.315 1.302 0 .713.55 1.333 1.315 1.333a1.34 1.34 0 001.345-1.333zm8.714 10.385v-5.642c0-1.488-.642-2.604-2.385-2.604-1.315 0-2.11.713-2.538 1.21v-.993h-2.109v8.029h2.17v-5.394c.153-.217.795-.992 1.621-.992.795 0 1.07.403 1.07 1.209v5.177h2.171zm6.084-8.029c-.397-.124-.886-.186-1.406-.186-2.202 0-3.516 1.178-3.516 2.914 0 1.054.52 1.89 1.406 2.418-.458.279-.886.744-.886 1.519 0 .589.275.96.703 1.209-.795.434-1.346 1.084-1.346 1.953 0 1.456 1.315 2.138 3.486 2.138 2.599 0 4.342-1.209 4.342-2.914 0-2.386-2.079-2.386-3.731-2.48-1.131-.061-1.589-.154-1.589-.588 0-.217.152-.372.305-.465.306.062.612.093.948.093 2.202 0 3.425-1.178 3.425-2.914 0-.465-.092-.899-.306-1.302h1.07v-1.426h-2.905v.031zm-1.406 4.216c-.887 0-1.437-.558-1.437-1.488 0-.93.55-1.488 1.437-1.488s1.437.558 1.437 1.488c0 .93-.52 1.488-1.437 1.488zm-.917 4.092c.336.062.703.093 1.07.124 1.162.093 1.895.062 1.895.898 0 .682-.733 1.178-2.079 1.178-1.1 0-1.559-.434-1.559-1.085.031-.465.245-.837.673-1.115zm11.863-2.325h4.341l.734 2.077h2.507l-4.25-11.005h-2.232l-4.127 11.005h2.323l.704-2.077zm3.669-1.86h-3.027l.917-2.635c.336-.93.55-1.767.581-1.89h.031c.03.123.244.96.58 1.89l.918 2.635zm9.937-4.092c-.184-.093-.49-.217-1.071-.217-1.009 0-1.651.682-1.987 1.302v-1.085h-2.171v8.029h2.171v-5.053c.184-.372.764-1.209 1.712-1.209.459 0 .704.093.826.186l.52-1.953zm1.498 1.612v4.092c0 1.55.642 2.51 2.507 2.51.978 0 1.651-.278 1.987-.464l-.489-1.643c-.153.093-.581.31-1.039.31-.612 0-.795-.341-.795-1.147V39.32h1.865v-1.643h-1.865v-2.325H174.3v2.325h-1.284v1.643h1.254zm10.732 4.03c0-1.364-.918-1.922-2.171-2.45-.918-.371-1.621-.526-1.621-1.053 0-.434.337-.713 1.101-.713s1.376.31 1.682.527l.764-1.488c-.367-.217-1.192-.65-2.538-.65-1.804 0-2.966.96-2.966 2.448 0 1.209.673 1.86 1.774 2.387 1.131.558 1.987.682 1.987 1.24 0 .465-.458.713-1.315.713-.886 0-1.651-.434-1.956-.651l-.734 1.519c.489.34 1.406.744 2.813.744 2.018 0 3.18-.9 3.18-2.573zM76.72 29.733h5.228v-.775h-4.342V18.73h-.886v11.004zm7.246-9.516c.367 0 .642-.31.642-.682a.65.65 0 00-.642-.65.65.65 0 00-.642.65c0 .372.275.682.642.682zm-.428 9.516h.856V21.86h-.856v7.873zm5.565.186c2.384 0 3.852-1.922 3.852-4.153 0-2.294-1.07-4.092-3.302-4.092-.795 0-1.56.372-2.049.899V17.83h-.856V29.3c.581.371 1.437.62 2.355.62zm.03-.744c-.611 0-1.162-.124-1.529-.31v-5.517c.428-.496 1.223-.9 1.896-.9 1.896 0 2.538 1.644 2.538 3.349.03 1.642-.917 3.378-2.905 3.378zm5.779.558h.856v-5.486c.214-.465.917-1.736 1.987-1.736.337 0 .52.062.642.124l.214-.806c-.122-.062-.397-.124-.733-.124-1.101 0-1.804.96-2.08 1.55V21.89h-.886v7.842zm6.604.186c.917 0 1.804-.465 2.354-1.178.031.28.061.744.123.992h.856c-.092-.34-.153-.899-.153-1.58v-3.968c0-1.705-.887-2.511-2.477-2.511-1.009 0-1.865.34-2.537.992l.458.589c.642-.62 1.284-.837 2.018-.837 1.162 0 1.712.589 1.712 1.86v.899h-.367c-1.804 0-4.097.589-4.097 2.697-.06 1.24.826 2.045 2.11 2.045zm.122-.744c-.672 0-1.406-.465-1.406-1.332 0-1.457 1.467-1.984 3.21-1.984h.367v2.107c-.581.775-1.315 1.21-2.171 1.21zm5.32.558h.856v-5.486c.215-.465.918-1.736 1.988-1.736.336 0 .52.062.642.124l.214-.806c-.122-.062-.398-.124-.734-.124-1.101 0-1.804.96-2.079 1.55V21.89h-.856v7.842h-.031zm4.77 3.782c1.682 0 2.293-1.178 2.844-2.666l3.332-9.02h-.886l-2.385 6.757-2.446-6.757h-.918l2.905 7.811-.397 1.116c-.459 1.24-.918 1.984-2.049 1.984-.306 0-.428-.03-.55-.062l-.123.713c.153.093.337.124.673.124zm11.588-3.782h.826v-7.191h2.017v-.682h-2.017v-1.24c0-1.426.58-2.17 1.773-2.17.458 0 .825.124.978.217l.214-.744c-.214-.093-.611-.217-1.192-.217-1.712 0-2.63 1.085-2.63 2.883v1.333h-1.345v.682h1.345v7.13h.031zm6.879.186c2.446 0 3.547-2.17 3.547-4.153 0-1.953-1.131-4.092-3.577-4.092-2.446 0-3.486 2.139-3.486 4.123.031 1.983 1.101 4.122 3.516 4.122zm.031-.744c-1.743 0-2.63-1.611-2.63-3.41 0-1.766.795-3.347 2.569-3.347 1.773 0 2.69 1.612 2.69 3.379 0 1.797-.856 3.378-2.629 3.378zm5.473.558h.856v-5.486c.214-.465.917-1.736 1.987-1.736.337 0 .52.062.642.124l.214-.806c-.122-.062-.397-.124-.733-.124-1.101 0-1.804.96-2.079 1.55V21.89h-.857v7.842h-.03zm10.793.186a2.65 2.65 0 001.498-.465l-.336-.65c-.153.123-.612.371-1.07.371-.704 0-.948-.434-.948-1.24v-5.362h1.987v-.682h-1.987v-2.263h-.856v2.232h-1.315v.682h1.315v5.424c0 1.24.55 1.953 1.712 1.953zm3.149-.186h.856V24c.275-.434 1.223-1.55 2.385-1.55 1.162 0 1.59.713 1.59 1.89v5.394h.856v-5.58c0-1.425-.642-2.48-2.263-2.48-1.314 0-2.201.9-2.568 1.427v-5.27h-.856v11.903zm11.068.186c1.254 0 2.14-.434 2.63-.806l-.367-.682c-.428.341-1.254.744-2.232.744-1.865 0-2.599-1.643-2.63-3.44v-.186h5.351c.031-.155.031-.28.031-.434 0-2.015-1.071-3.441-2.936-3.441-2.079 0-3.332 1.829-3.332 4.03 0 2.293 1.1 4.215 3.485 4.215zm-2.538-5.083c.214-1.364 1.009-2.418 2.355-2.418 1.467 0 2.079 1.209 2.109 2.418h-4.464zM76.687 12.688h.825V3.14l6.513 9.548h.825V1.684h-.856v9.485l-6.451-9.485h-.887v11.004h.03zm13.178.155c1.253 0 2.14-.434 2.63-.806l-.368-.682c-.428.34-1.253.744-2.232.744-1.865 0-2.599-1.643-2.63-3.44v-.187h5.351c.031-.155.031-.279.031-.434 0-2.015-1.07-3.44-2.935-3.44-2.08 0-3.333 1.828-3.333 4.03 0 2.293 1.1 4.215 3.486 4.215zM87.327 7.79c.214-1.364 1.009-2.418 2.354-2.418 1.468 0 2.08 1.21 2.11 2.418h-4.464zm8.5 4.898h.795l2.11-6.634 2.109 6.634h.795l2.354-7.874h-.856l-1.895 6.572-2.049-6.572h-.825l-2.049 6.54-1.896-6.54h-.917l2.324 7.874zm15.257 0h.886V8.534l3.608-6.85h-.917l-3.088 5.951h-.031l-3.088-5.951h-1.009l3.639 6.85v4.154zm7.093.155c2.446 0 3.547-2.17 3.547-4.154 0-1.953-1.132-4.092-3.578-4.092-2.445 0-3.485 2.14-3.485 4.123 0 2.015 1.07 4.123 3.516 4.123zm0-.744c-1.773 0-2.629-1.612-2.629-3.41 0-1.767.795-3.348 2.568-3.348 1.773 0 2.691 1.612 2.691 3.38 0 1.797-.857 3.378-2.63 3.378zm5.167.589h.856V7.2c.214-.465.918-1.736 1.988-1.736.336 0 .519.062.642.124l.214-.806c-.122-.062-.398-.124-.734-.124-1.101 0-1.804.961-2.079 1.55V4.845h-.887v7.843zm9.723 0h1.07l-3.608-4.433 3.425-3.44h-1.07l-3.394 3.44 3.577 4.433zm-4.525 0h.856V.816h-.856v11.872zm11.007 0h.887v-4.68h1.376c2.446 0 3.821-1.24 3.821-3.225 0-1.953-1.437-3.1-3.699-3.1h-2.385v11.005zm.887-5.456V2.46h1.376c2.079 0 2.874.991 2.874 2.355 0 1.457-.857 2.418-2.905 2.418h-1.345zm8.866 5.61c1.315 0 2.202-.867 2.569-1.456 0 .434.061 1.023.122 1.302h.856c-.092-.31-.153-.9-.153-1.52V4.815h-.856v5.704c-.275.465-1.223 1.58-2.385 1.58-1.192 0-1.59-.743-1.59-1.89V4.814h-.856v5.549c0 1.426.642 2.48 2.293 2.48zm8.072 0c2.385 0 3.853-1.921 3.853-4.153 0-2.294-1.07-4.092-3.302-4.092-.795 0-1.56.372-2.049.9V.753h-.856v11.469c.55.403 1.406.62 2.354.62zm.031-.743c-.612 0-1.162-.124-1.498-.31V6.302c.428-.496 1.223-.899 1.895-.899 1.896 0 2.538 1.643 2.538 3.348-.031 1.643-.978 3.348-2.935 3.348zm5.442.589h.856V.816h-.856v11.872zm3.73-9.548c.367 0 .642-.31.642-.681a.65.65 0 00-.642-.651.65.65 0 00-.642.65c0 .403.306.682.642.682zm-.428 9.548h.856V4.814h-.856v7.874zm5.901.155c1.162 0 1.988-.434 2.416-.806l-.367-.651c-.337.31-1.101.713-1.988.713-1.712 0-2.476-1.674-2.476-3.41 0-1.829.795-3.348 2.507-3.348.856 0 1.437.341 1.896.713l.428-.62c-.428-.372-1.162-.837-2.324-.837-1.987 0-3.424 1.612-3.424 4.123 0 2.139 1.1 4.123 3.332 4.123z",
|
|
6630
6750
|
fill: "#000"
|
|
6631
6751
|
})));
|
|
@@ -6741,7 +6861,7 @@ function SvgLogoMlnWhite(_ref) {
|
|
|
6741
6861
|
}))));
|
|
6742
6862
|
}
|
|
6743
6863
|
|
|
6744
|
-
var _path$z, _path2$
|
|
6864
|
+
var _path$z, _path2$f, _path3$a, _path4$2, _path5$1, _path6$1, _path7$1;
|
|
6745
6865
|
|
|
6746
6866
|
var _excluded$F = ["title", "titleId"];
|
|
6747
6867
|
|
|
@@ -6764,7 +6884,7 @@ function SvgLogoNyplFullBlack(_ref) {
|
|
|
6764
6884
|
id: titleId
|
|
6765
6885
|
}, title) : null, _path$z || (_path$z = /*#__PURE__*/createElement("path", {
|
|
6766
6886
|
d: "M485.288 7.284h7.269l53.44 77.4v-77.4h7v89.65h-6.867l-53.978-77.94v77.94h-6.864V7.284m126.535 49.67c-.134-9.691-5.114-19.652-17.365-19.652-11.171 0-17.634 8.614-19.518 19.653zm-44.692 7.27c0-18.172 10.5-32.98 27.597-32.98 16.422 0 25.442 13.192 24.094 31.498h-44.287v1.482c.136 14.673 6.328 28.134 21.674 28.134 8.21 0 15.076-3.366 18.576-6.059l2.96 5.52c-4.038 2.961-11.441 6.596-21.807 6.596-19.652 0-28.807-15.75-28.807-34.191m59.225-31.5h7.539l15.617 53.442 16.825-53.442h6.865L690.028 86.3l15.749-53.575h7.001l-19.385 64.21h-6.46l-17.366-54.112-17.365 54.112h-6.46l-19.386-64.21m148.337 30.422L744.676 7.284h8.345l25.44 48.459h.27l25.442-48.46h7.539l-29.75 55.863v33.788h-7.27V63.146m81.841 1.751c0-14.404-7.673-27.595-22.345-27.595-14.538 0-21.134 12.922-21.134 27.326 0 14.538 7.135 27.73 21.672 27.73 14.671 0 21.807-12.924 21.807-27.461zm-50.882 0c0-16.154 8.614-33.653 28.805-33.653 20.193 0 29.481 17.365 29.481 33.384 0 16.153-9.153 33.787-29.346 33.787-20.191 0-28.94-17.365-28.94-33.518m71.73-32.173h7v11.173c2.423-4.711 8.211-12.653 17.231-12.653 2.96 0 5.115.674 6.192 1.078l-1.75 6.594c-1.078-.404-2.558-.942-5.251-.942-8.884 0-14.673 10.5-16.421 14.27v44.69h-7.001v-64.21m51.013 28.134l28.135-28.134h8.75l-28.402 28.134 29.883 36.076h-8.75zM920.724.015h7v96.919h-7V.014m-416.725 187.38c17.095 0 24.094-7.808 24.094-19.654 0-11.173-6.73-19.25-23.826-19.25h-11.44v38.904zm-18.576-45.23h19.518c18.846 0 30.69 9.29 30.69 25.308 0 16.151-11.172 26.248-31.498 26.248h-11.307v38.094h-7.403v-89.65m61.513 70.805v-45.364h7v43.883c0 9.424 3.365 15.48 13.191 15.48 9.559 0 17.498-9.018 19.654-12.787v-46.576h6.999v51.825c0 5.115.538 9.962 1.212 12.384h-7.135c-.402-2.153-.942-7-.942-10.5-3.096 4.847-10.365 11.981-21.268 11.981-13.46 0-18.711-8.75-18.711-20.326m107.957-13.191c0-14-5.385-27.326-21-27.326-5.518 0-11.98 3.23-15.615 7.269v44.96c2.961 1.48 7.402 2.557 12.52 2.557 16.286 0 24.095-14.134 24.095-27.46zm-43.614 28.672v-93.555h6.999v38.634c3.904-4.443 10.232-7.404 16.827-7.404 18.305 0 27.19 14.672 27.19 33.383 0 18.038-12.115 33.787-31.768 33.787-7.672 0-14.806-1.884-19.248-4.845m65.416-93.555h7.001v96.92h-7v-96.92m27.862 32.71h7.134v64.21h-7.134zm-1.75-18.98c0-3.095 2.424-5.385 5.252-5.385 2.958 0 5.382 2.29 5.382 5.386s-2.424 5.52-5.382 5.52c-2.828 0-5.252-2.425-5.252-5.52m22.343 51.017c0-20.326 11.712-33.518 28.269-33.518 9.558 0 15.615 3.635 19.114 6.73l-3.635 5.115c-3.633-3.096-8.48-5.788-15.612-5.788-14.27 0-20.732 12.384-20.732 27.192 0 14.269 6.328 27.864 20.597 27.864 7.404 0 13.594-3.23 16.422-5.788l3.096 5.25c-3.5 3.096-10.23 6.595-19.923 6.595-18.441 0-27.596-16.422-27.596-33.652M483.403 366.697v-89.65h19.114v74.303H535.9v15.347h-52.498m66.689 0V301.14h18.036v65.558zm9.02-74.035c-6.328 0-10.906-4.981-10.906-10.77 0-5.654 4.578-10.5 10.905-10.5 6.327 0 11.037 4.846 11.037 10.5 0 5.789-4.71 10.77-11.037 10.77m42.67 60.17c1.21.403 4.037 1.482 9.018 1.482 9.961 0 15.883-7.404 15.883-20.865 0-12.25-4.17-19.788-13.864-19.788-5.652 0-9.961 3.634-11.037 4.98zm0-83.055v36.48c2.961-2.963 8.75-6.731 16.017-6.731 16.425 0 27.866 11.306 27.866 33.923 0 22.343-15.077 34.863-34.865 34.863-14.807 0-23.826-3.77-26.922-5.25v-93.285h17.904m94.224 47.114c-1.077-.672-3.097-1.482-6.868-1.482-7.94 0-12.651 7.002-14.267 9.961v41.327h-17.904V301.14h17.904v8.887c2.826-4.847 8.212-10.5 16.557-10.5 4.846 0 7.404.942 8.885 1.752l-4.307 15.613m45.362 20.728h-2.29c-10.498 0-17.767 3.1-17.767 10.77 0 4.846 3.905 6.865 7.941 6.865 6.463 0 10.232-3.77 12.116-5.787zm2.02 29.078c-.54-1.617-.942-4.98-1.079-7-2.96 3.5-9.153 8.615-18.44 8.615-11.174 0-19.788-6.73-19.788-18.442 0-17.096 17.634-23.288 34.998-23.288h2.289v-3.769c0-5.654-2.29-9.152-10.635-9.152-8.48 0-14.269 4.44-16.691 6.19l-7.808-10.901c3.904-3.5 12.52-9.424 26.52-9.424 17.903 0 26.383 6.866 26.383 24.23v23.557c0 8.883.941 15.209 1.884 19.384h-17.633m69.186-49.806c-1.076-.672-3.096-1.482-6.864-1.482-7.942 0-12.654 7.002-14.27 9.961v41.327h-17.904V301.14h17.904v8.887c2.828-4.847 8.212-10.5 16.558-10.5 4.844 0 7.403.942 8.884 1.752l-4.308 15.613m10.768-15.752h19.113l14.54 43.212h.673l13.326-43.212h18.442l-27.057 72.556c-5.789 15.48-12.654 24.499-30.556 24.499-5.52 0-8.75-.805-10.096-1.21l2.557-14.135c.942.27 2.423.672 6.327.672 9.153 0 12.384-4.44 14.94-11.441l2.423-6.73-24.632-64.21"
|
|
6767
|
-
})), _path2$
|
|
6887
|
+
})), _path2$f || (_path2$f = /*#__PURE__*/createElement("path", {
|
|
6768
6888
|
d: "M244.07 275.908c-.632 3.292-2.639 9.649-5.848 10.062-3.233.413-5.562-3.053-7.881-4.352-3.912-2.182-9.444-3.61-14.556-5.302-4.41-1.462-10.457-3.27-12.23-7.479-2.657-6.265 3.55-9.229 8.02-10.605 4.21-1.293 7.292-1.78 12.78-2.036 8.075-.388 15.784.768 18.495 5.844 1.635 3.057 2.133 9.122 1.22 13.868zm74.12 4.038c-14.064-6.882-32.33-10.33-45.62-17.713-10.522-5.834-18.59-15.471-29.913-20.664-11.552-5.656-28.94-11.341-35.586-12.98-23.496-5.78-43.231 1.747-50.076 7.164-12.781 10.1-22.766 26.516-18.87 50.134 1.65 9.984 4.723 18.383 9.607 25.29 19.818 27.99 56.91 37.084 86.295 54.742 1.036.705 2.118.517 2.78-.383 4.935-7.258 8.947-13.1 17.26-16.558 8.44-3.524 21.722-2.327 33.174-1.77 11.83.573 24.6-.538 28.891-6.655 5.127-7.301 4.828-22.013-2.997-26.508-4.199-2.42-10.459-2.53-15.025-4.635-3.332-1.54-5.901-4.422-7.739-8.428-1.54-3.352-2.973-8.856-.976-12.447 1.84-3.308 6.475-2.372 10.199-1.506 7.38 1.694 19.711 3.49 26.811.376 2.092-1.068-5.386-6.076-8.216-7.459M20.98 299.71c.424-2.396.609-3.063 2.052-4.947 2.286-3.418 30.024-34.543 73.016-42.085 5.658-.811 9.734-.419 10.661 1.849 1.625 3.976-1.667 6.266-5.629 8.56-68.952 41.21-64.064 102.472-64.725 127.532.208 10.252-7.195 12.118-9.043 7.288-8.092-22.074-14.896-56.673-6.333-98.197m46.657-90.251c1.413-1.499 2.334-2.187 4.43-2.778 26.481-6.578 53.046-2.39 72.177 6.14 4.294 1.902 6.229 4.596 3.409 6.405-3.587 2.084-14.456 9.154-20.464 14.752-1.746 1.505-4.86 1.584-6.697 1.34-22.426-2.956-34.074-4.703-67.787 8.077-5.173 2.175-9.826-.784-7.445-4.85 4.489-8.04 14.927-21.49 22.377-29.086M111.209 183c-5.798-.66-5.88-4.902-3.428-6.553 6.3-4.414 16.521-9.743 26.804-13.82 3.078-1.22 4.668-1.537 7.487-1.255 7.578.759 20.125 5.86 34.522 16.133 17.266 12.32 32.626 35.725 22.354 33.83-6.497-1.125-3.668-.816-11.283-1.652-7.781-.69-12.888.11-16.475-.256-1.562-.128-2.793-1.168-3.893-2.07-14.573-13.067-31.407-21.36-56.088-24.357",
|
|
6769
6889
|
fill: "#fff"
|
|
6770
6890
|
})), _path3$a || (_path3$a = /*#__PURE__*/createElement("path", {
|
|
@@ -6824,7 +6944,7 @@ function SvgLogoNyplFullWhite(_ref) {
|
|
|
6824
6944
|
})))));
|
|
6825
6945
|
}
|
|
6826
6946
|
|
|
6827
|
-
var _path$A, _path2$
|
|
6947
|
+
var _path$A, _path2$g, _path3$b;
|
|
6828
6948
|
|
|
6829
6949
|
var _excluded$H = ["title", "titleId"];
|
|
6830
6950
|
|
|
@@ -6849,7 +6969,7 @@ function SvgLogoNyplLionBlack(_ref) {
|
|
|
6849
6969
|
}, title) : null, _path$A || (_path$A = /*#__PURE__*/createElement("path", {
|
|
6850
6970
|
d: "M80.251 43.353c-.87-1.65-3.396-2.04-6.052-1.91a16.55 16.55 0 00-4.18.651c-1.48.434-3.484 1.433-2.613 3.473.566 1.39 2.57 1.954 4.006 2.432 1.655.564 3.484.998 4.746 1.736.74.434 1.524 1.563 2.57 1.433 1.044-.13 1.698-2.214 1.915-3.256.305-1.607.175-3.56-.392-4.559z",
|
|
6851
6971
|
fill: "#000"
|
|
6852
|
-
})), _path2$
|
|
6972
|
+
})), _path2$g || (_path2$g = /*#__PURE__*/createElement("path", {
|
|
6853
6973
|
fillRule: "evenodd",
|
|
6854
6974
|
clipRule: "evenodd",
|
|
6855
6975
|
d: "M68.103.112C31.047.112.87 30.155.87 67.492c0 37.336 30.394 67.423 67.275 67.423 37.448 0 67.798-30.043 67.798-67.38C135.901 30.155 105.551.112 68.103.112zM28.652 114.77a10.757 10.757 0 01-2.482-3.039c-5.748-9.16-8.97-41.548-1.568-52.531 2.352-3.864 4.834-2.084 4.006.911-1.437 6.686-.566 10.42 2.7 17.67 3.631 7.609 12.59 17.32 19.008 24.279 2.664 2.887 4.89 5.301 6.117 6.893 7.185 9.29 9.58 16.063 9.536 17.887-.043 1.389-.305 2.3-2.787 2.083-12.932-.998-25.517-6.382-34.53-14.153zm99.052-30.575l.054-.162C138.6 47.52 111.647 4.497 64.837 6.19c-2.961.174-5.4 1.086-3.222 2.779 6.662 5.123 10.232 11.765 11.495 17.8.087.52.349.825 1.045 1.042 3.048.825 10.756 3.864 13.15 5.687.95.723 1.892 1.69 2.868 2.693 1.487 1.528 3.052 3.136 4.84 4.08 3.412 1.8 6.769 3.27 10.024 4.698h.003c1.77.777 3.511 1.54 5.213 2.335 2.134.955 6.053 3.56 5.792 6.642-.041.485-.157.952-.269 1.404-.13.518-.254 1.018-.254 1.505 0 .562.232 1.19.45 1.783.136.368.267.723.334 1.039.446 2.111.563 4.279.348 6.425-.305 2.301-1.045 5.948-2.351 8.075-.134.207-.282.4-.429.592-.375.49-.74.967-.834 1.623a11.233 11.233 0 01-.697 2.518c-.13.217-.13.608.131.65 5.138 1.911 10.494 5.34 12.889 7.12 1.22.881 1.83-.951 2.341-2.485zm-18.975-20.828a13.058 13.058 0 01-.13-1.215c0-.359.593-.806 1.046-1.147.095-.072.184-.139.26-.2a13.999 13.999 0 011.785-1.258c.14-.07.223.055.273.13.013.02.023.035.032.044 1.742 2.604 1.089 9.073-.174 12.156-.131.303-.392.434-.523.217-.653-1.39-1.567-2.649-2.656-3.3a.689.689 0 01-.218-.52c.435-1.599.538-3.268.305-4.907zM68.495 32.24c-7.708-1.867-14.152.564-16.373 2.344-4.18 3.3-7.446 8.64-6.14 16.238.523 3.256 1.524 5.99 3.136 8.248 4.45 6.297 11.622 9.674 18.79 13.048 3.21 1.512 6.42 3.023 9.382 4.796a.632.632 0 00.915-.13l.016-.024c1.604-2.334 2.91-4.235 5.601-5.36 2.43-1 6.123-.808 9.537-.63h.004c.44.023.874.046 1.302.066 3.875.173 8.055-.174 9.449-2.171 1.698-2.388 1.611-7.163-.958-8.64-.742-.415-1.668-.622-2.595-.83-.816-.181-1.633-.364-2.326-.69-1.088-.477-1.916-1.432-2.525-2.734-.48-1.086-.958-2.866-.305-4.038.556-1.066 2.037-.75 3.246-.49l.063.013c2.395.564 6.445 1.128 8.752.13.654-.347-1.785-1.997-2.699-2.431-2.15-1.062-4.607-1.873-7.06-2.684-2.765-.913-5.525-1.825-7.832-3.09-1.545-.858-2.923-1.961-4.307-3.07-1.7-1.36-3.408-2.727-5.447-3.66a74.478 74.478 0 00-11.626-4.211zM37.186 17.391c-1.872-.217-1.915-1.606-1.132-2.127a47.598 47.598 0 018.753-4.515 4.145 4.145 0 012.438-.391c2.482.26 6.575 1.91 11.278 5.253 5.617 3.994 10.668 11.635 7.315 11.027a34.483 34.483 0 00-3.7-.52c-1.441-.124-2.612-.093-3.57-.067-.723.02-1.325.036-1.83-.02a2.276 2.276 0 01-1.263-.695c-4.746-4.255-10.233-6.946-18.288-7.945zm51.818 59.652a3.828 3.828 0 00-1.655 2.214c-.027.09-.069.215-.118.361-.187.558-.473 1.413-.404 1.723.067.37.58.897.969 1.297.113.116.215.221.293.31a35.34 35.34 0 002.744 2.908 7.351 7.351 0 001.61 1.26c.604.3 1.44.37 2.348.445.273.022.55.045.832.075l.034.004c3.344.346 7.026.728 8.892-1.176.218-.217.305-.868.348-1.302.206-1.336.871-2.37 1.537-3.406.741-1.154 1.484-2.31 1.599-3.888a6.11 6.11 0 00-.349-2.605 2.827 2.827 0 00-1.437-1.737c-1.213-.509-2.098.102-2.896.652-.291.2-.57.393-.849.52-1.622.769-4 .934-6.289 1.094l-.503.035c-.296.02-.594.04-.89.058h-.001c-2.234.14-4.432.277-5.815 1.158zM22.948 26.03c.385-.43.883-.746 1.437-.912a37.386 37.386 0 0123.557 1.997c1.393.608 2.046 1.476 1.132 2.084-1.176.695-4.703 2.996-6.662 4.819-.566.478-1.568.521-2.177.434l-.246-.032c-7.157-.935-11.025-1.44-21.875 2.68-1.698.695-3.222-.26-2.438-1.563 1.437-2.648 4.833-7.033 7.272-9.507zM8.36 53.816a2.946 2.946 0 00-.653 1.606c-2.787 13.502-.566 24.79 2.09 31.997.61 1.563 3.048.955 2.961-2.388.017-.605.023-1.275.03-2.002.082-9.085.246-27.125 21.09-39.546 1.262-.738 2.35-1.476 1.828-2.778-.305-.738-1.655-.868-3.484-.608-14.064 2.475-23.121 12.59-23.862 13.72zm27.738 17.28c-3.963-9.639-1.393-18.279.392-21.578.87-1.65 1.741-2.735 2.874-2.431 1.219.347 1.524 1.606 1.698 3.907 1.263 19.233 12.932 25.702 27.563 32.518 11.583 5.904 24.733 12.633 35.75 28.957 1.654 2.345 1.916 3.777.043 5.123-6.705 4.559-12.802 7.771-21.728 9.855-1.35.304-2.743.087-3.919-2.995-6.742-17.265-15.964-24.728-24.497-31.632-7.174-5.805-13.86-11.216-18.176-21.725zm73.067 38.334c.609 1.172 1.698 2.649 3.57.782 3.223-3.17 7.795-9.291 9.319-12.243.035-.077.074-.154.115-.235.258-.511.56-1.11.146-1.936-.74-1.52-4.877-6.165-7.664-8.292l-.033-.025c-1.086-.823-2.55-1.933-3.929-2.32a3.246 3.246 0 00-1.089-.13c-1.025.118-1.158.592-1.561 2.034l-.137.484c-.74 2.518-2.177 4.298-3.44 4.82a6.957 6.957 0 01-3.745.607c-1.088-.087-1.654.912-.914 1.65 4.136 4.515 6.705 9.204 9.362 14.804z",
|
|
@@ -7250,7 +7370,7 @@ function SvgLogoQplAltWhite(_ref) {
|
|
|
7250
7370
|
})));
|
|
7251
7371
|
}
|
|
7252
7372
|
|
|
7253
|
-
var _path$E, _path2$
|
|
7373
|
+
var _path$E, _path2$h, _path3$c, _path4$3, _path5$2;
|
|
7254
7374
|
|
|
7255
7375
|
var _excluded$P = ["title", "titleId"];
|
|
7256
7376
|
|
|
@@ -7275,7 +7395,7 @@ function SvgLogoQplBlack(_ref) {
|
|
|
7275
7395
|
fillRule: "evenodd",
|
|
7276
7396
|
clipRule: "evenodd",
|
|
7277
7397
|
d: "M32.462 9.322v18.643l-8.116 4.66V13.984l-8.114-4.66-8.116 4.66v18.642L0 27.965V9.322L8.116 4.66 16.23 0h.002l8.115 4.66 8.115 4.66v.002zM8.114 32.626l8.117-4.662 8.115 4.662 8.116 4.66-8.116 4.66-8.115-4.66-8.117-4.66z"
|
|
7278
|
-
})), _path2$
|
|
7398
|
+
})), _path2$h || (_path2$h = /*#__PURE__*/createElement("path", {
|
|
7279
7399
|
fillRule: "evenodd",
|
|
7280
7400
|
clipRule: "evenodd",
|
|
7281
7401
|
d: "M8.115 32.626l16.223 9.32 8.112-4.66-16.225-9.322-8.11 4.662z"
|
|
@@ -7353,7 +7473,7 @@ function SvgLogoQplColor(_ref) {
|
|
|
7353
7473
|
})))));
|
|
7354
7474
|
}
|
|
7355
7475
|
|
|
7356
|
-
var _path$F, _path2$
|
|
7476
|
+
var _path$F, _path2$i, _path3$d, _path4$4, _path5$3;
|
|
7357
7477
|
|
|
7358
7478
|
var _excluded$R = ["title", "titleId"];
|
|
7359
7479
|
|
|
@@ -7379,7 +7499,7 @@ function SvgLogoQplWhite(_ref) {
|
|
|
7379
7499
|
fillRule: "evenodd",
|
|
7380
7500
|
clipRule: "evenodd",
|
|
7381
7501
|
d: "M32.462 9.322v18.643l-8.116 4.66V13.984l-8.114-4.66-8.116 4.66v18.642L0 27.965V9.322L8.116 4.66 16.23 0h.002l8.115 4.66 8.115 4.66v.002zM8.114 32.626l8.117-4.662 8.115 4.662 8.116 4.66-8.116 4.66-8.115-4.66-8.117-4.66z"
|
|
7382
|
-
})), _path2$
|
|
7502
|
+
})), _path2$i || (_path2$i = /*#__PURE__*/createElement("path", {
|
|
7383
7503
|
fillRule: "evenodd",
|
|
7384
7504
|
clipRule: "evenodd",
|
|
7385
7505
|
d: "M8.115 32.626l16.223 9.32 8.112-4.66-16.225-9.322-8.11 4.662z"
|
|
@@ -7396,7 +7516,7 @@ function SvgLogoQplWhite(_ref) {
|
|
|
7396
7516
|
})));
|
|
7397
7517
|
}
|
|
7398
7518
|
|
|
7399
|
-
var _path$G, _path2$
|
|
7519
|
+
var _path$G, _path2$j, _path3$e, _path4$5, _path5$4;
|
|
7400
7520
|
|
|
7401
7521
|
var _excluded$S = ["title", "titleId"];
|
|
7402
7522
|
|
|
@@ -7419,7 +7539,7 @@ function SvgLogoSchomburgBlack(_ref) {
|
|
|
7419
7539
|
id: titleId
|
|
7420
7540
|
}, title) : null, _path$G || (_path$G = /*#__PURE__*/createElement("path", {
|
|
7421
7541
|
d: "M72.306 33.437a.607.607 0 100-1.213c-.306 0-.613.27-.613.606.034.337.307.607.613.607zm-.374 8.728h.817v-7.212h-.817v7.212zm2.758 0h.784v-5.257c.442-.674 1.328-1.416 2.248-1.416 1.09 0 1.498.674 1.498 1.72v4.953h.783v-5.122c0-1.315-.613-2.258-2.111-2.258-1.022 0-1.873.606-2.418 1.314v-1.146h-.784v7.212zm9.707 0h2.316c2.316 0 3.78-.81 3.78-2.797 0-1.45-1.056-2.292-2.316-2.528v-.033c1.124-.27 1.873-1.045 1.873-2.224 0-1.786-1.294-2.494-3.303-2.494H84.43v10.076h-.034zm.817-.708v-4.246h1.533c1.975 0 2.895.809 2.895 2.19 0 1.45-.954 2.09-2.93 2.09h-1.498v-.034zm0-4.954v-3.706h1.43c1.703 0 2.555.539 2.555 1.82 0 1.246-.817 1.886-2.554 1.886h-1.43zm6.948 5.662h.783V31.28h-.783v10.885zm4.632.168a2.87 2.87 0 002.213-1.078c0 .27.069.674.103.91h.783c-.102-.304-.17-.843-.17-1.45v-3.639c0-1.55-.852-2.291-2.35-2.291-.954 0-1.737.303-2.384.91l.442.539c.613-.573 1.192-.775 1.908-.775 1.09 0 1.6.539 1.6 1.718v.81h-.34c-1.703 0-3.849.538-3.849 2.459 0 1.146.818 1.887 2.044 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.03-1.82h.341v1.921c-.51.708-1.226 1.112-2.043 1.112zm7.458.674c1.09 0 1.874-.404 2.248-.741l-.34-.607c-.307.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.133 0-1.652.749-3.067 2.35-3.067.817 0 1.362.303 1.77.64l.409-.572c-.408-.337-1.09-.742-2.179-.742-1.874 0-3.202 1.483-3.202 3.774.034 1.955 1.09 3.808 3.167 3.808zm7.936-.168h.987l-3.405-4.044 3.235-3.168h-.987l-3.202 3.168 3.372 4.044zm-4.223 0h.783V31.28h-.783v10.885zm13.589.168c1.328 0 2.384-.438 2.997-1.01l-.409-.607c-.613.539-1.464.876-2.554.876-2.589 0-4.053-2.157-4.053-4.55 0-2.358 1.464-4.481 4.019-4.481.953 0 1.702.27 2.316.674l.442-.64c-.715-.472-1.566-.742-2.724-.742-3.065 0-4.905 2.46-4.905 5.19 0 2.83 1.805 5.29 4.871 5.29zm6.709 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783V31.28h-.783v10.885zm5.245.168c.681 0 1.192-.27 1.396-.438l-.307-.607c-.136.102-.579.337-1.021.337-.647 0-.886-.404-.886-1.145v-4.92h1.873v-.64h-1.873v-2.056h-.783v2.056h-1.226v.64h1.226v4.953c0 1.18.511 1.82 1.601 1.82zm5.006 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783v-5.021c.204-.438.851-1.618 1.873-1.618.307 0 .477.068.613.101l.205-.741c-.137-.034-.375-.135-.716-.135-1.021 0-1.669.91-1.941 1.415V34.92h-.783v7.245h-.034zm7.356.168c1.192 0 2.009-.404 2.486-.741l-.34-.607a3.708 3.708 0 01-2.112.674c-1.737 0-2.452-1.516-2.452-3.167v-.169h5.04v-.404c0-1.854-1.021-3.134-2.758-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.055 1.021 3.841 3.269 3.841zm-2.384-4.65c.204-1.247.954-2.224 2.214-2.224 1.396 0 1.975 1.112 1.975 2.224H155.1zM72.1 26.53h.783v-6.572h1.907v-.64h-1.907v-1.146c0-1.314.545-1.988 1.67-1.988.442 0 .748.101.919.202l.204-.707c-.204-.102-.579-.203-1.124-.203-1.6 0-2.452.977-2.452 2.629v1.213h-1.26v.64h1.26v6.571zm6.777.168c2.282 0 3.338-1.989 3.338-3.808 0-1.786-1.056-3.74-3.338-3.74-2.281 0-3.27 1.954-3.27 3.774s.989 3.774 3.27 3.774zm.035-.674c-1.67 0-2.453-1.483-2.453-3.134 0-1.618.75-3.067 2.418-3.067 1.67 0 2.555 1.483 2.555 3.1-.034 1.652-.852 3.1-2.52 3.1zm4.836.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.022 0-1.668.876-1.941 1.415v-1.247h-.783v7.245h-.034zm8.446 0h.851v-4.886h.273c.613 0 .783.101 1.805 1.483l2.486 3.403h1.022l-2.827-3.808c-.579-.741-.783-1.01-.988-1.112h.136c1.772-.067 2.998-.91 2.998-2.56 0-1.686-1.26-2.596-3.304-2.596h-2.418V26.53h-.034zm.817-5.56v-3.808h1.465c1.668 0 2.554.64 2.554 1.887 0 1.247-.851 1.921-2.486 1.921H93.01zm9.604 5.729c1.192 0 2.01-.405 2.487-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.269 3.842zm-2.384-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.975 2.224h-4.189zm8.447 4.683c1.498 0 2.452-.775 2.452-2.022 0-1.179-1.022-1.684-2.146-2.19-.851-.37-1.566-.674-1.566-1.516 0-.708.476-1.18 1.362-1.18a2.71 2.71 0 011.669.573l.408-.573c-.34-.27-1.055-.674-2.077-.674-1.362 0-2.146.81-2.146 1.887 0 1.18.92 1.685 2.01 2.157.987.438 1.668.775 1.668 1.584 0 .775-.647 1.247-1.634 1.247-.784 0-1.533-.337-1.873-.607l-.341.607c.443.337 1.26.707 2.214.707zm7.016-.033c1.192 0 2.009-.405 2.486-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.27 3.842zm-2.385-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.976 2.224h-4.19zm8.379 4.65a2.87 2.87 0 002.213-1.079c0 .27.068.674.103.91h.783c-.102-.303-.136-.842-.136-1.449v-3.64c0-1.55-.852-2.29-2.35-2.29-.954 0-1.737.303-2.384.91l.442.538c.613-.572 1.192-.775 1.908-.775 1.089 0 1.6.54 1.6 1.719v.809h-.34c-1.703 0-3.849.539-3.849 2.46-.034 1.145.784 1.887 2.01 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.031-1.82h.34v1.92c-.545.708-1.226 1.113-2.043 1.113zm5.313.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.021 0-1.668.876-1.941 1.415v-1.247h-.817v7.245zm7.186.169c1.09 0 1.873-.405 2.248-.742l-.341-.606c-.306.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.134 0-1.651.749-3.066 2.35-3.066.817 0 1.362.303 1.771.64l.409-.573c-.409-.337-1.09-.741-2.18-.741-1.873 0-3.201 1.482-3.201 3.774.034 1.954 1.055 3.808 3.167 3.808zm3.985-.169h.783v-5.257c.272-.404 1.158-1.415 2.248-1.415 1.09 0 1.498.674 1.498 1.719v4.953h.784v-5.122c0-1.314-.613-2.258-2.112-2.258-1.226 0-2.078.81-2.418 1.315v-4.82h-.783V26.53zM74.452 48.769v-.809h-3.576v.809h1.294v3.808h.988v-3.808h1.294zm3.44 3.808v-2.36c0-.606-.273-1.078-1.022-1.078a1.36 1.36 0 00-1.056.506v-2.022h-.92v4.987h.92v-2.325c.068-.1.34-.438.716-.438.34 0 .442.169.442.506v2.19h.92v.034zm1.532-1.483h2.18c.102-1.247-.409-1.988-1.464-1.988-.954 0-1.703.674-1.703 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.817-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm8.48 2.123V47.96h-.885v2.426c0 .37.034.708.034.742 0 0-.204-.371-.477-.775l-1.668-2.393h-1.056v4.617h.885v-2.629c0-.303-.034-.606-.034-.606s.17.337.443.707l1.805 2.561h.954v-.033zm1.567-1.483h2.18c.102-1.247-.409-1.988-1.465-1.988-.953 0-1.702.674-1.702 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.818-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm7.425-1.247h-.92l-.545 2.157-.579-2.157h-.851l-.579 2.157-.51-2.157h-.989l.954 3.37h.852l.715-2.258.715 2.258h.851l.886-3.37zm5.551-1.247h-.953l-.988 1.954-.988-1.954h-1.09l1.533 2.864v1.753h.988v-1.753l1.498-2.864zm3.031 2.898c0-.876-.545-1.752-1.737-1.752-1.192 0-1.702.91-1.702 1.786s.51 1.752 1.702 1.752c1.226 0 1.737-.944 1.737-1.786zm-.987.034c0 .64-.205 1.044-.716 1.044-.51 0-.749-.471-.749-1.078 0-.606.17-1.078.715-1.078.511 0 .75.471.75 1.112zm3.78-1.685a.974.974 0 00-.477-.101c-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.328 1.718l1.09 1.652h1.09l-1.294-1.854 1.26-1.516h-1.022l-1.124 1.348v-2.966h-.919v4.988h.919v-1.652zm7.561-1.516c0-.977-.783-1.449-1.771-1.449h-1.533v4.617h.988v-1.652h.443c1.158 0 1.873-.505 1.873-1.516zm-.988 0c0 .505-.272.775-.885.775h-.443v-1.483h.477c.613 0 .851.27.851.708zm1.465-.202v2.359c0 .606.272 1.078 1.022 1.078.579 0 .919-.303 1.089-.54 0 .136.034.371.069.439h.919c-.034-.202-.102-.54-.102-.977v-2.393h-.92v2.258c-.068.067-.34.438-.715.438-.34 0-.443-.169-.443-.505v-2.19h-.919v.033zm3.78-1.618v4.785c.17.068.613.27 1.397.27 1.021 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.465-1.752-.374 0-.681.202-.817.337v-1.854h-.92zm.954 2.494c.068-.067.272-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.307 1.079-.817 1.079-.273 0-.409-.068-.477-.068v-1.752zm3.814-2.494h-.919v4.988h.919v-4.988zm1.873 1.618h-.953v3.37h.953v-3.37zm.103-1.011c0-.303-.239-.54-.579-.54-.341 0-.579.237-.579.54 0 .303.238.54.579.54.34.033.579-.237.579-.54zm3.439 4.145l-.272-.607c-.102.068-.341.202-.749.202-.579 0-.852-.471-.852-1.078 0-.606.273-1.045.818-1.045.34 0 .545.101.715.203l.306-.64c-.17-.102-.476-.27-1.055-.27-1.022 0-1.805.64-1.805 1.786 0 1.044.681 1.752 1.77 1.752.648 0 .954-.202 1.124-.303zm4.905.236v-.775h-1.737v-3.808h-.988v4.616h2.725v-.033zm1.498-3.37h-.953v3.37h.953v-3.37zm.102-1.011c0-.303-.238-.54-.579-.54-.34 0-.579.237-.579.54 0 .303.239.54.579.54.341.033.579-.237.579-.54zm.784-.607v4.785c.17.068.613.27 1.396.27 1.022 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.464-1.752-.375 0-.682.202-.818.337v-1.854h-.919zm.953 2.494c.068-.067.273-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.306 1.079-.817 1.079-.272 0-.409-.068-.477-.068v-1.752zm5.075-.876c-.068-.034-.204-.101-.477-.101-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .306.034.34.068l.239-.775zm3.133 3.37c-.034-.203-.102-.54-.102-1.011v-1.213c0-.91-.443-1.247-1.362-1.247-.716 0-1.192.303-1.397.471l.409.573c.136-.1.443-.303.885-.303.443 0 .545.169.545.472v.202h-.136c-.919 0-1.805.303-1.805 1.213 0 .607.443.944 1.022.944.477 0 .817-.27.953-.438 0 .1.035.27.069.37h.919v-.033zm-1.022-.91c-.102.1-.306.303-.613.303-.204 0-.408-.101-.408-.337 0-.404.374-.54.919-.54h.136v.574h-.034zm3.951-2.46c-.068-.034-.204-.101-.477-.101-.442 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.396 3.302l-.136.337c-.136.37-.306.607-.783.607-.204 0-.273-.034-.341-.034l-.136.741c.068.034.238.068.511.068.919 0 1.294-.472 1.601-1.247l1.396-3.74h-.954l-.681 2.224h-.034l-.749-2.225h-.988l1.294 3.27zM55.275 46.374l3.541 3.539 1.84-1.82-3.576-3.505 2.928-2.898-1.839-1.785-8.31 8.222 8.378 8.256 1.84-1.786-6.573-6.47 1.77-1.753zM.613 41.693l6.54 6.436-1.772 1.718-3.542-3.504L0 48.129l3.576 3.538-2.997 2.965 1.84 1.786 8.343-8.29-8.344-8.255-1.805 1.82zM16.075 56.992L30.31 71.077l14.27-14.12 1.805-1.785L30.345 39.3l-1.805 1.786 14.202 14.086-12.431 12.3-14.202-14.086h-.034L4.802 64.54l1.839 1.82 9.434-9.368z"
|
|
7422
|
-
})), _path2$
|
|
7542
|
+
})), _path2$j || (_path2$j = /*#__PURE__*/createElement("path", {
|
|
7423
7543
|
d: "M30.31 74.513L16.072 60.427l-8.14 8.088L9.74 70.3l6.334-6.268 1.737 1.718-5.892 5.83 1.805 1.786 5.892-5.83 1.737 1.719-4.836 4.785 1.84 1.82 4.835-4.785 1.737 1.718-2.997 2.966 1.84 1.786 2.962-2.966 3.576 3.538 3.576-3.504 2.963 2.965 1.84-1.82-2.998-2.965 1.771-1.718 4.837 4.785 1.805-1.82-4.837-4.785 1.737-1.719 5.892 5.83 1.84-1.786-5.892-5.83 1.702-1.718L50.88 70.3l1.84-1.82-6.336-6.268 1.737-1.718 5.892 5.83 1.805-1.82-6.845-6.774-.852-.842L30.31 74.513zM48.136 49.83l-1.83 1.81L56.42 61.649l1.83-1.81L48.136 49.83z"
|
|
7424
7544
|
})), _path3$e || (_path3$e = /*#__PURE__*/createElement("path", {
|
|
7425
7545
|
d: "M28.709 62.417l1.6 1.617 8.958-8.862-1.805-1.786-12.431-12.3 5.313-5.223 14.202 14.052h.034l13.725-13.58-1.805-1.82L44.58 46.31 30.344 32.224l-8.957 8.862 14.236 14.086-5.313 5.257-12.397-12.3-1.84-1.786L2.315 59.957l1.84 1.786 11.92-11.794 12.635 12.468zM4.18 34.547l-1.83 1.811 10.186 10.08 1.83-1.811L4.18 34.547z"
|
|
@@ -7430,7 +7550,7 @@ function SvgLogoSchomburgBlack(_ref) {
|
|
|
7430
7550
|
})));
|
|
7431
7551
|
}
|
|
7432
7552
|
|
|
7433
|
-
var _path$H, _path2$
|
|
7553
|
+
var _path$H, _path2$k, _path3$f, _path4$6, _path5$5;
|
|
7434
7554
|
|
|
7435
7555
|
var _excluded$T = ["title", "titleId"];
|
|
7436
7556
|
|
|
@@ -7453,7 +7573,7 @@ function SvgLogoSchomburgCircleBlack(_ref) {
|
|
|
7453
7573
|
id: titleId
|
|
7454
7574
|
}, title) : null, _path$H || (_path$H = /*#__PURE__*/createElement("path", {
|
|
7455
7575
|
d: "M60.907 31.366l3.903 3.89 2.026-2-3.94-3.854 3.227-3.187-2.026-1.964-9.157 9.042 9.232 9.079 2.026-1.964-7.242-7.115 1.951-1.927zM.675 26.216l7.206 7.078-1.952 1.89-3.903-3.854L0 33.294l3.94 3.89-3.302 3.262 2.026 1.964 9.194-9.116-9.194-9.08-1.989 2.002zM17.714 43.04l15.687 15.49 15.723-15.527 1.99-1.964-17.676-17.454-1.989 1.964 15.649 15.49-13.697 13.526-15.65-15.49h-.037L5.293 51.34l2.026 2.001L17.714 43.04z"
|
|
7456
|
-
})), _path2$
|
|
7576
|
+
})), _path2$k || (_path2$k = /*#__PURE__*/createElement("path", {
|
|
7457
7577
|
d: "M33.397 62.312l-15.686-15.49-8.969 8.893 1.99 1.964 6.98-6.892 1.913 1.89-6.492 6.41 1.989 1.965 6.492-6.411 1.914 1.89-5.329 5.262 2.026 2.001 5.33-5.262 1.913 1.89-3.302 3.26 2.026 1.965 3.265-3.261 3.94 3.89 3.94-3.853 3.266 3.26 2.026-2-3.302-3.261 1.951-1.89 5.329 5.262 1.989-2.001-5.329-5.262 1.914-1.89 6.492 6.41 2.026-1.963-6.492-6.411 1.877-1.89 6.98 6.892 2.026-2-6.98-6.893 1.914-1.89 6.492 6.41 1.99-2-7.544-7.45-.938-.926-19.627 19.382zM53.041 35.163l-2.017 1.991L62.17 48.16l2.017-1.992L53.04 35.163z"
|
|
7458
7578
|
})), _path3$f || (_path3$f = /*#__PURE__*/createElement("path", {
|
|
7459
7579
|
d: "M31.635 49.008l1.764 1.779 9.87-9.746-1.99-1.964L27.582 25.55l5.854-5.744 15.65 15.454h.037l15.123-14.935-1.989-2-13.134 12.97-15.687-15.49-9.87 9.745 15.687 15.49-5.854 5.782-13.66-13.527-2.026-1.964L2.552 46.303l2.026 1.964 13.135-12.97 13.922 13.711zM4.603 18.36l-2.017 1.992L13.81 31.436l2.017-1.991L4.603 18.36z"
|
|
@@ -7464,7 +7584,7 @@ function SvgLogoSchomburgCircleBlack(_ref) {
|
|
|
7464
7584
|
})));
|
|
7465
7585
|
}
|
|
7466
7586
|
|
|
7467
|
-
var _path$I, _path2$
|
|
7587
|
+
var _path$I, _path2$l, _path3$g, _path4$7, _path5$6;
|
|
7468
7588
|
|
|
7469
7589
|
var _excluded$U = ["title", "titleId"];
|
|
7470
7590
|
|
|
@@ -7489,7 +7609,7 @@ function SvgLogoSchomburgCircleColor(_ref) {
|
|
|
7489
7609
|
}, title) : null, _path$I || (_path$I = /*#__PURE__*/createElement("path", {
|
|
7490
7610
|
d: "M60.907 31.366l3.903 3.89 2.026-2-3.94-3.854 3.227-3.187-2.026-1.964-9.157 9.042 9.232 9.079 2.026-1.964-7.242-7.115 1.951-1.927zM.675 26.216l7.206 7.078-1.952 1.89-3.903-3.854L0 33.294l3.94 3.89-3.302 3.262 2.026 1.964 9.194-9.116-9.194-9.08-1.989 2.002zM17.714 43.04l15.687 15.49 15.723-15.527 1.99-1.964-17.676-17.454-1.989 1.964 15.649 15.49-13.697 13.526-15.65-15.49h-.037L5.293 51.34l2.026 2.001L17.714 43.04z",
|
|
7491
7611
|
fill: "#C54B38"
|
|
7492
|
-
})), _path2$
|
|
7612
|
+
})), _path2$l || (_path2$l = /*#__PURE__*/createElement("path", {
|
|
7493
7613
|
d: "M33.397 62.312l-15.686-15.49-8.969 8.893 1.99 1.964 6.98-6.892 1.913 1.89-6.492 6.41 1.989 1.965 6.492-6.411 1.914 1.89-5.329 5.262 2.026 2.001 5.33-5.262 1.913 1.89-3.302 3.26 2.026 1.965 3.265-3.261 3.94 3.89 3.94-3.853 3.266 3.26 2.026-2-3.302-3.261 1.951-1.89 5.329 5.262 1.989-2.001-5.329-5.262 1.914-1.89 6.492 6.41 2.026-1.963-6.492-6.411 1.877-1.89 6.98 6.892 2.026-2-6.98-6.893 1.914-1.89 6.492 6.41 1.99-2-7.544-7.45-.938-.926-19.627 19.382zM53.041 35.163l-2.017 1.991L62.17 48.16l2.017-1.992L53.04 35.163z",
|
|
7494
7614
|
fill: "#C54B38"
|
|
7495
7615
|
})), _path3$g || (_path3$g = /*#__PURE__*/createElement("path", {
|
|
@@ -7504,7 +7624,7 @@ function SvgLogoSchomburgCircleColor(_ref) {
|
|
|
7504
7624
|
})));
|
|
7505
7625
|
}
|
|
7506
7626
|
|
|
7507
|
-
var _path$J, _path2$
|
|
7627
|
+
var _path$J, _path2$m, _path3$h, _path4$8, _path5$7;
|
|
7508
7628
|
|
|
7509
7629
|
var _excluded$V = ["title", "titleId"];
|
|
7510
7630
|
|
|
@@ -7528,7 +7648,7 @@ function SvgLogoSchomburgCircleWhite(_ref) {
|
|
|
7528
7648
|
id: titleId
|
|
7529
7649
|
}, title) : null, _path$J || (_path$J = /*#__PURE__*/createElement("path", {
|
|
7530
7650
|
d: "M60.907 31.366l3.903 3.89 2.026-2-3.94-3.854 3.227-3.187-2.026-1.964-9.157 9.042 9.232 9.079 2.026-1.964-7.242-7.115 1.951-1.927zM.675 26.216l7.206 7.078-1.952 1.89-3.903-3.854L0 33.294l3.94 3.89-3.302 3.262 2.026 1.964 9.194-9.116-9.194-9.08-1.989 2.002zM17.714 43.04l15.687 15.49 15.723-15.527 1.99-1.964-17.676-17.454-1.989 1.964 15.649 15.49-13.697 13.526-15.65-15.49h-.037L5.293 51.34l2.026 2.001L17.714 43.04z"
|
|
7531
|
-
})), _path2$
|
|
7651
|
+
})), _path2$m || (_path2$m = /*#__PURE__*/createElement("path", {
|
|
7532
7652
|
d: "M33.397 62.312l-15.686-15.49-8.969 8.893 1.99 1.964 6.98-6.892 1.913 1.89-6.492 6.41 1.989 1.965 6.492-6.411 1.914 1.89-5.329 5.262 2.026 2.001 5.33-5.262 1.913 1.89-3.302 3.26 2.026 1.965 3.265-3.261 3.94 3.89 3.94-3.853 3.266 3.26 2.026-2-3.302-3.261 1.951-1.89 5.329 5.262 1.989-2.001-5.329-5.262 1.914-1.89 6.492 6.41 2.026-1.963-6.492-6.411 1.877-1.89 6.98 6.892 2.026-2-6.98-6.893 1.914-1.89 6.492 6.41 1.99-2-7.544-7.45-.938-.926-19.627 19.382zM53.041 35.163l-2.017 1.991L62.17 48.16l2.017-1.992L53.04 35.163z"
|
|
7533
7653
|
})), _path3$h || (_path3$h = /*#__PURE__*/createElement("path", {
|
|
7534
7654
|
d: "M31.635 49.008l1.764 1.779 9.87-9.746-1.99-1.964L27.582 25.55l5.854-5.744 15.65 15.454h.037l15.123-14.935-1.989-2-13.134 12.97-15.687-15.49-9.87 9.745 15.687 15.49-5.854 5.782-13.66-13.527-2.026-1.964L2.552 46.303l2.026 1.964 13.135-12.97 13.922 13.711zM4.603 18.36l-2.017 1.992L13.81 31.436l2.017-1.991L4.603 18.36z"
|
|
@@ -7539,7 +7659,7 @@ function SvgLogoSchomburgCircleWhite(_ref) {
|
|
|
7539
7659
|
})));
|
|
7540
7660
|
}
|
|
7541
7661
|
|
|
7542
|
-
var _path$K, _path2$
|
|
7662
|
+
var _path$K, _path2$n, _path3$i, _path4$9, _path5$8, _path6$2, _path7$2;
|
|
7543
7663
|
|
|
7544
7664
|
var _excluded$W = ["title", "titleId"];
|
|
7545
7665
|
|
|
@@ -7564,7 +7684,7 @@ function SvgLogoSchomburgColor(_ref) {
|
|
|
7564
7684
|
}, title) : null, _path$K || (_path$K = /*#__PURE__*/createElement("path", {
|
|
7565
7685
|
d: "M72.306 33.437a.607.607 0 100-1.213c-.306 0-.613.27-.613.606.034.337.307.607.613.607zm-.374 8.728h.817v-7.212h-.817v7.212zm2.758 0h.784v-5.257c.442-.674 1.328-1.416 2.248-1.416 1.09 0 1.498.674 1.498 1.72v4.953h.783v-5.122c0-1.315-.613-2.258-2.111-2.258-1.022 0-1.873.606-2.418 1.314v-1.146h-.784v7.212zm9.707 0h2.316c2.316 0 3.78-.81 3.78-2.797 0-1.45-1.056-2.292-2.316-2.528v-.033c1.124-.27 1.873-1.045 1.873-2.224 0-1.786-1.294-2.494-3.303-2.494H84.43v10.076h-.034zm.817-.708v-4.246h1.533c1.975 0 2.895.809 2.895 2.19 0 1.45-.954 2.09-2.93 2.09h-1.498v-.034zm0-4.954v-3.706h1.43c1.703 0 2.555.539 2.555 1.82 0 1.246-.817 1.886-2.554 1.886h-1.43zm6.948 5.662h.783V31.28h-.783v10.885zm4.632.168a2.87 2.87 0 002.213-1.078c0 .27.069.674.103.91h.783c-.102-.304-.17-.843-.17-1.45v-3.639c0-1.55-.852-2.291-2.35-2.291-.954 0-1.737.303-2.384.91l.442.539c.613-.573 1.192-.775 1.908-.775 1.09 0 1.6.539 1.6 1.718v.81h-.34c-1.703 0-3.849.538-3.849 2.459 0 1.146.818 1.887 2.044 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.03-1.82h.341v1.921c-.51.708-1.226 1.112-2.043 1.112zm7.458.674c1.09 0 1.874-.404 2.248-.741l-.34-.607c-.307.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.133 0-1.652.749-3.067 2.35-3.067.817 0 1.362.303 1.77.64l.409-.572c-.408-.337-1.09-.742-2.179-.742-1.874 0-3.202 1.483-3.202 3.774.034 1.955 1.09 3.808 3.167 3.808zm7.936-.168h.987l-3.405-4.044 3.235-3.168h-.987l-3.202 3.168 3.372 4.044zm-4.223 0h.783V31.28h-.783v10.885zm13.589.168c1.328 0 2.384-.438 2.997-1.01l-.409-.607c-.613.539-1.464.876-2.554.876-2.589 0-4.053-2.157-4.053-4.55 0-2.358 1.464-4.481 4.019-4.481.953 0 1.702.27 2.316.674l.442-.64c-.715-.472-1.566-.742-2.724-.742-3.065 0-4.905 2.46-4.905 5.19 0 2.83 1.805 5.29 4.871 5.29zm6.709 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783V31.28h-.783v10.885zm5.245.168c.681 0 1.192-.27 1.396-.438l-.307-.607c-.136.102-.579.337-1.021.337-.647 0-.886-.404-.886-1.145v-4.92h1.873v-.64h-1.873v-2.056h-.783v2.056h-1.226v.64h1.226v4.953c0 1.18.511 1.82 1.601 1.82zm5.006 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783v-5.021c.204-.438.851-1.618 1.873-1.618.307 0 .477.068.613.101l.205-.741c-.137-.034-.375-.135-.716-.135-1.021 0-1.669.91-1.941 1.415V34.92h-.783v7.245h-.034zm7.356.168c1.192 0 2.009-.404 2.486-.741l-.34-.607a3.708 3.708 0 01-2.112.674c-1.737 0-2.452-1.516-2.452-3.167v-.169h5.04v-.404c0-1.854-1.021-3.134-2.758-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.055 1.021 3.841 3.269 3.841zm-2.384-4.65c.204-1.247.954-2.224 2.214-2.224 1.396 0 1.975 1.112 1.975 2.224H155.1zM72.1 26.53h.783v-6.572h1.907v-.64h-1.907v-1.146c0-1.314.545-1.988 1.67-1.988.442 0 .748.101.919.202l.204-.707c-.204-.102-.579-.203-1.124-.203-1.6 0-2.452.977-2.452 2.629v1.213h-1.26v.64h1.26v6.571zm6.777.168c2.282 0 3.338-1.989 3.338-3.808 0-1.786-1.056-3.74-3.338-3.74-2.281 0-3.27 1.954-3.27 3.774s.989 3.774 3.27 3.774zm.035-.674c-1.67 0-2.453-1.483-2.453-3.134 0-1.618.75-3.067 2.418-3.067 1.67 0 2.555 1.483 2.555 3.1-.034 1.652-.852 3.1-2.52 3.1zm4.836.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.022 0-1.668.876-1.941 1.415v-1.247h-.783v7.245h-.034zm8.446 0h.851v-4.886h.273c.613 0 .783.101 1.805 1.483l2.486 3.403h1.022l-2.827-3.808c-.579-.741-.783-1.01-.988-1.112h.136c1.772-.067 2.998-.91 2.998-2.56 0-1.686-1.26-2.596-3.304-2.596h-2.418V26.53h-.034zm.817-5.56v-3.808h1.465c1.668 0 2.554.64 2.554 1.887 0 1.247-.851 1.921-2.486 1.921H93.01zm9.604 5.729c1.192 0 2.01-.405 2.487-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.269 3.842zm-2.384-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.975 2.224h-4.189zm8.447 4.683c1.498 0 2.452-.775 2.452-2.022 0-1.179-1.022-1.684-2.146-2.19-.851-.37-1.566-.674-1.566-1.516 0-.708.476-1.18 1.362-1.18a2.71 2.71 0 011.669.573l.408-.573c-.34-.27-1.055-.674-2.077-.674-1.362 0-2.146.81-2.146 1.887 0 1.18.92 1.685 2.01 2.157.987.438 1.668.775 1.668 1.584 0 .775-.647 1.247-1.634 1.247-.784 0-1.533-.337-1.873-.607l-.341.607c.443.337 1.26.707 2.214.707zm7.016-.033c1.192 0 2.009-.405 2.486-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.27 3.842zm-2.385-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.976 2.224h-4.19zm8.379 4.65a2.87 2.87 0 002.213-1.079c0 .27.068.674.103.91h.783c-.102-.303-.136-.842-.136-1.449v-3.64c0-1.55-.852-2.29-2.35-2.29-.954 0-1.737.303-2.384.91l.442.538c.613-.572 1.192-.775 1.908-.775 1.089 0 1.6.54 1.6 1.719v.809h-.34c-1.703 0-3.849.539-3.849 2.46-.034 1.145.784 1.887 2.01 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.031-1.82h.34v1.92c-.545.708-1.226 1.113-2.043 1.113zm5.313.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.021 0-1.668.876-1.941 1.415v-1.247h-.817v7.245zm7.186.169c1.09 0 1.873-.405 2.248-.742l-.341-.606c-.306.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.134 0-1.651.749-3.066 2.35-3.066.817 0 1.362.303 1.771.64l.409-.573c-.409-.337-1.09-.741-2.18-.741-1.873 0-3.201 1.482-3.201 3.774.034 1.954 1.055 3.808 3.167 3.808zm3.985-.169h.783v-5.257c.272-.404 1.158-1.415 2.248-1.415 1.09 0 1.498.674 1.498 1.719v4.953h.784v-5.122c0-1.314-.613-2.258-2.112-2.258-1.226 0-2.078.81-2.418 1.315v-4.82h-.783V26.53zM74.452 48.769v-.809h-3.576v.809h1.294v3.808h.988v-3.808h1.294zm3.44 3.808v-2.36c0-.606-.273-1.078-1.022-1.078a1.36 1.36 0 00-1.056.506v-2.022h-.92v4.987h.92v-2.325c.068-.1.34-.438.716-.438.34 0 .442.169.442.506v2.19h.92v.034zm1.532-1.483h2.18c.102-1.247-.409-1.988-1.464-1.988-.954 0-1.703.674-1.703 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.817-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm8.48 2.123V47.96h-.885v2.426c0 .37.034.708.034.742 0 0-.204-.371-.477-.775l-1.668-2.393h-1.056v4.617h.885v-2.629c0-.303-.034-.606-.034-.606s.17.337.443.707l1.805 2.561h.954v-.033zm1.567-1.483h2.18c.102-1.247-.409-1.988-1.465-1.988-.953 0-1.702.674-1.702 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.818-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm7.425-1.247h-.92l-.545 2.157-.579-2.157h-.851l-.579 2.157-.51-2.157h-.989l.954 3.37h.852l.715-2.258.715 2.258h.851l.886-3.37zm5.551-1.247h-.953l-.988 1.954-.988-1.954h-1.09l1.533 2.864v1.753h.988v-1.753l1.498-2.864zm3.031 2.898c0-.876-.545-1.752-1.737-1.752-1.192 0-1.702.91-1.702 1.786s.51 1.752 1.702 1.752c1.226 0 1.737-.944 1.737-1.786zm-.987.034c0 .64-.205 1.044-.716 1.044-.51 0-.749-.471-.749-1.078 0-.606.17-1.078.715-1.078.511 0 .75.471.75 1.112zm3.78-1.685a.974.974 0 00-.477-.101c-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.328 1.718l1.09 1.652h1.09l-1.294-1.854 1.26-1.516h-1.022l-1.124 1.348v-2.966h-.919v4.988h.919v-1.652zm7.561-1.516c0-.977-.783-1.449-1.771-1.449h-1.533v4.617h.988v-1.652h.443c1.158 0 1.873-.505 1.873-1.516zm-.988 0c0 .505-.272.775-.885.775h-.443v-1.483h.477c.613 0 .851.27.851.708zm1.465-.202v2.359c0 .606.272 1.078 1.022 1.078.579 0 .919-.303 1.089-.54 0 .136.034.371.069.439h.919c-.034-.202-.102-.54-.102-.977v-2.393h-.92v2.258c-.068.067-.34.438-.715.438-.34 0-.443-.169-.443-.505v-2.19h-.919v.033zm3.78-1.618v4.785c.17.068.613.27 1.397.27 1.021 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.465-1.752-.374 0-.681.202-.817.337v-1.854h-.92zm.954 2.494c.068-.067.272-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.307 1.079-.817 1.079-.273 0-.409-.068-.477-.068v-1.752zm3.814-2.494h-.919v4.988h.919v-4.988zm1.873 1.618h-.953v3.37h.953v-3.37zm.103-1.011c0-.303-.239-.54-.579-.54-.341 0-.579.237-.579.54 0 .303.238.54.579.54.34.033.579-.237.579-.54zm3.439 4.145l-.272-.607c-.102.068-.341.202-.749.202-.579 0-.852-.471-.852-1.078 0-.606.273-1.045.818-1.045.34 0 .545.101.715.203l.306-.64c-.17-.102-.476-.27-1.055-.27-1.022 0-1.805.64-1.805 1.786 0 1.044.681 1.752 1.77 1.752.648 0 .954-.202 1.124-.303zm4.905.236v-.775h-1.737v-3.808h-.988v4.616h2.725v-.033zm1.498-3.37h-.953v3.37h.953v-3.37zm.102-1.011c0-.303-.238-.54-.579-.54-.34 0-.579.237-.579.54 0 .303.239.54.579.54.341.033.579-.237.579-.54zm.784-.607v4.785c.17.068.613.27 1.396.27 1.022 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.464-1.752-.375 0-.682.202-.818.337v-1.854h-.919zm.953 2.494c.068-.067.273-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.306 1.079-.817 1.079-.272 0-.409-.068-.477-.068v-1.752zm5.075-.876c-.068-.034-.204-.101-.477-.101-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .306.034.34.068l.239-.775zm3.133 3.37c-.034-.203-.102-.54-.102-1.011v-1.213c0-.91-.443-1.247-1.362-1.247-.716 0-1.192.303-1.397.471l.409.573c.136-.1.443-.303.885-.303.443 0 .545.169.545.472v.202h-.136c-.919 0-1.805.303-1.805 1.213 0 .607.443.944 1.022.944.477 0 .817-.27.953-.438 0 .1.035.27.069.37h.919v-.033zm-1.022-.91c-.102.1-.306.303-.613.303-.204 0-.408-.101-.408-.337 0-.404.374-.54.919-.54h.136v.574h-.034zm3.951-2.46c-.068-.034-.204-.101-.477-.101-.442 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.396 3.302l-.136.337c-.136.37-.306.607-.783.607-.204 0-.273-.034-.341-.034l-.136.741c.068.034.238.068.511.068.919 0 1.294-.472 1.601-1.247l1.396-3.74h-.954l-.681 2.224h-.034l-.749-2.225h-.988l1.294 3.27z",
|
|
7566
7686
|
fill: "#010101"
|
|
7567
|
-
})), _path2$
|
|
7687
|
+
})), _path2$n || (_path2$n = /*#__PURE__*/createElement("path", {
|
|
7568
7688
|
d: "M55.275 46.374l3.541 3.539 1.84-1.82-3.576-3.505 2.928-2.898-1.839-1.785-8.31 8.222 8.378 8.256 1.84-1.786-6.573-6.47 1.77-1.753zM.613 41.693l6.54 6.436-1.772 1.718-3.542-3.504L0 48.129l3.576 3.538-2.997 2.965 1.84 1.786 8.343-8.29-8.344-8.255-1.805 1.82zM16.075 56.992L30.31 71.077l14.27-14.12 1.805-1.785L30.345 39.3l-1.805 1.786 14.202 14.086-12.431 12.3-14.202-14.086h-.034L4.802 64.54l1.839 1.82 9.434-9.368z",
|
|
7569
7689
|
fill: "#C54B38"
|
|
7570
7690
|
})), _path3$i || (_path3$i = /*#__PURE__*/createElement("path", {
|
|
@@ -7585,7 +7705,7 @@ function SvgLogoSchomburgColor(_ref) {
|
|
|
7585
7705
|
})));
|
|
7586
7706
|
}
|
|
7587
7707
|
|
|
7588
|
-
var _path$L, _path2$
|
|
7708
|
+
var _path$L, _path2$o, _path3$j, _path4$a, _path5$9;
|
|
7589
7709
|
|
|
7590
7710
|
var _excluded$X = ["title", "titleId"];
|
|
7591
7711
|
|
|
@@ -7609,7 +7729,7 @@ function SvgLogoSchomburgWhite(_ref) {
|
|
|
7609
7729
|
id: titleId
|
|
7610
7730
|
}, title) : null, _path$L || (_path$L = /*#__PURE__*/createElement("path", {
|
|
7611
7731
|
d: "M72.306 33.437a.607.607 0 100-1.213c-.306 0-.613.27-.613.606.034.337.307.607.613.607zm-.374 8.728h.817v-7.212h-.817v7.212zm2.758 0h.784v-5.257c.442-.674 1.328-1.416 2.248-1.416 1.09 0 1.498.674 1.498 1.72v4.953h.783v-5.122c0-1.315-.613-2.258-2.111-2.258-1.022 0-1.873.606-2.418 1.314v-1.146h-.784v7.212zm9.707 0h2.316c2.316 0 3.78-.81 3.78-2.797 0-1.45-1.056-2.292-2.316-2.528v-.033c1.124-.27 1.873-1.045 1.873-2.224 0-1.786-1.294-2.494-3.303-2.494H84.43v10.076h-.034zm.817-.708v-4.246h1.533c1.975 0 2.895.809 2.895 2.19 0 1.45-.954 2.09-2.93 2.09h-1.498v-.034zm0-4.954v-3.706h1.43c1.703 0 2.555.539 2.555 1.82 0 1.246-.817 1.886-2.554 1.886h-1.43zm6.948 5.662h.783V31.28h-.783v10.885zm4.632.168a2.87 2.87 0 002.213-1.078c0 .27.069.674.103.91h.783c-.102-.304-.17-.843-.17-1.45v-3.639c0-1.55-.852-2.291-2.35-2.291-.954 0-1.737.303-2.384.91l.442.539c.613-.573 1.192-.775 1.908-.775 1.09 0 1.6.539 1.6 1.718v.81h-.34c-1.703 0-3.849.538-3.849 2.459 0 1.146.818 1.887 2.044 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.03-1.82h.341v1.921c-.51.708-1.226 1.112-2.043 1.112zm7.458.674c1.09 0 1.874-.404 2.248-.741l-.34-.607c-.307.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.133 0-1.652.749-3.067 2.35-3.067.817 0 1.362.303 1.77.64l.409-.572c-.408-.337-1.09-.742-2.179-.742-1.874 0-3.202 1.483-3.202 3.774.034 1.955 1.09 3.808 3.167 3.808zm7.936-.168h.987l-3.405-4.044 3.235-3.168h-.987l-3.202 3.168 3.372 4.044zm-4.223 0h.783V31.28h-.783v10.885zm13.589.168c1.328 0 2.384-.438 2.997-1.01l-.409-.607c-.613.539-1.464.876-2.554.876-2.589 0-4.053-2.157-4.053-4.55 0-2.358 1.464-4.481 4.019-4.481.953 0 1.702.27 2.316.674l.442-.64c-.715-.472-1.566-.742-2.724-.742-3.065 0-4.905 2.46-4.905 5.19 0 2.83 1.805 5.29 4.871 5.29zm6.709 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783V31.28h-.783v10.885zm5.245.168c.681 0 1.192-.27 1.396-.438l-.307-.607c-.136.102-.579.337-1.021.337-.647 0-.886-.404-.886-1.145v-4.92h1.873v-.64h-1.873v-2.056h-.783v2.056h-1.226v.64h1.226v4.953c0 1.18.511 1.82 1.601 1.82zm5.006 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783v-5.021c.204-.438.851-1.618 1.873-1.618.307 0 .477.068.613.101l.205-.741c-.137-.034-.375-.135-.716-.135-1.021 0-1.669.91-1.941 1.415V34.92h-.783v7.245h-.034zm7.356.168c1.192 0 2.009-.404 2.486-.741l-.34-.607a3.708 3.708 0 01-2.112.674c-1.737 0-2.452-1.516-2.452-3.167v-.169h5.04v-.404c0-1.854-1.021-3.134-2.758-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.055 1.021 3.841 3.269 3.841zm-2.384-4.65c.204-1.247.954-2.224 2.214-2.224 1.396 0 1.975 1.112 1.975 2.224H155.1zM72.1 26.53h.783v-6.572h1.907v-.64h-1.907v-1.146c0-1.314.545-1.988 1.67-1.988.442 0 .748.101.919.202l.204-.707c-.204-.102-.579-.203-1.124-.203-1.6 0-2.452.977-2.452 2.629v1.213h-1.26v.64h1.26v6.571zm6.777.168c2.282 0 3.338-1.989 3.338-3.808 0-1.786-1.056-3.74-3.338-3.74-2.281 0-3.27 1.954-3.27 3.774s.989 3.774 3.27 3.774zm.035-.674c-1.67 0-2.453-1.483-2.453-3.134 0-1.618.75-3.067 2.418-3.067 1.67 0 2.555 1.483 2.555 3.1-.034 1.652-.852 3.1-2.52 3.1zm4.836.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.022 0-1.668.876-1.941 1.415v-1.247h-.783v7.245h-.034zm8.446 0h.851v-4.886h.273c.613 0 .783.101 1.805 1.483l2.486 3.403h1.022l-2.827-3.808c-.579-.741-.783-1.01-.988-1.112h.136c1.772-.067 2.998-.91 2.998-2.56 0-1.686-1.26-2.596-3.304-2.596h-2.418V26.53h-.034zm.817-5.56v-3.808h1.465c1.668 0 2.554.64 2.554 1.887 0 1.247-.851 1.921-2.486 1.921H93.01zm9.604 5.729c1.192 0 2.01-.405 2.487-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.269 3.842zm-2.384-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.975 2.224h-4.189zm8.447 4.683c1.498 0 2.452-.775 2.452-2.022 0-1.179-1.022-1.684-2.146-2.19-.851-.37-1.566-.674-1.566-1.516 0-.708.476-1.18 1.362-1.18a2.71 2.71 0 011.669.573l.408-.573c-.34-.27-1.055-.674-2.077-.674-1.362 0-2.146.81-2.146 1.887 0 1.18.92 1.685 2.01 2.157.987.438 1.668.775 1.668 1.584 0 .775-.647 1.247-1.634 1.247-.784 0-1.533-.337-1.873-.607l-.341.607c.443.337 1.26.707 2.214.707zm7.016-.033c1.192 0 2.009-.405 2.486-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.27 3.842zm-2.385-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.976 2.224h-4.19zm8.379 4.65a2.87 2.87 0 002.213-1.079c0 .27.068.674.103.91h.783c-.102-.303-.136-.842-.136-1.449v-3.64c0-1.55-.852-2.29-2.35-2.29-.954 0-1.737.303-2.384.91l.442.538c.613-.572 1.192-.775 1.908-.775 1.089 0 1.6.54 1.6 1.719v.809h-.34c-1.703 0-3.849.539-3.849 2.46-.034 1.145.784 1.887 2.01 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.031-1.82h.34v1.92c-.545.708-1.226 1.113-2.043 1.113zm5.313.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.021 0-1.668.876-1.941 1.415v-1.247h-.817v7.245zm7.186.169c1.09 0 1.873-.405 2.248-.742l-.341-.606c-.306.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.134 0-1.651.749-3.066 2.35-3.066.817 0 1.362.303 1.771.64l.409-.573c-.409-.337-1.09-.741-2.18-.741-1.873 0-3.201 1.482-3.201 3.774.034 1.954 1.055 3.808 3.167 3.808zm3.985-.169h.783v-5.257c.272-.404 1.158-1.415 2.248-1.415 1.09 0 1.498.674 1.498 1.719v4.953h.784v-5.122c0-1.314-.613-2.258-2.112-2.258-1.226 0-2.078.81-2.418 1.315v-4.82h-.783V26.53zM74.452 48.769v-.809h-3.576v.809h1.294v3.808h.988v-3.808h1.294zm3.44 3.808v-2.36c0-.606-.273-1.078-1.022-1.078a1.36 1.36 0 00-1.056.506v-2.022h-.92v4.987h.92v-2.325c.068-.1.34-.438.716-.438.34 0 .442.169.442.506v2.19h.92v.034zm1.532-1.483h2.18c.102-1.247-.409-1.988-1.464-1.988-.954 0-1.703.674-1.703 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.817-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm8.48 2.123V47.96h-.885v2.426c0 .37.034.708.034.742 0 0-.204-.371-.477-.775l-1.668-2.393h-1.056v4.617h.885v-2.629c0-.303-.034-.606-.034-.606s.17.337.443.707l1.805 2.561h.954v-.033zm1.567-1.483h2.18c.102-1.247-.409-1.988-1.465-1.988-.953 0-1.702.674-1.702 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.818-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm7.425-1.247h-.92l-.545 2.157-.579-2.157h-.851l-.579 2.157-.51-2.157h-.989l.954 3.37h.852l.715-2.258.715 2.258h.851l.886-3.37zm5.551-1.247h-.953l-.988 1.954-.988-1.954h-1.09l1.533 2.864v1.753h.988v-1.753l1.498-2.864zm3.031 2.898c0-.876-.545-1.752-1.737-1.752-1.192 0-1.702.91-1.702 1.786s.51 1.752 1.702 1.752c1.226 0 1.737-.944 1.737-1.786zm-.987.034c0 .64-.205 1.044-.716 1.044-.51 0-.749-.471-.749-1.078 0-.606.17-1.078.715-1.078.511 0 .75.471.75 1.112zm3.78-1.685a.974.974 0 00-.477-.101c-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.328 1.718l1.09 1.652h1.09l-1.294-1.854 1.26-1.516h-1.022l-1.124 1.348v-2.966h-.919v4.988h.919v-1.652zm7.561-1.516c0-.977-.783-1.449-1.771-1.449h-1.533v4.617h.988v-1.652h.443c1.158 0 1.873-.505 1.873-1.516zm-.988 0c0 .505-.272.775-.885.775h-.443v-1.483h.477c.613 0 .851.27.851.708zm1.465-.202v2.359c0 .606.272 1.078 1.022 1.078.579 0 .919-.303 1.089-.54 0 .136.034.371.069.439h.919c-.034-.202-.102-.54-.102-.977v-2.393h-.92v2.258c-.068.067-.34.438-.715.438-.34 0-.443-.169-.443-.505v-2.19h-.919v.033zm3.78-1.618v4.785c.17.068.613.27 1.397.27 1.021 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.465-1.752-.374 0-.681.202-.817.337v-1.854h-.92zm.954 2.494c.068-.067.272-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.307 1.079-.817 1.079-.273 0-.409-.068-.477-.068v-1.752zm3.814-2.494h-.919v4.988h.919v-4.988zm1.873 1.618h-.953v3.37h.953v-3.37zm.103-1.011c0-.303-.239-.54-.579-.54-.341 0-.579.237-.579.54 0 .303.238.54.579.54.34.033.579-.237.579-.54zm3.439 4.145l-.272-.607c-.102.068-.341.202-.749.202-.579 0-.852-.471-.852-1.078 0-.606.273-1.045.818-1.045.34 0 .545.101.715.203l.306-.64c-.17-.102-.476-.27-1.055-.27-1.022 0-1.805.64-1.805 1.786 0 1.044.681 1.752 1.77 1.752.648 0 .954-.202 1.124-.303zm4.905.236v-.775h-1.737v-3.808h-.988v4.616h2.725v-.033zm1.498-3.37h-.953v3.37h.953v-3.37zm.102-1.011c0-.303-.238-.54-.579-.54-.34 0-.579.237-.579.54 0 .303.239.54.579.54.341.033.579-.237.579-.54zm.784-.607v4.785c.17.068.613.27 1.396.27 1.022 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.464-1.752-.375 0-.682.202-.818.337v-1.854h-.919zm.953 2.494c.068-.067.273-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.306 1.079-.817 1.079-.272 0-.409-.068-.477-.068v-1.752zm5.075-.876c-.068-.034-.204-.101-.477-.101-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .306.034.34.068l.239-.775zm3.133 3.37c-.034-.203-.102-.54-.102-1.011v-1.213c0-.91-.443-1.247-1.362-1.247-.716 0-1.192.303-1.397.471l.409.573c.136-.1.443-.303.885-.303.443 0 .545.169.545.472v.202h-.136c-.919 0-1.805.303-1.805 1.213 0 .607.443.944 1.022.944.477 0 .817-.27.953-.438 0 .1.035.27.069.37h.919v-.033zm-1.022-.91c-.102.1-.306.303-.613.303-.204 0-.408-.101-.408-.337 0-.404.374-.54.919-.54h.136v.574h-.034zm3.951-2.46c-.068-.034-.204-.101-.477-.101-.442 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.396 3.302l-.136.337c-.136.37-.306.607-.783.607-.204 0-.273-.034-.341-.034l-.136.741c.068.034.238.068.511.068.919 0 1.294-.472 1.601-1.247l1.396-3.74h-.954l-.681 2.224h-.034l-.749-2.225h-.988l1.294 3.27zM55.275 46.374l3.541 3.539 1.84-1.82-3.576-3.505 2.928-2.898-1.839-1.785-8.31 8.222 8.378 8.256 1.84-1.786-6.573-6.47 1.77-1.753zM.613 41.693l6.54 6.436-1.772 1.718-3.542-3.504L0 48.129l3.576 3.538-2.997 2.965 1.84 1.786 8.343-8.29-8.344-8.255-1.805 1.82zM16.075 56.992L30.31 71.077l14.27-14.12 1.805-1.785L30.345 39.3l-1.805 1.786 14.202 14.086-12.431 12.3-14.202-14.086h-.034L4.802 64.54l1.839 1.82 9.434-9.368z"
|
|
7612
|
-
})), _path2$
|
|
7732
|
+
})), _path2$o || (_path2$o = /*#__PURE__*/createElement("path", {
|
|
7613
7733
|
d: "M30.31 74.513L16.072 60.427l-8.14 8.088L9.74 70.3l6.334-6.268 1.737 1.718-5.892 5.83 1.805 1.786 5.892-5.83 1.737 1.719-4.836 4.785 1.84 1.82 4.835-4.785 1.737 1.718-2.997 2.966 1.84 1.786 2.962-2.966 3.576 3.538 3.576-3.504 2.963 2.965 1.84-1.82-2.998-2.965 1.771-1.718 4.837 4.785 1.805-1.82-4.837-4.785 1.737-1.719 5.892 5.83 1.84-1.786-5.892-5.83 1.702-1.718L50.88 70.3l1.84-1.82-6.336-6.268 1.737-1.718 5.892 5.83 1.805-1.82-6.845-6.774-.852-.842L30.31 74.513zM48.136 49.83l-1.83 1.81L56.42 61.649l1.83-1.81L48.136 49.83z"
|
|
7614
7734
|
})), _path3$j || (_path3$j = /*#__PURE__*/createElement("path", {
|
|
7615
7735
|
d: "M28.709 62.417l1.6 1.617 8.958-8.862-1.805-1.786-12.431-12.3 5.313-5.223 14.202 14.052h.034l13.725-13.58-1.805-1.82L44.58 46.31 30.344 32.224l-8.957 8.862 14.236 14.086-5.313 5.257-12.397-12.3-1.84-1.786L2.315 59.957l1.84 1.786 11.92-11.794 12.635 12.468zM4.18 34.547l-1.83 1.811 10.186 10.08 1.83-1.811L4.18 34.547z"
|
|
@@ -7794,7 +7914,7 @@ function SvgLogoSnflWhite(_ref) {
|
|
|
7794
7914
|
})));
|
|
7795
7915
|
}
|
|
7796
7916
|
|
|
7797
|
-
var _path$O, _path2$
|
|
7917
|
+
var _path$O, _path2$p, _path3$k, _path4$b, _path5$a, _path6$3, _path7$3, _path8$1, _path9$1, _path10$1, _path11$1, _path12$1, _path13$1, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25, _path26, _path27, _path28, _path29, _path30, _path31, _path32, _path33, _path34, _path35, _path36, _path37, _path38, _path39, _path40, _path41, _path42, _path43, _path44, _path45, _path46, _path47, _path48, _path49, _path50, _path51, _path52, _path53, _path54, _path55;
|
|
7798
7918
|
|
|
7799
7919
|
var _excluded$11 = ["title", "titleId"];
|
|
7800
7920
|
|
|
@@ -7819,7 +7939,7 @@ function SvgLogoTreasuresColor(_ref) {
|
|
|
7819
7939
|
}, title) : null, _path$O || (_path$O = /*#__PURE__*/createElement("path", {
|
|
7820
7940
|
d: "M21.553 153.725c-.997-.059-3.455-.118-5.33-.118-1.874 0-4.332.059-5.329.118-.059 0-.118-.177-.059-.236 2.111-.819 2.99-1.986 2.99-6.894v-31.067H10.31c-5.742 0-8.141 1.284-10.075 6.54-.059.059-.236 0-.236-.059.236-3.388.236-7.123.118-9.168 0-.118.06-.177.177-.177 1.174.059 5.388.118 8.142.118h15.581c2.753 0 6.968-.059 8.141-.118.118 0 .177.059.177.177-.118 2.045-.118 5.78.119 9.168 0 .059-.178.118-.237.059-1.934-5.256-4.332-6.54-10.075-6.54H18.63v31.067c0 4.908.878 6.075 2.99 6.894.05.059-.008.236-.067.236z",
|
|
7821
7941
|
fill: "#D3BA81"
|
|
7822
|
-
})), _path2$
|
|
7942
|
+
})), _path2$p || (_path2$p = /*#__PURE__*/createElement("path", {
|
|
7823
7943
|
d: "M21.553 153.725c-.997-.059-3.455-.118-5.33-.118-1.874 0-4.332.059-5.329.118-.059 0-.118-.177-.059-.236 2.111-.819 2.99-1.986 2.99-6.894v-31.067H10.31c-5.742 0-8.141 1.284-10.075 6.54-.059.059-.236 0-.236-.059.236-3.388.236-7.123.118-9.168 0-.118.06-.177.177-.177 1.174.059 5.388.118 8.142.118h15.581c2.753 0 6.968-.059 8.141-.118.118 0 .177.059.177.177-.118 2.045-.118 5.78.119 9.168 0 .059-.178.118-.237.059-1.934-5.256-4.332-6.54-10.075-6.54H18.63v31.067c0 4.908.878 6.075 2.99 6.894.05.059-.008.236-.067.236zM51.246 115.536h-7.263v16.762h7.263c6.503 0 9.367-2.568 9.367-8.407.007-5.845-2.864-8.355-9.367-8.355zm5.27 18.859l6.385 11.854c1.934 3.616 3.75 5.196 5.912 5.196.524 0 1.174-.177 1.174-.177.059 0 .177.177.177.236-.642 1.343-2.34 2.569-4.569 2.569-3.166 0-4.982-1.639-7.322-6.016l-6.909-13.02h-7.38v11.559c0 4.908.878 6.074 2.989 6.894.059.059 0 .236-.06.236-.996-.059-3.454-.118-5.328-.118-1.875 0-4.156.059-5.152.118-.06 0-.118-.177-.06-.236 1.934-.82 2.813-1.868 2.813-6.599v-27.332c0-4.732-.879-5.78-2.812-6.599-.06-.059 0-.236.059-.236 0 0 1.756.059 6.148.059h8.724c9.315 0 14.35 3.565 14.35 10.924 0 6.015-3.219 9.581-9.139 10.688z",
|
|
7824
7944
|
fill: "#D3BA81"
|
|
7825
7945
|
})), _path3$k || (_path3$k = /*#__PURE__*/createElement("path", {
|
|
@@ -7984,7 +8104,7 @@ function SvgLogoTreasuresColor(_ref) {
|
|
|
7984
8104
|
})));
|
|
7985
8105
|
}
|
|
7986
8106
|
|
|
7987
|
-
var _path$P, _path2$
|
|
8107
|
+
var _path$P, _path2$q, _path3$l, _path4$c, _path5$b, _path6$4, _path7$4, _path8$2, _path9$2, _path10$2, _path11$2, _path12$2, _path13$2, _path14$1, _path15$1, _path16$1, _path17$1, _path18$1, _path19$1, _path20$1, _path21$1, _path22$1, _path23$1, _path24$1, _path25$1, _path26$1, _path27$1, _path28$1, _path29$1, _path30$1, _path31$1, _path32$1, _path33$1, _path34$1, _path35$1, _path36$1, _path37$1, _path38$1, _path39$1, _path40$1, _path41$1, _path42$1, _path43$1, _path44$1, _path45$1, _path46$1, _path47$1, _path48$1, _path49$1, _path50$1, _path51$1, _path52$1, _path53$1, _path54$1, _path55$1;
|
|
7988
8108
|
|
|
7989
8109
|
var _excluded$12 = ["title", "titleId"];
|
|
7990
8110
|
|
|
@@ -8009,7 +8129,7 @@ function SvgLogoTreasuresColorNegative(_ref) {
|
|
|
8009
8129
|
}, title) : null, _path$P || (_path$P = /*#__PURE__*/createElement("path", {
|
|
8010
8130
|
d: "M23.553 154.725c-.997-.059-3.455-.118-5.33-.118-1.874 0-4.332.059-5.329.118-.059 0-.118-.177-.059-.236 2.111-.819 2.99-1.986 2.99-6.894v-31.067H12.31c-5.742 0-8.141 1.284-10.075 6.54-.059.059-.236 0-.236-.059.236-3.388.236-7.123.118-9.168 0-.118.06-.177.177-.177 1.174.059 5.388.118 8.142.118h15.581c2.753 0 6.968-.059 8.141-.118.118 0 .177.059.177.177-.118 2.045-.118 5.78.119 9.168 0 .059-.178.118-.237.059-1.934-5.256-4.332-6.54-10.075-6.54H20.63v31.067c0 4.908.878 6.075 2.99 6.894.05.059-.008.236-.067.236z",
|
|
8011
8131
|
fill: "#D3BA81"
|
|
8012
|
-
})), _path2$
|
|
8132
|
+
})), _path2$q || (_path2$q = /*#__PURE__*/createElement("path", {
|
|
8013
8133
|
d: "M23.553 154.725c-.997-.059-3.455-.118-5.33-.118-1.874 0-4.332.059-5.329.118-.059 0-.118-.177-.059-.236 2.111-.819 2.99-1.986 2.99-6.894v-31.067H12.31c-5.742 0-8.141 1.284-10.075 6.54-.059.059-.236 0-.236-.059.236-3.388.236-7.123.118-9.168 0-.118.06-.177.177-.177 1.174.059 5.388.118 8.142.118h15.581c2.753 0 6.968-.059 8.141-.118.118 0 .177.059.177.177-.118 2.045-.118 5.78.119 9.168 0 .059-.178.118-.237.059-1.934-5.256-4.332-6.54-10.075-6.54H20.63v31.067c0 4.908.878 6.075 2.99 6.894.05.059-.008.236-.067.236zM53.246 116.536h-7.263v16.762h7.263c6.503 0 9.367-2.568 9.367-8.407.007-5.845-2.864-8.355-9.367-8.355zm5.27 18.859l6.385 11.854c1.934 3.616 3.75 5.196 5.912 5.196.524 0 1.174-.177 1.174-.177.059 0 .177.177.177.236-.642 1.343-2.34 2.569-4.569 2.569-3.166 0-4.982-1.639-7.322-6.016l-6.909-13.02h-7.38v11.559c0 4.908.878 6.074 2.989 6.894.059.059 0 .236-.06.236-.996-.059-3.454-.118-5.328-.118-1.875 0-4.156.059-5.152.118-.06 0-.118-.177-.06-.236 1.934-.82 2.813-1.868 2.813-6.599v-27.332c0-4.732-.879-5.78-2.812-6.599-.06-.059 0-.236.059-.236 0 0 1.756.059 6.148.059h8.724c9.315 0 14.35 3.565 14.35 10.924 0 6.015-3.219 9.581-9.139 10.688z",
|
|
8014
8134
|
fill: "#D3BA81"
|
|
8015
8135
|
})), _path3$l || (_path3$l = /*#__PURE__*/createElement("path", {
|
|
@@ -8221,6 +8341,8 @@ var logoSvgs = {
|
|
|
8221
8341
|
*/
|
|
8222
8342
|
|
|
8223
8343
|
function Logo$1(props) {
|
|
8344
|
+
var _children$props, _children$props2;
|
|
8345
|
+
|
|
8224
8346
|
var _props$additionalStyl = props.additionalStyles,
|
|
8225
8347
|
additionalStyles = _props$additionalStyl === void 0 ? {} : _props$additionalStyl,
|
|
8226
8348
|
children = props.children,
|
|
@@ -8247,10 +8369,10 @@ function Logo$1(props) {
|
|
|
8247
8369
|
var childSVG = null; // Component prop validation
|
|
8248
8370
|
|
|
8249
8371
|
if (name && children) {
|
|
8250
|
-
console.warn("Logo
|
|
8372
|
+
console.warn("NYPL Reservoir Logo: Pass either a `name` prop or an `svg` element " + "child. Do not pass both.");
|
|
8251
8373
|
return null;
|
|
8252
8374
|
} else if (!name && !children) {
|
|
8253
|
-
console.warn("Pass a logo `name` prop or an SVG child to `Logo` to ensure a logo appears.");
|
|
8375
|
+
console.warn("NYPL Reservoir Logo: Pass a logo `name` prop or an SVG child to " + "`Logo` to ensure a logo appears.");
|
|
8254
8376
|
return null;
|
|
8255
8377
|
} // The user wants to render an existing logo. Load the logo and render it
|
|
8256
8378
|
// as a component through Chakra's Icon component. Otherwise, we're going to
|
|
@@ -8268,10 +8390,10 @@ function Logo$1(props) {
|
|
|
8268
8390
|
// Apply logo props to the SVG child.
|
|
8269
8391
|
|
|
8270
8392
|
|
|
8271
|
-
if (children.type === "svg" || children.props.type === "svg" || children.props.mdxType === "svg") {
|
|
8393
|
+
if (children.type === "svg" || ((_children$props = children.props) == null ? void 0 : _children$props.type) === "svg" || ((_children$props2 = children.props) == null ? void 0 : _children$props2.mdxType) === "svg") {
|
|
8272
8394
|
childSVG = cloneElement(children, _extends({}, logoProps));
|
|
8273
8395
|
} else {
|
|
8274
|
-
console.warn("
|
|
8396
|
+
console.warn("NYPL Reservoir Logo: An `svg` element must be passed to the `Logo` " + "component as its child.");
|
|
8275
8397
|
}
|
|
8276
8398
|
|
|
8277
8399
|
return createElement(Box, {
|
|
@@ -8318,14 +8440,14 @@ var Modal = /*#__PURE__*/function (_React$Component) {
|
|
|
8318
8440
|
*/
|
|
8319
8441
|
|
|
8320
8442
|
function NotificationHeading$1(props) {
|
|
8321
|
-
var
|
|
8322
|
-
children = props.children,
|
|
8443
|
+
var children = props.children,
|
|
8323
8444
|
icon = props.icon,
|
|
8324
8445
|
id = props.id,
|
|
8446
|
+
isCentered = props.isCentered,
|
|
8325
8447
|
notificationType = props.notificationType;
|
|
8326
8448
|
var styles = useMultiStyleConfig("NotificationHeading", {
|
|
8327
|
-
centered: centered,
|
|
8328
8449
|
icon: icon,
|
|
8450
|
+
isCentered: isCentered,
|
|
8329
8451
|
notificationType: notificationType
|
|
8330
8452
|
});
|
|
8331
8453
|
return React__default.createElement(Box, {
|
|
@@ -8364,14 +8486,14 @@ function NotificationContent$1(props) {
|
|
|
8364
8486
|
|
|
8365
8487
|
function Notification$1(props) {
|
|
8366
8488
|
var ariaLabel = props.ariaLabel,
|
|
8367
|
-
_props$centered = props.centered,
|
|
8368
|
-
centered = _props$centered === void 0 ? false : _props$centered,
|
|
8369
8489
|
className = props.className,
|
|
8370
8490
|
_props$dismissible = props.dismissible,
|
|
8371
8491
|
dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
|
|
8372
8492
|
icon = props.icon,
|
|
8373
8493
|
_props$id = props.id,
|
|
8374
8494
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
8495
|
+
_props$isCentered = props.isCentered,
|
|
8496
|
+
isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
|
|
8375
8497
|
_props$noMargin = props.noMargin,
|
|
8376
8498
|
noMargin = _props$noMargin === void 0 ? false : _props$noMargin,
|
|
8377
8499
|
notificationContent = props.notificationContent,
|
|
@@ -8390,8 +8512,8 @@ function Notification$1(props) {
|
|
|
8390
8512
|
};
|
|
8391
8513
|
|
|
8392
8514
|
var styles = useMultiStyleConfig("Notification", {
|
|
8393
|
-
centered: centered,
|
|
8394
8515
|
dismissible: dismissible,
|
|
8516
|
+
isCentered: isCentered,
|
|
8395
8517
|
noMargin: noMargin,
|
|
8396
8518
|
notificationType: notificationType
|
|
8397
8519
|
});
|
|
@@ -8446,13 +8568,13 @@ function Notification$1(props) {
|
|
|
8446
8568
|
}));
|
|
8447
8569
|
var iconElem = iconElement();
|
|
8448
8570
|
var childHeading = notificationHeading && React__default.createElement(NotificationHeading$1, {
|
|
8449
|
-
centered: centered,
|
|
8450
8571
|
icon: iconElem,
|
|
8451
8572
|
id: id,
|
|
8573
|
+
isCentered: isCentered,
|
|
8452
8574
|
notificationType: notificationType
|
|
8453
8575
|
}, notificationHeading); // Specific alignment styles for the content.
|
|
8454
8576
|
|
|
8455
|
-
var alignText = childHeading && showIcon && (!!icon || !
|
|
8577
|
+
var alignText = childHeading && showIcon && (!!icon || !isCentered);
|
|
8456
8578
|
var childContent = React__default.createElement(NotificationContent$1, {
|
|
8457
8579
|
alignText: alignText,
|
|
8458
8580
|
icon: !childHeading ? iconElem : null,
|
|
@@ -8513,11 +8635,11 @@ var Pagination$1 = function Pagination(props) {
|
|
|
8513
8635
|
}
|
|
8514
8636
|
|
|
8515
8637
|
if (getPageHref && onPageChange) {
|
|
8516
|
-
console.warn("NYPL Reservoir Pagination: Props for both `getPageHref` and `onPageChange` are passed.
|
|
8638
|
+
console.warn("NYPL Reservoir Pagination: Props for both `getPageHref` and " + "`onPageChange` are passed. The component will default to using " + "`getPageHref`.");
|
|
8517
8639
|
}
|
|
8518
8640
|
|
|
8519
8641
|
if (getPageHref && currentPage) {
|
|
8520
|
-
console.warn("NYPL Reservoir Pagination: The `currentPage` prop does not work with the `getPageHref` prop. Use `currentPage` with `onPageChange` instead.");
|
|
8642
|
+
console.warn("NYPL Reservoir Pagination: The `currentPage` prop does not work with " + "the `getPageHref` prop. Use `currentPage` with `onPageChange` instead.");
|
|
8521
8643
|
} // If `getPageHref` was passed, then links should go to a new page.
|
|
8522
8644
|
|
|
8523
8645
|
|
|
@@ -8544,7 +8666,7 @@ var Pagination$1 = function Pagination(props) {
|
|
|
8544
8666
|
|
|
8545
8667
|
var nextPage = function nextPage(e) {
|
|
8546
8668
|
if (selectedPage < pageCount) {
|
|
8547
|
-
handlePageClick(e,
|
|
8669
|
+
handlePageClick(e, nextPageNumber);
|
|
8548
8670
|
}
|
|
8549
8671
|
};
|
|
8550
8672
|
/**
|
|
@@ -8708,7 +8830,7 @@ var ProgressIndicator$1 = function ProgressIndicator(props) {
|
|
|
8708
8830
|
var finalValue = value;
|
|
8709
8831
|
|
|
8710
8832
|
if (finalValue < 0 || finalValue > 100) {
|
|
8711
|
-
console.warn("ProgressIndicator:
|
|
8833
|
+
console.warn("NYPL Reservoir ProgressIndicator: An invalid value was passed for the" + " `value` prop, so 0 will be used. A valid value should be a number" + " between 0 and 100.");
|
|
8712
8834
|
finalValue = 0;
|
|
8713
8835
|
}
|
|
8714
8836
|
|
|
@@ -8787,6 +8909,10 @@ var Radio$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
8787
8909
|
var attributes = {};
|
|
8788
8910
|
|
|
8789
8911
|
if (!showLabel) {
|
|
8912
|
+
if (typeof labelText !== "string") {
|
|
8913
|
+
console.warn("NYPL Reservoir Radio: `labelText` must be a string when `showLabel` is false.");
|
|
8914
|
+
}
|
|
8915
|
+
|
|
8790
8916
|
attributes["aria-label"] = labelText && footnote ? labelText + " - " + footnote : labelText;
|
|
8791
8917
|
} else {
|
|
8792
8918
|
if (footnote) {
|
|
@@ -8817,13 +8943,6 @@ var Radio$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
8817
8943
|
})));
|
|
8818
8944
|
});
|
|
8819
8945
|
|
|
8820
|
-
var RadioGroupLayoutTypes;
|
|
8821
|
-
|
|
8822
|
-
(function (RadioGroupLayoutTypes) {
|
|
8823
|
-
RadioGroupLayoutTypes["Column"] = "column";
|
|
8824
|
-
RadioGroupLayoutTypes["Row"] = "row";
|
|
8825
|
-
})(RadioGroupLayoutTypes || (RadioGroupLayoutTypes = {}));
|
|
8826
|
-
|
|
8827
8946
|
var onChangeDefault$1 = function onChangeDefault() {
|
|
8828
8947
|
return;
|
|
8829
8948
|
};
|
|
@@ -8838,13 +8957,15 @@ var RadioGroup$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
8838
8957
|
invalidText = props.invalidText,
|
|
8839
8958
|
_props$isDisabled = props.isDisabled,
|
|
8840
8959
|
isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
|
|
8960
|
+
_props$isFullWidth = props.isFullWidth,
|
|
8961
|
+
isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
|
|
8841
8962
|
_props$isInvalid = props.isInvalid,
|
|
8842
8963
|
isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
|
|
8843
8964
|
_props$isRequired = props.isRequired,
|
|
8844
8965
|
isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
|
|
8845
8966
|
labelText = props.labelText,
|
|
8846
8967
|
_props$layout = props.layout,
|
|
8847
|
-
layout = _props$layout === void 0 ?
|
|
8968
|
+
layout = _props$layout === void 0 ? LayoutTypes.Column : _props$layout,
|
|
8848
8969
|
name = props.name,
|
|
8849
8970
|
_props$onChange = props.onChange,
|
|
8850
8971
|
onChange = _props$onChange === void 0 ? onChangeDefault$1 : _props$onChange,
|
|
@@ -8855,7 +8976,7 @@ var RadioGroup$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
8855
8976
|
_props$showLabel = props.showLabel,
|
|
8856
8977
|
showLabel = _props$showLabel === void 0 ? true : _props$showLabel;
|
|
8857
8978
|
var footnote = isInvalid ? invalidText : helperText;
|
|
8858
|
-
var spacingProp = layout ===
|
|
8979
|
+
var spacingProp = layout === LayoutTypes.Column ? spacing.s : spacing.l;
|
|
8859
8980
|
var newChildren = []; // Use Chakra's RadioGroup hook to set and get the proper props
|
|
8860
8981
|
// or the custom components.
|
|
8861
8982
|
|
|
@@ -8873,7 +8994,7 @@ var RadioGroup$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
8873
8994
|
if (child.type !== Radio$1) {
|
|
8874
8995
|
// Special case for Storybook MDX documentation.
|
|
8875
8996
|
if (child.props.mdxType && child.props.mdxType === "Radio") ; else {
|
|
8876
|
-
console.warn("Only `Radio` components are allowed inside the `RadioGroup` component.");
|
|
8997
|
+
console.warn("NYPL Reservoir RadioGroup: Only `Radio` components are allowed " + "inside the `RadioGroup` component.");
|
|
8877
8998
|
}
|
|
8878
8999
|
}
|
|
8879
9000
|
|
|
@@ -8897,7 +9018,9 @@ var RadioGroup$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
8897
9018
|
}
|
|
8898
9019
|
}); // Get the Chakra-based styles for the custom elements in this component.
|
|
8899
9020
|
|
|
8900
|
-
var styles = useMultiStyleConfig("RadioGroup", {
|
|
9021
|
+
var styles = useMultiStyleConfig("RadioGroup", {
|
|
9022
|
+
isFullWidth: isFullWidth
|
|
9023
|
+
});
|
|
8901
9024
|
return createElement(Fieldset, {
|
|
8902
9025
|
className: className,
|
|
8903
9026
|
id: "radio-group-" + id,
|
|
@@ -8920,25 +9043,25 @@ var RadioGroup$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
8920
9043
|
})));
|
|
8921
9044
|
});
|
|
8922
9045
|
|
|
8923
|
-
var
|
|
9046
|
+
var TextSizes;
|
|
8924
9047
|
|
|
8925
|
-
(function (
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
})(
|
|
9048
|
+
(function (TextSizes) {
|
|
9049
|
+
TextSizes["Default"] = "default";
|
|
9050
|
+
TextSizes["Caption"] = "caption";
|
|
9051
|
+
TextSizes["Tag"] = "tag";
|
|
9052
|
+
TextSizes["Mini"] = "mini";
|
|
9053
|
+
})(TextSizes || (TextSizes = {}));
|
|
8931
9054
|
|
|
8932
9055
|
function Text$1(props) {
|
|
8933
9056
|
var children = props.children,
|
|
8934
9057
|
_props$className = props.className,
|
|
8935
9058
|
className = _props$className === void 0 ? "" : _props$className,
|
|
8936
|
-
_props$displaySize = props.displaySize,
|
|
8937
|
-
displaySize = _props$displaySize === void 0 ? TextDisplaySizes.Default : _props$displaySize,
|
|
8938
9059
|
isBold = props.isBold,
|
|
8939
9060
|
isItalic = props.isItalic,
|
|
8940
|
-
noSpace = props.noSpace
|
|
8941
|
-
|
|
9061
|
+
noSpace = props.noSpace,
|
|
9062
|
+
_props$size = props.size,
|
|
9063
|
+
size = _props$size === void 0 ? TextSizes.Default : _props$size;
|
|
9064
|
+
var variant = getVariant(size, TextSizes, TextSizes.Default);
|
|
8942
9065
|
var styles = useStyleConfig("Text", {
|
|
8943
9066
|
variant: variant,
|
|
8944
9067
|
isBold: isBold,
|
|
@@ -8947,7 +9070,7 @@ function Text$1(props) {
|
|
|
8947
9070
|
});
|
|
8948
9071
|
|
|
8949
9072
|
if (!children) {
|
|
8950
|
-
console.warn("
|
|
9073
|
+
console.warn("NYPL Reservoir Text: No children were passed and the `Text` component " + "will not render correctly.");
|
|
8951
9074
|
}
|
|
8952
9075
|
|
|
8953
9076
|
return createElement(Text$2, {
|
|
@@ -8974,7 +9097,7 @@ function ComponentWrapper$1(props) {
|
|
|
8974
9097
|
// doesn't compile. This is meant to log in non-Typescript apps.
|
|
8975
9098
|
|
|
8976
9099
|
if (!hasChildren) {
|
|
8977
|
-
console.warn("
|
|
9100
|
+
console.warn("NYPL Reservoir ComponentWrapper: No children were passed.");
|
|
8978
9101
|
}
|
|
8979
9102
|
|
|
8980
9103
|
return createElement(Box, {
|
|
@@ -9030,14 +9153,14 @@ var Select$1 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
9030
9153
|
showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
|
|
9031
9154
|
_props$showOptReqLabe = props.showOptReqLabel,
|
|
9032
9155
|
showOptReqLabel = _props$showOptReqLabe === void 0 ? true : _props$showOptReqLabe,
|
|
9033
|
-
_props$
|
|
9034
|
-
|
|
9156
|
+
_props$selectType = props.selectType,
|
|
9157
|
+
selectType = _props$selectType === void 0 ? SelectTypes.Default : _props$selectType,
|
|
9035
9158
|
_props$value = props.value,
|
|
9036
9159
|
value = _props$value === void 0 ? "" : _props$value;
|
|
9037
9160
|
var ariaAttributes = {};
|
|
9038
9161
|
var optReqFlag = isRequired ? "Required" : "Optional";
|
|
9039
9162
|
var styles = useMultiStyleConfig("CustomSelect", {
|
|
9040
|
-
variant:
|
|
9163
|
+
variant: selectType
|
|
9041
9164
|
});
|
|
9042
9165
|
var finalInvalidText = invalidText ? invalidText : "There is an error related to this field.";
|
|
9043
9166
|
var footnote = isInvalid ? finalInvalidText : helperText; // To control the `Select` component, both `onChange` and `value`
|
|
@@ -9054,14 +9177,6 @@ var Select$1 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
9054
9177
|
ariaAttributes["aria-describedby"] = id + "-helperText";
|
|
9055
9178
|
}
|
|
9056
9179
|
|
|
9057
|
-
if (React__default.Children.count(children) > 10) {
|
|
9058
|
-
console.warn("NYPL DS recommends that <select> fields have no more than 10 options; an auto-complete text input is a good alternative for 11 or more options.");
|
|
9059
|
-
}
|
|
9060
|
-
|
|
9061
|
-
if (React__default.Children.count(children) < 4) {
|
|
9062
|
-
console.warn("NYPL DS recommends that <select> fields have at least 4 options; a radio button group is a good alternative for 3 or fewer options.");
|
|
9063
|
-
}
|
|
9064
|
-
|
|
9065
9180
|
return React__default.createElement(Box, {
|
|
9066
9181
|
className: className,
|
|
9067
9182
|
__css: _extends({}, styles, additionalStyles)
|
|
@@ -9155,7 +9270,7 @@ function SearchBar$1(props) {
|
|
|
9155
9270
|
labelText: selectProps == null ? void 0 : selectProps.labelText,
|
|
9156
9271
|
name: selectProps == null ? void 0 : selectProps.name,
|
|
9157
9272
|
onChange: selectProps == null ? void 0 : selectProps.onChange,
|
|
9158
|
-
|
|
9273
|
+
selectType: SelectTypes.SearchBar
|
|
9159
9274
|
}, stateProps), selectProps == null ? void 0 : selectProps.optionsData.map(function (option) {
|
|
9160
9275
|
return createElement("option", {
|
|
9161
9276
|
key: option,
|
|
@@ -9169,8 +9284,8 @@ function SearchBar$1(props) {
|
|
|
9169
9284
|
name: textInputProps == null ? void 0 : textInputProps.name,
|
|
9170
9285
|
onChange: textInputProps == null ? void 0 : textInputProps.onChange,
|
|
9171
9286
|
placeholder: textInputPlaceholder,
|
|
9287
|
+
textInputType: selectElem ? TextInputVariants.SearchBarSelect : TextInputVariants.SearchBar,
|
|
9172
9288
|
type: TextInputTypes.text,
|
|
9173
|
-
variantType: selectElem ? TextInputVariants.SearchBarSelect : TextInputVariants.SearchBar,
|
|
9174
9289
|
value: textInputProps == null ? void 0 : textInputProps.value
|
|
9175
9290
|
}, stateProps)); // Render the `Button` component.
|
|
9176
9291
|
|
|
@@ -9210,13 +9325,6 @@ function SearchBar$1(props) {
|
|
|
9210
9325
|
}, selectElem, textInputElem, buttonElem));
|
|
9211
9326
|
}
|
|
9212
9327
|
|
|
9213
|
-
var SkeletonLoaderLayouts;
|
|
9214
|
-
|
|
9215
|
-
(function (SkeletonLoaderLayouts) {
|
|
9216
|
-
SkeletonLoaderLayouts["Row"] = "row";
|
|
9217
|
-
SkeletonLoaderLayouts["Column"] = "column";
|
|
9218
|
-
})(SkeletonLoaderLayouts || (SkeletonLoaderLayouts = {}));
|
|
9219
|
-
|
|
9220
9328
|
var SkeletonLoaderImageRatios;
|
|
9221
9329
|
|
|
9222
9330
|
(function (SkeletonLoaderImageRatios) {
|
|
@@ -9241,7 +9349,7 @@ function SkeletonLoader$1(props) {
|
|
|
9241
9349
|
_props$imageAspectRat = props.imageAspectRatio,
|
|
9242
9350
|
imageAspectRatio = _props$imageAspectRat === void 0 ? SkeletonLoaderImageRatios.Square : _props$imageAspectRat,
|
|
9243
9351
|
_props$layout = props.layout,
|
|
9244
|
-
layout = _props$layout === void 0 ?
|
|
9352
|
+
layout = _props$layout === void 0 ? LayoutTypes.Column : _props$layout,
|
|
9245
9353
|
_props$showButton = props.showButton,
|
|
9246
9354
|
showButton = _props$showButton === void 0 ? false : _props$showButton,
|
|
9247
9355
|
_props$showContent = props.showContent,
|
|
@@ -9388,12 +9496,8 @@ function Slider(props) {
|
|
|
9388
9496
|
min: min,
|
|
9389
9497
|
name: name,
|
|
9390
9498
|
onChange: function onChange(val) {
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
// Call the passed in `onChange` function prop to get the
|
|
9394
|
-
// *final* value once a user stops dragging the slider.
|
|
9395
|
-
onChangeEnd: function onChangeEnd(val) {
|
|
9396
|
-
return _onChange && _onChange(val);
|
|
9499
|
+
setCurrentValue(val);
|
|
9500
|
+
_onChange && _onChange(val);
|
|
9397
9501
|
},
|
|
9398
9502
|
step: step,
|
|
9399
9503
|
// Additional margins so slider thumbs don't overflow past the
|
|
@@ -9558,7 +9662,7 @@ function StatusBadge$1(props) {
|
|
|
9558
9662
|
});
|
|
9559
9663
|
|
|
9560
9664
|
if (!children) {
|
|
9561
|
-
console.warn("
|
|
9665
|
+
console.warn("NYPL Reservoir StatusBadge: No children were passed.");
|
|
9562
9666
|
}
|
|
9563
9667
|
|
|
9564
9668
|
return createElement(Box, {
|
|
@@ -9586,11 +9690,11 @@ function StructuredContentImage(props) {
|
|
|
9586
9690
|
additionalImageStyles = props.additionalImageStyles,
|
|
9587
9691
|
additionalWrapperStyles = props.additionalWrapperStyles,
|
|
9588
9692
|
alt = props.alt,
|
|
9693
|
+
aspectRatio = props.aspectRatio,
|
|
9694
|
+
caption = props.caption,
|
|
9589
9695
|
component = props.component,
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
imageCredit = props.imageCredit,
|
|
9593
|
-
imageSize = props.imageSize,
|
|
9696
|
+
credit = props.credit,
|
|
9697
|
+
size = props.size,
|
|
9594
9698
|
src = props.src;
|
|
9595
9699
|
return createElement(Image, {
|
|
9596
9700
|
additionalFigureStyles: additionalFigureStyles,
|
|
@@ -9598,10 +9702,10 @@ function StructuredContentImage(props) {
|
|
|
9598
9702
|
additionalWrapperStyles: additionalWrapperStyles,
|
|
9599
9703
|
alt: alt,
|
|
9600
9704
|
component: component,
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9705
|
+
aspectRatio: aspectRatio,
|
|
9706
|
+
size: size,
|
|
9707
|
+
caption: caption,
|
|
9708
|
+
credit: credit,
|
|
9605
9709
|
src: src
|
|
9606
9710
|
});
|
|
9607
9711
|
}
|
|
@@ -9617,25 +9721,24 @@ function StructuredContent$1(props) {
|
|
|
9617
9721
|
headingText = props.headingText,
|
|
9618
9722
|
_props$id = props.id,
|
|
9619
9723
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
9620
|
-
_props$
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
imageSrc = props.imageSrc,
|
|
9724
|
+
_props$imageProps = props.imageProps,
|
|
9725
|
+
imageProps = _props$imageProps === void 0 ? {
|
|
9726
|
+
alt: "",
|
|
9727
|
+
aspectRatio: ImageRatios.Square,
|
|
9728
|
+
caption: undefined,
|
|
9729
|
+
component: undefined,
|
|
9730
|
+
credit: undefined,
|
|
9731
|
+
position: StructuredContentImagePosition.Left,
|
|
9732
|
+
size: ImageSizes.Medium,
|
|
9733
|
+
src: ""
|
|
9734
|
+
} : _props$imageProps,
|
|
9632
9735
|
bodyContent = props.bodyContent;
|
|
9633
|
-
var hasImage =
|
|
9634
|
-
var hasFigureImage =
|
|
9736
|
+
var hasImage = imageProps.src || imageProps.component;
|
|
9737
|
+
var hasFigureImage = imageProps.caption || imageProps.credit;
|
|
9635
9738
|
var styles = useMultiStyleConfig("StructuredContent", {
|
|
9636
9739
|
hasFigureImage: hasFigureImage,
|
|
9637
|
-
imageAspectRatio:
|
|
9638
|
-
imagePosition:
|
|
9740
|
+
imageAspectRatio: imageProps.aspectRatio,
|
|
9741
|
+
imagePosition: imageProps.position
|
|
9639
9742
|
});
|
|
9640
9743
|
var finalBodyContent = typeof bodyContent === "string" ? createElement("div", {
|
|
9641
9744
|
dangerouslySetInnerHTML: {
|
|
@@ -9643,8 +9746,8 @@ function StructuredContent$1(props) {
|
|
|
9643
9746
|
}
|
|
9644
9747
|
}) : createElement(Box, null, bodyContent);
|
|
9645
9748
|
|
|
9646
|
-
if (hasImage && !
|
|
9647
|
-
console.warn("StructuredContent: `
|
|
9749
|
+
if (hasImage && !imageProps.alt) {
|
|
9750
|
+
console.warn("NYPL Reservoir StructuredContent: The `imageProps.alt` prop is required " + "when using an image.");
|
|
9648
9751
|
}
|
|
9649
9752
|
|
|
9650
9753
|
return createElement(Box, {
|
|
@@ -9655,20 +9758,20 @@ function StructuredContent$1(props) {
|
|
|
9655
9758
|
id: id + "-heading",
|
|
9656
9759
|
level: HeadingLevels.Two
|
|
9657
9760
|
}, headingText), calloutText && createElement(Heading, {
|
|
9658
|
-
displaySize: HeadingDisplaySizes.Callout,
|
|
9659
9761
|
id: id + "-callout",
|
|
9660
|
-
level: HeadingLevels.Three
|
|
9762
|
+
level: HeadingLevels.Three,
|
|
9763
|
+
size: HeadingSizes.Callout
|
|
9661
9764
|
}, calloutText), hasImage && createElement(StructuredContentImage, {
|
|
9662
9765
|
additionalFigureStyles: styles.imageFigure,
|
|
9663
9766
|
additionalImageStyles: styles.image,
|
|
9664
9767
|
additionalWrapperStyles: styles.imageWrapper,
|
|
9665
|
-
alt:
|
|
9666
|
-
component:
|
|
9667
|
-
|
|
9668
|
-
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
src:
|
|
9768
|
+
alt: imageProps.alt,
|
|
9769
|
+
component: imageProps.component,
|
|
9770
|
+
aspectRatio: imageProps.aspectRatio,
|
|
9771
|
+
caption: imageProps.caption,
|
|
9772
|
+
credit: imageProps.credit,
|
|
9773
|
+
size: imageProps.size,
|
|
9774
|
+
src: imageProps.src ? imageProps.src : null
|
|
9672
9775
|
}), finalBodyContent);
|
|
9673
9776
|
}
|
|
9674
9777
|
|
|
@@ -9726,38 +9829,6 @@ var useCarouselStyles = function useCarouselStyles(slidesCount, slideWidth) {
|
|
|
9726
9829
|
};
|
|
9727
9830
|
};
|
|
9728
9831
|
|
|
9729
|
-
/**
|
|
9730
|
-
* React hook used to get the window size on device resizing.
|
|
9731
|
-
* Based on https://usehooks-typescript.com/react-hook/use-window-size
|
|
9732
|
-
*/
|
|
9733
|
-
|
|
9734
|
-
function useWindowSize() {
|
|
9735
|
-
var _React$useState = React__default.useState({
|
|
9736
|
-
width: 0,
|
|
9737
|
-
height: 0
|
|
9738
|
-
}),
|
|
9739
|
-
windowSize = _React$useState[0],
|
|
9740
|
-
setWindowSize = _React$useState[1];
|
|
9741
|
-
|
|
9742
|
-
React__default.useEffect(function () {
|
|
9743
|
-
var handler = function handler() {
|
|
9744
|
-
setWindowSize({
|
|
9745
|
-
width: window.innerWidth,
|
|
9746
|
-
height: window.innerHeight
|
|
9747
|
-
});
|
|
9748
|
-
}; // Set size at the first client-side load
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
handler();
|
|
9752
|
-
window.addEventListener("resize", handler); // Remove event listener on cleanup
|
|
9753
|
-
|
|
9754
|
-
return function () {
|
|
9755
|
-
window.removeEventListener("resize", handler);
|
|
9756
|
-
};
|
|
9757
|
-
}, []);
|
|
9758
|
-
return windowSize;
|
|
9759
|
-
}
|
|
9760
|
-
|
|
9761
9832
|
/**
|
|
9762
9833
|
* An internal function used to update the hash in the URL.
|
|
9763
9834
|
* This function is only used when `useHash` is `true`.
|
|
@@ -9772,7 +9843,7 @@ var onClickHash = function onClickHash(tabHash) {
|
|
|
9772
9843
|
*/
|
|
9773
9844
|
|
|
9774
9845
|
|
|
9775
|
-
var
|
|
9846
|
+
var getElementsFromData$2 = function getElementsFromData(data, useHash) {
|
|
9776
9847
|
var tabs = [];
|
|
9777
9848
|
var panels = [];
|
|
9778
9849
|
|
|
@@ -9784,7 +9855,7 @@ var getElementsFromContentData$1 = function getElementsFromContentData(data, use
|
|
|
9784
9855
|
}
|
|
9785
9856
|
|
|
9786
9857
|
if ((data == null ? void 0 : data.length) > 6) {
|
|
9787
|
-
console.warn("Tabs:
|
|
9858
|
+
console.warn("NYPL Reservoir Tabs: it is recommended to use no more than six tabs. If " + "more than six tabs are needed, consider other navigational patterns.");
|
|
9788
9859
|
}
|
|
9789
9860
|
|
|
9790
9861
|
data.forEach(function (tab, index) {
|
|
@@ -9846,7 +9917,7 @@ var getElementsFromChildren = function getElementsFromChildren(children) {
|
|
|
9846
9917
|
var childTabs = Children.count(child.props.children);
|
|
9847
9918
|
|
|
9848
9919
|
if (childTabs > 6) {
|
|
9849
|
-
console.warn("Tabs:
|
|
9920
|
+
console.warn("NYPL Reservoir Tabs: It is recommended to use no more than six tabs. " + "If more than six tabs are needed, consider other navigational patterns.");
|
|
9850
9921
|
}
|
|
9851
9922
|
}
|
|
9852
9923
|
|
|
@@ -9869,12 +9940,12 @@ function Tabs(props) {
|
|
|
9869
9940
|
var _tabs$, _tabProps$children;
|
|
9870
9941
|
|
|
9871
9942
|
var children = props.children,
|
|
9872
|
-
contentData = props.contentData,
|
|
9873
9943
|
_props$defaultIndex = props.defaultIndex,
|
|
9874
9944
|
defaultIndex = _props$defaultIndex === void 0 ? 0 : _props$defaultIndex,
|
|
9875
9945
|
_props$id = props.id,
|
|
9876
9946
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
9877
9947
|
onChange = props.onChange,
|
|
9948
|
+
tabsData = props.tabsData,
|
|
9878
9949
|
_props$useHash = props.useHash,
|
|
9879
9950
|
useHash = _props$useHash === void 0 ? false : _props$useHash;
|
|
9880
9951
|
var styles = useMultiStyleConfig("Tabs", {}); // Just an estimate of the tab width for the mobile carousel.
|
|
@@ -9889,14 +9960,14 @@ function Tabs(props) {
|
|
|
9889
9960
|
|
|
9890
9961
|
var windowDimensions = useWindowSize();
|
|
9891
9962
|
|
|
9892
|
-
var _ref =
|
|
9963
|
+
var _ref = tabsData ? getElementsFromData$2(tabsData, useHash) : getElementsFromChildren(children),
|
|
9893
9964
|
tabs = _ref.tabs,
|
|
9894
9965
|
panels = _ref.panels;
|
|
9895
9966
|
|
|
9896
9967
|
if (tabs.length === 0 || panels.length === 0) {
|
|
9897
|
-
console.warn("Tabs: Pass data in the `
|
|
9968
|
+
console.warn("NYPL Reservoir Tabs: Pass data in the `contentData` props or as children.");
|
|
9898
9969
|
} // `tabs` is an array for the children component approach but an object for
|
|
9899
|
-
// the `
|
|
9970
|
+
// the `tabsData` prop approach. We need to get the right props key value
|
|
9900
9971
|
// to set the carousel's length.
|
|
9901
9972
|
|
|
9902
9973
|
|
|
@@ -9951,8 +10022,8 @@ function Tabs(props) {
|
|
|
9951
10022
|
size: IconSizes.Small
|
|
9952
10023
|
}));
|
|
9953
10024
|
|
|
9954
|
-
if (children &&
|
|
9955
|
-
console.warn("Tabs: Only pass children or data in the `
|
|
10025
|
+
if (children && tabsData != null && tabsData.length) {
|
|
10026
|
+
console.warn("NYPL Reservoir Tabs: Only pass children or data in the `contentData` " + "prop. Do not pass both.");
|
|
9956
10027
|
}
|
|
9957
10028
|
|
|
9958
10029
|
return createElement(Tabs$1, {
|
|
@@ -10026,7 +10097,7 @@ var TemplateHeader$1 = function TemplateHeader(_ref) {
|
|
|
10026
10097
|
var _child$props;
|
|
10027
10098
|
|
|
10028
10099
|
if ((child == null ? void 0 : child.type) === "header" || (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) === "header") {
|
|
10029
|
-
console.warn("
|
|
10100
|
+
console.warn("NYPL Reservoir TemplateHeader: An HTML `header` element was passed " + "in. Set `renderHeaderElement` to `false` to avoid nested HTML " + "`header` elements.");
|
|
10030
10101
|
}
|
|
10031
10102
|
});
|
|
10032
10103
|
headerElement = createElement(Box, {
|
|
@@ -10052,18 +10123,22 @@ var TemplateBreakout$1 = function TemplateBreakout(props) {
|
|
|
10052
10123
|
};
|
|
10053
10124
|
/**
|
|
10054
10125
|
* This component is most useful to render content on the page. This renders an
|
|
10055
|
-
* HTML `<main>` element
|
|
10056
|
-
*
|
|
10057
|
-
*
|
|
10058
|
-
*
|
|
10059
|
-
*
|
|
10126
|
+
* HTML `<main>` element with an id of "mainContent". The "mainContent" id should
|
|
10127
|
+
* be used as the consuming application's skip navigation link. The `TemplateContent`
|
|
10128
|
+
* component also takes a `sidebar` prop with optional "left" or "right" values.
|
|
10129
|
+
* This will set the correct *styling* needed for the `TemplateContentPrimary`
|
|
10130
|
+
* and `TemplateContentSidebar` components. Note that `TemplateContentPrimary`
|
|
10131
|
+
* and `TemplateContentSidebar` must be ordered correctly as children elements
|
|
10132
|
+
* for the appropriate styles to take effect.
|
|
10060
10133
|
*/
|
|
10061
10134
|
|
|
10062
10135
|
|
|
10063
10136
|
var TemplateContent$1 = function TemplateContent(props) {
|
|
10064
|
-
var
|
|
10065
|
-
|
|
10066
|
-
|
|
10137
|
+
var children = props.children,
|
|
10138
|
+
_props$id = props.id,
|
|
10139
|
+
id = _props$id === void 0 ? "mainContent" : _props$id,
|
|
10140
|
+
_props$sidebar = props.sidebar,
|
|
10141
|
+
sidebar = _props$sidebar === void 0 ? "none" : _props$sidebar;
|
|
10067
10142
|
var styles = useStyleConfig("TemplateContent", {
|
|
10068
10143
|
variant: sidebar !== "none" ? "sidebar" : null
|
|
10069
10144
|
}); // Manually pass in the `sidebar` prop to the `TemplateContentPrimary` and
|
|
@@ -10084,6 +10159,7 @@ var TemplateContent$1 = function TemplateContent(props) {
|
|
|
10084
10159
|
});
|
|
10085
10160
|
return createElement(Box, {
|
|
10086
10161
|
as: "main",
|
|
10162
|
+
id: id,
|
|
10087
10163
|
__css: styles
|
|
10088
10164
|
}, newChildren);
|
|
10089
10165
|
};
|
|
@@ -10161,7 +10237,7 @@ var TemplateFooter = function TemplateFooter(_ref2) {
|
|
|
10161
10237
|
var _child$props4;
|
|
10162
10238
|
|
|
10163
10239
|
if ((child == null ? void 0 : child.type) === "footer" || (child == null ? void 0 : (_child$props4 = child.props) == null ? void 0 : _child$props4.mdxType) === "footer") {
|
|
10164
|
-
console.warn("
|
|
10240
|
+
console.warn("NYPL Reservoir TemplateFooter: An HTML `footer` element was passed " + "in. Set `renderFooterElement` to `false` to avoid nested HTML " + "`footer` elements.");
|
|
10165
10241
|
}
|
|
10166
10242
|
});
|
|
10167
10243
|
footerElement = createElement(Box, {
|
|
@@ -10183,6 +10259,8 @@ var TemplateFooter = function TemplateFooter(_ref2) {
|
|
|
10183
10259
|
var TemplateAppContainer = function TemplateAppContainer(props) {
|
|
10184
10260
|
var aboveHeader = props.aboveHeader,
|
|
10185
10261
|
breakout = props.breakout,
|
|
10262
|
+
_props$contentId = props.contentId,
|
|
10263
|
+
contentId = _props$contentId === void 0 ? "mainContent" : _props$contentId,
|
|
10186
10264
|
contentPrimary = props.contentPrimary,
|
|
10187
10265
|
contentSidebar = props.contentSidebar,
|
|
10188
10266
|
contentTop = props.contentTop,
|
|
@@ -10202,6 +10280,7 @@ var TemplateAppContainer = function TemplateAppContainer(props) {
|
|
|
10202
10280
|
return createElement(Template$1, null, aboveHeaderElem, (header || breakoutElem) && createElement(TemplateHeader$1, {
|
|
10203
10281
|
renderHeaderElement: renderHeaderElement
|
|
10204
10282
|
}, header, breakoutElem), createElement(TemplateContent$1, {
|
|
10283
|
+
id: contentId,
|
|
10205
10284
|
sidebar: sidebar
|
|
10206
10285
|
}, contentTopElem, sidebar === "left" && contentSidebarElem, contentPrimaryElem, sidebar === "right" && contentSidebarElem), footer && createElement(TemplateFooter, {
|
|
10207
10286
|
renderFooterElement: renderFooterElement
|
|
@@ -10211,7 +10290,7 @@ var TemplateAppContainer = function TemplateAppContainer(props) {
|
|
|
10211
10290
|
var ToggleSizes;
|
|
10212
10291
|
|
|
10213
10292
|
(function (ToggleSizes) {
|
|
10214
|
-
ToggleSizes["
|
|
10293
|
+
ToggleSizes["Default"] = "default";
|
|
10215
10294
|
ToggleSizes["Small"] = "small";
|
|
10216
10295
|
})(ToggleSizes || (ToggleSizes = {}));
|
|
10217
10296
|
|
|
@@ -10243,7 +10322,7 @@ var Toggle$2 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
10243
10322
|
_props$onChange = props.onChange,
|
|
10244
10323
|
onChange = _props$onChange === void 0 ? onChangeDefault$2 : _props$onChange,
|
|
10245
10324
|
_props$size = props.size,
|
|
10246
|
-
size = _props$size === void 0 ? ToggleSizes.
|
|
10325
|
+
size = _props$size === void 0 ? ToggleSizes.Default : _props$size;
|
|
10247
10326
|
var footnote = isInvalid ? invalidText : helperText;
|
|
10248
10327
|
var ariaAttributes = {};
|
|
10249
10328
|
var styles = useMultiStyleConfig("Toggle", {});
|
|
@@ -10260,7 +10339,7 @@ var Toggle$2 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
10260
10339
|
isInvalid: isInvalid,
|
|
10261
10340
|
isRequired: isRequired,
|
|
10262
10341
|
ref: ref,
|
|
10263
|
-
size: size === ToggleSizes.
|
|
10342
|
+
size: size === ToggleSizes.Default ? "lg" : "sm",
|
|
10264
10343
|
lineHeight: "1.5"
|
|
10265
10344
|
}, isChecked !== undefined ? {
|
|
10266
10345
|
isChecked: isChecked,
|
|
@@ -10288,7 +10367,7 @@ function useNYPLTheme() {
|
|
|
10288
10367
|
var theme = useTheme();
|
|
10289
10368
|
|
|
10290
10369
|
if (!theme || Object.keys(theme).length === 0) {
|
|
10291
|
-
console.warn("
|
|
10370
|
+
console.warn("NYPL Reservoir useNYPLTheme: hook must be used inside of `<DSProvider />`.");
|
|
10292
10371
|
return {};
|
|
10293
10372
|
} // Chakra provides a lot of their own styles but
|
|
10294
10373
|
// only NYPL styles should be exported.
|
|
@@ -10375,30 +10454,30 @@ function VideoPlayer$1(props) {
|
|
|
10375
10454
|
var videoSrc = videoType === VideoPlayerTypes.Vimeo ? "https://player.vimeo.com/video/" + videoId + "?autoplay=0&loop=0" : "https://www.youtube.com/embed/" + videoId + "?disablekb=1&autoplay=0&fs=1&modestbranding=0";
|
|
10376
10455
|
var iFrameTitleEmbedCode = iframeTitle ? "" + iframeTitle : "Video player";
|
|
10377
10456
|
var embedCodeFinal = embedCode && embedCode.includes("<iframe") && !embedCode.includes("title=") ? embedCode.replace("<iframe ", "<iframe title=\"" + iFrameTitleEmbedCode + "\" ") : embedCode;
|
|
10378
|
-
var errorMessage = "<strong>Error:</strong> This video player has not been configured properly. Please contact the site administrator.";
|
|
10457
|
+
var errorMessage = "<strong>Error:</strong> This video player has not been configured " + "properly. Please contact the site administrator.";
|
|
10379
10458
|
var isInvalid = false;
|
|
10380
10459
|
|
|
10381
10460
|
if (!embedCodeFinal && !videoType && !videoId) {
|
|
10382
|
-
console.warn("VideoPlayer
|
|
10461
|
+
console.warn("NYPL Reservoir VideoPlayer: Pass in either the `embedCode` prop or " + "both the `videoType` and `videoId` props; none were passed.");
|
|
10383
10462
|
isInvalid = true;
|
|
10384
10463
|
} else if (!embedCodeFinal && !videoType) {
|
|
10385
|
-
console.warn("
|
|
10464
|
+
console.warn("NYPL Reservoir VideoPlayer: The `videoType` prop is also required. " + "Only the `videoId` prop was set.");
|
|
10386
10465
|
isInvalid = true;
|
|
10387
10466
|
} else if (!embedCodeFinal && !videoId) {
|
|
10388
|
-
console.warn("
|
|
10467
|
+
console.warn("NYPL Reservoir VideoPlayer: The `videoId` prop is also required. " + "Only the `videoType` prop was set.");
|
|
10389
10468
|
isInvalid = true;
|
|
10390
10469
|
} else if (embedCodeFinal && (videoType || videoId)) {
|
|
10391
|
-
console.warn("VideoPlayer
|
|
10470
|
+
console.warn("NYPL Reservoir VideoPlayer: Pass in either the `embedCode` prop or " + "both the `videoType` and `videoId` props; all were set.");
|
|
10392
10471
|
isInvalid = true;
|
|
10393
10472
|
}
|
|
10394
10473
|
|
|
10395
10474
|
if (videoId && (videoId.includes("://") || videoId.includes("http") || videoId.includes(".") || videoId.includes("youtube") || videoId.includes("vimeo"))) {
|
|
10396
|
-
console.warn("
|
|
10475
|
+
console.warn("NYPL Reservoir VideoPlayer: The `videoId` prop is not configured properly.");
|
|
10397
10476
|
isInvalid = true;
|
|
10398
10477
|
}
|
|
10399
10478
|
|
|
10400
10479
|
if (embedCodeFinal && (!embedCodeFinal.includes("vimeo.com") && !embedCodeFinal.includes("youtube.com") || !embedCodeFinal.includes("<iframe") || !embedCodeFinal.includes("</iframe"))) {
|
|
10401
|
-
console.warn("
|
|
10480
|
+
console.warn("NYPL Reservoir VideoPlayer: The `embedCode` prop is not configured properly.");
|
|
10402
10481
|
isInvalid = true;
|
|
10403
10482
|
}
|
|
10404
10483
|
|
|
@@ -10480,7 +10559,7 @@ function Table(props) {
|
|
|
10480
10559
|
|
|
10481
10560
|
var tableBodyElems = function tableBodyElems() {
|
|
10482
10561
|
if (!Array.isArray(tableData) || tableData.length <= 0 || tableData[0].constructor !== Array) {
|
|
10483
|
-
console.warn("Table:
|
|
10562
|
+
console.warn("NYPL Reservoir Table: Data in the `tableData` prop must be a two dimensional array.");
|
|
10484
10563
|
return null;
|
|
10485
10564
|
}
|
|
10486
10565
|
|
|
@@ -10505,5 +10584,5 @@ function Table(props) {
|
|
|
10505
10584
|
}, tableCaption, columnHeadersElems, tableBodyElems());
|
|
10506
10585
|
}
|
|
10507
10586
|
|
|
10508
|
-
export { Accordion, Breadcrumbs, Button, ButtonTypes, Card, CardActions, CardContent, CardHeading,
|
|
10587
|
+
export { Accordion, AccordionTypes, Breadcrumbs, BreadcrumbsTypes, Button, ButtonTypes, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, DSProvider, DatePicker, DatePickerTypes, Fieldset, Form, FormField, GridGaps as FormGaps, FormRow, GridGaps, Heading, HeadingLevels, HeadingSizes, HelperErrorText, Hero$1 as Hero, HeroTypes, HorizontalRule$1 as HorizontalRule, Icon, IconAlign, IconColors, IconNames, IconRotationTypes, IconSizes, IconTypes, Image, ImageRatios, ImageSizes, ImageTypes, Label, LayoutTypes, Link, LinkTypes, List$1 as List, ListTypes, Logo$1 as Logo, LogoColors, LogoNames, LogoSizes, Modal, Notification$1 as Notification, NotificationTypes, Pagination$1 as Pagination, ProgressIndicator$1 as ProgressIndicator, ProgressIndicatorSizes, ProgressIndicatorTypes, Radio$1 as Radio, RadioGroup$1 as RadioGroup, SearchBar$1 as SearchBar, Select$1 as Select, SimpleGrid, SkeletonLoader$1 as SkeletonLoader, SkeletonLoaderImageRatios, Slider, StatusBadge$1 as StatusBadge, StatusBadgeTypes, StructuredContent$1 as StructuredContent, StructuredContentImagePosition, Table, Tabs, Template$1 as Template, TemplateAboveHeader, TemplateAppContainer, TemplateBreakout$1 as TemplateBreakout, TemplateContent$1 as TemplateContent, TemplateContentPrimary$1 as TemplateContentPrimary, TemplateContentSidebar$1 as TemplateContentSidebar, TemplateContentTop$1 as TemplateContentTop, TemplateFooter, TemplateHeader$1 as TemplateHeader, Text$1 as Text, TextInput, TextInputTypes, TextSizes, Toggle$2 as Toggle, ToggleSizes, VideoPlayer$1 as VideoPlayer, VideoPlayerAspectRatios, VideoPlayerTypes, useNYPLTheme };
|
|
10509
10588
|
//# sourceMappingURL=design-system-react-components.esm.js.map
|