design-comuni-plone-theme 8.3.2 → 8.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/locales/de/LC_MESSAGES/volto.po +31 -16
- package/locales/en/LC_MESSAGES/volto.po +36 -21
- package/locales/es/LC_MESSAGES/volto.po +31 -16
- package/locales/fr/LC_MESSAGES/volto.po +31 -16
- package/locales/it/LC_MESSAGES/volto.po +32 -17
- package/locales/volto.pot +32 -17
- package/package.json +1 -1
- package/publiccode.yml +2 -2
- package/src/components/Image/helpers.js +2 -1
- package/src/components/ItaliaTheme/Blocks/Listing/Commons/utils.js +63 -0
- package/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx +235 -65
- package/src/components/ItaliaTheme/Breadcrumbs/Breadcrumbs.jsx +2 -2
- package/src/components/ItaliaTheme/CustomerSatisfaction/FeedbackForm.jsx +11 -7
- package/src/components/ItaliaTheme/Footer/FooterPNRRLogo.jsx +2 -2
- package/src/components/ItaliaTheme/Footer/logo-eu-inverted.svg +1 -17
- package/src/components/ItaliaTheme/Header/HeaderSearch/SearchModal.jsx +38 -11
- package/src/components/ItaliaTheme/Search/Search.jsx +7 -3
- package/src/components/ItaliaTheme/Search/utils.js +5 -3
- package/src/components/ItaliaTheme/Unauthorized/Unauthorized.jsx +3 -1
- package/src/components/ItaliaTheme/View/PersonaView/PersonaRuolo.jsx +108 -8
- package/src/components/ItaliaTheme/manage/Widgets/SubFooterConfigurationForm.jsx +1 -0
- package/src/customizations/volto/components/manage/Blocks/ToC/View.jsx +2 -0
- package/src/customizations/volto/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx +99 -0
- package/src/customizations/volto/components/theme/Breadcrumbs/Breadcrumbs.jsx +3 -3
- package/src/customizations/volto/components/theme/View/View.jsx +308 -0
- package/src/customizations/volto/helpers/Api/Api.jsx +131 -0
- package/src/customizations/volto/middleware/api.js +362 -0
- package/src/customizations/volto/middleware/blacklistRoutes.js +47 -0
- package/src/theme/ItaliaTheme/Blocks/_imageBlock.scss +4 -0
- package/src/theme/ItaliaTheme/Blocks/_sliderTemplate.scss +18 -4
- package/src/theme/ItaliaTheme/Components/_search.scss +6 -0
- package/src/theme/ItaliaTheme/_common.scss +15 -0
- package/src/theme/ItaliaTheme/_css_variables.scss +3 -0
- package/src/theme/_cms-ui.scss +9 -0
- package/src/theme/bootstrap-override/bootstrap-italia/_footer.scss +3 -3
- package/src/theme/extras/_search.scss +31 -0
- package/src/theme/site.scss +1 -0
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import 'slick-carousel/slick/slick.css';
|
|
2
2
|
import 'design-comuni-plone-theme/components/slick-carousel/slick/slick-theme.css';
|
|
3
|
-
|
|
4
3
|
import { Col, Container, Row } from 'design-react-kit';
|
|
5
4
|
import {
|
|
6
5
|
Icon,
|
|
7
6
|
ListingImage,
|
|
8
7
|
ListingLinkMore,
|
|
9
|
-
NextArrow,
|
|
10
|
-
PrevArrow,
|
|
11
8
|
} from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
import {
|
|
10
|
+
useSlider,
|
|
11
|
+
visibleSlideTitle,
|
|
12
|
+
} from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Listing/Commons/utils';
|
|
13
|
+
import React, { useState } from 'react';
|
|
16
14
|
import { defineMessages, useIntl } from 'react-intl';
|
|
17
|
-
|
|
18
15
|
import PropTypes from 'prop-types';
|
|
19
16
|
import { UniversalLink } from '@plone/volto/components';
|
|
20
17
|
import cx from 'classnames';
|
|
@@ -22,25 +19,185 @@ import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
|
|
|
22
19
|
|
|
23
20
|
const messages = defineMessages({
|
|
24
21
|
viewImage: {
|
|
25
|
-
id:
|
|
26
|
-
defaultMessage:
|
|
22
|
+
id: 'viewImage',
|
|
23
|
+
defaultMessage:
|
|
24
|
+
'Sei attualmente in un carosello, per navigare usa le frecce sinistra e destra',
|
|
27
25
|
},
|
|
28
26
|
play: {
|
|
29
27
|
id: 'Play slider',
|
|
30
|
-
defaultMessage: '
|
|
28
|
+
defaultMessage: 'Seleziona per riprodurre',
|
|
31
29
|
},
|
|
32
30
|
pause: {
|
|
33
31
|
id: 'Pause slider',
|
|
34
|
-
defaultMessage: '
|
|
32
|
+
defaultMessage: 'Seleziona per mettere in pausa',
|
|
33
|
+
},
|
|
34
|
+
precedente: {
|
|
35
|
+
id: 'precedente',
|
|
36
|
+
defaultMessage: 'Precedente',
|
|
37
|
+
},
|
|
38
|
+
successivo: {
|
|
39
|
+
id: 'successivo',
|
|
40
|
+
defaultMessage: 'Successivo',
|
|
41
|
+
},
|
|
42
|
+
dots: {
|
|
43
|
+
id: 'dots',
|
|
44
|
+
defaultMessage: 'Navigazione elementi slider',
|
|
45
|
+
},
|
|
46
|
+
slideDot: {
|
|
47
|
+
id: 'slideDot',
|
|
48
|
+
defaultMessage: 'Vai alla slide {index}',
|
|
35
49
|
},
|
|
36
50
|
});
|
|
37
51
|
|
|
52
|
+
function NextArrow(props) {
|
|
53
|
+
// Custom handling of focus as per Arter a11y audit and request
|
|
54
|
+
const { className, style, onClick, intl, currentSlide } = props;
|
|
55
|
+
const handleClick = (options) => {
|
|
56
|
+
onClick(options, false);
|
|
57
|
+
};
|
|
58
|
+
const handleKeyboardUsers = (e) => {
|
|
59
|
+
if (e.key === 'Tab' && e.shiftKey) {
|
|
60
|
+
e.stopPropagation();
|
|
61
|
+
e.preventDefault();
|
|
62
|
+
|
|
63
|
+
const link = visibleSlideTitle(
|
|
64
|
+
`a.slide-link[data-slide="${currentSlide}"]`,
|
|
65
|
+
);
|
|
66
|
+
link && link.focus();
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
return (
|
|
71
|
+
<button
|
|
72
|
+
className={className}
|
|
73
|
+
style={{ ...style }}
|
|
74
|
+
onClick={handleClick}
|
|
75
|
+
title={intl.formatMessage(messages.successivo)}
|
|
76
|
+
aria-label={intl.formatMessage(messages.successivo)}
|
|
77
|
+
aria-hidden={true}
|
|
78
|
+
onKeyDown={handleKeyboardUsers}
|
|
79
|
+
id="sliderNextArrow"
|
|
80
|
+
>
|
|
81
|
+
<Icon icon="chevron-right" key="chevron-right" />
|
|
82
|
+
<span class="sr-only">{intl.formatMessage(messages.successivo)}</span>
|
|
83
|
+
</button>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function PrevArrow(props) {
|
|
88
|
+
// Custom handling of focus as per Arter a11y audit and request
|
|
89
|
+
const {
|
|
90
|
+
className,
|
|
91
|
+
style,
|
|
92
|
+
onClick,
|
|
93
|
+
intl,
|
|
94
|
+
focusNext,
|
|
95
|
+
currentSlide,
|
|
96
|
+
slideCount,
|
|
97
|
+
} = props;
|
|
98
|
+
const handleClick = (options) => {
|
|
99
|
+
onClick(options, false);
|
|
100
|
+
};
|
|
101
|
+
const handleKeyboardUsers = (e) => {
|
|
102
|
+
if (e.key === 'Tab' && !e.shiftKey) {
|
|
103
|
+
e.stopPropagation();
|
|
104
|
+
e.preventDefault();
|
|
105
|
+
if (currentSlide < slideCount) {
|
|
106
|
+
const link = visibleSlideTitle(
|
|
107
|
+
`a.slide-link[data-slide="${currentSlide}"]`,
|
|
108
|
+
);
|
|
109
|
+
link && link.focus();
|
|
110
|
+
} else focusNext(0);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
return (
|
|
114
|
+
<button
|
|
115
|
+
className={className}
|
|
116
|
+
style={{ ...style }}
|
|
117
|
+
onClick={handleClick}
|
|
118
|
+
title={intl.formatMessage(messages.precedente)}
|
|
119
|
+
aria-label={intl.formatMessage(messages.precedente)}
|
|
120
|
+
aria-hidden={true}
|
|
121
|
+
id="sliderPrevArrow"
|
|
122
|
+
onKeyDown={handleKeyboardUsers}
|
|
123
|
+
>
|
|
124
|
+
<Icon icon="chevron-left" key="chevron-left-prev" />
|
|
125
|
+
<span class="sr-only">{intl.formatMessage(messages.precedente)}</span>
|
|
126
|
+
</button>
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
const Slide = ({
|
|
131
|
+
item,
|
|
132
|
+
index,
|
|
133
|
+
image,
|
|
134
|
+
show_image_title,
|
|
135
|
+
full_width,
|
|
136
|
+
intl,
|
|
137
|
+
setUserAutoplay,
|
|
138
|
+
userAutoplay,
|
|
139
|
+
slider,
|
|
140
|
+
}) => {
|
|
141
|
+
const handleKeyboardUsers = (e) => {
|
|
142
|
+
const { key, shiftKey } = e;
|
|
143
|
+
if (key === 'Tab') {
|
|
144
|
+
e.stopPropagation();
|
|
145
|
+
e.preventDefault();
|
|
146
|
+
// Keeping auto pause off for now
|
|
147
|
+
// if (userAutoplay) setUserAutoplay(false);
|
|
148
|
+
// slider.current.slickPause();
|
|
149
|
+
let elementToFocus;
|
|
150
|
+
if (shiftKey) {
|
|
151
|
+
elementToFocus = document.getElementById('sliderPrevArrow');
|
|
152
|
+
} else elementToFocus = document.getElementById('sliderNextArrow');
|
|
153
|
+
elementToFocus.focus();
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
return (
|
|
158
|
+
<div
|
|
159
|
+
className="it-single-slide-wrapper"
|
|
160
|
+
key={item['@id'] + index}
|
|
161
|
+
data-slide={index}
|
|
162
|
+
>
|
|
163
|
+
<div className="slide-wrapper">
|
|
164
|
+
{image ? (
|
|
165
|
+
<figure className="img-wrapper">{image}</figure>
|
|
166
|
+
) : (
|
|
167
|
+
<div className="img-placeholder"></div>
|
|
168
|
+
)}
|
|
169
|
+
{show_image_title && (
|
|
170
|
+
<div className="slide-title">
|
|
171
|
+
<UniversalLink
|
|
172
|
+
item={item}
|
|
173
|
+
title={intl.formatMessage(messages.viewImage)}
|
|
174
|
+
tabIndex={0}
|
|
175
|
+
data-slide={index}
|
|
176
|
+
className={'slide-link no-external-if-link'}
|
|
177
|
+
onKeyDown={handleKeyboardUsers}
|
|
178
|
+
>
|
|
179
|
+
{full_width ? (
|
|
180
|
+
<Container>
|
|
181
|
+
{item.title} <Icon icon="arrow-right" key="arrow-right-fw" />
|
|
182
|
+
</Container>
|
|
183
|
+
) : (
|
|
184
|
+
<>
|
|
185
|
+
{item.title} <Icon icon="arrow-right" key="arrow-right" />
|
|
186
|
+
</>
|
|
187
|
+
)}
|
|
188
|
+
</UniversalLink>
|
|
189
|
+
</div>
|
|
190
|
+
)}
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
);
|
|
194
|
+
};
|
|
195
|
+
|
|
38
196
|
const SliderTemplate = ({
|
|
39
197
|
items,
|
|
40
198
|
title,
|
|
41
199
|
isEditMode,
|
|
42
200
|
show_block_bg,
|
|
43
|
-
linkAlign,
|
|
44
201
|
linkTitle,
|
|
45
202
|
linkHref,
|
|
46
203
|
slidesToShow = '1',
|
|
@@ -50,15 +207,12 @@ const SliderTemplate = ({
|
|
|
50
207
|
autoplay = false,
|
|
51
208
|
autoplay_speed = 2, //seconds
|
|
52
209
|
reactSlick,
|
|
53
|
-
titleLine,
|
|
54
|
-
linkmore_id_lighthouse,
|
|
55
210
|
}) => {
|
|
56
211
|
const intl = useIntl();
|
|
57
|
-
const slider = useRef(null);
|
|
58
212
|
const [userAutoplay, setUserAutoplay] = useState(autoplay);
|
|
59
213
|
const nSlidesToShow = parseInt(slidesToShow);
|
|
60
214
|
const Slider = reactSlick.default;
|
|
61
|
-
|
|
215
|
+
const { slider, focusNext } = useSlider(userAutoplay);
|
|
62
216
|
const toggleAutoplay = () => {
|
|
63
217
|
if (!slider?.current) return;
|
|
64
218
|
if (userAutoplay) {
|
|
@@ -70,6 +224,50 @@ const SliderTemplate = ({
|
|
|
70
224
|
}
|
|
71
225
|
};
|
|
72
226
|
|
|
227
|
+
const renderCustomDots = (props) => {
|
|
228
|
+
// Custom handling of focus as per Arter a11y audit and request
|
|
229
|
+
return (
|
|
230
|
+
<ul
|
|
231
|
+
className="slick-dots"
|
|
232
|
+
aria-label={intl.formatMessage(messages.dots)}
|
|
233
|
+
title={intl.formatMessage(messages.dots)}
|
|
234
|
+
>
|
|
235
|
+
{props.map((item, index) => {
|
|
236
|
+
const El = item.type;
|
|
237
|
+
const children = item.props.children;
|
|
238
|
+
// Justified assumption: children is an Object and not an Array here
|
|
239
|
+
const Child =
|
|
240
|
+
children.type ||
|
|
241
|
+
function () {
|
|
242
|
+
return null;
|
|
243
|
+
};
|
|
244
|
+
return (
|
|
245
|
+
<El
|
|
246
|
+
className={`${item.props.className} slick-dot`}
|
|
247
|
+
tabIndex={-1}
|
|
248
|
+
title={intl.formatMessage(messages.slideDot, {
|
|
249
|
+
index: index + 1,
|
|
250
|
+
})}
|
|
251
|
+
aria-hidden={true}
|
|
252
|
+
>
|
|
253
|
+
<Child
|
|
254
|
+
{...children.props}
|
|
255
|
+
tabIndex={-1}
|
|
256
|
+
style={{ padding: 0 }}
|
|
257
|
+
title={intl.formatMessage(messages.slideDot, {
|
|
258
|
+
index: index + 1,
|
|
259
|
+
})}
|
|
260
|
+
aria-label={intl.formatMessage(messages.slideDot, {
|
|
261
|
+
index: index + 1,
|
|
262
|
+
})}
|
|
263
|
+
/>
|
|
264
|
+
</El>
|
|
265
|
+
);
|
|
266
|
+
})}
|
|
267
|
+
</ul>
|
|
268
|
+
);
|
|
269
|
+
};
|
|
270
|
+
|
|
73
271
|
const settings = {
|
|
74
272
|
dots: show_dots,
|
|
75
273
|
infinite: true,
|
|
@@ -86,8 +284,11 @@ const SliderTemplate = ({
|
|
|
86
284
|
focusOnSelect: true,
|
|
87
285
|
draggable: true,
|
|
88
286
|
accessibility: true,
|
|
89
|
-
nextArrow: <NextArrow />,
|
|
90
|
-
prevArrow: <PrevArrow />,
|
|
287
|
+
nextArrow: <NextArrow intl={intl} focusNext={focusNext} />,
|
|
288
|
+
prevArrow: <PrevArrow intl={intl} focusNext={focusNext} />,
|
|
289
|
+
appendDots: renderCustomDots,
|
|
290
|
+
// Custom handling of focus as per Arter a11y audit and request
|
|
291
|
+
afterChange: focusNext,
|
|
91
292
|
responsive: [
|
|
92
293
|
{
|
|
93
294
|
breakpoint: 980,
|
|
@@ -99,7 +300,6 @@ const SliderTemplate = ({
|
|
|
99
300
|
],
|
|
100
301
|
};
|
|
101
302
|
|
|
102
|
-
//const getCaption = (item) => item.description ?? item.rights ?? null;
|
|
103
303
|
return (
|
|
104
304
|
<div
|
|
105
305
|
className={cx(`sliderTemplate slidesToShow-${nSlidesToShow || 1}`, {
|
|
@@ -110,9 +310,7 @@ const SliderTemplate = ({
|
|
|
110
310
|
{title && (
|
|
111
311
|
<Row>
|
|
112
312
|
<Col>
|
|
113
|
-
<h2 className=
|
|
114
|
-
{title}
|
|
115
|
-
</h2>
|
|
313
|
+
<h2 className="mb-4">{title}</h2>
|
|
116
314
|
</Col>
|
|
117
315
|
</Row>
|
|
118
316
|
)}
|
|
@@ -126,12 +324,13 @@ const SliderTemplate = ({
|
|
|
126
324
|
{items?.length > nSlidesToShow && (
|
|
127
325
|
<div className="play-pause-wrapper">
|
|
128
326
|
<button
|
|
129
|
-
onClick={
|
|
327
|
+
onClick={toggleAutoplay}
|
|
130
328
|
title={
|
|
131
329
|
userAutoplay
|
|
132
330
|
? intl.formatMessage(messages.pause)
|
|
133
331
|
: intl.formatMessage(messages.play)
|
|
134
332
|
}
|
|
333
|
+
tabIndex={0}
|
|
135
334
|
>
|
|
136
335
|
<Icon
|
|
137
336
|
key={userAutoplay ? 'pause' : 'play'}
|
|
@@ -150,53 +349,24 @@ const SliderTemplate = ({
|
|
|
150
349
|
maxSize: 1600,
|
|
151
350
|
critical: true,
|
|
152
351
|
});
|
|
153
|
-
//if (!image) return null;
|
|
154
352
|
return (
|
|
155
|
-
<
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
<UniversalLink
|
|
167
|
-
item={item}
|
|
168
|
-
title={intl.formatMessage(messages.viewImage)}
|
|
169
|
-
className={'no-external-if-link'}
|
|
170
|
-
>
|
|
171
|
-
<div className="slide-title">
|
|
172
|
-
{full_width ? (
|
|
173
|
-
<Container>
|
|
174
|
-
{item.title}{' '}
|
|
175
|
-
<Icon icon="arrow-right" key="arrow-right-fw" />
|
|
176
|
-
</Container>
|
|
177
|
-
) : (
|
|
178
|
-
<>
|
|
179
|
-
{item.title}{' '}
|
|
180
|
-
<Icon icon="arrow-right" key="arrow-right" />
|
|
181
|
-
</>
|
|
182
|
-
)}
|
|
183
|
-
</div>
|
|
184
|
-
</UniversalLink>
|
|
185
|
-
)}
|
|
186
|
-
</div>
|
|
187
|
-
</div>
|
|
353
|
+
<Slide
|
|
354
|
+
image={image}
|
|
355
|
+
index={index}
|
|
356
|
+
full_width={full_width}
|
|
357
|
+
item={item}
|
|
358
|
+
show_image_title={show_image_title}
|
|
359
|
+
intl={intl}
|
|
360
|
+
setUserAutoplay={setUserAutoplay}
|
|
361
|
+
userAutoplay={userAutoplay}
|
|
362
|
+
slider={slider}
|
|
363
|
+
/>
|
|
188
364
|
);
|
|
189
365
|
})}
|
|
190
366
|
</Slider>
|
|
191
367
|
</div>
|
|
192
368
|
</div>
|
|
193
|
-
<ListingLinkMore
|
|
194
|
-
title={linkTitle}
|
|
195
|
-
href={linkHref}
|
|
196
|
-
linkAlign={linkAlign}
|
|
197
|
-
className="my-4"
|
|
198
|
-
linkmoreIdLighthouse={linkmore_id_lighthouse}
|
|
199
|
-
/>
|
|
369
|
+
<ListingLinkMore title={linkTitle} href={linkHref} className="my-4" />
|
|
200
370
|
</Container>
|
|
201
371
|
</div>
|
|
202
372
|
);
|
|
@@ -12,7 +12,7 @@ import { getBreadcrumbs } from '@plone/volto/actions';
|
|
|
12
12
|
import { getBaseUrl, flattenToAppURL } from '@plone/volto/helpers';
|
|
13
13
|
|
|
14
14
|
import { UniversalLink } from '@plone/volto/components';
|
|
15
|
-
import { Row, Col,
|
|
15
|
+
import { Row, Col, BreadcrumbItem } from 'design-react-kit';
|
|
16
16
|
import GoogleBreadcrumbs from 'design-comuni-plone-theme/components/ItaliaTheme/Breadcrumbs/GoogleBreadcrumbs';
|
|
17
17
|
|
|
18
18
|
const messages = defineMessages({
|
|
@@ -57,7 +57,7 @@ const Breadcrumbs = ({ pathname }) => {
|
|
|
57
57
|
</UniversalLink>
|
|
58
58
|
<span className="separator">/</span>
|
|
59
59
|
</BreadcrumbItem>
|
|
60
|
-
{items.
|
|
60
|
+
{items.map((item, index, items) => (
|
|
61
61
|
<BreadcrumbItem tag="li" key={item.url}>
|
|
62
62
|
<UniversalLink href={item.url}>{item.title}</UniversalLink>
|
|
63
63
|
{index < items.length - 1 && (
|
|
@@ -25,6 +25,7 @@ import cx from 'classnames';
|
|
|
25
25
|
import AnswersStep from './Steps/AnswersStep';
|
|
26
26
|
import CommentsStep from './Steps/CommentsStep';
|
|
27
27
|
import Rating from './Steps/Commons/Rating';
|
|
28
|
+
import { PropTypes } from 'prop-types';
|
|
28
29
|
|
|
29
30
|
const messages = defineMessages({
|
|
30
31
|
title: {
|
|
@@ -111,10 +112,10 @@ const messages = defineMessages({
|
|
|
111
112
|
},
|
|
112
113
|
});
|
|
113
114
|
|
|
114
|
-
const FeedbackForm = ({ contentType }) => {
|
|
115
|
+
const FeedbackForm = ({ contentType, pathname }) => {
|
|
115
116
|
const intl = useIntl();
|
|
116
117
|
const location = useLocation();
|
|
117
|
-
const path = location.pathname ?? '/';
|
|
118
|
+
const path = pathname ?? location.pathname ?? '/';
|
|
118
119
|
const dispatch = useDispatch();
|
|
119
120
|
const [satisfaction, setSatisfaction] = useState(null);
|
|
120
121
|
const [step, setStep] = useState(0);
|
|
@@ -124,11 +125,9 @@ const FeedbackForm = ({ contentType }) => {
|
|
|
124
125
|
const submitResults = useSelector((state) => state.submitFeedback);
|
|
125
126
|
const [validToken, setValidToken] = useState(null);
|
|
126
127
|
const threshold = getFeedbackThreshold();
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
fieldHoney = window.env.RAZZLE_HONEYPOT_FIELD;
|
|
131
|
-
}
|
|
128
|
+
const fieldHoney = __CLIENT__
|
|
129
|
+
? window.env.RAZZLE_HONEYPOT_FIELD
|
|
130
|
+
: process.env.RAZZLE_HONEYPOT_FIELD;
|
|
132
131
|
|
|
133
132
|
const numberOfSteps = useMemo(() => getNumberOfSteps(), []);
|
|
134
133
|
|
|
@@ -359,4 +358,9 @@ const FeedbackForm = ({ contentType }) => {
|
|
|
359
358
|
);
|
|
360
359
|
};
|
|
361
360
|
|
|
361
|
+
FeedbackForm.propTypes = {
|
|
362
|
+
contentType: PropTypes.string,
|
|
363
|
+
pathname: PropTypes.string,
|
|
364
|
+
};
|
|
365
|
+
|
|
362
366
|
export default FeedbackForm;
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
<svg width="178" height="56" viewBox="0 0 178 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M69.4536 12.8418V5.13834H74.3702V6.49777H71.0169V8.76349H73.7584V10.1229H71.0169V12.8418H69.4536ZM75.3359 12.8418V7.17749H76.854V12.8418H75.3359ZM75.3359 6.45246V4.91177H76.854V6.45246H75.3359ZM79.7746 12.8418H78.2566V7.17749H79.7633V7.49469C80.2768 7.19259 80.7489 7.04155 81.1794 7.04155C81.9346 7.04155 82.4557 7.26434 82.7427 7.70993C83.0297 8.15553 83.1732 8.84279 83.1732 9.77174V12.8418H81.6552V9.81705C81.6552 9.3337 81.5985 8.97874 81.4852 8.75216C81.3719 8.51804 81.1454 8.40098 80.8055 8.40098C80.4959 8.40098 80.1975 8.45384 79.9106 8.55958L79.7746 8.60489V12.8418ZM88.8571 8.94475V11.3011C88.8722 11.4824 88.9024 11.6108 88.9478 11.6863C88.9931 11.7543 89.0875 11.8033 89.231 11.8336L89.1857 12.9777C88.8005 12.9777 88.4908 12.9513 88.2567 12.8984C88.0301 12.8456 87.7998 12.7398 87.5657 12.5812C87.0219 12.8456 86.4668 12.9777 85.9004 12.9777C84.7297 12.9777 84.1444 12.3584 84.1444 11.1199C84.1444 10.5157 84.3068 10.0889 84.6316 9.83971C84.9563 9.58293 85.4548 9.43188 86.1269 9.38657L87.3391 9.29594V8.94475C87.3391 8.71063 87.2862 8.55203 87.1805 8.46895C87.0748 8.37832 86.9048 8.33301 86.6707 8.33301L84.5409 8.42364L84.4956 7.37008C85.3037 7.15106 86.0703 7.04155 86.7953 7.04155C87.5279 7.04155 88.0528 7.19259 88.37 7.49469C88.6948 7.79679 88.8571 8.28014 88.8571 8.94475ZM86.3082 10.4401C85.8853 10.4779 85.6738 10.7045 85.6738 11.1199C85.6738 11.5352 85.8588 11.7429 86.2289 11.7429C86.5159 11.7429 86.8293 11.6976 87.1692 11.607L87.3391 11.5617V10.3495L86.3082 10.4401ZM91.8223 12.8418H90.3043V7.17749H91.811V7.49469C92.3245 7.19259 92.7966 7.04155 93.227 7.04155C93.9823 7.04155 94.5034 7.26434 94.7904 7.70993C95.0774 8.15553 95.2209 8.84279 95.2209 9.77174V12.8418H93.7028V9.81705C93.7028 9.3337 93.6462 8.97874 93.5329 8.75216C93.4196 8.51804 93.1931 8.40098 92.8532 8.40098C92.5436 8.40098 92.2452 8.45384 91.9582 8.55958L91.8223 8.60489V12.8418ZM96.3281 8.53692V7.17749H100.531V8.53692L98.152 11.4824H100.531V12.8418H96.3281V11.4824L98.7071 8.53692H96.3281ZM101.71 12.8418V7.17749H103.228V12.8418H101.71ZM101.71 6.45246V4.91177H103.228V6.45246H101.71ZM108.97 8.94475V11.3011C108.985 11.4824 109.015 11.6108 109.06 11.6863C109.106 11.7543 109.2 11.8033 109.344 11.8336L109.298 12.9777C108.913 12.9777 108.604 12.9513 108.369 12.8984C108.143 12.8456 107.912 12.7398 107.678 12.5812C107.135 12.8456 106.579 12.9777 106.013 12.9777C104.842 12.9777 104.257 12.3584 104.257 11.1199C104.257 10.5157 104.419 10.0889 104.744 9.83971C105.069 9.58293 105.567 9.43188 106.24 9.38657L107.452 9.29594V8.94475C107.452 8.71063 107.399 8.55203 107.293 8.46895C107.187 8.37832 107.018 8.33301 106.783 8.33301L104.654 8.42364L104.608 7.37008C105.416 7.15106 106.183 7.04155 106.908 7.04155C107.641 7.04155 108.165 7.19259 108.483 7.49469C108.807 7.79679 108.97 8.28014 108.97 8.94475ZM106.421 10.4401C105.998 10.4779 105.786 10.7045 105.786 11.1199C105.786 11.5352 105.972 11.7429 106.342 11.7429C106.629 11.7429 106.942 11.6976 107.282 11.607L107.452 11.5617V10.3495L106.421 10.4401ZM113.555 8.46895H112.162V10.7913C112.162 11.0179 112.165 11.1803 112.173 11.2785C112.188 11.3691 112.23 11.4484 112.297 11.5164C112.373 11.5843 112.486 11.6183 112.637 11.6183L113.498 11.5957L113.566 12.8078C113.06 12.9211 112.675 12.9777 112.411 12.9777C111.731 12.9777 111.267 12.8267 111.017 12.5246C110.768 12.2149 110.644 11.6485 110.644 10.8253V8.46895H109.975V7.17749H110.644V5.60282H112.162V7.17749H113.555V8.46895ZM114.849 7.82322C115.25 7.3021 115.918 7.04155 116.855 7.04155C117.791 7.04155 118.459 7.3021 118.86 7.82322C119.26 8.33678 119.46 9.06181 119.46 9.99831C119.46 11.9846 118.592 12.9777 116.855 12.9777C115.117 12.9777 114.249 11.9846 114.249 9.99831C114.249 9.06181 114.449 8.33678 114.849 7.82322ZM116.016 11.2785C116.175 11.5503 116.454 11.6863 116.855 11.6863C117.255 11.6863 117.53 11.5503 117.681 11.2785C117.84 11.0066 117.919 10.5799 117.919 9.99831C117.919 9.41678 117.84 8.99384 117.681 8.72951C117.53 8.46517 117.255 8.33301 116.855 8.33301C116.454 8.33301 116.175 8.46517 116.016 8.72951C115.865 8.99384 115.79 9.41678 115.79 9.99831C115.79 10.5799 115.865 11.0066 116.016 11.2785ZM74.1323 20.9118V28.8418H72.6256V28.6039C72.0969 28.8531 71.64 28.9777 71.2548 28.9777C70.4316 28.9777 69.8576 28.7398 69.5329 28.264C69.2081 27.7882 69.0457 27.0368 69.0457 26.0096C69.0457 24.975 69.2383 24.2235 69.6235 23.7553C70.0162 23.2795 70.6053 23.0416 71.3907 23.0416C71.6324 23.0416 71.9685 23.0793 72.399 23.1548L72.6142 23.2002V20.9118H74.1323ZM72.4556 27.4824L72.6142 27.4484V24.469C72.1988 24.3934 71.8288 24.3557 71.504 24.3557C70.8923 24.3557 70.5864 24.8994 70.5864 25.987C70.5864 26.5761 70.6544 26.9952 70.7903 27.2445C70.9263 27.4937 71.1491 27.6183 71.4587 27.6183C71.7759 27.6183 72.1082 27.573 72.4556 27.4824ZM79.8739 24.9448V27.3011C79.889 27.4824 79.9192 27.6108 79.9645 27.6863C80.0099 27.7543 80.1043 27.8033 80.2478 27.8336L80.2024 28.9777C79.8173 28.9777 79.5076 28.9513 79.2735 28.8984C79.0469 28.8456 78.8166 28.7398 78.5824 28.5812C78.0387 28.8456 77.4836 28.9777 76.9171 28.9777C75.7465 28.9777 75.1612 28.3584 75.1612 27.1199C75.1612 26.5157 75.3236 26.0889 75.6483 25.8397C75.9731 25.5829 76.4716 25.4319 77.1437 25.3866L78.3559 25.2959V24.9448C78.3559 24.7106 78.303 24.552 78.1973 24.469C78.0915 24.3783 77.9216 24.333 77.6875 24.333L75.5577 24.4236L75.5124 23.3701C76.3205 23.1511 77.0871 23.0416 77.8121 23.0416C78.5447 23.0416 79.0696 23.1926 79.3868 23.4947C79.7115 23.7968 79.8739 24.2801 79.8739 24.9448ZM77.325 26.4401C76.902 26.4779 76.6906 26.7045 76.6906 27.1199C76.6906 27.5352 76.8756 27.7429 77.2457 27.7429C77.5327 27.7429 77.8461 27.6976 78.1859 27.607L78.3559 27.5617V26.3495L77.325 26.4401ZM81.389 28.8418V20.9118H82.9071V28.8418H81.389ZM84.4424 28.8418V20.9118H85.9605V28.8418H84.4424ZM87.19 23.9365L87.7224 21.1384H89.3197L88.3568 23.9365H87.19ZM91.9356 26.2702C91.9356 27.1689 92.3925 27.6183 93.3063 27.6183C94.2202 27.6183 94.6771 27.1689 94.6771 26.2702V21.1384H96.2405V26.2362C96.2405 27.1803 95.995 27.8751 95.5041 28.3207C95.0207 28.7587 94.2882 28.9777 93.3063 28.9777C92.3245 28.9777 91.5882 28.7587 91.0973 28.3207C90.6139 27.8751 90.3722 27.1803 90.3722 26.2362V21.1384H91.9356V26.2702ZM99.1792 28.8418H97.6612V23.1775H99.1679V23.4947C99.6815 23.1926 100.154 23.0416 100.584 23.0416C101.339 23.0416 101.86 23.2644 102.147 23.7099C102.434 24.1555 102.578 24.8428 102.578 25.7717V28.8418H101.06V25.8171C101.06 25.3337 101.003 24.9787 100.89 24.7522C100.777 24.5181 100.55 24.401 100.21 24.401C99.9005 24.401 99.6022 24.4539 99.3152 24.5596L99.1792 24.6049V28.8418ZM103.923 28.8418V23.1775H105.441V28.8418H103.923ZM103.923 22.4525V20.9118H105.441V22.4525H103.923ZM107.149 23.8232C107.55 23.3021 108.218 23.0416 109.155 23.0416C110.091 23.0416 110.759 23.3021 111.16 23.8232C111.56 24.3368 111.76 25.0618 111.76 25.9983C111.76 27.9846 110.892 28.9777 109.155 28.9777C107.418 28.9777 106.549 27.9846 106.549 25.9983C106.549 25.0618 106.749 24.3368 107.149 23.8232ZM108.316 27.2785C108.475 27.5503 108.754 27.6863 109.155 27.6863C109.555 27.6863 109.831 27.5503 109.982 27.2785C110.14 27.0066 110.219 26.5799 110.219 25.9983C110.219 25.4168 110.14 24.9939 109.982 24.7295C109.831 24.4652 109.555 24.333 109.155 24.333C108.754 24.333 108.475 24.4652 108.316 24.7295C108.165 24.9939 108.09 25.4168 108.09 25.9983C108.09 26.5799 108.165 27.0066 108.316 27.2785ZM114.391 28.8418H112.873V23.1775H114.38V23.4947C114.893 23.1926 115.365 23.0416 115.796 23.0416C116.551 23.0416 117.072 23.2644 117.359 23.7099C117.646 24.1555 117.79 24.8428 117.79 25.7717V28.8418H116.272V25.8171C116.272 25.3337 116.215 24.9787 116.102 24.7522C115.988 24.5181 115.762 24.401 115.422 24.401C115.112 24.401 114.814 24.4539 114.527 24.5596L114.391 24.6049V28.8418ZM120.381 26.6554C120.388 27.0028 120.479 27.2558 120.653 27.4144C120.834 27.5654 121.091 27.641 121.423 27.641C122.125 27.641 122.752 27.6183 123.304 27.573L123.621 27.539L123.643 28.6605C122.775 28.872 121.989 28.9777 121.287 28.9777C120.434 28.9777 119.814 28.7512 119.429 28.298C119.044 27.8449 118.851 27.1085 118.851 26.0889C118.851 24.0574 119.686 23.0416 121.355 23.0416C123.001 23.0416 123.825 23.895 123.825 25.6018L123.711 26.6554H120.381ZM122.329 25.4999C122.329 25.0467 122.258 24.7333 122.114 24.5596C121.971 24.3783 121.718 24.2877 121.355 24.2877C121 24.2877 120.747 24.3821 120.596 24.5709C120.453 24.7522 120.377 25.0618 120.369 25.4999H122.329ZM128.645 26.6554C128.652 27.0028 128.743 27.2558 128.917 27.4144C129.098 27.5654 129.355 27.641 129.687 27.641C130.39 27.641 131.016 27.6183 131.568 27.573L131.885 27.539L131.908 28.6605C131.039 28.872 130.254 28.9777 129.551 28.9777C128.698 28.9777 128.078 28.7512 127.693 28.298C127.308 27.8449 127.116 27.1085 127.116 26.0889C127.116 24.0574 127.95 23.0416 129.619 23.0416C131.266 23.0416 132.089 23.895 132.089 25.6018L131.976 26.6554H128.645ZM130.593 25.4999C130.593 25.0467 130.522 24.7333 130.378 24.5596C130.235 24.3783 129.982 24.2877 129.619 24.2877C129.264 24.2877 129.011 24.3821 128.86 24.5709C128.717 24.7522 128.641 25.0618 128.634 25.4999H130.593ZM136.516 23.1775H138.034V28.8418H136.527V28.5246C135.983 28.8267 135.511 28.9777 135.111 28.9777C134.325 28.9777 133.797 28.7625 133.525 28.332C133.253 27.894 133.117 27.1652 133.117 26.1456V23.1775H134.635V26.1682C134.635 26.7271 134.68 27.1085 134.771 27.3124C134.862 27.5164 135.081 27.6183 135.428 27.6183C135.76 27.6183 136.074 27.5654 136.368 27.4597L136.516 27.4144V23.1775ZM139.435 28.8418V23.1775H140.942V23.7779C141.577 23.4003 142.181 23.1548 142.755 23.0416V24.5709C142.143 24.6993 141.618 24.8315 141.18 24.9674L140.953 25.0467V28.8418H139.435ZM143.956 23.8232C144.357 23.3021 145.025 23.0416 145.961 23.0416C146.898 23.0416 147.566 23.3021 147.967 23.8232C148.367 24.3368 148.567 25.0618 148.567 25.9983C148.567 27.9846 147.699 28.9777 145.961 28.9777C144.224 28.9777 143.356 27.9846 143.356 25.9983C143.356 25.0618 143.556 24.3368 143.956 23.8232ZM145.123 27.2785C145.282 27.5503 145.561 27.6863 145.961 27.6863C146.362 27.6863 146.637 27.5503 146.788 27.2785C146.947 27.0066 147.026 26.5799 147.026 25.9983C147.026 25.4168 146.947 24.9939 146.788 24.7295C146.637 24.4652 146.362 24.333 145.961 24.333C145.561 24.333 145.282 24.4652 145.123 24.7295C144.972 24.9939 144.897 25.4168 144.897 25.9983C144.897 26.5799 144.972 27.0066 145.123 27.2785ZM149.68 31.2208V23.1775H151.187V23.4834C151.677 23.1888 152.108 23.0416 152.478 23.0416C153.241 23.0416 153.803 23.2719 154.166 23.7326C154.528 24.1857 154.71 24.9599 154.71 26.055C154.71 27.1501 154.51 27.9129 154.109 28.3433C153.709 28.7663 153.052 28.9777 152.138 28.9777C151.889 28.9777 151.621 28.9551 151.334 28.9098L151.198 28.8871V31.2208H149.68ZM152.183 24.401C151.904 24.401 151.621 24.4576 151.334 24.5709L151.198 24.6276V27.5957C151.538 27.641 151.813 27.6636 152.025 27.6636C152.463 27.6636 152.761 27.5352 152.92 27.2785C153.086 27.0217 153.169 26.5836 153.169 25.9643C153.169 24.9221 152.84 24.401 152.183 24.401ZM157.088 26.6554C157.096 27.0028 157.186 27.2558 157.36 27.4144C157.541 27.5654 157.798 27.641 158.13 27.641C158.833 27.641 159.46 27.6183 160.011 27.573L160.328 27.539L160.351 28.6605C159.482 28.872 158.697 28.9777 157.994 28.9777C157.141 28.9777 156.522 28.7512 156.136 28.298C155.751 27.8449 155.559 27.1085 155.559 26.0889C155.559 24.0574 156.393 23.0416 158.062 23.0416C159.709 23.0416 160.532 23.895 160.532 25.6018L160.419 26.6554H157.088ZM159.037 25.4999C159.037 25.0467 158.965 24.7333 158.821 24.5596C158.678 24.3783 158.425 24.2877 158.062 24.2877C157.707 24.2877 157.454 24.3821 157.303 24.5709C157.16 24.7522 157.084 25.0618 157.077 25.4999H159.037ZM165.956 24.9448V27.3011C165.971 27.4824 166.001 27.6108 166.046 27.6863C166.092 27.7543 166.186 27.8033 166.33 27.8336L166.284 28.9777C165.899 28.9777 165.589 28.9513 165.355 28.8984C165.129 28.8456 164.898 28.7398 164.664 28.5812C164.12 28.8456 163.565 28.9777 162.999 28.9777C161.828 28.9777 161.243 28.3584 161.243 27.1199C161.243 26.5157 161.405 26.0889 161.73 25.8397C162.055 25.5829 162.553 25.4319 163.226 25.3866L164.438 25.2959V24.9448C164.438 24.7106 164.385 24.552 164.279 24.469C164.173 24.3783 164.003 24.333 163.769 24.333L161.64 24.4236L161.594 23.3701C162.402 23.1511 163.169 23.0416 163.894 23.0416C164.627 23.0416 165.151 23.1926 165.469 23.4947C165.793 23.7968 165.956 24.2801 165.956 24.9448ZM163.407 26.4401C162.984 26.4779 162.772 26.7045 162.772 27.1199C162.772 27.5352 162.957 27.7429 163.327 27.7429C163.614 27.7429 163.928 27.6976 164.268 27.607L164.438 27.5617V26.3495L163.407 26.4401Z" fill="white"/>
|
|
3
|
-
<path d="M0.5 43.5708V4.77344H58.5462V43.5708H0.5Z" fill="#164194" stroke="white"/>
|
|
4
|
-
<path d="M28.2521 12.9438L29.5013 12.0178L30.7505 12.9438L30.2717 11.4495L31.5417 10.5446H29.9802L29.5013 9.0293L29.0225 10.5446H27.4609L28.731 11.4495L28.2521 12.9438Z" fill="#FFCC00"/>
|
|
5
|
-
<path d="M21.8205 14.6918L23.0489 13.7658L24.2981 14.6918L23.84 13.1976L25.0892 12.2926H23.5277L23.0489 10.7773L22.57 12.2926H21.0293L22.2785 13.1976L21.8205 14.6918Z" fill="#FFCC00"/>
|
|
6
|
-
<path d="M18.3431 15.5547L17.8643 17.07H16.3027L17.5728 17.996L17.0939 19.4692L18.3431 18.5642L19.5923 19.4692L19.1135 17.996L20.3835 17.07H18.822L18.3431 15.5547Z" fill="#FFCC00"/>
|
|
7
|
-
<path d="M16.6146 25.0666L17.8638 25.9716L17.3849 24.4984L18.655 23.5724H17.0935L16.6146 22.0781L16.1357 23.5724H14.5742L15.8443 24.4984L15.3654 25.9716L16.6146 25.0666Z" fill="#FFCC00"/>
|
|
8
|
-
<path d="M18.822 30.0958L18.3431 28.6016L17.8643 30.0958H16.3027L17.5728 31.0218L17.0939 32.5161L18.3431 31.59L19.5923 32.5161L19.1135 31.0218L20.3835 30.0958H18.822Z" fill="#FFCC00"/>
|
|
9
|
-
<path d="M23.5485 34.8731L23.0697 33.3789L22.5908 34.8942L21.0293 34.8731L22.2993 35.7992L21.8205 37.2934L23.0697 36.3674L24.3189 37.2934L23.84 35.7992L25.1101 34.8731H23.5485Z" fill="#FFCC00"/>
|
|
10
|
-
<path d="M29.9802 36.6208L29.5013 35.1055L29.0225 36.6208H27.4609L28.731 37.5257L28.2521 39.02L29.5013 38.0939L30.7505 39.02L30.2717 37.5257L31.5417 36.6208H29.9802Z" fill="#FFCC00"/>
|
|
11
|
-
<path d="M36.4144 34.8731L35.9564 33.3789L35.4775 34.8942L33.916 34.8731L35.1652 35.7992L34.7072 37.2934L35.9564 36.3674L37.1848 37.2934L36.7267 35.7992L37.976 34.8731H36.4144Z" fill="#FFCC00"/>
|
|
12
|
-
<path d="M41.1618 30.0958L40.683 28.6016L40.2041 30.0958H38.6426L39.9126 31.0218L39.4337 32.5161L40.683 31.59L41.9114 32.5161L41.4533 31.0218L42.7025 30.0958H41.1618Z" fill="#FFCC00"/>
|
|
13
|
-
<path d="M44.4304 23.5509H42.8689L42.39 22.0566L41.9111 23.5509H40.3496L41.6196 24.4769L41.1408 25.9711L42.39 25.0451L43.6392 25.9711L43.1603 24.4769L44.4304 23.5509Z" fill="#FFCC00"/>
|
|
14
|
-
<path d="M39.4337 19.4477L40.683 18.5427L41.9114 19.4477L41.4533 17.9745L42.7025 17.0485H41.1618L40.683 15.5332L40.2041 17.0485H38.6426L39.9126 17.9745L39.4337 19.4477Z" fill="#FFCC00"/>
|
|
15
|
-
<path d="M35.9571 10.7773L35.4782 12.2926H33.9375L35.1867 13.2186L34.7287 14.6918L35.9571 13.7658L37.2063 14.6918L36.7274 13.2186L37.9975 12.2926H36.4359L35.9571 10.7773Z" fill="#FFCC00"/>
|
|
16
|
-
<path d="M68.5938 42V36.2734H69.7188L72.0625 40.0977V36.2734H73.1367V42H71.9766L69.668 38.2656V42H68.5938ZM76.7578 40.6797L77.8516 40.8633C77.7109 41.2643 77.4883 41.5703 77.1836 41.7812C76.8815 41.9896 76.5026 42.0938 76.0469 42.0938C75.3255 42.0938 74.7917 41.8581 74.4453 41.3867C74.1719 41.0091 74.0352 40.5326 74.0352 39.957C74.0352 39.2695 74.2148 38.7318 74.5742 38.3438C74.9336 37.9531 75.388 37.7578 75.9375 37.7578C76.5547 37.7578 77.0417 37.9622 77.3984 38.3711C77.7552 38.7773 77.9258 39.401 77.9102 40.2422H75.1602C75.168 40.5677 75.2565 40.8216 75.4258 41.0039C75.5951 41.1836 75.806 41.2734 76.0586 41.2734C76.2305 41.2734 76.375 41.2266 76.4922 41.1328C76.6094 41.0391 76.6979 40.888 76.7578 40.6797ZM76.8203 39.5703C76.8125 39.2526 76.7305 39.0117 76.5742 38.8477C76.418 38.681 76.2279 38.5977 76.0039 38.5977C75.7643 38.5977 75.5664 38.6849 75.4102 38.8594C75.2539 39.0339 75.1771 39.2708 75.1797 39.5703H76.8203ZM78.2812 42L79.7773 39.8633L78.3438 37.8516H79.6836L80.418 38.9922L81.1914 37.8516H82.4805L81.0742 39.8164L82.6094 42H81.2617L80.418 40.7148L79.5664 42H78.2812ZM85.1641 37.8516V38.7266H84.4141V40.3984C84.4141 40.737 84.4206 40.9349 84.4336 40.9922C84.4492 41.0469 84.4818 41.0924 84.5312 41.1289C84.5833 41.1654 84.6458 41.1836 84.7188 41.1836C84.8203 41.1836 84.9674 41.1484 85.1602 41.0781L85.2539 41.9297C84.9987 42.0391 84.7096 42.0938 84.3867 42.0938C84.1888 42.0938 84.0104 42.0612 83.8516 41.9961C83.6927 41.9284 83.5755 41.8424 83.5 41.7383C83.4271 41.6315 83.3763 41.4883 83.3477 41.3086C83.3242 41.181 83.3125 40.9232 83.3125 40.5352V38.7266H82.8086V37.8516H83.3125V37.0273L84.4141 36.3867V37.8516H85.1641ZM88.5977 39.8945V38.9297H91.0898V41.2109C90.8477 41.4453 90.4961 41.6523 90.0352 41.832C89.5768 42.0091 89.112 42.0977 88.6406 42.0977C88.0417 42.0977 87.5195 41.9727 87.0742 41.7227C86.6289 41.4701 86.2943 41.1107 86.0703 40.6445C85.8464 40.1758 85.7344 39.6667 85.7344 39.1172C85.7344 38.5208 85.8594 37.9909 86.1094 37.5273C86.3594 37.0638 86.7253 36.7083 87.207 36.4609C87.5742 36.2708 88.0312 36.1758 88.5781 36.1758C89.2891 36.1758 89.8438 36.3255 90.2422 36.625C90.6432 36.9219 90.901 37.3333 91.0156 37.8594L89.8672 38.0742C89.7865 37.793 89.6341 37.5716 89.4102 37.4102C89.1888 37.2461 88.9115 37.1641 88.5781 37.1641C88.0729 37.1641 87.6706 37.3242 87.3711 37.6445C87.0742 37.9648 86.9258 38.4401 86.9258 39.0703C86.9258 39.75 87.0768 40.2604 87.3789 40.6016C87.681 40.9401 88.0768 41.1094 88.5664 41.1094C88.8086 41.1094 89.0508 41.0625 89.293 40.9688C89.5378 40.8724 89.7474 40.7565 89.9219 40.6211V39.8945H88.5977ZM94.5547 40.6797L95.6484 40.8633C95.5078 41.2643 95.2852 41.5703 94.9805 41.7812C94.6784 41.9896 94.2995 42.0938 93.8438 42.0938C93.1224 42.0938 92.5885 41.8581 92.2422 41.3867C91.9688 41.0091 91.832 40.5326 91.832 39.957C91.832 39.2695 92.0117 38.7318 92.3711 38.3438C92.7305 37.9531 93.1849 37.7578 93.7344 37.7578C94.3516 37.7578 94.8385 37.9622 95.1953 38.3711C95.5521 38.7773 95.7227 39.401 95.707 40.2422H92.957C92.9648 40.5677 93.0534 40.8216 93.2227 41.0039C93.3919 41.1836 93.6029 41.2734 93.8555 41.2734C94.0273 41.2734 94.1719 41.2266 94.2891 41.1328C94.4062 41.0391 94.4948 40.888 94.5547 40.6797ZM94.6172 39.5703C94.6094 39.2526 94.5273 39.0117 94.3711 38.8477C94.2148 38.681 94.0247 38.5977 93.8008 38.5977C93.5612 38.5977 93.3633 38.6849 93.207 38.8594C93.0508 39.0339 92.974 39.2708 92.9766 39.5703H94.6172ZM100.379 42H99.2812V39.8828C99.2812 39.4349 99.2578 39.1458 99.2109 39.0156C99.1641 38.8828 99.0872 38.7799 98.9805 38.707C98.8763 38.6341 98.75 38.5977 98.6016 38.5977C98.4115 38.5977 98.2409 38.6497 98.0898 38.7539C97.9388 38.8581 97.8346 38.9961 97.7773 39.168C97.7227 39.3398 97.6953 39.6576 97.6953 40.1211V42H96.5977V37.8516H97.6172V38.4609C97.9792 37.9922 98.4349 37.7578 98.9844 37.7578C99.2266 37.7578 99.4479 37.8021 99.6484 37.8906C99.849 37.9766 100 38.0872 100.102 38.2227C100.206 38.3581 100.277 38.5117 100.316 38.6836C100.358 38.8555 100.379 39.1016 100.379 39.4219V42ZM103.898 40.6797L104.992 40.8633C104.852 41.2643 104.629 41.5703 104.324 41.7812C104.022 41.9896 103.643 42.0938 103.188 42.0938C102.466 42.0938 101.932 41.8581 101.586 41.3867C101.312 41.0091 101.176 40.5326 101.176 39.957C101.176 39.2695 101.355 38.7318 101.715 38.3438C102.074 37.9531 102.529 37.7578 103.078 37.7578C103.695 37.7578 104.182 37.9622 104.539 38.3711C104.896 38.7773 105.066 39.401 105.051 40.2422H102.301C102.309 40.5677 102.397 40.8216 102.566 41.0039C102.736 41.1836 102.947 41.2734 103.199 41.2734C103.371 41.2734 103.516 41.2266 103.633 41.1328C103.75 41.0391 103.839 40.888 103.898 40.6797ZM103.961 39.5703C103.953 39.2526 103.871 39.0117 103.715 38.8477C103.559 38.681 103.368 38.5977 103.145 38.5977C102.905 38.5977 102.707 38.6849 102.551 38.8594C102.395 39.0339 102.318 39.2708 102.32 39.5703H103.961ZM107 42H105.902V37.8516H106.922V38.4414C107.096 38.1628 107.253 37.9792 107.391 37.8906C107.531 37.8021 107.69 37.7578 107.867 37.7578C108.117 37.7578 108.358 37.8268 108.59 37.9648L108.25 38.9219C108.065 38.8021 107.893 38.7422 107.734 38.7422C107.581 38.7422 107.451 38.7852 107.344 38.8711C107.237 38.9544 107.152 39.1068 107.09 39.3281C107.03 39.5495 107 40.013 107 40.7188V42ZM109.887 39.1172L108.891 38.9375C109.003 38.5365 109.195 38.2396 109.469 38.0469C109.742 37.8542 110.148 37.7578 110.688 37.7578C111.177 37.7578 111.542 37.8164 111.781 37.9336C112.021 38.0482 112.189 38.1953 112.285 38.375C112.384 38.5521 112.434 38.8789 112.434 39.3555L112.422 40.6367C112.422 41.0013 112.439 41.2708 112.473 41.4453C112.509 41.6172 112.576 41.8021 112.672 42H111.586C111.557 41.9271 111.522 41.819 111.48 41.6758C111.462 41.6107 111.449 41.5677 111.441 41.5469C111.254 41.7292 111.053 41.8659 110.84 41.957C110.626 42.0482 110.398 42.0938 110.156 42.0938C109.729 42.0938 109.392 41.9779 109.145 41.7461C108.9 41.5143 108.777 41.2214 108.777 40.8672C108.777 40.6328 108.833 40.4245 108.945 40.2422C109.057 40.0573 109.214 39.9167 109.414 39.8203C109.617 39.7214 109.909 39.6354 110.289 39.5625C110.802 39.4661 111.158 39.3763 111.355 39.293V39.1836C111.355 38.9727 111.303 38.8229 111.199 38.7344C111.095 38.6432 110.898 38.5977 110.609 38.5977C110.414 38.5977 110.262 38.6367 110.152 38.7148C110.043 38.7904 109.954 38.9245 109.887 39.1172ZM111.355 40.0078C111.215 40.0547 110.992 40.1107 110.688 40.1758C110.383 40.2409 110.184 40.3047 110.09 40.3672C109.947 40.4688 109.875 40.5977 109.875 40.7539C109.875 40.9076 109.932 41.0404 110.047 41.1523C110.161 41.2643 110.307 41.3203 110.484 41.3203C110.682 41.3203 110.871 41.2552 111.051 41.125C111.184 41.026 111.271 40.9049 111.312 40.7617C111.341 40.668 111.355 40.4896 111.355 40.2266V40.0078ZM115.422 37.8516V38.7266H114.672V40.3984C114.672 40.737 114.678 40.9349 114.691 40.9922C114.707 41.0469 114.74 41.0924 114.789 41.1289C114.841 41.1654 114.904 41.1836 114.977 41.1836C115.078 41.1836 115.225 41.1484 115.418 41.0781L115.512 41.9297C115.257 42.0391 114.967 42.0938 114.645 42.0938C114.447 42.0938 114.268 42.0612 114.109 41.9961C113.951 41.9284 113.833 41.8424 113.758 41.7383C113.685 41.6315 113.634 41.4883 113.605 41.3086C113.582 41.181 113.57 40.9232 113.57 40.5352V38.7266H113.066V37.8516H113.57V37.0273L114.672 36.3867V37.8516H115.422ZM116.184 37.2891V36.2734H117.281V37.2891H116.184ZM116.184 42V37.8516H117.281V42H116.184ZM118.156 39.8672C118.156 39.5026 118.246 39.1497 118.426 38.8086C118.605 38.4674 118.859 38.207 119.188 38.0273C119.518 37.8477 119.887 37.7578 120.293 37.7578C120.921 37.7578 121.435 37.9622 121.836 38.3711C122.237 38.7773 122.438 39.2917 122.438 39.9141C122.438 40.5417 122.234 41.0625 121.828 41.4766C121.424 41.888 120.915 42.0938 120.301 42.0938C119.921 42.0938 119.557 42.0078 119.211 41.8359C118.867 41.6641 118.605 41.4128 118.426 41.082C118.246 40.7487 118.156 40.3438 118.156 39.8672ZM119.281 39.9258C119.281 40.3372 119.379 40.6523 119.574 40.8711C119.77 41.0898 120.01 41.1992 120.297 41.1992C120.583 41.1992 120.823 41.0898 121.016 40.8711C121.211 40.6523 121.309 40.3346 121.309 39.918C121.309 39.5117 121.211 39.1992 121.016 38.9805C120.823 38.7617 120.583 38.6523 120.297 38.6523C120.01 38.6523 119.77 38.7617 119.574 38.9805C119.379 39.1992 119.281 39.5143 119.281 39.9258ZM127.074 42H125.977V39.8828C125.977 39.4349 125.953 39.1458 125.906 39.0156C125.859 38.8828 125.783 38.7799 125.676 38.707C125.572 38.6341 125.445 38.5977 125.297 38.5977C125.107 38.5977 124.936 38.6497 124.785 38.7539C124.634 38.8581 124.53 38.9961 124.473 39.168C124.418 39.3398 124.391 39.6576 124.391 40.1211V42H123.293V37.8516H124.312V38.4609C124.674 37.9922 125.13 37.7578 125.68 37.7578C125.922 37.7578 126.143 37.8021 126.344 37.8906C126.544 37.9766 126.695 38.0872 126.797 38.2227C126.901 38.3581 126.973 38.5117 127.012 38.6836C127.053 38.8555 127.074 39.1016 127.074 39.4219V42ZM128.199 42V36.2734H132.445V37.2422H129.355V38.5117H132.23V39.4766H129.355V41.0352H132.555V42H128.199ZM133.527 36.2734H134.684V39.375C134.684 39.8672 134.698 40.1862 134.727 40.332C134.776 40.5664 134.893 40.7552 135.078 40.8984C135.266 41.0391 135.521 41.1094 135.844 41.1094C136.172 41.1094 136.419 41.043 136.586 40.9102C136.753 40.7747 136.853 40.6094 136.887 40.4141C136.921 40.2188 136.938 39.8945 136.938 39.4414V36.2734H138.094V39.2812C138.094 39.9688 138.062 40.4544 138 40.7383C137.938 41.0221 137.822 41.2617 137.652 41.457C137.486 41.6523 137.262 41.8086 136.98 41.9258C136.699 42.0404 136.332 42.0977 135.879 42.0977C135.332 42.0977 134.917 42.0352 134.633 41.9102C134.352 41.7826 134.129 41.6185 133.965 41.418C133.801 41.2148 133.693 41.0026 133.641 40.7812C133.565 40.4531 133.527 39.9688 133.527 39.3281V36.2734Z" fill="white"/>
|
|
17
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="167" height="41"><g fill="none" fill-rule="nonzero"><path fill="#FFF" d="M69.454 8.842V1.138h4.916v1.36h-3.353v2.265h2.741v1.36h-2.741v2.719h-1.563Zm5.882 0V3.177h1.518v5.665h-1.518Zm0-6.39V.912h1.518v1.54h-1.518Zm4.439 6.39h-1.518V3.177h1.506v.318c.514-.302.986-.453 1.416-.453.756 0 1.277.222 1.564.668.287.446.43 1.133.43 2.062v3.07h-1.518V5.817c0-.483-.056-.838-.17-1.065-.113-.234-.34-.351-.68-.351-.31 0-.608.053-.894.159l-.136.045v4.237Zm9.082-3.897V7.3c.015.181.045.31.09.385.046.068.14.117.284.148l-.045 1.144a4.37 4.37 0 0 1-.93-.08 2.084 2.084 0 0 1-.69-.317 3.77 3.77 0 0 1-1.666.397c-1.17 0-1.756-.62-1.756-1.858 0-.604.163-1.031.488-1.28.324-.257.823-.408 1.495-.453l1.212-.091v-.351c0-.234-.053-.393-.159-.476-.105-.09-.275-.136-.51-.136l-2.13.09-.044-1.053a8.799 8.799 0 0 1 2.3-.328c.732 0 1.257.15 1.574.453.325.302.487.785.487 1.45v.001ZM86.308 6.44c-.423.038-.634.264-.634.68 0 .415.185.623.555.623.287 0 .6-.045.94-.136l.17-.045V6.35l-1.03.09h-.001Zm5.514 2.402h-1.518V3.177h1.507v.318c.513-.302.986-.453 1.416-.453.755 0 1.276.222 1.563.668.287.446.43 1.133.43 2.062v3.07h-1.517V5.817c0-.483-.057-.838-.17-1.065-.113-.234-.34-.351-.68-.351-.31 0-.608.053-.895.159l-.136.045v4.237Zm4.506-4.305v-1.36h4.203v1.36l-2.379 2.945h2.379v1.36h-4.203v-1.36l2.38-2.945h-2.38Zm5.382 4.305V3.177h1.518v5.665h-1.518Zm0-6.39V.912h1.518v1.54h-1.518Zm7.26 2.493V7.3c.015.181.045.31.09.385.046.068.14.117.284.148l-.046 1.144c-.385 0-.694-.027-.929-.08a2.088 2.088 0 0 1-.691-.317 3.768 3.768 0 0 1-1.665.397c-1.171 0-1.756-.62-1.756-1.858 0-.604.162-1.031.487-1.28.325-.257.823-.408 1.496-.453l1.212-.091v-.351c0-.234-.053-.393-.159-.476-.106-.09-.275-.136-.51-.136l-2.129.09-.046-1.053a8.8 8.8 0 0 1 2.3-.328c.733 0 1.257.15 1.575.453.324.302.487.785.487 1.45v.001Zm-2.549 1.495c-.423.038-.635.264-.635.68 0 .415.186.623.556.623.287 0 .6-.045.94-.136l.17-.045V6.35l-1.031.09Zm7.134-1.971h-1.393v2.322c0 .227.003.39.011.487.015.091.057.17.124.238.076.068.189.102.34.102l.861-.022.068 1.212c-.506.113-.891.17-1.155.17-.68 0-1.144-.151-1.394-.453-.249-.31-.373-.877-.373-1.7V4.47h-.669V3.177h.669V1.603h1.518v1.574h1.393V4.47v-.001Zm1.294-.646c.401-.52 1.069-.781 2.006-.781.936 0 1.604.26 2.005.781.4.514.6 1.239.6 2.175 0 1.987-.868 2.98-2.605 2.98-1.738 0-2.606-.993-2.606-2.98 0-.936.2-1.661.6-2.175Zm1.167 3.455c.159.272.438.408.839.408.4 0 .675-.136.826-.408.159-.271.238-.698.238-1.28 0-.581-.079-1.004-.238-1.268-.151-.265-.426-.397-.826-.397-.401 0-.68.132-.839.397-.151.264-.226.687-.226 1.268 0 .582.075 1.009.226 1.28Zm-41.884 9.634v7.93h-1.506v-.238c-.53.25-.986.374-1.371.374-.823 0-1.397-.238-1.722-.714-.325-.476-.487-1.227-.487-2.254 0-1.035.192-1.787.578-2.255.392-.476.981-.713 1.767-.713.241 0 .578.037 1.008.113l.215.045v-2.288h1.518Zm-1.676 6.57.158-.034V20.47a6.274 6.274 0 0 0-1.11-.113c-.612 0-.918.543-.918 1.631 0 .59.068 1.008.204 1.258.136.249.36.373.669.373.317 0 .65-.045.997-.136v-.001Zm7.418-2.537V23.3c.015.181.045.31.09.385.046.068.14.117.284.148l-.046 1.144c-.385 0-.694-.027-.928-.08a2.085 2.085 0 0 1-.692-.317 3.77 3.77 0 0 1-1.665.397c-1.17 0-1.756-.62-1.756-1.858 0-.604.163-1.031.487-1.28.325-.257.824-.408 1.496-.453l1.212-.091v-.351c0-.234-.053-.393-.159-.476-.106-.09-.275-.136-.51-.136l-2.13.09-.045-1.053a8.8 8.8 0 0 1 2.3-.328c.733 0 1.258.15 1.575.453.325.302.487.785.487 1.45v.001Zm-2.549 1.495c-.423.038-.634.264-.634.68 0 .415.185.623.555.623.287 0 .6-.045.94-.136l.17-.045v-1.213l-1.031.091Zm4.064 2.402v-7.93h1.518v7.93H81.389Zm3.053 0v-7.93h1.519v7.93h-1.519Zm2.748-4.905.532-2.799h1.598l-.963 2.798H87.19v.001Zm4.746 2.333c0 .899.456 1.348 1.37 1.348.914 0 1.371-.45 1.371-1.348v-5.132h1.563v5.098c0 .944-.245 1.64-.736 2.085-.483.438-1.216.657-2.198.657-.981 0-1.718-.22-2.209-.657-.483-.446-.725-1.14-.725-2.085v-5.098h1.564v5.132Zm7.243 2.572h-1.518v-5.665h1.507v.318c.513-.302.986-.453 1.416-.453.755 0 1.276.222 1.563.668.287.445.431 1.133.431 2.062v3.07h-1.518v-3.025c0-.483-.057-.838-.17-1.065-.113-.234-.34-.351-.68-.351-.31 0-.608.053-.895.159l-.136.045v4.237Zm4.744 0v-5.665h1.518v5.665h-1.518Zm0-6.39v-1.54h1.518v1.54h-1.518Zm3.226 1.371c.401-.52 1.069-.781 2.006-.781.936 0 1.604.26 2.005.781.4.514.6 1.239.6 2.175 0 1.987-.868 2.98-2.605 2.98s-2.606-.993-2.606-2.98c0-.936.2-1.661.6-2.175Zm1.167 3.456c.159.271.438.407.839.407.4 0 .676-.136.827-.407.158-.272.237-.7.237-1.28 0-.582-.079-1.005-.237-1.27-.151-.264-.427-.396-.827-.396-.401 0-.68.132-.839.397-.151.264-.226.687-.226 1.268 0 .582.075 1.009.226 1.28v.001Zm6.075 1.563h-1.518v-5.665h1.507v.318c.513-.302.985-.453 1.416-.453.755 0 1.276.222 1.563.668.287.445.431 1.133.431 2.062v3.07h-1.518v-3.025c0-.483-.057-.838-.17-1.065-.114-.234-.34-.351-.68-.351-.31 0-.608.053-.895.159l-.136.045v4.237Zm5.99-2.187c.007.348.098.6.272.76.181.15.438.226.77.226.702 0 1.329-.023 1.881-.068l.317-.034.022 1.121c-.868.212-1.654.318-2.356.318-.853 0-1.473-.227-1.858-.68-.385-.453-.578-1.19-.578-2.21 0-2.03.835-3.046 2.504-3.046 1.646 0 2.47.853 2.47 2.56l-.114 1.053h-3.33Zm1.948-1.155c0-.453-.071-.767-.215-.94-.143-.182-.396-.272-.759-.272-.355 0-.608.094-.759.283-.143.181-.219.49-.227.929h1.96Zm6.316 1.155c.007.348.098.6.272.76.181.15.438.226.77.226.703 0 1.329-.023 1.881-.068l.317-.034.023 1.121c-.869.212-1.654.318-2.357.318-.853 0-1.473-.227-1.858-.68-.385-.453-.577-1.19-.577-2.21 0-2.03.834-3.046 2.503-3.046 1.647 0 2.47.853 2.47 2.56l-.113 1.053h-3.331Zm1.948-1.155c0-.453-.071-.767-.215-.94-.143-.182-.396-.272-.759-.272-.355 0-.608.094-.759.283-.143.181-.219.49-.226.929h1.959Zm5.923-2.323h1.518v5.665h-1.507v-.317c-.544.302-1.016.453-1.416.453-.786 0-1.314-.216-1.586-.646-.272-.438-.408-1.167-.408-2.186v-2.969h1.518v2.991c0 .56.045.94.136 1.144.091.204.31.306.657.306.332 0 .646-.053.94-.158l.148-.046v-4.237Zm2.919 5.665v-5.665h1.507v.6c.635-.377 1.239-.622 1.813-.735v1.529c-.612.128-1.137.26-1.575.396l-.227.08v3.795h-1.518Zm4.521-5.019c.401-.52 1.069-.781 2.005-.781.937 0 1.605.26 2.006.781.4.514.6 1.239.6 2.175 0 1.987-.868 2.98-2.606 2.98-1.737 0-2.605-.993-2.605-2.98 0-.936.2-1.661.6-2.175Zm1.167 3.456c.159.271.438.407.838.407.401 0 .676-.136.827-.407.159-.272.238-.7.238-1.28 0-.582-.079-1.005-.238-1.27-.151-.264-.426-.396-.827-.396-.4 0-.679.132-.838.397-.151.264-.226.687-.226 1.268 0 .582.075 1.009.226 1.28v.001Zm4.557 3.942v-8.044h1.507v.306c.49-.294.921-.441 1.291-.441.763 0 1.325.23 1.688.69.362.454.544 1.228.544 2.323s-.2 1.858-.601 2.288c-.4.423-1.057.635-1.971.635-.249 0-.517-.023-.804-.068l-.136-.023v2.334h-1.518Zm2.503-6.82a2.3 2.3 0 0 0-.849.17l-.136.057v2.968c.34.045.615.068.827.068.438 0 .736-.129.895-.386.166-.256.249-.694.249-1.314 0-1.042-.329-1.563-.986-1.563Zm4.905 2.254c.008.348.098.6.272.76.181.15.438.226.77.226.703 0 1.33-.023 1.881-.068l.317-.034.023 1.121c-.869.212-1.654.318-2.357.318-.853 0-1.472-.227-1.858-.68-.385-.453-.577-1.19-.577-2.21 0-2.03.834-3.046 2.503-3.046 1.647 0 2.47.853 2.47 2.56l-.113 1.053h-3.331Zm1.949-1.155c0-.453-.072-.767-.216-.94-.143-.182-.396-.272-.759-.272-.355 0-.608.094-.759.283-.143.181-.219.49-.226.929h1.96Zm6.919-.555V23.3c.015.181.045.31.09.385.046.068.14.117.284.148l-.046 1.144a4.36 4.36 0 0 1-.929-.08 2.088 2.088 0 0 1-.691-.317 3.77 3.77 0 0 1-1.665.397c-1.171 0-1.756-.62-1.756-1.858 0-.604.162-1.031.487-1.28.325-.257.823-.408 1.496-.453l1.212-.091v-.351c0-.234-.053-.393-.159-.476-.106-.09-.276-.136-.51-.136l-2.129.09-.046-1.053a8.801 8.801 0 0 1 2.3-.328c.733 0 1.257.15 1.575.453.324.302.487.785.487 1.45v.001Zm-2.549 1.495c-.423.038-.635.264-.635.68 0 .415.185.623.555.623.287 0 .601-.045.941-.136l.17-.045v-1.213l-1.031.091Z"/><path fill="#164194" stroke="#FFF" d="M.5 39.57V.774h58.046v38.798H.5z"/><path fill="#FC0" d="m28.252 8.944 1.25-.926 1.248.926-.478-1.495 1.27-.904H29.98l-.479-1.516-.479 1.516h-1.561l1.27.905-.479 1.494Zm-6.432 1.748 1.229-.926 1.25.926-.459-1.494 1.25-.905h-1.562l-.48-1.516-.478 1.516h-1.54l1.248.905-.457 1.494h-.001Zm-3.477.863-.479 1.515h-1.561l1.27.926-.48 1.473 1.25-.905 1.25.905-.48-1.473 1.27-.926h-1.561l-.479-1.515Zm-1.728 9.512 1.249.905-.48-1.474 1.271-.926h-1.562l-.478-1.494-.48 1.494h-1.56l1.27.926-.48 1.474 1.25-.905Zm2.207 5.029-.479-1.494-.479 1.494h-1.561l1.27.926-.48 1.494 1.25-.926 1.25.926-.48-1.494 1.27-.926h-1.561Zm4.727 4.777-.48-1.494-.478 1.515-1.562-.02 1.27.925-.479 1.494 1.25-.926 1.249.926-.479-1.494 1.27-.926h-1.561Zm6.431 1.747-.479-1.514-.479 1.515h-1.561l1.27.905-.479 1.494 1.25-.926 1.248.926-.478-1.494 1.27-.905H29.98v-.001Zm6.434-1.747-.458-1.494-.479 1.515-1.561-.02 1.25.925-.459 1.494 1.25-.926 1.228.926-.458-1.494 1.249-.926h-1.562Zm4.748-4.777-.479-1.494-.479 1.494h-1.561l1.27.926-.48 1.494 1.25-.926 1.228.926-.458-1.494 1.25-.926h-1.541Zm3.268-6.546h-1.56l-.479-1.493-.479 1.494H40.35l1.27.926-.48 1.494 1.25-.926 1.25.926-.48-1.494 1.27-.926v-.001Zm-4.996-4.102 1.249-.905 1.228.905-.458-1.474 1.25-.925h-1.541l-.479-1.516-.479 1.516h-1.561l1.27.925-.48 1.474h.001Zm-3.477-8.671-.479 1.516h-1.54l1.249.926-.458 1.473 1.228-.926 1.25.926-.48-1.473 1.27-.926h-1.561l-.479-1.516Z"/><path fill="#FFF" d="M68.594 38v-5.727h1.125l2.344 3.825v-3.825h1.074V38h-1.16l-2.309-3.734V38h-1.074Zm8.164-1.32 1.094.183c-.141.401-.364.707-.668.918-.302.209-.681.313-1.137.313-.721 0-1.255-.236-1.602-.707-.273-.378-.41-.854-.41-1.43 0-.688.18-1.225.54-1.613.359-.39.813-.586 1.362-.586.618 0 1.105.204 1.461.613.357.406.528 1.03.512 1.871h-2.75c.008.326.097.58.266.762.17.18.38.27.633.27a.672.672 0 0 0 .433-.141c.117-.094.206-.245.266-.453Zm.062-1.11c-.007-.317-.09-.558-.246-.722a.752.752 0 0 0-.57-.25.762.762 0 0 0-.594.261c-.156.175-.233.412-.23.711h1.64ZM78.281 38l1.496-2.137-1.433-2.011h1.34l.734 1.14.773-1.14h1.29l-1.407 1.964L82.61 38h-1.347l-.844-1.285L79.566 38h-1.285Zm6.883-4.148v.875h-.75v1.671c0 .339.007.537.02.594.015.055.048.1.097.137a.319.319 0 0 0 .188.055c.101 0 .248-.036.441-.106l.094.852a2.17 2.17 0 0 1-.867.164 1.4 1.4 0 0 1-.535-.098.815.815 0 0 1-.352-.258 1.052 1.052 0 0 1-.152-.43c-.024-.127-.035-.385-.035-.773v-1.808h-.504v-.875h.504v-.825l1.101-.64v1.465h.75Zm3.434 2.043v-.965h2.492v2.28c-.242.235-.594.442-1.055.622a3.841 3.841 0 0 1-1.394.266c-.6 0-1.122-.125-1.567-.375a2.41 2.41 0 0 1-1.004-1.078c-.226-.477-.34-1-.336-1.528 0-.596.125-1.126.375-1.59.25-.463.616-.819 1.098-1.066.367-.19.824-.285 1.371-.285.711 0 1.266.15 1.664.449.401.297.659.708.774 1.234l-1.149.215a1.2 1.2 0 0 0-.457-.664c-.221-.164-.498-.246-.832-.246-.505 0-.907.16-1.207.48-.297.32-.445.796-.445 1.426 0 .68.15 1.19.453 1.532.302.338.698.507 1.187.507.243 0 .485-.047.727-.14a2.54 2.54 0 0 0 .629-.348v-.727h-1.324v.001Zm5.957.785 1.093.183c-.14.401-.363.707-.667.918-.303.209-.681.313-1.137.313-.722 0-1.255-.236-1.602-.707-.273-.378-.41-.854-.41-1.43 0-.688.18-1.225.54-1.613.359-.39.813-.586 1.362-.586.618 0 1.105.204 1.461.613.357.406.528 1.03.512 1.871h-2.75c.008.326.096.58.266.762.169.18.38.27.633.27a.672.672 0 0 0 .433-.141c.117-.094.206-.245.266-.453Zm.062-1.11c-.008-.317-.09-.558-.246-.722a.752.752 0 0 0-.57-.25.762.762 0 0 0-.594.261c-.156.175-.233.412-.23.711h1.64ZM100.38 38h-1.098v-2.117c0-.448-.023-.737-.07-.867a.605.605 0 0 0-.23-.309.644.644 0 0 0-.38-.11.88.88 0 0 0-.511.157.798.798 0 0 0-.313.414c-.054.172-.082.49-.082.953V38h-1.097v-4.148h1.02v.609c.361-.469.817-.703 1.366-.703.243 0 .464.044.664.133.201.086.352.196.454.332.104.135.175.289.214.46a3.3 3.3 0 0 1 .063.739V38Zm3.519-1.32 1.094.183c-.14.401-.363.707-.668.918-.302.209-.681.313-1.136.313-.722 0-1.256-.236-1.602-.707-.274-.378-.41-.854-.41-1.43 0-.688.179-1.225.539-1.613.359-.39.814-.586 1.363-.586.617 0 1.104.204 1.461.613.357.406.527 1.03.512 1.871h-2.75c.008.326.096.58.265.762.17.18.381.27.633.27a.672.672 0 0 0 .434-.141c.117-.094.206-.245.265-.453Zm.063-1.11c-.008-.317-.09-.558-.246-.722a.753.753 0 0 0-.57-.25.762.762 0 0 0-.594.261c-.156.175-.233.412-.231.711h1.641ZM107 38h-1.098v-4.148h1.02v.59c.174-.28.331-.463.469-.551a.873.873 0 0 1 .476-.133c.25 0 .491.069.723.207l-.34.957c-.185-.12-.357-.18-.516-.18a.603.603 0 0 0-.39.13c-.107.082-.192.235-.254.456-.06.221-.09.685-.09 1.39V38Zm2.887-2.883-.996-.18c.112-.4.304-.697.578-.89.273-.193.679-.29 1.219-.29.489 0 .854.06 1.093.177.24.114.408.261.504.441.099.177.149.504.149.98l-.012 1.282c0 .364.017.634.051.808.036.172.103.357.199.555h-1.086a3.989 3.989 0 0 1-.106-.324 1.738 1.738 0 0 0-.039-.13 1.976 1.976 0 0 1-.601.411c-.216.092-.45.138-.684.137-.427 0-.764-.116-1.011-.348a1.158 1.158 0 0 1-.368-.879c0-.234.056-.442.168-.625a1.09 1.09 0 0 1 .469-.422c.203-.099.495-.185.875-.258.513-.096.869-.186 1.066-.269v-.11c0-.21-.052-.36-.156-.449-.104-.09-.301-.136-.59-.136-.195 0-.347.039-.457.117-.109.075-.198.21-.265.402Zm1.468.89c-.14.048-.363.104-.667.169-.305.065-.504.129-.598.191a.459.459 0 0 0-.215.387c0 .154.057.286.172.398.114.112.26.168.437.168a.953.953 0 0 0 .567-.195.682.682 0 0 0 .261-.363c.029-.094.043-.272.043-.535v-.22Zm4.067-2.155v.875h-.75v1.671c0 .339.006.537.019.594a.26.26 0 0 0 .098.137.32.32 0 0 0 .188.055c.101 0 .248-.036.441-.106l.094.852c-.255.11-.545.164-.867.164-.198 0-.377-.033-.536-.098a.816.816 0 0 1-.351-.258 1.057 1.057 0 0 1-.153-.43c-.023-.127-.035-.385-.035-.773v-1.808h-.504v-.875h.504v-.825l1.102-.64v1.465h.75Zm.762-.563v-1.016h1.097v1.016h-1.097Zm0 4.711v-4.148h1.097V38h-1.097Zm1.972-2.133c0-.364.09-.717.27-1.058.179-.342.433-.602.762-.782.33-.18.699-.27 1.105-.27.628 0 1.142.205 1.543.614.401.406.602.92.602 1.543 0 .628-.204 1.148-.61 1.563-.404.411-.913.617-1.527.617a2.42 2.42 0 0 1-1.09-.258 1.767 1.767 0 0 1-.785-.754c-.18-.333-.27-.738-.27-1.215Zm1.125.059c0 .411.098.726.293.945.18.212.445.332.723.328a.92.92 0 0 0 .719-.328c.195-.219.293-.536.293-.953 0-.406-.098-.719-.293-.938a.92.92 0 0 0-.719-.328.932.932 0 0 0-.723.328c-.195.22-.293.534-.293.946ZM127.074 38h-1.097v-2.117c0-.448-.024-.737-.071-.867a.604.604 0 0 0-.23-.309.645.645 0 0 0-.379-.11.88.88 0 0 0-.512.157.795.795 0 0 0-.312.414c-.055.172-.082.49-.082.953V38h-1.098v-4.148h1.019v.609c.362-.469.818-.703 1.368-.703.242 0 .463.044.664.133.2.086.351.196.453.332.104.135.176.289.215.46.041.172.062.419.062.739V38Zm1.125 0v-5.727h4.246v.97h-3.09v1.269h2.875v.965h-2.875v1.558h3.2V38h-4.356Zm5.328-5.727h1.157v3.102c0 .492.014.811.043.957a.935.935 0 0 0 .351.566c.188.141.443.211.766.211.328 0 .575-.066.742-.199a.802.802 0 0 0 .301-.496c.034-.195.051-.52.051-.973v-3.168h1.156v3.008c0 .688-.032 1.173-.094 1.457a1.59 1.59 0 0 1-.348.719c-.166.195-.39.352-.672.469-.281.114-.648.172-1.101.172-.547 0-.962-.063-1.246-.188a1.812 1.812 0 0 1-.668-.492 1.593 1.593 0 0 1-.324-.637c-.076-.328-.114-.812-.114-1.453v-3.055Z"/></g></svg>
|
|
@@ -170,7 +170,7 @@ const SearchModal = ({ closeModal, show }) => {
|
|
|
170
170
|
const location = useLocation();
|
|
171
171
|
|
|
172
172
|
const [advancedSearch, setAdvancedSearch] = useState(false);
|
|
173
|
-
const [advancedTab, setAdvancedTab] = useState(
|
|
173
|
+
const [advancedTab, setAdvancedTab] = useState(null);
|
|
174
174
|
const [searchableText, setSearchableText] = useState(
|
|
175
175
|
qs.parse(location.search)?.SearchableText ?? '',
|
|
176
176
|
);
|
|
@@ -192,16 +192,48 @@ const SearchModal = ({ closeModal, show }) => {
|
|
|
192
192
|
dispatch(getSearchFilters());
|
|
193
193
|
}, []);
|
|
194
194
|
|
|
195
|
+
const handleBackTabbingFromPane = (event) => {
|
|
196
|
+
if (event.shiftKey && event.key === 'Tab') {
|
|
197
|
+
const activeTab = document.querySelectorAll('[aria-selected=true] a')[0];
|
|
198
|
+
if (!activeTab) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
const firstSectionItem = document.querySelectorAll(
|
|
202
|
+
'[role="tabpanel"][aria-expanded="true"] input',
|
|
203
|
+
)[0];
|
|
204
|
+
const lastFocusedElement = document.activeElement;
|
|
205
|
+
const modal = document.querySelectorAll('div.modal[role="dialog"]')[0];
|
|
206
|
+
// That input is nasty, make exception in logic
|
|
207
|
+
const isModalContainer =
|
|
208
|
+
modal === lastFocusedElement ||
|
|
209
|
+
lastFocusedElement === document.getElementById('options-date-end');
|
|
210
|
+
if (
|
|
211
|
+
lastFocusedElement === firstSectionItem ||
|
|
212
|
+
!lastFocusedElement ||
|
|
213
|
+
isModalContainer
|
|
214
|
+
) {
|
|
215
|
+
event.preventDefault(); // Prevent default Shift+Tab behavior
|
|
216
|
+
activeTab.focus();
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
useEffect(() => {
|
|
221
|
+
document.addEventListener('keydown', handleBackTabbingFromPane);
|
|
222
|
+
return () => {
|
|
223
|
+
document.removeEventListener('keydown', handleBackTabbingFromPane);
|
|
224
|
+
};
|
|
225
|
+
}, []);
|
|
226
|
+
|
|
195
227
|
useEffect(() => {
|
|
196
228
|
if (show) {
|
|
197
229
|
setTimeout(() => {
|
|
198
|
-
inputRef.current.focus(); //setta il focus sul campo di ricerca all'apertura della modale
|
|
230
|
+
inputRef.current && inputRef.current.focus(); //setta il focus sul campo di ricerca all'apertura della modale
|
|
199
231
|
}, 100);
|
|
200
232
|
document.body.classList.add('search-modal-opened'); //to prevent scroll body
|
|
201
233
|
} else {
|
|
202
234
|
document.body.classList.remove('search-modal-opened'); //re-enable scroll body
|
|
203
235
|
}
|
|
204
|
-
}, [show]);
|
|
236
|
+
}, [show, inputRef]);
|
|
205
237
|
|
|
206
238
|
useEffect(() => {
|
|
207
239
|
if (Object.keys(searchFilters?.sections ?? {}).length > 0) {
|
|
@@ -365,14 +397,6 @@ const SearchModal = ({ closeModal, show }) => {
|
|
|
365
397
|
aria-label={intl.formatMessage(messages.searchLabel)}
|
|
366
398
|
aria-describedby="search-button"
|
|
367
399
|
ref={inputRef}
|
|
368
|
-
// ref={(input) => {
|
|
369
|
-
// console.log('----');
|
|
370
|
-
// if (input) {
|
|
371
|
-
// setTimeout(() => {
|
|
372
|
-
// input.focus();
|
|
373
|
-
// }, 100);
|
|
374
|
-
// }
|
|
375
|
-
// }}
|
|
376
400
|
/>
|
|
377
401
|
<a
|
|
378
402
|
href={getSearchParamsURL(
|
|
@@ -640,6 +664,7 @@ const SearchModal = ({ closeModal, show }) => {
|
|
|
640
664
|
href="#"
|
|
641
665
|
active={advancedTab === 'sections'}
|
|
642
666
|
onClick={() => setAdvancedTab('sections')}
|
|
667
|
+
id={'sections'}
|
|
643
668
|
>
|
|
644
669
|
<span>{intl.formatMessage(messages.sections)}</span>
|
|
645
670
|
</NavLink>
|
|
@@ -654,6 +679,7 @@ const SearchModal = ({ closeModal, show }) => {
|
|
|
654
679
|
href="#"
|
|
655
680
|
active={advancedTab === 'topics'}
|
|
656
681
|
onClick={() => setAdvancedTab('topics')}
|
|
682
|
+
id={'topics'}
|
|
657
683
|
>
|
|
658
684
|
<span>{intl.formatMessage(messages.topics)}</span>
|
|
659
685
|
</NavLink>
|
|
@@ -667,6 +693,7 @@ const SearchModal = ({ closeModal, show }) => {
|
|
|
667
693
|
href="#"
|
|
668
694
|
active={advancedTab === 'options'}
|
|
669
695
|
onClick={() => setAdvancedTab('options')}
|
|
696
|
+
id={'options'}
|
|
670
697
|
>
|
|
671
698
|
<span>{intl.formatMessage(messages.options)}</span>
|
|
672
699
|
</NavLink>
|