@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.
@@ -56,7 +56,6 @@ var SvgAccessibilityFull = function SvgAccessibilityFull(_ref) {
56
56
  viewBox: "0 0 18 18",
57
57
  fill: "none",
58
58
  xmlns: "http://www.w3.org/2000/svg",
59
- role: "img",
60
59
  "aria-labelledby": titleId
61
60
  }, props), title ? /*#__PURE__*/React.createElement("title", {
62
61
  id: titleId
@@ -91,7 +90,6 @@ var SvgAccessibilityPartial = function SvgAccessibilityPartial(_ref) {
91
90
  viewBox: "0 0 18 18",
92
91
  fill: "none",
93
92
  xmlns: "http://www.w3.org/2000/svg",
94
- role: "img",
95
93
  "aria-labelledby": titleId
96
94
  }, props), title ? /*#__PURE__*/React.createElement("title", {
97
95
  id: titleId
@@ -125,7 +123,6 @@ var SvgActionCheckCircle = function SvgActionCheckCircle(_ref) {
125
123
  return /*#__PURE__*/React.createElement("svg", _extends$3({
126
124
  viewBox: "0 0 24 24",
127
125
  xmlns: "http://www.w3.org/2000/svg",
128
- role: "img",
129
126
  "aria-labelledby": titleId
130
127
  }, props), title ? /*#__PURE__*/React.createElement("title", {
131
128
  id: titleId
@@ -148,7 +145,6 @@ var SvgActionCheckCircleFilled = function SvgActionCheckCircleFilled(_ref) {
148
145
  return /*#__PURE__*/React.createElement("svg", _extends$4({
149
146
  viewBox: "0 0 24 24",
150
147
  xmlns: "http://www.w3.org/2000/svg",
151
- role: "img",
152
148
  "aria-labelledby": titleId
153
149
  }, props), title ? /*#__PURE__*/React.createElement("title", {
154
150
  id: titleId
@@ -169,7 +165,6 @@ var SvgActionExit = function SvgActionExit(_ref) {
169
165
  return /*#__PURE__*/React.createElement("svg", _extends$5({
170
166
  viewBox: "0 0 24 24",
171
167
  xmlns: "http://www.w3.org/2000/svg",
172
- role: "img",
173
168
  "aria-labelledby": titleId
174
169
  }, props), title ? /*#__PURE__*/React.createElement("title", {
175
170
  id: titleId
@@ -192,7 +187,6 @@ var SvgActionHelpDefault = function SvgActionHelpDefault(_ref) {
192
187
  return /*#__PURE__*/React.createElement("svg", _extends$6({
193
188
  viewBox: "0 0 24 24",
194
189
  xmlns: "http://www.w3.org/2000/svg",
195
- role: "img",
196
190
  "aria-labelledby": titleId
197
191
  }, props), title ? /*#__PURE__*/React.createElement("title", {
198
192
  id: titleId
@@ -215,7 +209,6 @@ var SvgActionHelpOutline = function SvgActionHelpOutline(_ref) {
215
209
  return /*#__PURE__*/React.createElement("svg", _extends$7({
216
210
  viewBox: "0 0 24 24",
217
211
  xmlns: "http://www.w3.org/2000/svg",
218
- role: "img",
219
212
  "aria-labelledby": titleId
220
213
  }, props), title ? /*#__PURE__*/React.createElement("title", {
221
214
  id: titleId
@@ -238,7 +231,6 @@ var SvgActionLaunch = function SvgActionLaunch(_ref) {
238
231
  return /*#__PURE__*/React.createElement("svg", _extends$8({
239
232
  viewBox: "0 0 24 24",
240
233
  xmlns: "http://www.w3.org/2000/svg",
241
- role: "img",
242
234
  "aria-labelledby": titleId
243
235
  }, props), title ? /*#__PURE__*/React.createElement("title", {
244
236
  id: titleId
@@ -261,7 +253,6 @@ var SvgActionPower = function SvgActionPower(_ref) {
261
253
  return /*#__PURE__*/React.createElement("svg", _extends$9({
262
254
  viewBox: "0 0 24 24",
263
255
  xmlns: "http://www.w3.org/2000/svg",
264
- role: "img",
265
256
  "aria-labelledby": titleId
266
257
  }, props), title ? /*#__PURE__*/React.createElement("title", {
267
258
  id: titleId
@@ -284,7 +275,6 @@ var SvgActionRegistration = function SvgActionRegistration(_ref) {
284
275
  return /*#__PURE__*/React.createElement("svg", _extends$a({
285
276
  viewBox: "0 0 24 24",
286
277
  xmlns: "http://www.w3.org/2000/svg",
287
- role: "img",
288
278
  "aria-labelledby": titleId
289
279
  }, props), title ? /*#__PURE__*/React.createElement("title", {
290
280
  id: titleId
@@ -305,7 +295,6 @@ var SvgActionSettings = function SvgActionSettings(_ref) {
305
295
  return /*#__PURE__*/React.createElement("svg", _extends$b({
306
296
  viewBox: "0 0 24 24",
307
297
  xmlns: "http://www.w3.org/2000/svg",
308
- role: "img",
309
298
  "aria-labelledby": titleId
310
299
  }, props), title ? /*#__PURE__*/React.createElement("title", {
311
300
  id: titleId
@@ -328,7 +317,6 @@ var SvgAlertNotificationImportant = function SvgAlertNotificationImportant(_ref)
328
317
  return /*#__PURE__*/React.createElement("svg", _extends$c({
329
318
  viewBox: "0 0 24 24",
330
319
  xmlns: "http://www.w3.org/2000/svg",
331
- role: "img",
332
320
  "aria-labelledby": titleId
333
321
  }, props), title ? /*#__PURE__*/React.createElement("title", {
334
322
  id: titleId
@@ -351,7 +339,6 @@ var SvgAlertWarningFilled = function SvgAlertWarningFilled(_ref) {
351
339
  return /*#__PURE__*/React.createElement("svg", _extends$d({
352
340
  viewBox: "0 0 24 24",
353
341
  xmlns: "http://www.w3.org/2000/svg",
354
- role: "img",
355
342
  "aria-labelledby": titleId
356
343
  }, props), title ? /*#__PURE__*/React.createElement("title", {
357
344
  id: titleId
@@ -374,7 +361,6 @@ var SvgAlertWarningOutline = function SvgAlertWarningOutline(_ref) {
374
361
  return /*#__PURE__*/React.createElement("svg", _extends$e({
375
362
  viewBox: "0 0 24 24",
376
363
  xmlns: "http://www.w3.org/2000/svg",
377
- role: "img",
378
364
  "aria-labelledby": titleId
379
365
  }, props), title ? /*#__PURE__*/React.createElement("title", {
380
366
  id: titleId
@@ -397,7 +383,6 @@ var SvgArrow = function SvgArrow(_ref) {
397
383
  return /*#__PURE__*/React.createElement("svg", _extends$f({
398
384
  viewBox: "0 0 24 14",
399
385
  xmlns: "http://www.w3.org/2000/svg",
400
- role: "img",
401
386
  "aria-labelledby": titleId
402
387
  }, props), title ? /*#__PURE__*/React.createElement("title", {
403
388
  id: titleId
@@ -420,7 +405,6 @@ var SvgBuilding = function SvgBuilding(_ref) {
420
405
  return /*#__PURE__*/React.createElement("svg", _extends$g({
421
406
  viewBox: "0 0 26 26",
422
407
  xmlns: "http://www.w3.org/2000/svg",
423
- role: "img",
424
408
  "aria-labelledby": titleId
425
409
  }, props), title ? /*#__PURE__*/React.createElement("title", {
426
410
  id: titleId
@@ -443,7 +427,6 @@ var SvgCheck = function SvgCheck(_ref) {
443
427
  return /*#__PURE__*/React.createElement("svg", _extends$h({
444
428
  viewBox: "0 0 24 24",
445
429
  xmlns: "http://www.w3.org/2000/svg",
446
- role: "img",
447
430
  "aria-labelledby": titleId
448
431
  }, props), title ? /*#__PURE__*/React.createElement("title", {
449
432
  id: titleId
@@ -464,7 +447,6 @@ var SvgClock = function SvgClock(_ref) {
464
447
  return /*#__PURE__*/React.createElement("svg", _extends$i({
465
448
  viewBox: "0 0 24 24",
466
449
  xmlns: "http://www.w3.org/2000/svg",
467
- role: "img",
468
450
  "aria-labelledby": titleId
469
451
  }, props), title ? /*#__PURE__*/React.createElement("title", {
470
452
  id: titleId
@@ -487,7 +469,6 @@ var SvgClose = function SvgClose(_ref) {
487
469
  return /*#__PURE__*/React.createElement("svg", _extends$j({
488
470
  viewBox: "0 0 24 24",
489
471
  xmlns: "http://www.w3.org/2000/svg",
490
- role: "img",
491
472
  "aria-labelledby": titleId
492
473
  }, props), title ? /*#__PURE__*/React.createElement("title", {
493
474
  id: titleId
@@ -508,7 +489,6 @@ var SvgDecorativeEnvelope = function SvgDecorativeEnvelope(_ref) {
508
489
  return /*#__PURE__*/React.createElement("svg", _extends$k({
509
490
  viewBox: "0 0 68 68",
510
491
  xmlns: "http://www.w3.org/2000/svg",
511
- role: "img",
512
492
  "aria-labelledby": titleId
513
493
  }, props), title ? /*#__PURE__*/React.createElement("title", {
514
494
  id: titleId
@@ -531,7 +511,6 @@ var SvgDecorativeLibraryCard = function SvgDecorativeLibraryCard(_ref) {
531
511
  return /*#__PURE__*/React.createElement("svg", _extends$l({
532
512
  viewBox: "0 0 68 68",
533
513
  xmlns: "http://www.w3.org/2000/svg",
534
- role: "img",
535
514
  "aria-labelledby": titleId
536
515
  }, props), title ? /*#__PURE__*/React.createElement("title", {
537
516
  id: titleId
@@ -554,7 +533,6 @@ var SvgDecorativeShoppingBag = function SvgDecorativeShoppingBag(_ref) {
554
533
  return /*#__PURE__*/React.createElement("svg", _extends$m({
555
534
  viewBox: "0 0 68 68",
556
535
  xmlns: "http://www.w3.org/2000/svg",
557
- role: "img",
558
536
  "aria-labelledby": titleId
559
537
  }, props), title ? /*#__PURE__*/React.createElement("title", {
560
538
  id: titleId
@@ -575,7 +553,6 @@ var SvgDownload = function SvgDownload(_ref) {
575
553
  return /*#__PURE__*/React.createElement("svg", _extends$n({
576
554
  viewBox: "0 0 14 18",
577
555
  xmlns: "http://www.w3.org/2000/svg",
578
- role: "img",
579
556
  "aria-labelledby": titleId
580
557
  }, props), title ? /*#__PURE__*/React.createElement("title", {
581
558
  id: titleId
@@ -598,7 +575,6 @@ var SvgErrorFilled = function SvgErrorFilled(_ref) {
598
575
  return /*#__PURE__*/React.createElement("svg", _extends$o({
599
576
  viewBox: "0 0 24 24",
600
577
  xmlns: "http://www.w3.org/2000/svg",
601
- role: "img",
602
578
  "aria-labelledby": titleId
603
579
  }, props), title ? /*#__PURE__*/React.createElement("title", {
604
580
  id: titleId
@@ -621,7 +597,6 @@ var SvgErrorOutline = function SvgErrorOutline(_ref) {
621
597
  return /*#__PURE__*/React.createElement("svg", _extends$p({
622
598
  viewBox: "0 0 24 24",
623
599
  xmlns: "http://www.w3.org/2000/svg",
624
- role: "img",
625
600
  "aria-labelledby": titleId
626
601
  }, props), title ? /*#__PURE__*/React.createElement("title", {
627
602
  id: titleId
@@ -644,7 +619,6 @@ var SvgFileTypeAudio = function SvgFileTypeAudio(_ref) {
644
619
  return /*#__PURE__*/React.createElement("svg", _extends$q({
645
620
  viewBox: "0 0 24 24",
646
621
  xmlns: "http://www.w3.org/2000/svg",
647
- role: "img",
648
622
  "aria-labelledby": titleId
649
623
  }, props), title ? /*#__PURE__*/React.createElement("title", {
650
624
  id: titleId
@@ -673,7 +647,6 @@ var SvgFileTypeDoc = function SvgFileTypeDoc(_ref) {
673
647
  return /*#__PURE__*/React.createElement("svg", _extends$r({
674
648
  viewBox: "0 0 24 24",
675
649
  xmlns: "http://www.w3.org/2000/svg",
676
- role: "img",
677
650
  "aria-labelledby": titleId
678
651
  }, props), title ? /*#__PURE__*/React.createElement("title", {
679
652
  id: titleId
@@ -702,7 +675,6 @@ var SvgFileTypeGenericDoc = function SvgFileTypeGenericDoc(_ref) {
702
675
  return /*#__PURE__*/React.createElement("svg", _extends$s({
703
676
  viewBox: "0 0 24 24",
704
677
  xmlns: "http://www.w3.org/2000/svg",
705
- role: "img",
706
678
  "aria-labelledby": titleId
707
679
  }, props), title ? /*#__PURE__*/React.createElement("title", {
708
680
  id: titleId
@@ -729,7 +701,6 @@ var SvgFileTypeImage = function SvgFileTypeImage(_ref) {
729
701
  return /*#__PURE__*/React.createElement("svg", _extends$t({
730
702
  viewBox: "0 0 24 24",
731
703
  xmlns: "http://www.w3.org/2000/svg",
732
- role: "img",
733
704
  "aria-labelledby": titleId
734
705
  }, props), title ? /*#__PURE__*/React.createElement("title", {
735
706
  id: titleId
@@ -766,7 +737,6 @@ var SvgFileTypePdf = function SvgFileTypePdf(_ref) {
766
737
  return /*#__PURE__*/React.createElement("svg", _extends$u({
767
738
  viewBox: "0 0 24 24",
768
739
  xmlns: "http://www.w3.org/2000/svg",
769
- role: "img",
770
740
  "aria-labelledby": titleId
771
741
  }, props), title ? /*#__PURE__*/React.createElement("title", {
772
742
  id: titleId
@@ -795,7 +765,6 @@ var SvgFileTypeSpreadsheet = function SvgFileTypeSpreadsheet(_ref) {
795
765
  return /*#__PURE__*/React.createElement("svg", _extends$v({
796
766
  viewBox: "0 0 24 24",
797
767
  xmlns: "http://www.w3.org/2000/svg",
798
- role: "img",
799
768
  "aria-labelledby": titleId
800
769
  }, props), title ? /*#__PURE__*/React.createElement("title", {
801
770
  id: titleId
@@ -824,7 +793,6 @@ var SvgFileTypeVideo = function SvgFileTypeVideo(_ref) {
824
793
  return /*#__PURE__*/React.createElement("svg", _extends$w({
825
794
  viewBox: "0 0 24 24",
826
795
  xmlns: "http://www.w3.org/2000/svg",
827
- role: "img",
828
796
  "aria-labelledby": titleId
829
797
  }, props), title ? /*#__PURE__*/React.createElement("title", {
830
798
  id: titleId
@@ -851,7 +819,6 @@ var SvgHeadset = function SvgHeadset(_ref) {
851
819
  return /*#__PURE__*/React.createElement("svg", _extends$x({
852
820
  viewBox: "0 0 18 19",
853
821
  xmlns: "http://www.w3.org/2000/svg",
854
- role: "img",
855
822
  "aria-labelledby": titleId
856
823
  }, props), title ? /*#__PURE__*/React.createElement("title", {
857
824
  id: titleId
@@ -872,7 +839,6 @@ var SvgLegacyAccountFilled = function SvgLegacyAccountFilled(_ref) {
872
839
  return /*#__PURE__*/React.createElement("svg", _extends$y({
873
840
  viewBox: "0 0 32 33",
874
841
  xmlns: "http://www.w3.org/2000/svg",
875
- role: "img",
876
842
  "aria-labelledby": titleId
877
843
  }, props), title ? /*#__PURE__*/React.createElement("title", {
878
844
  id: titleId
@@ -893,7 +859,6 @@ var SvgLegacyAccountUnfilled = function SvgLegacyAccountUnfilled(_ref) {
893
859
  return /*#__PURE__*/React.createElement("svg", _extends$z({
894
860
  viewBox: "0 0 33 33",
895
861
  xmlns: "http://www.w3.org/2000/svg",
896
- role: "img",
897
862
  "aria-labelledby": titleId
898
863
  }, props), title ? /*#__PURE__*/React.createElement("title", {
899
864
  id: titleId
@@ -914,7 +879,6 @@ var SvgLegacySocialFacebook = function SvgLegacySocialFacebook(_ref) {
914
879
  return /*#__PURE__*/React.createElement("svg", _extends$A({
915
880
  viewBox: "0 0 32 32",
916
881
  xmlns: "http://www.w3.org/2000/svg",
917
- role: "img",
918
882
  "aria-labelledby": titleId
919
883
  }, props), title ? /*#__PURE__*/React.createElement("title", {
920
884
  id: titleId
@@ -935,7 +899,6 @@ var SvgLegacySocialInstagram = function SvgLegacySocialInstagram(_ref) {
935
899
  return /*#__PURE__*/React.createElement("svg", _extends$B({
936
900
  viewBox: "0 0 32 32",
937
901
  xmlns: "http://www.w3.org/2000/svg",
938
- role: "img",
939
902
  "aria-labelledby": titleId
940
903
  }, props), title ? /*#__PURE__*/React.createElement("title", {
941
904
  id: titleId
@@ -956,7 +919,6 @@ var SvgLegacySocialTwitter = function SvgLegacySocialTwitter(_ref) {
956
919
  return /*#__PURE__*/React.createElement("svg", _extends$C({
957
920
  viewBox: "0 0 32 32",
958
921
  xmlns: "http://www.w3.org/2000/svg",
959
- role: "img",
960
922
  "aria-labelledby": titleId
961
923
  }, props), title ? /*#__PURE__*/React.createElement("title", {
962
924
  id: titleId
@@ -977,7 +939,6 @@ var SvgLegacySocialYoutube = function SvgLegacySocialYoutube(_ref) {
977
939
  return /*#__PURE__*/React.createElement("svg", _extends$D({
978
940
  viewBox: "0 0 32 32",
979
941
  xmlns: "http://www.w3.org/2000/svg",
980
- role: "img",
981
942
  "aria-labelledby": titleId
982
943
  }, props), title ? /*#__PURE__*/React.createElement("title", {
983
944
  id: titleId
@@ -998,7 +959,6 @@ var SvgLocator = function SvgLocator(_ref) {
998
959
  return /*#__PURE__*/React.createElement("svg", _extends$E({
999
960
  viewBox: "0 0 32 32",
1000
961
  xmlns: "http://www.w3.org/2000/svg",
1001
- role: "img",
1002
962
  "aria-labelledby": titleId
1003
963
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1004
964
  id: titleId
@@ -1023,7 +983,6 @@ var SvgMinus = function SvgMinus(_ref) {
1023
983
  width: 24,
1024
984
  height: 2,
1025
985
  xmlns: "http://www.w3.org/2000/svg",
1026
- role: "img",
1027
986
  "aria-labelledby": titleId
1028
987
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1029
988
  id: titleId
@@ -1046,7 +1005,6 @@ var SvgPlus = function SvgPlus(_ref) {
1046
1005
  return /*#__PURE__*/React.createElement("svg", _extends$G({
1047
1006
  viewBox: "0 0 23 23",
1048
1007
  xmlns: "http://www.w3.org/2000/svg",
1049
- role: "img",
1050
1008
  "aria-labelledby": titleId
1051
1009
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1052
1010
  id: titleId
@@ -1077,7 +1035,6 @@ var SvgSearch = function SvgSearch(_ref) {
1077
1035
  return /*#__PURE__*/React.createElement("svg", _extends$H({
1078
1036
  viewBox: "0 0 24 24",
1079
1037
  xmlns: "http://www.w3.org/2000/svg",
1080
- role: "img",
1081
1038
  "aria-labelledby": titleId
1082
1039
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1083
1040
  id: titleId
@@ -1100,7 +1057,6 @@ var SvgSocialFacebook = function SvgSocialFacebook(_ref) {
1100
1057
  return /*#__PURE__*/React.createElement("svg", _extends$I({
1101
1058
  viewBox: "0 0 36 36",
1102
1059
  xmlns: "http://www.w3.org/2000/svg",
1103
- role: "img",
1104
1060
  "aria-labelledby": titleId
1105
1061
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1106
1062
  id: titleId
@@ -1123,7 +1079,6 @@ var SvgSocialInstagram = function SvgSocialInstagram(_ref) {
1123
1079
  return /*#__PURE__*/React.createElement("svg", _extends$J({
1124
1080
  viewBox: "0 0 37 37",
1125
1081
  xmlns: "http://www.w3.org/2000/svg",
1126
- role: "img",
1127
1082
  "aria-labelledby": titleId
1128
1083
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1129
1084
  id: titleId
@@ -1150,7 +1105,6 @@ var SvgSocialTumblr = function SvgSocialTumblr(_ref) {
1150
1105
  return /*#__PURE__*/React.createElement("svg", _extends$K({
1151
1106
  viewBox: "0 0 36 36",
1152
1107
  xmlns: "http://www.w3.org/2000/svg",
1153
- role: "img",
1154
1108
  "aria-labelledby": titleId
1155
1109
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1156
1110
  id: titleId
@@ -1175,7 +1129,6 @@ var SvgSocialTwitter = function SvgSocialTwitter(_ref) {
1175
1129
  return /*#__PURE__*/React.createElement("svg", _extends$L({
1176
1130
  viewBox: "0 0 36 36",
1177
1131
  xmlns: "http://www.w3.org/2000/svg",
1178
- role: "img",
1179
1132
  "aria-labelledby": titleId
1180
1133
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1181
1134
  id: titleId
@@ -1198,7 +1151,6 @@ var SvgSocialYoutube = function SvgSocialYoutube(_ref) {
1198
1151
  return /*#__PURE__*/React.createElement("svg", _extends$M({
1199
1152
  viewBox: "0 0 36 36",
1200
1153
  xmlns: "http://www.w3.org/2000/svg",
1201
- role: "img",
1202
1154
  "aria-labelledby": titleId
1203
1155
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1204
1156
  id: titleId
@@ -1223,7 +1175,6 @@ var SvgSpeakerNotes = function SvgSpeakerNotes(_ref) {
1223
1175
  return /*#__PURE__*/React.createElement("svg", _extends$N({
1224
1176
  viewBox: "0 0 24 24",
1225
1177
  xmlns: "http://www.w3.org/2000/svg",
1226
- role: "img",
1227
1178
  "aria-labelledby": titleId
1228
1179
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1229
1180
  id: titleId
@@ -1247,7 +1198,6 @@ var SvgUtilityAccountFilled = function SvgUtilityAccountFilled(_ref) {
1247
1198
  viewBox: "0 0 24 24",
1248
1199
  fill: "none",
1249
1200
  xmlns: "http://www.w3.org/2000/svg",
1250
- role: "img",
1251
1201
  "aria-labelledby": titleId
1252
1202
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1253
1203
  id: titleId
@@ -1273,7 +1223,6 @@ var SvgUtilityAccountUnfilled = function SvgUtilityAccountUnfilled(_ref) {
1273
1223
  viewBox: "0 0 24 24",
1274
1224
  fill: "none",
1275
1225
  xmlns: "http://www.w3.org/2000/svg",
1276
- role: "img",
1277
1226
  "aria-labelledby": titleId
1278
1227
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1279
1228
  id: titleId
@@ -1304,7 +1253,6 @@ var SvgUtilityHamburger = function SvgUtilityHamburger(_ref) {
1304
1253
  return /*#__PURE__*/React.createElement("svg", _extends$Q({
1305
1254
  viewBox: "0 0 24 24",
1306
1255
  xmlns: "http://www.w3.org/2000/svg",
1307
- role: "img",
1308
1256
  "aria-labelledby": titleId
1309
1257
  }, props), title ? /*#__PURE__*/React.createElement("title", {
1310
1258
  id: titleId
@@ -1591,9 +1539,6 @@ var Button = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
1591
1539
  if (!id) {
1592
1540
  console.warn("NYPL Reservoir Button: This component's required `id` prop was not passed.");
1593
1541
  }
1594
- if (buttonType === "link") {
1595
- console.warn("NYPL Reservoir Button: The 'link' value for the 'buttonType' prop has been deprecated.");
1596
- }
1597
1542
  React__default.Children.map(children, function (child) {
1598
1543
  childCount++;
1599
1544
  if (child !== undefined && child !== null) {
@@ -2323,9 +2268,9 @@ var ButtonGroup = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(funct
2323
2268
  buttonWidth: finalButtonWidth
2324
2269
  });
2325
2270
  React__default.Children.map(children, function (child, key) {
2326
- if (child.type !== Button) {
2271
+ if ((child == null ? void 0 : child.type) !== Button) {
2327
2272
  // Special case for Storybook MDX documentation.
2328
- if (child.props.mdxType && child.props.mdxType === "Button") ; else {
2273
+ if (child != null && child.props.mdxType && (child == null ? void 0 : child.props.mdxType) === "Button") ; else {
2329
2274
  console.warn("NYPL Reservoir ButtonGroup: Only Button components can be children of ButtonGroup.");
2330
2275
  return;
2331
2276
  }
@@ -2333,7 +2278,7 @@ var ButtonGroup = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(funct
2333
2278
  var disabledProps = isDisabled ? {
2334
2279
  isDisabled: isDisabled
2335
2280
  } : {};
2336
- newChildren.push(React__default.cloneElement(child, _extends({
2281
+ child && newChildren.push(React__default.cloneElement(child, _extends({
2337
2282
  key: key
2338
2283
  }, disabledProps)));
2339
2284
  });
@@ -3079,36 +3024,6 @@ var CheckboxGroup = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
3079
3024
  }));
3080
3025
  }));
3081
3026
 
3082
- var _excluded$15 = ["children", "columns", "className", "gap", "id"];
3083
- var SimpleGrid = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
3084
- var children = props.children,
3085
- columns = props.columns,
3086
- className = props.className,
3087
- _props$gap = props.gap,
3088
- gap = _props$gap === void 0 ? "grid.l" : _props$gap,
3089
- id = props.id,
3090
- rest = _objectWithoutPropertiesLoose(props, _excluded$15);
3091
- var responsiveCols = columns ? {
3092
- base: 1,
3093
- md: columns
3094
- } : {
3095
- base: 1,
3096
- md: 2,
3097
- lg: 3
3098
- };
3099
- return React__default.createElement(react.SimpleGrid, Object.assign({
3100
- className: className,
3101
- columns: responsiveCols,
3102
- gap: gap,
3103
- id: id,
3104
- ref: ref
3105
- }, rest), children);
3106
- }), {
3107
- shouldForwardProp: function shouldForwardProp() {
3108
- return true;
3109
- }
3110
- });
3111
-
3112
3027
  /**
3113
3028
  * React hook used to get the window size on device resizing.
3114
3029
  * Based on https://usehooks-typescript.com/react-hook/use-window-size
@@ -3138,7 +3053,7 @@ function useWindowSize() {
3138
3053
  return windowSize;
3139
3054
  }
3140
3055
 
3141
- var _excluded$16 = ["className", "columnHeaders", "columnHeadersBackgroundColor", "columnHeadersTextColor", "id", "showRowDividers", "tableData", "titleText", "useRowHeaders"];
3056
+ var _excluded$15 = ["className", "columnHeaders", "columnHeadersBackgroundColor", "columnHeadersTextColor", "id", "showRowDividers", "tableData", "titleText", "useRowHeaders"];
3142
3057
  /**
3143
3058
  * Basic `Table` component used to organize and display tabular data in
3144
3059
  * rows and columns.
@@ -3156,7 +3071,7 @@ var Table = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (p
3156
3071
  titleText = props.titleText,
3157
3072
  _props$useRowHeaders = props.useRowHeaders,
3158
3073
  useRowHeaders = _props$useRowHeaders === void 0 ? false : _props$useRowHeaders,
3159
- rest = _objectWithoutPropertiesLoose(props, _excluded$16);
3074
+ rest = _objectWithoutPropertiesLoose(props, _excluded$15);
3160
3075
  var customColors = {};
3161
3076
  columnHeadersBackgroundColor && (customColors["backgroundColor"] = columnHeadersBackgroundColor);
3162
3077
  columnHeadersTextColor && (customColors["color"] = columnHeadersTextColor);
@@ -3223,113 +3138,37 @@ var Table = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (p
3223
3138
  }, rest), tableCaption, columnHeadersElems, tableBodyElems());
3224
3139
  }));
3225
3140
 
3226
- /**
3227
- * A custom hook that returns the Chakra-based NYPL theme object. This must be
3228
- * used inside a component that is wrapped in the `DSProvider` component, so
3229
- * that the theme object can be available to use.
3230
- */
3231
- function useNYPLTheme() {
3232
- var theme = react.useTheme();
3233
- if (!theme || Object.keys(theme).length === 0) {
3234
- console.warn("NYPL Reservoir useNYPLTheme: hook must be used inside of `<DSProvider />`.");
3235
- return {};
3236
- }
3237
- // Chakra provides a lot of their own styles but
3238
- // only NYPL styles should be exported.
3239
- return {
3240
- // base, sm, md, lg, xl, 2xl
3241
- breakpoints: theme.breakpoints,
3242
- colors: {
3243
- // primary, secondary
3244
- brand: theme.colors.brand,
3245
- // dark mode colors:
3246
- // ui.disabled, ui.error, ui.focus, ui.link,
3247
- // ui.status, ui.success, ui.test, ui.warning,
3248
- // ui.bg, ui.border, ui.typography
3249
- dark: theme.colors.dark,
3250
- // blogs, books-and-more, education, locations,
3251
- // research, research-library, whats-on
3252
- section: theme.colors.section,
3253
- transparent: theme.colors.transparent,
3254
- // black, white, gray, disabled, error, focus, link,
3255
- // status, success, test, warning, bg, border, typography
3256
- ui: theme.colors.ui
3257
- },
3258
- fontSizes: {
3259
- "-3": theme.fontSizes["-3"],
3260
- "-2": theme.fontSizes["-2"],
3261
- "-1": theme.fontSizes["-1"],
3262
- "0": theme.fontSizes["0"],
3263
- "1": theme.fontSizes["1"],
3264
- "2": theme.fontSizes["2"],
3265
- "3": theme.fontSizes["3"],
3266
- "4": theme.fontSizes["4"],
3267
- // default
3268
- breadcrumbs: theme.fontSizes.breadcrumbs,
3269
- // default
3270
- button: theme.fontSizes.button,
3271
- // primary, secondary, tertiary, callout
3272
- heading: theme.fontSizes.heading,
3273
- // default
3274
- helper: theme.fontSizes.helper,
3275
- // default, secondary
3276
- label: theme.fontSizes.label,
3277
- // default, caption, tag, mini
3278
- text: theme.fontSizes.text
3279
- },
3280
- fontWeights: {
3281
- light: theme.fontWeights.light,
3282
- regular: theme.fontWeights.regular,
3283
- medium: theme.fontWeights.medium,
3284
- bold: theme.fontWeights.bold,
3285
- // default, lastChild
3286
- breadcrumbs: theme.fontWeights.breadcrumbs,
3287
- // default
3288
- button: theme.fontWeights.button,
3289
- // primary, secondary, tertiary, callout
3290
- heading: theme.fontWeights.heading,
3291
- // default
3292
- helper: theme.fontWeights.helper,
3293
- // default
3294
- label: theme.fontWeights.label,
3295
- // default, caption, tag, mini
3296
- text: theme.fontWeights.text
3297
- },
3298
- fonts: {
3299
- body: theme.fonts.body,
3300
- heading: theme.fonts.heading
3301
- },
3302
- radii: theme.radii,
3303
- space: {
3304
- xxs: theme.space.xxs,
3305
- xs: theme.space.xs,
3306
- s: theme.space.s,
3307
- m: theme.space.m,
3308
- l: theme.space.l,
3309
- xl: theme.space.xl,
3310
- xxl: theme.space.xxl,
3311
- xxxl: theme.space.xxxl
3141
+ var SmallColorSwatch = function SmallColorSwatch(props) {
3142
+ var backgroundColor = props.backgroundColor,
3143
+ border = props.border,
3144
+ darkBorder = props.darkBorder;
3145
+ return React.createElement("span", {
3146
+ style: {
3147
+ backgroundColor: backgroundColor,
3148
+ border: !border && !darkBorder ? null : darkBorder ? "1px solid #191919" : "1px solid #E9E9E9",
3149
+ display: "inline-block",
3150
+ height: "1rem",
3151
+ marginRight: ".5rem",
3152
+ verticalAlign: "middle",
3153
+ width: "1rem"
3312
3154
  }
3313
- };
3314
- }
3315
-
3155
+ });
3156
+ };
3316
3157
  var DataTable = function DataTable(props) {
3317
3158
  var dataBgPageColor = props.dataBgPageColor,
3318
3159
  dataBgDefaultColor = props.dataBgDefaultColor,
3160
+ dataDarkBgPageColor = props.dataDarkBgPageColor,
3161
+ dataDarkBgDefaultColor = props.dataDarkBgDefaultColor,
3319
3162
  _props$dataBlackColor = props.dataBlackColor,
3320
3163
  dataBlackColor = _props$dataBlackColor === void 0 ? ["--", "--", "--"] : _props$dataBlackColor,
3321
- dataHeadingColor = props.dataHeadingColor,
3322
- dataBodyColor = props.dataBodyColor,
3164
+ dataDarkHeadingColor = props.dataDarkHeadingColor,
3165
+ dataDarkBodyColor = props.dataDarkBodyColor,
3323
3166
  _props$dataWhiteColor = props.dataWhiteColor,
3324
3167
  dataWhiteColor = _props$dataWhiteColor === void 0 ? ["--", "--", "--"] : _props$dataWhiteColor,
3168
+ dataBrandPrimaryColor = props.dataBrandPrimaryColor,
3169
+ dataBrandSecondaryColor = props.dataBrandSecondaryColor,
3325
3170
  _props$textColor = props.textColor,
3326
3171
  textColor = _props$textColor === void 0 ? "ui.white" : _props$textColor;
3327
- var _useNYPLTheme = useNYPLTheme(),
3328
- ui = _useNYPLTheme.colors.ui;
3329
- var grayxxxxDark = ui.gray["xxxx-dark"];
3330
- var grayxxxDark = ui.gray["xxx-dark"];
3331
- var grayLightCool = ui.gray["light-cool"];
3332
- var grayMedium = ui.gray.medium;
3333
3172
  var SuccessIcon = function SuccessIcon() {
3334
3173
  return React.createElement(Icon, {
3335
3174
  color: textColor,
@@ -3354,29 +3193,41 @@ var DataTable = function DataTable(props) {
3354
3193
  var whiteLargeTextSuccess = successfulContrast(dataWhiteColor, "large");
3355
3194
  var blackSmallTextSuccess = successfulContrast(dataBlackColor);
3356
3195
  var blackLargeTextSuccess = successfulContrast(dataBlackColor, "large");
3196
+ var brandPrimarySmallTextSuccess = dataBrandPrimaryColor && successfulContrast(dataBrandPrimaryColor);
3197
+ var brandPrimaryLargeTextSuccess = dataBrandPrimaryColor && successfulContrast(dataBrandPrimaryColor, "large");
3198
+ var brandSecondarySmallTextSuccess = dataBrandSecondaryColor && successfulContrast(dataBrandSecondaryColor);
3199
+ var brandSecondaryLargeTextSuccess = dataBrandSecondaryColor && successfulContrast(dataBrandSecondaryColor, "large");
3357
3200
  // The dark theme colors might have the following color contrast information.
3358
3201
  var bgPageSmallTextSuccess = dataBgPageColor && successfulContrast(dataBgPageColor);
3359
3202
  var bgPageLargeTextSuccess = dataBgPageColor && successfulContrast(dataBgPageColor, "large");
3360
3203
  var bgDefaultSmallTextSuccess = dataBgDefaultColor && successfulContrast(dataBgDefaultColor);
3361
3204
  var bgDefaultLargeTextSuccess = dataBgDefaultColor && successfulContrast(dataBgDefaultColor, "large");
3362
- var headingSmallTextSuccess = dataHeadingColor && successfulContrast(dataHeadingColor);
3363
- var headingLargeTextSuccess = dataHeadingColor && successfulContrast(dataHeadingColor, "large");
3364
- var textSmallTextSuccess = dataBodyColor && successfulContrast(dataBodyColor);
3365
- var textLargeTextSuccess = dataBodyColor && successfulContrast(dataBodyColor, "large");
3205
+ var darkBgPageSmallTextSuccess = dataDarkBgPageColor && successfulContrast(dataDarkBgPageColor);
3206
+ var darkBgPageLargeTextSuccess = dataDarkBgPageColor && successfulContrast(dataDarkBgPageColor, "large");
3207
+ var darkBgDefaultSmallTextSuccess = dataDarkBgDefaultColor && successfulContrast(dataDarkBgDefaultColor);
3208
+ var darkBgDefaultLargeTextSuccess = dataDarkBgDefaultColor && successfulContrast(dataDarkBgDefaultColor, "large");
3209
+ var darkHeadingSmallTextSuccess = dataDarkHeadingColor && successfulContrast(dataDarkHeadingColor);
3210
+ var darkHeadingLargeTextSuccess = dataDarkHeadingColor && successfulContrast(dataDarkHeadingColor, "large");
3211
+ var textSmallTextSuccess = dataDarkBodyColor && successfulContrast(dataDarkBodyColor);
3212
+ var textLargeTextSuccess = dataDarkBodyColor && successfulContrast(dataDarkBodyColor, "large");
3366
3213
  // All ColorCards have these two rows.
3367
3214
  var tableData = [[React.createElement("span", {
3368
3215
  key: "colorUiWhite",
3369
3216
  style: {
3370
- color: "white",
3371
3217
  padding: 0
3372
3218
  }
3373
- }, "ui.white"), dataWhiteColor[0] + ":1", React.createElement(React.Fragment, null, dataWhiteColor[1], whiteSmallTextSuccess), React.createElement(React.Fragment, null, dataWhiteColor[2], whiteLargeTextSuccess)], [React.createElement("span", {
3219
+ }, React.createElement(SmallColorSwatch, {
3220
+ backgroundColor: "white",
3221
+ border: true
3222
+ }), "ui.white"), dataWhiteColor[0] + ":1", React.createElement(React.Fragment, null, dataWhiteColor[1], whiteSmallTextSuccess), React.createElement(React.Fragment, null, dataWhiteColor[2], whiteLargeTextSuccess)], [React.createElement("span", {
3374
3223
  key: "colorUiBlack",
3375
3224
  style: {
3376
- color: "black",
3377
3225
  padding: 0
3378
3226
  }
3379
- }, "ui.black"), dataBlackColor[0] + ":1", React.createElement(React.Fragment, null, dataBlackColor[1], blackSmallTextSuccess), React.createElement(React.Fragment, null, dataBlackColor[2], blackLargeTextSuccess)]];
3227
+ }, React.createElement(SmallColorSwatch, {
3228
+ backgroundColor: "black",
3229
+ darkBorder: true
3230
+ }), "ui.black"), dataBlackColor[0] + ":1", React.createElement(React.Fragment, null, dataBlackColor[1], blackSmallTextSuccess), React.createElement(React.Fragment, null, dataBlackColor[2], blackLargeTextSuccess)]];
3380
3231
  var cellStyles = {
3381
3232
  borderColor: textColor === "ui.white" ? "white !important" : "black !important",
3382
3233
  fontWeight: "medium",
@@ -3385,56 +3236,109 @@ var DataTable = function DataTable(props) {
3385
3236
  var tableStyles = {
3386
3237
  tbody: {
3387
3238
  td: _extends({
3388
- fontSize: "text.caption"
3239
+ fontSize: "text.tag"
3389
3240
  }, cellStyles),
3390
3241
  th: _extends({
3391
- fontSize: "text.caption",
3242
+ fontSize: "text.tag",
3392
3243
  textTransform: "none"
3393
- }, cellStyles)
3244
+ }, cellStyles, {
3245
+ _first: {
3246
+ span: {
3247
+ color: textColor
3248
+ }
3249
+ }
3250
+ })
3394
3251
  },
3395
3252
  thead: {
3396
3253
  th: _extends({
3397
3254
  color: textColor,
3398
- fontSize: "text.tag"
3255
+ fontSize: "text.tag",
3256
+ textTransform: "uppercase"
3399
3257
  }, cellStyles)
3400
3258
  }
3401
3259
  };
3402
- // For dark mode `ColorCard`s, there are four extra rows.
3260
+ // The Brand colors are needed for some `ColorCard`s.
3261
+ if (dataBrandPrimaryColor && dataBrandPrimaryColor.length > 0) {
3262
+ tableData.push([React.createElement("span", {
3263
+ key: "colorBrandPrimaryPage",
3264
+ style: {
3265
+ padding: 0
3266
+ }
3267
+ }, React.createElement(SmallColorSwatch, {
3268
+ backgroundColor: "var(--nypl-colors-brand-primary)"
3269
+ }), "brand.primary"), dataBrandPrimaryColor[0] + ":1", React.createElement(React.Fragment, null, dataBrandPrimaryColor[1], brandPrimarySmallTextSuccess), React.createElement(React.Fragment, null, dataBrandPrimaryColor[2], brandPrimaryLargeTextSuccess)]);
3270
+ }
3271
+ if (dataBrandSecondaryColor && dataBrandSecondaryColor.length > 0) {
3272
+ tableData.push([React.createElement("span", {
3273
+ key: "colorBrandSecondaryPage",
3274
+ style: {
3275
+ padding: 0
3276
+ }
3277
+ }, React.createElement(SmallColorSwatch, {
3278
+ backgroundColor: "var(--nypl-colors-brand-secondary)"
3279
+ }), "brand.secondary"), dataBrandSecondaryColor[0] + ":1", React.createElement(React.Fragment, null, dataBrandSecondaryColor[1], brandSecondarySmallTextSuccess), React.createElement(React.Fragment, null, dataBrandSecondaryColor[2], brandSecondaryLargeTextSuccess)]);
3280
+ }
3403
3281
  if (dataBgPageColor && dataBgPageColor.length > 0) {
3404
3282
  tableData.push([React.createElement("span", {
3405
3283
  key: "colorBgPage",
3406
3284
  style: {
3407
- color: grayxxxxDark,
3408
3285
  padding: 0
3409
3286
  }
3410
- }, "bg page"), dataBgPageColor[0] + ":1", React.createElement(React.Fragment, null, dataBgPageColor[1], bgPageSmallTextSuccess), React.createElement(React.Fragment, null, dataBgPageColor[2], bgPageLargeTextSuccess)]);
3287
+ }, React.createElement(SmallColorSwatch, {
3288
+ backgroundColor: "var(--nypl-colors-ui-bg-page)",
3289
+ border: true
3290
+ }), "ui.bg.page"), dataBgPageColor[0] + ":1", React.createElement(React.Fragment, null, dataBgPageColor[1], bgPageSmallTextSuccess), React.createElement(React.Fragment, null, dataBgPageColor[2], bgPageLargeTextSuccess)]);
3411
3291
  }
3412
3292
  if (dataBgDefaultColor && dataBgDefaultColor.length > 0) {
3413
3293
  tableData.push([React.createElement("span", {
3414
3294
  key: "colorBgDefault",
3415
3295
  style: {
3416
- color: grayxxxDark,
3417
3296
  padding: 0
3418
3297
  }
3419
- }, "bg default"), dataBgDefaultColor[0] + ":1", React.createElement(React.Fragment, null, dataBgDefaultColor[1], bgDefaultSmallTextSuccess), React.createElement(React.Fragment, null, dataBgDefaultColor[2], bgDefaultLargeTextSuccess)]);
3298
+ }, React.createElement(SmallColorSwatch, {
3299
+ backgroundColor: "var(--nypl-colors-ui-bg-default)"
3300
+ }), "ui.bg.default"), dataBgDefaultColor[0] + ":1", React.createElement(React.Fragment, null, dataBgDefaultColor[1], bgDefaultSmallTextSuccess), React.createElement(React.Fragment, null, dataBgDefaultColor[2], bgDefaultLargeTextSuccess)]);
3301
+ }
3302
+ // For dark mode `ColorCard`s, there are four extra rows.
3303
+ if (dataDarkBgPageColor && dataDarkBgPageColor.length > 0) {
3304
+ tableData.push([React.createElement("span", {
3305
+ key: "colorDarkBgPage",
3306
+ style: {
3307
+ padding: 0
3308
+ }
3309
+ }, React.createElement(SmallColorSwatch, {
3310
+ backgroundColor: "var(--nypl-colors-dark-ui-bg-page)"
3311
+ }), "dark.ui.bg.page"), dataDarkBgPageColor[0] + ":1", React.createElement(React.Fragment, null, dataDarkBgPageColor[1], darkBgPageSmallTextSuccess), React.createElement(React.Fragment, null, dataDarkBgPageColor[2], darkBgPageLargeTextSuccess)]);
3312
+ }
3313
+ if (dataDarkBgDefaultColor && dataDarkBgDefaultColor.length > 0) {
3314
+ tableData.push([React.createElement("span", {
3315
+ key: "colorDarkBgDefault",
3316
+ style: {
3317
+ padding: 0
3318
+ }
3319
+ }, React.createElement(SmallColorSwatch, {
3320
+ backgroundColor: "var(--nypl-colors-dark-ui-bg-default)"
3321
+ }), "dark.ui.bg.default"), dataDarkBgDefaultColor[0] + ":1", React.createElement(React.Fragment, null, dataDarkBgDefaultColor[1], darkBgDefaultSmallTextSuccess), React.createElement(React.Fragment, null, dataDarkBgDefaultColor[2], darkBgDefaultLargeTextSuccess)]);
3420
3322
  }
3421
- if (dataHeadingColor && dataHeadingColor.length > 0) {
3323
+ if (dataDarkHeadingColor && dataDarkHeadingColor.length > 0) {
3422
3324
  tableData.push([React.createElement("span", {
3423
- key: "colorHeading",
3325
+ key: "colorDarkHeading",
3424
3326
  style: {
3425
- color: grayLightCool,
3426
3327
  padding: 0
3427
3328
  }
3428
- }, "heading"), dataHeadingColor[0] + ":1", React.createElement(React.Fragment, null, dataHeadingColor[1], headingSmallTextSuccess), React.createElement(React.Fragment, null, dataHeadingColor[2], headingLargeTextSuccess)]);
3329
+ }, React.createElement(SmallColorSwatch, {
3330
+ backgroundColor: "var(--nypl-colors-ui-typography-heading)"
3331
+ }), "ui.typography.heading"), dataDarkHeadingColor[0] + ":1", React.createElement(React.Fragment, null, dataDarkHeadingColor[1], darkHeadingSmallTextSuccess), React.createElement(React.Fragment, null, dataDarkHeadingColor[2], darkHeadingLargeTextSuccess)]);
3429
3332
  }
3430
- if (dataBodyColor && dataBodyColor.length > 0) {
3333
+ if (dataDarkBodyColor && dataDarkBodyColor.length > 0) {
3431
3334
  tableData.push([React.createElement("span", {
3432
- key: "colorText",
3335
+ key: "colorDarkText",
3433
3336
  style: {
3434
- color: grayMedium,
3435
3337
  padding: 0
3436
3338
  }
3437
- }, "body"), dataBodyColor[0] + ":1", React.createElement(React.Fragment, null, dataBodyColor[1], textSmallTextSuccess), React.createElement(React.Fragment, null, dataBodyColor[2], textLargeTextSuccess)]);
3339
+ }, React.createElement(SmallColorSwatch, {
3340
+ backgroundColor: "var(--nypl-colors-ui-typography-body)"
3341
+ }), "ui.typography.body"), dataDarkBodyColor[0] + ":1", React.createElement(React.Fragment, null, dataDarkBodyColor[1], textSmallTextSuccess), React.createElement(React.Fragment, null, dataDarkBodyColor[2], textLargeTextSuccess)]);
3438
3342
  }
3439
3343
  return React.createElement(Table, {
3440
3344
  columnHeaders: columnHeaders,
@@ -3448,19 +3352,23 @@ var ColorCard = function ColorCard(props) {
3448
3352
  var backgroundColor = props.backgroundColor,
3449
3353
  dataBgPageColor = props.dataBgPageColor,
3450
3354
  dataBgDefaultColor = props.dataBgDefaultColor,
3355
+ dataDarkBgPageColor = props.dataDarkBgPageColor,
3356
+ dataDarkBgDefaultColor = props.dataDarkBgDefaultColor,
3451
3357
  _props$colorName = props.colorName,
3452
3358
  colorName = _props$colorName === void 0 ? "" : _props$colorName,
3453
3359
  colorSource = props.colorSource,
3454
3360
  _props$dataBlackColor2 = props.dataBlackColor,
3455
3361
  dataBlackColor = _props$dataBlackColor2 === void 0 ? ["--", "--", "--"] : _props$dataBlackColor2,
3456
- dataHeadingColor = props.dataHeadingColor,
3457
- dataBodyColor = props.dataBodyColor,
3362
+ dataDarkHeadingColor = props.dataDarkHeadingColor,
3363
+ dataDarkBodyColor = props.dataDarkBodyColor,
3458
3364
  _props$dataWhiteColor2 = props.dataWhiteColor,
3459
3365
  dataWhiteColor = _props$dataWhiteColor2 === void 0 ? ["--", "--", "--"] : _props$dataWhiteColor2,
3366
+ dataBrandPrimaryColor = props.dataBrandPrimaryColor,
3367
+ dataBrandSecondaryColor = props.dataBrandSecondaryColor,
3460
3368
  _props$textColor2 = props.textColor,
3461
3369
  textColor = _props$textColor2 === void 0 ? "ui.white" : _props$textColor2;
3462
3370
  var cssVarName = "--nypl-colors-" + colorName.replace(/\./g, "-");
3463
- var border = backgroundColor === "ui.white" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : undefined;
3371
+ 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;
3464
3372
  return React.createElement(react.Box, {
3465
3373
  bg: backgroundColor,
3466
3374
  color: textColor,
@@ -3468,9 +3376,11 @@ var ColorCard = function ColorCard(props) {
3468
3376
  paddingBottom: "m",
3469
3377
  paddingTop: "s",
3470
3378
  border: border
3471
- }, React.createElement(SimpleGrid, {
3472
- columns: 2
3473
- }, React.createElement(react.Box, null, React.createElement(Heading, {
3379
+ }, React.createElement(react.HStack, {
3380
+ alignItems: "top"
3381
+ }, React.createElement(react.Box, {
3382
+ width: "80%"
3383
+ }, React.createElement(Heading, {
3474
3384
  noSpace: true,
3475
3385
  size: "tertiary"
3476
3386
  }, backgroundColor), React.createElement(Text, {
@@ -3484,14 +3394,48 @@ var ColorCard = function ColorCard(props) {
3484
3394
  }, "Source: ", colorSource)), React.createElement(DataTable, {
3485
3395
  dataBgPageColor: dataBgPageColor,
3486
3396
  dataBgDefaultColor: dataBgDefaultColor,
3397
+ dataDarkBgPageColor: dataDarkBgPageColor,
3398
+ dataDarkBgDefaultColor: dataDarkBgDefaultColor,
3487
3399
  dataBlackColor: dataBlackColor,
3488
- dataHeadingColor: dataHeadingColor,
3489
- dataBodyColor: dataBodyColor,
3400
+ dataDarkHeadingColor: dataDarkHeadingColor,
3401
+ dataDarkBodyColor: dataDarkBodyColor,
3490
3402
  dataWhiteColor: dataWhiteColor,
3403
+ dataBrandPrimaryColor: dataBrandPrimaryColor,
3404
+ dataBrandSecondaryColor: dataBrandSecondaryColor,
3491
3405
  textColor: textColor
3492
3406
  })));
3493
3407
  };
3494
3408
 
3409
+ var _excluded$16 = ["children", "columns", "className", "gap", "id"];
3410
+ var SimpleGrid = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
3411
+ var children = props.children,
3412
+ columns = props.columns,
3413
+ className = props.className,
3414
+ _props$gap = props.gap,
3415
+ gap = _props$gap === void 0 ? "grid.l" : _props$gap,
3416
+ id = props.id,
3417
+ rest = _objectWithoutPropertiesLoose(props, _excluded$16);
3418
+ var responsiveCols = columns ? {
3419
+ base: 1,
3420
+ md: columns
3421
+ } : {
3422
+ base: 1,
3423
+ md: 2,
3424
+ lg: 3
3425
+ };
3426
+ return React__default.createElement(react.SimpleGrid, Object.assign({
3427
+ className: className,
3428
+ columns: responsiveCols,
3429
+ gap: gap,
3430
+ id: id,
3431
+ ref: ref
3432
+ }, rest), children);
3433
+ }), {
3434
+ shouldForwardProp: function shouldForwardProp() {
3435
+ return true;
3436
+ }
3437
+ });
3438
+
3495
3439
  var _excluded$17 = ["children", "className", "gap", "id"],
3496
3440
  _excluded2$3 = ["children", "className", "gap", "id"],
3497
3441
  _excluded3$1 = ["action", "children", "className", "gap", "id", "method", "onSubmit"];
@@ -3552,7 +3496,7 @@ var Form = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (pr
3552
3496
  action && (attributes["action"] = action);
3553
3497
  method && (method === "get" || method === "post") && (attributes["method"] = method);
3554
3498
  var alteredChildren = React__default.Children.map(children, function (child, i) {
3555
- return React__default.cloneElement(child, {
3499
+ return child && React__default.cloneElement(child, {
3556
3500
  gap: gap,
3557
3501
  id: id + "-child" + i
3558
3502
  });
@@ -4272,7 +4216,7 @@ var global = {
4272
4216
  * Chakra Value | DS Variable | EM/PX value
4273
4217
  * ------------------------------------------------------
4274
4218
  * sm | --nypl-breakpoint-small | 20em/320px
4275
- * md | --nypl-breakpoint-medium | 38em/600px
4219
+ * md | --nypl-breakpoint-medium | 37.5em/600px
4276
4220
  * lg | --nypl-breakpoint-large | 60em/960px
4277
4221
  * xl | --nypl-breakpoint-xl | 80em/1280px
4278
4222
  * 2xl | N/A | 96em/1536px
@@ -4282,7 +4226,7 @@ var global = {
4282
4226
  */
4283
4227
  var breakpoints = /*#__PURE__*/themeTools.createBreakpoints({
4284
4228
  sm: "20em",
4285
- md: "38em",
4229
+ md: "37.5em",
4286
4230
  lg: "60em",
4287
4231
  xl: "80em",
4288
4232
  "2xl": "96em"
@@ -4359,6 +4303,7 @@ var colors = {
4359
4303
  },
4360
4304
  // Semantic colors
4361
4305
  bg: {
4306
+ page: white,
4362
4307
  "default": grayxLightCool,
4363
4308
  hover: grayLightCool,
4364
4309
  active: grayMedium
@@ -4369,7 +4314,11 @@ var colors = {
4369
4314
  },
4370
4315
  typography: {
4371
4316
  heading: black,
4372
- body: black
4317
+ body: black,
4318
+ inverse: {
4319
+ heading: white,
4320
+ body: white
4321
+ }
4373
4322
  },
4374
4323
  // Grayscale
4375
4324
  gray: {
@@ -4430,7 +4379,11 @@ var colors = {
4430
4379
  },
4431
4380
  typography: {
4432
4381
  heading: grayLightCool,
4433
- body: grayMedium
4382
+ body: grayMedium,
4383
+ inverse: {
4384
+ heading: grayxxDark,
4385
+ body: grayxxDark
4386
+ }
4434
4387
  }
4435
4388
  }
4436
4389
  },
@@ -4730,6 +4683,15 @@ var AlphabetFilter$1 = {
4730
4683
  }
4731
4684
  };
4732
4685
 
4686
+ var AudioPlayer$1 = {
4687
+ baseStyle: {
4688
+ invalid: {
4689
+ backgroundColor: "ui.bg.default",
4690
+ padding: "s"
4691
+ }
4692
+ }
4693
+ };
4694
+
4733
4695
  // Variant styling
4734
4696
  var blogs = {
4735
4697
  bg: "section.blogs.secondary",
@@ -5618,13 +5580,54 @@ var DatePicker$1 = {
5618
5580
  }
5619
5581
  };
5620
5582
 
5621
- var Fieldset$1 = {
5622
- baseStyle: function baseStyle(_ref) {
5623
- var isLegendHidden = _ref.isLegendHidden;
5624
- var screenreaderStyles = isLegendHidden ? screenreaderOnly() : {};
5625
- return {
5626
- border: 0,
5627
- padding: 0,
5583
+ var FeedbackBox = {
5584
+ parts: ["closeButton", "drawerBody", "drawerContent", "drawerHeader", "openButton"],
5585
+ baseStyle: {
5586
+ closeButton: {
5587
+ p: "0",
5588
+ span: /*#__PURE__*/screenreaderOnly()
5589
+ },
5590
+ drawerBody: {
5591
+ paddingTop: "m",
5592
+ paddingBottom: "m"
5593
+ },
5594
+ drawerContent: {
5595
+ marginStart: "auto",
5596
+ width: {
5597
+ base: "100%",
5598
+ md: "375px"
5599
+ }
5600
+ },
5601
+ drawerHeader: {
5602
+ alignItems: "baseline",
5603
+ background: "ui.gray.light-cool",
5604
+ borderBottomWidth: "1px",
5605
+ display: "flex",
5606
+ fontSize: "text.default",
5607
+ px: "m",
5608
+ paddingTop: "xs",
5609
+ paddingBottom: "xs",
5610
+ p: {
5611
+ marginBottom: "0"
5612
+ }
5613
+ },
5614
+ openButton: {
5615
+ position: "fixed",
5616
+ borderRadius: "0",
5617
+ bottom: "0",
5618
+ right: "0",
5619
+ zIndex: "5"
5620
+ }
5621
+ }
5622
+ };
5623
+
5624
+ var Fieldset$1 = {
5625
+ baseStyle: function baseStyle(_ref) {
5626
+ var isLegendHidden = _ref.isLegendHidden;
5627
+ var screenreaderStyles = isLegendHidden ? screenreaderOnly() : {};
5628
+ return {
5629
+ border: 0,
5630
+ padding: 0,
5628
5631
  legend: _extends({}, labelLegendText, screenreaderStyles)
5629
5632
  };
5630
5633
  }
@@ -8234,6 +8237,30 @@ var StructuredContent = {
8234
8237
  }
8235
8238
  };
8236
8239
 
8240
+ var StyledList = {
8241
+ baseStyle: function baseStyle(_ref) {
8242
+ var _ref$textSize = _ref.textSize,
8243
+ textSize = _ref$textSize === void 0 ? "default" : _ref$textSize;
8244
+ return _extends({
8245
+ fontSize: "text." + textSize
8246
+ }, baseListStyles(false, true), baseUnorderedStyles(true));
8247
+ },
8248
+ variants: {
8249
+ capped: {
8250
+ li: {
8251
+ borderStart: "1px solid",
8252
+ borderEnd: {
8253
+ base: "1px solid",
8254
+ md: "none"
8255
+ },
8256
+ borderColor: "ui.border.default",
8257
+ my: "xs",
8258
+ px: "xs"
8259
+ }
8260
+ }
8261
+ }
8262
+ };
8263
+
8237
8264
  var tablist = {
8238
8265
  borderColor: "ui.black"
8239
8266
  };
@@ -8859,15 +8886,6 @@ var VideoPlayer = {
8859
8886
  }
8860
8887
  };
8861
8888
 
8862
- var AudioPlayer$1 = {
8863
- baseStyle: {
8864
- invalid: {
8865
- backgroundColor: "ui.bg.default",
8866
- padding: "s"
8867
- }
8868
- }
8869
- };
8870
-
8871
8889
  /**
8872
8890
  * See Chakra default theme for shape of theme object:
8873
8891
  * https://github.com/chakra-ui/chakra-ui/tree/main/packages/theme
@@ -8915,6 +8933,7 @@ var theme = /*#__PURE__*/react.extendTheme( /*#__PURE__*/_extends({
8915
8933
  CustomImageWrapper: CustomImageWrapper,
8916
8934
  CustomSelect: Select,
8917
8935
  DatePicker: DatePicker$1,
8936
+ FeedbackBox: FeedbackBox,
8918
8937
  Fieldset: Fieldset$1,
8919
8938
  Footer: Footer,
8920
8939
  Header: Header,
@@ -8950,6 +8969,7 @@ var theme = /*#__PURE__*/react.extendTheme( /*#__PURE__*/_extends({
8950
8969
  CustomSlider: CustomSlider,
8951
8970
  StatusBadge: StatusBadge,
8952
8971
  StructuredContent: StructuredContent,
8972
+ StyledList: StyledList,
8953
8973
  Tabs: CustomTabs,
8954
8974
  CustomTable: CustomTable
8955
8975
  }, TagSetStyles, TemplateStyles, {
@@ -8981,133 +9001,875 @@ var DSProvider = function DSProvider(_ref) {
8981
9001
  }, children);
8982
9002
  };
8983
9003
 
8984
- var _excluded$1b = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
9004
+ var _excluded$1b = ["children", "icon", "id", "isCentered", "notificationType"],
9005
+ _excluded2$5 = ["alignText", "children", "icon", "notificationType"],
9006
+ _excluded3$3 = ["ariaLabel", "className", "dismissible", "icon", "id", "isCentered", "noMargin", "notificationContent", "notificationHeading", "notificationType", "showIcon"];
8985
9007
  /**
8986
- * A component that renders list item `li` elements or description item `dt`
8987
- * and `dd` elements based on the `type` prop. Note that the `title` prop will
8988
- * only display for the `Description` list type.
9008
+ * NotificationHeading child-component.
8989
9009
  */
8990
- var List$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
9010
+ var NotificationHeading$1 = /*#__PURE__*/react.chakra(function (props) {
8991
9011
  var children = props.children,
8992
- className = props.className,
9012
+ icon = props.icon,
8993
9013
  id = props.id,
8994
- _props$inline = props.inline,
8995
- inline = _props$inline === void 0 ? false : _props$inline,
8996
- listItems = props.listItems,
8997
- _props$noStyling = props.noStyling,
8998
- noStyling = _props$noStyling === void 0 ? false : _props$noStyling,
8999
- title = props.title,
9000
- _props$type = props.type,
9001
- type = _props$type === void 0 ? "ul" : _props$type,
9014
+ isCentered = props.isCentered,
9015
+ notificationType = props.notificationType,
9002
9016
  rest = _objectWithoutPropertiesLoose(props, _excluded$1b);
9003
- var styles = react.useStyleConfig("List", {
9004
- inline: inline,
9005
- noStyling: noStyling,
9006
- variant: type
9017
+ var styles = react.useMultiStyleConfig("NotificationHeading", {
9018
+ icon: icon,
9019
+ isCentered: isCentered,
9020
+ notificationType: notificationType
9007
9021
  });
9008
- var listElement = null;
9009
- // Either li/dt/dd children elements must be passed or the `listItems`
9010
- // prop must be used.
9011
- if (children && listItems && (listItems == null ? void 0 : listItems.length) > 0) {
9012
- console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
9013
- return null;
9014
- }
9015
- if (!children && !listItems) {
9016
- console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
9017
- return null;
9018
- }
9019
- /**
9020
- * This returns either the `children` elements passed to the `List` component
9021
- * first, otherwise it will check and render the data passed into the
9022
- * `listItems` props based on the `ListType` type. If it is of type unordered
9023
- * or ordered, it will return `li` elements. Otherwise, it will return a
9024
- * combination of `dt` and `dd` elements for the description type.
9025
- */
9026
- var listChildrenElms = function listChildrenElms(listType) {
9027
- if (children) {
9028
- return children;
9029
- }
9030
- if (!listItems) {
9031
- return null;
9032
- }
9033
- if (listType === "ol" || listType === "ul") {
9034
- return listItems.map(function (item, i) {
9035
- return React__default.createElement("li", {
9036
- key: i
9037
- }, item);
9038
- });
9039
- } else if (listType === "dl") {
9040
- return listItems.map(function (item, i) {
9041
- return [React__default.createElement("dt", {
9042
- key: i + "-term"
9043
- }, item.term), React__default.createElement("dd", {
9044
- key: i + "-des"
9045
- }, item.description)];
9046
- });
9047
- }
9048
- return null;
9049
- };
9050
- /**
9051
- * Checks for `li` elements and consoles a warning if the
9052
- * children are different HTML elements.
9053
- */
9054
- var checkListChildrenError = function checkListChildrenError(listType) {
9055
- React__default.Children.map(children, function (child) {
9056
- var _child$props;
9057
- if (child && (child == null ? void 0 : child.type) !== "li" && (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) !== "li") {
9058
- console.warn("NYPL Reservoir List: Direct children of `List` (" + listType + ") must be `<li>`s.");
9059
- }
9060
- });
9022
+ return React__default.createElement(react.Box, Object.assign({
9023
+ as: "header",
9024
+ __css: styles
9025
+ }, rest), icon, React__default.createElement(Heading, {
9026
+ id: id + "-heading",
9027
+ level: "four",
9028
+ __css: styles.heading
9029
+ }, children));
9030
+ });
9031
+ /**
9032
+ * NotificationContent child-component.
9033
+ */
9034
+ var NotificationContent$1 = /*#__PURE__*/react.chakra(function (props) {
9035
+ var alignText = props.alignText,
9036
+ children = props.children,
9037
+ icon = props.icon,
9038
+ notificationType = props.notificationType,
9039
+ rest = _objectWithoutPropertiesLoose(props, _excluded2$5);
9040
+ var styles = react.useMultiStyleConfig("NotificationContent", {
9041
+ alignText: alignText,
9042
+ icon: icon,
9043
+ notificationType: notificationType
9044
+ });
9045
+ return React__default.createElement(react.Box, Object.assign({
9046
+ __css: styles
9047
+ }, rest), icon, React__default.createElement(react.Box, {
9048
+ __css: styles.content
9049
+ }, children));
9050
+ });
9051
+ /**
9052
+ * Component used to present users with three different levels of notifications:
9053
+ * standard, announcement, and warning.
9054
+ */
9055
+ var Notification$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
9056
+ var ariaLabel = props.ariaLabel,
9057
+ className = props.className,
9058
+ _props$dismissible = props.dismissible,
9059
+ dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
9060
+ icon = props.icon,
9061
+ id = props.id,
9062
+ _props$isCentered = props.isCentered,
9063
+ isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
9064
+ _props$noMargin = props.noMargin,
9065
+ noMargin = _props$noMargin === void 0 ? false : _props$noMargin,
9066
+ notificationContent = props.notificationContent,
9067
+ notificationHeading = props.notificationHeading,
9068
+ _props$notificationTy = props.notificationType,
9069
+ notificationType = _props$notificationTy === void 0 ? "standard" : _props$notificationTy,
9070
+ _props$showIcon = props.showIcon,
9071
+ showIcon = _props$showIcon === void 0 ? true : _props$showIcon,
9072
+ rest = _objectWithoutPropertiesLoose(props, _excluded3$3);
9073
+ var _useState = React.useState(true),
9074
+ isOpen = _useState[0],
9075
+ setIsOpen = _useState[1];
9076
+ var handleClose = function handleClose() {
9077
+ return setIsOpen(false);
9061
9078
  };
9062
- /**
9063
- * Checks for `dt` and `dd` elements and consoles a warning if the
9064
- * children are different HTML elements.
9065
- */
9066
- var checkDescriptionChildrenError = function checkDescriptionChildrenError() {
9067
- React__default.Children.map(children, function (child) {
9068
- 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) {
9069
- console.warn("NYPL Reservoir List: Direct children of `List` (description) must " + "be `<dt>`s and `<dd>`s.");
9079
+ var styles = react.useMultiStyleConfig("Notification", {
9080
+ dismissible: dismissible,
9081
+ isCentered: isCentered,
9082
+ noMargin: noMargin,
9083
+ notificationType: notificationType
9084
+ });
9085
+ var iconElement = function iconElement() {
9086
+ var baseIconProps = {
9087
+ size: "large",
9088
+ __css: styles.icon
9089
+ };
9090
+ // If the icon should not display, return undefined.
9091
+ if (!showIcon) {
9092
+ return undefined;
9093
+ }
9094
+ // If a custom icon is passed, add specific `Notification` styles.
9095
+ if (icon) return React__default.cloneElement(icon, _extends({
9096
+ id: id + "-custom-notification-icon"
9097
+ }, baseIconProps));
9098
+ var iconProps = {
9099
+ announcement: {
9100
+ color: "section.research.secondary",
9101
+ name: "speakerNotes",
9102
+ title: "Notification announcement icon"
9103
+ },
9104
+ standard: {
9105
+ color: "ui.black",
9106
+ name: "alertNotificationImportant",
9107
+ title: "Notification standard icon"
9108
+ },
9109
+ warning: {
9110
+ color: "brand.primary",
9111
+ name: "errorFilled",
9112
+ title: "Notification warning icon"
9070
9113
  }
9071
- });
9114
+ };
9115
+ return React__default.createElement(Icon, Object.assign({
9116
+ id: id + "-notification-icon"
9117
+ }, iconProps[notificationType], baseIconProps));
9072
9118
  };
9073
- if (type === "ol" || type === "ul") {
9074
- checkListChildrenError(type);
9075
- listElement = React__default.createElement(react.Box, Object.assign({
9076
- as: type,
9077
- id: id,
9078
- className: className,
9079
- ref: ref,
9080
- __css: styles
9081
- }, rest), listChildrenElms(type));
9082
- } else if (type === "dl") {
9083
- checkDescriptionChildrenError();
9084
- listElement = React__default.createElement(react.Box, Object.assign({
9085
- as: "section",
9086
- id: id,
9087
- className: className,
9088
- ref: ref,
9089
- __css: styles
9090
- }, rest), title && React__default.createElement(Heading, {
9091
- id: id + "-heading"
9092
- }, title), React__default.createElement("dl", null, listChildrenElms(type)));
9093
- }
9094
- return listElement;
9095
- }));
9096
-
9097
- var _path$L, _path2$f, _path3$7;
9098
- var _excluded$1c = ["title", "titleId"];
9099
- 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); }
9100
- 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; }
9101
- 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; }
9102
- var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9103
- var title = _ref.title,
9104
- titleId = _ref.titleId,
9105
- props = _objectWithoutProperties$Q(_ref, _excluded$1c);
9119
+ var dismissibleButton = dismissible && React__default.createElement(Button, {
9120
+ "aria-label": "Close the notification",
9121
+ buttonType: "text",
9122
+ id: id + "-notification-dismissible-button",
9123
+ onClick: handleClose,
9124
+ __css: styles.dismissibleButton
9125
+ }, React__default.createElement(Icon, {
9126
+ id: id + "-dismissible-notification-icon",
9127
+ name: "close",
9128
+ size: "large",
9129
+ title: "Notification close icon"
9130
+ }));
9131
+ var iconElem = iconElement();
9132
+ var childHeading = notificationHeading && React__default.createElement(NotificationHeading$1, {
9133
+ icon: iconElem,
9134
+ id: id,
9135
+ isCentered: isCentered,
9136
+ notificationType: notificationType
9137
+ }, notificationHeading);
9138
+ // Specific alignment styles for the content.
9139
+ var alignText = !!(childHeading && showIcon && (!!icon || !isCentered));
9140
+ var childContent = React__default.createElement(NotificationContent$1, {
9141
+ alignText: alignText,
9142
+ icon: !childHeading ? iconElem : undefined,
9143
+ notificationType: notificationType
9144
+ }, notificationContent);
9145
+ // If the `Notification` is closed, don't render anything.
9146
+ if (!isOpen) {
9147
+ return null;
9148
+ }
9149
+ return React__default.createElement(react.Box, Object.assign({
9150
+ "aria-label": ariaLabel,
9151
+ as: "aside",
9152
+ className: className,
9153
+ "data-type": notificationType,
9154
+ id: id,
9155
+ ref: ref,
9156
+ __css: styles
9157
+ }, rest), React__default.createElement(react.Box, {
9158
+ __css: styles.container
9159
+ }, childHeading, childContent), dismissibleButton);
9160
+ }));
9161
+
9162
+ var _excluded$1c = ["className", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
9163
+ var Radio$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
9164
+ var className = props.className,
9165
+ helperText = props.helperText,
9166
+ id = props.id,
9167
+ invalidText = props.invalidText,
9168
+ isChecked = props.isChecked,
9169
+ _props$isDisabled = props.isDisabled,
9170
+ isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
9171
+ _props$isInvalid = props.isInvalid,
9172
+ isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
9173
+ _props$isRequired = props.isRequired,
9174
+ isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
9175
+ labelText = props.labelText,
9176
+ name = props.name,
9177
+ onChange = props.onChange,
9178
+ _props$showHelperInva = props.showHelperInvalidText,
9179
+ showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
9180
+ _props$showLabel = props.showLabel,
9181
+ showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
9182
+ value = props.value,
9183
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1c);
9184
+ var styles = react.useMultiStyleConfig("Radio", {
9185
+ showLabel: showLabel
9186
+ });
9187
+ var wrapperStyles = react.useStyleConfig("RadioWrapper");
9188
+ var footnote = isInvalid ? invalidText : helperText;
9189
+ var ariaAttributes = getAriaAttrs({
9190
+ footnote: footnote,
9191
+ id: id,
9192
+ labelText: labelText,
9193
+ name: "Radio",
9194
+ showLabel: showLabel
9195
+ });
9196
+ // We can't use the aria-label because of how Chakra renders its
9197
+ // Radio component. Instead, we'll visually hide the label.
9198
+ delete ariaAttributes["aria-label"];
9199
+ if (!id) {
9200
+ console.warn("NYPL Reservoir Radio: This component's required `id` prop was not passed.");
9201
+ }
9202
+ return React__default.createElement(ComponentWrapper, Object.assign({
9203
+ helperText: helperText,
9204
+ helperTextStyles: styles.helperErrorText,
9205
+ id: id,
9206
+ invalidText: invalidText,
9207
+ isInvalid: isInvalid,
9208
+ showHelperInvalidText: showHelperInvalidText,
9209
+ sx: wrapperStyles
9210
+ }, rest), React__default.createElement(react.Radio, Object.assign({
9211
+ className: className,
9212
+ id: id,
9213
+ isChecked: isChecked,
9214
+ isDisabled: isDisabled,
9215
+ isInvalid: isInvalid,
9216
+ isRequired: isRequired,
9217
+ name: name,
9218
+ onChange: onChange,
9219
+ ref: ref,
9220
+ value: value,
9221
+ alignItems: "flex-start",
9222
+ sx: styles
9223
+ }, ariaAttributes), React__default.createElement(react.Box, {
9224
+ as: "span",
9225
+ __css: showLabel ? {} : styles.hiddenLabel
9226
+ }, labelText)));
9227
+ }));
9228
+
9229
+ var _excluded$1d = ["children", "className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel"];
9230
+ /**
9231
+ * RadioGroup is a wrapper for DS `Radio` components that renders as a fieldset
9232
+ * HTML element along with optional helper text. The `name` prop is essential
9233
+ * for this form group element and is not needed for individual DS `Radio`
9234
+ * components when `RadioGroup` is used.
9235
+ */
9236
+ var RadioGroup$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
9237
+ var children = props.children,
9238
+ _props$className = props.className,
9239
+ className = _props$className === void 0 ? "" : _props$className,
9240
+ defaultValue = props.defaultValue,
9241
+ helperText = props.helperText,
9242
+ id = props.id,
9243
+ invalidText = props.invalidText,
9244
+ _props$isDisabled = props.isDisabled,
9245
+ isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
9246
+ _props$isFullWidth = props.isFullWidth,
9247
+ isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
9248
+ _props$isInvalid = props.isInvalid,
9249
+ isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
9250
+ _props$isRequired = props.isRequired,
9251
+ isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
9252
+ labelText = props.labelText,
9253
+ _props$layout = props.layout,
9254
+ layout = _props$layout === void 0 ? "column" : _props$layout,
9255
+ name = props.name,
9256
+ _onChange = props.onChange,
9257
+ _props$showHelperInva = props.showHelperInvalidText,
9258
+ showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
9259
+ _props$showLabel = props.showLabel,
9260
+ showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
9261
+ _props$showRequiredLa = props.showRequiredLabel,
9262
+ showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
9263
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1d);
9264
+ var _React$useState = React__default.useState(defaultValue),
9265
+ value = _React$useState[0],
9266
+ setValue = _React$useState[1];
9267
+ var footnote = isInvalid ? invalidText : helperText;
9268
+ var spacingProp = layout === "column" ? spacing.s : spacing.l;
9269
+ var newChildren = [];
9270
+ // Get the Chakra-based styles for the custom elements in this component.
9271
+ var styles = react.useMultiStyleConfig("RadioGroup", {
9272
+ isFullWidth: isFullWidth
9273
+ });
9274
+ // Props for the `ChakraRadioGroup` component.
9275
+ var radioGroupProps = {
9276
+ "aria-label": !showLabel ? labelText : undefined,
9277
+ name: name,
9278
+ onChange: function onChange(selected) {
9279
+ setValue(selected);
9280
+ _onChange && _onChange(selected);
9281
+ },
9282
+ ref: ref,
9283
+ value: value
9284
+ };
9285
+ if (!id) {
9286
+ console.warn("NYPL Reservoir RadioGroup: This component's required `id` prop was not passed.");
9287
+ }
9288
+ // Go through the Radio children and update them as needed.
9289
+ React__default.Children.map(children, function (child, key) {
9290
+ if ((child == null ? void 0 : child.type) !== Radio$1) {
9291
+ var _child$props, _child$props2;
9292
+ // Special case for Storybook MDX documentation.
9293
+ if ((_child$props = child.props) != null && _child$props.mdxType && ((_child$props2 = child.props) == null ? void 0 : _child$props2.mdxType) === "Radio") ; else {
9294
+ console.warn("NYPL Reservoir RadioGroup: Only `Radio` components are allowed " + "inside the `RadioGroup` component.");
9295
+ }
9296
+ }
9297
+ if (child !== undefined && child !== null) {
9298
+ var newProps = {
9299
+ key: key,
9300
+ isDisabled: isDisabled,
9301
+ isInvalid: isInvalid,
9302
+ isRequired: isRequired
9303
+ };
9304
+ newChildren.push(React__default.cloneElement(child, newProps));
9305
+ }
9306
+ });
9307
+ return React__default.createElement(Fieldset, Object.assign({
9308
+ className: className,
9309
+ id: "radio-group-" + id,
9310
+ isLegendHidden: !showLabel,
9311
+ isRequired: isRequired,
9312
+ legendText: labelText,
9313
+ showRequiredLabel: showRequiredLabel
9314
+ }, rest, {
9315
+ __css: styles
9316
+ }), React__default.createElement(react.RadioGroup, Object.assign({}, radioGroupProps), React__default.createElement(react.Stack, {
9317
+ direction: [layout],
9318
+ spacing: spacingProp
9319
+ }, newChildren)), footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
9320
+ id: id + "-helperErrorText",
9321
+ isInvalid: isInvalid,
9322
+ text: footnote,
9323
+ __css: styles.helperErrorText
9324
+ }));
9325
+ }));
9326
+
9327
+ /**
9328
+ * DS internal helper hook to use state with prop dependencies.
9329
+ */
9330
+ function useStateWithDependencies(initialValue) {
9331
+ var _useState = React.useState(initialValue),
9332
+ value = _useState[0],
9333
+ setValue = _useState[1];
9334
+ React.useEffect(function () {
9335
+ setValue(initialValue);
9336
+ }, [initialValue]);
9337
+ return [value, setValue];
9338
+ }
9339
+
9340
+ var initialState = {
9341
+ category: "comment",
9342
+ comment: "",
9343
+ email: ""
9344
+ };
9345
+ /**
9346
+ * Simple reducer to manage the internal state of the form
9347
+ * fields in the FeedbackBox component.
9348
+ */
9349
+ function reducer(state, action) {
9350
+ switch (action.type) {
9351
+ case "category":
9352
+ return _extends({}, state, {
9353
+ category: action.payload
9354
+ });
9355
+ case "comment":
9356
+ return _extends({}, state, {
9357
+ comment: action.payload
9358
+ });
9359
+ case "email":
9360
+ return _extends({}, state, {
9361
+ email: action.payload
9362
+ });
9363
+ case "clear":
9364
+ default:
9365
+ return initialState;
9366
+ }
9367
+ }
9368
+ /**
9369
+ * DS internal helper reducer hook to manage internal state for the FeedbackBox
9370
+ * component. Note: this custom hook is not tested directly as it's an
9371
+ * implementation detail of the FeedbackBox component, following the guidance
9372
+ * of RTL: https://testing-library.com/docs/example-react-hooks-useReducer
9373
+ */
9374
+ function useFeedbackBoxReducer() {
9375
+ var _useReducer = React.useReducer(reducer, initialState),
9376
+ state = _useReducer[0],
9377
+ dispatch = _useReducer[1];
9378
+ var setCategory = function setCategory(category) {
9379
+ return dispatch({
9380
+ type: "category",
9381
+ payload: category
9382
+ });
9383
+ };
9384
+ var setComment = function setComment(comment) {
9385
+ return dispatch({
9386
+ type: "comment",
9387
+ payload: comment
9388
+ });
9389
+ };
9390
+ var setEmail = function setEmail(email) {
9391
+ return dispatch({
9392
+ type: "email",
9393
+ payload: email
9394
+ });
9395
+ };
9396
+ var clearValues = function clearValues() {
9397
+ return dispatch({
9398
+ type: "clear"
9399
+ });
9400
+ };
9401
+ return {
9402
+ state: state,
9403
+ setCategory: setCategory,
9404
+ setComment: setComment,
9405
+ setEmail: setEmail,
9406
+ clearValues: clearValues
9407
+ };
9408
+ }
9409
+
9410
+ var _excluded$1e = ["className", "confirmationText", "descriptionText", "hiddenFields", "id", "isInvalidComment", "isInvalidEmail", "notificationText", "onSubmit", "showCategoryField", "showEmailField", "title", "view", "isOpen", "onOpen", "onClose"];
9411
+ /**
9412
+ * The `FeedbackBox` component renders a fixed-positioned button on the bottom
9413
+ * right corner of a page that opens a Chakra `Drawer` popup component. Inside
9414
+ * of the popup, a form is rendered with fields that allows users to provide
9415
+ * feedback. The `FeedbackBox` component does *not* call any API with the
9416
+ * submitted data; that feature is the responsibility of the consuming
9417
+ * application.
9418
+ */
9419
+ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9420
+ var className = _ref.className,
9421
+ confirmationText = _ref.confirmationText,
9422
+ descriptionText = _ref.descriptionText,
9423
+ hiddenFields = _ref.hiddenFields,
9424
+ _ref$id = _ref.id,
9425
+ id = _ref$id === void 0 ? "feedbackbox" : _ref$id,
9426
+ _ref$isInvalidComment = _ref.isInvalidComment,
9427
+ isInvalidComment = _ref$isInvalidComment === void 0 ? false : _ref$isInvalidComment,
9428
+ _ref$isInvalidEmail = _ref.isInvalidEmail,
9429
+ isInvalidEmail = _ref$isInvalidEmail === void 0 ? false : _ref$isInvalidEmail,
9430
+ notificationText = _ref.notificationText,
9431
+ onSubmit = _ref.onSubmit,
9432
+ _ref$showCategoryFiel = _ref.showCategoryField,
9433
+ showCategoryField = _ref$showCategoryFiel === void 0 ? false : _ref$showCategoryFiel,
9434
+ _ref$showEmailField = _ref.showEmailField,
9435
+ showEmailField = _ref$showEmailField === void 0 ? false : _ref$showEmailField,
9436
+ title = _ref.title,
9437
+ _ref$view = _ref.view,
9438
+ view = _ref$view === void 0 ? "form" : _ref$view,
9439
+ isOpen = _ref.isOpen,
9440
+ onOpen = _ref.onOpen,
9441
+ onClose = _ref.onClose,
9442
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
9443
+ // We want to keep internal state for the view but also
9444
+ // update if the consuming app updates it, based on API
9445
+ // success and failure responses.
9446
+ var _useStateWithDependen = useStateWithDependencies(view),
9447
+ viewType = _useStateWithDependen[0],
9448
+ setViewType = _useStateWithDependen[1];
9449
+ var _useState = React.useState(false),
9450
+ isSubmitted = _useState[0],
9451
+ setIsSubmitted = _useState[1];
9452
+ // Helps keep track of form field state values.
9453
+ var _useFeedbackBoxReduce = useFeedbackBoxReducer(),
9454
+ state = _useFeedbackBoxReduce.state,
9455
+ setCategory = _useFeedbackBoxReduce.setCategory,
9456
+ setComment = _useFeedbackBoxReduce.setComment,
9457
+ setEmail = _useFeedbackBoxReduce.setEmail,
9458
+ clearValues = _useFeedbackBoxReduce.clearValues;
9459
+ // Chakra's hook to control Drawer's actions.
9460
+ var disclosure = react.useDisclosure();
9461
+ var finalIsOpen = isOpen ? isOpen : disclosure.isOpen;
9462
+ var finalOnOpen = onOpen ? onOpen : disclosure.onOpen;
9463
+ var finalOnClose = onClose ? onClose : disclosure.onClose;
9464
+ var focusRef = React.useRef();
9465
+ var styles = react.useMultiStyleConfig("FeedbackBox", {});
9466
+ var isFormView = viewType === "form";
9467
+ var isConfirmationView = viewType === "confirmation";
9468
+ var isErrorView = viewType === "error";
9469
+ var confirmationTimeout = 3000;
9470
+ var maxCommentCharacters = 500;
9471
+ var initMinHeight = "275px";
9472
+ var initTemplateRows = "auto 1fr";
9473
+ var minHeightWithCategory = "345px";
9474
+ var minHeightWithEmail = "385px";
9475
+ var minHeightWithCategoryAndEmail = "455px";
9476
+ var drawerMinHeight = initMinHeight;
9477
+ var closeAndResetForm = function closeAndResetForm() {
9478
+ finalOnClose();
9479
+ setViewType("form");
9480
+ clearValues();
9481
+ };
9482
+ var internalOnSubmit = function internalOnSubmit(e) {
9483
+ e.preventDefault();
9484
+ var submittedValues = _extends({}, state);
9485
+ if (hiddenFields) {
9486
+ submittedValues = _extends({}, submittedValues, hiddenFields);
9487
+ }
9488
+ onSubmit && onSubmit(submittedValues);
9489
+ setIsSubmitted(true);
9490
+ };
9491
+ var notificationElement = isFormView && notificationText ? React__default.createElement(Notification$1, {
9492
+ isCentered: true,
9493
+ noMargin: true,
9494
+ notificationContent: notificationText,
9495
+ showIcon: false,
9496
+ sx: {
9497
+ // The padding of the Notification is smaller than
9498
+ // the initial one.
9499
+ "> div": {
9500
+ py: "xs"
9501
+ }
9502
+ }
9503
+ }) : undefined;
9504
+ var descriptionElement = isFormView && descriptionText ? React__default.createElement(Text, {
9505
+ fontWeight: "medium",
9506
+ mb: "0"
9507
+ }, descriptionText) : undefined;
9508
+ var privacyPolicyField = React__default.createElement(FormField, null, React__default.createElement(Link, {
9509
+ href: "https://www.nypl.org/help/about-nypl/legal-notices/privacy-policy",
9510
+ type: "external",
9511
+ fontSize: "text.tag"
9512
+ }, "Privacy Policy"));
9513
+ // When the submit button is clicked, set a timeout before displaying
9514
+ // the confirmation or error screen. This automatically goes to the
9515
+ // confirmation view after three (3) seconds, but the consuming app
9516
+ // can set the error view if there are any issues.
9517
+ React.useEffect(function () {
9518
+ var timer;
9519
+ if (isSubmitted) {
9520
+ // If the consuming app does not provide any updates based
9521
+ // on its API response, go to confirmation screen.
9522
+ timer = setTimeout(function () {
9523
+ setIsSubmitted(false);
9524
+ if (isErrorView) {
9525
+ setViewType("error");
9526
+ } else {
9527
+ setViewType("confirmation");
9528
+ }
9529
+ clearValues();
9530
+ }, confirmationTimeout);
9531
+ // If the consuming app does pass the API response to the
9532
+ // component, then cancel the timeout above and display the
9533
+ // appropriate screen.
9534
+ if (view !== viewType) {
9535
+ setIsSubmitted(false);
9536
+ setViewType(view);
9537
+ clearTimeout(timer);
9538
+ }
9539
+ }
9540
+ return function () {
9541
+ return clearTimeout(timer);
9542
+ };
9543
+ }, [clearValues, isErrorView, isSubmitted, setViewType, view, viewType]);
9544
+ // Delay focusing on the confirmation or error message
9545
+ // because it's an element that dynamically gets rendered,
9546
+ // so it is not always available in the DOM.
9547
+ React.useEffect(function () {
9548
+ var timer;
9549
+ if (viewType === "error" || viewType === "confirmation") {
9550
+ timer = setTimeout(function () {
9551
+ var _focusRef$current;
9552
+ focusRef == null ? void 0 : (_focusRef$current = focusRef.current) == null ? void 0 : _focusRef$current.focus();
9553
+ }, 250);
9554
+ }
9555
+ return function () {
9556
+ return clearTimeout(timer);
9557
+ };
9558
+ }, [focusRef, viewType]);
9559
+ if (showCategoryField) {
9560
+ drawerMinHeight = minHeightWithCategory;
9561
+ }
9562
+ if (showEmailField) {
9563
+ drawerMinHeight = minHeightWithEmail;
9564
+ }
9565
+ if (showCategoryField && showEmailField) {
9566
+ drawerMinHeight = minHeightWithCategoryAndEmail;
9567
+ }
9568
+ return React__default.createElement(react.Box, Object.assign({
9569
+ className: className,
9570
+ id: id,
9571
+ ref: ref,
9572
+ sx: styles
9573
+ }, rest), React__default.createElement(Button, {
9574
+ id: "open",
9575
+ onClick: finalOnOpen,
9576
+ sx: styles.openButton
9577
+ }, title), React__default.createElement(react.Drawer, {
9578
+ blockScrollOnMount: false,
9579
+ isOpen: finalIsOpen,
9580
+ onClose: finalOnClose,
9581
+ placement: "bottom"
9582
+ }, React__default.createElement(react.DrawerOverlay, null), React__default.createElement(react.DrawerContent, {
9583
+ sx: styles.drawerContent
9584
+ }, React__default.createElement(react.DrawerHeader, {
9585
+ sx: styles.drawerHeader
9586
+ }, React__default.createElement(Text, {
9587
+ "data-testid": "title"
9588
+ }, title), React__default.createElement(react.Spacer, null), React__default.createElement(Button, {
9589
+ buttonType: "text",
9590
+ id: "close-btn",
9591
+ onClick: finalOnClose,
9592
+ sx: styles.closeButton
9593
+ }, React__default.createElement(Icon, {
9594
+ color: "ui.black",
9595
+ name: "minus",
9596
+ size: "medium"
9597
+ }), React__default.createElement("span", null, "Close ", title))), React__default.createElement(react.DrawerBody, {
9598
+ sx: styles.drawerBody
9599
+ }, React__default.createElement(Form, {
9600
+ gap: "grid.s",
9601
+ id: "feedback-form",
9602
+ onSubmit: internalOnSubmit,
9603
+ sx: {
9604
+ "> div": {
9605
+ minHeight: drawerMinHeight,
9606
+ gridTemplateRows: initTemplateRows
9607
+ }
9608
+ }
9609
+ }, 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, {
9610
+ defaultValue: state.category,
9611
+ id: id + "-category",
9612
+ isDisabled: isSubmitted,
9613
+ labelText: "What is your feedback about?",
9614
+ layout: "row",
9615
+ name: id + "-category",
9616
+ onChange: function onChange(selected) {
9617
+ return setCategory(selected);
9618
+ }
9619
+ }, React__default.createElement(Radio$1, {
9620
+ id: "comment",
9621
+ labelText: "Comment",
9622
+ value: "comment"
9623
+ }), React__default.createElement(Radio$1, {
9624
+ id: "correction",
9625
+ labelText: "Correction",
9626
+ value: "correction"
9627
+ }), React__default.createElement(Radio$1, {
9628
+ id: "bug",
9629
+ labelText: "Bug",
9630
+ value: "bug"
9631
+ }))), React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9632
+ helperText: maxCommentCharacters - state.comment.length + " characters remaining",
9633
+ id: id + "-comment",
9634
+ invalidText: "Please fill out this field.",
9635
+ isDisabled: isSubmitted,
9636
+ isInvalid: isInvalidComment,
9637
+ isRequired: true,
9638
+ labelText: "Comment",
9639
+ maxLength: maxCommentCharacters,
9640
+ name: id + "-comment",
9641
+ onChange: function onChange(e) {
9642
+ return setComment(e.target.value);
9643
+ },
9644
+ placeholder: "Enter your question or feedback here",
9645
+ type: "textarea",
9646
+ defaultValue: state.comment
9647
+ })), showEmailField && React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9648
+ id: id + "-email",
9649
+ invalidText: "Please enter a valid email address.",
9650
+ isDisabled: isSubmitted,
9651
+ isInvalid: isInvalidEmail,
9652
+ labelText: "Email",
9653
+ name: id + "-email",
9654
+ onChange: function onChange(e) {
9655
+ return setEmail(e.target.value);
9656
+ },
9657
+ placeholder: "Enter your email address here",
9658
+ type: "email",
9659
+ value: state.email
9660
+ })), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9661
+ buttonWidth: "full",
9662
+ id: "submit-cancel"
9663
+ }, React__default.createElement(Button, {
9664
+ buttonType: "secondary",
9665
+ id: "cancel",
9666
+ isDisabled: isSubmitted,
9667
+ key: "cancel",
9668
+ onClick: closeAndResetForm
9669
+ }, "Cancel"), React__default.createElement(Button, {
9670
+ id: "submit",
9671
+ isDisabled: isSubmitted,
9672
+ key: "submit",
9673
+ type: "submit"
9674
+ }, "Submit")))), isConfirmationView && React__default.createElement(React__default.Fragment, null, React__default.createElement(react.Box, {
9675
+ key: "confirmationWrapper",
9676
+ margin: "auto",
9677
+ tabIndex: 0,
9678
+ textAlign: "center",
9679
+ ref: focusRef
9680
+ }, React__default.createElement(Icon, {
9681
+ name: "actionCheckCircleFilled",
9682
+ size: "large"
9683
+ }), React__default.createElement(Text, {
9684
+ fontWeight: "medium"
9685
+ }, "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, {
9686
+ buttonWidth: "full",
9687
+ id: "submit-cancel"
9688
+ }, React__default.createElement(Button, {
9689
+ id: "return-browsing",
9690
+ buttonType: "secondary",
9691
+ onClick: closeAndResetForm
9692
+ }, "Return to Browsing")))), isErrorView && React__default.createElement(React__default.Fragment, null, React__default.createElement(react.Box, {
9693
+ color: "ui.error.primary",
9694
+ key: "errorWrapper",
9695
+ margin: "auto",
9696
+ tabIndex: 0,
9697
+ textAlign: "center",
9698
+ ref: focusRef
9699
+ }, React__default.createElement(Icon, {
9700
+ color: "ui.error.primary",
9701
+ name: "errorFilled",
9702
+ size: "large"
9703
+ }), React__default.createElement(Text, {
9704
+ fontWeight: "medium"
9705
+ }, "Oops! Something went wrong. An error occured while processing your feedback.")), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9706
+ buttonWidth: "full",
9707
+ id: "submit-cancel"
9708
+ }, React__default.createElement(Button, {
9709
+ id: "return-browsing2",
9710
+ key: "return-browsing2",
9711
+ buttonType: "secondary",
9712
+ onClick: closeAndResetForm
9713
+ }, "Return to Browsing"), React__default.createElement(Button, {
9714
+ id: "try-again",
9715
+ key: "try-again",
9716
+ onClick: function onClick() {
9717
+ return setViewType("form");
9718
+ }
9719
+ }, "Try Again")))))))));
9720
+ }));
9721
+ function useFeedbackBox() {
9722
+ var _useDisclosure = react.useDisclosure(),
9723
+ isOpen = _useDisclosure.isOpen,
9724
+ onClose = _useDisclosure.onClose,
9725
+ onOpen = _useDisclosure.onOpen;
9726
+ var InternalFeedbackBox = react.chakra(function (props) {
9727
+ return React__default.createElement(FeedbackBox$1, Object.assign({
9728
+ isOpen: isOpen,
9729
+ onClose: onClose,
9730
+ onOpen: onOpen
9731
+ }, props));
9732
+ });
9733
+ return {
9734
+ isOpen: isOpen,
9735
+ onClose: onClose,
9736
+ onOpen: onOpen,
9737
+ FeedbackBox: InternalFeedbackBox
9738
+ };
9739
+ }
9740
+
9741
+ var _excluded$1f = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
9742
+ /**
9743
+ * A component that renders list item `li` elements or description item `dt`
9744
+ * and `dd` elements based on the `type` prop. Note that the `title` prop will
9745
+ * only display for the `Description` list type.
9746
+ */
9747
+ var List$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
9748
+ var children = props.children,
9749
+ className = props.className,
9750
+ id = props.id,
9751
+ _props$inline = props.inline,
9752
+ inline = _props$inline === void 0 ? false : _props$inline,
9753
+ listItems = props.listItems,
9754
+ _props$noStyling = props.noStyling,
9755
+ noStyling = _props$noStyling === void 0 ? false : _props$noStyling,
9756
+ title = props.title,
9757
+ _props$type = props.type,
9758
+ type = _props$type === void 0 ? "ul" : _props$type,
9759
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1f);
9760
+ var styles = react.useStyleConfig("List", {
9761
+ inline: inline,
9762
+ noStyling: noStyling,
9763
+ variant: type
9764
+ });
9765
+ var listElement = null;
9766
+ // Either li/dt/dd children elements must be passed or the `listItems`
9767
+ // prop must be used.
9768
+ if (children && listItems && (listItems == null ? void 0 : listItems.length) > 0) {
9769
+ console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
9770
+ return null;
9771
+ }
9772
+ if (!children && !listItems) {
9773
+ console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
9774
+ return null;
9775
+ }
9776
+ /**
9777
+ * This returns either the `children` elements passed to the `List` component
9778
+ * first, otherwise it will check and render the data passed into the
9779
+ * `listItems` props based on the `ListType` type. If it is of type unordered
9780
+ * or ordered, it will return `li` elements. Otherwise, it will return a
9781
+ * combination of `dt` and `dd` elements for the description type.
9782
+ */
9783
+ var listChildrenElms = function listChildrenElms(listType) {
9784
+ if (children) {
9785
+ return children;
9786
+ }
9787
+ if (!listItems) {
9788
+ return null;
9789
+ }
9790
+ if (listType === "ol" || listType === "ul") {
9791
+ return listItems.map(function (item, i) {
9792
+ return React__default.createElement("li", {
9793
+ key: i
9794
+ }, item);
9795
+ });
9796
+ } else if (listType === "dl") {
9797
+ return listItems.map(function (item, i) {
9798
+ return [React__default.createElement("dt", {
9799
+ key: i + "-term"
9800
+ }, item.term), React__default.createElement("dd", {
9801
+ key: i + "-des"
9802
+ }, item.description)];
9803
+ });
9804
+ }
9805
+ return null;
9806
+ };
9807
+ /**
9808
+ * Checks for `dt` and `dd` elements and consoles a warning if the
9809
+ * children are different HTML elements.
9810
+ */
9811
+ var checkDescriptionChildrenError = function checkDescriptionChildrenError() {
9812
+ React__default.Children.map(children, function (child) {
9813
+ 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) {
9814
+ console.warn("NYPL Reservoir List: Direct children of `List` (description) must " + "be `<dt>`s and `<dd>`s.");
9815
+ }
9816
+ });
9817
+ };
9818
+ if (type === "ol" || type === "ul") {
9819
+ checkListChildrenError(children, type);
9820
+ listElement = React__default.createElement(react.Box, Object.assign({
9821
+ as: type,
9822
+ id: id,
9823
+ className: className,
9824
+ ref: ref,
9825
+ __css: styles
9826
+ }, rest), listChildrenElms(type));
9827
+ } else if (type === "dl") {
9828
+ checkDescriptionChildrenError();
9829
+ listElement = React__default.createElement(react.Box, Object.assign({
9830
+ as: "section",
9831
+ id: id,
9832
+ className: className,
9833
+ ref: ref,
9834
+ __css: styles
9835
+ }, rest), title && React__default.createElement(Heading, {
9836
+ id: id + "-heading"
9837
+ }, title), React__default.createElement("dl", null, listChildrenElms(type)));
9838
+ }
9839
+ return listElement;
9840
+ }));
9841
+ /**
9842
+ * Checks for `li` elements and consoles a warning if the
9843
+ * children are different HTML elements.
9844
+ */
9845
+ var checkListChildrenError = function checkListChildrenError(children, listType, componentName) {
9846
+ if (listType === void 0) {
9847
+ listType = "ul";
9848
+ }
9849
+ if (componentName === void 0) {
9850
+ componentName = "List";
9851
+ }
9852
+ React__default.Children.map(children, function (child) {
9853
+ var _child$props;
9854
+ if (child && (child == null ? void 0 : child.type) !== "li" && (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) !== "li") {
9855
+ console.warn("NYPL Reservoir " + componentName + ": Direct children of `" + componentName + "` (" + listType + ") must be `<li>`s.");
9856
+ }
9857
+ });
9858
+ };
9859
+
9860
+ var _path$L, _path2$f, _path3$7;
9861
+ var _excluded$1g = ["title", "titleId"];
9862
+ 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); }
9863
+ 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; }
9864
+ 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; }
9865
+ var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9866
+ var title = _ref.title,
9867
+ titleId = _ref.titleId,
9868
+ props = _objectWithoutProperties$Q(_ref, _excluded$1g);
9106
9869
  return /*#__PURE__*/React.createElement("svg", _extends$R({
9107
9870
  viewBox: "0 0 200 67",
9108
9871
  fill: "none",
9109
9872
  xmlns: "http://www.w3.org/2000/svg",
9110
- role: "img",
9111
9873
  "aria-labelledby": titleId
9112
9874
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9113
9875
  id: titleId
@@ -9124,19 +9886,18 @@ var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9124
9886
  };
9125
9887
 
9126
9888
  var _path$M, _path2$g, _path3$8;
9127
- var _excluded$1d = ["title", "titleId"];
9889
+ var _excluded$1h = ["title", "titleId"];
9128
9890
  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); }
9129
9891
  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; }
9130
9892
  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; }
9131
9893
  var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9132
9894
  var title = _ref.title,
9133
9895
  titleId = _ref.titleId,
9134
- props = _objectWithoutProperties$R(_ref, _excluded$1d);
9896
+ props = _objectWithoutProperties$R(_ref, _excluded$1h);
9135
9897
  return /*#__PURE__*/React.createElement("svg", _extends$S({
9136
9898
  viewBox: "0 0 200 67",
9137
9899
  fill: "none",
9138
9900
  xmlns: "http://www.w3.org/2000/svg",
9139
- role: "img",
9140
9901
  "aria-labelledby": titleId
9141
9902
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9142
9903
  id: titleId
@@ -9153,18 +9914,17 @@ var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9153
9914
  };
9154
9915
 
9155
9916
  var _path$N, _path2$h, _path3$9;
9156
- var _excluded$1e = ["title", "titleId"];
9917
+ var _excluded$1i = ["title", "titleId"];
9157
9918
  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); }
9158
9919
  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; }
9159
9920
  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; }
9160
9921
  var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9161
9922
  var title = _ref.title,
9162
9923
  titleId = _ref.titleId,
9163
- props = _objectWithoutProperties$S(_ref, _excluded$1e);
9924
+ props = _objectWithoutProperties$S(_ref, _excluded$1i);
9164
9925
  return /*#__PURE__*/React.createElement("svg", _extends$T({
9165
9926
  viewBox: "0 0 328 120",
9166
9927
  xmlns: "http://www.w3.org/2000/svg",
9167
- role: "img",
9168
9928
  "aria-labelledby": titleId
9169
9929
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9170
9930
  id: titleId
@@ -9178,19 +9938,18 @@ var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9178
9938
  };
9179
9939
 
9180
9940
  var _path$O, _path2$i, _path3$a;
9181
- var _excluded$1f = ["title", "titleId"];
9941
+ var _excluded$1j = ["title", "titleId"];
9182
9942
  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); }
9183
9943
  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; }
9184
9944
  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; }
9185
9945
  var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9186
9946
  var title = _ref.title,
9187
9947
  titleId = _ref.titleId,
9188
- props = _objectWithoutProperties$T(_ref, _excluded$1f);
9948
+ props = _objectWithoutProperties$T(_ref, _excluded$1j);
9189
9949
  return /*#__PURE__*/React.createElement("svg", _extends$U({
9190
9950
  viewBox: "0 0 328 120",
9191
9951
  fill: "#fff",
9192
9952
  xmlns: "http://www.w3.org/2000/svg",
9193
- role: "img",
9194
9953
  "aria-labelledby": titleId
9195
9954
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9196
9955
  id: titleId
@@ -9204,19 +9963,18 @@ var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9204
9963
  };
9205
9964
 
9206
9965
  var _rect$2, _path$P;
9207
- var _excluded$1g = ["title", "titleId"];
9966
+ var _excluded$1k = ["title", "titleId"];
9208
9967
  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); }
9209
9968
  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; }
9210
9969
  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; }
9211
9970
  var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9212
9971
  var title = _ref.title,
9213
9972
  titleId = _ref.titleId,
9214
- props = _objectWithoutProperties$U(_ref, _excluded$1g);
9973
+ props = _objectWithoutProperties$U(_ref, _excluded$1k);
9215
9974
  return /*#__PURE__*/React.createElement("svg", _extends$V({
9216
9975
  viewBox: "0 0 118 119",
9217
9976
  fill: "none",
9218
9977
  xmlns: "http://www.w3.org/2000/svg",
9219
- role: "img",
9220
9978
  "aria-labelledby": titleId
9221
9979
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9222
9980
  id: titleId
@@ -9235,19 +9993,18 @@ var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9235
9993
  };
9236
9994
 
9237
9995
  var _path$Q;
9238
- var _excluded$1h = ["title", "titleId"];
9996
+ var _excluded$1l = ["title", "titleId"];
9239
9997
  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); }
9240
9998
  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; }
9241
9999
  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; }
9242
10000
  var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
9243
10001
  var title = _ref.title,
9244
10002
  titleId = _ref.titleId,
9245
- props = _objectWithoutProperties$V(_ref, _excluded$1h);
10003
+ props = _objectWithoutProperties$V(_ref, _excluded$1l);
9246
10004
  return /*#__PURE__*/React.createElement("svg", _extends$W({
9247
10005
  viewBox: "0 0 312 88",
9248
10006
  fill: "#436CF2",
9249
10007
  xmlns: "http://www.w3.org/2000/svg",
9250
- role: "img",
9251
10008
  "aria-labelledby": titleId
9252
10009
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9253
10010
  id: titleId
@@ -9259,19 +10016,18 @@ var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
9259
10016
  };
9260
10017
 
9261
10018
  var _path$R;
9262
- var _excluded$1i = ["title", "titleId"];
10019
+ var _excluded$1m = ["title", "titleId"];
9263
10020
  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); }
9264
10021
  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; }
9265
10022
  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; }
9266
10023
  var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
9267
10024
  var title = _ref.title,
9268
10025
  titleId = _ref.titleId,
9269
- props = _objectWithoutProperties$W(_ref, _excluded$1i);
10026
+ props = _objectWithoutProperties$W(_ref, _excluded$1m);
9270
10027
  return /*#__PURE__*/React.createElement("svg", _extends$X({
9271
10028
  viewBox: "0 0 312 88",
9272
10029
  fill: "#fff",
9273
10030
  xmlns: "http://www.w3.org/2000/svg",
9274
- role: "img",
9275
10031
  "aria-labelledby": titleId
9276
10032
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9277
10033
  id: titleId
@@ -9283,19 +10039,18 @@ var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
9283
10039
  };
9284
10040
 
9285
10041
  var _path$S, _path2$j, _path3$b, _path4$1, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13;
9286
- var _excluded$1j = ["title", "titleId"];
10042
+ var _excluded$1n = ["title", "titleId"];
9287
10043
  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); }
9288
10044
  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; }
9289
10045
  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; }
9290
10046
  var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
9291
10047
  var title = _ref.title,
9292
10048
  titleId = _ref.titleId,
9293
- props = _objectWithoutProperties$X(_ref, _excluded$1j);
10049
+ props = _objectWithoutProperties$X(_ref, _excluded$1n);
9294
10050
  return /*#__PURE__*/React.createElement("svg", _extends$Y({
9295
10051
  viewBox: "0 0 172 152",
9296
10052
  fill: "none",
9297
10053
  xmlns: "http://www.w3.org/2000/svg",
9298
- role: "img",
9299
10054
  "aria-labelledby": titleId
9300
10055
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9301
10056
  id: titleId
@@ -9342,19 +10097,18 @@ var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
9342
10097
  };
9343
10098
 
9344
10099
  var _g$3;
9345
- var _excluded$1k = ["title", "titleId"];
10100
+ var _excluded$1o = ["title", "titleId"];
9346
10101
  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); }
9347
10102
  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; }
9348
10103
  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; }
9349
10104
  var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref) {
9350
10105
  var title = _ref.title,
9351
10106
  titleId = _ref.titleId,
9352
- props = _objectWithoutProperties$Y(_ref, _excluded$1k);
10107
+ props = _objectWithoutProperties$Y(_ref, _excluded$1o);
9353
10108
  return /*#__PURE__*/React.createElement("svg", _extends$Z({
9354
10109
  viewBox: "0 0 170 150",
9355
10110
  fill: "none",
9356
10111
  xmlns: "http://www.w3.org/2000/svg",
9357
- role: "img",
9358
10112
  "aria-labelledby": titleId
9359
10113
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9360
10114
  id: titleId
@@ -9406,19 +10160,18 @@ var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref)
9406
10160
  };
9407
10161
 
9408
10162
  var _g$4, _defs;
9409
- var _excluded$1l = ["title", "titleId"];
10163
+ var _excluded$1p = ["title", "titleId"];
9410
10164
  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); }
9411
10165
  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; }
9412
10166
  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; }
9413
10167
  var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
9414
10168
  var title = _ref.title,
9415
10169
  titleId = _ref.titleId,
9416
- props = _objectWithoutProperties$Z(_ref, _excluded$1l);
10170
+ props = _objectWithoutProperties$Z(_ref, _excluded$1p);
9417
10171
  return /*#__PURE__*/React.createElement("svg", _extends$_({
9418
10172
  viewBox: "0 0 200 60",
9419
10173
  fill: "none",
9420
10174
  xmlns: "http://www.w3.org/2000/svg",
9421
- role: "img",
9422
10175
  "aria-labelledby": titleId
9423
10176
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9424
10177
  id: titleId
@@ -9547,19 +10300,18 @@ var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
9547
10300
  };
9548
10301
 
9549
10302
  var _path$T, _path2$k;
9550
- var _excluded$1m = ["title", "titleId"];
10303
+ var _excluded$1q = ["title", "titleId"];
9551
10304
  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); }
9552
10305
  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; }
9553
10306
  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; }
9554
10307
  var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
9555
10308
  var title = _ref.title,
9556
10309
  titleId = _ref.titleId,
9557
- props = _objectWithoutProperties$_(_ref, _excluded$1m);
10310
+ props = _objectWithoutProperties$_(_ref, _excluded$1q);
9558
10311
  return /*#__PURE__*/React.createElement("svg", _extends$$({
9559
10312
  viewBox: "0 0 186 74",
9560
10313
  fill: "none",
9561
10314
  xmlns: "http://www.w3.org/2000/svg",
9562
- role: "img",
9563
10315
  "aria-labelledby": titleId
9564
10316
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9565
10317
  id: titleId
@@ -9573,18 +10325,17 @@ var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
9573
10325
  };
9574
10326
 
9575
10327
  var _path$U;
9576
- var _excluded$1n = ["title", "titleId"];
10328
+ var _excluded$1r = ["title", "titleId"];
9577
10329
  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); }
9578
10330
  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; }
9579
10331
  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; }
9580
10332
  var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
9581
10333
  var title = _ref.title,
9582
10334
  titleId = _ref.titleId,
9583
- props = _objectWithoutProperties$$(_ref, _excluded$1n);
10335
+ props = _objectWithoutProperties$$(_ref, _excluded$1r);
9584
10336
  return /*#__PURE__*/React.createElement("svg", _extends$10({
9585
10337
  viewBox: "0 0 186 74",
9586
10338
  xmlns: "http://www.w3.org/2000/svg",
9587
- role: "img",
9588
10339
  "aria-labelledby": titleId
9589
10340
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9590
10341
  id: titleId
@@ -9594,19 +10345,18 @@ var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
9594
10345
  };
9595
10346
 
9596
10347
  var _path$V;
9597
- var _excluded$1o = ["title", "titleId"];
10348
+ var _excluded$1s = ["title", "titleId"];
9598
10349
  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); }
9599
10350
  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; }
9600
10351
  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; }
9601
10352
  var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
9602
10353
  var title = _ref.title,
9603
10354
  titleId = _ref.titleId,
9604
- props = _objectWithoutProperties$10(_ref, _excluded$1o);
10355
+ props = _objectWithoutProperties$10(_ref, _excluded$1s);
9605
10356
  return /*#__PURE__*/React.createElement("svg", _extends$11({
9606
10357
  viewBox: "0 0 186 74",
9607
10358
  fill: "#fff",
9608
10359
  xmlns: "http://www.w3.org/2000/svg",
9609
- role: "img",
9610
10360
  "aria-labelledby": titleId
9611
10361
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9612
10362
  id: titleId
@@ -9616,18 +10366,17 @@ var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
9616
10366
  };
9617
10367
 
9618
10368
  var _g$5;
9619
- var _excluded$1p = ["title", "titleId"];
10369
+ var _excluded$1t = ["title", "titleId"];
9620
10370
  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); }
9621
10371
  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; }
9622
10372
  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; }
9623
10373
  var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
9624
10374
  var title = _ref.title,
9625
10375
  titleId = _ref.titleId,
9626
- props = _objectWithoutProperties$11(_ref, _excluded$1p);
10376
+ props = _objectWithoutProperties$11(_ref, _excluded$1t);
9627
10377
  return /*#__PURE__*/React.createElement("svg", _extends$12({
9628
10378
  viewBox: "0 0 300 71",
9629
10379
  xmlns: "http://www.w3.org/2000/svg",
9630
- role: "img",
9631
10380
  "aria-labelledby": titleId
9632
10381
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9633
10382
  id: titleId
@@ -9639,19 +10388,18 @@ var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
9639
10388
  };
9640
10389
 
9641
10390
  var _g$6;
9642
- var _excluded$1q = ["title", "titleId"];
10391
+ var _excluded$1u = ["title", "titleId"];
9643
10392
  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); }
9644
10393
  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; }
9645
10394
  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; }
9646
10395
  var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
9647
10396
  var title = _ref.title,
9648
10397
  titleId = _ref.titleId,
9649
- props = _objectWithoutProperties$12(_ref, _excluded$1q);
10398
+ props = _objectWithoutProperties$12(_ref, _excluded$1u);
9650
10399
  return /*#__PURE__*/React.createElement("svg", _extends$13({
9651
10400
  viewBox: "0 0 300 71",
9652
10401
  fill: "#C60917",
9653
10402
  xmlns: "http://www.w3.org/2000/svg",
9654
- role: "img",
9655
10403
  "aria-labelledby": titleId
9656
10404
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9657
10405
  id: titleId
@@ -9663,19 +10411,18 @@ var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
9663
10411
  };
9664
10412
 
9665
10413
  var _g$7;
9666
- var _excluded$1r = ["title", "titleId"];
10414
+ var _excluded$1v = ["title", "titleId"];
9667
10415
  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); }
9668
10416
  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; }
9669
10417
  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; }
9670
10418
  var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
9671
10419
  var title = _ref.title,
9672
10420
  titleId = _ref.titleId,
9673
- props = _objectWithoutProperties$13(_ref, _excluded$1r);
10421
+ props = _objectWithoutProperties$13(_ref, _excluded$1v);
9674
10422
  return /*#__PURE__*/React.createElement("svg", _extends$14({
9675
10423
  viewBox: "0 0 300 71",
9676
10424
  fill: "#fff",
9677
10425
  xmlns: "http://www.w3.org/2000/svg",
9678
- role: "img",
9679
10426
  "aria-labelledby": titleId
9680
10427
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9681
10428
  id: titleId
@@ -9687,19 +10434,18 @@ var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
9687
10434
  };
9688
10435
 
9689
10436
  var _g$8, _defs$1;
9690
- var _excluded$1s = ["title", "titleId"];
10437
+ var _excluded$1w = ["title", "titleId"];
9691
10438
  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); }
9692
10439
  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; }
9693
10440
  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; }
9694
10441
  var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
9695
10442
  var title = _ref.title,
9696
10443
  titleId = _ref.titleId,
9697
- props = _objectWithoutProperties$14(_ref, _excluded$1s);
10444
+ props = _objectWithoutProperties$14(_ref, _excluded$1w);
9698
10445
  return /*#__PURE__*/React.createElement("svg", _extends$15({
9699
10446
  viewBox: "0 0 341 61",
9700
10447
  fill: "none",
9701
10448
  xmlns: "http://www.w3.org/2000/svg",
9702
- role: "img",
9703
10449
  "aria-labelledby": titleId
9704
10450
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9705
10451
  id: titleId
@@ -9728,19 +10474,18 @@ var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
9728
10474
  })))));
9729
10475
  };
9730
10476
 
9731
- var _excluded$1t = ["title", "titleId"];
10477
+ var _excluded$1x = ["title", "titleId"];
9732
10478
  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); }
9733
10479
  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; }
9734
10480
  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; }
9735
10481
  var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
9736
10482
  var title = _ref.title,
9737
10483
  titleId = _ref.titleId,
9738
- props = _objectWithoutProperties$15(_ref, _excluded$1t);
10484
+ props = _objectWithoutProperties$15(_ref, _excluded$1x);
9739
10485
  return /*#__PURE__*/React.createElement("svg", _extends$16({
9740
10486
  xmlns: "http://www.w3.org/2000/svg",
9741
10487
  viewBox: "0 0 966.787 543.733",
9742
10488
  xmlSpace: "preserve",
9743
- role: "img",
9744
10489
  "aria-labelledby": titleId
9745
10490
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9746
10491
  id: titleId
@@ -9811,19 +10556,18 @@ var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
9811
10556
  };
9812
10557
 
9813
10558
  var _g$9, _defs$2;
9814
- var _excluded$1u = ["title", "titleId"];
10559
+ var _excluded$1y = ["title", "titleId"];
9815
10560
  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); }
9816
10561
  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; }
9817
10562
  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; }
9818
10563
  var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
9819
10564
  var title = _ref.title,
9820
10565
  titleId = _ref.titleId,
9821
- props = _objectWithoutProperties$16(_ref, _excluded$1u);
10566
+ props = _objectWithoutProperties$16(_ref, _excluded$1y);
9822
10567
  return /*#__PURE__*/React.createElement("svg", _extends$17({
9823
10568
  viewBox: "0 0 967 568",
9824
10569
  fill: "none",
9825
10570
  xmlns: "http://www.w3.org/2000/svg",
9826
- role: "img",
9827
10571
  "aria-labelledby": titleId
9828
10572
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9829
10573
  id: titleId
@@ -9847,19 +10591,18 @@ var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
9847
10591
  };
9848
10592
 
9849
10593
  var _path$W, _path2$l, _path3$c;
9850
- var _excluded$1v = ["title", "titleId"];
10594
+ var _excluded$1z = ["title", "titleId"];
9851
10595
  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); }
9852
10596
  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; }
9853
10597
  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; }
9854
10598
  var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
9855
10599
  var title = _ref.title,
9856
10600
  titleId = _ref.titleId,
9857
- props = _objectWithoutProperties$17(_ref, _excluded$1v);
10601
+ props = _objectWithoutProperties$17(_ref, _excluded$1z);
9858
10602
  return /*#__PURE__*/React.createElement("svg", _extends$18({
9859
10603
  viewBox: "0 0 136 135",
9860
10604
  fill: "none",
9861
10605
  xmlns: "http://www.w3.org/2000/svg",
9862
- role: "img",
9863
10606
  "aria-labelledby": titleId
9864
10607
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9865
10608
  id: titleId
@@ -9878,19 +10621,18 @@ var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
9878
10621
  };
9879
10622
 
9880
10623
  var _path$X;
9881
- var _excluded$1w = ["title", "titleId"];
10624
+ var _excluded$1A = ["title", "titleId"];
9882
10625
  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); }
9883
10626
  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; }
9884
10627
  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; }
9885
10628
  var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
9886
10629
  var title = _ref.title,
9887
10630
  titleId = _ref.titleId,
9888
- props = _objectWithoutProperties$18(_ref, _excluded$1w);
10631
+ props = _objectWithoutProperties$18(_ref, _excluded$1A);
9889
10632
  return /*#__PURE__*/React.createElement("svg", _extends$19({
9890
10633
  viewBox: "0 0 125 126",
9891
10634
  fill: "none",
9892
10635
  xmlns: "http://www.w3.org/2000/svg",
9893
- role: "img",
9894
10636
  "aria-labelledby": titleId
9895
10637
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9896
10638
  id: titleId
@@ -9903,19 +10645,18 @@ var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
9903
10645
  };
9904
10646
 
9905
10647
  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;
9906
- var _excluded$1x = ["title", "titleId"];
10648
+ var _excluded$1B = ["title", "titleId"];
9907
10649
  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); }
9908
10650
  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; }
9909
10651
  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; }
9910
10652
  var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
9911
10653
  var title = _ref.title,
9912
10654
  titleId = _ref.titleId,
9913
- props = _objectWithoutProperties$19(_ref, _excluded$1x);
10655
+ props = _objectWithoutProperties$19(_ref, _excluded$1B);
9914
10656
  return /*#__PURE__*/React.createElement("svg", _extends$1a({
9915
10657
  viewBox: "0 0 201 165",
9916
10658
  fill: "none",
9917
10659
  xmlns: "http://www.w3.org/2000/svg",
9918
- role: "img",
9919
10660
  "aria-labelledby": titleId
9920
10661
  }, props), title ? /*#__PURE__*/React.createElement("title", {
9921
10662
  id: titleId
@@ -9982,19 +10723,18 @@ var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
9982
10723
  };
9983
10724
 
9984
10725
  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;
9985
- var _excluded$1y = ["title", "titleId"];
10726
+ var _excluded$1C = ["title", "titleId"];
9986
10727
  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); }
9987
10728
  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; }
9988
10729
  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; }
9989
10730
  var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
9990
10731
  var title = _ref.title,
9991
10732
  titleId = _ref.titleId,
9992
- props = _objectWithoutProperties$1a(_ref, _excluded$1y);
10733
+ props = _objectWithoutProperties$1a(_ref, _excluded$1C);
9993
10734
  return /*#__PURE__*/React.createElement("svg", _extends$1b({
9994
10735
  viewBox: "0 0 201 165",
9995
10736
  fill: "none",
9996
10737
  xmlns: "http://www.w3.org/2000/svg",
9997
- role: "img",
9998
10738
  "aria-labelledby": titleId
9999
10739
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10000
10740
  id: titleId
@@ -10061,19 +10801,18 @@ var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
10061
10801
  };
10062
10802
 
10063
10803
  var _g$a, _defs$3;
10064
- var _excluded$1z = ["title", "titleId"];
10804
+ var _excluded$1D = ["title", "titleId"];
10065
10805
  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); }
10066
10806
  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; }
10067
10807
  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; }
10068
10808
  var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10069
10809
  var title = _ref.title,
10070
10810
  titleId = _ref.titleId,
10071
- props = _objectWithoutProperties$1b(_ref, _excluded$1z);
10811
+ props = _objectWithoutProperties$1b(_ref, _excluded$1D);
10072
10812
  return /*#__PURE__*/React.createElement("svg", _extends$1c({
10073
10813
  viewBox: "0 0 152 139",
10074
10814
  fill: "none",
10075
10815
  xmlns: "http://www.w3.org/2000/svg",
10076
- role: "img",
10077
10816
  "aria-labelledby": titleId
10078
10817
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10079
10818
  id: titleId
@@ -10117,19 +10856,18 @@ var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10117
10856
  };
10118
10857
 
10119
10858
  var _g$b, _defs$4;
10120
- var _excluded$1A = ["title", "titleId"];
10859
+ var _excluded$1E = ["title", "titleId"];
10121
10860
  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); }
10122
10861
  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; }
10123
10862
  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; }
10124
10863
  var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10125
10864
  var title = _ref.title,
10126
10865
  titleId = _ref.titleId,
10127
- props = _objectWithoutProperties$1c(_ref, _excluded$1A);
10866
+ props = _objectWithoutProperties$1c(_ref, _excluded$1E);
10128
10867
  return /*#__PURE__*/React.createElement("svg", _extends$1d({
10129
10868
  viewBox: "0 0 155 139",
10130
10869
  fill: "none",
10131
10870
  xmlns: "http://www.w3.org/2000/svg",
10132
- role: "img",
10133
10871
  "aria-labelledby": titleId
10134
10872
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10135
10873
  id: titleId
@@ -10196,19 +10934,18 @@ var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10196
10934
  };
10197
10935
 
10198
10936
  var _g$c, _defs$5;
10199
- var _excluded$1B = ["title", "titleId"];
10937
+ var _excluded$1F = ["title", "titleId"];
10200
10938
  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); }
10201
10939
  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; }
10202
10940
  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; }
10203
10941
  var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_ref) {
10204
10942
  var title = _ref.title,
10205
10943
  titleId = _ref.titleId,
10206
- props = _objectWithoutProperties$1d(_ref, _excluded$1B);
10944
+ props = _objectWithoutProperties$1d(_ref, _excluded$1F);
10207
10945
  return /*#__PURE__*/React.createElement("svg", _extends$1e({
10208
10946
  viewBox: "0 0 152 139",
10209
10947
  fill: "none",
10210
10948
  xmlns: "http://www.w3.org/2000/svg",
10211
- role: "img",
10212
10949
  "aria-labelledby": titleId
10213
10950
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10214
10951
  id: titleId
@@ -10252,19 +10989,18 @@ var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_re
10252
10989
  };
10253
10990
 
10254
10991
  var _g$d, _defs$6;
10255
- var _excluded$1C = ["title", "titleId"];
10992
+ var _excluded$1G = ["title", "titleId"];
10256
10993
  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); }
10257
10994
  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; }
10258
10995
  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; }
10259
10996
  var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegative(_ref) {
10260
10997
  var title = _ref.title,
10261
10998
  titleId = _ref.titleId,
10262
- props = _objectWithoutProperties$1e(_ref, _excluded$1C);
10999
+ props = _objectWithoutProperties$1e(_ref, _excluded$1G);
10263
11000
  return /*#__PURE__*/React.createElement("svg", _extends$1f({
10264
11001
  viewBox: "0 0 155 139",
10265
11002
  fill: "none",
10266
11003
  xmlns: "http://www.w3.org/2000/svg",
10267
- role: "img",
10268
11004
  "aria-labelledby": titleId
10269
11005
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10270
11006
  id: titleId
@@ -10334,18 +11070,17 @@ var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegati
10334
11070
  };
10335
11071
 
10336
11072
  var _path$_;
10337
- var _excluded$1D = ["title", "titleId"];
11073
+ var _excluded$1H = ["title", "titleId"];
10338
11074
  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); }
10339
11075
  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; }
10340
11076
  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; }
10341
11077
  var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
10342
11078
  var title = _ref.title,
10343
11079
  titleId = _ref.titleId,
10344
- props = _objectWithoutProperties$1f(_ref, _excluded$1D);
11080
+ props = _objectWithoutProperties$1f(_ref, _excluded$1H);
10345
11081
  return /*#__PURE__*/React.createElement("svg", _extends$1g({
10346
11082
  viewBox: "0 0 250 134",
10347
11083
  xmlns: "http://www.w3.org/2000/svg",
10348
- role: "img",
10349
11084
  "aria-labelledby": titleId
10350
11085
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10351
11086
  id: titleId
@@ -10355,19 +11090,18 @@ var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
10355
11090
  };
10356
11091
 
10357
11092
  var _path$$;
10358
- var _excluded$1E = ["title", "titleId"];
11093
+ var _excluded$1I = ["title", "titleId"];
10359
11094
  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); }
10360
11095
  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; }
10361
11096
  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; }
10362
11097
  var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
10363
11098
  var title = _ref.title,
10364
11099
  titleId = _ref.titleId,
10365
- props = _objectWithoutProperties$1g(_ref, _excluded$1E);
11100
+ props = _objectWithoutProperties$1g(_ref, _excluded$1I);
10366
11101
  return /*#__PURE__*/React.createElement("svg", _extends$1h({
10367
11102
  viewBox: "0 0 250 134",
10368
11103
  fill: "#fff",
10369
11104
  xmlns: "http://www.w3.org/2000/svg",
10370
- role: "img",
10371
11105
  "aria-labelledby": titleId
10372
11106
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10373
11107
  id: titleId
@@ -10377,18 +11111,17 @@ var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
10377
11111
  };
10378
11112
 
10379
11113
  var _path$10, _path2$o, _path3$f, _path4$4, _path5$3;
10380
- var _excluded$1F = ["title", "titleId"];
11114
+ var _excluded$1J = ["title", "titleId"];
10381
11115
  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); }
10382
11116
  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; }
10383
11117
  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; }
10384
11118
  var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
10385
11119
  var title = _ref.title,
10386
11120
  titleId = _ref.titleId,
10387
- props = _objectWithoutProperties$1h(_ref, _excluded$1F);
11121
+ props = _objectWithoutProperties$1h(_ref, _excluded$1J);
10388
11122
  return /*#__PURE__*/React.createElement("svg", _extends$1i({
10389
11123
  viewBox: "0 0 320 43",
10390
11124
  xmlns: "http://www.w3.org/2000/svg",
10391
- role: "img",
10392
11125
  "aria-labelledby": titleId
10393
11126
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10394
11127
  id: titleId
@@ -10414,19 +11147,18 @@ var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
10414
11147
  };
10415
11148
 
10416
11149
  var _g$e, _defs$7;
10417
- var _excluded$1G = ["title", "titleId"];
11150
+ var _excluded$1K = ["title", "titleId"];
10418
11151
  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); }
10419
11152
  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; }
10420
11153
  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; }
10421
11154
  var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
10422
11155
  var title = _ref.title,
10423
11156
  titleId = _ref.titleId,
10424
- props = _objectWithoutProperties$1i(_ref, _excluded$1G);
11157
+ props = _objectWithoutProperties$1i(_ref, _excluded$1K);
10425
11158
  return /*#__PURE__*/React.createElement("svg", _extends$1j({
10426
11159
  viewBox: "0 0 355 48",
10427
11160
  fill: "none",
10428
11161
  xmlns: "http://www.w3.org/2000/svg",
10429
- role: "img",
10430
11162
  "aria-labelledby": titleId
10431
11163
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10432
11164
  id: titleId
@@ -10470,19 +11202,18 @@ var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
10470
11202
  };
10471
11203
 
10472
11204
  var _path$11, _path2$p, _path3$g, _path4$5, _path5$4;
10473
- var _excluded$1H = ["title", "titleId"];
11205
+ var _excluded$1L = ["title", "titleId"];
10474
11206
  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); }
10475
11207
  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; }
10476
11208
  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; }
10477
11209
  var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
10478
11210
  var title = _ref.title,
10479
11211
  titleId = _ref.titleId,
10480
- props = _objectWithoutProperties$1j(_ref, _excluded$1H);
11212
+ props = _objectWithoutProperties$1j(_ref, _excluded$1L);
10481
11213
  return /*#__PURE__*/React.createElement("svg", _extends$1k({
10482
11214
  viewBox: "0 0 320 43",
10483
11215
  fill: "#fff",
10484
11216
  xmlns: "http://www.w3.org/2000/svg",
10485
- role: "img",
10486
11217
  "aria-labelledby": titleId
10487
11218
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10488
11219
  id: titleId
@@ -10508,19 +11239,18 @@ var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
10508
11239
  };
10509
11240
 
10510
11241
  var _path$12, _path2$q, _path3$h, _path4$6, _path5$5;
10511
- var _excluded$1I = ["title", "titleId"];
11242
+ var _excluded$1M = ["title", "titleId"];
10512
11243
  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); }
10513
11244
  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; }
10514
11245
  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; }
10515
11246
  var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
10516
11247
  var title = _ref.title,
10517
11248
  titleId = _ref.titleId,
10518
- props = _objectWithoutProperties$1k(_ref, _excluded$1I);
11249
+ props = _objectWithoutProperties$1k(_ref, _excluded$1M);
10519
11250
  return /*#__PURE__*/React.createElement("svg", _extends$1l({
10520
11251
  viewBox: "0 0 105 129",
10521
11252
  fill: "none",
10522
11253
  xmlns: "http://www.w3.org/2000/svg",
10523
- role: "img",
10524
11254
  "aria-labelledby": titleId
10525
11255
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10526
11256
  id: titleId
@@ -10543,19 +11273,18 @@ var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
10543
11273
  };
10544
11274
 
10545
11275
  var _g$f;
10546
- var _excluded$1J = ["title", "titleId"];
11276
+ var _excluded$1N = ["title", "titleId"];
10547
11277
  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); }
10548
11278
  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; }
10549
11279
  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; }
10550
11280
  var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref) {
10551
11281
  var title = _ref.title,
10552
11282
  titleId = _ref.titleId,
10553
- props = _objectWithoutProperties$1l(_ref, _excluded$1J);
11283
+ props = _objectWithoutProperties$1l(_ref, _excluded$1N);
10554
11284
  return /*#__PURE__*/React.createElement("svg", _extends$1m({
10555
11285
  viewBox: "0 0 234 261",
10556
11286
  fill: "none",
10557
11287
  xmlns: "http://www.w3.org/2000/svg",
10558
- role: "img",
10559
11288
  "aria-labelledby": titleId
10560
11289
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10561
11290
  id: titleId
@@ -10577,18 +11306,17 @@ var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref)
10577
11306
  };
10578
11307
 
10579
11308
  var _path$13, _path2$r, _path3$i, _path4$7, _path5$6;
10580
- var _excluded$1K = ["title", "titleId"];
11309
+ var _excluded$1O = ["title", "titleId"];
10581
11310
  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); }
10582
11311
  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; }
10583
11312
  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; }
10584
11313
  var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
10585
11314
  var title = _ref.title,
10586
11315
  titleId = _ref.titleId,
10587
- props = _objectWithoutProperties$1m(_ref, _excluded$1K);
11316
+ props = _objectWithoutProperties$1m(_ref, _excluded$1O);
10588
11317
  return /*#__PURE__*/React.createElement("svg", _extends$1n({
10589
11318
  viewBox: "0 0 185 79",
10590
11319
  xmlns: "http://www.w3.org/2000/svg",
10591
- role: "img",
10592
11320
  "aria-labelledby": titleId
10593
11321
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10594
11322
  id: titleId
@@ -10606,18 +11334,17 @@ var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
10606
11334
  };
10607
11335
 
10608
11336
  var _path$14, _path2$s, _path3$j, _path4$8, _path5$7;
10609
- var _excluded$1L = ["title", "titleId"];
11337
+ var _excluded$1P = ["title", "titleId"];
10610
11338
  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); }
10611
11339
  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; }
10612
11340
  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; }
10613
11341
  var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
10614
11342
  var title = _ref.title,
10615
11343
  titleId = _ref.titleId,
10616
- props = _objectWithoutProperties$1n(_ref, _excluded$1L);
11344
+ props = _objectWithoutProperties$1n(_ref, _excluded$1P);
10617
11345
  return /*#__PURE__*/React.createElement("svg", _extends$1o({
10618
11346
  viewBox: "0 0 67 67",
10619
11347
  xmlns: "http://www.w3.org/2000/svg",
10620
- role: "img",
10621
11348
  "aria-labelledby": titleId
10622
11349
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10623
11350
  id: titleId
@@ -10635,19 +11362,18 @@ var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
10635
11362
  };
10636
11363
 
10637
11364
  var _path$15, _path2$t, _path3$k, _path4$9, _path5$8;
10638
- var _excluded$1M = ["title", "titleId"];
11365
+ var _excluded$1Q = ["title", "titleId"];
10639
11366
  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); }
10640
11367
  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; }
10641
11368
  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; }
10642
11369
  var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
10643
11370
  var title = _ref.title,
10644
11371
  titleId = _ref.titleId,
10645
- props = _objectWithoutProperties$1o(_ref, _excluded$1M);
11372
+ props = _objectWithoutProperties$1o(_ref, _excluded$1Q);
10646
11373
  return /*#__PURE__*/React.createElement("svg", _extends$1p({
10647
11374
  viewBox: "0 0 67 67",
10648
11375
  fill: "none",
10649
11376
  xmlns: "http://www.w3.org/2000/svg",
10650
- role: "img",
10651
11377
  "aria-labelledby": titleId
10652
11378
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10653
11379
  id: titleId
@@ -10670,19 +11396,18 @@ var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
10670
11396
  };
10671
11397
 
10672
11398
  var _path$16, _path2$u, _path3$l, _path4$a, _path5$9;
10673
- var _excluded$1N = ["title", "titleId"];
11399
+ var _excluded$1R = ["title", "titleId"];
10674
11400
  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); }
10675
11401
  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; }
10676
11402
  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; }
10677
11403
  var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
10678
11404
  var title = _ref.title,
10679
11405
  titleId = _ref.titleId,
10680
- props = _objectWithoutProperties$1p(_ref, _excluded$1N);
11406
+ props = _objectWithoutProperties$1p(_ref, _excluded$1R);
10681
11407
  return /*#__PURE__*/React.createElement("svg", _extends$1q({
10682
11408
  viewBox: "0 0 67 67",
10683
11409
  fill: "#fff",
10684
11410
  xmlns: "http://www.w3.org/2000/svg",
10685
- role: "img",
10686
11411
  "aria-labelledby": titleId
10687
11412
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10688
11413
  id: titleId
@@ -10700,19 +11425,18 @@ var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
10700
11425
  };
10701
11426
 
10702
11427
  var _path$17, _path2$v, _path3$m, _path4$b, _path5$a, _path6$3, _path7$3;
10703
- var _excluded$1O = ["title", "titleId"];
11428
+ var _excluded$1S = ["title", "titleId"];
10704
11429
  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); }
10705
11430
  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; }
10706
11431
  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; }
10707
11432
  var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
10708
11433
  var title = _ref.title,
10709
11434
  titleId = _ref.titleId,
10710
- props = _objectWithoutProperties$1q(_ref, _excluded$1O);
11435
+ props = _objectWithoutProperties$1q(_ref, _excluded$1S);
10711
11436
  return /*#__PURE__*/React.createElement("svg", _extends$1r({
10712
11437
  viewBox: "0 0 185 79",
10713
11438
  fill: "none",
10714
11439
  xmlns: "http://www.w3.org/2000/svg",
10715
- role: "img",
10716
11440
  "aria-labelledby": titleId
10717
11441
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10718
11442
  id: titleId
@@ -10741,19 +11465,18 @@ var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
10741
11465
  };
10742
11466
 
10743
11467
  var _path$18, _path2$w, _path3$n, _path4$c, _path5$b;
10744
- var _excluded$1P = ["title", "titleId"];
11468
+ var _excluded$1T = ["title", "titleId"];
10745
11469
  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); }
10746
11470
  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; }
10747
11471
  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; }
10748
11472
  var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
10749
11473
  var title = _ref.title,
10750
11474
  titleId = _ref.titleId,
10751
- props = _objectWithoutProperties$1r(_ref, _excluded$1P);
11475
+ props = _objectWithoutProperties$1r(_ref, _excluded$1T);
10752
11476
  return /*#__PURE__*/React.createElement("svg", _extends$1s({
10753
11477
  viewBox: "0 0 185 79",
10754
11478
  fill: "#fff",
10755
11479
  xmlns: "http://www.w3.org/2000/svg",
10756
- role: "img",
10757
11480
  "aria-labelledby": titleId
10758
11481
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10759
11482
  id: titleId
@@ -10771,18 +11494,17 @@ var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
10771
11494
  };
10772
11495
 
10773
11496
  var _g$g, _defs$8;
10774
- var _excluded$1Q = ["title", "titleId"];
11497
+ var _excluded$1U = ["title", "titleId"];
10775
11498
  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); }
10776
11499
  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; }
10777
11500
  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; }
10778
11501
  var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
10779
11502
  var title = _ref.title,
10780
11503
  titleId = _ref.titleId,
10781
- props = _objectWithoutProperties$1s(_ref, _excluded$1Q);
11504
+ props = _objectWithoutProperties$1s(_ref, _excluded$1U);
10782
11505
  return /*#__PURE__*/React.createElement("svg", _extends$1t({
10783
11506
  viewBox: "0 0 512 148",
10784
11507
  xmlns: "http://www.w3.org/2000/svg",
10785
- role: "img",
10786
11508
  "aria-labelledby": titleId
10787
11509
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10788
11510
  id: titleId
@@ -10804,19 +11526,18 @@ var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
10804
11526
  };
10805
11527
 
10806
11528
  var _g$h, _defs$9;
10807
- var _excluded$1R = ["title", "titleId"];
11529
+ var _excluded$1V = ["title", "titleId"];
10808
11530
  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); }
10809
11531
  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; }
10810
11532
  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; }
10811
11533
  var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
10812
11534
  var title = _ref.title,
10813
11535
  titleId = _ref.titleId,
10814
- props = _objectWithoutProperties$1t(_ref, _excluded$1R);
11536
+ props = _objectWithoutProperties$1t(_ref, _excluded$1V);
10815
11537
  return /*#__PURE__*/React.createElement("svg", _extends$1u({
10816
11538
  viewBox: "0 0 512 148",
10817
11539
  fill: "#fff",
10818
11540
  xmlns: "http://www.w3.org/2000/svg",
10819
- role: "img",
10820
11541
  "aria-labelledby": titleId
10821
11542
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10822
11543
  id: titleId
@@ -10837,19 +11558,18 @@ var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
10837
11558
  };
10838
11559
 
10839
11560
  var _g$i, _defs$a;
10840
- var _excluded$1S = ["title", "titleId"];
11561
+ var _excluded$1W = ["title", "titleId"];
10841
11562
  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); }
10842
11563
  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; }
10843
11564
  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; }
10844
11565
  var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
10845
11566
  var title = _ref.title,
10846
11567
  titleId = _ref.titleId,
10847
- props = _objectWithoutProperties$1u(_ref, _excluded$1S);
11568
+ props = _objectWithoutProperties$1u(_ref, _excluded$1W);
10848
11569
  return /*#__PURE__*/React.createElement("svg", _extends$1v({
10849
11570
  viewBox: "0 0 682 196",
10850
11571
  fill: "none",
10851
11572
  xmlns: "http://www.w3.org/2000/svg",
10852
- role: "img",
10853
11573
  "aria-labelledby": titleId
10854
11574
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10855
11575
  id: titleId
@@ -10877,18 +11597,17 @@ var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
10877
11597
  };
10878
11598
 
10879
11599
  var _path$19;
10880
- var _excluded$1T = ["title", "titleId"];
11600
+ var _excluded$1X = ["title", "titleId"];
10881
11601
  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); }
10882
11602
  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; }
10883
11603
  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; }
10884
11604
  var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
10885
11605
  var title = _ref.title,
10886
11606
  titleId = _ref.titleId,
10887
- props = _objectWithoutProperties$1v(_ref, _excluded$1T);
11607
+ props = _objectWithoutProperties$1v(_ref, _excluded$1X);
10888
11608
  return /*#__PURE__*/React.createElement("svg", _extends$1w({
10889
11609
  viewBox: "0 0 84 111",
10890
11610
  xmlns: "http://www.w3.org/2000/svg",
10891
- role: "img",
10892
11611
  "aria-labelledby": titleId
10893
11612
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10894
11613
  id: titleId
@@ -10898,19 +11617,18 @@ var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
10898
11617
  };
10899
11618
 
10900
11619
  var _path$1a;
10901
- var _excluded$1U = ["title", "titleId"];
11620
+ var _excluded$1Y = ["title", "titleId"];
10902
11621
  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); }
10903
11622
  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; }
10904
11623
  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; }
10905
11624
  var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
10906
11625
  var title = _ref.title,
10907
11626
  titleId = _ref.titleId,
10908
- props = _objectWithoutProperties$1w(_ref, _excluded$1U);
11627
+ props = _objectWithoutProperties$1w(_ref, _excluded$1Y);
10909
11628
  return /*#__PURE__*/React.createElement("svg", _extends$1x({
10910
11629
  viewBox: "0 0 84 111",
10911
11630
  fill: "#fff",
10912
11631
  xmlns: "http://www.w3.org/2000/svg",
10913
- role: "img",
10914
11632
  "aria-labelledby": titleId
10915
11633
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10916
11634
  id: titleId
@@ -10920,19 +11638,18 @@ var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
10920
11638
  };
10921
11639
 
10922
11640
  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;
10923
- var _excluded$1V = ["title", "titleId"];
11641
+ var _excluded$1Z = ["title", "titleId"];
10924
11642
  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); }
10925
11643
  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; }
10926
11644
  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; }
10927
11645
  var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
10928
11646
  var title = _ref.title,
10929
11647
  titleId = _ref.titleId,
10930
- props = _objectWithoutProperties$1x(_ref, _excluded$1V);
11648
+ props = _objectWithoutProperties$1x(_ref, _excluded$1Z);
10931
11649
  return /*#__PURE__*/React.createElement("svg", _extends$1y({
10932
11650
  viewBox: "0 0 324 265",
10933
11651
  fill: "none",
10934
11652
  xmlns: "http://www.w3.org/2000/svg",
10935
- role: "img",
10936
11653
  "aria-labelledby": titleId
10937
11654
  }, props), title ? /*#__PURE__*/React.createElement("title", {
10938
11655
  id: titleId
@@ -11105,19 +11822,18 @@ var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
11105
11822
  };
11106
11823
 
11107
11824
  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;
11108
- var _excluded$1W = ["title", "titleId"];
11825
+ var _excluded$1_ = ["title", "titleId"];
11109
11826
  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); }
11110
11827
  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; }
11111
11828
  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; }
11112
11829
  var SvgLogoTreasuresColorNegative = function SvgLogoTreasuresColorNegative(_ref) {
11113
11830
  var title = _ref.title,
11114
11831
  titleId = _ref.titleId,
11115
- props = _objectWithoutProperties$1y(_ref, _excluded$1W);
11832
+ props = _objectWithoutProperties$1y(_ref, _excluded$1_);
11116
11833
  return /*#__PURE__*/React.createElement("svg", _extends$1z({
11117
11834
  viewBox: "0 0 327 266",
11118
11835
  fill: "none",
11119
11836
  xmlns: "http://www.w3.org/2000/svg",
11120
- role: "img",
11121
11837
  "aria-labelledby": titleId
11122
11838
  }, props), title ? /*#__PURE__*/React.createElement("title", {
11123
11839
  id: titleId
@@ -11340,7 +12056,7 @@ var logoSvgs = {
11340
12056
  treasuresColorNegative: SvgLogoTreasuresColorNegative
11341
12057
  };
11342
12058
 
11343
- var _excluded$1X = ["children", "className", "decorative", "id", "name", "size", "title"];
12059
+ var _excluded$1$ = ["children", "className", "decorative", "id", "name", "size", "title"];
11344
12060
  /**
11345
12061
  * The `Logo` component renders SVG-based logos and color variants that are
11346
12062
  * commonly used by the New York Public Library.
@@ -11357,7 +12073,7 @@ var Logo$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
11357
12073
  size = _props$size === void 0 ? "medium" : _props$size,
11358
12074
  _props$title = props.title,
11359
12075
  title = _props$title === void 0 ? name + " logo" : _props$title,
11360
- rest = _objectWithoutPropertiesLoose(props, _excluded$1X);
12076
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1$);
11361
12077
  var styles = react.useStyleConfig("Logo", {
11362
12078
  size: size
11363
12079
  });
@@ -11458,7 +12174,7 @@ var link$1 = {
11458
12174
  }]
11459
12175
  };
11460
12176
 
11461
- var _excluded$1Y = ["className", "id"];
12177
+ var _excluded$20 = ["className", "id"];
11462
12178
  /**
11463
12179
  * This `Footer` component renders the NYPL-branded footer elements such
11464
12180
  * as navigational NYPL.org links, social media links, copyright, and
@@ -11468,7 +12184,7 @@ var Footer$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
11468
12184
  var className = _ref.className,
11469
12185
  _ref$id = _ref.id,
11470
12186
  id = _ref$id === void 0 ? "footer" : _ref$id,
11471
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1Y);
12187
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$20);
11472
12188
  var styles = react.useMultiStyleConfig("Footer", {});
11473
12189
  var nyplLinks = link$1.nyplLinks.map(function (links, index) {
11474
12190
  return React__default.createElement(List$1, {
@@ -11492,266 +12208,101 @@ var Footer$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
11492
12208
  }, React__default.createElement(Icon, {
11493
12209
  "aria-label": link.title,
11494
12210
  decorative: false,
11495
- name: link.iconName,
11496
- size: "small",
11497
- title: link.title
11498
- }));
11499
- });
11500
- return React__default.createElement(react.Box, Object.assign({
11501
- as: "footer",
11502
- className: className,
11503
- id: id,
11504
- ref: ref,
11505
- role: "contentinfo"
11506
- }, rest, {
11507
- __css: styles
11508
- }), React__default.createElement(react.Box, {
11509
- __css: styles.listsContainer
11510
- }, React__default.createElement(List$1, {
11511
- "data-testid": "text-links",
11512
- listItems: nyplLinks,
11513
- noStyling: true,
11514
- type: "ul",
11515
- __css: styles.footerLinksList
11516
- }), React__default.createElement(List$1, {
11517
- "data-testid": "social-media-links",
11518
- listItems: socialLinks,
11519
- noStyling: true,
11520
- type: "ul",
11521
- __css: styles.socialMediaList
11522
- })), React__default.createElement(react.Box, {
11523
- __css: styles.nyplInfoContainer
11524
- }, React__default.createElement(react.Box, null, React__default.createElement(Image, {
11525
- alt: "NYPL Main Building Facade",
11526
- src: "https://cdn-d8.nypl.org/s3fs-public/2020-05/NYPL_MainFacadeRev2Cam2.png"
11527
- })), React__default.createElement(react.Box, {
11528
- __css: styles.copyright
11529
- }, 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(react.Box, {
11530
- __css: styles.logoContainer
11531
- }, React__default.createElement(Logo$1, {
11532
- "aria-label": "The New York Public Library",
11533
- decorative: false,
11534
- name: "nyplTextWhite",
11535
- size: "small",
11536
- title: "The New York Public Library"
11537
- })));
11538
- }));
11539
-
11540
- var _excluded$1Z = ["align", "className"];
11541
- var HorizontalRule$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
11542
- var align = props.align,
11543
- className = props.className,
11544
- rest = _objectWithoutPropertiesLoose(props, _excluded$1Z);
11545
- var styles = react.useStyleConfig("HorizontalRule", {
11546
- align: align
11547
- });
11548
- var finalStyles = _extends({}, styles, {
11549
- height: "2px",
11550
- width: "100%"
11551
- });
11552
- return React__default.createElement(react.Box, Object.assign({
11553
- as: "hr",
11554
- className: className,
11555
- ref: ref,
11556
- __css: finalStyles
11557
- }, rest));
11558
- }));
11559
-
11560
- var _excluded$1_ = ["className", "id", "target"];
11561
- /**
11562
- * SkipNavigation is a component that is used to provide a navigational list of
11563
- * links. The first link is used to skip to the main content of the page using
11564
- * the `#mainContent` id, and the second link points to accessibility information
11565
- * on NYPL.org. These links are visually hidden but can be read by screenreaders.
11566
- */
11567
- var SkipNavigation$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
11568
- var className = props.className,
11569
- id = props.id,
11570
- _props$target = props.target,
11571
- target = _props$target === void 0 ? "#mainContent" : _props$target,
11572
- rest = _objectWithoutPropertiesLoose(props, _excluded$1_);
11573
- var styles = react.useStyleConfig("SkipNavigation");
11574
- return React__default.createElement(react.Box, Object.assign({
11575
- as: "nav",
11576
- "aria-label": "Skip Navigation",
11577
- className: className,
11578
- id: id,
11579
- ref: ref,
11580
- __css: styles
11581
- }, rest), React__default.createElement(List$1, {
11582
- inline: true,
11583
- noStyling: true,
11584
- type: "ul"
11585
- }, React__default.createElement("li", null, React__default.createElement(Link, {
11586
- href: target
11587
- }, "Skip to Main Content")), React__default.createElement("li", null, React__default.createElement(Link, {
11588
- href: "https://www.nypl.org/accessibility"
11589
- }, "Click to learn about accessibility at the Library"))));
11590
- }));
11591
-
11592
- var _excluded$1$ = ["className", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
11593
- var Radio$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
11594
- var className = props.className,
11595
- helperText = props.helperText,
11596
- id = props.id,
11597
- invalidText = props.invalidText,
11598
- isChecked = props.isChecked,
11599
- _props$isDisabled = props.isDisabled,
11600
- isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
11601
- _props$isInvalid = props.isInvalid,
11602
- isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
11603
- _props$isRequired = props.isRequired,
11604
- isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
11605
- labelText = props.labelText,
11606
- name = props.name,
11607
- onChange = props.onChange,
11608
- _props$showHelperInva = props.showHelperInvalidText,
11609
- showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
11610
- _props$showLabel = props.showLabel,
11611
- showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
11612
- value = props.value,
11613
- rest = _objectWithoutPropertiesLoose(props, _excluded$1$);
11614
- var styles = react.useMultiStyleConfig("Radio", {
11615
- showLabel: showLabel
11616
- });
11617
- var wrapperStyles = react.useStyleConfig("RadioWrapper");
11618
- var footnote = isInvalid ? invalidText : helperText;
11619
- var ariaAttributes = getAriaAttrs({
11620
- footnote: footnote,
11621
- id: id,
11622
- labelText: labelText,
11623
- name: "Radio",
11624
- showLabel: showLabel
11625
- });
11626
- // We can't use the aria-label because of how Chakra renders its
11627
- // Radio component. Instead, we'll visually hide the label.
11628
- delete ariaAttributes["aria-label"];
11629
- if (!id) {
11630
- console.warn("NYPL Reservoir Radio: This component's required `id` prop was not passed.");
11631
- }
11632
- return React__default.createElement(ComponentWrapper, Object.assign({
11633
- helperText: helperText,
11634
- helperTextStyles: styles.helperErrorText,
11635
- id: id,
11636
- invalidText: invalidText,
11637
- isInvalid: isInvalid,
11638
- showHelperInvalidText: showHelperInvalidText,
11639
- sx: wrapperStyles
11640
- }, rest), React__default.createElement(react.Radio, Object.assign({
11641
- className: className,
11642
- id: id,
11643
- isChecked: isChecked,
11644
- isDisabled: isDisabled,
11645
- isInvalid: isInvalid,
11646
- isRequired: isRequired,
11647
- name: name,
11648
- onChange: onChange,
11649
- ref: ref,
11650
- value: value,
11651
- alignItems: "flex-start",
11652
- sx: styles
11653
- }, ariaAttributes), React__default.createElement(react.Box, {
11654
- as: "span",
11655
- __css: showLabel ? {} : styles.hiddenLabel
11656
- }, labelText)));
11657
- }));
11658
-
11659
- var _excluded$20 = ["children", "className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel"];
11660
- /**
11661
- * RadioGroup is a wrapper for DS `Radio` components that renders as a fieldset
11662
- * HTML element along with optional helper text. The `name` prop is essential
11663
- * for this form group element and is not needed for individual DS `Radio`
11664
- * components when `RadioGroup` is used.
11665
- */
11666
- var RadioGroup$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
11667
- var children = props.children,
11668
- _props$className = props.className,
11669
- className = _props$className === void 0 ? "" : _props$className,
11670
- defaultValue = props.defaultValue,
11671
- helperText = props.helperText,
11672
- id = props.id,
11673
- invalidText = props.invalidText,
11674
- _props$isDisabled = props.isDisabled,
11675
- isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
11676
- _props$isFullWidth = props.isFullWidth,
11677
- isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
11678
- _props$isInvalid = props.isInvalid,
11679
- isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
11680
- _props$isRequired = props.isRequired,
11681
- isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
11682
- labelText = props.labelText,
11683
- _props$layout = props.layout,
11684
- layout = _props$layout === void 0 ? "column" : _props$layout,
11685
- name = props.name,
11686
- _onChange = props.onChange,
11687
- _props$showHelperInva = props.showHelperInvalidText,
11688
- showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
11689
- _props$showLabel = props.showLabel,
11690
- showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
11691
- _props$showRequiredLa = props.showRequiredLabel,
11692
- showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
11693
- rest = _objectWithoutPropertiesLoose(props, _excluded$20);
11694
- var _React$useState = React__default.useState(defaultValue),
11695
- value = _React$useState[0],
11696
- setValue = _React$useState[1];
11697
- var footnote = isInvalid ? invalidText : helperText;
11698
- var spacingProp = layout === "column" ? spacing.s : spacing.l;
11699
- var newChildren = [];
11700
- // Get the Chakra-based styles for the custom elements in this component.
11701
- var styles = react.useMultiStyleConfig("RadioGroup", {
11702
- isFullWidth: isFullWidth
11703
- });
11704
- // Props for the `ChakraRadioGroup` component.
11705
- var radioGroupProps = {
11706
- "aria-label": !showLabel ? labelText : undefined,
11707
- name: name,
11708
- onChange: function onChange(selected) {
11709
- setValue(selected);
11710
- _onChange && _onChange(selected);
11711
- },
11712
- ref: ref,
11713
- value: value
11714
- };
11715
- if (!id) {
11716
- console.warn("NYPL Reservoir RadioGroup: This component's required `id` prop was not passed.");
11717
- }
11718
- // Go through the Radio children and update them as needed.
11719
- React__default.Children.map(children, function (child, key) {
11720
- if ((child == null ? void 0 : child.type) !== Radio$1) {
11721
- var _child$props, _child$props2;
11722
- // Special case for Storybook MDX documentation.
11723
- if ((_child$props = child.props) != null && _child$props.mdxType && ((_child$props2 = child.props) == null ? void 0 : _child$props2.mdxType) === "Radio") ; else {
11724
- console.warn("NYPL Reservoir RadioGroup: Only `Radio` components are allowed " + "inside the `RadioGroup` component.");
11725
- }
11726
- }
11727
- if (child !== undefined && child !== null) {
11728
- var newProps = {
11729
- key: key,
11730
- isDisabled: isDisabled,
11731
- isInvalid: isInvalid,
11732
- isRequired: isRequired
11733
- };
11734
- newChildren.push(React__default.cloneElement(child, newProps));
11735
- }
12211
+ name: link.iconName,
12212
+ size: "small",
12213
+ title: link.title
12214
+ }));
11736
12215
  });
11737
- return React__default.createElement(Fieldset, Object.assign({
12216
+ return React__default.createElement(react.Box, Object.assign({
12217
+ as: "footer",
11738
12218
  className: className,
11739
- id: "radio-group-" + id,
11740
- isLegendHidden: !showLabel,
11741
- isRequired: isRequired,
11742
- legendText: labelText,
11743
- showRequiredLabel: showRequiredLabel
12219
+ id: id,
12220
+ ref: ref,
12221
+ role: "contentinfo"
11744
12222
  }, rest, {
11745
12223
  __css: styles
11746
- }), React__default.createElement(react.RadioGroup, Object.assign({}, radioGroupProps), React__default.createElement(react.Stack, {
11747
- direction: [layout],
11748
- spacing: spacingProp
11749
- }, newChildren)), footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
11750
- id: id + "-helperErrorText",
11751
- isInvalid: isInvalid,
11752
- text: footnote,
11753
- __css: styles.helperErrorText
11754
- }));
12224
+ }), React__default.createElement(react.Box, {
12225
+ __css: styles.listsContainer
12226
+ }, React__default.createElement(List$1, {
12227
+ "data-testid": "text-links",
12228
+ listItems: nyplLinks,
12229
+ noStyling: true,
12230
+ type: "ul",
12231
+ __css: styles.footerLinksList
12232
+ }), React__default.createElement(List$1, {
12233
+ "data-testid": "social-media-links",
12234
+ listItems: socialLinks,
12235
+ noStyling: true,
12236
+ type: "ul",
12237
+ __css: styles.socialMediaList
12238
+ })), React__default.createElement(react.Box, {
12239
+ __css: styles.nyplInfoContainer
12240
+ }, React__default.createElement(react.Box, null, React__default.createElement(Image, {
12241
+ alt: "NYPL Main Building Facade",
12242
+ src: "https://cdn-d8.nypl.org/s3fs-public/2020-05/NYPL_MainFacadeRev2Cam2.png"
12243
+ })), React__default.createElement(react.Box, {
12244
+ __css: styles.copyright
12245
+ }, 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(react.Box, {
12246
+ __css: styles.logoContainer
12247
+ }, React__default.createElement(Logo$1, {
12248
+ "aria-label": "The New York Public Library",
12249
+ decorative: false,
12250
+ name: "nyplTextWhite",
12251
+ size: "small",
12252
+ title: "The New York Public Library"
12253
+ })));
12254
+ }));
12255
+
12256
+ var _excluded$21 = ["align", "className"];
12257
+ var HorizontalRule$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
12258
+ var align = props.align,
12259
+ className = props.className,
12260
+ rest = _objectWithoutPropertiesLoose(props, _excluded$21);
12261
+ var styles = react.useStyleConfig("HorizontalRule", {
12262
+ align: align
12263
+ });
12264
+ var finalStyles = _extends({}, styles, {
12265
+ height: "2px",
12266
+ width: "100%"
12267
+ });
12268
+ return React__default.createElement(react.Box, Object.assign({
12269
+ as: "hr",
12270
+ className: className,
12271
+ ref: ref,
12272
+ __css: finalStyles
12273
+ }, rest));
12274
+ }));
12275
+
12276
+ var _excluded$22 = ["className", "id", "target"];
12277
+ /**
12278
+ * SkipNavigation is a component that is used to provide a navigational list of
12279
+ * links. The first link is used to skip to the main content of the page using
12280
+ * the `#mainContent` id, and the second link points to accessibility information
12281
+ * on NYPL.org. These links are visually hidden but can be read by screenreaders.
12282
+ */
12283
+ var SkipNavigation$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
12284
+ var className = props.className,
12285
+ id = props.id,
12286
+ _props$target = props.target,
12287
+ target = _props$target === void 0 ? "#mainContent" : _props$target,
12288
+ rest = _objectWithoutPropertiesLoose(props, _excluded$22);
12289
+ var styles = react.useStyleConfig("SkipNavigation");
12290
+ return React__default.createElement(react.Box, Object.assign({
12291
+ as: "nav",
12292
+ "aria-label": "Skip Navigation",
12293
+ className: className,
12294
+ id: id,
12295
+ ref: ref,
12296
+ __css: styles
12297
+ }, rest), React__default.createElement(List$1, {
12298
+ inline: true,
12299
+ noStyling: true,
12300
+ type: "ul"
12301
+ }, React__default.createElement("li", null, React__default.createElement(Link, {
12302
+ href: target
12303
+ }, "Skip to Main Content")), React__default.createElement("li", null, React__default.createElement(Link, {
12304
+ href: "https://www.nypl.org/accessibility"
12305
+ }, "Click to learn about accessibility at the Library"))));
11755
12306
  }));
11756
12307
 
11757
12308
  /*eslint no-useless-escape: 0 */
@@ -12652,227 +13203,69 @@ var HeaderMobileNav$1 = /*#__PURE__*/react.chakra(function () {
12652
13203
  href: upperNavLinks.donate.href,
12653
13204
  gridColumn: "1 / span 2",
12654
13205
  onClick: function onClick() {
12655
- return gaUtils.trackEvent("Donate", "Mobile Buttons Donate");
12656
- }
12657
- }, upperNavLinks.donate.text.toUpperCase())));
12658
- });
12659
-
12660
- /**
12661
- * This is the button that will render the navigational list of links
12662
- * when it is clicked and keep focus trapped within the menu.
12663
- */
12664
- var HeaderMobileNavButton$1 = /*#__PURE__*/react.chakra(function () {
12665
- var _useState = React.useState(false),
12666
- isOpen = _useState[0],
12667
- setIsOpen = _useState[1];
12668
- var styles = react.useStyleConfig("HeaderMobileNavButton", {
12669
- isOpen: isOpen
12670
- });
12671
- var ref = React.useRef(null);
12672
- useCloseDropDown(setIsOpen, ref);
12673
- return React__default.createElement(react.Box, {
12674
- ref: ref
12675
- }, React__default.createElement(FocusLock, {
12676
- isDisabled: !isOpen
12677
- }, React__default.createElement(Button, {
12678
- "aria-haspopup": "true",
12679
- "aria-label": isOpen ? "Close Navigation" : "Open Navigation",
12680
- "aria-expanded": isOpen ? true : null,
12681
- buttonType: "text",
12682
- id: "mobileNav-btn",
12683
- onClick: function onClick() {
12684
- gaUtils.trackEvent("Click", "Mobile mobileMenu");
12685
- setIsOpen(!isOpen);
12686
- },
12687
- __css: styles
12688
- }, React__default.createElement(Icon, {
12689
- name: isOpen ? "close" : "utilityHamburger",
12690
- size: "large"
12691
- })), isOpen && React__default.createElement(HeaderMobileNav$1, null)));
12692
- });
12693
-
12694
- /**
12695
- * This component renders the mobile list of icon buttons for
12696
- * logging in, searching, and navigating on NYPL.org.
12697
- */
12698
- var HeaderMobileIconNav$1 = /*#__PURE__*/react.chakra(function () {
12699
- var styles = react.useStyleConfig("HeaderMobileIconNav");
12700
- return React__default.createElement(react.Flex, {
12701
- sx: styles
12702
- }, React__default.createElement(HeaderLoginButton$1, {
12703
- isMobile: true
12704
- }), React__default.createElement(Link, {
12705
- "aria-label": "NYPL Locations Near Me",
12706
- href: "https://nypl.org/locations",
12707
- onClick: function onClick() {
12708
- return gaUtils.trackEvent("Click", "Mobile Locations Button");
12709
- }
12710
- }, React__default.createElement(Icon, {
12711
- name: "locator",
12712
- size: "large",
12713
- title: "NYPL Locator"
12714
- })), React__default.createElement(HeaderSearchButton$1, {
12715
- isMobile: true
12716
- }), React__default.createElement(HeaderMobileNavButton$1, null));
12717
- });
12718
-
12719
- var _excluded$21 = ["children", "icon", "id", "isCentered", "notificationType"],
12720
- _excluded2$5 = ["alignText", "children", "icon", "notificationType"],
12721
- _excluded3$3 = ["ariaLabel", "className", "dismissible", "icon", "id", "isCentered", "noMargin", "notificationContent", "notificationHeading", "notificationType", "showIcon"];
12722
- /**
12723
- * NotificationHeading child-component.
12724
- */
12725
- var NotificationHeading$1 = /*#__PURE__*/react.chakra(function (props) {
12726
- var children = props.children,
12727
- icon = props.icon,
12728
- id = props.id,
12729
- isCentered = props.isCentered,
12730
- notificationType = props.notificationType,
12731
- rest = _objectWithoutPropertiesLoose(props, _excluded$21);
12732
- var styles = react.useMultiStyleConfig("NotificationHeading", {
12733
- icon: icon,
12734
- isCentered: isCentered,
12735
- notificationType: notificationType
12736
- });
12737
- return React__default.createElement(react.Box, Object.assign({
12738
- as: "header",
12739
- __css: styles
12740
- }, rest), icon, React__default.createElement(Heading, {
12741
- id: id + "-heading",
12742
- level: "four",
12743
- __css: styles.heading
12744
- }, children));
12745
- });
12746
- /**
12747
- * NotificationContent child-component.
12748
- */
12749
- var NotificationContent$1 = /*#__PURE__*/react.chakra(function (props) {
12750
- var alignText = props.alignText,
12751
- children = props.children,
12752
- icon = props.icon,
12753
- notificationType = props.notificationType,
12754
- rest = _objectWithoutPropertiesLoose(props, _excluded2$5);
12755
- var styles = react.useMultiStyleConfig("NotificationContent", {
12756
- alignText: alignText,
12757
- icon: icon,
12758
- notificationType: notificationType
12759
- });
12760
- return React__default.createElement(react.Box, Object.assign({
12761
- __css: styles
12762
- }, rest), icon, React__default.createElement(react.Box, {
12763
- __css: styles.content
12764
- }, children));
12765
- });
12766
- /**
12767
- * Component used to present users with three different levels of notifications:
12768
- * standard, announcement, and warning.
12769
- */
12770
- var Notification$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
12771
- var ariaLabel = props.ariaLabel,
12772
- className = props.className,
12773
- _props$dismissible = props.dismissible,
12774
- dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
12775
- icon = props.icon,
12776
- id = props.id,
12777
- _props$isCentered = props.isCentered,
12778
- isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
12779
- _props$noMargin = props.noMargin,
12780
- noMargin = _props$noMargin === void 0 ? false : _props$noMargin,
12781
- notificationContent = props.notificationContent,
12782
- notificationHeading = props.notificationHeading,
12783
- _props$notificationTy = props.notificationType,
12784
- notificationType = _props$notificationTy === void 0 ? "standard" : _props$notificationTy,
12785
- _props$showIcon = props.showIcon,
12786
- showIcon = _props$showIcon === void 0 ? true : _props$showIcon,
12787
- rest = _objectWithoutPropertiesLoose(props, _excluded3$3);
12788
- var _useState = React.useState(true),
12789
- isOpen = _useState[0],
12790
- setIsOpen = _useState[1];
12791
- var handleClose = function handleClose() {
12792
- return setIsOpen(false);
12793
- };
12794
- var styles = react.useMultiStyleConfig("Notification", {
12795
- dismissible: dismissible,
12796
- isCentered: isCentered,
12797
- noMargin: noMargin,
12798
- notificationType: notificationType
12799
- });
12800
- var iconElement = function iconElement() {
12801
- var baseIconProps = {
12802
- size: "large",
12803
- __css: styles.icon
12804
- };
12805
- // If the icon should not display, return undefined.
12806
- if (!showIcon) {
12807
- return undefined;
13206
+ return gaUtils.trackEvent("Donate", "Mobile Buttons Donate");
12808
13207
  }
12809
- // If a custom icon is passed, add specific `Notification` styles.
12810
- if (icon) return React__default.cloneElement(icon, _extends({
12811
- id: id + "-custom-notification-icon"
12812
- }, baseIconProps));
12813
- var iconProps = {
12814
- announcement: {
12815
- color: "section.research.secondary",
12816
- name: "speakerNotes",
12817
- title: "Notification announcement icon"
12818
- },
12819
- standard: {
12820
- color: "ui.black",
12821
- name: "alertNotificationImportant",
12822
- title: "Notification standard icon"
12823
- },
12824
- warning: {
12825
- color: "brand.primary",
12826
- name: "errorFilled",
12827
- title: "Notification warning icon"
12828
- }
12829
- };
12830
- return React__default.createElement(Icon, Object.assign({
12831
- id: id + "-notification-icon"
12832
- }, iconProps[notificationType], baseIconProps));
12833
- };
12834
- var dismissibleButton = dismissible && React__default.createElement(Button, {
12835
- "aria-label": "Close the notification",
13208
+ }, upperNavLinks.donate.text.toUpperCase())));
13209
+ });
13210
+
13211
+ /**
13212
+ * This is the button that will render the navigational list of links
13213
+ * when it is clicked and keep focus trapped within the menu.
13214
+ */
13215
+ var HeaderMobileNavButton$1 = /*#__PURE__*/react.chakra(function () {
13216
+ var _useState = React.useState(false),
13217
+ isOpen = _useState[0],
13218
+ setIsOpen = _useState[1];
13219
+ var styles = react.useStyleConfig("HeaderMobileNavButton", {
13220
+ isOpen: isOpen
13221
+ });
13222
+ var ref = React.useRef(null);
13223
+ useCloseDropDown(setIsOpen, ref);
13224
+ return React__default.createElement(react.Box, {
13225
+ ref: ref
13226
+ }, React__default.createElement(FocusLock, {
13227
+ isDisabled: !isOpen
13228
+ }, React__default.createElement(Button, {
13229
+ "aria-haspopup": "true",
13230
+ "aria-label": isOpen ? "Close Navigation" : "Open Navigation",
13231
+ "aria-expanded": isOpen ? true : null,
12836
13232
  buttonType: "text",
12837
- id: id + "-notification-dismissible-button",
12838
- onClick: handleClose,
12839
- __css: styles.dismissibleButton
13233
+ id: "mobileNav-btn",
13234
+ onClick: function onClick() {
13235
+ gaUtils.trackEvent("Click", "Mobile mobileMenu");
13236
+ setIsOpen(!isOpen);
13237
+ },
13238
+ __css: styles
12840
13239
  }, React__default.createElement(Icon, {
12841
- id: id + "-dismissible-notification-icon",
12842
- name: "close",
13240
+ name: isOpen ? "close" : "utilityHamburger",
13241
+ size: "large"
13242
+ })), isOpen && React__default.createElement(HeaderMobileNav$1, null)));
13243
+ });
13244
+
13245
+ /**
13246
+ * This component renders the mobile list of icon buttons for
13247
+ * logging in, searching, and navigating on NYPL.org.
13248
+ */
13249
+ var HeaderMobileIconNav$1 = /*#__PURE__*/react.chakra(function () {
13250
+ var styles = react.useStyleConfig("HeaderMobileIconNav");
13251
+ return React__default.createElement(react.Flex, {
13252
+ sx: styles
13253
+ }, React__default.createElement(HeaderLoginButton$1, {
13254
+ isMobile: true
13255
+ }), React__default.createElement(Link, {
13256
+ "aria-label": "NYPL Locations Near Me",
13257
+ href: "https://nypl.org/locations",
13258
+ onClick: function onClick() {
13259
+ return gaUtils.trackEvent("Click", "Mobile Locations Button");
13260
+ }
13261
+ }, React__default.createElement(Icon, {
13262
+ name: "locator",
12843
13263
  size: "large",
12844
- title: "Notification close icon"
12845
- }));
12846
- var iconElem = iconElement();
12847
- var childHeading = notificationHeading && React__default.createElement(NotificationHeading$1, {
12848
- icon: iconElem,
12849
- id: id,
12850
- isCentered: isCentered,
12851
- notificationType: notificationType
12852
- }, notificationHeading);
12853
- // Specific alignment styles for the content.
12854
- var alignText = !!(childHeading && showIcon && (!!icon || !isCentered));
12855
- var childContent = React__default.createElement(NotificationContent$1, {
12856
- alignText: alignText,
12857
- icon: !childHeading ? iconElem : undefined,
12858
- notificationType: notificationType
12859
- }, notificationContent);
12860
- // If the `Notification` is closed, don't render anything.
12861
- if (!isOpen) {
12862
- return null;
12863
- }
12864
- return React__default.createElement(react.Box, Object.assign({
12865
- "aria-label": ariaLabel,
12866
- as: "aside",
12867
- className: className,
12868
- "data-type": notificationType,
12869
- id: id,
12870
- ref: ref,
12871
- __css: styles
12872
- }, rest), React__default.createElement(react.Box, {
12873
- __css: styles.container
12874
- }, childHeading, childContent), dismissibleButton);
12875
- }));
13264
+ title: "NYPL Locator"
13265
+ })), React__default.createElement(HeaderSearchButton$1, {
13266
+ isMobile: true
13267
+ }), React__default.createElement(HeaderMobileNavButton$1, null));
13268
+ });
12876
13269
 
12877
13270
  /**
12878
13271
  * The HeaderSitewideAlerts component makes an API request to an NYPL API
@@ -13199,7 +13592,7 @@ var Header$1 = /*#__PURE__*/react.chakra(function (_ref) {
13199
13592
  }))));
13200
13593
  });
13201
13594
 
13202
- var _excluded$22 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
13595
+ var _excluded$23 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
13203
13596
  // Only used for internal purposes.
13204
13597
  var heroSecondaryTypes = ["secondary", "secondaryBooksAndMore", "secondaryLocations", "secondaryResearch", "secondaryWhatsOn"];
13205
13598
  var Hero$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -13215,7 +13608,7 @@ var Hero$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
13215
13608
  } : _props$imageProps,
13216
13609
  locationDetails = props.locationDetails,
13217
13610
  subHeaderText = props.subHeaderText,
13218
- rest = _objectWithoutPropertiesLoose(props, _excluded$22);
13611
+ rest = _objectWithoutPropertiesLoose(props, _excluded$23);
13219
13612
  var styles = react.useMultiStyleConfig("Hero", {
13220
13613
  variant: heroType
13221
13614
  });
@@ -13304,7 +13697,7 @@ var Hero$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
13304
13697
  }
13305
13698
  });
13306
13699
 
13307
- var _excluded$23 = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
13700
+ var _excluded$24 = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
13308
13701
  _excluded2$6 = ["buttonText", "id", "modalProps"],
13309
13702
  _excluded3$4 = ["bodyContent", "closeButtonLabel", "headingText", "id"];
13310
13703
  var BaseModal = /*#__PURE__*/react.chakra(function (_ref) {
@@ -13315,7 +13708,7 @@ var BaseModal = /*#__PURE__*/react.chakra(function (_ref) {
13315
13708
  id = _ref.id,
13316
13709
  isOpen = _ref.isOpen,
13317
13710
  onClose = _ref.onClose,
13318
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$23);
13711
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$24);
13319
13712
  var xlarge = "xl";
13320
13713
  var fullSize = "full";
13321
13714
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
@@ -13396,7 +13789,7 @@ function useModal() {
13396
13789
  };
13397
13790
  }
13398
13791
 
13399
- var _excluded$24 = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
13792
+ var _excluded$25 = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
13400
13793
  /**
13401
13794
  * A component that provides a navigational list of page items.
13402
13795
  */
@@ -13409,7 +13802,7 @@ var Pagination$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(func
13409
13802
  initialPage = _props$initialPage === void 0 ? 1 : _props$initialPage,
13410
13803
  onPageChange = props.onPageChange,
13411
13804
  pageCount = props.pageCount,
13412
- rest = _objectWithoutPropertiesLoose(props, _excluded$24);
13805
+ rest = _objectWithoutPropertiesLoose(props, _excluded$25);
13413
13806
  var refCurrentPage = React.useRef(currentPage);
13414
13807
  var _useState = React.useState(initialPage),
13415
13808
  selectedPage = _useState[0],
@@ -13599,7 +13992,7 @@ var Pagination$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(func
13599
13992
  }, previousLiLink, getPaginationNumbers(selectedPage), nextLiLink));
13600
13993
  }));
13601
13994
 
13602
- var _excluded$25 = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
13995
+ var _excluded$26 = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
13603
13996
  /**
13604
13997
  * A component that displays a progress status for any task that takes a long
13605
13998
  * time to complete or consists of multiple steps. Examples include downloading,
@@ -13620,7 +14013,7 @@ var ProgressIndicator$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardR
13620
14013
  size = _props$size === void 0 ? "default" : _props$size,
13621
14014
  _props$value = props.value,
13622
14015
  value = _props$value === void 0 ? 0 : _props$value,
13623
- rest = _objectWithoutPropertiesLoose(props, _excluded$25);
14016
+ rest = _objectWithoutPropertiesLoose(props, _excluded$26);
13624
14017
  var styles = react.useMultiStyleConfig("ProgressIndicator", {
13625
14018
  darkMode: darkMode,
13626
14019
  size: size
@@ -13679,7 +14072,7 @@ var ProgressIndicator$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardR
13679
14072
  }, rest), progressComponent(indicatorType));
13680
14073
  }));
13681
14074
 
13682
- var _excluded$26 = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
14075
+ var _excluded$27 = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
13683
14076
  /**
13684
14077
  * Component that renders Chakra's `Select` component along with an accessible
13685
14078
  * `Label` and optional `HelperErrorText` component.
@@ -13712,7 +14105,7 @@ var Select$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
13712
14105
  showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
13713
14106
  _props$value = props.value,
13714
14107
  value = _props$value === void 0 ? "" : _props$value,
13715
- rest = _objectWithoutPropertiesLoose(props, _excluded$26);
14108
+ rest = _objectWithoutPropertiesLoose(props, _excluded$27);
13716
14109
  var _useState = React.useState(0),
13717
14110
  labelWidth = _useState[0],
13718
14111
  setLabelWidth = _useState[1];
@@ -13794,7 +14187,7 @@ var Select$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
13794
14187
  }), children)));
13795
14188
  }));
13796
14189
 
13797
- var _excluded$27 = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
14190
+ var _excluded$28 = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
13798
14191
  /**
13799
14192
  * Renders a wrapper `form` element to be used with `Select` (optional),
13800
14193
  * `Input`, and `Button` components together.
@@ -13822,7 +14215,7 @@ var SearchBar$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(funct
13822
14215
  selectProps = props.selectProps,
13823
14216
  textInputElement = props.textInputElement,
13824
14217
  textInputProps = props.textInputProps,
13825
- rest = _objectWithoutPropertiesLoose(props, _excluded$27);
14218
+ rest = _objectWithoutPropertiesLoose(props, _excluded$28);
13826
14219
  var styles = react.useMultiStyleConfig("SearchBar", {});
13827
14220
  var stateProps = {
13828
14221
  helperText: "",
@@ -13914,7 +14307,7 @@ var SearchBar$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(funct
13914
14307
  }, selectElem, textInputElem, buttonElem));
13915
14308
  }));
13916
14309
 
13917
- var _excluded$28 = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
14310
+ var _excluded$29 = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
13918
14311
  /**
13919
14312
  * The `SkeletonLoader` component renders a placeholder to be used while
13920
14313
  * dynamic content is loading.
@@ -13940,7 +14333,7 @@ var SkeletonLoader$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(
13940
14333
  _props$showImage = props.showImage,
13941
14334
  showImage = _props$showImage === void 0 ? true : _props$showImage,
13942
14335
  width = props.width,
13943
- rest = _objectWithoutPropertiesLoose(props, _excluded$28);
14336
+ rest = _objectWithoutPropertiesLoose(props, _excluded$29);
13944
14337
  var styles = react.useMultiStyleConfig("SkeletonLoader", {
13945
14338
  isBordered: isBordered,
13946
14339
  imageAspectRatio: imageAspectRatio,
@@ -13998,7 +14391,7 @@ var SkeletonLoader$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(
13998
14391
  })))));
13999
14392
  }));
14000
14393
 
14001
- var _excluded$29 = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
14394
+ var _excluded$2a = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
14002
14395
  /**
14003
14396
  * The `Slider` component renders a singular value slider or a range slider
14004
14397
  * with a min and max value. The value(s) can be updated through the slider
@@ -14039,7 +14432,7 @@ var Slider = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
14039
14432
  _props$step = props.step,
14040
14433
  step = _props$step === void 0 ? 1 : _props$step,
14041
14434
  value = props.value,
14042
- rest = _objectWithoutPropertiesLoose(props, _excluded$29);
14435
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2a);
14043
14436
  if (!id) {
14044
14437
  console.warn("NYPL Reservoir Slider: This component's required `id` prop was not passed.");
14045
14438
  }
@@ -14230,7 +14623,7 @@ var Slider = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
14230
14623
  }, max), showBoxes && getTextInput("end")));
14231
14624
  }));
14232
14625
 
14233
- var _excluded$2a = ["children", "className", "id", "level"];
14626
+ var _excluded$2b = ["children", "className", "id", "level"];
14234
14627
  /**
14235
14628
  * The `StatusBadge` component is used to display a visual badge for three
14236
14629
  * different status levels.
@@ -14241,7 +14634,7 @@ var StatusBadge$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
14241
14634
  id = props.id,
14242
14635
  _props$level = props.level,
14243
14636
  level = _props$level === void 0 ? "low" : _props$level,
14244
- rest = _objectWithoutPropertiesLoose(props, _excluded$2a);
14637
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
14245
14638
  var styles = react.useStyleConfig("StatusBadge", {
14246
14639
  variant: level
14247
14640
  });
@@ -14256,7 +14649,7 @@ var StatusBadge$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
14256
14649
  }, rest), children);
14257
14650
  }));
14258
14651
 
14259
- var _excluded$2b = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
14652
+ var _excluded$2c = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
14260
14653
  /**
14261
14654
  * Internal component used in the `StructuredContent` component
14262
14655
  * that renders the DS `Image` component.
@@ -14306,7 +14699,7 @@ var StructuredContent$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardR
14306
14699
  src: ""
14307
14700
  } : _props$imageProps,
14308
14701
  bodyContent = props.bodyContent,
14309
- rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
14702
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14310
14703
  var hasImage = imageProps.src || imageProps.component;
14311
14704
  var hasFigureImage = imageProps.caption || imageProps.credit;
14312
14705
  var styles = react.useMultiStyleConfig("StructuredContent", {
@@ -14350,6 +14743,47 @@ var StructuredContent$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardR
14350
14743
  }), finalBodyContent);
14351
14744
  }));
14352
14745
 
14746
+ /**
14747
+ * The `StyledList` component renders an HTML list with styles that do not
14748
+ * adhere to traditional numbered and bulleted list styles. Unlike
14749
+ * the `List` component, `StyledList` only renders an unordered list.
14750
+ */
14751
+ var StyledList$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
14752
+ var children = props.children,
14753
+ className = props.className,
14754
+ id = props.id,
14755
+ _props$listItems = props.listItems,
14756
+ listItems = _props$listItems === void 0 ? [] : _props$listItems,
14757
+ _props$style = props.style,
14758
+ style = _props$style === void 0 ? "capped" : _props$style,
14759
+ _props$textSize = props.textSize,
14760
+ textSize = _props$textSize === void 0 ? "default" : _props$textSize;
14761
+ var styles = react.useMultiStyleConfig("StyledList", {
14762
+ textSize: textSize,
14763
+ variant: style
14764
+ });
14765
+ var finalChildren;
14766
+ if (children && listItems.length > 0) {
14767
+ console.warn("NYPL Reservoir StyledList: Pass in either `<li>` children or use the " + "`listItems` data prop. Do not use both.");
14768
+ return null;
14769
+ }
14770
+ // Makes sure that the passed children elements are `li` elements but
14771
+ // it is not enforced. Only a warning is logged to the console.
14772
+ checkListChildrenError(children, "ul", "StyledList");
14773
+ finalChildren = children || listItems.map(function (item, i) {
14774
+ return React__default.createElement("li", {
14775
+ key: i
14776
+ }, item);
14777
+ });
14778
+ return React__default.createElement(react.Box, {
14779
+ as: "ul",
14780
+ className: className,
14781
+ id: id,
14782
+ ref: ref,
14783
+ __css: styles
14784
+ }, finalChildren);
14785
+ }));
14786
+
14353
14787
  /**
14354
14788
  * Custom hook that controls the sliding function for the carousel wrapper.
14355
14789
  * This returns functions to use for the "previous" and "next" buttons as well
@@ -14398,7 +14832,7 @@ var useCarouselStyles = function useCarouselStyles(slidesCount, slideWidth) {
14398
14832
  };
14399
14833
  };
14400
14834
 
14401
- var _excluded$2c = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
14835
+ var _excluded$2d = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
14402
14836
  /**
14403
14837
  * An internal function used to update the hash in the URL.
14404
14838
  * This function is only used when `useHash` is `true`.
@@ -14500,7 +14934,7 @@ var Tabs = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (pr
14500
14934
  tabsData = props.tabsData,
14501
14935
  _props$useHash = props.useHash,
14502
14936
  useHash = _props$useHash === void 0 ? false : _props$useHash,
14503
- rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14937
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
14504
14938
  var styles = react.useMultiStyleConfig("Tabs", {});
14505
14939
  // Just an estimate of the tab width for the mobile carousel.
14506
14940
  var initTabWidth = 65;
@@ -14580,13 +15014,13 @@ var Tabs = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (pr
14580
15014
  }, React__default.createElement(react.Box, Object.assign({}, carouselStyle), tabs)), nextButton), panels);
14581
15015
  }));
14582
15016
 
14583
- var _excluded$2d = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
15017
+ var _excluded$2e = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
14584
15018
  var Tooltip$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
14585
15019
  var children = props.children,
14586
15020
  content = props.content,
14587
15021
  isDisabled = props.isDisabled,
14588
15022
  shouldWrapChildren = props.shouldWrapChildren,
14589
- rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
15023
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
14590
15024
  if (typeof content !== "string" && typeof content !== "number") {
14591
15025
  React__default.Children.map(content, function (contentChild) {
14592
15026
  if (contentChild.type !== Icon || contentChild.type !== Image) {
@@ -14711,7 +15145,7 @@ var TagSetFilter$1 = /*#__PURE__*/react.chakra(function (props) {
14711
15145
  }, "Clear Filters") : null);
14712
15146
  });
14713
15147
 
14714
- var _excluded$2e = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
15148
+ var _excluded$2f = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
14715
15149
  // Type guard so we can make sure we have a "filter" `TagSet` variant.
14716
15150
  function isFilterType(type) {
14717
15151
  return type === "filter";
@@ -14755,7 +15189,7 @@ var TagSet$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
14755
15189
  tagSetData = _props$tagSetData === void 0 ? [] : _props$tagSetData,
14756
15190
  _props$type = props.type,
14757
15191
  type = _props$type === void 0 ? "filter" : _props$type,
14758
- rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
15192
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
14759
15193
  var styles = react.useStyleConfig("TagSet", {});
14760
15194
  if (!isFilterType(type)) {
14761
15195
  if (isDismissible) {
@@ -14783,7 +15217,7 @@ var TagSet$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
14783
15217
  }));
14784
15218
  }));
14785
15219
 
14786
- var _excluded$2f = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
15220
+ var _excluded$2g = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
14787
15221
  /**
14788
15222
  * The main top-level parent component that wraps all template-related
14789
15223
  * components.
@@ -15006,7 +15440,7 @@ var TemplateAppContainer = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forward
15006
15440
  renderHeaderElement = _props$renderHeaderEl === void 0 ? true : _props$renderHeaderEl,
15007
15441
  _props$renderSkipNavi = props.renderSkipNavigation,
15008
15442
  renderSkipNavigation = _props$renderSkipNavi === void 0 ? false : _props$renderSkipNavi,
15009
- rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
15443
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
15010
15444
  var aboveHeaderElem = aboveHeader && React__default.createElement(TemplateAboveHeader, null, aboveHeader);
15011
15445
  var contentTopElem = contentTop && React__default.createElement(TemplateContentTop, null, contentTop);
15012
15446
  var contentPrimaryElem = contentPrimary && React__default.createElement(TemplateContentPrimary$1, null, contentPrimary);
@@ -15024,7 +15458,7 @@ var TemplateAppContainer = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forward
15024
15458
  }, footer)));
15025
15459
  }));
15026
15460
 
15027
- var _excluded$2g = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
15461
+ var _excluded$2h = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
15028
15462
  var onChangeDefault = function onChangeDefault() {
15029
15463
  return;
15030
15464
  };
@@ -15050,7 +15484,7 @@ var Toggle$2 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
15050
15484
  onChange = _props$onChange === void 0 ? onChangeDefault : _props$onChange,
15051
15485
  _props$size = props.size,
15052
15486
  size = _props$size === void 0 ? "default" : _props$size,
15053
- rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
15487
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
15054
15488
  var styles = react.useMultiStyleConfig("Toggle", {
15055
15489
  isDisabled: isDisabled,
15056
15490
  size: size
@@ -15096,7 +15530,97 @@ var Toggle$2 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
15096
15530
  }), labelText)));
15097
15531
  }));
15098
15532
 
15099
- var _excluded$2h = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
15533
+ /**
15534
+ * A custom hook that returns the Chakra-based NYPL theme object. This must be
15535
+ * used inside a component that is wrapped in the `DSProvider` component, so
15536
+ * that the theme object can be available to use.
15537
+ */
15538
+ function useNYPLTheme() {
15539
+ var theme = react.useTheme();
15540
+ if (!theme || Object.keys(theme).length === 0) {
15541
+ console.warn("NYPL Reservoir useNYPLTheme: hook must be used inside of `<DSProvider />`.");
15542
+ return {};
15543
+ }
15544
+ // Chakra provides a lot of their own styles but
15545
+ // only NYPL styles should be exported.
15546
+ return {
15547
+ // base, sm, md, lg, xl, 2xl
15548
+ breakpoints: theme.breakpoints,
15549
+ colors: {
15550
+ // primary, secondary
15551
+ brand: theme.colors.brand,
15552
+ // dark mode colors:
15553
+ // ui.disabled, ui.error, ui.focus, ui.link,
15554
+ // ui.status, ui.success, ui.test, ui.warning,
15555
+ // ui.bg, ui.border, ui.typography
15556
+ dark: theme.colors.dark,
15557
+ // blogs, books-and-more, education, locations,
15558
+ // research, research-library, whats-on
15559
+ section: theme.colors.section,
15560
+ transparent: theme.colors.transparent,
15561
+ // black, white, gray, disabled, error, focus, link,
15562
+ // status, success, test, warning, bg, border, typography
15563
+ ui: theme.colors.ui
15564
+ },
15565
+ fontSizes: {
15566
+ "-3": theme.fontSizes["-3"],
15567
+ "-2": theme.fontSizes["-2"],
15568
+ "-1": theme.fontSizes["-1"],
15569
+ "0": theme.fontSizes["0"],
15570
+ "1": theme.fontSizes["1"],
15571
+ "2": theme.fontSizes["2"],
15572
+ "3": theme.fontSizes["3"],
15573
+ "4": theme.fontSizes["4"],
15574
+ // default
15575
+ breadcrumbs: theme.fontSizes.breadcrumbs,
15576
+ // default
15577
+ button: theme.fontSizes.button,
15578
+ // primary, secondary, tertiary, callout
15579
+ heading: theme.fontSizes.heading,
15580
+ // default
15581
+ helper: theme.fontSizes.helper,
15582
+ // default, secondary
15583
+ label: theme.fontSizes.label,
15584
+ // default, caption, tag, mini
15585
+ text: theme.fontSizes.text
15586
+ },
15587
+ fontWeights: {
15588
+ light: theme.fontWeights.light,
15589
+ regular: theme.fontWeights.regular,
15590
+ medium: theme.fontWeights.medium,
15591
+ bold: theme.fontWeights.bold,
15592
+ // default, lastChild
15593
+ breadcrumbs: theme.fontWeights.breadcrumbs,
15594
+ // default
15595
+ button: theme.fontWeights.button,
15596
+ // primary, secondary, tertiary, callout
15597
+ heading: theme.fontWeights.heading,
15598
+ // default
15599
+ helper: theme.fontWeights.helper,
15600
+ // default
15601
+ label: theme.fontWeights.label,
15602
+ // default, caption, tag, mini
15603
+ text: theme.fontWeights.text
15604
+ },
15605
+ fonts: {
15606
+ body: theme.fonts.body,
15607
+ heading: theme.fonts.heading
15608
+ },
15609
+ radii: theme.radii,
15610
+ space: {
15611
+ xxs: theme.space.xxs,
15612
+ xs: theme.space.xs,
15613
+ s: theme.space.s,
15614
+ m: theme.space.m,
15615
+ l: theme.space.l,
15616
+ xl: theme.space.xl,
15617
+ xxl: theme.space.xxl,
15618
+ xxxl: theme.space.xxxl
15619
+ }
15620
+ };
15621
+ }
15622
+
15623
+ var _excluded$2i = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
15100
15624
  var VideoPlayer$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
15101
15625
  var aspectRatio = props.aspectRatio,
15102
15626
  className = props.className,
@@ -15110,7 +15634,7 @@ var VideoPlayer$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
15110
15634
  showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
15111
15635
  videoId = props.videoId,
15112
15636
  videoType = props.videoType,
15113
- rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
15637
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2i);
15114
15638
  var iframeTitleFinal = videoType === "vimeo" ? iframeTitle || "Vimeo video player" : iframeTitle || "YouTube video player";
15115
15639
  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";
15116
15640
  var iFrameTitleEmbedCode = iframeTitle ? "" + iframeTitle : "Video player";
@@ -15310,6 +15834,7 @@ exports.CheckboxGroup = CheckboxGroup;
15310
15834
  exports.ColorCard = ColorCard;
15311
15835
  exports.DSProvider = DSProvider;
15312
15836
  exports.DatePicker = DatePicker;
15837
+ exports.FeedbackBox = FeedbackBox$1;
15313
15838
  exports.Fieldset = Fieldset;
15314
15839
  exports.Footer = Footer$1;
15315
15840
  exports.Form = Form;
@@ -15340,6 +15865,7 @@ exports.SkipNavigation = SkipNavigation$1;
15340
15865
  exports.Slider = Slider;
15341
15866
  exports.StatusBadge = StatusBadge$1;
15342
15867
  exports.StructuredContent = StructuredContent$1;
15868
+ exports.StyledList = StyledList$1;
15343
15869
  exports.Table = Table;
15344
15870
  exports.Tabs = Tabs;
15345
15871
  exports.TagSet = TagSet$1;
@@ -15359,6 +15885,7 @@ exports.Toggle = Toggle$2;
15359
15885
  exports.Tooltip = Tooltip$1;
15360
15886
  exports.VideoPlayer = VideoPlayer$1;
15361
15887
  exports.useCarouselStyles = useCarouselStyles;
15888
+ exports.useFeedbackBox = useFeedbackBox;
15362
15889
  exports.useModal = useModal;
15363
15890
  exports.useNYPLBreakpoints = useNYPLBreakpoints;
15364
15891
  exports.useNYPLTheme = useNYPLTheme;