@nypl/design-system-react-components 1.2.2 → 1.3.0-rc-2

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.
@@ -1,6 +1,6 @@
1
- import { chakra, useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Button as Button$2, Heading as Heading$2, Text as Text$2, useMultiStyleConfig, Flex, Breadcrumb as Breadcrumb$1, BreadcrumbItem, BreadcrumbLink, useMediaQuery, Stack, useMergeRefs, LinkBox, LinkOverlay, Checkbox as Checkbox$2, CheckboxGroup as CheckboxGroup$2, SimpleGrid as SimpleGrid$1, TableCaption, Thead, Tr, Th, Table as Table$1, Tbody, Td, useTheme, Input, Textarea, extendTheme, ChakraProvider, Radio as Radio$2, RadioGroup as RadioGroup$2, HStack, useOutsideClick, VStack, Spacer, useDisclosure, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, CircularProgress, CircularProgressLabel, Progress, 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, Tooltip as Tooltip$2, Switch as Switch$1 } from '@chakra-ui/react';
1
+ import { chakra, useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Button as Button$2, Heading as Heading$2, Text as Text$2, useMultiStyleConfig, Flex, Breadcrumb as Breadcrumb$1, BreadcrumbItem, BreadcrumbLink, useMediaQuery, Stack, useMergeRefs, LinkBox, LinkOverlay, Checkbox as Checkbox$2, CheckboxGroup as CheckboxGroup$2, TableCaption, Thead, Tr, Th, Table as Table$1, Tbody, Td, HStack, SimpleGrid as SimpleGrid$1, Input, Textarea, extendTheme, ChakraProvider, Radio as Radio$2, RadioGroup as RadioGroup$2, useDisclosure, Drawer, DrawerOverlay, DrawerContent, DrawerHeader, Spacer, DrawerBody, useOutsideClick, VStack, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, CircularProgress, CircularProgressLabel, Progress, 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, Tooltip as Tooltip$2, Switch as Switch$1, useTheme } from '@chakra-ui/react';
2
2
  export { Box, Center, Circle, ColorModeScript, Flex, Grid, GridItem, HStack, Spacer, Square, Stack, Tab, TabList, TabPanel, TabPanels, VStack, cookieStorageManager, localStorageManager, useColorMode, useColorModeValue } from '@chakra-ui/react';
3
- import React__default, { createElement, forwardRef, useRef, useState, useEffect, Fragment, useContext } from 'react';
3
+ import React__default, { createElement, forwardRef, useRef, useState, useEffect, Fragment, useReducer, useContext } from 'react';
4
4
  import useNativeLazyLoading from '@charlietango/use-native-lazy-loading';
5
5
  import { useInView } from 'react-intersection-observer';
6
6
  import ReactDatePicker from 'react-datepicker';
@@ -50,7 +50,6 @@ var SvgAccessibilityFull = function SvgAccessibilityFull(_ref) {
50
50
  viewBox: "0 0 18 18",
51
51
  fill: "none",
52
52
  xmlns: "http://www.w3.org/2000/svg",
53
- role: "img",
54
53
  "aria-labelledby": titleId
55
54
  }, props), title ? /*#__PURE__*/createElement("title", {
56
55
  id: titleId
@@ -85,7 +84,6 @@ var SvgAccessibilityPartial = function SvgAccessibilityPartial(_ref) {
85
84
  viewBox: "0 0 18 18",
86
85
  fill: "none",
87
86
  xmlns: "http://www.w3.org/2000/svg",
88
- role: "img",
89
87
  "aria-labelledby": titleId
90
88
  }, props), title ? /*#__PURE__*/createElement("title", {
91
89
  id: titleId
@@ -119,7 +117,6 @@ var SvgActionCheckCircle = function SvgActionCheckCircle(_ref) {
119
117
  return /*#__PURE__*/createElement("svg", _extends$3({
120
118
  viewBox: "0 0 24 24",
121
119
  xmlns: "http://www.w3.org/2000/svg",
122
- role: "img",
123
120
  "aria-labelledby": titleId
124
121
  }, props), title ? /*#__PURE__*/createElement("title", {
125
122
  id: titleId
@@ -142,7 +139,6 @@ var SvgActionCheckCircleFilled = function SvgActionCheckCircleFilled(_ref) {
142
139
  return /*#__PURE__*/createElement("svg", _extends$4({
143
140
  viewBox: "0 0 24 24",
144
141
  xmlns: "http://www.w3.org/2000/svg",
145
- role: "img",
146
142
  "aria-labelledby": titleId
147
143
  }, props), title ? /*#__PURE__*/createElement("title", {
148
144
  id: titleId
@@ -163,7 +159,6 @@ var SvgActionExit = function SvgActionExit(_ref) {
163
159
  return /*#__PURE__*/createElement("svg", _extends$5({
164
160
  viewBox: "0 0 24 24",
165
161
  xmlns: "http://www.w3.org/2000/svg",
166
- role: "img",
167
162
  "aria-labelledby": titleId
168
163
  }, props), title ? /*#__PURE__*/createElement("title", {
169
164
  id: titleId
@@ -186,7 +181,6 @@ var SvgActionHelpDefault = function SvgActionHelpDefault(_ref) {
186
181
  return /*#__PURE__*/createElement("svg", _extends$6({
187
182
  viewBox: "0 0 24 24",
188
183
  xmlns: "http://www.w3.org/2000/svg",
189
- role: "img",
190
184
  "aria-labelledby": titleId
191
185
  }, props), title ? /*#__PURE__*/createElement("title", {
192
186
  id: titleId
@@ -209,7 +203,6 @@ var SvgActionHelpOutline = function SvgActionHelpOutline(_ref) {
209
203
  return /*#__PURE__*/createElement("svg", _extends$7({
210
204
  viewBox: "0 0 24 24",
211
205
  xmlns: "http://www.w3.org/2000/svg",
212
- role: "img",
213
206
  "aria-labelledby": titleId
214
207
  }, props), title ? /*#__PURE__*/createElement("title", {
215
208
  id: titleId
@@ -232,7 +225,6 @@ var SvgActionLaunch = function SvgActionLaunch(_ref) {
232
225
  return /*#__PURE__*/createElement("svg", _extends$8({
233
226
  viewBox: "0 0 24 24",
234
227
  xmlns: "http://www.w3.org/2000/svg",
235
- role: "img",
236
228
  "aria-labelledby": titleId
237
229
  }, props), title ? /*#__PURE__*/createElement("title", {
238
230
  id: titleId
@@ -255,7 +247,6 @@ var SvgActionPower = function SvgActionPower(_ref) {
255
247
  return /*#__PURE__*/createElement("svg", _extends$9({
256
248
  viewBox: "0 0 24 24",
257
249
  xmlns: "http://www.w3.org/2000/svg",
258
- role: "img",
259
250
  "aria-labelledby": titleId
260
251
  }, props), title ? /*#__PURE__*/createElement("title", {
261
252
  id: titleId
@@ -278,7 +269,6 @@ var SvgActionRegistration = function SvgActionRegistration(_ref) {
278
269
  return /*#__PURE__*/createElement("svg", _extends$a({
279
270
  viewBox: "0 0 24 24",
280
271
  xmlns: "http://www.w3.org/2000/svg",
281
- role: "img",
282
272
  "aria-labelledby": titleId
283
273
  }, props), title ? /*#__PURE__*/createElement("title", {
284
274
  id: titleId
@@ -299,7 +289,6 @@ var SvgActionSettings = function SvgActionSettings(_ref) {
299
289
  return /*#__PURE__*/createElement("svg", _extends$b({
300
290
  viewBox: "0 0 24 24",
301
291
  xmlns: "http://www.w3.org/2000/svg",
302
- role: "img",
303
292
  "aria-labelledby": titleId
304
293
  }, props), title ? /*#__PURE__*/createElement("title", {
305
294
  id: titleId
@@ -322,7 +311,6 @@ var SvgAlertNotificationImportant = function SvgAlertNotificationImportant(_ref)
322
311
  return /*#__PURE__*/createElement("svg", _extends$c({
323
312
  viewBox: "0 0 24 24",
324
313
  xmlns: "http://www.w3.org/2000/svg",
325
- role: "img",
326
314
  "aria-labelledby": titleId
327
315
  }, props), title ? /*#__PURE__*/createElement("title", {
328
316
  id: titleId
@@ -345,7 +333,6 @@ var SvgAlertWarningFilled = function SvgAlertWarningFilled(_ref) {
345
333
  return /*#__PURE__*/createElement("svg", _extends$d({
346
334
  viewBox: "0 0 24 24",
347
335
  xmlns: "http://www.w3.org/2000/svg",
348
- role: "img",
349
336
  "aria-labelledby": titleId
350
337
  }, props), title ? /*#__PURE__*/createElement("title", {
351
338
  id: titleId
@@ -368,7 +355,6 @@ var SvgAlertWarningOutline = function SvgAlertWarningOutline(_ref) {
368
355
  return /*#__PURE__*/createElement("svg", _extends$e({
369
356
  viewBox: "0 0 24 24",
370
357
  xmlns: "http://www.w3.org/2000/svg",
371
- role: "img",
372
358
  "aria-labelledby": titleId
373
359
  }, props), title ? /*#__PURE__*/createElement("title", {
374
360
  id: titleId
@@ -391,7 +377,6 @@ var SvgArrow = function SvgArrow(_ref) {
391
377
  return /*#__PURE__*/createElement("svg", _extends$f({
392
378
  viewBox: "0 0 24 14",
393
379
  xmlns: "http://www.w3.org/2000/svg",
394
- role: "img",
395
380
  "aria-labelledby": titleId
396
381
  }, props), title ? /*#__PURE__*/createElement("title", {
397
382
  id: titleId
@@ -414,7 +399,6 @@ var SvgBuilding = function SvgBuilding(_ref) {
414
399
  return /*#__PURE__*/createElement("svg", _extends$g({
415
400
  viewBox: "0 0 26 26",
416
401
  xmlns: "http://www.w3.org/2000/svg",
417
- role: "img",
418
402
  "aria-labelledby": titleId
419
403
  }, props), title ? /*#__PURE__*/createElement("title", {
420
404
  id: titleId
@@ -437,7 +421,6 @@ var SvgCheck = function SvgCheck(_ref) {
437
421
  return /*#__PURE__*/createElement("svg", _extends$h({
438
422
  viewBox: "0 0 24 24",
439
423
  xmlns: "http://www.w3.org/2000/svg",
440
- role: "img",
441
424
  "aria-labelledby": titleId
442
425
  }, props), title ? /*#__PURE__*/createElement("title", {
443
426
  id: titleId
@@ -458,7 +441,6 @@ var SvgClock = function SvgClock(_ref) {
458
441
  return /*#__PURE__*/createElement("svg", _extends$i({
459
442
  viewBox: "0 0 24 24",
460
443
  xmlns: "http://www.w3.org/2000/svg",
461
- role: "img",
462
444
  "aria-labelledby": titleId
463
445
  }, props), title ? /*#__PURE__*/createElement("title", {
464
446
  id: titleId
@@ -481,7 +463,6 @@ var SvgClose = function SvgClose(_ref) {
481
463
  return /*#__PURE__*/createElement("svg", _extends$j({
482
464
  viewBox: "0 0 24 24",
483
465
  xmlns: "http://www.w3.org/2000/svg",
484
- role: "img",
485
466
  "aria-labelledby": titleId
486
467
  }, props), title ? /*#__PURE__*/createElement("title", {
487
468
  id: titleId
@@ -502,7 +483,6 @@ var SvgDecorativeEnvelope = function SvgDecorativeEnvelope(_ref) {
502
483
  return /*#__PURE__*/createElement("svg", _extends$k({
503
484
  viewBox: "0 0 68 68",
504
485
  xmlns: "http://www.w3.org/2000/svg",
505
- role: "img",
506
486
  "aria-labelledby": titleId
507
487
  }, props), title ? /*#__PURE__*/createElement("title", {
508
488
  id: titleId
@@ -525,7 +505,6 @@ var SvgDecorativeLibraryCard = function SvgDecorativeLibraryCard(_ref) {
525
505
  return /*#__PURE__*/createElement("svg", _extends$l({
526
506
  viewBox: "0 0 68 68",
527
507
  xmlns: "http://www.w3.org/2000/svg",
528
- role: "img",
529
508
  "aria-labelledby": titleId
530
509
  }, props), title ? /*#__PURE__*/createElement("title", {
531
510
  id: titleId
@@ -548,7 +527,6 @@ var SvgDecorativeShoppingBag = function SvgDecorativeShoppingBag(_ref) {
548
527
  return /*#__PURE__*/createElement("svg", _extends$m({
549
528
  viewBox: "0 0 68 68",
550
529
  xmlns: "http://www.w3.org/2000/svg",
551
- role: "img",
552
530
  "aria-labelledby": titleId
553
531
  }, props), title ? /*#__PURE__*/createElement("title", {
554
532
  id: titleId
@@ -569,7 +547,6 @@ var SvgDownload = function SvgDownload(_ref) {
569
547
  return /*#__PURE__*/createElement("svg", _extends$n({
570
548
  viewBox: "0 0 14 18",
571
549
  xmlns: "http://www.w3.org/2000/svg",
572
- role: "img",
573
550
  "aria-labelledby": titleId
574
551
  }, props), title ? /*#__PURE__*/createElement("title", {
575
552
  id: titleId
@@ -592,7 +569,6 @@ var SvgErrorFilled = function SvgErrorFilled(_ref) {
592
569
  return /*#__PURE__*/createElement("svg", _extends$o({
593
570
  viewBox: "0 0 24 24",
594
571
  xmlns: "http://www.w3.org/2000/svg",
595
- role: "img",
596
572
  "aria-labelledby": titleId
597
573
  }, props), title ? /*#__PURE__*/createElement("title", {
598
574
  id: titleId
@@ -615,7 +591,6 @@ var SvgErrorOutline = function SvgErrorOutline(_ref) {
615
591
  return /*#__PURE__*/createElement("svg", _extends$p({
616
592
  viewBox: "0 0 24 24",
617
593
  xmlns: "http://www.w3.org/2000/svg",
618
- role: "img",
619
594
  "aria-labelledby": titleId
620
595
  }, props), title ? /*#__PURE__*/createElement("title", {
621
596
  id: titleId
@@ -638,7 +613,6 @@ var SvgFileTypeAudio = function SvgFileTypeAudio(_ref) {
638
613
  return /*#__PURE__*/createElement("svg", _extends$q({
639
614
  viewBox: "0 0 24 24",
640
615
  xmlns: "http://www.w3.org/2000/svg",
641
- role: "img",
642
616
  "aria-labelledby": titleId
643
617
  }, props), title ? /*#__PURE__*/createElement("title", {
644
618
  id: titleId
@@ -667,7 +641,6 @@ var SvgFileTypeDoc = function SvgFileTypeDoc(_ref) {
667
641
  return /*#__PURE__*/createElement("svg", _extends$r({
668
642
  viewBox: "0 0 24 24",
669
643
  xmlns: "http://www.w3.org/2000/svg",
670
- role: "img",
671
644
  "aria-labelledby": titleId
672
645
  }, props), title ? /*#__PURE__*/createElement("title", {
673
646
  id: titleId
@@ -696,7 +669,6 @@ var SvgFileTypeGenericDoc = function SvgFileTypeGenericDoc(_ref) {
696
669
  return /*#__PURE__*/createElement("svg", _extends$s({
697
670
  viewBox: "0 0 24 24",
698
671
  xmlns: "http://www.w3.org/2000/svg",
699
- role: "img",
700
672
  "aria-labelledby": titleId
701
673
  }, props), title ? /*#__PURE__*/createElement("title", {
702
674
  id: titleId
@@ -723,7 +695,6 @@ var SvgFileTypeImage = function SvgFileTypeImage(_ref) {
723
695
  return /*#__PURE__*/createElement("svg", _extends$t({
724
696
  viewBox: "0 0 24 24",
725
697
  xmlns: "http://www.w3.org/2000/svg",
726
- role: "img",
727
698
  "aria-labelledby": titleId
728
699
  }, props), title ? /*#__PURE__*/createElement("title", {
729
700
  id: titleId
@@ -760,7 +731,6 @@ var SvgFileTypePdf = function SvgFileTypePdf(_ref) {
760
731
  return /*#__PURE__*/createElement("svg", _extends$u({
761
732
  viewBox: "0 0 24 24",
762
733
  xmlns: "http://www.w3.org/2000/svg",
763
- role: "img",
764
734
  "aria-labelledby": titleId
765
735
  }, props), title ? /*#__PURE__*/createElement("title", {
766
736
  id: titleId
@@ -789,7 +759,6 @@ var SvgFileTypeSpreadsheet = function SvgFileTypeSpreadsheet(_ref) {
789
759
  return /*#__PURE__*/createElement("svg", _extends$v({
790
760
  viewBox: "0 0 24 24",
791
761
  xmlns: "http://www.w3.org/2000/svg",
792
- role: "img",
793
762
  "aria-labelledby": titleId
794
763
  }, props), title ? /*#__PURE__*/createElement("title", {
795
764
  id: titleId
@@ -818,7 +787,6 @@ var SvgFileTypeVideo = function SvgFileTypeVideo(_ref) {
818
787
  return /*#__PURE__*/createElement("svg", _extends$w({
819
788
  viewBox: "0 0 24 24",
820
789
  xmlns: "http://www.w3.org/2000/svg",
821
- role: "img",
822
790
  "aria-labelledby": titleId
823
791
  }, props), title ? /*#__PURE__*/createElement("title", {
824
792
  id: titleId
@@ -845,7 +813,6 @@ var SvgHeadset = function SvgHeadset(_ref) {
845
813
  return /*#__PURE__*/createElement("svg", _extends$x({
846
814
  viewBox: "0 0 18 19",
847
815
  xmlns: "http://www.w3.org/2000/svg",
848
- role: "img",
849
816
  "aria-labelledby": titleId
850
817
  }, props), title ? /*#__PURE__*/createElement("title", {
851
818
  id: titleId
@@ -866,7 +833,6 @@ var SvgLegacyAccountFilled = function SvgLegacyAccountFilled(_ref) {
866
833
  return /*#__PURE__*/createElement("svg", _extends$y({
867
834
  viewBox: "0 0 32 33",
868
835
  xmlns: "http://www.w3.org/2000/svg",
869
- role: "img",
870
836
  "aria-labelledby": titleId
871
837
  }, props), title ? /*#__PURE__*/createElement("title", {
872
838
  id: titleId
@@ -887,7 +853,6 @@ var SvgLegacyAccountUnfilled = function SvgLegacyAccountUnfilled(_ref) {
887
853
  return /*#__PURE__*/createElement("svg", _extends$z({
888
854
  viewBox: "0 0 33 33",
889
855
  xmlns: "http://www.w3.org/2000/svg",
890
- role: "img",
891
856
  "aria-labelledby": titleId
892
857
  }, props), title ? /*#__PURE__*/createElement("title", {
893
858
  id: titleId
@@ -908,7 +873,6 @@ var SvgLegacySocialFacebook = function SvgLegacySocialFacebook(_ref) {
908
873
  return /*#__PURE__*/createElement("svg", _extends$A({
909
874
  viewBox: "0 0 32 32",
910
875
  xmlns: "http://www.w3.org/2000/svg",
911
- role: "img",
912
876
  "aria-labelledby": titleId
913
877
  }, props), title ? /*#__PURE__*/createElement("title", {
914
878
  id: titleId
@@ -929,7 +893,6 @@ var SvgLegacySocialInstagram = function SvgLegacySocialInstagram(_ref) {
929
893
  return /*#__PURE__*/createElement("svg", _extends$B({
930
894
  viewBox: "0 0 32 32",
931
895
  xmlns: "http://www.w3.org/2000/svg",
932
- role: "img",
933
896
  "aria-labelledby": titleId
934
897
  }, props), title ? /*#__PURE__*/createElement("title", {
935
898
  id: titleId
@@ -950,7 +913,6 @@ var SvgLegacySocialTwitter = function SvgLegacySocialTwitter(_ref) {
950
913
  return /*#__PURE__*/createElement("svg", _extends$C({
951
914
  viewBox: "0 0 32 32",
952
915
  xmlns: "http://www.w3.org/2000/svg",
953
- role: "img",
954
916
  "aria-labelledby": titleId
955
917
  }, props), title ? /*#__PURE__*/createElement("title", {
956
918
  id: titleId
@@ -971,7 +933,6 @@ var SvgLegacySocialYoutube = function SvgLegacySocialYoutube(_ref) {
971
933
  return /*#__PURE__*/createElement("svg", _extends$D({
972
934
  viewBox: "0 0 32 32",
973
935
  xmlns: "http://www.w3.org/2000/svg",
974
- role: "img",
975
936
  "aria-labelledby": titleId
976
937
  }, props), title ? /*#__PURE__*/createElement("title", {
977
938
  id: titleId
@@ -992,7 +953,6 @@ var SvgLocator = function SvgLocator(_ref) {
992
953
  return /*#__PURE__*/createElement("svg", _extends$E({
993
954
  viewBox: "0 0 32 32",
994
955
  xmlns: "http://www.w3.org/2000/svg",
995
- role: "img",
996
956
  "aria-labelledby": titleId
997
957
  }, props), title ? /*#__PURE__*/createElement("title", {
998
958
  id: titleId
@@ -1017,7 +977,6 @@ var SvgMinus = function SvgMinus(_ref) {
1017
977
  width: 24,
1018
978
  height: 2,
1019
979
  xmlns: "http://www.w3.org/2000/svg",
1020
- role: "img",
1021
980
  "aria-labelledby": titleId
1022
981
  }, props), title ? /*#__PURE__*/createElement("title", {
1023
982
  id: titleId
@@ -1040,7 +999,6 @@ var SvgPlus = function SvgPlus(_ref) {
1040
999
  return /*#__PURE__*/createElement("svg", _extends$G({
1041
1000
  viewBox: "0 0 23 23",
1042
1001
  xmlns: "http://www.w3.org/2000/svg",
1043
- role: "img",
1044
1002
  "aria-labelledby": titleId
1045
1003
  }, props), title ? /*#__PURE__*/createElement("title", {
1046
1004
  id: titleId
@@ -1071,7 +1029,6 @@ var SvgSearch = function SvgSearch(_ref) {
1071
1029
  return /*#__PURE__*/createElement("svg", _extends$H({
1072
1030
  viewBox: "0 0 24 24",
1073
1031
  xmlns: "http://www.w3.org/2000/svg",
1074
- role: "img",
1075
1032
  "aria-labelledby": titleId
1076
1033
  }, props), title ? /*#__PURE__*/createElement("title", {
1077
1034
  id: titleId
@@ -1094,7 +1051,6 @@ var SvgSocialFacebook = function SvgSocialFacebook(_ref) {
1094
1051
  return /*#__PURE__*/createElement("svg", _extends$I({
1095
1052
  viewBox: "0 0 36 36",
1096
1053
  xmlns: "http://www.w3.org/2000/svg",
1097
- role: "img",
1098
1054
  "aria-labelledby": titleId
1099
1055
  }, props), title ? /*#__PURE__*/createElement("title", {
1100
1056
  id: titleId
@@ -1117,7 +1073,6 @@ var SvgSocialInstagram = function SvgSocialInstagram(_ref) {
1117
1073
  return /*#__PURE__*/createElement("svg", _extends$J({
1118
1074
  viewBox: "0 0 37 37",
1119
1075
  xmlns: "http://www.w3.org/2000/svg",
1120
- role: "img",
1121
1076
  "aria-labelledby": titleId
1122
1077
  }, props), title ? /*#__PURE__*/createElement("title", {
1123
1078
  id: titleId
@@ -1144,7 +1099,6 @@ var SvgSocialTumblr = function SvgSocialTumblr(_ref) {
1144
1099
  return /*#__PURE__*/createElement("svg", _extends$K({
1145
1100
  viewBox: "0 0 36 36",
1146
1101
  xmlns: "http://www.w3.org/2000/svg",
1147
- role: "img",
1148
1102
  "aria-labelledby": titleId
1149
1103
  }, props), title ? /*#__PURE__*/createElement("title", {
1150
1104
  id: titleId
@@ -1169,7 +1123,6 @@ var SvgSocialTwitter = function SvgSocialTwitter(_ref) {
1169
1123
  return /*#__PURE__*/createElement("svg", _extends$L({
1170
1124
  viewBox: "0 0 36 36",
1171
1125
  xmlns: "http://www.w3.org/2000/svg",
1172
- role: "img",
1173
1126
  "aria-labelledby": titleId
1174
1127
  }, props), title ? /*#__PURE__*/createElement("title", {
1175
1128
  id: titleId
@@ -1192,7 +1145,6 @@ var SvgSocialYoutube = function SvgSocialYoutube(_ref) {
1192
1145
  return /*#__PURE__*/createElement("svg", _extends$M({
1193
1146
  viewBox: "0 0 36 36",
1194
1147
  xmlns: "http://www.w3.org/2000/svg",
1195
- role: "img",
1196
1148
  "aria-labelledby": titleId
1197
1149
  }, props), title ? /*#__PURE__*/createElement("title", {
1198
1150
  id: titleId
@@ -1217,7 +1169,6 @@ var SvgSpeakerNotes = function SvgSpeakerNotes(_ref) {
1217
1169
  return /*#__PURE__*/createElement("svg", _extends$N({
1218
1170
  viewBox: "0 0 24 24",
1219
1171
  xmlns: "http://www.w3.org/2000/svg",
1220
- role: "img",
1221
1172
  "aria-labelledby": titleId
1222
1173
  }, props), title ? /*#__PURE__*/createElement("title", {
1223
1174
  id: titleId
@@ -1241,7 +1192,6 @@ var SvgUtilityAccountFilled = function SvgUtilityAccountFilled(_ref) {
1241
1192
  viewBox: "0 0 24 24",
1242
1193
  fill: "none",
1243
1194
  xmlns: "http://www.w3.org/2000/svg",
1244
- role: "img",
1245
1195
  "aria-labelledby": titleId
1246
1196
  }, props), title ? /*#__PURE__*/createElement("title", {
1247
1197
  id: titleId
@@ -1267,7 +1217,6 @@ var SvgUtilityAccountUnfilled = function SvgUtilityAccountUnfilled(_ref) {
1267
1217
  viewBox: "0 0 24 24",
1268
1218
  fill: "none",
1269
1219
  xmlns: "http://www.w3.org/2000/svg",
1270
- role: "img",
1271
1220
  "aria-labelledby": titleId
1272
1221
  }, props), title ? /*#__PURE__*/createElement("title", {
1273
1222
  id: titleId
@@ -1298,7 +1247,6 @@ var SvgUtilityHamburger = function SvgUtilityHamburger(_ref) {
1298
1247
  return /*#__PURE__*/createElement("svg", _extends$Q({
1299
1248
  viewBox: "0 0 24 24",
1300
1249
  xmlns: "http://www.w3.org/2000/svg",
1301
- role: "img",
1302
1250
  "aria-labelledby": titleId
1303
1251
  }, props), title ? /*#__PURE__*/createElement("title", {
1304
1252
  id: titleId
@@ -1585,9 +1533,6 @@ var Button = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
1585
1533
  if (!id) {
1586
1534
  console.warn("NYPL Reservoir Button: This component's required `id` prop was not passed.");
1587
1535
  }
1588
- if (buttonType === "link") {
1589
- console.warn("NYPL Reservoir Button: The 'link' value for the 'buttonType' prop has been deprecated.");
1590
- }
1591
1536
  React__default.Children.map(children, function (child) {
1592
1537
  childCount++;
1593
1538
  if (child !== undefined && child !== null) {
@@ -2317,9 +2262,9 @@ var ButtonGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
2317
2262
  buttonWidth: finalButtonWidth
2318
2263
  });
2319
2264
  React__default.Children.map(children, function (child, key) {
2320
- if (child.type !== Button) {
2265
+ if ((child == null ? void 0 : child.type) !== Button) {
2321
2266
  // Special case for Storybook MDX documentation.
2322
- if (child.props.mdxType && child.props.mdxType === "Button") ; else {
2267
+ if (child != null && child.props.mdxType && (child == null ? void 0 : child.props.mdxType) === "Button") ; else {
2323
2268
  console.warn("NYPL Reservoir ButtonGroup: Only Button components can be children of ButtonGroup.");
2324
2269
  return;
2325
2270
  }
@@ -2327,7 +2272,7 @@ var ButtonGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
2327
2272
  var disabledProps = isDisabled ? {
2328
2273
  isDisabled: isDisabled
2329
2274
  } : {};
2330
- newChildren.push(React__default.cloneElement(child, _extends({
2275
+ child && newChildren.push(React__default.cloneElement(child, _extends({
2331
2276
  key: key
2332
2277
  }, disabledProps)));
2333
2278
  });
@@ -3073,36 +3018,6 @@ var CheckboxGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
3073
3018
  }));
3074
3019
  }));
3075
3020
 
3076
- var _excluded$15 = ["children", "columns", "className", "gap", "id"];
3077
- var SimpleGrid = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3078
- var children = props.children,
3079
- columns = props.columns,
3080
- className = props.className,
3081
- _props$gap = props.gap,
3082
- gap = _props$gap === void 0 ? "grid.l" : _props$gap,
3083
- id = props.id,
3084
- rest = _objectWithoutPropertiesLoose(props, _excluded$15);
3085
- var responsiveCols = columns ? {
3086
- base: 1,
3087
- md: columns
3088
- } : {
3089
- base: 1,
3090
- md: 2,
3091
- lg: 3
3092
- };
3093
- return React__default.createElement(SimpleGrid$1, Object.assign({
3094
- className: className,
3095
- columns: responsiveCols,
3096
- gap: gap,
3097
- id: id,
3098
- ref: ref
3099
- }, rest), children);
3100
- }), {
3101
- shouldForwardProp: function shouldForwardProp() {
3102
- return true;
3103
- }
3104
- });
3105
-
3106
3021
  /**
3107
3022
  * React hook used to get the window size on device resizing.
3108
3023
  * Based on https://usehooks-typescript.com/react-hook/use-window-size
@@ -3132,7 +3047,7 @@ function useWindowSize() {
3132
3047
  return windowSize;
3133
3048
  }
3134
3049
 
3135
- var _excluded$16 = ["className", "columnHeaders", "columnHeadersBackgroundColor", "columnHeadersTextColor", "id", "showRowDividers", "tableData", "titleText", "useRowHeaders"];
3050
+ var _excluded$15 = ["className", "columnHeaders", "columnHeadersBackgroundColor", "columnHeadersTextColor", "id", "showRowDividers", "tableData", "titleText", "useRowHeaders"];
3136
3051
  /**
3137
3052
  * Basic `Table` component used to organize and display tabular data in
3138
3053
  * rows and columns.
@@ -3150,7 +3065,7 @@ var Table = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3150
3065
  titleText = props.titleText,
3151
3066
  _props$useRowHeaders = props.useRowHeaders,
3152
3067
  useRowHeaders = _props$useRowHeaders === void 0 ? false : _props$useRowHeaders,
3153
- rest = _objectWithoutPropertiesLoose(props, _excluded$16);
3068
+ rest = _objectWithoutPropertiesLoose(props, _excluded$15);
3154
3069
  var customColors = {};
3155
3070
  columnHeadersBackgroundColor && (customColors["backgroundColor"] = columnHeadersBackgroundColor);
3156
3071
  columnHeadersTextColor && (customColors["color"] = columnHeadersTextColor);
@@ -3217,113 +3132,37 @@ var Table = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3217
3132
  }, rest), tableCaption, columnHeadersElems, tableBodyElems());
3218
3133
  }));
3219
3134
 
3220
- /**
3221
- * A custom hook that returns the Chakra-based NYPL theme object. This must be
3222
- * used inside a component that is wrapped in the `DSProvider` component, so
3223
- * that the theme object can be available to use.
3224
- */
3225
- function useNYPLTheme() {
3226
- var theme = useTheme();
3227
- if (!theme || Object.keys(theme).length === 0) {
3228
- console.warn("NYPL Reservoir useNYPLTheme: hook must be used inside of `<DSProvider />`.");
3229
- return {};
3230
- }
3231
- // Chakra provides a lot of their own styles but
3232
- // only NYPL styles should be exported.
3233
- return {
3234
- // base, sm, md, lg, xl, 2xl
3235
- breakpoints: theme.breakpoints,
3236
- colors: {
3237
- // primary, secondary
3238
- brand: theme.colors.brand,
3239
- // dark mode colors:
3240
- // ui.disabled, ui.error, ui.focus, ui.link,
3241
- // ui.status, ui.success, ui.test, ui.warning,
3242
- // ui.bg, ui.border, ui.typography
3243
- dark: theme.colors.dark,
3244
- // blogs, books-and-more, education, locations,
3245
- // research, research-library, whats-on
3246
- section: theme.colors.section,
3247
- transparent: theme.colors.transparent,
3248
- // black, white, gray, disabled, error, focus, link,
3249
- // status, success, test, warning, bg, border, typography
3250
- ui: theme.colors.ui
3251
- },
3252
- fontSizes: {
3253
- "-3": theme.fontSizes["-3"],
3254
- "-2": theme.fontSizes["-2"],
3255
- "-1": theme.fontSizes["-1"],
3256
- "0": theme.fontSizes["0"],
3257
- "1": theme.fontSizes["1"],
3258
- "2": theme.fontSizes["2"],
3259
- "3": theme.fontSizes["3"],
3260
- "4": theme.fontSizes["4"],
3261
- // default
3262
- breadcrumbs: theme.fontSizes.breadcrumbs,
3263
- // default
3264
- button: theme.fontSizes.button,
3265
- // primary, secondary, tertiary, callout
3266
- heading: theme.fontSizes.heading,
3267
- // default
3268
- helper: theme.fontSizes.helper,
3269
- // default, secondary
3270
- label: theme.fontSizes.label,
3271
- // default, caption, tag, mini
3272
- text: theme.fontSizes.text
3273
- },
3274
- fontWeights: {
3275
- light: theme.fontWeights.light,
3276
- regular: theme.fontWeights.regular,
3277
- medium: theme.fontWeights.medium,
3278
- bold: theme.fontWeights.bold,
3279
- // default, lastChild
3280
- breadcrumbs: theme.fontWeights.breadcrumbs,
3281
- // default
3282
- button: theme.fontWeights.button,
3283
- // primary, secondary, tertiary, callout
3284
- heading: theme.fontWeights.heading,
3285
- // default
3286
- helper: theme.fontWeights.helper,
3287
- // default
3288
- label: theme.fontWeights.label,
3289
- // default, caption, tag, mini
3290
- text: theme.fontWeights.text
3291
- },
3292
- fonts: {
3293
- body: theme.fonts.body,
3294
- heading: theme.fonts.heading
3295
- },
3296
- radii: theme.radii,
3297
- space: {
3298
- xxs: theme.space.xxs,
3299
- xs: theme.space.xs,
3300
- s: theme.space.s,
3301
- m: theme.space.m,
3302
- l: theme.space.l,
3303
- xl: theme.space.xl,
3304
- xxl: theme.space.xxl,
3305
- xxxl: theme.space.xxxl
3135
+ var SmallColorSwatch = function SmallColorSwatch(props) {
3136
+ var backgroundColor = props.backgroundColor,
3137
+ border = props.border,
3138
+ darkBorder = props.darkBorder;
3139
+ return createElement("span", {
3140
+ style: {
3141
+ backgroundColor: backgroundColor,
3142
+ border: !border && !darkBorder ? null : darkBorder ? "1px solid #191919" : "1px solid #E9E9E9",
3143
+ display: "inline-block",
3144
+ height: "1rem",
3145
+ marginRight: ".5rem",
3146
+ verticalAlign: "middle",
3147
+ width: "1rem"
3306
3148
  }
3307
- };
3308
- }
3309
-
3149
+ });
3150
+ };
3310
3151
  var DataTable = function DataTable(props) {
3311
3152
  var dataBgPageColor = props.dataBgPageColor,
3312
3153
  dataBgDefaultColor = props.dataBgDefaultColor,
3154
+ dataDarkBgPageColor = props.dataDarkBgPageColor,
3155
+ dataDarkBgDefaultColor = props.dataDarkBgDefaultColor,
3313
3156
  _props$dataBlackColor = props.dataBlackColor,
3314
3157
  dataBlackColor = _props$dataBlackColor === void 0 ? ["--", "--", "--"] : _props$dataBlackColor,
3315
- dataHeadingColor = props.dataHeadingColor,
3316
- dataBodyColor = props.dataBodyColor,
3158
+ dataDarkHeadingColor = props.dataDarkHeadingColor,
3159
+ dataDarkBodyColor = props.dataDarkBodyColor,
3317
3160
  _props$dataWhiteColor = props.dataWhiteColor,
3318
3161
  dataWhiteColor = _props$dataWhiteColor === void 0 ? ["--", "--", "--"] : _props$dataWhiteColor,
3162
+ dataBrandPrimaryColor = props.dataBrandPrimaryColor,
3163
+ dataBrandSecondaryColor = props.dataBrandSecondaryColor,
3319
3164
  _props$textColor = props.textColor,
3320
3165
  textColor = _props$textColor === void 0 ? "ui.white" : _props$textColor;
3321
- var _useNYPLTheme = useNYPLTheme(),
3322
- ui = _useNYPLTheme.colors.ui;
3323
- var grayxxxxDark = ui.gray["xxxx-dark"];
3324
- var grayxxxDark = ui.gray["xxx-dark"];
3325
- var grayLightCool = ui.gray["light-cool"];
3326
- var grayMedium = ui.gray.medium;
3327
3166
  var SuccessIcon = function SuccessIcon() {
3328
3167
  return createElement(Icon, {
3329
3168
  color: textColor,
@@ -3348,29 +3187,41 @@ var DataTable = function DataTable(props) {
3348
3187
  var whiteLargeTextSuccess = successfulContrast(dataWhiteColor, "large");
3349
3188
  var blackSmallTextSuccess = successfulContrast(dataBlackColor);
3350
3189
  var blackLargeTextSuccess = successfulContrast(dataBlackColor, "large");
3190
+ var brandPrimarySmallTextSuccess = dataBrandPrimaryColor && successfulContrast(dataBrandPrimaryColor);
3191
+ var brandPrimaryLargeTextSuccess = dataBrandPrimaryColor && successfulContrast(dataBrandPrimaryColor, "large");
3192
+ var brandSecondarySmallTextSuccess = dataBrandSecondaryColor && successfulContrast(dataBrandSecondaryColor);
3193
+ var brandSecondaryLargeTextSuccess = dataBrandSecondaryColor && successfulContrast(dataBrandSecondaryColor, "large");
3351
3194
  // The dark theme colors might have the following color contrast information.
3352
3195
  var bgPageSmallTextSuccess = dataBgPageColor && successfulContrast(dataBgPageColor);
3353
3196
  var bgPageLargeTextSuccess = dataBgPageColor && successfulContrast(dataBgPageColor, "large");
3354
3197
  var bgDefaultSmallTextSuccess = dataBgDefaultColor && successfulContrast(dataBgDefaultColor);
3355
3198
  var bgDefaultLargeTextSuccess = dataBgDefaultColor && successfulContrast(dataBgDefaultColor, "large");
3356
- var headingSmallTextSuccess = dataHeadingColor && successfulContrast(dataHeadingColor);
3357
- var headingLargeTextSuccess = dataHeadingColor && successfulContrast(dataHeadingColor, "large");
3358
- var textSmallTextSuccess = dataBodyColor && successfulContrast(dataBodyColor);
3359
- var textLargeTextSuccess = dataBodyColor && successfulContrast(dataBodyColor, "large");
3199
+ var darkBgPageSmallTextSuccess = dataDarkBgPageColor && successfulContrast(dataDarkBgPageColor);
3200
+ var darkBgPageLargeTextSuccess = dataDarkBgPageColor && successfulContrast(dataDarkBgPageColor, "large");
3201
+ var darkBgDefaultSmallTextSuccess = dataDarkBgDefaultColor && successfulContrast(dataDarkBgDefaultColor);
3202
+ var darkBgDefaultLargeTextSuccess = dataDarkBgDefaultColor && successfulContrast(dataDarkBgDefaultColor, "large");
3203
+ var darkHeadingSmallTextSuccess = dataDarkHeadingColor && successfulContrast(dataDarkHeadingColor);
3204
+ var darkHeadingLargeTextSuccess = dataDarkHeadingColor && successfulContrast(dataDarkHeadingColor, "large");
3205
+ var textSmallTextSuccess = dataDarkBodyColor && successfulContrast(dataDarkBodyColor);
3206
+ var textLargeTextSuccess = dataDarkBodyColor && successfulContrast(dataDarkBodyColor, "large");
3360
3207
  // All ColorCards have these two rows.
3361
3208
  var tableData = [[createElement("span", {
3362
3209
  key: "colorUiWhite",
3363
3210
  style: {
3364
- color: "white",
3365
3211
  padding: 0
3366
3212
  }
3367
- }, "ui.white"), dataWhiteColor[0] + ":1", createElement(Fragment, null, dataWhiteColor[1], whiteSmallTextSuccess), createElement(Fragment, null, dataWhiteColor[2], whiteLargeTextSuccess)], [createElement("span", {
3213
+ }, createElement(SmallColorSwatch, {
3214
+ backgroundColor: "white",
3215
+ border: true
3216
+ }), "ui.white"), dataWhiteColor[0] + ":1", createElement(Fragment, null, dataWhiteColor[1], whiteSmallTextSuccess), createElement(Fragment, null, dataWhiteColor[2], whiteLargeTextSuccess)], [createElement("span", {
3368
3217
  key: "colorUiBlack",
3369
3218
  style: {
3370
- color: "black",
3371
3219
  padding: 0
3372
3220
  }
3373
- }, "ui.black"), dataBlackColor[0] + ":1", createElement(Fragment, null, dataBlackColor[1], blackSmallTextSuccess), createElement(Fragment, null, dataBlackColor[2], blackLargeTextSuccess)]];
3221
+ }, createElement(SmallColorSwatch, {
3222
+ backgroundColor: "black",
3223
+ darkBorder: true
3224
+ }), "ui.black"), dataBlackColor[0] + ":1", createElement(Fragment, null, dataBlackColor[1], blackSmallTextSuccess), createElement(Fragment, null, dataBlackColor[2], blackLargeTextSuccess)]];
3374
3225
  var cellStyles = {
3375
3226
  borderColor: textColor === "ui.white" ? "white !important" : "black !important",
3376
3227
  fontWeight: "medium",
@@ -3379,56 +3230,109 @@ var DataTable = function DataTable(props) {
3379
3230
  var tableStyles = {
3380
3231
  tbody: {
3381
3232
  td: _extends({
3382
- fontSize: "text.caption"
3233
+ fontSize: "text.tag"
3383
3234
  }, cellStyles),
3384
3235
  th: _extends({
3385
- fontSize: "text.caption",
3236
+ fontSize: "text.tag",
3386
3237
  textTransform: "none"
3387
- }, cellStyles)
3238
+ }, cellStyles, {
3239
+ _first: {
3240
+ span: {
3241
+ color: textColor
3242
+ }
3243
+ }
3244
+ })
3388
3245
  },
3389
3246
  thead: {
3390
3247
  th: _extends({
3391
3248
  color: textColor,
3392
- fontSize: "text.tag"
3249
+ fontSize: "text.tag",
3250
+ textTransform: "uppercase"
3393
3251
  }, cellStyles)
3394
3252
  }
3395
3253
  };
3396
- // For dark mode `ColorCard`s, there are four extra rows.
3254
+ // The Brand colors are needed for some `ColorCard`s.
3255
+ if (dataBrandPrimaryColor && dataBrandPrimaryColor.length > 0) {
3256
+ tableData.push([createElement("span", {
3257
+ key: "colorBrandPrimaryPage",
3258
+ style: {
3259
+ padding: 0
3260
+ }
3261
+ }, createElement(SmallColorSwatch, {
3262
+ backgroundColor: "var(--nypl-colors-brand-primary)"
3263
+ }), "brand.primary"), dataBrandPrimaryColor[0] + ":1", createElement(Fragment, null, dataBrandPrimaryColor[1], brandPrimarySmallTextSuccess), createElement(Fragment, null, dataBrandPrimaryColor[2], brandPrimaryLargeTextSuccess)]);
3264
+ }
3265
+ if (dataBrandSecondaryColor && dataBrandSecondaryColor.length > 0) {
3266
+ tableData.push([createElement("span", {
3267
+ key: "colorBrandSecondaryPage",
3268
+ style: {
3269
+ padding: 0
3270
+ }
3271
+ }, createElement(SmallColorSwatch, {
3272
+ backgroundColor: "var(--nypl-colors-brand-secondary)"
3273
+ }), "brand.secondary"), dataBrandSecondaryColor[0] + ":1", createElement(Fragment, null, dataBrandSecondaryColor[1], brandSecondarySmallTextSuccess), createElement(Fragment, null, dataBrandSecondaryColor[2], brandSecondaryLargeTextSuccess)]);
3274
+ }
3397
3275
  if (dataBgPageColor && dataBgPageColor.length > 0) {
3398
3276
  tableData.push([createElement("span", {
3399
3277
  key: "colorBgPage",
3400
3278
  style: {
3401
- color: grayxxxxDark,
3402
3279
  padding: 0
3403
3280
  }
3404
- }, "bg page"), dataBgPageColor[0] + ":1", createElement(Fragment, null, dataBgPageColor[1], bgPageSmallTextSuccess), createElement(Fragment, null, dataBgPageColor[2], bgPageLargeTextSuccess)]);
3281
+ }, createElement(SmallColorSwatch, {
3282
+ backgroundColor: "var(--nypl-colors-ui-bg-page)",
3283
+ border: true
3284
+ }), "ui.bg.page"), dataBgPageColor[0] + ":1", createElement(Fragment, null, dataBgPageColor[1], bgPageSmallTextSuccess), createElement(Fragment, null, dataBgPageColor[2], bgPageLargeTextSuccess)]);
3405
3285
  }
3406
3286
  if (dataBgDefaultColor && dataBgDefaultColor.length > 0) {
3407
3287
  tableData.push([createElement("span", {
3408
3288
  key: "colorBgDefault",
3409
3289
  style: {
3410
- color: grayxxxDark,
3411
3290
  padding: 0
3412
3291
  }
3413
- }, "bg default"), dataBgDefaultColor[0] + ":1", createElement(Fragment, null, dataBgDefaultColor[1], bgDefaultSmallTextSuccess), createElement(Fragment, null, dataBgDefaultColor[2], bgDefaultLargeTextSuccess)]);
3292
+ }, createElement(SmallColorSwatch, {
3293
+ backgroundColor: "var(--nypl-colors-ui-bg-default)"
3294
+ }), "ui.bg.default"), dataBgDefaultColor[0] + ":1", createElement(Fragment, null, dataBgDefaultColor[1], bgDefaultSmallTextSuccess), createElement(Fragment, null, dataBgDefaultColor[2], bgDefaultLargeTextSuccess)]);
3295
+ }
3296
+ // For dark mode `ColorCard`s, there are four extra rows.
3297
+ if (dataDarkBgPageColor && dataDarkBgPageColor.length > 0) {
3298
+ tableData.push([createElement("span", {
3299
+ key: "colorDarkBgPage",
3300
+ style: {
3301
+ padding: 0
3302
+ }
3303
+ }, createElement(SmallColorSwatch, {
3304
+ backgroundColor: "var(--nypl-colors-dark-ui-bg-page)"
3305
+ }), "dark.ui.bg.page"), dataDarkBgPageColor[0] + ":1", createElement(Fragment, null, dataDarkBgPageColor[1], darkBgPageSmallTextSuccess), createElement(Fragment, null, dataDarkBgPageColor[2], darkBgPageLargeTextSuccess)]);
3306
+ }
3307
+ if (dataDarkBgDefaultColor && dataDarkBgDefaultColor.length > 0) {
3308
+ tableData.push([createElement("span", {
3309
+ key: "colorDarkBgDefault",
3310
+ style: {
3311
+ padding: 0
3312
+ }
3313
+ }, createElement(SmallColorSwatch, {
3314
+ backgroundColor: "var(--nypl-colors-dark-ui-bg-default)"
3315
+ }), "dark.ui.bg.default"), dataDarkBgDefaultColor[0] + ":1", createElement(Fragment, null, dataDarkBgDefaultColor[1], darkBgDefaultSmallTextSuccess), createElement(Fragment, null, dataDarkBgDefaultColor[2], darkBgDefaultLargeTextSuccess)]);
3414
3316
  }
3415
- if (dataHeadingColor && dataHeadingColor.length > 0) {
3317
+ if (dataDarkHeadingColor && dataDarkHeadingColor.length > 0) {
3416
3318
  tableData.push([createElement("span", {
3417
- key: "colorHeading",
3319
+ key: "colorDarkHeading",
3418
3320
  style: {
3419
- color: grayLightCool,
3420
3321
  padding: 0
3421
3322
  }
3422
- }, "heading"), dataHeadingColor[0] + ":1", createElement(Fragment, null, dataHeadingColor[1], headingSmallTextSuccess), createElement(Fragment, null, dataHeadingColor[2], headingLargeTextSuccess)]);
3323
+ }, createElement(SmallColorSwatch, {
3324
+ backgroundColor: "var(--nypl-colors-ui-typography-heading)"
3325
+ }), "ui.typography.heading"), dataDarkHeadingColor[0] + ":1", createElement(Fragment, null, dataDarkHeadingColor[1], darkHeadingSmallTextSuccess), createElement(Fragment, null, dataDarkHeadingColor[2], darkHeadingLargeTextSuccess)]);
3423
3326
  }
3424
- if (dataBodyColor && dataBodyColor.length > 0) {
3327
+ if (dataDarkBodyColor && dataDarkBodyColor.length > 0) {
3425
3328
  tableData.push([createElement("span", {
3426
- key: "colorText",
3329
+ key: "colorDarkText",
3427
3330
  style: {
3428
- color: grayMedium,
3429
3331
  padding: 0
3430
3332
  }
3431
- }, "body"), dataBodyColor[0] + ":1", createElement(Fragment, null, dataBodyColor[1], textSmallTextSuccess), createElement(Fragment, null, dataBodyColor[2], textLargeTextSuccess)]);
3333
+ }, createElement(SmallColorSwatch, {
3334
+ backgroundColor: "var(--nypl-colors-ui-typography-body)"
3335
+ }), "ui.typography.body"), dataDarkBodyColor[0] + ":1", createElement(Fragment, null, dataDarkBodyColor[1], textSmallTextSuccess), createElement(Fragment, null, dataDarkBodyColor[2], textLargeTextSuccess)]);
3432
3336
  }
3433
3337
  return createElement(Table, {
3434
3338
  columnHeaders: columnHeaders,
@@ -3442,19 +3346,23 @@ var ColorCard = function ColorCard(props) {
3442
3346
  var backgroundColor = props.backgroundColor,
3443
3347
  dataBgPageColor = props.dataBgPageColor,
3444
3348
  dataBgDefaultColor = props.dataBgDefaultColor,
3349
+ dataDarkBgPageColor = props.dataDarkBgPageColor,
3350
+ dataDarkBgDefaultColor = props.dataDarkBgDefaultColor,
3445
3351
  _props$colorName = props.colorName,
3446
3352
  colorName = _props$colorName === void 0 ? "" : _props$colorName,
3447
3353
  colorSource = props.colorSource,
3448
3354
  _props$dataBlackColor2 = props.dataBlackColor,
3449
3355
  dataBlackColor = _props$dataBlackColor2 === void 0 ? ["--", "--", "--"] : _props$dataBlackColor2,
3450
- dataHeadingColor = props.dataHeadingColor,
3451
- dataBodyColor = props.dataBodyColor,
3356
+ dataDarkHeadingColor = props.dataDarkHeadingColor,
3357
+ dataDarkBodyColor = props.dataDarkBodyColor,
3452
3358
  _props$dataWhiteColor2 = props.dataWhiteColor,
3453
3359
  dataWhiteColor = _props$dataWhiteColor2 === void 0 ? ["--", "--", "--"] : _props$dataWhiteColor2,
3360
+ dataBrandPrimaryColor = props.dataBrandPrimaryColor,
3361
+ dataBrandSecondaryColor = props.dataBrandSecondaryColor,
3454
3362
  _props$textColor2 = props.textColor,
3455
3363
  textColor = _props$textColor2 === void 0 ? "ui.white" : _props$textColor2;
3456
3364
  var cssVarName = "--nypl-colors-" + colorName.replace(/\./g, "-");
3457
- var border = backgroundColor === "ui.white" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : undefined;
3365
+ var border = backgroundColor === "ui.white" || backgroundColor === "ui.typography.inverse.heading" || backgroundColor === "ui.typography.inverse.body" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : undefined;
3458
3366
  return createElement(Box, {
3459
3367
  bg: backgroundColor,
3460
3368
  color: textColor,
@@ -3462,9 +3370,11 @@ var ColorCard = function ColorCard(props) {
3462
3370
  paddingBottom: "m",
3463
3371
  paddingTop: "s",
3464
3372
  border: border
3465
- }, createElement(SimpleGrid, {
3466
- columns: 2
3467
- }, createElement(Box, null, createElement(Heading, {
3373
+ }, createElement(HStack, {
3374
+ alignItems: "top"
3375
+ }, createElement(Box, {
3376
+ width: "80%"
3377
+ }, createElement(Heading, {
3468
3378
  noSpace: true,
3469
3379
  size: "tertiary"
3470
3380
  }, backgroundColor), createElement(Text, {
@@ -3478,14 +3388,48 @@ var ColorCard = function ColorCard(props) {
3478
3388
  }, "Source: ", colorSource)), createElement(DataTable, {
3479
3389
  dataBgPageColor: dataBgPageColor,
3480
3390
  dataBgDefaultColor: dataBgDefaultColor,
3391
+ dataDarkBgPageColor: dataDarkBgPageColor,
3392
+ dataDarkBgDefaultColor: dataDarkBgDefaultColor,
3481
3393
  dataBlackColor: dataBlackColor,
3482
- dataHeadingColor: dataHeadingColor,
3483
- dataBodyColor: dataBodyColor,
3394
+ dataDarkHeadingColor: dataDarkHeadingColor,
3395
+ dataDarkBodyColor: dataDarkBodyColor,
3484
3396
  dataWhiteColor: dataWhiteColor,
3397
+ dataBrandPrimaryColor: dataBrandPrimaryColor,
3398
+ dataBrandSecondaryColor: dataBrandSecondaryColor,
3485
3399
  textColor: textColor
3486
3400
  })));
3487
3401
  };
3488
3402
 
3403
+ var _excluded$16 = ["children", "columns", "className", "gap", "id"];
3404
+ var SimpleGrid = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3405
+ var children = props.children,
3406
+ columns = props.columns,
3407
+ className = props.className,
3408
+ _props$gap = props.gap,
3409
+ gap = _props$gap === void 0 ? "grid.l" : _props$gap,
3410
+ id = props.id,
3411
+ rest = _objectWithoutPropertiesLoose(props, _excluded$16);
3412
+ var responsiveCols = columns ? {
3413
+ base: 1,
3414
+ md: columns
3415
+ } : {
3416
+ base: 1,
3417
+ md: 2,
3418
+ lg: 3
3419
+ };
3420
+ return React__default.createElement(SimpleGrid$1, Object.assign({
3421
+ className: className,
3422
+ columns: responsiveCols,
3423
+ gap: gap,
3424
+ id: id,
3425
+ ref: ref
3426
+ }, rest), children);
3427
+ }), {
3428
+ shouldForwardProp: function shouldForwardProp() {
3429
+ return true;
3430
+ }
3431
+ });
3432
+
3489
3433
  var _excluded$17 = ["children", "className", "gap", "id"],
3490
3434
  _excluded2$3 = ["children", "className", "gap", "id"],
3491
3435
  _excluded3$1 = ["action", "children", "className", "gap", "id", "method", "onSubmit"];
@@ -3546,7 +3490,7 @@ var Form = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3546
3490
  action && (attributes["action"] = action);
3547
3491
  method && (method === "get" || method === "post") && (attributes["method"] = method);
3548
3492
  var alteredChildren = React__default.Children.map(children, function (child, i) {
3549
- return React__default.cloneElement(child, {
3493
+ return child && React__default.cloneElement(child, {
3550
3494
  gap: gap,
3551
3495
  id: id + "-child" + i
3552
3496
  });
@@ -4266,7 +4210,7 @@ var global = {
4266
4210
  * Chakra Value | DS Variable | EM/PX value
4267
4211
  * ------------------------------------------------------
4268
4212
  * sm | --nypl-breakpoint-small | 20em/320px
4269
- * md | --nypl-breakpoint-medium | 38em/600px
4213
+ * md | --nypl-breakpoint-medium | 37.5em/600px
4270
4214
  * lg | --nypl-breakpoint-large | 60em/960px
4271
4215
  * xl | --nypl-breakpoint-xl | 80em/1280px
4272
4216
  * 2xl | N/A | 96em/1536px
@@ -4276,7 +4220,7 @@ var global = {
4276
4220
  */
4277
4221
  var breakpoints = /*#__PURE__*/createBreakpoints({
4278
4222
  sm: "20em",
4279
- md: "38em",
4223
+ md: "37.5em",
4280
4224
  lg: "60em",
4281
4225
  xl: "80em",
4282
4226
  "2xl": "96em"
@@ -4353,6 +4297,7 @@ var colors = {
4353
4297
  },
4354
4298
  // Semantic colors
4355
4299
  bg: {
4300
+ page: white,
4356
4301
  "default": grayxLightCool,
4357
4302
  hover: grayLightCool,
4358
4303
  active: grayMedium
@@ -4363,7 +4308,11 @@ var colors = {
4363
4308
  },
4364
4309
  typography: {
4365
4310
  heading: black,
4366
- body: black
4311
+ body: black,
4312
+ inverse: {
4313
+ heading: white,
4314
+ body: white
4315
+ }
4367
4316
  },
4368
4317
  // Grayscale
4369
4318
  gray: {
@@ -4424,7 +4373,11 @@ var colors = {
4424
4373
  },
4425
4374
  typography: {
4426
4375
  heading: grayLightCool,
4427
- body: grayMedium
4376
+ body: grayMedium,
4377
+ inverse: {
4378
+ heading: grayxxDark,
4379
+ body: grayxxDark
4380
+ }
4428
4381
  }
4429
4382
  }
4430
4383
  },
@@ -4724,6 +4677,15 @@ var AlphabetFilter$1 = {
4724
4677
  }
4725
4678
  };
4726
4679
 
4680
+ var AudioPlayer$1 = {
4681
+ baseStyle: {
4682
+ invalid: {
4683
+ backgroundColor: "ui.bg.default",
4684
+ padding: "s"
4685
+ }
4686
+ }
4687
+ };
4688
+
4727
4689
  // Variant styling
4728
4690
  var blogs = {
4729
4691
  bg: "section.blogs.secondary",
@@ -5612,13 +5574,54 @@ var DatePicker$1 = {
5612
5574
  }
5613
5575
  };
5614
5576
 
5615
- var Fieldset$1 = {
5616
- baseStyle: function baseStyle(_ref) {
5617
- var isLegendHidden = _ref.isLegendHidden;
5618
- var screenreaderStyles = isLegendHidden ? screenreaderOnly() : {};
5619
- return {
5620
- border: 0,
5621
- padding: 0,
5577
+ var FeedbackBox = {
5578
+ parts: ["closeButton", "drawerBody", "drawerContent", "drawerHeader", "openButton"],
5579
+ baseStyle: {
5580
+ closeButton: {
5581
+ p: "0",
5582
+ span: /*#__PURE__*/screenreaderOnly()
5583
+ },
5584
+ drawerBody: {
5585
+ paddingTop: "m",
5586
+ paddingBottom: "m"
5587
+ },
5588
+ drawerContent: {
5589
+ marginStart: "auto",
5590
+ width: {
5591
+ base: "100%",
5592
+ md: "375px"
5593
+ }
5594
+ },
5595
+ drawerHeader: {
5596
+ alignItems: "baseline",
5597
+ background: "ui.gray.light-cool",
5598
+ borderBottomWidth: "1px",
5599
+ display: "flex",
5600
+ fontSize: "text.default",
5601
+ px: "m",
5602
+ paddingTop: "xs",
5603
+ paddingBottom: "xs",
5604
+ p: {
5605
+ marginBottom: "0"
5606
+ }
5607
+ },
5608
+ openButton: {
5609
+ position: "fixed",
5610
+ borderRadius: "0",
5611
+ bottom: "0",
5612
+ right: "0",
5613
+ zIndex: "5"
5614
+ }
5615
+ }
5616
+ };
5617
+
5618
+ var Fieldset$1 = {
5619
+ baseStyle: function baseStyle(_ref) {
5620
+ var isLegendHidden = _ref.isLegendHidden;
5621
+ var screenreaderStyles = isLegendHidden ? screenreaderOnly() : {};
5622
+ return {
5623
+ border: 0,
5624
+ padding: 0,
5622
5625
  legend: _extends({}, labelLegendText, screenreaderStyles)
5623
5626
  };
5624
5627
  }
@@ -8228,6 +8231,30 @@ var StructuredContent = {
8228
8231
  }
8229
8232
  };
8230
8233
 
8234
+ var StyledList = {
8235
+ baseStyle: function baseStyle(_ref) {
8236
+ var _ref$textSize = _ref.textSize,
8237
+ textSize = _ref$textSize === void 0 ? "default" : _ref$textSize;
8238
+ return _extends({
8239
+ fontSize: "text." + textSize
8240
+ }, baseListStyles(false, true), baseUnorderedStyles(true));
8241
+ },
8242
+ variants: {
8243
+ capped: {
8244
+ li: {
8245
+ borderStart: "1px solid",
8246
+ borderEnd: {
8247
+ base: "1px solid",
8248
+ md: "none"
8249
+ },
8250
+ borderColor: "ui.border.default",
8251
+ my: "xs",
8252
+ px: "xs"
8253
+ }
8254
+ }
8255
+ }
8256
+ };
8257
+
8231
8258
  var tablist = {
8232
8259
  borderColor: "ui.black"
8233
8260
  };
@@ -8853,15 +8880,6 @@ var VideoPlayer = {
8853
8880
  }
8854
8881
  };
8855
8882
 
8856
- var AudioPlayer$1 = {
8857
- baseStyle: {
8858
- invalid: {
8859
- backgroundColor: "ui.bg.default",
8860
- padding: "s"
8861
- }
8862
- }
8863
- };
8864
-
8865
8883
  /**
8866
8884
  * See Chakra default theme for shape of theme object:
8867
8885
  * https://github.com/chakra-ui/chakra-ui/tree/main/packages/theme
@@ -8909,6 +8927,7 @@ var theme = /*#__PURE__*/extendTheme( /*#__PURE__*/_extends({
8909
8927
  CustomImageWrapper: CustomImageWrapper,
8910
8928
  CustomSelect: Select,
8911
8929
  DatePicker: DatePicker$1,
8930
+ FeedbackBox: FeedbackBox,
8912
8931
  Fieldset: Fieldset$1,
8913
8932
  Footer: Footer,
8914
8933
  Header: Header,
@@ -8944,6 +8963,7 @@ var theme = /*#__PURE__*/extendTheme( /*#__PURE__*/_extends({
8944
8963
  CustomSlider: CustomSlider,
8945
8964
  StatusBadge: StatusBadge,
8946
8965
  StructuredContent: StructuredContent,
8966
+ StyledList: StyledList,
8947
8967
  Tabs: CustomTabs,
8948
8968
  CustomTable: CustomTable
8949
8969
  }, TagSetStyles, TemplateStyles, {
@@ -8975,133 +8995,875 @@ var DSProvider = function DSProvider(_ref) {
8975
8995
  }, children);
8976
8996
  };
8977
8997
 
8978
- var _excluded$1b = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
8998
+ var _excluded$1b = ["children", "icon", "id", "isCentered", "notificationType"],
8999
+ _excluded2$5 = ["alignText", "children", "icon", "notificationType"],
9000
+ _excluded3$3 = ["ariaLabel", "className", "dismissible", "icon", "id", "isCentered", "noMargin", "notificationContent", "notificationHeading", "notificationType", "showIcon"];
8979
9001
  /**
8980
- * A component that renders list item `li` elements or description item `dt`
8981
- * and `dd` elements based on the `type` prop. Note that the `title` prop will
8982
- * only display for the `Description` list type.
9002
+ * NotificationHeading child-component.
8983
9003
  */
8984
- var List$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9004
+ var NotificationHeading$1 = /*#__PURE__*/chakra(function (props) {
8985
9005
  var children = props.children,
8986
- className = props.className,
9006
+ icon = props.icon,
8987
9007
  id = props.id,
8988
- _props$inline = props.inline,
8989
- inline = _props$inline === void 0 ? false : _props$inline,
8990
- listItems = props.listItems,
8991
- _props$noStyling = props.noStyling,
8992
- noStyling = _props$noStyling === void 0 ? false : _props$noStyling,
8993
- title = props.title,
8994
- _props$type = props.type,
8995
- type = _props$type === void 0 ? "ul" : _props$type,
9008
+ isCentered = props.isCentered,
9009
+ notificationType = props.notificationType,
8996
9010
  rest = _objectWithoutPropertiesLoose(props, _excluded$1b);
8997
- var styles = useStyleConfig("List", {
8998
- inline: inline,
8999
- noStyling: noStyling,
9000
- variant: type
9011
+ var styles = useMultiStyleConfig("NotificationHeading", {
9012
+ icon: icon,
9013
+ isCentered: isCentered,
9014
+ notificationType: notificationType
9001
9015
  });
9002
- var listElement = null;
9003
- // Either li/dt/dd children elements must be passed or the `listItems`
9004
- // prop must be used.
9005
- if (children && listItems && (listItems == null ? void 0 : listItems.length) > 0) {
9006
- console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
9007
- return null;
9008
- }
9009
- if (!children && !listItems) {
9010
- console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
9011
- return null;
9012
- }
9013
- /**
9014
- * This returns either the `children` elements passed to the `List` component
9015
- * first, otherwise it will check and render the data passed into the
9016
- * `listItems` props based on the `ListType` type. If it is of type unordered
9017
- * or ordered, it will return `li` elements. Otherwise, it will return a
9018
- * combination of `dt` and `dd` elements for the description type.
9019
- */
9020
- var listChildrenElms = function listChildrenElms(listType) {
9021
- if (children) {
9022
- return children;
9023
- }
9024
- if (!listItems) {
9025
- return null;
9026
- }
9027
- if (listType === "ol" || listType === "ul") {
9028
- return listItems.map(function (item, i) {
9029
- return React__default.createElement("li", {
9030
- key: i
9031
- }, item);
9032
- });
9033
- } else if (listType === "dl") {
9034
- return listItems.map(function (item, i) {
9035
- return [React__default.createElement("dt", {
9036
- key: i + "-term"
9037
- }, item.term), React__default.createElement("dd", {
9038
- key: i + "-des"
9039
- }, item.description)];
9040
- });
9041
- }
9042
- return null;
9043
- };
9044
- /**
9045
- * Checks for `li` elements and consoles a warning if the
9046
- * children are different HTML elements.
9047
- */
9048
- var checkListChildrenError = function checkListChildrenError(listType) {
9049
- React__default.Children.map(children, function (child) {
9050
- var _child$props;
9051
- if (child && (child == null ? void 0 : child.type) !== "li" && (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) !== "li") {
9052
- console.warn("NYPL Reservoir List: Direct children of `List` (" + listType + ") must be `<li>`s.");
9053
- }
9054
- });
9016
+ return React__default.createElement(Box, Object.assign({
9017
+ as: "header",
9018
+ __css: styles
9019
+ }, rest), icon, React__default.createElement(Heading, {
9020
+ id: id + "-heading",
9021
+ level: "four",
9022
+ __css: styles.heading
9023
+ }, children));
9024
+ });
9025
+ /**
9026
+ * NotificationContent child-component.
9027
+ */
9028
+ var NotificationContent$1 = /*#__PURE__*/chakra(function (props) {
9029
+ var alignText = props.alignText,
9030
+ children = props.children,
9031
+ icon = props.icon,
9032
+ notificationType = props.notificationType,
9033
+ rest = _objectWithoutPropertiesLoose(props, _excluded2$5);
9034
+ var styles = useMultiStyleConfig("NotificationContent", {
9035
+ alignText: alignText,
9036
+ icon: icon,
9037
+ notificationType: notificationType
9038
+ });
9039
+ return React__default.createElement(Box, Object.assign({
9040
+ __css: styles
9041
+ }, rest), icon, React__default.createElement(Box, {
9042
+ __css: styles.content
9043
+ }, children));
9044
+ });
9045
+ /**
9046
+ * Component used to present users with three different levels of notifications:
9047
+ * standard, announcement, and warning.
9048
+ */
9049
+ var Notification$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9050
+ var ariaLabel = props.ariaLabel,
9051
+ className = props.className,
9052
+ _props$dismissible = props.dismissible,
9053
+ dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
9054
+ icon = props.icon,
9055
+ id = props.id,
9056
+ _props$isCentered = props.isCentered,
9057
+ isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
9058
+ _props$noMargin = props.noMargin,
9059
+ noMargin = _props$noMargin === void 0 ? false : _props$noMargin,
9060
+ notificationContent = props.notificationContent,
9061
+ notificationHeading = props.notificationHeading,
9062
+ _props$notificationTy = props.notificationType,
9063
+ notificationType = _props$notificationTy === void 0 ? "standard" : _props$notificationTy,
9064
+ _props$showIcon = props.showIcon,
9065
+ showIcon = _props$showIcon === void 0 ? true : _props$showIcon,
9066
+ rest = _objectWithoutPropertiesLoose(props, _excluded3$3);
9067
+ var _useState = useState(true),
9068
+ isOpen = _useState[0],
9069
+ setIsOpen = _useState[1];
9070
+ var handleClose = function handleClose() {
9071
+ return setIsOpen(false);
9055
9072
  };
9056
- /**
9057
- * Checks for `dt` and `dd` elements and consoles a warning if the
9058
- * children are different HTML elements.
9059
- */
9060
- var checkDescriptionChildrenError = function checkDescriptionChildrenError() {
9061
- React__default.Children.map(children, function (child) {
9062
- if (child.type !== "dt" && child.type !== "dd" && child.type !== React__default.Fragment && child.props.mdxType !== "dt" && child.props.mdxType !== "dd" && child.props.mdxType !== React__default.Fragment) {
9063
- console.warn("NYPL Reservoir List: Direct children of `List` (description) must " + "be `<dt>`s and `<dd>`s.");
9073
+ var styles = useMultiStyleConfig("Notification", {
9074
+ dismissible: dismissible,
9075
+ isCentered: isCentered,
9076
+ noMargin: noMargin,
9077
+ notificationType: notificationType
9078
+ });
9079
+ var iconElement = function iconElement() {
9080
+ var baseIconProps = {
9081
+ size: "large",
9082
+ __css: styles.icon
9083
+ };
9084
+ // If the icon should not display, return undefined.
9085
+ if (!showIcon) {
9086
+ return undefined;
9087
+ }
9088
+ // If a custom icon is passed, add specific `Notification` styles.
9089
+ if (icon) return React__default.cloneElement(icon, _extends({
9090
+ id: id + "-custom-notification-icon"
9091
+ }, baseIconProps));
9092
+ var iconProps = {
9093
+ announcement: {
9094
+ color: "section.research.secondary",
9095
+ name: "speakerNotes",
9096
+ title: "Notification announcement icon"
9097
+ },
9098
+ standard: {
9099
+ color: "ui.black",
9100
+ name: "alertNotificationImportant",
9101
+ title: "Notification standard icon"
9102
+ },
9103
+ warning: {
9104
+ color: "brand.primary",
9105
+ name: "errorFilled",
9106
+ title: "Notification warning icon"
9064
9107
  }
9065
- });
9108
+ };
9109
+ return React__default.createElement(Icon, Object.assign({
9110
+ id: id + "-notification-icon"
9111
+ }, iconProps[notificationType], baseIconProps));
9066
9112
  };
9067
- if (type === "ol" || type === "ul") {
9068
- checkListChildrenError(type);
9069
- listElement = React__default.createElement(Box, Object.assign({
9070
- as: type,
9071
- id: id,
9072
- className: className,
9073
- ref: ref,
9074
- __css: styles
9075
- }, rest), listChildrenElms(type));
9076
- } else if (type === "dl") {
9077
- checkDescriptionChildrenError();
9078
- listElement = React__default.createElement(Box, Object.assign({
9079
- as: "section",
9080
- id: id,
9081
- className: className,
9082
- ref: ref,
9083
- __css: styles
9084
- }, rest), title && React__default.createElement(Heading, {
9085
- id: id + "-heading"
9086
- }, title), React__default.createElement("dl", null, listChildrenElms(type)));
9087
- }
9088
- return listElement;
9089
- }));
9090
-
9091
- var _path$L, _path2$f, _path3$7;
9092
- var _excluded$1c = ["title", "titleId"];
9093
- function _extends$R() { _extends$R = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
9094
- function _objectWithoutProperties$Q(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$R(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9095
- function _objectWithoutPropertiesLoose$R(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9096
- var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9097
- var title = _ref.title,
9098
- titleId = _ref.titleId,
9099
- props = _objectWithoutProperties$Q(_ref, _excluded$1c);
9113
+ var dismissibleButton = dismissible && React__default.createElement(Button, {
9114
+ "aria-label": "Close the notification",
9115
+ buttonType: "text",
9116
+ id: id + "-notification-dismissible-button",
9117
+ onClick: handleClose,
9118
+ __css: styles.dismissibleButton
9119
+ }, React__default.createElement(Icon, {
9120
+ id: id + "-dismissible-notification-icon",
9121
+ name: "close",
9122
+ size: "large",
9123
+ title: "Notification close icon"
9124
+ }));
9125
+ var iconElem = iconElement();
9126
+ var childHeading = notificationHeading && React__default.createElement(NotificationHeading$1, {
9127
+ icon: iconElem,
9128
+ id: id,
9129
+ isCentered: isCentered,
9130
+ notificationType: notificationType
9131
+ }, notificationHeading);
9132
+ // Specific alignment styles for the content.
9133
+ var alignText = !!(childHeading && showIcon && (!!icon || !isCentered));
9134
+ var childContent = React__default.createElement(NotificationContent$1, {
9135
+ alignText: alignText,
9136
+ icon: !childHeading ? iconElem : undefined,
9137
+ notificationType: notificationType
9138
+ }, notificationContent);
9139
+ // If the `Notification` is closed, don't render anything.
9140
+ if (!isOpen) {
9141
+ return null;
9142
+ }
9143
+ return React__default.createElement(Box, Object.assign({
9144
+ "aria-label": ariaLabel,
9145
+ as: "aside",
9146
+ className: className,
9147
+ "data-type": notificationType,
9148
+ id: id,
9149
+ ref: ref,
9150
+ __css: styles
9151
+ }, rest), React__default.createElement(Box, {
9152
+ __css: styles.container
9153
+ }, childHeading, childContent), dismissibleButton);
9154
+ }));
9155
+
9156
+ var _excluded$1c = ["className", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
9157
+ var Radio$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9158
+ var className = props.className,
9159
+ helperText = props.helperText,
9160
+ id = props.id,
9161
+ invalidText = props.invalidText,
9162
+ isChecked = props.isChecked,
9163
+ _props$isDisabled = props.isDisabled,
9164
+ isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
9165
+ _props$isInvalid = props.isInvalid,
9166
+ isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
9167
+ _props$isRequired = props.isRequired,
9168
+ isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
9169
+ labelText = props.labelText,
9170
+ name = props.name,
9171
+ onChange = props.onChange,
9172
+ _props$showHelperInva = props.showHelperInvalidText,
9173
+ showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
9174
+ _props$showLabel = props.showLabel,
9175
+ showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
9176
+ value = props.value,
9177
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1c);
9178
+ var styles = useMultiStyleConfig("Radio", {
9179
+ showLabel: showLabel
9180
+ });
9181
+ var wrapperStyles = useStyleConfig("RadioWrapper");
9182
+ var footnote = isInvalid ? invalidText : helperText;
9183
+ var ariaAttributes = getAriaAttrs({
9184
+ footnote: footnote,
9185
+ id: id,
9186
+ labelText: labelText,
9187
+ name: "Radio",
9188
+ showLabel: showLabel
9189
+ });
9190
+ // We can't use the aria-label because of how Chakra renders its
9191
+ // Radio component. Instead, we'll visually hide the label.
9192
+ delete ariaAttributes["aria-label"];
9193
+ if (!id) {
9194
+ console.warn("NYPL Reservoir Radio: This component's required `id` prop was not passed.");
9195
+ }
9196
+ return React__default.createElement(ComponentWrapper, Object.assign({
9197
+ helperText: helperText,
9198
+ helperTextStyles: styles.helperErrorText,
9199
+ id: id,
9200
+ invalidText: invalidText,
9201
+ isInvalid: isInvalid,
9202
+ showHelperInvalidText: showHelperInvalidText,
9203
+ sx: wrapperStyles
9204
+ }, rest), React__default.createElement(Radio$2, Object.assign({
9205
+ className: className,
9206
+ id: id,
9207
+ isChecked: isChecked,
9208
+ isDisabled: isDisabled,
9209
+ isInvalid: isInvalid,
9210
+ isRequired: isRequired,
9211
+ name: name,
9212
+ onChange: onChange,
9213
+ ref: ref,
9214
+ value: value,
9215
+ alignItems: "flex-start",
9216
+ sx: styles
9217
+ }, ariaAttributes), React__default.createElement(Box, {
9218
+ as: "span",
9219
+ __css: showLabel ? {} : styles.hiddenLabel
9220
+ }, labelText)));
9221
+ }));
9222
+
9223
+ var _excluded$1d = ["children", "className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel"];
9224
+ /**
9225
+ * RadioGroup is a wrapper for DS `Radio` components that renders as a fieldset
9226
+ * HTML element along with optional helper text. The `name` prop is essential
9227
+ * for this form group element and is not needed for individual DS `Radio`
9228
+ * components when `RadioGroup` is used.
9229
+ */
9230
+ var RadioGroup$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9231
+ var children = props.children,
9232
+ _props$className = props.className,
9233
+ className = _props$className === void 0 ? "" : _props$className,
9234
+ defaultValue = props.defaultValue,
9235
+ helperText = props.helperText,
9236
+ id = props.id,
9237
+ invalidText = props.invalidText,
9238
+ _props$isDisabled = props.isDisabled,
9239
+ isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
9240
+ _props$isFullWidth = props.isFullWidth,
9241
+ isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
9242
+ _props$isInvalid = props.isInvalid,
9243
+ isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
9244
+ _props$isRequired = props.isRequired,
9245
+ isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
9246
+ labelText = props.labelText,
9247
+ _props$layout = props.layout,
9248
+ layout = _props$layout === void 0 ? "column" : _props$layout,
9249
+ name = props.name,
9250
+ _onChange = props.onChange,
9251
+ _props$showHelperInva = props.showHelperInvalidText,
9252
+ showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
9253
+ _props$showLabel = props.showLabel,
9254
+ showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
9255
+ _props$showRequiredLa = props.showRequiredLabel,
9256
+ showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
9257
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1d);
9258
+ var _React$useState = React__default.useState(defaultValue),
9259
+ value = _React$useState[0],
9260
+ setValue = _React$useState[1];
9261
+ var footnote = isInvalid ? invalidText : helperText;
9262
+ var spacingProp = layout === "column" ? spacing.s : spacing.l;
9263
+ var newChildren = [];
9264
+ // Get the Chakra-based styles for the custom elements in this component.
9265
+ var styles = useMultiStyleConfig("RadioGroup", {
9266
+ isFullWidth: isFullWidth
9267
+ });
9268
+ // Props for the `ChakraRadioGroup` component.
9269
+ var radioGroupProps = {
9270
+ "aria-label": !showLabel ? labelText : undefined,
9271
+ name: name,
9272
+ onChange: function onChange(selected) {
9273
+ setValue(selected);
9274
+ _onChange && _onChange(selected);
9275
+ },
9276
+ ref: ref,
9277
+ value: value
9278
+ };
9279
+ if (!id) {
9280
+ console.warn("NYPL Reservoir RadioGroup: This component's required `id` prop was not passed.");
9281
+ }
9282
+ // Go through the Radio children and update them as needed.
9283
+ React__default.Children.map(children, function (child, key) {
9284
+ if ((child == null ? void 0 : child.type) !== Radio$1) {
9285
+ var _child$props, _child$props2;
9286
+ // Special case for Storybook MDX documentation.
9287
+ if ((_child$props = child.props) != null && _child$props.mdxType && ((_child$props2 = child.props) == null ? void 0 : _child$props2.mdxType) === "Radio") ; else {
9288
+ console.warn("NYPL Reservoir RadioGroup: Only `Radio` components are allowed " + "inside the `RadioGroup` component.");
9289
+ }
9290
+ }
9291
+ if (child !== undefined && child !== null) {
9292
+ var newProps = {
9293
+ key: key,
9294
+ isDisabled: isDisabled,
9295
+ isInvalid: isInvalid,
9296
+ isRequired: isRequired
9297
+ };
9298
+ newChildren.push(React__default.cloneElement(child, newProps));
9299
+ }
9300
+ });
9301
+ return React__default.createElement(Fieldset, Object.assign({
9302
+ className: className,
9303
+ id: "radio-group-" + id,
9304
+ isLegendHidden: !showLabel,
9305
+ isRequired: isRequired,
9306
+ legendText: labelText,
9307
+ showRequiredLabel: showRequiredLabel
9308
+ }, rest, {
9309
+ __css: styles
9310
+ }), React__default.createElement(RadioGroup$2, Object.assign({}, radioGroupProps), React__default.createElement(Stack, {
9311
+ direction: [layout],
9312
+ spacing: spacingProp
9313
+ }, newChildren)), footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
9314
+ id: id + "-helperErrorText",
9315
+ isInvalid: isInvalid,
9316
+ text: footnote,
9317
+ __css: styles.helperErrorText
9318
+ }));
9319
+ }));
9320
+
9321
+ /**
9322
+ * DS internal helper hook to use state with prop dependencies.
9323
+ */
9324
+ function useStateWithDependencies(initialValue) {
9325
+ var _useState = useState(initialValue),
9326
+ value = _useState[0],
9327
+ setValue = _useState[1];
9328
+ useEffect(function () {
9329
+ setValue(initialValue);
9330
+ }, [initialValue]);
9331
+ return [value, setValue];
9332
+ }
9333
+
9334
+ var initialState = {
9335
+ category: "comment",
9336
+ comment: "",
9337
+ email: ""
9338
+ };
9339
+ /**
9340
+ * Simple reducer to manage the internal state of the form
9341
+ * fields in the FeedbackBox component.
9342
+ */
9343
+ function reducer(state, action) {
9344
+ switch (action.type) {
9345
+ case "category":
9346
+ return _extends({}, state, {
9347
+ category: action.payload
9348
+ });
9349
+ case "comment":
9350
+ return _extends({}, state, {
9351
+ comment: action.payload
9352
+ });
9353
+ case "email":
9354
+ return _extends({}, state, {
9355
+ email: action.payload
9356
+ });
9357
+ case "clear":
9358
+ default:
9359
+ return initialState;
9360
+ }
9361
+ }
9362
+ /**
9363
+ * DS internal helper reducer hook to manage internal state for the FeedbackBox
9364
+ * component. Note: this custom hook is not tested directly as it's an
9365
+ * implementation detail of the FeedbackBox component, following the guidance
9366
+ * of RTL: https://testing-library.com/docs/example-react-hooks-useReducer
9367
+ */
9368
+ function useFeedbackBoxReducer() {
9369
+ var _useReducer = useReducer(reducer, initialState),
9370
+ state = _useReducer[0],
9371
+ dispatch = _useReducer[1];
9372
+ var setCategory = function setCategory(category) {
9373
+ return dispatch({
9374
+ type: "category",
9375
+ payload: category
9376
+ });
9377
+ };
9378
+ var setComment = function setComment(comment) {
9379
+ return dispatch({
9380
+ type: "comment",
9381
+ payload: comment
9382
+ });
9383
+ };
9384
+ var setEmail = function setEmail(email) {
9385
+ return dispatch({
9386
+ type: "email",
9387
+ payload: email
9388
+ });
9389
+ };
9390
+ var clearValues = function clearValues() {
9391
+ return dispatch({
9392
+ type: "clear"
9393
+ });
9394
+ };
9395
+ return {
9396
+ state: state,
9397
+ setCategory: setCategory,
9398
+ setComment: setComment,
9399
+ setEmail: setEmail,
9400
+ clearValues: clearValues
9401
+ };
9402
+ }
9403
+
9404
+ var _excluded$1e = ["className", "confirmationText", "descriptionText", "hiddenFields", "id", "isInvalidComment", "isInvalidEmail", "notificationText", "onSubmit", "showCategoryField", "showEmailField", "title", "view", "isOpen", "onOpen", "onClose"];
9405
+ /**
9406
+ * The `FeedbackBox` component renders a fixed-positioned button on the bottom
9407
+ * right corner of a page that opens a Chakra `Drawer` popup component. Inside
9408
+ * of the popup, a form is rendered with fields that allows users to provide
9409
+ * feedback. The `FeedbackBox` component does *not* call any API with the
9410
+ * submitted data; that feature is the responsibility of the consuming
9411
+ * application.
9412
+ */
9413
+ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref) {
9414
+ var className = _ref.className,
9415
+ confirmationText = _ref.confirmationText,
9416
+ descriptionText = _ref.descriptionText,
9417
+ hiddenFields = _ref.hiddenFields,
9418
+ _ref$id = _ref.id,
9419
+ id = _ref$id === void 0 ? "feedbackbox" : _ref$id,
9420
+ _ref$isInvalidComment = _ref.isInvalidComment,
9421
+ isInvalidComment = _ref$isInvalidComment === void 0 ? false : _ref$isInvalidComment,
9422
+ _ref$isInvalidEmail = _ref.isInvalidEmail,
9423
+ isInvalidEmail = _ref$isInvalidEmail === void 0 ? false : _ref$isInvalidEmail,
9424
+ notificationText = _ref.notificationText,
9425
+ onSubmit = _ref.onSubmit,
9426
+ _ref$showCategoryFiel = _ref.showCategoryField,
9427
+ showCategoryField = _ref$showCategoryFiel === void 0 ? false : _ref$showCategoryFiel,
9428
+ _ref$showEmailField = _ref.showEmailField,
9429
+ showEmailField = _ref$showEmailField === void 0 ? false : _ref$showEmailField,
9430
+ title = _ref.title,
9431
+ _ref$view = _ref.view,
9432
+ view = _ref$view === void 0 ? "form" : _ref$view,
9433
+ isOpen = _ref.isOpen,
9434
+ onOpen = _ref.onOpen,
9435
+ onClose = _ref.onClose,
9436
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
9437
+ // We want to keep internal state for the view but also
9438
+ // update if the consuming app updates it, based on API
9439
+ // success and failure responses.
9440
+ var _useStateWithDependen = useStateWithDependencies(view),
9441
+ viewType = _useStateWithDependen[0],
9442
+ setViewType = _useStateWithDependen[1];
9443
+ var _useState = useState(false),
9444
+ isSubmitted = _useState[0],
9445
+ setIsSubmitted = _useState[1];
9446
+ // Helps keep track of form field state values.
9447
+ var _useFeedbackBoxReduce = useFeedbackBoxReducer(),
9448
+ state = _useFeedbackBoxReduce.state,
9449
+ setCategory = _useFeedbackBoxReduce.setCategory,
9450
+ setComment = _useFeedbackBoxReduce.setComment,
9451
+ setEmail = _useFeedbackBoxReduce.setEmail,
9452
+ clearValues = _useFeedbackBoxReduce.clearValues;
9453
+ // Chakra's hook to control Drawer's actions.
9454
+ var disclosure = useDisclosure();
9455
+ var finalIsOpen = isOpen ? isOpen : disclosure.isOpen;
9456
+ var finalOnOpen = onOpen ? onOpen : disclosure.onOpen;
9457
+ var finalOnClose = onClose ? onClose : disclosure.onClose;
9458
+ var focusRef = useRef();
9459
+ var styles = useMultiStyleConfig("FeedbackBox", {});
9460
+ var isFormView = viewType === "form";
9461
+ var isConfirmationView = viewType === "confirmation";
9462
+ var isErrorView = viewType === "error";
9463
+ var confirmationTimeout = 3000;
9464
+ var maxCommentCharacters = 500;
9465
+ var initMinHeight = "275px";
9466
+ var initTemplateRows = "auto 1fr";
9467
+ var minHeightWithCategory = "345px";
9468
+ var minHeightWithEmail = "385px";
9469
+ var minHeightWithCategoryAndEmail = "455px";
9470
+ var drawerMinHeight = initMinHeight;
9471
+ var closeAndResetForm = function closeAndResetForm() {
9472
+ finalOnClose();
9473
+ setViewType("form");
9474
+ clearValues();
9475
+ };
9476
+ var internalOnSubmit = function internalOnSubmit(e) {
9477
+ e.preventDefault();
9478
+ var submittedValues = _extends({}, state);
9479
+ if (hiddenFields) {
9480
+ submittedValues = _extends({}, submittedValues, hiddenFields);
9481
+ }
9482
+ onSubmit && onSubmit(submittedValues);
9483
+ setIsSubmitted(true);
9484
+ };
9485
+ var notificationElement = isFormView && notificationText ? React__default.createElement(Notification$1, {
9486
+ isCentered: true,
9487
+ noMargin: true,
9488
+ notificationContent: notificationText,
9489
+ showIcon: false,
9490
+ sx: {
9491
+ // The padding of the Notification is smaller than
9492
+ // the initial one.
9493
+ "> div": {
9494
+ py: "xs"
9495
+ }
9496
+ }
9497
+ }) : undefined;
9498
+ var descriptionElement = isFormView && descriptionText ? React__default.createElement(Text, {
9499
+ fontWeight: "medium",
9500
+ mb: "0"
9501
+ }, descriptionText) : undefined;
9502
+ var privacyPolicyField = React__default.createElement(FormField, null, React__default.createElement(Link, {
9503
+ href: "https://www.nypl.org/help/about-nypl/legal-notices/privacy-policy",
9504
+ type: "external",
9505
+ fontSize: "text.tag"
9506
+ }, "Privacy Policy"));
9507
+ // When the submit button is clicked, set a timeout before displaying
9508
+ // the confirmation or error screen. This automatically goes to the
9509
+ // confirmation view after three (3) seconds, but the consuming app
9510
+ // can set the error view if there are any issues.
9511
+ useEffect(function () {
9512
+ var timer;
9513
+ if (isSubmitted) {
9514
+ // If the consuming app does not provide any updates based
9515
+ // on its API response, go to confirmation screen.
9516
+ timer = setTimeout(function () {
9517
+ setIsSubmitted(false);
9518
+ if (isErrorView) {
9519
+ setViewType("error");
9520
+ } else {
9521
+ setViewType("confirmation");
9522
+ }
9523
+ clearValues();
9524
+ }, confirmationTimeout);
9525
+ // If the consuming app does pass the API response to the
9526
+ // component, then cancel the timeout above and display the
9527
+ // appropriate screen.
9528
+ if (view !== viewType) {
9529
+ setIsSubmitted(false);
9530
+ setViewType(view);
9531
+ clearTimeout(timer);
9532
+ }
9533
+ }
9534
+ return function () {
9535
+ return clearTimeout(timer);
9536
+ };
9537
+ }, [clearValues, isErrorView, isSubmitted, setViewType, view, viewType]);
9538
+ // Delay focusing on the confirmation or error message
9539
+ // because it's an element that dynamically gets rendered,
9540
+ // so it is not always available in the DOM.
9541
+ useEffect(function () {
9542
+ var timer;
9543
+ if (viewType === "error" || viewType === "confirmation") {
9544
+ timer = setTimeout(function () {
9545
+ var _focusRef$current;
9546
+ focusRef == null ? void 0 : (_focusRef$current = focusRef.current) == null ? void 0 : _focusRef$current.focus();
9547
+ }, 250);
9548
+ }
9549
+ return function () {
9550
+ return clearTimeout(timer);
9551
+ };
9552
+ }, [focusRef, viewType]);
9553
+ if (showCategoryField) {
9554
+ drawerMinHeight = minHeightWithCategory;
9555
+ }
9556
+ if (showEmailField) {
9557
+ drawerMinHeight = minHeightWithEmail;
9558
+ }
9559
+ if (showCategoryField && showEmailField) {
9560
+ drawerMinHeight = minHeightWithCategoryAndEmail;
9561
+ }
9562
+ return React__default.createElement(Box, Object.assign({
9563
+ className: className,
9564
+ id: id,
9565
+ ref: ref,
9566
+ sx: styles
9567
+ }, rest), React__default.createElement(Button, {
9568
+ id: "open",
9569
+ onClick: finalOnOpen,
9570
+ sx: styles.openButton
9571
+ }, title), React__default.createElement(Drawer, {
9572
+ blockScrollOnMount: false,
9573
+ isOpen: finalIsOpen,
9574
+ onClose: finalOnClose,
9575
+ placement: "bottom"
9576
+ }, React__default.createElement(DrawerOverlay, null), React__default.createElement(DrawerContent, {
9577
+ sx: styles.drawerContent
9578
+ }, React__default.createElement(DrawerHeader, {
9579
+ sx: styles.drawerHeader
9580
+ }, React__default.createElement(Text, {
9581
+ "data-testid": "title"
9582
+ }, title), React__default.createElement(Spacer, null), React__default.createElement(Button, {
9583
+ buttonType: "text",
9584
+ id: "close-btn",
9585
+ onClick: finalOnClose,
9586
+ sx: styles.closeButton
9587
+ }, React__default.createElement(Icon, {
9588
+ color: "ui.black",
9589
+ name: "minus",
9590
+ size: "medium"
9591
+ }), React__default.createElement("span", null, "Close ", title))), React__default.createElement(DrawerBody, {
9592
+ sx: styles.drawerBody
9593
+ }, React__default.createElement(Form, {
9594
+ gap: "grid.s",
9595
+ id: "feedback-form",
9596
+ onSubmit: internalOnSubmit,
9597
+ sx: {
9598
+ "> div": {
9599
+ minHeight: drawerMinHeight,
9600
+ gridTemplateRows: initTemplateRows
9601
+ }
9602
+ }
9603
+ }, React__default.createElement(FormField, null, notificationElement, descriptionElement), isFormView && React__default.createElement(React__default.Fragment, null, showCategoryField && React__default.createElement(FormField, null, React__default.createElement(RadioGroup$1, {
9604
+ defaultValue: state.category,
9605
+ id: id + "-category",
9606
+ isDisabled: isSubmitted,
9607
+ labelText: "What is your feedback about?",
9608
+ layout: "row",
9609
+ name: id + "-category",
9610
+ onChange: function onChange(selected) {
9611
+ return setCategory(selected);
9612
+ }
9613
+ }, React__default.createElement(Radio$1, {
9614
+ id: "comment",
9615
+ labelText: "Comment",
9616
+ value: "comment"
9617
+ }), React__default.createElement(Radio$1, {
9618
+ id: "correction",
9619
+ labelText: "Correction",
9620
+ value: "correction"
9621
+ }), React__default.createElement(Radio$1, {
9622
+ id: "bug",
9623
+ labelText: "Bug",
9624
+ value: "bug"
9625
+ }))), React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9626
+ helperText: maxCommentCharacters - state.comment.length + " characters remaining",
9627
+ id: id + "-comment",
9628
+ invalidText: "Please fill out this field.",
9629
+ isDisabled: isSubmitted,
9630
+ isInvalid: isInvalidComment,
9631
+ isRequired: true,
9632
+ labelText: "Comment",
9633
+ maxLength: maxCommentCharacters,
9634
+ name: id + "-comment",
9635
+ onChange: function onChange(e) {
9636
+ return setComment(e.target.value);
9637
+ },
9638
+ placeholder: "Enter your question or feedback here",
9639
+ type: "textarea",
9640
+ defaultValue: state.comment
9641
+ })), showEmailField && React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9642
+ id: id + "-email",
9643
+ invalidText: "Please enter a valid email address.",
9644
+ isDisabled: isSubmitted,
9645
+ isInvalid: isInvalidEmail,
9646
+ labelText: "Email",
9647
+ name: id + "-email",
9648
+ onChange: function onChange(e) {
9649
+ return setEmail(e.target.value);
9650
+ },
9651
+ placeholder: "Enter your email address here",
9652
+ type: "email",
9653
+ value: state.email
9654
+ })), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9655
+ buttonWidth: "full",
9656
+ id: "submit-cancel"
9657
+ }, React__default.createElement(Button, {
9658
+ buttonType: "secondary",
9659
+ id: "cancel",
9660
+ isDisabled: isSubmitted,
9661
+ key: "cancel",
9662
+ onClick: closeAndResetForm
9663
+ }, "Cancel"), React__default.createElement(Button, {
9664
+ id: "submit",
9665
+ isDisabled: isSubmitted,
9666
+ key: "submit",
9667
+ type: "submit"
9668
+ }, "Submit")))), isConfirmationView && React__default.createElement(React__default.Fragment, null, React__default.createElement(Box, {
9669
+ key: "confirmationWrapper",
9670
+ margin: "auto",
9671
+ tabIndex: 0,
9672
+ textAlign: "center",
9673
+ ref: focusRef
9674
+ }, React__default.createElement(Icon, {
9675
+ name: "actionCheckCircleFilled",
9676
+ size: "large"
9677
+ }), React__default.createElement(Text, {
9678
+ fontWeight: "medium"
9679
+ }, "Thank you for submitting your feedback."), showEmailField && React__default.createElement(Text, null, "If you provided an email address and require a response, our service staff will reach out to you via email."), confirmationText ? React__default.createElement(Text, null, confirmationText) : undefined), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9680
+ buttonWidth: "full",
9681
+ id: "submit-cancel"
9682
+ }, React__default.createElement(Button, {
9683
+ id: "return-browsing",
9684
+ buttonType: "secondary",
9685
+ onClick: closeAndResetForm
9686
+ }, "Return to Browsing")))), isErrorView && React__default.createElement(React__default.Fragment, null, React__default.createElement(Box, {
9687
+ color: "ui.error.primary",
9688
+ key: "errorWrapper",
9689
+ margin: "auto",
9690
+ tabIndex: 0,
9691
+ textAlign: "center",
9692
+ ref: focusRef
9693
+ }, React__default.createElement(Icon, {
9694
+ color: "ui.error.primary",
9695
+ name: "errorFilled",
9696
+ size: "large"
9697
+ }), React__default.createElement(Text, {
9698
+ fontWeight: "medium"
9699
+ }, "Oops! Something went wrong. An error occured while processing your feedback.")), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9700
+ buttonWidth: "full",
9701
+ id: "submit-cancel"
9702
+ }, React__default.createElement(Button, {
9703
+ id: "return-browsing2",
9704
+ key: "return-browsing2",
9705
+ buttonType: "secondary",
9706
+ onClick: closeAndResetForm
9707
+ }, "Return to Browsing"), React__default.createElement(Button, {
9708
+ id: "try-again",
9709
+ key: "try-again",
9710
+ onClick: function onClick() {
9711
+ return setViewType("form");
9712
+ }
9713
+ }, "Try Again")))))))));
9714
+ }));
9715
+ function useFeedbackBox() {
9716
+ var _useDisclosure = useDisclosure(),
9717
+ isOpen = _useDisclosure.isOpen,
9718
+ onClose = _useDisclosure.onClose,
9719
+ onOpen = _useDisclosure.onOpen;
9720
+ var InternalFeedbackBox = chakra(function (props) {
9721
+ return React__default.createElement(FeedbackBox$1, Object.assign({
9722
+ isOpen: isOpen,
9723
+ onClose: onClose,
9724
+ onOpen: onOpen
9725
+ }, props));
9726
+ });
9727
+ return {
9728
+ isOpen: isOpen,
9729
+ onClose: onClose,
9730
+ onOpen: onOpen,
9731
+ FeedbackBox: InternalFeedbackBox
9732
+ };
9733
+ }
9734
+
9735
+ var _excluded$1f = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
9736
+ /**
9737
+ * A component that renders list item `li` elements or description item `dt`
9738
+ * and `dd` elements based on the `type` prop. Note that the `title` prop will
9739
+ * only display for the `Description` list type.
9740
+ */
9741
+ var List$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9742
+ var children = props.children,
9743
+ className = props.className,
9744
+ id = props.id,
9745
+ _props$inline = props.inline,
9746
+ inline = _props$inline === void 0 ? false : _props$inline,
9747
+ listItems = props.listItems,
9748
+ _props$noStyling = props.noStyling,
9749
+ noStyling = _props$noStyling === void 0 ? false : _props$noStyling,
9750
+ title = props.title,
9751
+ _props$type = props.type,
9752
+ type = _props$type === void 0 ? "ul" : _props$type,
9753
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1f);
9754
+ var styles = useStyleConfig("List", {
9755
+ inline: inline,
9756
+ noStyling: noStyling,
9757
+ variant: type
9758
+ });
9759
+ var listElement = null;
9760
+ // Either li/dt/dd children elements must be passed or the `listItems`
9761
+ // prop must be used.
9762
+ if (children && listItems && (listItems == null ? void 0 : listItems.length) > 0) {
9763
+ console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
9764
+ return null;
9765
+ }
9766
+ if (!children && !listItems) {
9767
+ console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
9768
+ return null;
9769
+ }
9770
+ /**
9771
+ * This returns either the `children` elements passed to the `List` component
9772
+ * first, otherwise it will check and render the data passed into the
9773
+ * `listItems` props based on the `ListType` type. If it is of type unordered
9774
+ * or ordered, it will return `li` elements. Otherwise, it will return a
9775
+ * combination of `dt` and `dd` elements for the description type.
9776
+ */
9777
+ var listChildrenElms = function listChildrenElms(listType) {
9778
+ if (children) {
9779
+ return children;
9780
+ }
9781
+ if (!listItems) {
9782
+ return null;
9783
+ }
9784
+ if (listType === "ol" || listType === "ul") {
9785
+ return listItems.map(function (item, i) {
9786
+ return React__default.createElement("li", {
9787
+ key: i
9788
+ }, item);
9789
+ });
9790
+ } else if (listType === "dl") {
9791
+ return listItems.map(function (item, i) {
9792
+ return [React__default.createElement("dt", {
9793
+ key: i + "-term"
9794
+ }, item.term), React__default.createElement("dd", {
9795
+ key: i + "-des"
9796
+ }, item.description)];
9797
+ });
9798
+ }
9799
+ return null;
9800
+ };
9801
+ /**
9802
+ * Checks for `dt` and `dd` elements and consoles a warning if the
9803
+ * children are different HTML elements.
9804
+ */
9805
+ var checkDescriptionChildrenError = function checkDescriptionChildrenError() {
9806
+ React__default.Children.map(children, function (child) {
9807
+ if (child.type !== "dt" && child.type !== "dd" && child.type !== React__default.Fragment && child.props.mdxType !== "dt" && child.props.mdxType !== "dd" && child.props.mdxType !== React__default.Fragment) {
9808
+ console.warn("NYPL Reservoir List: Direct children of `List` (description) must " + "be `<dt>`s and `<dd>`s.");
9809
+ }
9810
+ });
9811
+ };
9812
+ if (type === "ol" || type === "ul") {
9813
+ checkListChildrenError(children, type);
9814
+ listElement = React__default.createElement(Box, Object.assign({
9815
+ as: type,
9816
+ id: id,
9817
+ className: className,
9818
+ ref: ref,
9819
+ __css: styles
9820
+ }, rest), listChildrenElms(type));
9821
+ } else if (type === "dl") {
9822
+ checkDescriptionChildrenError();
9823
+ listElement = React__default.createElement(Box, Object.assign({
9824
+ as: "section",
9825
+ id: id,
9826
+ className: className,
9827
+ ref: ref,
9828
+ __css: styles
9829
+ }, rest), title && React__default.createElement(Heading, {
9830
+ id: id + "-heading"
9831
+ }, title), React__default.createElement("dl", null, listChildrenElms(type)));
9832
+ }
9833
+ return listElement;
9834
+ }));
9835
+ /**
9836
+ * Checks for `li` elements and consoles a warning if the
9837
+ * children are different HTML elements.
9838
+ */
9839
+ var checkListChildrenError = function checkListChildrenError(children, listType, componentName) {
9840
+ if (listType === void 0) {
9841
+ listType = "ul";
9842
+ }
9843
+ if (componentName === void 0) {
9844
+ componentName = "List";
9845
+ }
9846
+ React__default.Children.map(children, function (child) {
9847
+ var _child$props;
9848
+ if (child && (child == null ? void 0 : child.type) !== "li" && (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) !== "li") {
9849
+ console.warn("NYPL Reservoir " + componentName + ": Direct children of `" + componentName + "` (" + listType + ") must be `<li>`s.");
9850
+ }
9851
+ });
9852
+ };
9853
+
9854
+ var _path$L, _path2$f, _path3$7;
9855
+ var _excluded$1g = ["title", "titleId"];
9856
+ function _extends$R() { _extends$R = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
9857
+ function _objectWithoutProperties$Q(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$R(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9858
+ function _objectWithoutPropertiesLoose$R(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9859
+ var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9860
+ var title = _ref.title,
9861
+ titleId = _ref.titleId,
9862
+ props = _objectWithoutProperties$Q(_ref, _excluded$1g);
9100
9863
  return /*#__PURE__*/createElement("svg", _extends$R({
9101
9864
  viewBox: "0 0 200 67",
9102
9865
  fill: "none",
9103
9866
  xmlns: "http://www.w3.org/2000/svg",
9104
- role: "img",
9105
9867
  "aria-labelledby": titleId
9106
9868
  }, props), title ? /*#__PURE__*/createElement("title", {
9107
9869
  id: titleId
@@ -9118,19 +9880,18 @@ var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9118
9880
  };
9119
9881
 
9120
9882
  var _path$M, _path2$g, _path3$8;
9121
- var _excluded$1d = ["title", "titleId"];
9883
+ var _excluded$1h = ["title", "titleId"];
9122
9884
  function _extends$S() { _extends$S = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$S.apply(this, arguments); }
9123
9885
  function _objectWithoutProperties$R(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$S(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9124
9886
  function _objectWithoutPropertiesLoose$S(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9125
9887
  var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9126
9888
  var title = _ref.title,
9127
9889
  titleId = _ref.titleId,
9128
- props = _objectWithoutProperties$R(_ref, _excluded$1d);
9890
+ props = _objectWithoutProperties$R(_ref, _excluded$1h);
9129
9891
  return /*#__PURE__*/createElement("svg", _extends$S({
9130
9892
  viewBox: "0 0 200 67",
9131
9893
  fill: "none",
9132
9894
  xmlns: "http://www.w3.org/2000/svg",
9133
- role: "img",
9134
9895
  "aria-labelledby": titleId
9135
9896
  }, props), title ? /*#__PURE__*/createElement("title", {
9136
9897
  id: titleId
@@ -9147,18 +9908,17 @@ var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9147
9908
  };
9148
9909
 
9149
9910
  var _path$N, _path2$h, _path3$9;
9150
- var _excluded$1e = ["title", "titleId"];
9911
+ var _excluded$1i = ["title", "titleId"];
9151
9912
  function _extends$T() { _extends$T = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$T.apply(this, arguments); }
9152
9913
  function _objectWithoutProperties$S(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$T(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9153
9914
  function _objectWithoutPropertiesLoose$T(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9154
9915
  var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9155
9916
  var title = _ref.title,
9156
9917
  titleId = _ref.titleId,
9157
- props = _objectWithoutProperties$S(_ref, _excluded$1e);
9918
+ props = _objectWithoutProperties$S(_ref, _excluded$1i);
9158
9919
  return /*#__PURE__*/createElement("svg", _extends$T({
9159
9920
  viewBox: "0 0 328 120",
9160
9921
  xmlns: "http://www.w3.org/2000/svg",
9161
- role: "img",
9162
9922
  "aria-labelledby": titleId
9163
9923
  }, props), title ? /*#__PURE__*/createElement("title", {
9164
9924
  id: titleId
@@ -9172,19 +9932,18 @@ var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9172
9932
  };
9173
9933
 
9174
9934
  var _path$O, _path2$i, _path3$a;
9175
- var _excluded$1f = ["title", "titleId"];
9935
+ var _excluded$1j = ["title", "titleId"];
9176
9936
  function _extends$U() { _extends$U = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$U.apply(this, arguments); }
9177
9937
  function _objectWithoutProperties$T(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$U(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9178
9938
  function _objectWithoutPropertiesLoose$U(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9179
9939
  var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9180
9940
  var title = _ref.title,
9181
9941
  titleId = _ref.titleId,
9182
- props = _objectWithoutProperties$T(_ref, _excluded$1f);
9942
+ props = _objectWithoutProperties$T(_ref, _excluded$1j);
9183
9943
  return /*#__PURE__*/createElement("svg", _extends$U({
9184
9944
  viewBox: "0 0 328 120",
9185
9945
  fill: "#fff",
9186
9946
  xmlns: "http://www.w3.org/2000/svg",
9187
- role: "img",
9188
9947
  "aria-labelledby": titleId
9189
9948
  }, props), title ? /*#__PURE__*/createElement("title", {
9190
9949
  id: titleId
@@ -9198,19 +9957,18 @@ var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9198
9957
  };
9199
9958
 
9200
9959
  var _rect$2, _path$P;
9201
- var _excluded$1g = ["title", "titleId"];
9960
+ var _excluded$1k = ["title", "titleId"];
9202
9961
  function _extends$V() { _extends$V = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$V.apply(this, arguments); }
9203
9962
  function _objectWithoutProperties$U(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$V(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9204
9963
  function _objectWithoutPropertiesLoose$V(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9205
9964
  var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9206
9965
  var title = _ref.title,
9207
9966
  titleId = _ref.titleId,
9208
- props = _objectWithoutProperties$U(_ref, _excluded$1g);
9967
+ props = _objectWithoutProperties$U(_ref, _excluded$1k);
9209
9968
  return /*#__PURE__*/createElement("svg", _extends$V({
9210
9969
  viewBox: "0 0 118 119",
9211
9970
  fill: "none",
9212
9971
  xmlns: "http://www.w3.org/2000/svg",
9213
- role: "img",
9214
9972
  "aria-labelledby": titleId
9215
9973
  }, props), title ? /*#__PURE__*/createElement("title", {
9216
9974
  id: titleId
@@ -9229,19 +9987,18 @@ var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9229
9987
  };
9230
9988
 
9231
9989
  var _path$Q;
9232
- var _excluded$1h = ["title", "titleId"];
9990
+ var _excluded$1l = ["title", "titleId"];
9233
9991
  function _extends$W() { _extends$W = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$W.apply(this, arguments); }
9234
9992
  function _objectWithoutProperties$V(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$W(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9235
9993
  function _objectWithoutPropertiesLoose$W(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9236
9994
  var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
9237
9995
  var title = _ref.title,
9238
9996
  titleId = _ref.titleId,
9239
- props = _objectWithoutProperties$V(_ref, _excluded$1h);
9997
+ props = _objectWithoutProperties$V(_ref, _excluded$1l);
9240
9998
  return /*#__PURE__*/createElement("svg", _extends$W({
9241
9999
  viewBox: "0 0 312 88",
9242
10000
  fill: "#436CF2",
9243
10001
  xmlns: "http://www.w3.org/2000/svg",
9244
- role: "img",
9245
10002
  "aria-labelledby": titleId
9246
10003
  }, props), title ? /*#__PURE__*/createElement("title", {
9247
10004
  id: titleId
@@ -9253,19 +10010,18 @@ var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
9253
10010
  };
9254
10011
 
9255
10012
  var _path$R;
9256
- var _excluded$1i = ["title", "titleId"];
10013
+ var _excluded$1m = ["title", "titleId"];
9257
10014
  function _extends$X() { _extends$X = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$X.apply(this, arguments); }
9258
10015
  function _objectWithoutProperties$W(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$X(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9259
10016
  function _objectWithoutPropertiesLoose$X(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9260
10017
  var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
9261
10018
  var title = _ref.title,
9262
10019
  titleId = _ref.titleId,
9263
- props = _objectWithoutProperties$W(_ref, _excluded$1i);
10020
+ props = _objectWithoutProperties$W(_ref, _excluded$1m);
9264
10021
  return /*#__PURE__*/createElement("svg", _extends$X({
9265
10022
  viewBox: "0 0 312 88",
9266
10023
  fill: "#fff",
9267
10024
  xmlns: "http://www.w3.org/2000/svg",
9268
- role: "img",
9269
10025
  "aria-labelledby": titleId
9270
10026
  }, props), title ? /*#__PURE__*/createElement("title", {
9271
10027
  id: titleId
@@ -9277,19 +10033,18 @@ var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
9277
10033
  };
9278
10034
 
9279
10035
  var _path$S, _path2$j, _path3$b, _path4$1, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13;
9280
- var _excluded$1j = ["title", "titleId"];
10036
+ var _excluded$1n = ["title", "titleId"];
9281
10037
  function _extends$Y() { _extends$Y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Y.apply(this, arguments); }
9282
10038
  function _objectWithoutProperties$X(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$Y(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9283
10039
  function _objectWithoutPropertiesLoose$Y(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9284
10040
  var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
9285
10041
  var title = _ref.title,
9286
10042
  titleId = _ref.titleId,
9287
- props = _objectWithoutProperties$X(_ref, _excluded$1j);
10043
+ props = _objectWithoutProperties$X(_ref, _excluded$1n);
9288
10044
  return /*#__PURE__*/createElement("svg", _extends$Y({
9289
10045
  viewBox: "0 0 172 152",
9290
10046
  fill: "none",
9291
10047
  xmlns: "http://www.w3.org/2000/svg",
9292
- role: "img",
9293
10048
  "aria-labelledby": titleId
9294
10049
  }, props), title ? /*#__PURE__*/createElement("title", {
9295
10050
  id: titleId
@@ -9336,19 +10091,18 @@ var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
9336
10091
  };
9337
10092
 
9338
10093
  var _g$3;
9339
- var _excluded$1k = ["title", "titleId"];
10094
+ var _excluded$1o = ["title", "titleId"];
9340
10095
  function _extends$Z() { _extends$Z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Z.apply(this, arguments); }
9341
10096
  function _objectWithoutProperties$Y(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$Z(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9342
10097
  function _objectWithoutPropertiesLoose$Z(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9343
10098
  var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref) {
9344
10099
  var title = _ref.title,
9345
10100
  titleId = _ref.titleId,
9346
- props = _objectWithoutProperties$Y(_ref, _excluded$1k);
10101
+ props = _objectWithoutProperties$Y(_ref, _excluded$1o);
9347
10102
  return /*#__PURE__*/createElement("svg", _extends$Z({
9348
10103
  viewBox: "0 0 170 150",
9349
10104
  fill: "none",
9350
10105
  xmlns: "http://www.w3.org/2000/svg",
9351
- role: "img",
9352
10106
  "aria-labelledby": titleId
9353
10107
  }, props), title ? /*#__PURE__*/createElement("title", {
9354
10108
  id: titleId
@@ -9400,19 +10154,18 @@ var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref)
9400
10154
  };
9401
10155
 
9402
10156
  var _g$4, _defs;
9403
- var _excluded$1l = ["title", "titleId"];
10157
+ var _excluded$1p = ["title", "titleId"];
9404
10158
  function _extends$_() { _extends$_ = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$_.apply(this, arguments); }
9405
10159
  function _objectWithoutProperties$Z(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$_(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9406
10160
  function _objectWithoutPropertiesLoose$_(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9407
10161
  var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
9408
10162
  var title = _ref.title,
9409
10163
  titleId = _ref.titleId,
9410
- props = _objectWithoutProperties$Z(_ref, _excluded$1l);
10164
+ props = _objectWithoutProperties$Z(_ref, _excluded$1p);
9411
10165
  return /*#__PURE__*/createElement("svg", _extends$_({
9412
10166
  viewBox: "0 0 200 60",
9413
10167
  fill: "none",
9414
10168
  xmlns: "http://www.w3.org/2000/svg",
9415
- role: "img",
9416
10169
  "aria-labelledby": titleId
9417
10170
  }, props), title ? /*#__PURE__*/createElement("title", {
9418
10171
  id: titleId
@@ -9541,19 +10294,18 @@ var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
9541
10294
  };
9542
10295
 
9543
10296
  var _path$T, _path2$k;
9544
- var _excluded$1m = ["title", "titleId"];
10297
+ var _excluded$1q = ["title", "titleId"];
9545
10298
  function _extends$$() { _extends$$ = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$$.apply(this, arguments); }
9546
10299
  function _objectWithoutProperties$_(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$$(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9547
10300
  function _objectWithoutPropertiesLoose$$(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9548
10301
  var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
9549
10302
  var title = _ref.title,
9550
10303
  titleId = _ref.titleId,
9551
- props = _objectWithoutProperties$_(_ref, _excluded$1m);
10304
+ props = _objectWithoutProperties$_(_ref, _excluded$1q);
9552
10305
  return /*#__PURE__*/createElement("svg", _extends$$({
9553
10306
  viewBox: "0 0 186 74",
9554
10307
  fill: "none",
9555
10308
  xmlns: "http://www.w3.org/2000/svg",
9556
- role: "img",
9557
10309
  "aria-labelledby": titleId
9558
10310
  }, props), title ? /*#__PURE__*/createElement("title", {
9559
10311
  id: titleId
@@ -9567,18 +10319,17 @@ var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
9567
10319
  };
9568
10320
 
9569
10321
  var _path$U;
9570
- var _excluded$1n = ["title", "titleId"];
10322
+ var _excluded$1r = ["title", "titleId"];
9571
10323
  function _extends$10() { _extends$10 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$10.apply(this, arguments); }
9572
10324
  function _objectWithoutProperties$$(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$10(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9573
10325
  function _objectWithoutPropertiesLoose$10(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9574
10326
  var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
9575
10327
  var title = _ref.title,
9576
10328
  titleId = _ref.titleId,
9577
- props = _objectWithoutProperties$$(_ref, _excluded$1n);
10329
+ props = _objectWithoutProperties$$(_ref, _excluded$1r);
9578
10330
  return /*#__PURE__*/createElement("svg", _extends$10({
9579
10331
  viewBox: "0 0 186 74",
9580
10332
  xmlns: "http://www.w3.org/2000/svg",
9581
- role: "img",
9582
10333
  "aria-labelledby": titleId
9583
10334
  }, props), title ? /*#__PURE__*/createElement("title", {
9584
10335
  id: titleId
@@ -9588,19 +10339,18 @@ var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
9588
10339
  };
9589
10340
 
9590
10341
  var _path$V;
9591
- var _excluded$1o = ["title", "titleId"];
10342
+ var _excluded$1s = ["title", "titleId"];
9592
10343
  function _extends$11() { _extends$11 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$11.apply(this, arguments); }
9593
10344
  function _objectWithoutProperties$10(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$11(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9594
10345
  function _objectWithoutPropertiesLoose$11(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9595
10346
  var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
9596
10347
  var title = _ref.title,
9597
10348
  titleId = _ref.titleId,
9598
- props = _objectWithoutProperties$10(_ref, _excluded$1o);
10349
+ props = _objectWithoutProperties$10(_ref, _excluded$1s);
9599
10350
  return /*#__PURE__*/createElement("svg", _extends$11({
9600
10351
  viewBox: "0 0 186 74",
9601
10352
  fill: "#fff",
9602
10353
  xmlns: "http://www.w3.org/2000/svg",
9603
- role: "img",
9604
10354
  "aria-labelledby": titleId
9605
10355
  }, props), title ? /*#__PURE__*/createElement("title", {
9606
10356
  id: titleId
@@ -9610,18 +10360,17 @@ var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
9610
10360
  };
9611
10361
 
9612
10362
  var _g$5;
9613
- var _excluded$1p = ["title", "titleId"];
10363
+ var _excluded$1t = ["title", "titleId"];
9614
10364
  function _extends$12() { _extends$12 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$12.apply(this, arguments); }
9615
10365
  function _objectWithoutProperties$11(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$12(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9616
10366
  function _objectWithoutPropertiesLoose$12(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9617
10367
  var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
9618
10368
  var title = _ref.title,
9619
10369
  titleId = _ref.titleId,
9620
- props = _objectWithoutProperties$11(_ref, _excluded$1p);
10370
+ props = _objectWithoutProperties$11(_ref, _excluded$1t);
9621
10371
  return /*#__PURE__*/createElement("svg", _extends$12({
9622
10372
  viewBox: "0 0 300 71",
9623
10373
  xmlns: "http://www.w3.org/2000/svg",
9624
- role: "img",
9625
10374
  "aria-labelledby": titleId
9626
10375
  }, props), title ? /*#__PURE__*/createElement("title", {
9627
10376
  id: titleId
@@ -9633,19 +10382,18 @@ var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
9633
10382
  };
9634
10383
 
9635
10384
  var _g$6;
9636
- var _excluded$1q = ["title", "titleId"];
10385
+ var _excluded$1u = ["title", "titleId"];
9637
10386
  function _extends$13() { _extends$13 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$13.apply(this, arguments); }
9638
10387
  function _objectWithoutProperties$12(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$13(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9639
10388
  function _objectWithoutPropertiesLoose$13(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9640
10389
  var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
9641
10390
  var title = _ref.title,
9642
10391
  titleId = _ref.titleId,
9643
- props = _objectWithoutProperties$12(_ref, _excluded$1q);
10392
+ props = _objectWithoutProperties$12(_ref, _excluded$1u);
9644
10393
  return /*#__PURE__*/createElement("svg", _extends$13({
9645
10394
  viewBox: "0 0 300 71",
9646
10395
  fill: "#C60917",
9647
10396
  xmlns: "http://www.w3.org/2000/svg",
9648
- role: "img",
9649
10397
  "aria-labelledby": titleId
9650
10398
  }, props), title ? /*#__PURE__*/createElement("title", {
9651
10399
  id: titleId
@@ -9657,19 +10405,18 @@ var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
9657
10405
  };
9658
10406
 
9659
10407
  var _g$7;
9660
- var _excluded$1r = ["title", "titleId"];
10408
+ var _excluded$1v = ["title", "titleId"];
9661
10409
  function _extends$14() { _extends$14 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$14.apply(this, arguments); }
9662
10410
  function _objectWithoutProperties$13(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$14(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9663
10411
  function _objectWithoutPropertiesLoose$14(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9664
10412
  var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
9665
10413
  var title = _ref.title,
9666
10414
  titleId = _ref.titleId,
9667
- props = _objectWithoutProperties$13(_ref, _excluded$1r);
10415
+ props = _objectWithoutProperties$13(_ref, _excluded$1v);
9668
10416
  return /*#__PURE__*/createElement("svg", _extends$14({
9669
10417
  viewBox: "0 0 300 71",
9670
10418
  fill: "#fff",
9671
10419
  xmlns: "http://www.w3.org/2000/svg",
9672
- role: "img",
9673
10420
  "aria-labelledby": titleId
9674
10421
  }, props), title ? /*#__PURE__*/createElement("title", {
9675
10422
  id: titleId
@@ -9681,19 +10428,18 @@ var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
9681
10428
  };
9682
10429
 
9683
10430
  var _g$8, _defs$1;
9684
- var _excluded$1s = ["title", "titleId"];
10431
+ var _excluded$1w = ["title", "titleId"];
9685
10432
  function _extends$15() { _extends$15 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$15.apply(this, arguments); }
9686
10433
  function _objectWithoutProperties$14(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$15(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9687
10434
  function _objectWithoutPropertiesLoose$15(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9688
10435
  var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
9689
10436
  var title = _ref.title,
9690
10437
  titleId = _ref.titleId,
9691
- props = _objectWithoutProperties$14(_ref, _excluded$1s);
10438
+ props = _objectWithoutProperties$14(_ref, _excluded$1w);
9692
10439
  return /*#__PURE__*/createElement("svg", _extends$15({
9693
10440
  viewBox: "0 0 341 61",
9694
10441
  fill: "none",
9695
10442
  xmlns: "http://www.w3.org/2000/svg",
9696
- role: "img",
9697
10443
  "aria-labelledby": titleId
9698
10444
  }, props), title ? /*#__PURE__*/createElement("title", {
9699
10445
  id: titleId
@@ -9722,19 +10468,18 @@ var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
9722
10468
  })))));
9723
10469
  };
9724
10470
 
9725
- var _excluded$1t = ["title", "titleId"];
10471
+ var _excluded$1x = ["title", "titleId"];
9726
10472
  function _extends$16() { _extends$16 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$16.apply(this, arguments); }
9727
10473
  function _objectWithoutProperties$15(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$16(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9728
10474
  function _objectWithoutPropertiesLoose$16(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9729
10475
  var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
9730
10476
  var title = _ref.title,
9731
10477
  titleId = _ref.titleId,
9732
- props = _objectWithoutProperties$15(_ref, _excluded$1t);
10478
+ props = _objectWithoutProperties$15(_ref, _excluded$1x);
9733
10479
  return /*#__PURE__*/createElement("svg", _extends$16({
9734
10480
  xmlns: "http://www.w3.org/2000/svg",
9735
10481
  viewBox: "0 0 966.787 543.733",
9736
10482
  xmlSpace: "preserve",
9737
- role: "img",
9738
10483
  "aria-labelledby": titleId
9739
10484
  }, props), title ? /*#__PURE__*/createElement("title", {
9740
10485
  id: titleId
@@ -9805,19 +10550,18 @@ var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
9805
10550
  };
9806
10551
 
9807
10552
  var _g$9, _defs$2;
9808
- var _excluded$1u = ["title", "titleId"];
10553
+ var _excluded$1y = ["title", "titleId"];
9809
10554
  function _extends$17() { _extends$17 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$17.apply(this, arguments); }
9810
10555
  function _objectWithoutProperties$16(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$17(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9811
10556
  function _objectWithoutPropertiesLoose$17(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9812
10557
  var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
9813
10558
  var title = _ref.title,
9814
10559
  titleId = _ref.titleId,
9815
- props = _objectWithoutProperties$16(_ref, _excluded$1u);
10560
+ props = _objectWithoutProperties$16(_ref, _excluded$1y);
9816
10561
  return /*#__PURE__*/createElement("svg", _extends$17({
9817
10562
  viewBox: "0 0 967 568",
9818
10563
  fill: "none",
9819
10564
  xmlns: "http://www.w3.org/2000/svg",
9820
- role: "img",
9821
10565
  "aria-labelledby": titleId
9822
10566
  }, props), title ? /*#__PURE__*/createElement("title", {
9823
10567
  id: titleId
@@ -9841,19 +10585,18 @@ var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
9841
10585
  };
9842
10586
 
9843
10587
  var _path$W, _path2$l, _path3$c;
9844
- var _excluded$1v = ["title", "titleId"];
10588
+ var _excluded$1z = ["title", "titleId"];
9845
10589
  function _extends$18() { _extends$18 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$18.apply(this, arguments); }
9846
10590
  function _objectWithoutProperties$17(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$18(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9847
10591
  function _objectWithoutPropertiesLoose$18(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9848
10592
  var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
9849
10593
  var title = _ref.title,
9850
10594
  titleId = _ref.titleId,
9851
- props = _objectWithoutProperties$17(_ref, _excluded$1v);
10595
+ props = _objectWithoutProperties$17(_ref, _excluded$1z);
9852
10596
  return /*#__PURE__*/createElement("svg", _extends$18({
9853
10597
  viewBox: "0 0 136 135",
9854
10598
  fill: "none",
9855
10599
  xmlns: "http://www.w3.org/2000/svg",
9856
- role: "img",
9857
10600
  "aria-labelledby": titleId
9858
10601
  }, props), title ? /*#__PURE__*/createElement("title", {
9859
10602
  id: titleId
@@ -9872,19 +10615,18 @@ var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
9872
10615
  };
9873
10616
 
9874
10617
  var _path$X;
9875
- var _excluded$1w = ["title", "titleId"];
10618
+ var _excluded$1A = ["title", "titleId"];
9876
10619
  function _extends$19() { _extends$19 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$19.apply(this, arguments); }
9877
10620
  function _objectWithoutProperties$18(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$19(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9878
10621
  function _objectWithoutPropertiesLoose$19(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9879
10622
  var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
9880
10623
  var title = _ref.title,
9881
10624
  titleId = _ref.titleId,
9882
- props = _objectWithoutProperties$18(_ref, _excluded$1w);
10625
+ props = _objectWithoutProperties$18(_ref, _excluded$1A);
9883
10626
  return /*#__PURE__*/createElement("svg", _extends$19({
9884
10627
  viewBox: "0 0 125 126",
9885
10628
  fill: "none",
9886
10629
  xmlns: "http://www.w3.org/2000/svg",
9887
- role: "img",
9888
10630
  "aria-labelledby": titleId
9889
10631
  }, props), title ? /*#__PURE__*/createElement("title", {
9890
10632
  id: titleId
@@ -9897,19 +10639,18 @@ var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
9897
10639
  };
9898
10640
 
9899
10641
  var _path$Y, _path2$m, _path3$d, _path4$2, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1, _path11$1, _path12$1, _path13$1, _path14, _path15;
9900
- var _excluded$1x = ["title", "titleId"];
10642
+ var _excluded$1B = ["title", "titleId"];
9901
10643
  function _extends$1a() { _extends$1a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1a.apply(this, arguments); }
9902
10644
  function _objectWithoutProperties$19(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1a(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9903
10645
  function _objectWithoutPropertiesLoose$1a(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9904
10646
  var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
9905
10647
  var title = _ref.title,
9906
10648
  titleId = _ref.titleId,
9907
- props = _objectWithoutProperties$19(_ref, _excluded$1x);
10649
+ props = _objectWithoutProperties$19(_ref, _excluded$1B);
9908
10650
  return /*#__PURE__*/createElement("svg", _extends$1a({
9909
10651
  viewBox: "0 0 201 165",
9910
10652
  fill: "none",
9911
10653
  xmlns: "http://www.w3.org/2000/svg",
9912
- role: "img",
9913
10654
  "aria-labelledby": titleId
9914
10655
  }, props), title ? /*#__PURE__*/createElement("title", {
9915
10656
  id: titleId
@@ -9976,19 +10717,18 @@ var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
9976
10717
  };
9977
10718
 
9978
10719
  var _path$Z, _path2$n, _path3$e, _path4$3, _path5$2, _path6$2, _path7$2, _path8$2, _path9$2, _path10$2, _path11$2, _path12$2, _path13$2, _path14$1, _path15$1;
9979
- var _excluded$1y = ["title", "titleId"];
10720
+ var _excluded$1C = ["title", "titleId"];
9980
10721
  function _extends$1b() { _extends$1b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1b.apply(this, arguments); }
9981
10722
  function _objectWithoutProperties$1a(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1b(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9982
10723
  function _objectWithoutPropertiesLoose$1b(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9983
10724
  var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
9984
10725
  var title = _ref.title,
9985
10726
  titleId = _ref.titleId,
9986
- props = _objectWithoutProperties$1a(_ref, _excluded$1y);
10727
+ props = _objectWithoutProperties$1a(_ref, _excluded$1C);
9987
10728
  return /*#__PURE__*/createElement("svg", _extends$1b({
9988
10729
  viewBox: "0 0 201 165",
9989
10730
  fill: "none",
9990
10731
  xmlns: "http://www.w3.org/2000/svg",
9991
- role: "img",
9992
10732
  "aria-labelledby": titleId
9993
10733
  }, props), title ? /*#__PURE__*/createElement("title", {
9994
10734
  id: titleId
@@ -10055,19 +10795,18 @@ var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
10055
10795
  };
10056
10796
 
10057
10797
  var _g$a, _defs$3;
10058
- var _excluded$1z = ["title", "titleId"];
10798
+ var _excluded$1D = ["title", "titleId"];
10059
10799
  function _extends$1c() { _extends$1c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1c.apply(this, arguments); }
10060
10800
  function _objectWithoutProperties$1b(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1c(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10061
10801
  function _objectWithoutPropertiesLoose$1c(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10062
10802
  var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10063
10803
  var title = _ref.title,
10064
10804
  titleId = _ref.titleId,
10065
- props = _objectWithoutProperties$1b(_ref, _excluded$1z);
10805
+ props = _objectWithoutProperties$1b(_ref, _excluded$1D);
10066
10806
  return /*#__PURE__*/createElement("svg", _extends$1c({
10067
10807
  viewBox: "0 0 152 139",
10068
10808
  fill: "none",
10069
10809
  xmlns: "http://www.w3.org/2000/svg",
10070
- role: "img",
10071
10810
  "aria-labelledby": titleId
10072
10811
  }, props), title ? /*#__PURE__*/createElement("title", {
10073
10812
  id: titleId
@@ -10111,19 +10850,18 @@ var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10111
10850
  };
10112
10851
 
10113
10852
  var _g$b, _defs$4;
10114
- var _excluded$1A = ["title", "titleId"];
10853
+ var _excluded$1E = ["title", "titleId"];
10115
10854
  function _extends$1d() { _extends$1d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1d.apply(this, arguments); }
10116
10855
  function _objectWithoutProperties$1c(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1d(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10117
10856
  function _objectWithoutPropertiesLoose$1d(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10118
10857
  var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10119
10858
  var title = _ref.title,
10120
10859
  titleId = _ref.titleId,
10121
- props = _objectWithoutProperties$1c(_ref, _excluded$1A);
10860
+ props = _objectWithoutProperties$1c(_ref, _excluded$1E);
10122
10861
  return /*#__PURE__*/createElement("svg", _extends$1d({
10123
10862
  viewBox: "0 0 155 139",
10124
10863
  fill: "none",
10125
10864
  xmlns: "http://www.w3.org/2000/svg",
10126
- role: "img",
10127
10865
  "aria-labelledby": titleId
10128
10866
  }, props), title ? /*#__PURE__*/createElement("title", {
10129
10867
  id: titleId
@@ -10190,19 +10928,18 @@ var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10190
10928
  };
10191
10929
 
10192
10930
  var _g$c, _defs$5;
10193
- var _excluded$1B = ["title", "titleId"];
10931
+ var _excluded$1F = ["title", "titleId"];
10194
10932
  function _extends$1e() { _extends$1e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1e.apply(this, arguments); }
10195
10933
  function _objectWithoutProperties$1d(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1e(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10196
10934
  function _objectWithoutPropertiesLoose$1e(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10197
10935
  var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_ref) {
10198
10936
  var title = _ref.title,
10199
10937
  titleId = _ref.titleId,
10200
- props = _objectWithoutProperties$1d(_ref, _excluded$1B);
10938
+ props = _objectWithoutProperties$1d(_ref, _excluded$1F);
10201
10939
  return /*#__PURE__*/createElement("svg", _extends$1e({
10202
10940
  viewBox: "0 0 152 139",
10203
10941
  fill: "none",
10204
10942
  xmlns: "http://www.w3.org/2000/svg",
10205
- role: "img",
10206
10943
  "aria-labelledby": titleId
10207
10944
  }, props), title ? /*#__PURE__*/createElement("title", {
10208
10945
  id: titleId
@@ -10246,19 +10983,18 @@ var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_re
10246
10983
  };
10247
10984
 
10248
10985
  var _g$d, _defs$6;
10249
- var _excluded$1C = ["title", "titleId"];
10986
+ var _excluded$1G = ["title", "titleId"];
10250
10987
  function _extends$1f() { _extends$1f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1f.apply(this, arguments); }
10251
10988
  function _objectWithoutProperties$1e(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1f(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10252
10989
  function _objectWithoutPropertiesLoose$1f(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10253
10990
  var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegative(_ref) {
10254
10991
  var title = _ref.title,
10255
10992
  titleId = _ref.titleId,
10256
- props = _objectWithoutProperties$1e(_ref, _excluded$1C);
10993
+ props = _objectWithoutProperties$1e(_ref, _excluded$1G);
10257
10994
  return /*#__PURE__*/createElement("svg", _extends$1f({
10258
10995
  viewBox: "0 0 155 139",
10259
10996
  fill: "none",
10260
10997
  xmlns: "http://www.w3.org/2000/svg",
10261
- role: "img",
10262
10998
  "aria-labelledby": titleId
10263
10999
  }, props), title ? /*#__PURE__*/createElement("title", {
10264
11000
  id: titleId
@@ -10328,18 +11064,17 @@ var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegati
10328
11064
  };
10329
11065
 
10330
11066
  var _path$_;
10331
- var _excluded$1D = ["title", "titleId"];
11067
+ var _excluded$1H = ["title", "titleId"];
10332
11068
  function _extends$1g() { _extends$1g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1g.apply(this, arguments); }
10333
11069
  function _objectWithoutProperties$1f(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1g(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10334
11070
  function _objectWithoutPropertiesLoose$1g(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10335
11071
  var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
10336
11072
  var title = _ref.title,
10337
11073
  titleId = _ref.titleId,
10338
- props = _objectWithoutProperties$1f(_ref, _excluded$1D);
11074
+ props = _objectWithoutProperties$1f(_ref, _excluded$1H);
10339
11075
  return /*#__PURE__*/createElement("svg", _extends$1g({
10340
11076
  viewBox: "0 0 250 134",
10341
11077
  xmlns: "http://www.w3.org/2000/svg",
10342
- role: "img",
10343
11078
  "aria-labelledby": titleId
10344
11079
  }, props), title ? /*#__PURE__*/createElement("title", {
10345
11080
  id: titleId
@@ -10349,19 +11084,18 @@ var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
10349
11084
  };
10350
11085
 
10351
11086
  var _path$$;
10352
- var _excluded$1E = ["title", "titleId"];
11087
+ var _excluded$1I = ["title", "titleId"];
10353
11088
  function _extends$1h() { _extends$1h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1h.apply(this, arguments); }
10354
11089
  function _objectWithoutProperties$1g(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1h(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10355
11090
  function _objectWithoutPropertiesLoose$1h(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10356
11091
  var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
10357
11092
  var title = _ref.title,
10358
11093
  titleId = _ref.titleId,
10359
- props = _objectWithoutProperties$1g(_ref, _excluded$1E);
11094
+ props = _objectWithoutProperties$1g(_ref, _excluded$1I);
10360
11095
  return /*#__PURE__*/createElement("svg", _extends$1h({
10361
11096
  viewBox: "0 0 250 134",
10362
11097
  fill: "#fff",
10363
11098
  xmlns: "http://www.w3.org/2000/svg",
10364
- role: "img",
10365
11099
  "aria-labelledby": titleId
10366
11100
  }, props), title ? /*#__PURE__*/createElement("title", {
10367
11101
  id: titleId
@@ -10371,18 +11105,17 @@ var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
10371
11105
  };
10372
11106
 
10373
11107
  var _path$10, _path2$o, _path3$f, _path4$4, _path5$3;
10374
- var _excluded$1F = ["title", "titleId"];
11108
+ var _excluded$1J = ["title", "titleId"];
10375
11109
  function _extends$1i() { _extends$1i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1i.apply(this, arguments); }
10376
11110
  function _objectWithoutProperties$1h(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1i(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10377
11111
  function _objectWithoutPropertiesLoose$1i(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10378
11112
  var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
10379
11113
  var title = _ref.title,
10380
11114
  titleId = _ref.titleId,
10381
- props = _objectWithoutProperties$1h(_ref, _excluded$1F);
11115
+ props = _objectWithoutProperties$1h(_ref, _excluded$1J);
10382
11116
  return /*#__PURE__*/createElement("svg", _extends$1i({
10383
11117
  viewBox: "0 0 320 43",
10384
11118
  xmlns: "http://www.w3.org/2000/svg",
10385
- role: "img",
10386
11119
  "aria-labelledby": titleId
10387
11120
  }, props), title ? /*#__PURE__*/createElement("title", {
10388
11121
  id: titleId
@@ -10408,19 +11141,18 @@ var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
10408
11141
  };
10409
11142
 
10410
11143
  var _g$e, _defs$7;
10411
- var _excluded$1G = ["title", "titleId"];
11144
+ var _excluded$1K = ["title", "titleId"];
10412
11145
  function _extends$1j() { _extends$1j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1j.apply(this, arguments); }
10413
11146
  function _objectWithoutProperties$1i(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1j(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10414
11147
  function _objectWithoutPropertiesLoose$1j(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10415
11148
  var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
10416
11149
  var title = _ref.title,
10417
11150
  titleId = _ref.titleId,
10418
- props = _objectWithoutProperties$1i(_ref, _excluded$1G);
11151
+ props = _objectWithoutProperties$1i(_ref, _excluded$1K);
10419
11152
  return /*#__PURE__*/createElement("svg", _extends$1j({
10420
11153
  viewBox: "0 0 355 48",
10421
11154
  fill: "none",
10422
11155
  xmlns: "http://www.w3.org/2000/svg",
10423
- role: "img",
10424
11156
  "aria-labelledby": titleId
10425
11157
  }, props), title ? /*#__PURE__*/createElement("title", {
10426
11158
  id: titleId
@@ -10464,19 +11196,18 @@ var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
10464
11196
  };
10465
11197
 
10466
11198
  var _path$11, _path2$p, _path3$g, _path4$5, _path5$4;
10467
- var _excluded$1H = ["title", "titleId"];
11199
+ var _excluded$1L = ["title", "titleId"];
10468
11200
  function _extends$1k() { _extends$1k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1k.apply(this, arguments); }
10469
11201
  function _objectWithoutProperties$1j(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1k(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10470
11202
  function _objectWithoutPropertiesLoose$1k(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10471
11203
  var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
10472
11204
  var title = _ref.title,
10473
11205
  titleId = _ref.titleId,
10474
- props = _objectWithoutProperties$1j(_ref, _excluded$1H);
11206
+ props = _objectWithoutProperties$1j(_ref, _excluded$1L);
10475
11207
  return /*#__PURE__*/createElement("svg", _extends$1k({
10476
11208
  viewBox: "0 0 320 43",
10477
11209
  fill: "#fff",
10478
11210
  xmlns: "http://www.w3.org/2000/svg",
10479
- role: "img",
10480
11211
  "aria-labelledby": titleId
10481
11212
  }, props), title ? /*#__PURE__*/createElement("title", {
10482
11213
  id: titleId
@@ -10502,19 +11233,18 @@ var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
10502
11233
  };
10503
11234
 
10504
11235
  var _path$12, _path2$q, _path3$h, _path4$6, _path5$5;
10505
- var _excluded$1I = ["title", "titleId"];
11236
+ var _excluded$1M = ["title", "titleId"];
10506
11237
  function _extends$1l() { _extends$1l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1l.apply(this, arguments); }
10507
11238
  function _objectWithoutProperties$1k(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1l(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10508
11239
  function _objectWithoutPropertiesLoose$1l(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10509
11240
  var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
10510
11241
  var title = _ref.title,
10511
11242
  titleId = _ref.titleId,
10512
- props = _objectWithoutProperties$1k(_ref, _excluded$1I);
11243
+ props = _objectWithoutProperties$1k(_ref, _excluded$1M);
10513
11244
  return /*#__PURE__*/createElement("svg", _extends$1l({
10514
11245
  viewBox: "0 0 105 129",
10515
11246
  fill: "none",
10516
11247
  xmlns: "http://www.w3.org/2000/svg",
10517
- role: "img",
10518
11248
  "aria-labelledby": titleId
10519
11249
  }, props), title ? /*#__PURE__*/createElement("title", {
10520
11250
  id: titleId
@@ -10537,19 +11267,18 @@ var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
10537
11267
  };
10538
11268
 
10539
11269
  var _g$f;
10540
- var _excluded$1J = ["title", "titleId"];
11270
+ var _excluded$1N = ["title", "titleId"];
10541
11271
  function _extends$1m() { _extends$1m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1m.apply(this, arguments); }
10542
11272
  function _objectWithoutProperties$1l(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1m(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10543
11273
  function _objectWithoutPropertiesLoose$1m(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10544
11274
  var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref) {
10545
11275
  var title = _ref.title,
10546
11276
  titleId = _ref.titleId,
10547
- props = _objectWithoutProperties$1l(_ref, _excluded$1J);
11277
+ props = _objectWithoutProperties$1l(_ref, _excluded$1N);
10548
11278
  return /*#__PURE__*/createElement("svg", _extends$1m({
10549
11279
  viewBox: "0 0 234 261",
10550
11280
  fill: "none",
10551
11281
  xmlns: "http://www.w3.org/2000/svg",
10552
- role: "img",
10553
11282
  "aria-labelledby": titleId
10554
11283
  }, props), title ? /*#__PURE__*/createElement("title", {
10555
11284
  id: titleId
@@ -10571,18 +11300,17 @@ var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref)
10571
11300
  };
10572
11301
 
10573
11302
  var _path$13, _path2$r, _path3$i, _path4$7, _path5$6;
10574
- var _excluded$1K = ["title", "titleId"];
11303
+ var _excluded$1O = ["title", "titleId"];
10575
11304
  function _extends$1n() { _extends$1n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1n.apply(this, arguments); }
10576
11305
  function _objectWithoutProperties$1m(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1n(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10577
11306
  function _objectWithoutPropertiesLoose$1n(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10578
11307
  var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
10579
11308
  var title = _ref.title,
10580
11309
  titleId = _ref.titleId,
10581
- props = _objectWithoutProperties$1m(_ref, _excluded$1K);
11310
+ props = _objectWithoutProperties$1m(_ref, _excluded$1O);
10582
11311
  return /*#__PURE__*/createElement("svg", _extends$1n({
10583
11312
  viewBox: "0 0 185 79",
10584
11313
  xmlns: "http://www.w3.org/2000/svg",
10585
- role: "img",
10586
11314
  "aria-labelledby": titleId
10587
11315
  }, props), title ? /*#__PURE__*/createElement("title", {
10588
11316
  id: titleId
@@ -10600,18 +11328,17 @@ var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
10600
11328
  };
10601
11329
 
10602
11330
  var _path$14, _path2$s, _path3$j, _path4$8, _path5$7;
10603
- var _excluded$1L = ["title", "titleId"];
11331
+ var _excluded$1P = ["title", "titleId"];
10604
11332
  function _extends$1o() { _extends$1o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1o.apply(this, arguments); }
10605
11333
  function _objectWithoutProperties$1n(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1o(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10606
11334
  function _objectWithoutPropertiesLoose$1o(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10607
11335
  var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
10608
11336
  var title = _ref.title,
10609
11337
  titleId = _ref.titleId,
10610
- props = _objectWithoutProperties$1n(_ref, _excluded$1L);
11338
+ props = _objectWithoutProperties$1n(_ref, _excluded$1P);
10611
11339
  return /*#__PURE__*/createElement("svg", _extends$1o({
10612
11340
  viewBox: "0 0 67 67",
10613
11341
  xmlns: "http://www.w3.org/2000/svg",
10614
- role: "img",
10615
11342
  "aria-labelledby": titleId
10616
11343
  }, props), title ? /*#__PURE__*/createElement("title", {
10617
11344
  id: titleId
@@ -10629,19 +11356,18 @@ var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
10629
11356
  };
10630
11357
 
10631
11358
  var _path$15, _path2$t, _path3$k, _path4$9, _path5$8;
10632
- var _excluded$1M = ["title", "titleId"];
11359
+ var _excluded$1Q = ["title", "titleId"];
10633
11360
  function _extends$1p() { _extends$1p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1p.apply(this, arguments); }
10634
11361
  function _objectWithoutProperties$1o(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1p(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10635
11362
  function _objectWithoutPropertiesLoose$1p(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10636
11363
  var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
10637
11364
  var title = _ref.title,
10638
11365
  titleId = _ref.titleId,
10639
- props = _objectWithoutProperties$1o(_ref, _excluded$1M);
11366
+ props = _objectWithoutProperties$1o(_ref, _excluded$1Q);
10640
11367
  return /*#__PURE__*/createElement("svg", _extends$1p({
10641
11368
  viewBox: "0 0 67 67",
10642
11369
  fill: "none",
10643
11370
  xmlns: "http://www.w3.org/2000/svg",
10644
- role: "img",
10645
11371
  "aria-labelledby": titleId
10646
11372
  }, props), title ? /*#__PURE__*/createElement("title", {
10647
11373
  id: titleId
@@ -10664,19 +11390,18 @@ var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
10664
11390
  };
10665
11391
 
10666
11392
  var _path$16, _path2$u, _path3$l, _path4$a, _path5$9;
10667
- var _excluded$1N = ["title", "titleId"];
11393
+ var _excluded$1R = ["title", "titleId"];
10668
11394
  function _extends$1q() { _extends$1q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1q.apply(this, arguments); }
10669
11395
  function _objectWithoutProperties$1p(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1q(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10670
11396
  function _objectWithoutPropertiesLoose$1q(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10671
11397
  var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
10672
11398
  var title = _ref.title,
10673
11399
  titleId = _ref.titleId,
10674
- props = _objectWithoutProperties$1p(_ref, _excluded$1N);
11400
+ props = _objectWithoutProperties$1p(_ref, _excluded$1R);
10675
11401
  return /*#__PURE__*/createElement("svg", _extends$1q({
10676
11402
  viewBox: "0 0 67 67",
10677
11403
  fill: "#fff",
10678
11404
  xmlns: "http://www.w3.org/2000/svg",
10679
- role: "img",
10680
11405
  "aria-labelledby": titleId
10681
11406
  }, props), title ? /*#__PURE__*/createElement("title", {
10682
11407
  id: titleId
@@ -10694,19 +11419,18 @@ var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
10694
11419
  };
10695
11420
 
10696
11421
  var _path$17, _path2$v, _path3$m, _path4$b, _path5$a, _path6$3, _path7$3;
10697
- var _excluded$1O = ["title", "titleId"];
11422
+ var _excluded$1S = ["title", "titleId"];
10698
11423
  function _extends$1r() { _extends$1r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1r.apply(this, arguments); }
10699
11424
  function _objectWithoutProperties$1q(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1r(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10700
11425
  function _objectWithoutPropertiesLoose$1r(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10701
11426
  var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
10702
11427
  var title = _ref.title,
10703
11428
  titleId = _ref.titleId,
10704
- props = _objectWithoutProperties$1q(_ref, _excluded$1O);
11429
+ props = _objectWithoutProperties$1q(_ref, _excluded$1S);
10705
11430
  return /*#__PURE__*/createElement("svg", _extends$1r({
10706
11431
  viewBox: "0 0 185 79",
10707
11432
  fill: "none",
10708
11433
  xmlns: "http://www.w3.org/2000/svg",
10709
- role: "img",
10710
11434
  "aria-labelledby": titleId
10711
11435
  }, props), title ? /*#__PURE__*/createElement("title", {
10712
11436
  id: titleId
@@ -10735,19 +11459,18 @@ var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
10735
11459
  };
10736
11460
 
10737
11461
  var _path$18, _path2$w, _path3$n, _path4$c, _path5$b;
10738
- var _excluded$1P = ["title", "titleId"];
11462
+ var _excluded$1T = ["title", "titleId"];
10739
11463
  function _extends$1s() { _extends$1s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1s.apply(this, arguments); }
10740
11464
  function _objectWithoutProperties$1r(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1s(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10741
11465
  function _objectWithoutPropertiesLoose$1s(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10742
11466
  var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
10743
11467
  var title = _ref.title,
10744
11468
  titleId = _ref.titleId,
10745
- props = _objectWithoutProperties$1r(_ref, _excluded$1P);
11469
+ props = _objectWithoutProperties$1r(_ref, _excluded$1T);
10746
11470
  return /*#__PURE__*/createElement("svg", _extends$1s({
10747
11471
  viewBox: "0 0 185 79",
10748
11472
  fill: "#fff",
10749
11473
  xmlns: "http://www.w3.org/2000/svg",
10750
- role: "img",
10751
11474
  "aria-labelledby": titleId
10752
11475
  }, props), title ? /*#__PURE__*/createElement("title", {
10753
11476
  id: titleId
@@ -10765,18 +11488,17 @@ var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
10765
11488
  };
10766
11489
 
10767
11490
  var _g$g, _defs$8;
10768
- var _excluded$1Q = ["title", "titleId"];
11491
+ var _excluded$1U = ["title", "titleId"];
10769
11492
  function _extends$1t() { _extends$1t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1t.apply(this, arguments); }
10770
11493
  function _objectWithoutProperties$1s(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1t(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10771
11494
  function _objectWithoutPropertiesLoose$1t(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10772
11495
  var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
10773
11496
  var title = _ref.title,
10774
11497
  titleId = _ref.titleId,
10775
- props = _objectWithoutProperties$1s(_ref, _excluded$1Q);
11498
+ props = _objectWithoutProperties$1s(_ref, _excluded$1U);
10776
11499
  return /*#__PURE__*/createElement("svg", _extends$1t({
10777
11500
  viewBox: "0 0 512 148",
10778
11501
  xmlns: "http://www.w3.org/2000/svg",
10779
- role: "img",
10780
11502
  "aria-labelledby": titleId
10781
11503
  }, props), title ? /*#__PURE__*/createElement("title", {
10782
11504
  id: titleId
@@ -10798,19 +11520,18 @@ var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
10798
11520
  };
10799
11521
 
10800
11522
  var _g$h, _defs$9;
10801
- var _excluded$1R = ["title", "titleId"];
11523
+ var _excluded$1V = ["title", "titleId"];
10802
11524
  function _extends$1u() { _extends$1u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1u.apply(this, arguments); }
10803
11525
  function _objectWithoutProperties$1t(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1u(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10804
11526
  function _objectWithoutPropertiesLoose$1u(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10805
11527
  var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
10806
11528
  var title = _ref.title,
10807
11529
  titleId = _ref.titleId,
10808
- props = _objectWithoutProperties$1t(_ref, _excluded$1R);
11530
+ props = _objectWithoutProperties$1t(_ref, _excluded$1V);
10809
11531
  return /*#__PURE__*/createElement("svg", _extends$1u({
10810
11532
  viewBox: "0 0 512 148",
10811
11533
  fill: "#fff",
10812
11534
  xmlns: "http://www.w3.org/2000/svg",
10813
- role: "img",
10814
11535
  "aria-labelledby": titleId
10815
11536
  }, props), title ? /*#__PURE__*/createElement("title", {
10816
11537
  id: titleId
@@ -10831,19 +11552,18 @@ var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
10831
11552
  };
10832
11553
 
10833
11554
  var _g$i, _defs$a;
10834
- var _excluded$1S = ["title", "titleId"];
11555
+ var _excluded$1W = ["title", "titleId"];
10835
11556
  function _extends$1v() { _extends$1v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1v.apply(this, arguments); }
10836
11557
  function _objectWithoutProperties$1u(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1v(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10837
11558
  function _objectWithoutPropertiesLoose$1v(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10838
11559
  var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
10839
11560
  var title = _ref.title,
10840
11561
  titleId = _ref.titleId,
10841
- props = _objectWithoutProperties$1u(_ref, _excluded$1S);
11562
+ props = _objectWithoutProperties$1u(_ref, _excluded$1W);
10842
11563
  return /*#__PURE__*/createElement("svg", _extends$1v({
10843
11564
  viewBox: "0 0 682 196",
10844
11565
  fill: "none",
10845
11566
  xmlns: "http://www.w3.org/2000/svg",
10846
- role: "img",
10847
11567
  "aria-labelledby": titleId
10848
11568
  }, props), title ? /*#__PURE__*/createElement("title", {
10849
11569
  id: titleId
@@ -10871,18 +11591,17 @@ var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
10871
11591
  };
10872
11592
 
10873
11593
  var _path$19;
10874
- var _excluded$1T = ["title", "titleId"];
11594
+ var _excluded$1X = ["title", "titleId"];
10875
11595
  function _extends$1w() { _extends$1w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1w.apply(this, arguments); }
10876
11596
  function _objectWithoutProperties$1v(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1w(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10877
11597
  function _objectWithoutPropertiesLoose$1w(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10878
11598
  var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
10879
11599
  var title = _ref.title,
10880
11600
  titleId = _ref.titleId,
10881
- props = _objectWithoutProperties$1v(_ref, _excluded$1T);
11601
+ props = _objectWithoutProperties$1v(_ref, _excluded$1X);
10882
11602
  return /*#__PURE__*/createElement("svg", _extends$1w({
10883
11603
  viewBox: "0 0 84 111",
10884
11604
  xmlns: "http://www.w3.org/2000/svg",
10885
- role: "img",
10886
11605
  "aria-labelledby": titleId
10887
11606
  }, props), title ? /*#__PURE__*/createElement("title", {
10888
11607
  id: titleId
@@ -10892,19 +11611,18 @@ var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
10892
11611
  };
10893
11612
 
10894
11613
  var _path$1a;
10895
- var _excluded$1U = ["title", "titleId"];
11614
+ var _excluded$1Y = ["title", "titleId"];
10896
11615
  function _extends$1x() { _extends$1x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1x.apply(this, arguments); }
10897
11616
  function _objectWithoutProperties$1w(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1x(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10898
11617
  function _objectWithoutPropertiesLoose$1x(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10899
11618
  var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
10900
11619
  var title = _ref.title,
10901
11620
  titleId = _ref.titleId,
10902
- props = _objectWithoutProperties$1w(_ref, _excluded$1U);
11621
+ props = _objectWithoutProperties$1w(_ref, _excluded$1Y);
10903
11622
  return /*#__PURE__*/createElement("svg", _extends$1x({
10904
11623
  viewBox: "0 0 84 111",
10905
11624
  fill: "#fff",
10906
11625
  xmlns: "http://www.w3.org/2000/svg",
10907
- role: "img",
10908
11626
  "aria-labelledby": titleId
10909
11627
  }, props), title ? /*#__PURE__*/createElement("title", {
10910
11628
  id: titleId
@@ -10914,19 +11632,18 @@ var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
10914
11632
  };
10915
11633
 
10916
11634
  var _path$1b, _path2$x, _path3$o, _path4$d, _path5$c, _path6$4, _path7$4, _path8$3, _path9$3, _path10$3, _path11$3, _path12$3, _path13$3, _path14$2, _path15$2, _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;
10917
- var _excluded$1V = ["title", "titleId"];
11635
+ var _excluded$1Z = ["title", "titleId"];
10918
11636
  function _extends$1y() { _extends$1y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1y.apply(this, arguments); }
10919
11637
  function _objectWithoutProperties$1x(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1y(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10920
11638
  function _objectWithoutPropertiesLoose$1y(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10921
11639
  var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
10922
11640
  var title = _ref.title,
10923
11641
  titleId = _ref.titleId,
10924
- props = _objectWithoutProperties$1x(_ref, _excluded$1V);
11642
+ props = _objectWithoutProperties$1x(_ref, _excluded$1Z);
10925
11643
  return /*#__PURE__*/createElement("svg", _extends$1y({
10926
11644
  viewBox: "0 0 324 265",
10927
11645
  fill: "none",
10928
11646
  xmlns: "http://www.w3.org/2000/svg",
10929
- role: "img",
10930
11647
  "aria-labelledby": titleId
10931
11648
  }, props), title ? /*#__PURE__*/createElement("title", {
10932
11649
  id: titleId
@@ -11099,19 +11816,18 @@ var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
11099
11816
  };
11100
11817
 
11101
11818
  var _path$1c, _path2$y, _path3$p, _path4$e, _path5$d, _path6$5, _path7$5, _path8$4, _path9$4, _path10$4, _path11$4, _path12$4, _path13$4, _path14$3, _path15$3, _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;
11102
- var _excluded$1W = ["title", "titleId"];
11819
+ var _excluded$1_ = ["title", "titleId"];
11103
11820
  function _extends$1z() { _extends$1z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1z.apply(this, arguments); }
11104
11821
  function _objectWithoutProperties$1y(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1z(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11105
11822
  function _objectWithoutPropertiesLoose$1z(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11106
11823
  var SvgLogoTreasuresColorNegative = function SvgLogoTreasuresColorNegative(_ref) {
11107
11824
  var title = _ref.title,
11108
11825
  titleId = _ref.titleId,
11109
- props = _objectWithoutProperties$1y(_ref, _excluded$1W);
11826
+ props = _objectWithoutProperties$1y(_ref, _excluded$1_);
11110
11827
  return /*#__PURE__*/createElement("svg", _extends$1z({
11111
11828
  viewBox: "0 0 327 266",
11112
11829
  fill: "none",
11113
11830
  xmlns: "http://www.w3.org/2000/svg",
11114
- role: "img",
11115
11831
  "aria-labelledby": titleId
11116
11832
  }, props), title ? /*#__PURE__*/createElement("title", {
11117
11833
  id: titleId
@@ -11334,7 +12050,7 @@ var logoSvgs = {
11334
12050
  treasuresColorNegative: SvgLogoTreasuresColorNegative
11335
12051
  };
11336
12052
 
11337
- var _excluded$1X = ["children", "className", "decorative", "id", "name", "size", "title"];
12053
+ var _excluded$1$ = ["children", "className", "decorative", "id", "name", "size", "title"];
11338
12054
  /**
11339
12055
  * The `Logo` component renders SVG-based logos and color variants that are
11340
12056
  * commonly used by the New York Public Library.
@@ -11351,7 +12067,7 @@ var Logo$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
11351
12067
  size = _props$size === void 0 ? "medium" : _props$size,
11352
12068
  _props$title = props.title,
11353
12069
  title = _props$title === void 0 ? name + " logo" : _props$title,
11354
- rest = _objectWithoutPropertiesLoose(props, _excluded$1X);
12070
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1$);
11355
12071
  var styles = useStyleConfig("Logo", {
11356
12072
  size: size
11357
12073
  });
@@ -11452,7 +12168,7 @@ var link$1 = {
11452
12168
  }]
11453
12169
  };
11454
12170
 
11455
- var _excluded$1Y = ["className", "id"];
12171
+ var _excluded$20 = ["className", "id"];
11456
12172
  /**
11457
12173
  * This `Footer` component renders the NYPL-branded footer elements such
11458
12174
  * as navigational NYPL.org links, social media links, copyright, and
@@ -11462,7 +12178,7 @@ var Footer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref)
11462
12178
  var className = _ref.className,
11463
12179
  _ref$id = _ref.id,
11464
12180
  id = _ref$id === void 0 ? "footer" : _ref$id,
11465
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1Y);
12181
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$20);
11466
12182
  var styles = useMultiStyleConfig("Footer", {});
11467
12183
  var nyplLinks = link$1.nyplLinks.map(function (links, index) {
11468
12184
  return React__default.createElement(List$1, {
@@ -11486,266 +12202,101 @@ var Footer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref)
11486
12202
  }, React__default.createElement(Icon, {
11487
12203
  "aria-label": link.title,
11488
12204
  decorative: false,
11489
- name: link.iconName,
11490
- size: "small",
11491
- title: link.title
11492
- }));
11493
- });
11494
- return React__default.createElement(Box, Object.assign({
11495
- as: "footer",
11496
- className: className,
11497
- id: id,
11498
- ref: ref,
11499
- role: "contentinfo"
11500
- }, rest, {
11501
- __css: styles
11502
- }), React__default.createElement(Box, {
11503
- __css: styles.listsContainer
11504
- }, React__default.createElement(List$1, {
11505
- "data-testid": "text-links",
11506
- listItems: nyplLinks,
11507
- noStyling: true,
11508
- type: "ul",
11509
- __css: styles.footerLinksList
11510
- }), React__default.createElement(List$1, {
11511
- "data-testid": "social-media-links",
11512
- listItems: socialLinks,
11513
- noStyling: true,
11514
- type: "ul",
11515
- __css: styles.socialMediaList
11516
- })), React__default.createElement(Box, {
11517
- __css: styles.nyplInfoContainer
11518
- }, React__default.createElement(Box, null, React__default.createElement(Image, {
11519
- alt: "NYPL Main Building Facade",
11520
- src: "https://cdn-d8.nypl.org/s3fs-public/2020-05/NYPL_MainFacadeRev2Cam2.png"
11521
- })), React__default.createElement(Box, {
11522
- __css: styles.copyright
11523
- }, React__default.createElement("p", null, "\xA9 The New York Public Library, ", new Date().getFullYear()), React__default.createElement("p", null, "The New York Public Library is a 501(c)(3) | EIN 13-1887440"))), React__default.createElement(Box, {
11524
- __css: styles.logoContainer
11525
- }, React__default.createElement(Logo$1, {
11526
- "aria-label": "The New York Public Library",
11527
- decorative: false,
11528
- name: "nyplTextWhite",
11529
- size: "small",
11530
- title: "The New York Public Library"
11531
- })));
11532
- }));
11533
-
11534
- var _excluded$1Z = ["align", "className"];
11535
- var HorizontalRule$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
11536
- var align = props.align,
11537
- className = props.className,
11538
- rest = _objectWithoutPropertiesLoose(props, _excluded$1Z);
11539
- var styles = useStyleConfig("HorizontalRule", {
11540
- align: align
11541
- });
11542
- var finalStyles = _extends({}, styles, {
11543
- height: "2px",
11544
- width: "100%"
11545
- });
11546
- return React__default.createElement(Box, Object.assign({
11547
- as: "hr",
11548
- className: className,
11549
- ref: ref,
11550
- __css: finalStyles
11551
- }, rest));
11552
- }));
11553
-
11554
- var _excluded$1_ = ["className", "id", "target"];
11555
- /**
11556
- * SkipNavigation is a component that is used to provide a navigational list of
11557
- * links. The first link is used to skip to the main content of the page using
11558
- * the `#mainContent` id, and the second link points to accessibility information
11559
- * on NYPL.org. These links are visually hidden but can be read by screenreaders.
11560
- */
11561
- var SkipNavigation$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
11562
- var className = props.className,
11563
- id = props.id,
11564
- _props$target = props.target,
11565
- target = _props$target === void 0 ? "#mainContent" : _props$target,
11566
- rest = _objectWithoutPropertiesLoose(props, _excluded$1_);
11567
- var styles = useStyleConfig("SkipNavigation");
11568
- return React__default.createElement(Box, Object.assign({
11569
- as: "nav",
11570
- "aria-label": "Skip Navigation",
11571
- className: className,
11572
- id: id,
11573
- ref: ref,
11574
- __css: styles
11575
- }, rest), React__default.createElement(List$1, {
11576
- inline: true,
11577
- noStyling: true,
11578
- type: "ul"
11579
- }, React__default.createElement("li", null, React__default.createElement(Link, {
11580
- href: target
11581
- }, "Skip to Main Content")), React__default.createElement("li", null, React__default.createElement(Link, {
11582
- href: "https://www.nypl.org/accessibility"
11583
- }, "Click to learn about accessibility at the Library"))));
11584
- }));
11585
-
11586
- var _excluded$1$ = ["className", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
11587
- var Radio$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
11588
- var className = props.className,
11589
- helperText = props.helperText,
11590
- id = props.id,
11591
- invalidText = props.invalidText,
11592
- isChecked = props.isChecked,
11593
- _props$isDisabled = props.isDisabled,
11594
- isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
11595
- _props$isInvalid = props.isInvalid,
11596
- isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
11597
- _props$isRequired = props.isRequired,
11598
- isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
11599
- labelText = props.labelText,
11600
- name = props.name,
11601
- onChange = props.onChange,
11602
- _props$showHelperInva = props.showHelperInvalidText,
11603
- showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
11604
- _props$showLabel = props.showLabel,
11605
- showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
11606
- value = props.value,
11607
- rest = _objectWithoutPropertiesLoose(props, _excluded$1$);
11608
- var styles = useMultiStyleConfig("Radio", {
11609
- showLabel: showLabel
11610
- });
11611
- var wrapperStyles = useStyleConfig("RadioWrapper");
11612
- var footnote = isInvalid ? invalidText : helperText;
11613
- var ariaAttributes = getAriaAttrs({
11614
- footnote: footnote,
11615
- id: id,
11616
- labelText: labelText,
11617
- name: "Radio",
11618
- showLabel: showLabel
11619
- });
11620
- // We can't use the aria-label because of how Chakra renders its
11621
- // Radio component. Instead, we'll visually hide the label.
11622
- delete ariaAttributes["aria-label"];
11623
- if (!id) {
11624
- console.warn("NYPL Reservoir Radio: This component's required `id` prop was not passed.");
11625
- }
11626
- return React__default.createElement(ComponentWrapper, Object.assign({
11627
- helperText: helperText,
11628
- helperTextStyles: styles.helperErrorText,
11629
- id: id,
11630
- invalidText: invalidText,
11631
- isInvalid: isInvalid,
11632
- showHelperInvalidText: showHelperInvalidText,
11633
- sx: wrapperStyles
11634
- }, rest), React__default.createElement(Radio$2, Object.assign({
11635
- className: className,
11636
- id: id,
11637
- isChecked: isChecked,
11638
- isDisabled: isDisabled,
11639
- isInvalid: isInvalid,
11640
- isRequired: isRequired,
11641
- name: name,
11642
- onChange: onChange,
11643
- ref: ref,
11644
- value: value,
11645
- alignItems: "flex-start",
11646
- sx: styles
11647
- }, ariaAttributes), React__default.createElement(Box, {
11648
- as: "span",
11649
- __css: showLabel ? {} : styles.hiddenLabel
11650
- }, labelText)));
11651
- }));
11652
-
11653
- var _excluded$20 = ["children", "className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel"];
11654
- /**
11655
- * RadioGroup is a wrapper for DS `Radio` components that renders as a fieldset
11656
- * HTML element along with optional helper text. The `name` prop is essential
11657
- * for this form group element and is not needed for individual DS `Radio`
11658
- * components when `RadioGroup` is used.
11659
- */
11660
- var RadioGroup$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
11661
- var children = props.children,
11662
- _props$className = props.className,
11663
- className = _props$className === void 0 ? "" : _props$className,
11664
- defaultValue = props.defaultValue,
11665
- helperText = props.helperText,
11666
- id = props.id,
11667
- invalidText = props.invalidText,
11668
- _props$isDisabled = props.isDisabled,
11669
- isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
11670
- _props$isFullWidth = props.isFullWidth,
11671
- isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
11672
- _props$isInvalid = props.isInvalid,
11673
- isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
11674
- _props$isRequired = props.isRequired,
11675
- isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
11676
- labelText = props.labelText,
11677
- _props$layout = props.layout,
11678
- layout = _props$layout === void 0 ? "column" : _props$layout,
11679
- name = props.name,
11680
- _onChange = props.onChange,
11681
- _props$showHelperInva = props.showHelperInvalidText,
11682
- showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
11683
- _props$showLabel = props.showLabel,
11684
- showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
11685
- _props$showRequiredLa = props.showRequiredLabel,
11686
- showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
11687
- rest = _objectWithoutPropertiesLoose(props, _excluded$20);
11688
- var _React$useState = React__default.useState(defaultValue),
11689
- value = _React$useState[0],
11690
- setValue = _React$useState[1];
11691
- var footnote = isInvalid ? invalidText : helperText;
11692
- var spacingProp = layout === "column" ? spacing.s : spacing.l;
11693
- var newChildren = [];
11694
- // Get the Chakra-based styles for the custom elements in this component.
11695
- var styles = useMultiStyleConfig("RadioGroup", {
11696
- isFullWidth: isFullWidth
11697
- });
11698
- // Props for the `ChakraRadioGroup` component.
11699
- var radioGroupProps = {
11700
- "aria-label": !showLabel ? labelText : undefined,
11701
- name: name,
11702
- onChange: function onChange(selected) {
11703
- setValue(selected);
11704
- _onChange && _onChange(selected);
11705
- },
11706
- ref: ref,
11707
- value: value
11708
- };
11709
- if (!id) {
11710
- console.warn("NYPL Reservoir RadioGroup: This component's required `id` prop was not passed.");
11711
- }
11712
- // Go through the Radio children and update them as needed.
11713
- React__default.Children.map(children, function (child, key) {
11714
- if ((child == null ? void 0 : child.type) !== Radio$1) {
11715
- var _child$props, _child$props2;
11716
- // Special case for Storybook MDX documentation.
11717
- if ((_child$props = child.props) != null && _child$props.mdxType && ((_child$props2 = child.props) == null ? void 0 : _child$props2.mdxType) === "Radio") ; else {
11718
- console.warn("NYPL Reservoir RadioGroup: Only `Radio` components are allowed " + "inside the `RadioGroup` component.");
11719
- }
11720
- }
11721
- if (child !== undefined && child !== null) {
11722
- var newProps = {
11723
- key: key,
11724
- isDisabled: isDisabled,
11725
- isInvalid: isInvalid,
11726
- isRequired: isRequired
11727
- };
11728
- newChildren.push(React__default.cloneElement(child, newProps));
11729
- }
12205
+ name: link.iconName,
12206
+ size: "small",
12207
+ title: link.title
12208
+ }));
11730
12209
  });
11731
- return React__default.createElement(Fieldset, Object.assign({
12210
+ return React__default.createElement(Box, Object.assign({
12211
+ as: "footer",
11732
12212
  className: className,
11733
- id: "radio-group-" + id,
11734
- isLegendHidden: !showLabel,
11735
- isRequired: isRequired,
11736
- legendText: labelText,
11737
- showRequiredLabel: showRequiredLabel
12213
+ id: id,
12214
+ ref: ref,
12215
+ role: "contentinfo"
11738
12216
  }, rest, {
11739
12217
  __css: styles
11740
- }), React__default.createElement(RadioGroup$2, Object.assign({}, radioGroupProps), React__default.createElement(Stack, {
11741
- direction: [layout],
11742
- spacing: spacingProp
11743
- }, newChildren)), footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
11744
- id: id + "-helperErrorText",
11745
- isInvalid: isInvalid,
11746
- text: footnote,
11747
- __css: styles.helperErrorText
11748
- }));
12218
+ }), React__default.createElement(Box, {
12219
+ __css: styles.listsContainer
12220
+ }, React__default.createElement(List$1, {
12221
+ "data-testid": "text-links",
12222
+ listItems: nyplLinks,
12223
+ noStyling: true,
12224
+ type: "ul",
12225
+ __css: styles.footerLinksList
12226
+ }), React__default.createElement(List$1, {
12227
+ "data-testid": "social-media-links",
12228
+ listItems: socialLinks,
12229
+ noStyling: true,
12230
+ type: "ul",
12231
+ __css: styles.socialMediaList
12232
+ })), React__default.createElement(Box, {
12233
+ __css: styles.nyplInfoContainer
12234
+ }, React__default.createElement(Box, null, React__default.createElement(Image, {
12235
+ alt: "NYPL Main Building Facade",
12236
+ src: "https://cdn-d8.nypl.org/s3fs-public/2020-05/NYPL_MainFacadeRev2Cam2.png"
12237
+ })), React__default.createElement(Box, {
12238
+ __css: styles.copyright
12239
+ }, React__default.createElement("p", null, "\xA9 The New York Public Library, ", new Date().getFullYear()), React__default.createElement("p", null, "The New York Public Library is a 501(c)(3) | EIN 13-1887440"))), React__default.createElement(Box, {
12240
+ __css: styles.logoContainer
12241
+ }, React__default.createElement(Logo$1, {
12242
+ "aria-label": "The New York Public Library",
12243
+ decorative: false,
12244
+ name: "nyplTextWhite",
12245
+ size: "small",
12246
+ title: "The New York Public Library"
12247
+ })));
12248
+ }));
12249
+
12250
+ var _excluded$21 = ["align", "className"];
12251
+ var HorizontalRule$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
12252
+ var align = props.align,
12253
+ className = props.className,
12254
+ rest = _objectWithoutPropertiesLoose(props, _excluded$21);
12255
+ var styles = useStyleConfig("HorizontalRule", {
12256
+ align: align
12257
+ });
12258
+ var finalStyles = _extends({}, styles, {
12259
+ height: "2px",
12260
+ width: "100%"
12261
+ });
12262
+ return React__default.createElement(Box, Object.assign({
12263
+ as: "hr",
12264
+ className: className,
12265
+ ref: ref,
12266
+ __css: finalStyles
12267
+ }, rest));
12268
+ }));
12269
+
12270
+ var _excluded$22 = ["className", "id", "target"];
12271
+ /**
12272
+ * SkipNavigation is a component that is used to provide a navigational list of
12273
+ * links. The first link is used to skip to the main content of the page using
12274
+ * the `#mainContent` id, and the second link points to accessibility information
12275
+ * on NYPL.org. These links are visually hidden but can be read by screenreaders.
12276
+ */
12277
+ var SkipNavigation$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
12278
+ var className = props.className,
12279
+ id = props.id,
12280
+ _props$target = props.target,
12281
+ target = _props$target === void 0 ? "#mainContent" : _props$target,
12282
+ rest = _objectWithoutPropertiesLoose(props, _excluded$22);
12283
+ var styles = useStyleConfig("SkipNavigation");
12284
+ return React__default.createElement(Box, Object.assign({
12285
+ as: "nav",
12286
+ "aria-label": "Skip Navigation",
12287
+ className: className,
12288
+ id: id,
12289
+ ref: ref,
12290
+ __css: styles
12291
+ }, rest), React__default.createElement(List$1, {
12292
+ inline: true,
12293
+ noStyling: true,
12294
+ type: "ul"
12295
+ }, React__default.createElement("li", null, React__default.createElement(Link, {
12296
+ href: target
12297
+ }, "Skip to Main Content")), React__default.createElement("li", null, React__default.createElement(Link, {
12298
+ href: "https://www.nypl.org/accessibility"
12299
+ }, "Click to learn about accessibility at the Library"))));
11749
12300
  }));
11750
12301
 
11751
12302
  /*eslint no-useless-escape: 0 */
@@ -12646,227 +13197,69 @@ var HeaderMobileNav$1 = /*#__PURE__*/chakra(function () {
12646
13197
  href: upperNavLinks.donate.href,
12647
13198
  gridColumn: "1 / span 2",
12648
13199
  onClick: function onClick() {
12649
- return gaUtils.trackEvent("Donate", "Mobile Buttons Donate");
12650
- }
12651
- }, upperNavLinks.donate.text.toUpperCase())));
12652
- });
12653
-
12654
- /**
12655
- * This is the button that will render the navigational list of links
12656
- * when it is clicked and keep focus trapped within the menu.
12657
- */
12658
- var HeaderMobileNavButton$1 = /*#__PURE__*/chakra(function () {
12659
- var _useState = useState(false),
12660
- isOpen = _useState[0],
12661
- setIsOpen = _useState[1];
12662
- var styles = useStyleConfig("HeaderMobileNavButton", {
12663
- isOpen: isOpen
12664
- });
12665
- var ref = useRef(null);
12666
- useCloseDropDown(setIsOpen, ref);
12667
- return React__default.createElement(Box, {
12668
- ref: ref
12669
- }, React__default.createElement(FocusLock, {
12670
- isDisabled: !isOpen
12671
- }, React__default.createElement(Button, {
12672
- "aria-haspopup": "true",
12673
- "aria-label": isOpen ? "Close Navigation" : "Open Navigation",
12674
- "aria-expanded": isOpen ? true : null,
12675
- buttonType: "text",
12676
- id: "mobileNav-btn",
12677
- onClick: function onClick() {
12678
- gaUtils.trackEvent("Click", "Mobile mobileMenu");
12679
- setIsOpen(!isOpen);
12680
- },
12681
- __css: styles
12682
- }, React__default.createElement(Icon, {
12683
- name: isOpen ? "close" : "utilityHamburger",
12684
- size: "large"
12685
- })), isOpen && React__default.createElement(HeaderMobileNav$1, null)));
12686
- });
12687
-
12688
- /**
12689
- * This component renders the mobile list of icon buttons for
12690
- * logging in, searching, and navigating on NYPL.org.
12691
- */
12692
- var HeaderMobileIconNav$1 = /*#__PURE__*/chakra(function () {
12693
- var styles = useStyleConfig("HeaderMobileIconNav");
12694
- return React__default.createElement(Flex, {
12695
- sx: styles
12696
- }, React__default.createElement(HeaderLoginButton$1, {
12697
- isMobile: true
12698
- }), React__default.createElement(Link, {
12699
- "aria-label": "NYPL Locations Near Me",
12700
- href: "https://nypl.org/locations",
12701
- onClick: function onClick() {
12702
- return gaUtils.trackEvent("Click", "Mobile Locations Button");
12703
- }
12704
- }, React__default.createElement(Icon, {
12705
- name: "locator",
12706
- size: "large",
12707
- title: "NYPL Locator"
12708
- })), React__default.createElement(HeaderSearchButton$1, {
12709
- isMobile: true
12710
- }), React__default.createElement(HeaderMobileNavButton$1, null));
12711
- });
12712
-
12713
- var _excluded$21 = ["children", "icon", "id", "isCentered", "notificationType"],
12714
- _excluded2$5 = ["alignText", "children", "icon", "notificationType"],
12715
- _excluded3$3 = ["ariaLabel", "className", "dismissible", "icon", "id", "isCentered", "noMargin", "notificationContent", "notificationHeading", "notificationType", "showIcon"];
12716
- /**
12717
- * NotificationHeading child-component.
12718
- */
12719
- var NotificationHeading$1 = /*#__PURE__*/chakra(function (props) {
12720
- var children = props.children,
12721
- icon = props.icon,
12722
- id = props.id,
12723
- isCentered = props.isCentered,
12724
- notificationType = props.notificationType,
12725
- rest = _objectWithoutPropertiesLoose(props, _excluded$21);
12726
- var styles = useMultiStyleConfig("NotificationHeading", {
12727
- icon: icon,
12728
- isCentered: isCentered,
12729
- notificationType: notificationType
12730
- });
12731
- return React__default.createElement(Box, Object.assign({
12732
- as: "header",
12733
- __css: styles
12734
- }, rest), icon, React__default.createElement(Heading, {
12735
- id: id + "-heading",
12736
- level: "four",
12737
- __css: styles.heading
12738
- }, children));
12739
- });
12740
- /**
12741
- * NotificationContent child-component.
12742
- */
12743
- var NotificationContent$1 = /*#__PURE__*/chakra(function (props) {
12744
- var alignText = props.alignText,
12745
- children = props.children,
12746
- icon = props.icon,
12747
- notificationType = props.notificationType,
12748
- rest = _objectWithoutPropertiesLoose(props, _excluded2$5);
12749
- var styles = useMultiStyleConfig("NotificationContent", {
12750
- alignText: alignText,
12751
- icon: icon,
12752
- notificationType: notificationType
12753
- });
12754
- return React__default.createElement(Box, Object.assign({
12755
- __css: styles
12756
- }, rest), icon, React__default.createElement(Box, {
12757
- __css: styles.content
12758
- }, children));
12759
- });
12760
- /**
12761
- * Component used to present users with three different levels of notifications:
12762
- * standard, announcement, and warning.
12763
- */
12764
- var Notification$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
12765
- var ariaLabel = props.ariaLabel,
12766
- className = props.className,
12767
- _props$dismissible = props.dismissible,
12768
- dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
12769
- icon = props.icon,
12770
- id = props.id,
12771
- _props$isCentered = props.isCentered,
12772
- isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
12773
- _props$noMargin = props.noMargin,
12774
- noMargin = _props$noMargin === void 0 ? false : _props$noMargin,
12775
- notificationContent = props.notificationContent,
12776
- notificationHeading = props.notificationHeading,
12777
- _props$notificationTy = props.notificationType,
12778
- notificationType = _props$notificationTy === void 0 ? "standard" : _props$notificationTy,
12779
- _props$showIcon = props.showIcon,
12780
- showIcon = _props$showIcon === void 0 ? true : _props$showIcon,
12781
- rest = _objectWithoutPropertiesLoose(props, _excluded3$3);
12782
- var _useState = useState(true),
12783
- isOpen = _useState[0],
12784
- setIsOpen = _useState[1];
12785
- var handleClose = function handleClose() {
12786
- return setIsOpen(false);
12787
- };
12788
- var styles = useMultiStyleConfig("Notification", {
12789
- dismissible: dismissible,
12790
- isCentered: isCentered,
12791
- noMargin: noMargin,
12792
- notificationType: notificationType
12793
- });
12794
- var iconElement = function iconElement() {
12795
- var baseIconProps = {
12796
- size: "large",
12797
- __css: styles.icon
12798
- };
12799
- // If the icon should not display, return undefined.
12800
- if (!showIcon) {
12801
- return undefined;
13200
+ return gaUtils.trackEvent("Donate", "Mobile Buttons Donate");
12802
13201
  }
12803
- // If a custom icon is passed, add specific `Notification` styles.
12804
- if (icon) return React__default.cloneElement(icon, _extends({
12805
- id: id + "-custom-notification-icon"
12806
- }, baseIconProps));
12807
- var iconProps = {
12808
- announcement: {
12809
- color: "section.research.secondary",
12810
- name: "speakerNotes",
12811
- title: "Notification announcement icon"
12812
- },
12813
- standard: {
12814
- color: "ui.black",
12815
- name: "alertNotificationImportant",
12816
- title: "Notification standard icon"
12817
- },
12818
- warning: {
12819
- color: "brand.primary",
12820
- name: "errorFilled",
12821
- title: "Notification warning icon"
12822
- }
12823
- };
12824
- return React__default.createElement(Icon, Object.assign({
12825
- id: id + "-notification-icon"
12826
- }, iconProps[notificationType], baseIconProps));
12827
- };
12828
- var dismissibleButton = dismissible && React__default.createElement(Button, {
12829
- "aria-label": "Close the notification",
13202
+ }, upperNavLinks.donate.text.toUpperCase())));
13203
+ });
13204
+
13205
+ /**
13206
+ * This is the button that will render the navigational list of links
13207
+ * when it is clicked and keep focus trapped within the menu.
13208
+ */
13209
+ var HeaderMobileNavButton$1 = /*#__PURE__*/chakra(function () {
13210
+ var _useState = useState(false),
13211
+ isOpen = _useState[0],
13212
+ setIsOpen = _useState[1];
13213
+ var styles = useStyleConfig("HeaderMobileNavButton", {
13214
+ isOpen: isOpen
13215
+ });
13216
+ var ref = useRef(null);
13217
+ useCloseDropDown(setIsOpen, ref);
13218
+ return React__default.createElement(Box, {
13219
+ ref: ref
13220
+ }, React__default.createElement(FocusLock, {
13221
+ isDisabled: !isOpen
13222
+ }, React__default.createElement(Button, {
13223
+ "aria-haspopup": "true",
13224
+ "aria-label": isOpen ? "Close Navigation" : "Open Navigation",
13225
+ "aria-expanded": isOpen ? true : null,
12830
13226
  buttonType: "text",
12831
- id: id + "-notification-dismissible-button",
12832
- onClick: handleClose,
12833
- __css: styles.dismissibleButton
13227
+ id: "mobileNav-btn",
13228
+ onClick: function onClick() {
13229
+ gaUtils.trackEvent("Click", "Mobile mobileMenu");
13230
+ setIsOpen(!isOpen);
13231
+ },
13232
+ __css: styles
12834
13233
  }, React__default.createElement(Icon, {
12835
- id: id + "-dismissible-notification-icon",
12836
- name: "close",
13234
+ name: isOpen ? "close" : "utilityHamburger",
13235
+ size: "large"
13236
+ })), isOpen && React__default.createElement(HeaderMobileNav$1, null)));
13237
+ });
13238
+
13239
+ /**
13240
+ * This component renders the mobile list of icon buttons for
13241
+ * logging in, searching, and navigating on NYPL.org.
13242
+ */
13243
+ var HeaderMobileIconNav$1 = /*#__PURE__*/chakra(function () {
13244
+ var styles = useStyleConfig("HeaderMobileIconNav");
13245
+ return React__default.createElement(Flex, {
13246
+ sx: styles
13247
+ }, React__default.createElement(HeaderLoginButton$1, {
13248
+ isMobile: true
13249
+ }), React__default.createElement(Link, {
13250
+ "aria-label": "NYPL Locations Near Me",
13251
+ href: "https://nypl.org/locations",
13252
+ onClick: function onClick() {
13253
+ return gaUtils.trackEvent("Click", "Mobile Locations Button");
13254
+ }
13255
+ }, React__default.createElement(Icon, {
13256
+ name: "locator",
12837
13257
  size: "large",
12838
- title: "Notification close icon"
12839
- }));
12840
- var iconElem = iconElement();
12841
- var childHeading = notificationHeading && React__default.createElement(NotificationHeading$1, {
12842
- icon: iconElem,
12843
- id: id,
12844
- isCentered: isCentered,
12845
- notificationType: notificationType
12846
- }, notificationHeading);
12847
- // Specific alignment styles for the content.
12848
- var alignText = !!(childHeading && showIcon && (!!icon || !isCentered));
12849
- var childContent = React__default.createElement(NotificationContent$1, {
12850
- alignText: alignText,
12851
- icon: !childHeading ? iconElem : undefined,
12852
- notificationType: notificationType
12853
- }, notificationContent);
12854
- // If the `Notification` is closed, don't render anything.
12855
- if (!isOpen) {
12856
- return null;
12857
- }
12858
- return React__default.createElement(Box, Object.assign({
12859
- "aria-label": ariaLabel,
12860
- as: "aside",
12861
- className: className,
12862
- "data-type": notificationType,
12863
- id: id,
12864
- ref: ref,
12865
- __css: styles
12866
- }, rest), React__default.createElement(Box, {
12867
- __css: styles.container
12868
- }, childHeading, childContent), dismissibleButton);
12869
- }));
13258
+ title: "NYPL Locator"
13259
+ })), React__default.createElement(HeaderSearchButton$1, {
13260
+ isMobile: true
13261
+ }), React__default.createElement(HeaderMobileNavButton$1, null));
13262
+ });
12870
13263
 
12871
13264
  /**
12872
13265
  * The HeaderSitewideAlerts component makes an API request to an NYPL API
@@ -13193,7 +13586,7 @@ var Header$1 = /*#__PURE__*/chakra(function (_ref) {
13193
13586
  }))));
13194
13587
  });
13195
13588
 
13196
- var _excluded$22 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
13589
+ var _excluded$23 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
13197
13590
  // Only used for internal purposes.
13198
13591
  var heroSecondaryTypes = ["secondary", "secondaryBooksAndMore", "secondaryLocations", "secondaryResearch", "secondaryWhatsOn"];
13199
13592
  var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
@@ -13209,7 +13602,7 @@ var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
13209
13602
  } : _props$imageProps,
13210
13603
  locationDetails = props.locationDetails,
13211
13604
  subHeaderText = props.subHeaderText,
13212
- rest = _objectWithoutPropertiesLoose(props, _excluded$22);
13605
+ rest = _objectWithoutPropertiesLoose(props, _excluded$23);
13213
13606
  var styles = useMultiStyleConfig("Hero", {
13214
13607
  variant: heroType
13215
13608
  });
@@ -13298,7 +13691,7 @@ var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
13298
13691
  }
13299
13692
  });
13300
13693
 
13301
- var _excluded$23 = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
13694
+ var _excluded$24 = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
13302
13695
  _excluded2$6 = ["buttonText", "id", "modalProps"],
13303
13696
  _excluded3$4 = ["bodyContent", "closeButtonLabel", "headingText", "id"];
13304
13697
  var BaseModal = /*#__PURE__*/chakra(function (_ref) {
@@ -13309,7 +13702,7 @@ var BaseModal = /*#__PURE__*/chakra(function (_ref) {
13309
13702
  id = _ref.id,
13310
13703
  isOpen = _ref.isOpen,
13311
13704
  onClose = _ref.onClose,
13312
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$23);
13705
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$24);
13313
13706
  var xlarge = "xl";
13314
13707
  var fullSize = "full";
13315
13708
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
@@ -13390,7 +13783,7 @@ function useModal() {
13390
13783
  };
13391
13784
  }
13392
13785
 
13393
- var _excluded$24 = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
13786
+ var _excluded$25 = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
13394
13787
  /**
13395
13788
  * A component that provides a navigational list of page items.
13396
13789
  */
@@ -13403,7 +13796,7 @@ var Pagination$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
13403
13796
  initialPage = _props$initialPage === void 0 ? 1 : _props$initialPage,
13404
13797
  onPageChange = props.onPageChange,
13405
13798
  pageCount = props.pageCount,
13406
- rest = _objectWithoutPropertiesLoose(props, _excluded$24);
13799
+ rest = _objectWithoutPropertiesLoose(props, _excluded$25);
13407
13800
  var refCurrentPage = useRef(currentPage);
13408
13801
  var _useState = useState(initialPage),
13409
13802
  selectedPage = _useState[0],
@@ -13593,7 +13986,7 @@ var Pagination$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
13593
13986
  }, previousLiLink, getPaginationNumbers(selectedPage), nextLiLink));
13594
13987
  }));
13595
13988
 
13596
- var _excluded$25 = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
13989
+ var _excluded$26 = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
13597
13990
  /**
13598
13991
  * A component that displays a progress status for any task that takes a long
13599
13992
  * time to complete or consists of multiple steps. Examples include downloading,
@@ -13614,7 +14007,7 @@ var ProgressIndicator$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
13614
14007
  size = _props$size === void 0 ? "default" : _props$size,
13615
14008
  _props$value = props.value,
13616
14009
  value = _props$value === void 0 ? 0 : _props$value,
13617
- rest = _objectWithoutPropertiesLoose(props, _excluded$25);
14010
+ rest = _objectWithoutPropertiesLoose(props, _excluded$26);
13618
14011
  var styles = useMultiStyleConfig("ProgressIndicator", {
13619
14012
  darkMode: darkMode,
13620
14013
  size: size
@@ -13673,7 +14066,7 @@ var ProgressIndicator$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
13673
14066
  }, rest), progressComponent(indicatorType));
13674
14067
  }));
13675
14068
 
13676
- var _excluded$26 = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
14069
+ var _excluded$27 = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
13677
14070
  /**
13678
14071
  * Component that renders Chakra's `Select` component along with an accessible
13679
14072
  * `Label` and optional `HelperErrorText` component.
@@ -13706,7 +14099,7 @@ var Select$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
13706
14099
  showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
13707
14100
  _props$value = props.value,
13708
14101
  value = _props$value === void 0 ? "" : _props$value,
13709
- rest = _objectWithoutPropertiesLoose(props, _excluded$26);
14102
+ rest = _objectWithoutPropertiesLoose(props, _excluded$27);
13710
14103
  var _useState = useState(0),
13711
14104
  labelWidth = _useState[0],
13712
14105
  setLabelWidth = _useState[1];
@@ -13788,7 +14181,7 @@ var Select$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
13788
14181
  }), children)));
13789
14182
  }));
13790
14183
 
13791
- var _excluded$27 = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
14184
+ var _excluded$28 = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
13792
14185
  /**
13793
14186
  * Renders a wrapper `form` element to be used with `Select` (optional),
13794
14187
  * `Input`, and `Button` components together.
@@ -13816,7 +14209,7 @@ var SearchBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
13816
14209
  selectProps = props.selectProps,
13817
14210
  textInputElement = props.textInputElement,
13818
14211
  textInputProps = props.textInputProps,
13819
- rest = _objectWithoutPropertiesLoose(props, _excluded$27);
14212
+ rest = _objectWithoutPropertiesLoose(props, _excluded$28);
13820
14213
  var styles = useMultiStyleConfig("SearchBar", {});
13821
14214
  var stateProps = {
13822
14215
  helperText: "",
@@ -13908,7 +14301,7 @@ var SearchBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
13908
14301
  }, selectElem, textInputElem, buttonElem));
13909
14302
  }));
13910
14303
 
13911
- var _excluded$28 = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
14304
+ var _excluded$29 = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
13912
14305
  /**
13913
14306
  * The `SkeletonLoader` component renders a placeholder to be used while
13914
14307
  * dynamic content is loading.
@@ -13934,7 +14327,7 @@ var SkeletonLoader$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
13934
14327
  _props$showImage = props.showImage,
13935
14328
  showImage = _props$showImage === void 0 ? true : _props$showImage,
13936
14329
  width = props.width,
13937
- rest = _objectWithoutPropertiesLoose(props, _excluded$28);
14330
+ rest = _objectWithoutPropertiesLoose(props, _excluded$29);
13938
14331
  var styles = useMultiStyleConfig("SkeletonLoader", {
13939
14332
  isBordered: isBordered,
13940
14333
  imageAspectRatio: imageAspectRatio,
@@ -13992,7 +14385,7 @@ var SkeletonLoader$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
13992
14385
  })))));
13993
14386
  }));
13994
14387
 
13995
- var _excluded$29 = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
14388
+ var _excluded$2a = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
13996
14389
  /**
13997
14390
  * The `Slider` component renders a singular value slider or a range slider
13998
14391
  * with a min and max value. The value(s) can be updated through the slider
@@ -14033,7 +14426,7 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14033
14426
  _props$step = props.step,
14034
14427
  step = _props$step === void 0 ? 1 : _props$step,
14035
14428
  value = props.value,
14036
- rest = _objectWithoutPropertiesLoose(props, _excluded$29);
14429
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2a);
14037
14430
  if (!id) {
14038
14431
  console.warn("NYPL Reservoir Slider: This component's required `id` prop was not passed.");
14039
14432
  }
@@ -14224,7 +14617,7 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14224
14617
  }, max), showBoxes && getTextInput("end")));
14225
14618
  }));
14226
14619
 
14227
- var _excluded$2a = ["children", "className", "id", "level"];
14620
+ var _excluded$2b = ["children", "className", "id", "level"];
14228
14621
  /**
14229
14622
  * The `StatusBadge` component is used to display a visual badge for three
14230
14623
  * different status levels.
@@ -14235,7 +14628,7 @@ var StatusBadge$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
14235
14628
  id = props.id,
14236
14629
  _props$level = props.level,
14237
14630
  level = _props$level === void 0 ? "low" : _props$level,
14238
- rest = _objectWithoutPropertiesLoose(props, _excluded$2a);
14631
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
14239
14632
  var styles = useStyleConfig("StatusBadge", {
14240
14633
  variant: level
14241
14634
  });
@@ -14250,7 +14643,7 @@ var StatusBadge$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
14250
14643
  }, rest), children);
14251
14644
  }));
14252
14645
 
14253
- var _excluded$2b = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
14646
+ var _excluded$2c = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
14254
14647
  /**
14255
14648
  * Internal component used in the `StructuredContent` component
14256
14649
  * that renders the DS `Image` component.
@@ -14300,7 +14693,7 @@ var StructuredContent$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
14300
14693
  src: ""
14301
14694
  } : _props$imageProps,
14302
14695
  bodyContent = props.bodyContent,
14303
- rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
14696
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14304
14697
  var hasImage = imageProps.src || imageProps.component;
14305
14698
  var hasFigureImage = imageProps.caption || imageProps.credit;
14306
14699
  var styles = useMultiStyleConfig("StructuredContent", {
@@ -14344,6 +14737,47 @@ var StructuredContent$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
14344
14737
  }), finalBodyContent);
14345
14738
  }));
14346
14739
 
14740
+ /**
14741
+ * The `StyledList` component renders an HTML list with styles that do not
14742
+ * adhere to traditional numbered and bulleted list styles. Unlike
14743
+ * the `List` component, `StyledList` only renders an unordered list.
14744
+ */
14745
+ var StyledList$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
14746
+ var children = props.children,
14747
+ className = props.className,
14748
+ id = props.id,
14749
+ _props$listItems = props.listItems,
14750
+ listItems = _props$listItems === void 0 ? [] : _props$listItems,
14751
+ _props$style = props.style,
14752
+ style = _props$style === void 0 ? "capped" : _props$style,
14753
+ _props$textSize = props.textSize,
14754
+ textSize = _props$textSize === void 0 ? "default" : _props$textSize;
14755
+ var styles = useMultiStyleConfig("StyledList", {
14756
+ textSize: textSize,
14757
+ variant: style
14758
+ });
14759
+ var finalChildren;
14760
+ if (children && listItems.length > 0) {
14761
+ console.warn("NYPL Reservoir StyledList: Pass in either `<li>` children or use the " + "`listItems` data prop. Do not use both.");
14762
+ return null;
14763
+ }
14764
+ // Makes sure that the passed children elements are `li` elements but
14765
+ // it is not enforced. Only a warning is logged to the console.
14766
+ checkListChildrenError(children, "ul", "StyledList");
14767
+ finalChildren = children || listItems.map(function (item, i) {
14768
+ return React__default.createElement("li", {
14769
+ key: i
14770
+ }, item);
14771
+ });
14772
+ return React__default.createElement(Box, {
14773
+ as: "ul",
14774
+ className: className,
14775
+ id: id,
14776
+ ref: ref,
14777
+ __css: styles
14778
+ }, finalChildren);
14779
+ }));
14780
+
14347
14781
  /**
14348
14782
  * Custom hook that controls the sliding function for the carousel wrapper.
14349
14783
  * This returns functions to use for the "previous" and "next" buttons as well
@@ -14392,7 +14826,7 @@ var useCarouselStyles = function useCarouselStyles(slidesCount, slideWidth) {
14392
14826
  };
14393
14827
  };
14394
14828
 
14395
- var _excluded$2c = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
14829
+ var _excluded$2d = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
14396
14830
  /**
14397
14831
  * An internal function used to update the hash in the URL.
14398
14832
  * This function is only used when `useHash` is `true`.
@@ -14494,7 +14928,7 @@ var Tabs = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
14494
14928
  tabsData = props.tabsData,
14495
14929
  _props$useHash = props.useHash,
14496
14930
  useHash = _props$useHash === void 0 ? false : _props$useHash,
14497
- rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14931
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
14498
14932
  var styles = useMultiStyleConfig("Tabs", {});
14499
14933
  // Just an estimate of the tab width for the mobile carousel.
14500
14934
  var initTabWidth = 65;
@@ -14574,13 +15008,13 @@ var Tabs = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
14574
15008
  }, React__default.createElement(Box, Object.assign({}, carouselStyle), tabs)), nextButton), panels);
14575
15009
  }));
14576
15010
 
14577
- var _excluded$2d = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
15011
+ var _excluded$2e = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
14578
15012
  var Tooltip$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
14579
15013
  var children = props.children,
14580
15014
  content = props.content,
14581
15015
  isDisabled = props.isDisabled,
14582
15016
  shouldWrapChildren = props.shouldWrapChildren,
14583
- rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
15017
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
14584
15018
  if (typeof content !== "string" && typeof content !== "number") {
14585
15019
  React__default.Children.map(content, function (contentChild) {
14586
15020
  if (contentChild.type !== Icon || contentChild.type !== Image) {
@@ -14705,7 +15139,7 @@ var TagSetFilter$1 = /*#__PURE__*/chakra(function (props) {
14705
15139
  }, "Clear Filters") : null);
14706
15140
  });
14707
15141
 
14708
- var _excluded$2e = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
15142
+ var _excluded$2f = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
14709
15143
  // Type guard so we can make sure we have a "filter" `TagSet` variant.
14710
15144
  function isFilterType(type) {
14711
15145
  return type === "filter";
@@ -14749,7 +15183,7 @@ var TagSet$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
14749
15183
  tagSetData = _props$tagSetData === void 0 ? [] : _props$tagSetData,
14750
15184
  _props$type = props.type,
14751
15185
  type = _props$type === void 0 ? "filter" : _props$type,
14752
- rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
15186
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
14753
15187
  var styles = useStyleConfig("TagSet", {});
14754
15188
  if (!isFilterType(type)) {
14755
15189
  if (isDismissible) {
@@ -14777,7 +15211,7 @@ var TagSet$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
14777
15211
  }));
14778
15212
  }));
14779
15213
 
14780
- var _excluded$2f = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
15214
+ var _excluded$2g = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
14781
15215
  /**
14782
15216
  * The main top-level parent component that wraps all template-related
14783
15217
  * components.
@@ -15000,7 +15434,7 @@ var TemplateAppContainer = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
15000
15434
  renderHeaderElement = _props$renderHeaderEl === void 0 ? true : _props$renderHeaderEl,
15001
15435
  _props$renderSkipNavi = props.renderSkipNavigation,
15002
15436
  renderSkipNavigation = _props$renderSkipNavi === void 0 ? false : _props$renderSkipNavi,
15003
- rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
15437
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
15004
15438
  var aboveHeaderElem = aboveHeader && React__default.createElement(TemplateAboveHeader, null, aboveHeader);
15005
15439
  var contentTopElem = contentTop && React__default.createElement(TemplateContentTop, null, contentTop);
15006
15440
  var contentPrimaryElem = contentPrimary && React__default.createElement(TemplateContentPrimary$1, null, contentPrimary);
@@ -15018,7 +15452,7 @@ var TemplateAppContainer = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
15018
15452
  }, footer)));
15019
15453
  }));
15020
15454
 
15021
- var _excluded$2g = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
15455
+ var _excluded$2h = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
15022
15456
  var onChangeDefault = function onChangeDefault() {
15023
15457
  return;
15024
15458
  };
@@ -15044,7 +15478,7 @@ var Toggle$2 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15044
15478
  onChange = _props$onChange === void 0 ? onChangeDefault : _props$onChange,
15045
15479
  _props$size = props.size,
15046
15480
  size = _props$size === void 0 ? "default" : _props$size,
15047
- rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
15481
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
15048
15482
  var styles = useMultiStyleConfig("Toggle", {
15049
15483
  isDisabled: isDisabled,
15050
15484
  size: size
@@ -15090,7 +15524,97 @@ var Toggle$2 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15090
15524
  }), labelText)));
15091
15525
  }));
15092
15526
 
15093
- var _excluded$2h = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
15527
+ /**
15528
+ * A custom hook that returns the Chakra-based NYPL theme object. This must be
15529
+ * used inside a component that is wrapped in the `DSProvider` component, so
15530
+ * that the theme object can be available to use.
15531
+ */
15532
+ function useNYPLTheme() {
15533
+ var theme = useTheme();
15534
+ if (!theme || Object.keys(theme).length === 0) {
15535
+ console.warn("NYPL Reservoir useNYPLTheme: hook must be used inside of `<DSProvider />`.");
15536
+ return {};
15537
+ }
15538
+ // Chakra provides a lot of their own styles but
15539
+ // only NYPL styles should be exported.
15540
+ return {
15541
+ // base, sm, md, lg, xl, 2xl
15542
+ breakpoints: theme.breakpoints,
15543
+ colors: {
15544
+ // primary, secondary
15545
+ brand: theme.colors.brand,
15546
+ // dark mode colors:
15547
+ // ui.disabled, ui.error, ui.focus, ui.link,
15548
+ // ui.status, ui.success, ui.test, ui.warning,
15549
+ // ui.bg, ui.border, ui.typography
15550
+ dark: theme.colors.dark,
15551
+ // blogs, books-and-more, education, locations,
15552
+ // research, research-library, whats-on
15553
+ section: theme.colors.section,
15554
+ transparent: theme.colors.transparent,
15555
+ // black, white, gray, disabled, error, focus, link,
15556
+ // status, success, test, warning, bg, border, typography
15557
+ ui: theme.colors.ui
15558
+ },
15559
+ fontSizes: {
15560
+ "-3": theme.fontSizes["-3"],
15561
+ "-2": theme.fontSizes["-2"],
15562
+ "-1": theme.fontSizes["-1"],
15563
+ "0": theme.fontSizes["0"],
15564
+ "1": theme.fontSizes["1"],
15565
+ "2": theme.fontSizes["2"],
15566
+ "3": theme.fontSizes["3"],
15567
+ "4": theme.fontSizes["4"],
15568
+ // default
15569
+ breadcrumbs: theme.fontSizes.breadcrumbs,
15570
+ // default
15571
+ button: theme.fontSizes.button,
15572
+ // primary, secondary, tertiary, callout
15573
+ heading: theme.fontSizes.heading,
15574
+ // default
15575
+ helper: theme.fontSizes.helper,
15576
+ // default, secondary
15577
+ label: theme.fontSizes.label,
15578
+ // default, caption, tag, mini
15579
+ text: theme.fontSizes.text
15580
+ },
15581
+ fontWeights: {
15582
+ light: theme.fontWeights.light,
15583
+ regular: theme.fontWeights.regular,
15584
+ medium: theme.fontWeights.medium,
15585
+ bold: theme.fontWeights.bold,
15586
+ // default, lastChild
15587
+ breadcrumbs: theme.fontWeights.breadcrumbs,
15588
+ // default
15589
+ button: theme.fontWeights.button,
15590
+ // primary, secondary, tertiary, callout
15591
+ heading: theme.fontWeights.heading,
15592
+ // default
15593
+ helper: theme.fontWeights.helper,
15594
+ // default
15595
+ label: theme.fontWeights.label,
15596
+ // default, caption, tag, mini
15597
+ text: theme.fontWeights.text
15598
+ },
15599
+ fonts: {
15600
+ body: theme.fonts.body,
15601
+ heading: theme.fonts.heading
15602
+ },
15603
+ radii: theme.radii,
15604
+ space: {
15605
+ xxs: theme.space.xxs,
15606
+ xs: theme.space.xs,
15607
+ s: theme.space.s,
15608
+ m: theme.space.m,
15609
+ l: theme.space.l,
15610
+ xl: theme.space.xl,
15611
+ xxl: theme.space.xxl,
15612
+ xxxl: theme.space.xxxl
15613
+ }
15614
+ };
15615
+ }
15616
+
15617
+ var _excluded$2i = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
15094
15618
  var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
15095
15619
  var aspectRatio = props.aspectRatio,
15096
15620
  className = props.className,
@@ -15104,7 +15628,7 @@ var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
15104
15628
  showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
15105
15629
  videoId = props.videoId,
15106
15630
  videoType = props.videoType,
15107
- rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
15631
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2i);
15108
15632
  var iframeTitleFinal = videoType === "vimeo" ? iframeTitle || "Vimeo video player" : iframeTitle || "YouTube video player";
15109
15633
  var videoSrc = videoType === "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";
15110
15634
  var iFrameTitleEmbedCode = iframeTitle ? "" + iframeTitle : "Video player";
@@ -15169,5 +15693,5 @@ var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
15169
15693
  }, embedElement)));
15170
15694
  }));
15171
15695
 
15172
- export { Accordion, AlphabetFilter, AudioPlayer, Breadcrumbs, Button, ButtonGroup, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, ColorCard, DSProvider, DatePicker, Fieldset, Footer$1 as Footer, Form, FormField, FormRow, Header$1 as Header, Heading, HelperErrorText, Hero$1 as Hero, HorizontalRule$1 as HorizontalRule, Icon, Image, Label, Link, List$1 as List, Logo$1 as Logo, ModalTrigger, Notification$1 as Notification, Pagination$1 as Pagination, ProgressIndicator$1 as ProgressIndicator, Radio$1 as Radio, RadioGroup$1 as RadioGroup, SearchBar$1 as SearchBar, Select$1 as Select, SimpleGrid, SkeletonLoader$1 as SkeletonLoader, SkipNavigation$1 as SkipNavigation, Slider, StatusBadge$1 as StatusBadge, StructuredContent$1 as StructuredContent, Table, Tabs, TagSet$1 as TagSet, Template$1 as Template, TemplateAboveHeader, TemplateAppContainer, TemplateBreakout$1 as TemplateBreakout, TemplateContent$1 as TemplateContent, TemplateContentPrimary$1 as TemplateContentPrimary, TemplateContentSidebar$1 as TemplateContentSidebar, TemplateContentTop, TemplateFooter, TemplateHeader, Text, TextInput, Toggle$2 as Toggle, Tooltip$1 as Tooltip, VideoPlayer$1 as VideoPlayer, useCarouselStyles, useModal, useNYPLBreakpoints, useNYPLTheme, useWindowSize };
15696
+ export { Accordion, AlphabetFilter, AudioPlayer, Breadcrumbs, Button, ButtonGroup, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, ColorCard, DSProvider, DatePicker, FeedbackBox$1 as FeedbackBox, Fieldset, Footer$1 as Footer, Form, FormField, FormRow, Header$1 as Header, Heading, HelperErrorText, Hero$1 as Hero, HorizontalRule$1 as HorizontalRule, Icon, Image, Label, Link, List$1 as List, Logo$1 as Logo, ModalTrigger, Notification$1 as Notification, Pagination$1 as Pagination, ProgressIndicator$1 as ProgressIndicator, Radio$1 as Radio, RadioGroup$1 as RadioGroup, SearchBar$1 as SearchBar, Select$1 as Select, SimpleGrid, SkeletonLoader$1 as SkeletonLoader, SkipNavigation$1 as SkipNavigation, Slider, StatusBadge$1 as StatusBadge, StructuredContent$1 as StructuredContent, StyledList$1 as StyledList, Table, Tabs, TagSet$1 as TagSet, Template$1 as Template, TemplateAboveHeader, TemplateAppContainer, TemplateBreakout$1 as TemplateBreakout, TemplateContent$1 as TemplateContent, TemplateContentPrimary$1 as TemplateContentPrimary, TemplateContentSidebar$1 as TemplateContentSidebar, TemplateContentTop, TemplateFooter, TemplateHeader, Text, TextInput, Toggle$2 as Toggle, Tooltip$1 as Tooltip, VideoPlayer$1 as VideoPlayer, useCarouselStyles, useFeedbackBox, useModal, useNYPLBreakpoints, useNYPLTheme, useWindowSize };
15173
15697
  //# sourceMappingURL=design-system-react-components.esm.js.map