optimized-react-component-library-xyz123 0.23.9 → 0.24.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/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +476 -503
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +476 -503
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +5 -9
- package/src/css/questions.css +0 -5
package/dist/index.mjs
CHANGED
|
@@ -1,32 +1,12 @@
|
|
|
1
|
-
// src/components/layout/ValidationMessage/ValidationMessage.tsx
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
var ValidationSummary = ({
|
|
4
|
-
validationMessesege,
|
|
5
|
-
validationId,
|
|
6
|
-
activatedLanguage = "sv",
|
|
7
|
-
showValidationMessage = false,
|
|
8
|
-
extraCssClass = ""
|
|
9
|
-
}) => {
|
|
10
|
-
return showValidationMessage && /* @__PURE__ */ jsxs("div", { className: `pts-root-error ${extraCssClass}`, id: validationId, children: [
|
|
11
|
-
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "pts-validation-error-icon", children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: [
|
|
12
|
-
/* @__PURE__ */ jsx("rect", { width: "16", height: "16", rx: "8", fill: "#8E0039" }),
|
|
13
|
-
/* @__PURE__ */ jsx("path", { d: "M7.45996 10.4268L6.96094 5.34082V2.98926H9.03906V5.34082L8.54688 10.4268H7.45996ZM7.04297 13.0107V11.0898H8.96387V13.0107H7.04297Z", fill: "white" })
|
|
14
|
-
] }) }),
|
|
15
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: activatedLanguage === "sv" ? "Valideringsfel" : "Validation error" }),
|
|
16
|
-
/* @__PURE__ */ jsx("span", { className: "errorText", children: validationMessesege })
|
|
17
|
-
] });
|
|
18
|
-
};
|
|
19
|
-
var ValidationMessage_default = ValidationSummary;
|
|
20
|
-
|
|
21
1
|
// src/components/input-components/RadioMultipleStandard/RadioMultipleStandard.tsx
|
|
22
|
-
import { Fragment, jsx
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
23
3
|
var InputRadio = ({
|
|
24
4
|
question,
|
|
25
5
|
handleQuestionInputChange,
|
|
26
6
|
showPreview = false,
|
|
27
7
|
activatedLanguage = "sv"
|
|
28
8
|
}) => {
|
|
29
|
-
var _a
|
|
9
|
+
var _a;
|
|
30
10
|
const questionId = `question-${question.id}`;
|
|
31
11
|
const groupId = `radio-group-${question.id}`;
|
|
32
12
|
const errorId = `error-${question.id}`;
|
|
@@ -34,21 +14,21 @@ var InputRadio = ({
|
|
|
34
14
|
const e = { target: { value: event.target.value } };
|
|
35
15
|
handleQuestionInputChange(e, question);
|
|
36
16
|
};
|
|
37
|
-
return /* @__PURE__ */
|
|
38
|
-
!showPreview && question.visible && /* @__PURE__ */
|
|
17
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18
|
+
!showPreview && question.visible && /* @__PURE__ */ jsx("div", { className: "pts-root-question pts-radioMultiple-container", id: questionId, children: /* @__PURE__ */ jsxs(
|
|
39
19
|
"fieldset",
|
|
40
20
|
{
|
|
41
21
|
"aria-required": question.isQuestionMandatory,
|
|
42
22
|
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
43
23
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
44
24
|
children: [
|
|
45
|
-
/* @__PURE__ */
|
|
25
|
+
/* @__PURE__ */ jsxs("legend", { id: `label-${groupId}`, children: [
|
|
46
26
|
question.questionLabel,
|
|
47
27
|
" ",
|
|
48
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
28
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
49
29
|
] }),
|
|
50
|
-
(_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */
|
|
30
|
+
(_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ jsxs("div", { className: "pts-radio-option", children: [
|
|
31
|
+
/* @__PURE__ */ jsx(
|
|
52
32
|
"input",
|
|
53
33
|
{
|
|
54
34
|
type: "radio",
|
|
@@ -59,36 +39,32 @@ var InputRadio = ({
|
|
|
59
39
|
onChange: handleInputChange
|
|
60
40
|
}
|
|
61
41
|
),
|
|
62
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ jsx("label", { htmlFor: `${groupId}-option-${index}`, children: option.label }),
|
|
63
43
|
" "
|
|
64
44
|
] }, index)),
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
|
|
67
|
-
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
validationMessesege: (_c = question.validationDefaultMessesege) != null ? _c : "",
|
|
71
|
-
activatedLanguage
|
|
72
|
-
}
|
|
73
|
-
)
|
|
45
|
+
question.hasValidationError && /* @__PURE__ */ jsxs("div", { className: "pts-root-error", id: errorId, children: [
|
|
46
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
47
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
48
|
+
/* @__PURE__ */ jsx("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
49
|
+
] })
|
|
74
50
|
]
|
|
75
51
|
}
|
|
76
52
|
) }),
|
|
77
|
-
showPreview && /* @__PURE__ */
|
|
53
|
+
showPreview && /* @__PURE__ */ jsx(PreviewRadio, { question, activatedLanguage })
|
|
78
54
|
] });
|
|
79
55
|
};
|
|
80
56
|
var RadioMultipleStandard_default = InputRadio;
|
|
81
|
-
var PreviewRadio = ({ question }) => {
|
|
57
|
+
var PreviewRadio = ({ question, activatedLanguage }) => {
|
|
82
58
|
var _a, _b;
|
|
83
59
|
const previewId = `preview-${question.id}`;
|
|
84
|
-
return /* @__PURE__ */
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */
|
|
60
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
61
|
+
/* @__PURE__ */ jsx("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
62
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx("dd", { className: "pts-radioMultiple-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer }) : /* @__PURE__ */ jsx(
|
|
87
63
|
"dd",
|
|
88
64
|
{
|
|
89
65
|
className: "pts-radioMultiple-preview pts-root-answer no-answer-preview-page",
|
|
90
66
|
id: `answer-${previewId}`,
|
|
91
|
-
children: "Inget svar"
|
|
67
|
+
children: activatedLanguage === "en" ? "No answer" : "Inget svar"
|
|
92
68
|
}
|
|
93
69
|
)
|
|
94
70
|
] });
|
|
@@ -96,7 +72,7 @@ var PreviewRadio = ({ question }) => {
|
|
|
96
72
|
|
|
97
73
|
// src/components/input-components/MultipleCheckboxesStandard/MultipleCheckboxesStandard.tsx
|
|
98
74
|
import { useEffect, useState } from "react";
|
|
99
|
-
import { Fragment as Fragment2, jsx as
|
|
75
|
+
import { Fragment as Fragment2, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
100
76
|
var MultipleCheckboxes = ({
|
|
101
77
|
question,
|
|
102
78
|
handleQuestionInputChange,
|
|
@@ -126,17 +102,17 @@ var MultipleCheckboxes = ({
|
|
|
126
102
|
const e = { target: { value: updatedValues.toString() } };
|
|
127
103
|
handleQuestionInputChange(e, question);
|
|
128
104
|
};
|
|
129
|
-
return /* @__PURE__ */
|
|
130
|
-
!showPreview && question.visible && /* @__PURE__ */
|
|
131
|
-
/* @__PURE__ */
|
|
105
|
+
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
106
|
+
!showPreview && question.visible && /* @__PURE__ */ jsx2("div", { id: questionId, className: "pts-root-question pts-multipleCheckboxes-container", children: /* @__PURE__ */ jsxs2("fieldset", { children: [
|
|
107
|
+
/* @__PURE__ */ jsxs2("legend", { className: "multipleCheckboxes-legend", id: `label-${questionId}`, children: [
|
|
132
108
|
question.questionLabel,
|
|
133
109
|
" ",
|
|
134
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
110
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx2("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
135
111
|
" "
|
|
136
112
|
] }),
|
|
137
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ jsx2("ul", { children: (_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ jsx2("li", { children: /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
138
114
|
" ",
|
|
139
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ jsx2(
|
|
140
116
|
"input",
|
|
141
117
|
{
|
|
142
118
|
type: "checkbox",
|
|
@@ -148,11 +124,11 @@ var MultipleCheckboxes = ({
|
|
|
148
124
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0
|
|
149
125
|
}
|
|
150
126
|
),
|
|
151
|
-
/* @__PURE__ */
|
|
127
|
+
/* @__PURE__ */ jsx2("label", { htmlFor: `${question.id}-option-${index}`, children: option.label })
|
|
152
128
|
] }) }, index)) })
|
|
153
129
|
] }) }),
|
|
154
130
|
" ",
|
|
155
|
-
showPreview && /* @__PURE__ */
|
|
131
|
+
showPreview && /* @__PURE__ */ jsx2(PrevieMultipleCheckboxes, { activatedLanguage, question })
|
|
156
132
|
] });
|
|
157
133
|
};
|
|
158
134
|
var MultipleCheckboxesStandard_default = MultipleCheckboxes;
|
|
@@ -162,26 +138,26 @@ var PrevieMultipleCheckboxes = ({
|
|
|
162
138
|
}) => {
|
|
163
139
|
var _a, _b;
|
|
164
140
|
const previewId = `preview-${question.id}`;
|
|
165
|
-
return /* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */
|
|
141
|
+
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
142
|
+
/* @__PURE__ */ jsx2("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
143
|
+
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */ jsx2("dd", { children: question.options[0].label }) : /* @__PURE__ */ jsx2("dd", { children: /* @__PURE__ */ jsx2("ul", { className: "pts-preview-answer-list", children: (_b = question.options) == null ? void 0 : _b.filter((option) => {
|
|
168
144
|
var _a2;
|
|
169
145
|
return (_a2 = question.answer) == null ? void 0 : _a2.includes(option.label);
|
|
170
|
-
}).map((option, index) => /* @__PURE__ */
|
|
146
|
+
}).map((option, index) => /* @__PURE__ */ jsx2("li", { children: option.label }, index)) }) }) : /* @__PURE__ */ jsx2("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No Answer" : "Inget svar" }),
|
|
171
147
|
" "
|
|
172
148
|
] });
|
|
173
149
|
};
|
|
174
150
|
|
|
175
151
|
// src/components/input-components/CheckboxGroupStandard/CheckboxGroupStandard.tsx
|
|
176
152
|
import { useEffect as useEffect2, useState as useState2 } from "react";
|
|
177
|
-
import { Fragment as Fragment3, jsx as
|
|
153
|
+
import { Fragment as Fragment3, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
178
154
|
var CheckboxGroup = ({
|
|
179
155
|
question,
|
|
180
156
|
handleQuestionInputChange,
|
|
181
157
|
showPreview = false,
|
|
182
158
|
activatedLanguage = "sv"
|
|
183
159
|
}) => {
|
|
184
|
-
var _a
|
|
160
|
+
var _a;
|
|
185
161
|
const questionId = `question-${question.id}`;
|
|
186
162
|
const errorId = `error-${question.id}`;
|
|
187
163
|
const groupId = `checkbox-group-${question.id}`;
|
|
@@ -205,21 +181,21 @@ var CheckboxGroup = ({
|
|
|
205
181
|
const e = { target: { value: updatedValues.toString() } };
|
|
206
182
|
handleQuestionInputChange(e, question);
|
|
207
183
|
};
|
|
208
|
-
return /* @__PURE__ */
|
|
209
|
-
!showPreview && question.visible && /* @__PURE__ */
|
|
184
|
+
return /* @__PURE__ */ jsxs3(Fragment3, { children: [
|
|
185
|
+
!showPreview && question.visible && /* @__PURE__ */ jsx3("div", { id: questionId, className: "pts-root-question pts-checkboxGroup-container", children: /* @__PURE__ */ jsxs3(
|
|
210
186
|
"fieldset",
|
|
211
187
|
{
|
|
212
188
|
"aria-required": question.isQuestionMandatory,
|
|
213
189
|
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
214
190
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
215
191
|
children: [
|
|
216
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ jsxs3("legend", { className: "pts-checkboxGroup-legend", id: `label-${groupId}`, children: [
|
|
217
193
|
question.questionLabel,
|
|
218
194
|
" ",
|
|
219
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
195
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx3("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
220
196
|
] }),
|
|
221
|
-
(_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */
|
|
222
|
-
/* @__PURE__ */
|
|
197
|
+
(_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ jsxs3("div", { className: "pts-checkboxGroup-options", children: [
|
|
198
|
+
/* @__PURE__ */ jsx3(
|
|
223
199
|
"input",
|
|
224
200
|
{
|
|
225
201
|
type: "checkbox",
|
|
@@ -231,21 +207,17 @@ var CheckboxGroup = ({
|
|
|
231
207
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0
|
|
232
208
|
}
|
|
233
209
|
),
|
|
234
|
-
/* @__PURE__ */
|
|
210
|
+
/* @__PURE__ */ jsx3("label", { htmlFor: `${groupId}-option-${index}`, children: option.label })
|
|
235
211
|
] }, index)),
|
|
236
|
-
/* @__PURE__ */
|
|
237
|
-
|
|
238
|
-
{
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
validationMessesege: (_c = question.validationDefaultMessesege) != null ? _c : "",
|
|
242
|
-
activatedLanguage
|
|
243
|
-
}
|
|
244
|
-
)
|
|
212
|
+
question.hasValidationError && /* @__PURE__ */ jsxs3("div", { className: "pts-root-error", id: errorId, children: [
|
|
213
|
+
/* @__PURE__ */ jsx3("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
214
|
+
/* @__PURE__ */ jsx3("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
215
|
+
/* @__PURE__ */ jsx3("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
216
|
+
] })
|
|
245
217
|
]
|
|
246
218
|
}
|
|
247
219
|
) }),
|
|
248
|
-
showPreview && /* @__PURE__ */
|
|
220
|
+
showPreview && /* @__PURE__ */ jsx3(PreviewCheckboxGroup, { activatedLanguage, question })
|
|
249
221
|
] });
|
|
250
222
|
};
|
|
251
223
|
var CheckboxGroupStandard_default = CheckboxGroup;
|
|
@@ -255,44 +227,49 @@ var PreviewCheckboxGroup = ({
|
|
|
255
227
|
}) => {
|
|
256
228
|
var _a, _b;
|
|
257
229
|
const previewId = `preview-${question.id}`;
|
|
258
|
-
return /* @__PURE__ */
|
|
259
|
-
/* @__PURE__ */
|
|
260
|
-
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */
|
|
230
|
+
return /* @__PURE__ */ jsxs3(Fragment3, { children: [
|
|
231
|
+
/* @__PURE__ */ jsx3("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
232
|
+
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */ jsx3("dd", { children: question.options[0].label }) : /* @__PURE__ */ jsx3("dd", { children: /* @__PURE__ */ jsx3("ul", { className: "pts-preview-answer-list", children: (_b = question.options) == null ? void 0 : _b.filter((option) => {
|
|
261
233
|
var _a2;
|
|
262
234
|
return (_a2 = question.answer) == null ? void 0 : _a2.includes(option.label);
|
|
263
|
-
}).map((option, index) => /* @__PURE__ */
|
|
235
|
+
}).map((option, index) => /* @__PURE__ */ jsx3("li", { children: option.label }, index)) }) }) : /* @__PURE__ */ jsx3("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No Answer" : "Inget svar" }),
|
|
264
236
|
" "
|
|
265
237
|
] });
|
|
266
238
|
};
|
|
267
239
|
|
|
268
240
|
// src/components/input-components/TextAreaStandard/TextAreaStandard.tsx
|
|
269
241
|
import DOMPurify from "dompurify";
|
|
270
|
-
import { Fragment as Fragment4, jsx as
|
|
242
|
+
import { Fragment as Fragment4, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
271
243
|
var InputTextarea = ({
|
|
272
244
|
question,
|
|
273
245
|
handleQuestionInputChange,
|
|
274
246
|
showPreview = false,
|
|
275
247
|
activatedLanguage
|
|
276
248
|
}) => {
|
|
277
|
-
var _a, _b, _c, _d, _e
|
|
249
|
+
var _a, _b, _c, _d, _e;
|
|
278
250
|
const questionId = `question-${question.id}`;
|
|
279
251
|
const inputId = `textarea-${question.id}`;
|
|
280
252
|
const aboutId = `about-${question.id}`;
|
|
281
253
|
const errorId = `error-${question.id}`;
|
|
282
254
|
const defaultMaxLength = 1e3;
|
|
283
|
-
|
|
284
|
-
|
|
255
|
+
const answerLength = (_b = (_a = question.answer) == null ? void 0 : _a.length) != null ? _b : 0;
|
|
256
|
+
const maxLength = (_d = (_c = question.questionExtraAttribute) == null ? void 0 : _c.answerMaxLength) != null ? _d : defaultMaxLength;
|
|
257
|
+
const isTooLong = answerLength > maxLength;
|
|
258
|
+
const counterText = activatedLanguage === "en" ? `${answerLength} of ${maxLength} characters` : `${answerLength} av ${maxLength} tecken`;
|
|
259
|
+
const maxLengthErrorText = activatedLanguage === "en" ? `The text must be ${maxLength} characters or less` : `Texten f\xE5r max vara ${maxLength} tecken`;
|
|
260
|
+
return /* @__PURE__ */ jsxs4(Fragment4, { children: [
|
|
261
|
+
!showPreview && question.visible && /* @__PURE__ */ jsxs4(
|
|
285
262
|
"div",
|
|
286
263
|
{
|
|
287
264
|
id: questionId,
|
|
288
265
|
className: `pts-root-question pts-textArea-container${question.aboutText ? " pts-question-hasAbout" : ""}`,
|
|
289
266
|
children: [
|
|
290
|
-
/* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ jsxs4("label", { htmlFor: inputId, children: [
|
|
291
268
|
question.questionLabel,
|
|
292
269
|
" ",
|
|
293
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
270
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx4("span", { className: "pts-root-mandatoryAsterisk", "aria-hidden": "true", children: "*" })
|
|
294
271
|
] }),
|
|
295
|
-
question.aboutText && /* @__PURE__ */
|
|
272
|
+
question.aboutText && /* @__PURE__ */ jsx4(
|
|
296
273
|
"div",
|
|
297
274
|
{
|
|
298
275
|
id: aboutId,
|
|
@@ -302,7 +279,7 @@ var InputTextarea = ({
|
|
|
302
279
|
}
|
|
303
280
|
}
|
|
304
281
|
),
|
|
305
|
-
/* @__PURE__ */
|
|
282
|
+
/* @__PURE__ */ jsx4(
|
|
306
283
|
"textarea",
|
|
307
284
|
{
|
|
308
285
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0,
|
|
@@ -311,39 +288,25 @@ var InputTextarea = ({
|
|
|
311
288
|
required: question.isQuestionMandatory,
|
|
312
289
|
"aria-required": question.isQuestionMandatory,
|
|
313
290
|
"aria-invalid": question.hasValidationError,
|
|
314
|
-
maxLength: ((_a = question.questionExtraAttribute) == null ? void 0 : _a.answerMaxLength) || defaultMaxLength,
|
|
315
291
|
"aria-describedby": [question.aboutText ? aboutId : null, question.hasValidationError ? errorId : null].filter(Boolean).join(" ") || void 0,
|
|
316
292
|
id: inputId
|
|
317
293
|
}
|
|
318
294
|
),
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
321
|
-
|
|
322
|
-
{
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
),
|
|
329
|
-
!((_d = question.questionExtraAttribute) == null ? void 0 : _d.hideTextCounter) && /* @__PURE__ */ jsxs5(
|
|
330
|
-
"div",
|
|
331
|
-
{
|
|
332
|
-
className: `pts-character-counter ${question.answer && (((_e = question.questionExtraAttribute) == null ? void 0 : _e.answerMaxLength) || defaultMaxLength) && question.answer.length > (((_f = question.questionExtraAttribute) == null ? void 0 : _f.answerMaxLength) || defaultMaxLength) ? "error" : ""}`,
|
|
333
|
-
children: [
|
|
334
|
-
question.answer ? question.answer.length : 0,
|
|
335
|
-
" av",
|
|
336
|
-
" ",
|
|
337
|
-
((_g = question.questionExtraAttribute) == null ? void 0 : _g.answerMaxLength) || defaultMaxLength,
|
|
338
|
-
" tecken"
|
|
339
|
-
]
|
|
340
|
-
}
|
|
341
|
-
)
|
|
295
|
+
/* @__PURE__ */ jsxs4("div", { className: "pts-textarea-counter-error-container", children: [
|
|
296
|
+
!isTooLong && question.hasValidationError && /* @__PURE__ */ jsxs4("div", { className: "pts-root-error", id: errorId, children: [
|
|
297
|
+
/* @__PURE__ */ jsx4("span", { "aria-label": "Felmeddelande.", className: "errorDot", children: "!" }),
|
|
298
|
+
/* @__PURE__ */ jsx4("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
299
|
+
] }),
|
|
300
|
+
isTooLong && question.hasValidationError && /* @__PURE__ */ jsxs4("div", { className: "pts-root-error", id: errorId, children: [
|
|
301
|
+
/* @__PURE__ */ jsx4("span", { "aria-label": "Felmeddelande.", className: "errorDot", children: "!" }),
|
|
302
|
+
/* @__PURE__ */ jsx4("span", { className: "errorText", children: maxLengthErrorText })
|
|
303
|
+
] }),
|
|
304
|
+
!((_e = question.questionExtraAttribute) == null ? void 0 : _e.hideTextCounter) && /* @__PURE__ */ jsx4("div", { "aria-live": "polite", className: `pts-character-counter`, children: counterText })
|
|
342
305
|
] })
|
|
343
306
|
]
|
|
344
307
|
}
|
|
345
308
|
),
|
|
346
|
-
showPreview && /* @__PURE__ */
|
|
309
|
+
showPreview && /* @__PURE__ */ jsx4(PreviewTextarea, { activatedLanguage, question })
|
|
347
310
|
] });
|
|
348
311
|
};
|
|
349
312
|
var TextAreaStandard_default = InputTextarea;
|
|
@@ -353,9 +316,9 @@ var PreviewTextarea = ({
|
|
|
353
316
|
}) => {
|
|
354
317
|
var _a, _b;
|
|
355
318
|
const previewId = `preview-${question.id}`;
|
|
356
|
-
return /* @__PURE__ */
|
|
357
|
-
/* @__PURE__ */
|
|
358
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */
|
|
319
|
+
return /* @__PURE__ */ jsxs4(Fragment4, { children: [
|
|
320
|
+
/* @__PURE__ */ jsx4("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
321
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx4("dd", { className: "pts-textArea-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer }) : /* @__PURE__ */ jsx4(
|
|
359
322
|
"dd",
|
|
360
323
|
{
|
|
361
324
|
className: "pts-textArea-preview pts-root-answer no-answer-preview-page",
|
|
@@ -368,32 +331,35 @@ var PreviewTextarea = ({
|
|
|
368
331
|
|
|
369
332
|
// src/components/input-components/TextFieldStandard/TextFieldStandard.tsx
|
|
370
333
|
import DOMPurify2 from "dompurify";
|
|
371
|
-
import { Fragment as Fragment5, jsx as
|
|
334
|
+
import { Fragment as Fragment5, jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
372
335
|
var TextFieldStandard = ({
|
|
373
336
|
question,
|
|
374
337
|
handleQuestionInputChange,
|
|
375
338
|
showPreview = false,
|
|
376
339
|
activatedLanguage
|
|
377
340
|
}) => {
|
|
378
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n
|
|
341
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
379
342
|
const questionId = `question-${question.id}`;
|
|
380
343
|
const inputId = `textField-${question.id}`;
|
|
381
344
|
const aboutId = `about-${question.id}`;
|
|
382
345
|
const errorId = `error-${question.id}`;
|
|
383
|
-
const
|
|
384
|
-
|
|
385
|
-
|
|
346
|
+
const answerLength = (_b = (_a = question.answer) == null ? void 0 : _a.length) != null ? _b : 0;
|
|
347
|
+
const maxLength = 100;
|
|
348
|
+
const isTooLong = answerLength > maxLength;
|
|
349
|
+
const maxLengthErrorText = activatedLanguage === "en" ? `The text must be ${maxLength} characters or less` : `Texten f\xE5r max vara ${maxLength} tecken`;
|
|
350
|
+
return /* @__PURE__ */ jsxs5(Fragment5, { children: [
|
|
351
|
+
!showPreview && question.visible && /* @__PURE__ */ jsxs5(
|
|
386
352
|
"div",
|
|
387
353
|
{
|
|
388
354
|
id: questionId,
|
|
389
|
-
className: `pts-root-question pts-textField-container${((
|
|
355
|
+
className: `pts-root-question pts-textField-container${((_c = question.questionExtraAttribute) == null ? void 0 : _c.disabled) ? " pts-textField-disabled" : ""}${question.aboutText ? " pts-question-hasAbout" : ""}`.trim(),
|
|
390
356
|
children: [
|
|
391
|
-
/* @__PURE__ */
|
|
357
|
+
/* @__PURE__ */ jsxs5("label", { htmlFor: inputId, children: [
|
|
392
358
|
question.questionLabel,
|
|
393
359
|
" ",
|
|
394
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
360
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx5("span", { "aria-hidden": "true", className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
395
361
|
] }),
|
|
396
|
-
question.aboutText && /* @__PURE__ */
|
|
362
|
+
question.aboutText && /* @__PURE__ */ jsx5(
|
|
397
363
|
"div",
|
|
398
364
|
{
|
|
399
365
|
id: aboutId,
|
|
@@ -403,41 +369,41 @@ var TextFieldStandard = ({
|
|
|
403
369
|
}
|
|
404
370
|
}
|
|
405
371
|
),
|
|
406
|
-
/* @__PURE__ */
|
|
372
|
+
/* @__PURE__ */ jsx5(
|
|
407
373
|
"input",
|
|
408
374
|
{
|
|
409
|
-
type: (
|
|
410
|
-
autoComplete: (
|
|
411
|
-
inputMode: (
|
|
375
|
+
type: (_e = (_d = question.questionExtraAttribute) == null ? void 0 : _d.inputType) != null ? _e : "text",
|
|
376
|
+
autoComplete: (_g = (_f = question.questionExtraAttribute) == null ? void 0 : _f.autoComplete) != null ? _g : void 0,
|
|
377
|
+
inputMode: (_i = (_h = question.questionExtraAttribute) == null ? void 0 : _h.inputMode) != null ? _i : void 0,
|
|
412
378
|
name: `question-name-${question.id}`,
|
|
413
379
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0,
|
|
414
380
|
onChange: (e) => handleQuestionInputChange(e, question),
|
|
415
381
|
value: question.answer,
|
|
416
|
-
maxLength: ((_h = question.questionExtraAttribute) == null ? void 0 : _h.answerMaxLength) || defaultMaxLength,
|
|
417
382
|
id: inputId,
|
|
418
|
-
disabled: (
|
|
383
|
+
disabled: (_j = question.questionExtraAttribute) == null ? void 0 : _j.disabled,
|
|
419
384
|
required: question.isQuestionMandatory,
|
|
420
385
|
"aria-required": question.isQuestionMandatory,
|
|
421
386
|
"aria-describedby": [question.aboutText ? aboutId : null].filter(Boolean).join(" ") || void 0,
|
|
422
387
|
"aria-invalid": question.hasValidationError,
|
|
423
388
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
424
|
-
spellCheck: (
|
|
425
|
-
autoCapitalize: (
|
|
389
|
+
spellCheck: (_l = (_k = question.questionExtraAttribute) == null ? void 0 : _k.spellCheck) != null ? _l : void 0,
|
|
390
|
+
autoCapitalize: (_n = (_m = question.questionExtraAttribute) == null ? void 0 : _m.autoCapitalize) != null ? _n : void 0
|
|
426
391
|
}
|
|
427
392
|
),
|
|
428
|
-
/* @__PURE__ */
|
|
429
|
-
|
|
430
|
-
{
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
}
|
|
436
|
-
|
|
393
|
+
!isTooLong && question.hasValidationError && /* @__PURE__ */ jsxs5("div", { className: "pts-root-error", id: errorId, children: [
|
|
394
|
+
/* @__PURE__ */ jsx5("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
395
|
+
/* @__PURE__ */ jsx5("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
396
|
+
/* @__PURE__ */ jsx5("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
397
|
+
] }),
|
|
398
|
+
isTooLong && question.hasValidationError && /* @__PURE__ */ jsxs5("div", { className: "pts-root-error", id: errorId, children: [
|
|
399
|
+
/* @__PURE__ */ jsx5("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
400
|
+
/* @__PURE__ */ jsx5("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
401
|
+
/* @__PURE__ */ jsx5("span", { className: "errorText", children: maxLengthErrorText })
|
|
402
|
+
] })
|
|
437
403
|
]
|
|
438
404
|
}
|
|
439
405
|
),
|
|
440
|
-
showPreview && /* @__PURE__ */
|
|
406
|
+
showPreview && /* @__PURE__ */ jsx5(PreviewTextField, { activatedLanguage, question })
|
|
441
407
|
] });
|
|
442
408
|
};
|
|
443
409
|
var TextFieldStandard_default = TextFieldStandard;
|
|
@@ -447,9 +413,9 @@ var PreviewTextField = ({
|
|
|
447
413
|
}) => {
|
|
448
414
|
var _a, _b;
|
|
449
415
|
const previewId = `preview-${question.id}`;
|
|
450
|
-
return /* @__PURE__ */
|
|
451
|
-
/* @__PURE__ */
|
|
452
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */
|
|
416
|
+
return /* @__PURE__ */ jsxs5(Fragment5, { children: [
|
|
417
|
+
/* @__PURE__ */ jsx5("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
418
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx5("dd", { className: "pts-textField-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer }) : /* @__PURE__ */ jsx5(
|
|
453
419
|
"dd",
|
|
454
420
|
{
|
|
455
421
|
className: "pts-textField-preview pts-root-answer no-answer-preview-page",
|
|
@@ -466,7 +432,7 @@ import clsx3 from "clsx";
|
|
|
466
432
|
|
|
467
433
|
// src/components/input-components/AddFilesStandard/DropFilesStandard.tsx
|
|
468
434
|
import { useDropzone } from "react-dropzone";
|
|
469
|
-
import { Fragment as Fragment6, jsx as
|
|
435
|
+
import { Fragment as Fragment6, jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
470
436
|
var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h\xE4r", language }) => {
|
|
471
437
|
const onDrop = FilesSelected;
|
|
472
438
|
const { getRootProps, getInputProps, isDragActive } = useDropzone({ onDrop, noKeyboard: true });
|
|
@@ -474,10 +440,10 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
474
440
|
event.preventDefault();
|
|
475
441
|
event.stopPropagation();
|
|
476
442
|
};
|
|
477
|
-
return /* @__PURE__ */
|
|
478
|
-
/* @__PURE__ */
|
|
443
|
+
return /* @__PURE__ */ jsx6(Fragment6, { children: /* @__PURE__ */ jsx6("div", { className: "DropZoneContainer", children: /* @__PURE__ */ jsxs6("div", { className: "DropZone", ...getRootProps(), onClick: handleFileExplorer, children: [
|
|
444
|
+
/* @__PURE__ */ jsxs6("label", { htmlFor: "fileDropInput", hidden: true, children: [
|
|
479
445
|
"Dra och sl\xE4pp filer h\xE4r omr\xE5de",
|
|
480
|
-
/* @__PURE__ */
|
|
446
|
+
/* @__PURE__ */ jsx6(
|
|
481
447
|
"input",
|
|
482
448
|
{
|
|
483
449
|
...getInputProps({
|
|
@@ -488,8 +454,8 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
488
454
|
}
|
|
489
455
|
)
|
|
490
456
|
] }),
|
|
491
|
-
isDragActive ? /* @__PURE__ */
|
|
492
|
-
/* @__PURE__ */
|
|
457
|
+
isDragActive ? /* @__PURE__ */ jsx6("b", { className: "dropFilesNowText", children: language === "sv" ? "Sl\xE4pp filerna, nu ...!" : "Drop files here!" }) : /* @__PURE__ */ jsxs6("div", { className: "DropZone-label-container", children: [
|
|
458
|
+
/* @__PURE__ */ jsx6(
|
|
493
459
|
"svg",
|
|
494
460
|
{
|
|
495
461
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -497,7 +463,7 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
497
463
|
height: "2.4rem",
|
|
498
464
|
viewBox: "0 0 7 15",
|
|
499
465
|
fill: "#fff",
|
|
500
|
-
children: /* @__PURE__ */
|
|
466
|
+
children: /* @__PURE__ */ jsx6(
|
|
501
467
|
"path",
|
|
502
468
|
{
|
|
503
469
|
d: "M0 2.5C0 1.83696 0.263392 1.20107 0.732233 0.732233C1.20107 0.263392 1.83696 0 2.5 0C3.16304 0 3.79893 0.263392 4.26777 0.732233C4.73661 1.20107 5 1.83696 5 2.5V11.5C5 11.8978 4.84196 12.2794 4.56066 12.5607C4.27936 12.842 3.89782 13 3.5 13C3.10218 13 2.72064 12.842 2.43934 12.5607C2.15804 12.2794 2 11.8978 2 11.5V4.5C2 4.36739 2.05268 4.24021 2.14645 4.14645C2.24021 4.05268 2.36739 4 2.5 4C2.63261 4 2.75979 4.05268 2.85355 4.14645C2.94732 4.24021 3 4.36739 3 4.5V11.5C3 11.6326 3.05268 11.7598 3.14645 11.8536C3.24021 11.9473 3.36739 12 3.5 12C3.63261 12 3.75979 11.9473 3.85355 11.8536C3.94732 11.7598 4 11.6326 4 11.5V2.5C4 2.30302 3.9612 2.10796 3.88582 1.92597C3.81044 1.74399 3.69995 1.57863 3.56066 1.43934C3.42137 1.30005 3.25601 1.18956 3.07403 1.11418C2.89204 1.0388 2.69698 1 2.5 1C2.30302 1 2.10796 1.0388 1.92597 1.11418C1.74399 1.18956 1.57863 1.30005 1.43934 1.43934C1.30005 1.57863 1.18956 1.74399 1.11418 1.92597C1.0388 2.10796 1 2.30302 1 2.5V11.5C1 12.163 1.26339 12.7989 1.73223 13.2678C2.20107 13.7366 2.83696 14 3.5 14C4.16304 14 4.79893 13.7366 5.26777 13.2678C5.73661 12.7989 6 12.163 6 11.5V4.5C6 4.36739 6.05268 4.24021 6.14645 4.14645C6.24021 4.05268 6.36739 4 6.5 4C6.63261 4 6.75979 4.05268 6.85355 4.14645C6.94732 4.24021 7 4.36739 7 4.5V11.5C7 12.4283 6.63125 13.3185 5.97487 13.9749C5.3185 14.6313 4.42826 15 3.5 15C2.57174 15 1.6815 14.6313 1.02513 13.9749C0.368749 13.3185 0 12.4283 0 11.5V2.5Z",
|
|
@@ -506,7 +472,7 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
506
472
|
)
|
|
507
473
|
}
|
|
508
474
|
),
|
|
509
|
-
/* @__PURE__ */
|
|
475
|
+
/* @__PURE__ */ jsx6("p", { className: "dropFilesText", children: DropFilesText })
|
|
510
476
|
] })
|
|
511
477
|
] }) }) });
|
|
512
478
|
};
|
|
@@ -518,7 +484,7 @@ import clsx from "clsx";
|
|
|
518
484
|
|
|
519
485
|
// src/components/input-components/AddFilesStandard/ScreenReaderErrors.tsx
|
|
520
486
|
import React from "react";
|
|
521
|
-
import { Fragment as Fragment7, jsx as
|
|
487
|
+
import { Fragment as Fragment7, jsx as jsx7 } from "react/jsx-runtime";
|
|
522
488
|
var ScreenReaderErrors = ({
|
|
523
489
|
errorMessageAddingFile,
|
|
524
490
|
activatedLanguage
|
|
@@ -537,12 +503,12 @@ var ScreenReaderErrors = ({
|
|
|
537
503
|
setActivateErrorMessagesForScreenReader(true);
|
|
538
504
|
}
|
|
539
505
|
}, [errorMessageAddingFile]);
|
|
540
|
-
return /* @__PURE__ */
|
|
506
|
+
return /* @__PURE__ */ jsx7(Fragment7, { children: activateErrorMessagesForScreenReader && /* @__PURE__ */ jsx7("p", { role: "alert", className: "sr-only", "aria-atomic": "true", children: errorMessagesForScreenReader }) });
|
|
541
507
|
};
|
|
542
508
|
var ScreenReaderErrors_default = ScreenReaderErrors;
|
|
543
509
|
|
|
544
510
|
// src/components/input-components/AddFilesStandard/ExploreFilesStandard.tsx
|
|
545
|
-
import { Fragment as Fragment8, jsx as
|
|
511
|
+
import { Fragment as Fragment8, jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
546
512
|
var ExploreFiles = ({
|
|
547
513
|
FilesSelected,
|
|
548
514
|
numberOfFiles,
|
|
@@ -569,8 +535,8 @@ var ExploreFiles = ({
|
|
|
569
535
|
};
|
|
570
536
|
let addFilesInfoText = numberOfFiles > 0 ? activatedLanguage === "sv" ? `${numberOfFiles} filer valda (max ${allowedNumberOfFiles})` : `${numberOfFiles} files chosed (max ${allowedNumberOfFiles})` : activatedLanguage === "sv" ? "Ingen fil vald" : "No file chosen";
|
|
571
537
|
const ariaLabelText = `${activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`;
|
|
572
|
-
return /* @__PURE__ */
|
|
573
|
-
/* @__PURE__ */
|
|
538
|
+
return /* @__PURE__ */ jsx8(Fragment8, { children: /* @__PURE__ */ jsxs7("div", { className: "inputContainer", children: [
|
|
539
|
+
/* @__PURE__ */ jsxs7(
|
|
574
540
|
"div",
|
|
575
541
|
{
|
|
576
542
|
className: clsx(
|
|
@@ -580,7 +546,7 @@ var ExploreFiles = ({
|
|
|
580
546
|
),
|
|
581
547
|
id: labelId,
|
|
582
548
|
children: [
|
|
583
|
-
/* @__PURE__ */
|
|
549
|
+
/* @__PURE__ */ jsx8(
|
|
584
550
|
"button",
|
|
585
551
|
{
|
|
586
552
|
ref: buttonInputRef,
|
|
@@ -595,12 +561,12 @@ var ExploreFiles = ({
|
|
|
595
561
|
children: activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"
|
|
596
562
|
}
|
|
597
563
|
),
|
|
598
|
-
/* @__PURE__ */
|
|
599
|
-
/* @__PURE__ */
|
|
564
|
+
/* @__PURE__ */ jsx8("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText }),
|
|
565
|
+
/* @__PURE__ */ jsx8("label", { htmlFor: inputId, "aria-hidden": true, className: "invisible" })
|
|
600
566
|
]
|
|
601
567
|
}
|
|
602
568
|
),
|
|
603
|
-
/* @__PURE__ */
|
|
569
|
+
/* @__PURE__ */ jsx8(
|
|
604
570
|
"input",
|
|
605
571
|
{
|
|
606
572
|
"aria-hidden": true,
|
|
@@ -613,7 +579,7 @@ var ExploreFiles = ({
|
|
|
613
579
|
id: inputId
|
|
614
580
|
}
|
|
615
581
|
),
|
|
616
|
-
/* @__PURE__ */
|
|
582
|
+
/* @__PURE__ */ jsx8(
|
|
617
583
|
ScreenReaderErrors_default,
|
|
618
584
|
{
|
|
619
585
|
errorMessageAddingFile,
|
|
@@ -631,16 +597,16 @@ import { Col, Row } from "react-bootstrap";
|
|
|
631
597
|
// src/components/input-components/AddFilesStandard/IndicatorStandard.tsx
|
|
632
598
|
import { useState as useState3 } from "react";
|
|
633
599
|
import clsx2 from "clsx";
|
|
634
|
-
import { Fragment as Fragment9, jsx as
|
|
600
|
+
import { Fragment as Fragment9, jsx as jsx9 } from "react/jsx-runtime";
|
|
635
601
|
var Indicator = (filename) => {
|
|
636
602
|
const [uploadPercentage, setUploadPercentage] = useState3(0);
|
|
637
603
|
const [uploadDone, setUploadDone] = useState3(false);
|
|
638
|
-
return /* @__PURE__ */
|
|
604
|
+
return /* @__PURE__ */ jsx9(Fragment9, { children: /* @__PURE__ */ jsx9("div", { className: clsx2("uploadIndicator", "uploadDone") }) });
|
|
639
605
|
};
|
|
640
606
|
var IndicatorStandard_default = Indicator;
|
|
641
607
|
|
|
642
608
|
// src/components/input-components/AddFilesStandard/SelectedFilesStandard.tsx
|
|
643
|
-
import { Fragment as Fragment10, jsx as
|
|
609
|
+
import { Fragment as Fragment10, jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
644
610
|
var SelectedFiles = ({
|
|
645
611
|
questionObject,
|
|
646
612
|
isTouched,
|
|
@@ -658,14 +624,12 @@ var SelectedFiles = ({
|
|
|
658
624
|
let newFiles = questionObject.files.filter((f) => f !== file);
|
|
659
625
|
const newCountOfFiles = newFiles.length;
|
|
660
626
|
setNumberOfFiles(newCountOfFiles);
|
|
661
|
-
|
|
627
|
+
let e = { target: { value: `${newCountOfFiles} files`, files: newFiles } };
|
|
628
|
+
const targetValue = e.target.value === "0 files" ? "" : e.target.value;
|
|
629
|
+
e = { ...e, target: { ...e.target, value: targetValue } };
|
|
662
630
|
isTouched(e, questionObject);
|
|
663
631
|
removeFile(newCountOfFiles);
|
|
664
632
|
};
|
|
665
|
-
useEffect4(() => {
|
|
666
|
-
var _a;
|
|
667
|
-
numberOfFiles > 0 && ((_a = theDiv.current) == null ? void 0 : _a.scrollIntoView({ behavior: "smooth", block: "end" }));
|
|
668
|
-
}, [numberOfFiles]);
|
|
669
633
|
const useWindowWidth = () => {
|
|
670
634
|
const [windowWidth2, setWindowWidth] = useState4(window.innerWidth);
|
|
671
635
|
useEffect4(() => {
|
|
@@ -680,10 +644,10 @@ var SelectedFiles = ({
|
|
|
680
644
|
return windowWidth2;
|
|
681
645
|
};
|
|
682
646
|
const windowWidth = useWindowWidth();
|
|
683
|
-
return /* @__PURE__ */
|
|
684
|
-
/* @__PURE__ */
|
|
685
|
-
/* @__PURE__ */
|
|
686
|
-
/* @__PURE__ */
|
|
647
|
+
return /* @__PURE__ */ jsxs8(Fragment10, { children: [
|
|
648
|
+
/* @__PURE__ */ jsx10("div", { children: errorMessageAddingFile.length > 0 && /* @__PURE__ */ jsxs8("div", { className: "pts-errorSummary-container pts-addFile-error-container", children: [
|
|
649
|
+
/* @__PURE__ */ jsx10("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
|
|
650
|
+
/* @__PURE__ */ jsx10("div", { className: "addFile-error-list-container", children: /* @__PURE__ */ jsxs8("ul", { "aria-hidden": true, className: "fileListUnorderedList", id: "errorSummary-ul", children: [
|
|
687
651
|
" ",
|
|
688
652
|
errorMessageAddingFile.map((errorObj, index) => {
|
|
689
653
|
const errorFileName = errorObj.FileName;
|
|
@@ -691,9 +655,9 @@ var SelectedFiles = ({
|
|
|
691
655
|
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
692
656
|
const fileType = errorObj.FileName.split(".").pop();
|
|
693
657
|
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
694
|
-
return /* @__PURE__ */
|
|
695
|
-
/* @__PURE__ */
|
|
696
|
-
/* @__PURE__ */
|
|
658
|
+
return /* @__PURE__ */ jsx10("li", { children: /* @__PURE__ */ jsx10(React4.Fragment, { children: /* @__PURE__ */ jsx10("div", { children: /* @__PURE__ */ jsx10("div", { className: "fileInListContainer", children: /* @__PURE__ */ jsxs8("div", { className: "fileInList", children: [
|
|
659
|
+
/* @__PURE__ */ jsx10(Row, { children: /* @__PURE__ */ jsx10(Col, { children: windowWidth < 768 ? /* @__PURE__ */ jsx10("span", { className: "mobileFirstFileName", children: mobileFirstFileName }) : /* @__PURE__ */ jsx10("span", { className: "desktopFileName", children: errorObj.FileName }) }) }),
|
|
660
|
+
/* @__PURE__ */ jsx10(Row, { children: /* @__PURE__ */ jsx10(
|
|
697
661
|
Col,
|
|
698
662
|
{
|
|
699
663
|
className: "errorMessageAddingFile",
|
|
@@ -708,7 +672,7 @@ var SelectedFiles = ({
|
|
|
708
672
|
] }, index) }) }) }, `error-${errorObj.FileName}-${index}`) });
|
|
709
673
|
})
|
|
710
674
|
] }) }),
|
|
711
|
-
/* @__PURE__ */
|
|
675
|
+
/* @__PURE__ */ jsx10("div", { className: "addFile-error-close-button", children: /* @__PURE__ */ jsx10(
|
|
712
676
|
"button",
|
|
713
677
|
{
|
|
714
678
|
className: "selectedFilesLinkButton error-close",
|
|
@@ -716,7 +680,7 @@ var SelectedFiles = ({
|
|
|
716
680
|
removeError();
|
|
717
681
|
},
|
|
718
682
|
"aria-label": activatedLanguage === "sv" ? `St\xE4ng felmeddelande` : `Close error message`,
|
|
719
|
-
children: /* @__PURE__ */
|
|
683
|
+
children: /* @__PURE__ */ jsx10(
|
|
720
684
|
"svg",
|
|
721
685
|
{
|
|
722
686
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -724,7 +688,7 @@ var SelectedFiles = ({
|
|
|
724
688
|
height: "14",
|
|
725
689
|
viewBox: "0 0 14 14",
|
|
726
690
|
fill: "none",
|
|
727
|
-
children: /* @__PURE__ */
|
|
691
|
+
children: /* @__PURE__ */ jsx10(
|
|
728
692
|
"path",
|
|
729
693
|
{
|
|
730
694
|
d: "M0.75 12.75L12.75 0.75M0.75 0.75L12.75 12.75",
|
|
@@ -738,15 +702,15 @@ var SelectedFiles = ({
|
|
|
738
702
|
}
|
|
739
703
|
) })
|
|
740
704
|
] }) }),
|
|
741
|
-
questionObject.files.length > 0 && /* @__PURE__ */
|
|
705
|
+
questionObject.files.length > 0 && /* @__PURE__ */ jsx10("ul", { className: "fileListUnorderedList", "aria-label": activatedLanguage === "en" ? "Uploaded files" : "Uppladdade filer", children: questionObject.files.map((file, index) => {
|
|
742
706
|
const indicatorfileName = file.FileName;
|
|
743
707
|
let mobileFirstFileName = file.FileName.split(".").shift();
|
|
744
708
|
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
745
709
|
const fileType = file.FileName.split(".").pop();
|
|
746
710
|
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
747
|
-
return /* @__PURE__ */
|
|
748
|
-
/* @__PURE__ */
|
|
749
|
-
/* @__PURE__ */
|
|
711
|
+
return /* @__PURE__ */ jsx10("li", { children: /* @__PURE__ */ jsx10(React4.Fragment, { children: /* @__PURE__ */ jsx10("div", { children: /* @__PURE__ */ jsx10("div", { className: "fileInListContainer", children: /* @__PURE__ */ jsxs8("div", { className: "fileInList", children: [
|
|
712
|
+
/* @__PURE__ */ jsxs8("div", { className: "fileItem", children: [
|
|
713
|
+
/* @__PURE__ */ jsx10(Col, { style: { maxWidth: "30px" }, children: /* @__PURE__ */ jsx10("span", { "aria-hidden": "true", className: "uploadedDot", children: /* @__PURE__ */ jsx10(
|
|
750
714
|
"svg",
|
|
751
715
|
{
|
|
752
716
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -754,7 +718,7 @@ var SelectedFiles = ({
|
|
|
754
718
|
height: "8",
|
|
755
719
|
viewBox: "0 0 8 8",
|
|
756
720
|
fill: "none",
|
|
757
|
-
children: /* @__PURE__ */
|
|
721
|
+
children: /* @__PURE__ */ jsx10(
|
|
758
722
|
"path",
|
|
759
723
|
{
|
|
760
724
|
d: "M1 4.65913L2.8 6.45913L7 1.35913",
|
|
@@ -765,20 +729,20 @@ var SelectedFiles = ({
|
|
|
765
729
|
)
|
|
766
730
|
}
|
|
767
731
|
) }) }),
|
|
768
|
-
/* @__PURE__ */
|
|
732
|
+
/* @__PURE__ */ jsx10(Col, { children: windowWidth < 768 ? /* @__PURE__ */ jsxs8("span", { className: "mobileFirstFileName", children: [
|
|
769
733
|
mobileFirstFileName,
|
|
770
734
|
" (",
|
|
771
735
|
Math.ceil(file.FileSize / (1024 * 1024)),
|
|
772
736
|
" ",
|
|
773
737
|
"MB)"
|
|
774
|
-
] }) : /* @__PURE__ */
|
|
738
|
+
] }) : /* @__PURE__ */ jsxs8("span", { className: "desktopFileName", children: [
|
|
775
739
|
file.FileName,
|
|
776
740
|
" (",
|
|
777
|
-
/* @__PURE__ */
|
|
741
|
+
/* @__PURE__ */ jsx10("span", { className: "fileSizeText", children: file.FileSize < 1024 * 1024 ? `${Math.round(file.FileSize / 1024)} kB` : `${(file.FileSize / (1024 * 1024)).toFixed(1)} MB` }),
|
|
778
742
|
" ",
|
|
779
743
|
")"
|
|
780
744
|
] }) }),
|
|
781
|
-
/* @__PURE__ */
|
|
745
|
+
/* @__PURE__ */ jsx10(Col, { className: "lastCol", children: /* @__PURE__ */ jsx10(
|
|
782
746
|
"button",
|
|
783
747
|
{
|
|
784
748
|
className: "selectedFilesLinkButton",
|
|
@@ -788,17 +752,17 @@ var SelectedFiles = ({
|
|
|
788
752
|
}
|
|
789
753
|
) })
|
|
790
754
|
] }),
|
|
791
|
-
showIndicator && /* @__PURE__ */
|
|
792
|
-
/* @__PURE__ */
|
|
755
|
+
showIndicator && /* @__PURE__ */ jsx10(Row, { children: /* @__PURE__ */ jsx10(Col, { style: { width: "100%", padding: 0 }, children: /* @__PURE__ */ jsx10(IndicatorStandard_default, { filename: indicatorfileName }) }) }),
|
|
756
|
+
/* @__PURE__ */ jsx10(Row, { style: { marginTop: "12px", marginBottom: "12px" }, children: /* @__PURE__ */ jsx10(Col, { className: "makeSpace" }) })
|
|
793
757
|
] }, index) }) }) }, `file-${file.FileName}-${index}`) });
|
|
794
758
|
}) }),
|
|
795
|
-
/* @__PURE__ */
|
|
759
|
+
/* @__PURE__ */ jsx10("div", { ref: theDiv, className: "pts-clipboard-container" })
|
|
796
760
|
] });
|
|
797
761
|
};
|
|
798
762
|
var SelectedFilesStandard_default = SelectedFiles;
|
|
799
763
|
|
|
800
764
|
// src/components/input-components/AddFilesStandard/AddFilesStandard.tsx
|
|
801
|
-
import { Fragment as Fragment11, jsx as
|
|
765
|
+
import { Fragment as Fragment11, jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
802
766
|
var AddFiles = ({
|
|
803
767
|
questionObject,
|
|
804
768
|
handleQuestionInputChange = (e, questionObject2) => {
|
|
@@ -812,7 +776,6 @@ var AddFiles = ({
|
|
|
812
776
|
allowedTotalFileSize = 20971520
|
|
813
777
|
// 20MB = (1024 * 1024) * 20
|
|
814
778
|
}) => {
|
|
815
|
-
var _a, _b;
|
|
816
779
|
if (allowedFileTypes.length < 1) {
|
|
817
780
|
allowedFileTypes = [
|
|
818
781
|
"pdf",
|
|
@@ -856,7 +819,7 @@ var AddFiles = ({
|
|
|
856
819
|
}, []);
|
|
857
820
|
const onDrop = useCallback(
|
|
858
821
|
(acceptedFiles) => {
|
|
859
|
-
var
|
|
822
|
+
var _a, _b, _c;
|
|
860
823
|
const validationErrors = [];
|
|
861
824
|
const validFiles = [];
|
|
862
825
|
const currentTotalFileSize = (questionObject.files || []).reduce(
|
|
@@ -864,7 +827,7 @@ var AddFiles = ({
|
|
|
864
827
|
0
|
|
865
828
|
);
|
|
866
829
|
setTotalFileSize(currentTotalFileSize);
|
|
867
|
-
if ((((
|
|
830
|
+
if ((((_a = questionObject.files) == null ? void 0 : _a.length) || 0) >= allowedNumberOfFiles) {
|
|
868
831
|
acceptedFiles.forEach((file) => {
|
|
869
832
|
validationErrors.push({
|
|
870
833
|
FileName: file.name,
|
|
@@ -877,7 +840,7 @@ var AddFiles = ({
|
|
|
877
840
|
}
|
|
878
841
|
let accumulatedNewSize = 0;
|
|
879
842
|
for (const file of acceptedFiles) {
|
|
880
|
-
const fileExtension = ((
|
|
843
|
+
const fileExtension = ((_b = file.name.split(".").pop()) == null ? void 0 : _b.toLowerCase()) || "";
|
|
881
844
|
if (!allowedFileTypes.includes(fileExtension)) {
|
|
882
845
|
validationErrors.push({
|
|
883
846
|
FileName: file.name,
|
|
@@ -949,7 +912,7 @@ var AddFiles = ({
|
|
|
949
912
|
const currentFiles = questionObject.files ? questionObject.files : [];
|
|
950
913
|
const e = {
|
|
951
914
|
target: {
|
|
952
|
-
value: `${currentFiles.length + newFiles.length} files
|
|
915
|
+
value: currentFiles.length + newFiles.length > 0 ? `${currentFiles.length + newFiles.length} files` : "",
|
|
953
916
|
files: [...currentFiles, ...newFiles]
|
|
954
917
|
}
|
|
955
918
|
};
|
|
@@ -971,75 +934,77 @@ var AddFiles = ({
|
|
|
971
934
|
const handleRemoveErrors = () => {
|
|
972
935
|
setErrorMessageAddingFile([]);
|
|
973
936
|
};
|
|
974
|
-
return /* @__PURE__ */
|
|
975
|
-
!showPreview && visible && /* @__PURE__ */
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
937
|
+
return /* @__PURE__ */ jsxs9(Fragment11, { children: [
|
|
938
|
+
!showPreview && visible && /* @__PURE__ */ jsx11(
|
|
939
|
+
"div",
|
|
940
|
+
{
|
|
941
|
+
className: "root-question addFile-question-container",
|
|
942
|
+
id: `question-${questionObject.id}`,
|
|
943
|
+
children: /* @__PURE__ */ jsxs9("div", { role: "group", children: [
|
|
944
|
+
questionObject.aboutText && /* @__PURE__ */ jsxs9(
|
|
945
|
+
"p",
|
|
946
|
+
{
|
|
947
|
+
id: aboutId,
|
|
948
|
+
className: clsx3(
|
|
949
|
+
"addFilesMandatory",
|
|
950
|
+
questionObject.hasValidationError ? " error" : ""
|
|
951
|
+
),
|
|
952
|
+
children: [
|
|
953
|
+
questionObject.aboutText,
|
|
954
|
+
questionObject.isQuestionMandatory && /* @__PURE__ */ jsxs9("span", { className: "pts-root-mandatoryAsterisk", "aria-label": "Obligatorisk fr\xE5ga", children: [
|
|
955
|
+
" ",
|
|
956
|
+
"*"
|
|
957
|
+
] })
|
|
958
|
+
]
|
|
959
|
+
}
|
|
983
960
|
),
|
|
984
|
-
children: [
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
isTouched: handleQuestionInputChange,
|
|
1032
|
-
removeFile: removeFileFromNumberOfFiles,
|
|
1033
|
-
removeError,
|
|
1034
|
-
errorMessageAddingFile,
|
|
1035
|
-
activatedLanguage,
|
|
1036
|
-
numberOfFiles,
|
|
1037
|
-
setNumberOfFiles,
|
|
1038
|
-
removeUploadErrors: handleRemoveErrors
|
|
1039
|
-
}
|
|
1040
|
-
)
|
|
1041
|
-
] }) }),
|
|
1042
|
-
showPreview && /* @__PURE__ */ jsx12(PreviewAddFiles, { activatedLanguage, questionObject })
|
|
961
|
+
questionObject.hasValidationError && /* @__PURE__ */ jsxs9("div", { className: "pts-root-error error addfileserror", id: errorId, children: [
|
|
962
|
+
/* @__PURE__ */ jsx11("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
963
|
+
/* @__PURE__ */ jsx11("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
964
|
+
/* @__PURE__ */ jsx11("span", { className: "errorText", children: questionObject.validationDefaultMessesege })
|
|
965
|
+
] }),
|
|
966
|
+
/* @__PURE__ */ jsx11(
|
|
967
|
+
ExploreFilesStandard_default,
|
|
968
|
+
{
|
|
969
|
+
FilesSelected: onDrop,
|
|
970
|
+
numberOfFiles,
|
|
971
|
+
allowedNumberOfFiles,
|
|
972
|
+
activatedLanguage,
|
|
973
|
+
inputId,
|
|
974
|
+
labelId,
|
|
975
|
+
aboutId,
|
|
976
|
+
errorId,
|
|
977
|
+
questionObject,
|
|
978
|
+
errorMessageAddingFile,
|
|
979
|
+
removeUploadErrors: handleRemoveErrors
|
|
980
|
+
}
|
|
981
|
+
),
|
|
982
|
+
/* @__PURE__ */ jsx11(
|
|
983
|
+
DropFilesStandard_default,
|
|
984
|
+
{
|
|
985
|
+
FilesSelected: onDrop,
|
|
986
|
+
DropFilesText: dropFilesText,
|
|
987
|
+
language: activatedLanguage
|
|
988
|
+
}
|
|
989
|
+
),
|
|
990
|
+
/* @__PURE__ */ jsx11(
|
|
991
|
+
SelectedFilesStandard_default,
|
|
992
|
+
{
|
|
993
|
+
questionObject,
|
|
994
|
+
isTouched: handleQuestionInputChange,
|
|
995
|
+
removeFile: removeFileFromNumberOfFiles,
|
|
996
|
+
removeError,
|
|
997
|
+
errorMessageAddingFile,
|
|
998
|
+
activatedLanguage,
|
|
999
|
+
numberOfFiles,
|
|
1000
|
+
setNumberOfFiles,
|
|
1001
|
+
removeUploadErrors: handleRemoveErrors
|
|
1002
|
+
}
|
|
1003
|
+
)
|
|
1004
|
+
] })
|
|
1005
|
+
}
|
|
1006
|
+
),
|
|
1007
|
+
showPreview && /* @__PURE__ */ jsx11(PreviewAddFiles, { activatedLanguage, questionObject })
|
|
1043
1008
|
] });
|
|
1044
1009
|
};
|
|
1045
1010
|
var AddFilesStandard_default = AddFiles;
|
|
@@ -1048,24 +1013,24 @@ var PreviewAddFiles = ({
|
|
|
1048
1013
|
activatedLanguage
|
|
1049
1014
|
}) => {
|
|
1050
1015
|
const previewId = `preview-${questionObject.Id}`;
|
|
1051
|
-
return /* @__PURE__ */
|
|
1052
|
-
/* @__PURE__ */
|
|
1053
|
-
questionObject.files && questionObject.files.length > 0 ? /* @__PURE__ */
|
|
1054
|
-
return /* @__PURE__ */
|
|
1055
|
-
}) }) }) : /* @__PURE__ */
|
|
1016
|
+
return /* @__PURE__ */ jsxs9(Fragment11, { children: [
|
|
1017
|
+
/* @__PURE__ */ jsx11("dt", { id: `question-${previewId}`, children: questionObject.questionLabel ? questionObject.questionLabel : activatedLanguage === "en" ? "Attached files" : "Bifogade filer" }),
|
|
1018
|
+
questionObject.files && questionObject.files.length > 0 ? /* @__PURE__ */ jsx11("dd", { className: "pts-addFiles-answer", children: /* @__PURE__ */ jsx11("ul", { "aria-labelledby": previewId, className: "pts-preview-answer-list", children: questionObject.files.map((file, index) => {
|
|
1019
|
+
return /* @__PURE__ */ jsx11("li", { children: file.FileName }, `file-${index}-${file.FileName}`);
|
|
1020
|
+
}) }) }) : /* @__PURE__ */ jsx11("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No attached files" : "Inga bifogade filer" })
|
|
1056
1021
|
] });
|
|
1057
1022
|
};
|
|
1058
1023
|
|
|
1059
1024
|
// src/components/input-components/SingleCheckboxStandard/SingleCheckboxStandard.tsx
|
|
1060
1025
|
import { useEffect as useEffect6, useState as useState6 } from "react";
|
|
1061
|
-
import { Fragment as Fragment12, jsx as
|
|
1026
|
+
import { Fragment as Fragment12, jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1062
1027
|
var SingleCheckbox = ({
|
|
1063
1028
|
question,
|
|
1064
1029
|
handleQuestionInputChange,
|
|
1065
1030
|
showPreview = false,
|
|
1066
1031
|
activatedLanguage = "sv"
|
|
1067
1032
|
}) => {
|
|
1068
|
-
var _a, _b
|
|
1033
|
+
var _a, _b;
|
|
1069
1034
|
const questionId = `question-${question.id}`;
|
|
1070
1035
|
const inputId = `checkbox-${question.id}`;
|
|
1071
1036
|
const aboutId = `about-${question.id}`;
|
|
@@ -1084,10 +1049,10 @@ var SingleCheckbox = ({
|
|
|
1084
1049
|
const e = { target: { value: answer } };
|
|
1085
1050
|
handleQuestionInputChange(e, question);
|
|
1086
1051
|
};
|
|
1087
|
-
return /* @__PURE__ */
|
|
1088
|
-
!showPreview && question.visible && /* @__PURE__ */
|
|
1089
|
-
/* @__PURE__ */
|
|
1090
|
-
/* @__PURE__ */
|
|
1052
|
+
return /* @__PURE__ */ jsxs10(Fragment12, { children: [
|
|
1053
|
+
!showPreview && question.visible && /* @__PURE__ */ jsxs10("div", { id: questionId, className: "pts-root-question pts-singleCheckbox-container", children: [
|
|
1054
|
+
/* @__PURE__ */ jsxs10("div", { className: "pts-singleCheckbox-row", children: [
|
|
1055
|
+
/* @__PURE__ */ jsx12(
|
|
1091
1056
|
"input",
|
|
1092
1057
|
{
|
|
1093
1058
|
type: "checkbox",
|
|
@@ -1105,11 +1070,11 @@ var SingleCheckbox = ({
|
|
|
1105
1070
|
"aria-errormessage": question.hasValidationError ? errorId : void 0
|
|
1106
1071
|
}
|
|
1107
1072
|
),
|
|
1108
|
-
/* @__PURE__ */
|
|
1109
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
1073
|
+
/* @__PURE__ */ jsx12("label", { htmlFor: `${inputId}`, children: question.questionLabel }),
|
|
1074
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx12("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
1110
1075
|
" "
|
|
1111
1076
|
] }),
|
|
1112
|
-
question.aboutText && /* @__PURE__ */
|
|
1077
|
+
question.aboutText && /* @__PURE__ */ jsx12(
|
|
1113
1078
|
"div",
|
|
1114
1079
|
{
|
|
1115
1080
|
id: aboutId,
|
|
@@ -1118,18 +1083,15 @@ var SingleCheckbox = ({
|
|
|
1118
1083
|
}
|
|
1119
1084
|
),
|
|
1120
1085
|
" ",
|
|
1121
|
-
/* @__PURE__ */
|
|
1122
|
-
|
|
1123
|
-
{
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
activatedLanguage
|
|
1128
|
-
}
|
|
1129
|
-
)
|
|
1086
|
+
question.hasValidationError && /* @__PURE__ */ jsxs10("div", { className: "pts-root-error", id: errorId, children: [
|
|
1087
|
+
/* @__PURE__ */ jsx12("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
1088
|
+
/* @__PURE__ */ jsx12("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
1089
|
+
/* @__PURE__ */ jsx12("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
1090
|
+
] }),
|
|
1091
|
+
" "
|
|
1130
1092
|
] }),
|
|
1131
1093
|
" ",
|
|
1132
|
-
showPreview && /* @__PURE__ */
|
|
1094
|
+
showPreview && /* @__PURE__ */ jsx12(PreviewSingleCheckbox, { activatedLanguage, question })
|
|
1133
1095
|
] });
|
|
1134
1096
|
};
|
|
1135
1097
|
var SingleCheckboxStandard_default = SingleCheckbox;
|
|
@@ -1139,9 +1101,9 @@ var PreviewSingleCheckbox = ({
|
|
|
1139
1101
|
}) => {
|
|
1140
1102
|
var _a, _b;
|
|
1141
1103
|
const previewId = `preview-${question.id}`;
|
|
1142
|
-
return /* @__PURE__ */
|
|
1143
|
-
/* @__PURE__ */
|
|
1144
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */
|
|
1104
|
+
return /* @__PURE__ */ jsxs10(Fragment12, { children: [
|
|
1105
|
+
/* @__PURE__ */ jsx12("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
1106
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx12("dd", { className: "pts-singleCheckbox-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer === "false" ? activatedLanguage === "sv" ? "Nej" : "No" : activatedLanguage === "sv" ? "Ja" : "Yes" }) : /* @__PURE__ */ jsx12(
|
|
1145
1107
|
"dd",
|
|
1146
1108
|
{
|
|
1147
1109
|
className: "pts-singleCheckbox-preview pts-root-answer",
|
|
@@ -1155,7 +1117,7 @@ var PreviewSingleCheckbox = ({
|
|
|
1155
1117
|
// src/helpers/hasQuestionValidationError/hasQuestionValidationError.tsx
|
|
1156
1118
|
import { isValid, parseISO } from "date-fns";
|
|
1157
1119
|
var hasQuestionValidationError = (question, questions) => {
|
|
1158
|
-
var _a, _b, _c, _d, _e;
|
|
1120
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1159
1121
|
let error = false;
|
|
1160
1122
|
if (question.isQuestionMandatory) {
|
|
1161
1123
|
if (question.isTouched === false) {
|
|
@@ -1168,19 +1130,28 @@ var hasQuestionValidationError = (question, questions) => {
|
|
|
1168
1130
|
error = true;
|
|
1169
1131
|
}
|
|
1170
1132
|
}
|
|
1171
|
-
|
|
1133
|
+
const maxLength = (_c = (_b = question.questionExtraAttribute) == null ? void 0 : _b.answerMaxLength) != null ? _c : 1e3;
|
|
1134
|
+
if (((_d = question.validationType) == null ? void 0 : _d.includes("maxLength")) && question.answer.length > maxLength) {
|
|
1135
|
+
error = true;
|
|
1136
|
+
}
|
|
1137
|
+
if (question.questionType === "TextField") {
|
|
1138
|
+
if (question.answer.length > 100) {
|
|
1139
|
+
error = true;
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
if (((_e = question.validationType) == null ? void 0 : _e.find((e) => e === "email")) && (question.isQuestionMandatory || question.answer !== "")) {
|
|
1172
1143
|
const emailRegex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
1173
1144
|
if (!emailRegex.test(question.answer)) {
|
|
1174
1145
|
error = true;
|
|
1175
1146
|
}
|
|
1176
1147
|
}
|
|
1177
|
-
if (((
|
|
1148
|
+
if (((_f = question.validationType) == null ? void 0 : _f.find((e) => e === "fourNumbers")) && (question.isQuestionMandatory || question.answer !== "")) {
|
|
1178
1149
|
const fourNumbersRegex = /^\d{4}$/.test(question.answer);
|
|
1179
1150
|
if (!fourNumbersRegex) {
|
|
1180
1151
|
error = true;
|
|
1181
1152
|
}
|
|
1182
1153
|
}
|
|
1183
|
-
if (((
|
|
1154
|
+
if (((_g = question.validationType) == null ? void 0 : _g.find((e) => e === "isDateFormatValid")) && question.answer !== "") {
|
|
1184
1155
|
const regex = /^\d{4}-\d{2}-\d{2}$/;
|
|
1185
1156
|
if (!regex.test(question.answer)) {
|
|
1186
1157
|
error = true;
|
|
@@ -1194,16 +1165,18 @@ var hasQuestionValidationError = (question, questions) => {
|
|
|
1194
1165
|
error = true;
|
|
1195
1166
|
}
|
|
1196
1167
|
}
|
|
1197
|
-
const groupCheckError = (
|
|
1168
|
+
const groupCheckError = (_h = question.validationType) == null ? void 0 : _h.find((e) => e.startsWith("groupCheck-"));
|
|
1198
1169
|
if (groupCheckError) {
|
|
1199
1170
|
const ids = groupCheckError.replace("groupCheck-", "").split("-");
|
|
1200
|
-
const relatedAnswers = ids.map(
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1171
|
+
const relatedAnswers = ids.map(
|
|
1172
|
+
(id) => {
|
|
1173
|
+
var _a2;
|
|
1174
|
+
return (_a2 = questions.find((q) => {
|
|
1175
|
+
var _a3;
|
|
1176
|
+
return ((_a3 = q.id) == null ? void 0 : _a3.toString()) === id;
|
|
1177
|
+
})) == null ? void 0 : _a2.answer;
|
|
1178
|
+
}
|
|
1179
|
+
);
|
|
1207
1180
|
const currentAnswer = question.answer;
|
|
1208
1181
|
const allAnswers = [...relatedAnswers, currentAnswer];
|
|
1209
1182
|
if (allAnswers.every((ans) => ans === "")) {
|
|
@@ -1861,15 +1834,15 @@ var useCookieConsent = ({
|
|
|
1861
1834
|
};
|
|
1862
1835
|
|
|
1863
1836
|
// src/components/question-rendering/QuestionRenderer/QuestionRenderer.tsx
|
|
1864
|
-
import { Fragment as Fragment13, jsx as
|
|
1837
|
+
import { Fragment as Fragment13, jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1865
1838
|
var QuestionRenderer = ({
|
|
1866
1839
|
question,
|
|
1867
1840
|
handleQuestionInputChange,
|
|
1868
1841
|
activatedLanguage = "sv",
|
|
1869
1842
|
showPreview = false
|
|
1870
1843
|
}) => {
|
|
1871
|
-
return /* @__PURE__ */
|
|
1872
|
-
question.questionType === "Radio" && /* @__PURE__ */
|
|
1844
|
+
return /* @__PURE__ */ jsxs11(Fragment13, { children: [
|
|
1845
|
+
question.questionType === "Radio" && /* @__PURE__ */ jsx13(
|
|
1873
1846
|
RadioMultipleStandard_default,
|
|
1874
1847
|
{
|
|
1875
1848
|
question,
|
|
@@ -1877,7 +1850,7 @@ var QuestionRenderer = ({
|
|
|
1877
1850
|
showPreview
|
|
1878
1851
|
}
|
|
1879
1852
|
),
|
|
1880
|
-
question.questionType === "TextField" && /* @__PURE__ */
|
|
1853
|
+
question.questionType === "TextField" && /* @__PURE__ */ jsx13(
|
|
1881
1854
|
TextFieldStandard_default,
|
|
1882
1855
|
{
|
|
1883
1856
|
question,
|
|
@@ -1886,7 +1859,7 @@ var QuestionRenderer = ({
|
|
|
1886
1859
|
activatedLanguage
|
|
1887
1860
|
}
|
|
1888
1861
|
),
|
|
1889
|
-
question.questionType === "AddFiles" && /* @__PURE__ */
|
|
1862
|
+
question.questionType === "AddFiles" && /* @__PURE__ */ jsx13(
|
|
1890
1863
|
AddFilesStandard_default,
|
|
1891
1864
|
{
|
|
1892
1865
|
questionObject: question,
|
|
@@ -1896,7 +1869,7 @@ var QuestionRenderer = ({
|
|
|
1896
1869
|
visible: question.visible
|
|
1897
1870
|
}
|
|
1898
1871
|
),
|
|
1899
|
-
question.questionType === "SingleCheckbox" && /* @__PURE__ */
|
|
1872
|
+
question.questionType === "SingleCheckbox" && /* @__PURE__ */ jsx13(
|
|
1900
1873
|
SingleCheckboxStandard_default,
|
|
1901
1874
|
{
|
|
1902
1875
|
question,
|
|
@@ -1905,7 +1878,7 @@ var QuestionRenderer = ({
|
|
|
1905
1878
|
activatedLanguage
|
|
1906
1879
|
}
|
|
1907
1880
|
),
|
|
1908
|
-
question.questionType === "Checkbox" && /* @__PURE__ */
|
|
1881
|
+
question.questionType === "Checkbox" && /* @__PURE__ */ jsx13(
|
|
1909
1882
|
MultipleCheckboxesStandard_default,
|
|
1910
1883
|
{
|
|
1911
1884
|
question,
|
|
@@ -1914,7 +1887,7 @@ var QuestionRenderer = ({
|
|
|
1914
1887
|
activatedLanguage
|
|
1915
1888
|
}
|
|
1916
1889
|
),
|
|
1917
|
-
question.questionType === "CheckboxGroup" && /* @__PURE__ */
|
|
1890
|
+
question.questionType === "CheckboxGroup" && /* @__PURE__ */ jsx13(
|
|
1918
1891
|
CheckboxGroupStandard_default,
|
|
1919
1892
|
{
|
|
1920
1893
|
question,
|
|
@@ -1923,7 +1896,7 @@ var QuestionRenderer = ({
|
|
|
1923
1896
|
activatedLanguage
|
|
1924
1897
|
}
|
|
1925
1898
|
),
|
|
1926
|
-
question.questionType === "TextArea" && /* @__PURE__ */
|
|
1899
|
+
question.questionType === "TextArea" && /* @__PURE__ */ jsx13(
|
|
1927
1900
|
TextAreaStandard_default,
|
|
1928
1901
|
{
|
|
1929
1902
|
question,
|
|
@@ -1937,7 +1910,7 @@ var QuestionRenderer_default = QuestionRenderer;
|
|
|
1937
1910
|
|
|
1938
1911
|
// src/components/question-rendering/QuestionGroup/QuestionGroup.tsx
|
|
1939
1912
|
import { useEffect as useEffect11, Fragment as Fragment14 } from "react";
|
|
1940
|
-
import { Fragment as Fragment15, jsx as
|
|
1913
|
+
import { Fragment as Fragment15, jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1941
1914
|
var QuestionGroup = ({
|
|
1942
1915
|
questions,
|
|
1943
1916
|
wrapperElement = "none",
|
|
@@ -1947,12 +1920,11 @@ var QuestionGroup = ({
|
|
|
1947
1920
|
showPreview = false,
|
|
1948
1921
|
markQuestionAsDisplayed
|
|
1949
1922
|
}) => {
|
|
1950
|
-
var _a
|
|
1923
|
+
var _a;
|
|
1951
1924
|
if (!questions || questions.length === 0) {
|
|
1952
1925
|
return null;
|
|
1953
1926
|
}
|
|
1954
1927
|
const firstQuestion = questions[0];
|
|
1955
|
-
const errorId = firstQuestion.id + "-error";
|
|
1956
1928
|
const groupMandatory = (_a = firstQuestion.validationType) == null ? void 0 : _a.find((e) => e.startsWith("groupCheck-"));
|
|
1957
1929
|
useEffect11(() => {
|
|
1958
1930
|
questions.forEach((question) => {
|
|
@@ -1961,8 +1933,8 @@ var QuestionGroup = ({
|
|
|
1961
1933
|
}
|
|
1962
1934
|
});
|
|
1963
1935
|
}, [questions]);
|
|
1964
|
-
const groupQuestions = /* @__PURE__ */
|
|
1965
|
-
return /* @__PURE__ */
|
|
1936
|
+
const groupQuestions = /* @__PURE__ */ jsx14(Fragment15, { children: questions.map((question, index) => {
|
|
1937
|
+
return /* @__PURE__ */ jsx14(Fragment14, { children: /* @__PURE__ */ jsx14(
|
|
1966
1938
|
QuestionRenderer_default,
|
|
1967
1939
|
{
|
|
1968
1940
|
question,
|
|
@@ -1974,7 +1946,7 @@ var QuestionGroup = ({
|
|
|
1974
1946
|
}) });
|
|
1975
1947
|
switch (wrapperElement) {
|
|
1976
1948
|
case "fieldset":
|
|
1977
|
-
return /* @__PURE__ */
|
|
1949
|
+
return /* @__PURE__ */ jsxs12(
|
|
1978
1950
|
"fieldset",
|
|
1979
1951
|
{
|
|
1980
1952
|
className: "pts-root-question-group-fieldset pts-root-question",
|
|
@@ -1983,48 +1955,44 @@ var QuestionGroup = ({
|
|
|
1983
1955
|
"aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
1984
1956
|
"aria-describedby": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
1985
1957
|
children: [
|
|
1986
|
-
legendLabel && /* @__PURE__ */
|
|
1987
|
-
/* @__PURE__ */
|
|
1958
|
+
legendLabel && /* @__PURE__ */ jsxs12("legend", { children: [
|
|
1959
|
+
/* @__PURE__ */ jsxs12("span", { children: [
|
|
1988
1960
|
legendLabel,
|
|
1989
|
-
groupMandatory && /* @__PURE__ */
|
|
1961
|
+
groupMandatory && /* @__PURE__ */ jsx14("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
1990
1962
|
] }),
|
|
1991
|
-
firstQuestion.hasValidationError && /* @__PURE__ */
|
|
1963
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ jsxs12("span", { className: "sr-only", children: [
|
|
1992
1964
|
"Valideringsfel. ",
|
|
1993
1965
|
firstQuestion.validationDefaultMessesege
|
|
1994
1966
|
] })
|
|
1995
1967
|
] }),
|
|
1996
|
-
/* @__PURE__ */
|
|
1997
|
-
|
|
1998
|
-
{
|
|
1999
|
-
|
|
2000
|
-
validationId: errorId,
|
|
2001
|
-
validationMessesege: (_c = firstQuestion.validationDefaultMessesege) != null ? _c : "",
|
|
2002
|
-
activatedLanguage: activatedLanguage != null ? activatedLanguage : "sv"
|
|
2003
|
-
}
|
|
2004
|
-
),
|
|
1968
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ jsxs12("div", { className: "pts-root-error", id: firstQuestion.id + "-error", children: [
|
|
1969
|
+
/* @__PURE__ */ jsx14("span", { "aria-label": "Valideringsfel", className: "errorDot", children: "!" }),
|
|
1970
|
+
/* @__PURE__ */ jsx14("span", { className: "errorText", children: firstQuestion.validationDefaultMessesege })
|
|
1971
|
+
] }),
|
|
2005
1972
|
groupQuestions
|
|
2006
1973
|
]
|
|
2007
1974
|
}
|
|
2008
1975
|
);
|
|
2009
1976
|
case "section":
|
|
2010
|
-
return /* @__PURE__ */
|
|
1977
|
+
return /* @__PURE__ */ jsx14("section", { className: "pts-root-question-group-section", children: groupQuestions });
|
|
2011
1978
|
case "div":
|
|
2012
|
-
return /* @__PURE__ */
|
|
1979
|
+
return /* @__PURE__ */ jsx14("div", { className: "pts-root-question-group-div", children: groupQuestions });
|
|
2013
1980
|
case "none":
|
|
2014
1981
|
default:
|
|
2015
|
-
return /* @__PURE__ */
|
|
1982
|
+
return /* @__PURE__ */ jsx14(Fragment14, { children: groupQuestions });
|
|
2016
1983
|
}
|
|
2017
1984
|
};
|
|
2018
1985
|
var QuestionGroup_default = QuestionGroup;
|
|
2019
1986
|
|
|
2020
1987
|
// src/components/layout/CookieBanner/CookieBanner.tsx
|
|
2021
|
-
import { jsx as
|
|
1988
|
+
import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2022
1989
|
var CookieBanner = ({
|
|
2023
1990
|
visible = false,
|
|
2024
1991
|
onCookieStateChange,
|
|
2025
1992
|
onClose,
|
|
2026
1993
|
acceptCookies,
|
|
2027
|
-
rejectCookies
|
|
1994
|
+
rejectCookies,
|
|
1995
|
+
activatedLanguage = "sv"
|
|
2028
1996
|
}) => {
|
|
2029
1997
|
if (!visible) return null;
|
|
2030
1998
|
const handleCookieChoice = (accepted) => {
|
|
@@ -2040,7 +2008,7 @@ var CookieBanner = ({
|
|
|
2040
2008
|
onClose();
|
|
2041
2009
|
}
|
|
2042
2010
|
};
|
|
2043
|
-
return /* @__PURE__ */
|
|
2011
|
+
return /* @__PURE__ */ jsx15(
|
|
2044
2012
|
"div",
|
|
2045
2013
|
{
|
|
2046
2014
|
className: "pts-cookieBanner",
|
|
@@ -2050,11 +2018,16 @@ var CookieBanner = ({
|
|
|
2050
2018
|
"aria-modal": "true",
|
|
2051
2019
|
id: "cookie-banner",
|
|
2052
2020
|
tabIndex: -1,
|
|
2053
|
-
children: /* @__PURE__ */
|
|
2054
|
-
/* @__PURE__ */
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2021
|
+
children: /* @__PURE__ */ jsxs13("div", { className: "content", children: [
|
|
2022
|
+
/* @__PURE__ */ jsxs13("h3", { id: "cookie-banner-title", children: [
|
|
2023
|
+
" ",
|
|
2024
|
+
activatedLanguage === "en" ? "Cookies" : "Kakor (cookies)"
|
|
2025
|
+
] }),
|
|
2026
|
+
/* @__PURE__ */ jsx15("p", { id: "cookie-banner-description", children: activatedLanguage === "en" ? `PTS would like to use a web analytics cookie in order to continuously improve pts.se. Do you consent? You can change your choice at any time. To withdraw your consent, click on \u201CCookies\u201D at the bottom of the website.` : `PTS skulle vilja anv\xE4nda en statistikkaka i syfte att l\xF6pande f\xF6rb\xE4ttra webbplatsen.
|
|
2027
|
+
Samtycker du till det? Du kan n\xE4r som helst \xE4ndra ditt val. F\xF6r att \xE5terkalla ditt
|
|
2028
|
+
samtycke klickar du p\xE5 \u201DKakor\u201D i avsnittet l\xE4ngst ned p\xE5 webbplatsen.` }),
|
|
2029
|
+
/* @__PURE__ */ jsxs13("div", { className: "pts-cookieBanner-Links", children: [
|
|
2030
|
+
/* @__PURE__ */ jsxs13(
|
|
2058
2031
|
"svg",
|
|
2059
2032
|
{
|
|
2060
2033
|
width: "27",
|
|
@@ -2064,8 +2037,8 @@ var CookieBanner = ({
|
|
|
2064
2037
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2065
2038
|
"aria-hidden": "true",
|
|
2066
2039
|
children: [
|
|
2067
|
-
/* @__PURE__ */
|
|
2068
|
-
/* @__PURE__ */
|
|
2040
|
+
/* @__PURE__ */ jsx15("rect", { width: "27", height: "27", rx: "13.5", fill: "#6E3282" }),
|
|
2041
|
+
/* @__PURE__ */ jsx15(
|
|
2069
2042
|
"path",
|
|
2070
2043
|
{
|
|
2071
2044
|
d: "M13.5 18.7116L12.4911 17.7995L16.4559 14.1514H7.83594V12.8485H16.4559L12.4911 9.20036L13.5 8.28833L19.164 13.4999L13.5 18.7116Z",
|
|
@@ -2075,19 +2048,19 @@ var CookieBanner = ({
|
|
|
2075
2048
|
]
|
|
2076
2049
|
}
|
|
2077
2050
|
),
|
|
2078
|
-
/* @__PURE__ */
|
|
2051
|
+
/* @__PURE__ */ jsx15(
|
|
2079
2052
|
"a",
|
|
2080
2053
|
{
|
|
2081
2054
|
href: "https://pts.se/om-oss/om-pts.se/kakor-pa-webbplatsen/kakor-pa-pts-e-tjanster/",
|
|
2082
2055
|
target: "_blank",
|
|
2083
2056
|
rel: "noopener noreferrer",
|
|
2084
|
-
children: "Kakor (cookies) p\xE5 pts.se (\xF6ppnas i
|
|
2057
|
+
children: activatedLanguage === "en" ? "Cookies on pts.se (opens in new tab)" : "Kakor (cookies) p\xE5 pts.se (\xF6ppnas i ny flik"
|
|
2085
2058
|
}
|
|
2086
2059
|
)
|
|
2087
2060
|
] }),
|
|
2088
|
-
/* @__PURE__ */
|
|
2089
|
-
/* @__PURE__ */
|
|
2090
|
-
/* @__PURE__ */
|
|
2061
|
+
/* @__PURE__ */ jsxs13("div", { className: "pts-cookieBanner-Buttons", children: [
|
|
2062
|
+
/* @__PURE__ */ jsx15("button", { onClick: () => handleCookieChoice(true), children: activatedLanguage === "en" ? "Yes, I consent" : "Ja, jag samtycker" }),
|
|
2063
|
+
/* @__PURE__ */ jsx15("button", { onClick: () => handleCookieChoice(false), children: activatedLanguage === "en" ? "No, I do not consent" : "Nej, jag samtycker inte" })
|
|
2091
2064
|
] })
|
|
2092
2065
|
] })
|
|
2093
2066
|
}
|
|
@@ -2096,12 +2069,12 @@ var CookieBanner = ({
|
|
|
2096
2069
|
var CookieBanner_default = CookieBanner;
|
|
2097
2070
|
|
|
2098
2071
|
// src/components/layout/FooterStandard/FooterStandard.tsx
|
|
2099
|
-
import { jsx as
|
|
2072
|
+
import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2100
2073
|
var Footer = ({ activatedLanguage = "sv" }) => {
|
|
2101
|
-
return /* @__PURE__ */
|
|
2102
|
-
/* @__PURE__ */
|
|
2103
|
-
/* @__PURE__ */
|
|
2104
|
-
/* @__PURE__ */
|
|
2074
|
+
return /* @__PURE__ */ jsxs14("footer", { className: "pts-footer-container", children: [
|
|
2075
|
+
/* @__PURE__ */ jsx16("div", { className: "pts-footer-slogan-text-container", children: /* @__PURE__ */ jsx16("p", { className: "pts-footer-slogan-text", children: activatedLanguage === "sv" ? "S\xE4ker och tillg\xE4nglig kommunikation f\xF6r Sverige" : "Secure and accessible communication for Sweden" }) }),
|
|
2076
|
+
/* @__PURE__ */ jsxs14("div", { className: "pts-footer-content", children: [
|
|
2077
|
+
/* @__PURE__ */ jsxs14(
|
|
2105
2078
|
"svg",
|
|
2106
2079
|
{
|
|
2107
2080
|
"aria-label": activatedLanguage === "en" ? "PTS logotype" : "PTS logotyp",
|
|
@@ -2112,14 +2085,14 @@ var Footer = ({ activatedLanguage = "sv" }) => {
|
|
|
2112
2085
|
viewBox: "0 0 278 72",
|
|
2113
2086
|
fill: "none",
|
|
2114
2087
|
children: [
|
|
2115
|
-
/* @__PURE__ */
|
|
2088
|
+
/* @__PURE__ */ jsx16(
|
|
2116
2089
|
"path",
|
|
2117
2090
|
{
|
|
2118
2091
|
d: "M54 43C54 47.2 51.5 51.1 47.6 52.3C45.8 52.8 44 53 41 53H24.5C21.4 53 21 53.5 21 56.5V63C21 65.4 19.5 67 17.5 67C15.5 67 14 65.4 14 63V58.5C14 56.5 14 54.8 14.2 53.9C14.8 50.5 16.8 47.9 20.1 46.7C21.4 46.2 23.6 45.9 27.9 45.9H42C43.2 45.9 44.4 45.8 44.9 45.6C46.4 45 46.9 44 46.9 42.9C46.9 41.8 46.5 40.7 44.9 40.2C44.4 40 43.2 39.9 42 39.9H19.4C18.5 39.9 17.7 39.9 17.3 39.7C15.8 39.2 14.9 37.8 14.9 36.4C14.9 35 15.8 33.6 17.3 33.1C17.8 32.9 18.3 32.9 19.3 32.9H40.9C44 32.9 46.4 33.1 47.9 33.7C51.8 35.2 53.9 38.4 53.9 42.9L54 43ZM95.7 33.3C95.2 33.1 94.4 33 93.3 33H61.6C60.8 33 60.1 33 59.7 33.2C58 33.7 57 35 57 36.5C57 38 57.8 39.2 59.4 39.7C59.9 39.9 60.7 40 61.6 40H74V63.4C74 65.8 75.6 67 77.5 67C79.4 67 81 65.8 81 63.4V40H93.3C94.5 40 95.1 40 95.5 39.8C97.1 39.3 98 38 98 36.5C98 35 97.2 33.8 95.7 33.3ZM133.5 47.4C131.8 46.5 129.6 46 124.1 46H113.5C111.8 46 110.9 45.9 110.3 45.7C108.6 45.1 108 44 108 43C108 42 108.4 40.8 110.2 40.2C110.7 40 111.6 40 112.5 40H132C132.4 40 133.5 40 133.8 40C135.6 39.7 137 38.6 137 36.6C137 34.6 135.6 33.6 133.9 33.2C133.6 33.2 132.9 33.1 132 33.1H113.5C110.2 33.1 107.8 33.5 106.2 34.2C102.9 35.8 101 39.2 101 43.1C101 47 102.8 50.5 106.4 52.1C108 52.8 110.4 53.1 113.5 53.1H127C128.7 53.1 129.6 53.3 130.2 53.5C131.6 54 132 55.4 132 56.6C132 57.8 131.6 59.3 129.9 59.8C129.3 60 128.1 60.1 126.1 60.1H106.5C105.7 60.1 104.9 60.1 104.5 60.3C102.9 60.7 102 62 102 63.6C102 65.2 103 66.2 104.3 66.7C104.8 66.9 105.9 67.1 106.7 67.1H124C127.7 67.1 130.7 66.9 132.5 66.3C136.6 65.1 138.9 61.2 138.9 56.6C138.9 52 136.8 49.2 133.4 47.5L133.5 47.4Z",
|
|
2119
2092
|
fill: "white"
|
|
2120
2093
|
}
|
|
2121
2094
|
),
|
|
2122
|
-
/* @__PURE__ */
|
|
2095
|
+
/* @__PURE__ */ jsx16(
|
|
2123
2096
|
"path",
|
|
2124
2097
|
{
|
|
2125
2098
|
d: "M92.1 15.7L92.5 15C90 11.6 84.1 9.2 78.1 9H76.9C70.9 9.2 65 11.6 62.5 15L62.9 15.7C61.8 15.7 61 16.4 61 17.3L63.3 27C63.5 27.6 63.7 27.9 64.5 27.9H90.5C91.2 27.9 91.5 27.5 91.6 27L93.9 17.3C93.9 16.4 93.1 15.7 92 15.7H92.1ZM69.3 18.8C69.1 18.8 68.8 18.7 68.6 18.7C67.6 18.7 66.9 19.4 66.9 20.3C66.9 21.2 67.6 21.8 68.5 21.8C69.4 21.8 69.3 21.7 69.5 21.4C69.5 22.2 68.6 24 67.4 24H64.9C63.2 24 63 21.7 63 21.5C63.2 21.7 63.7 21.8 64.1 21.8C64.9 21.8 65.6 21.2 65.6 20.3C65.6 19.4 64.9 18.7 63.9 18.7C62.9 18.7 63.5 18.7 63.4 18.7C63.8 18.4 64.2 17.9 64.2 17.3C64.2 16.7 63.9 16.4 63.5 16.1L65.8 15C67.3 12.5 70 10.7 73.3 10C71.5 11.3 70 12.9 68.8 15L69.6 15.7C68.8 15.8 68.2 16.5 68.2 17.3C68.2 18.1 68.6 18.5 69.2 18.8H69.3ZM76.8 18.9C76.6 18.8 76.2 18.7 76 18.7C75 18.7 74.3 19.4 74.3 20.3C74.3 21.2 75 21.8 75.9 21.8C76.8 21.8 76.7 21.7 77 21.5C77 22.3 76.4 24 75 24H72.5C70.9 24 70.5 22 70.5 21.4C70.7 21.6 71.1 21.8 71.6 21.8C72.4 21.8 73.2 21.2 73.2 20.3C73.2 19.4 72.5 18.7 71.5 18.7C70.5 18.7 70.9 18.7 70.8 18.8C71.4 18.5 71.8 18 71.8 17.3C71.8 16.6 71.4 16.1 70.8 15.9L72.6 15C73.1 13.2 74.7 10.6 76.4 9.7C76.2 10.6 76.1 12.5 76.1 15C76.1 15 76.6 15.5 77.1 15.8C76.4 16 75.9 16.6 75.9 17.3C75.9 18 76.3 18.5 76.9 18.8L76.8 18.9ZM82.5 24H80C78.6 24 78 22.3 78 21.5C78.2 21.7 78.6 21.8 79.1 21.8C80 21.8 80.7 21.2 80.7 20.3C80.7 19.4 80 18.7 79 18.7C78 18.7 78.4 18.7 78.2 18.9C78.8 18.7 79.3 18.1 79.3 17.4C79.3 16.7 78.8 16.1 78.1 15.9C78.6 15.6 79.1 15.1 79.1 15.1C79.1 12.6 79 10.7 78.7 9.8C80.5 10.7 82.1 13.2 82.6 15.1L84.4 16C83.9 16.2 83.4 16.8 83.4 17.4C83.4 18 83.8 18.6 84.4 18.9C84.2 18.9 83.9 18.8 83.7 18.8C82.7 18.8 82 19.5 82 20.4C82 21.3 82.7 21.9 83.6 21.9C84.5 21.9 84.4 21.8 84.7 21.5C84.7 22 84.3 24.1 82.7 24.1L82.5 24ZM90 24H87.5C86.2 24 85.4 22.3 85.4 21.4C85.6 21.7 86 21.8 86.5 21.8C87.3 21.8 88 21.2 88 20.3C88 19.4 87.3 18.7 86.3 18.7C85.3 18.7 85.7 18.7 85.6 18.8C86.2 18.5 86.6 18 86.6 17.3C86.6 16.6 86 15.8 85.1 15.7L86 15C84.8 12.9 83.3 11.4 81.5 10C84.7 10.7 87.5 12.4 89 15L91.4 16.1C91 16.4 90.7 16.8 90.7 17.4C90.7 18 91.1 18.6 91.6 18.9C91.5 18.9 91.2 18.8 91 18.8C90 18.8 89.3 19.5 89.3 20.4C89.3 21.3 90 21.9 90.8 21.9C91.6 21.9 91.7 21.8 91.9 21.6C91.9 21.8 91.6 24.1 90 24.1V24ZM77.5 9C76.1 9 75 7.9 75 6.5C75 5.1 75.9 4.3 77 4.1V3H76V2H77V1H78V2H79V3H78V4.1C79.1 4.3 80 5.3 80 6.6C80 7.9 78.9 9.1 77.5 9.1V9Z",
|
|
@@ -2129,52 +2102,52 @@ var Footer = ({ activatedLanguage = "sv" }) => {
|
|
|
2129
2102
|
]
|
|
2130
2103
|
}
|
|
2131
2104
|
),
|
|
2132
|
-
/* @__PURE__ */
|
|
2133
|
-
/* @__PURE__ */
|
|
2105
|
+
/* @__PURE__ */ jsx16("nav", { className: "pts-footer-linkList", children: /* @__PURE__ */ jsxs14("ul", { children: [
|
|
2106
|
+
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2134
2107
|
"a",
|
|
2135
2108
|
{
|
|
2136
2109
|
href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
|
|
2137
2110
|
target: "_blank",
|
|
2138
2111
|
rel: "noopener noreferrer",
|
|
2139
2112
|
children: [
|
|
2140
|
-
/* @__PURE__ */
|
|
2141
|
-
/* @__PURE__ */
|
|
2113
|
+
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
|
|
2114
|
+
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
|
|
2142
2115
|
]
|
|
2143
2116
|
}
|
|
2144
2117
|
) }),
|
|
2145
|
-
/* @__PURE__ */
|
|
2118
|
+
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2146
2119
|
"a",
|
|
2147
2120
|
{
|
|
2148
2121
|
href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
|
|
2149
2122
|
target: "_blank",
|
|
2150
2123
|
rel: "noopener noreferrer",
|
|
2151
2124
|
children: [
|
|
2152
|
-
/* @__PURE__ */
|
|
2153
|
-
/* @__PURE__ */
|
|
2125
|
+
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Processing of personal data (opens in new tab)" : "PTS Behandling av personuppgifter (\xF6ppnas i ny flik)" }),
|
|
2126
|
+
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Processing of personal data" : "Behandling av personuppgifter" })
|
|
2154
2127
|
]
|
|
2155
2128
|
}
|
|
2156
2129
|
) }),
|
|
2157
|
-
/* @__PURE__ */
|
|
2130
|
+
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2158
2131
|
"a",
|
|
2159
2132
|
{
|
|
2160
2133
|
href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
|
|
2161
2134
|
target: "_blank",
|
|
2162
2135
|
rel: "noopener noreferrer",
|
|
2163
2136
|
children: [
|
|
2164
|
-
/* @__PURE__ */
|
|
2165
|
-
/* @__PURE__ */
|
|
2137
|
+
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Accessibility (opens in new tab)" : "PTS Tillg\xE4nglighetsredog\xF6relse (\xF6ppnas i ny flik)" }),
|
|
2138
|
+
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Accessibility" : "Tillg\xE4nglighetsredog\xF6relse" })
|
|
2166
2139
|
]
|
|
2167
2140
|
}
|
|
2168
2141
|
) }),
|
|
2169
|
-
/* @__PURE__ */
|
|
2142
|
+
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2170
2143
|
"a",
|
|
2171
2144
|
{
|
|
2172
2145
|
href: activatedLanguage === "en" ? "https://pts.se/en/cookies-eservices" : "https://www.pts.se/kakor-etjanster",
|
|
2173
2146
|
target: "_blank",
|
|
2174
2147
|
rel: "noopener noreferrer",
|
|
2175
2148
|
children: [
|
|
2176
|
-
/* @__PURE__ */
|
|
2177
|
-
/* @__PURE__ */
|
|
2149
|
+
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Cookies (opens in new tab)" : "PTS Kakor (\xF6ppnas i ny flik)" }),
|
|
2150
|
+
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Cookies" : "Kakor" })
|
|
2178
2151
|
]
|
|
2179
2152
|
}
|
|
2180
2153
|
) })
|
|
@@ -2185,374 +2158,374 @@ var Footer = ({ activatedLanguage = "sv" }) => {
|
|
|
2185
2158
|
var FooterStandard_default = Footer;
|
|
2186
2159
|
|
|
2187
2160
|
// src/components/layout/HeaderStandard/Icons.tsx
|
|
2188
|
-
import { jsx as
|
|
2189
|
-
var LanguageIcon = () => /* @__PURE__ */
|
|
2161
|
+
import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2162
|
+
var LanguageIcon = () => /* @__PURE__ */ jsx17("svg", { width: "15", height: "15", viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx17(
|
|
2190
2163
|
"path",
|
|
2191
2164
|
{
|
|
2192
2165
|
d: "M9 18C7.76133 18 6.59467 17.7633 5.5 17.29C4.40533 16.8167 3.452 16.1733 2.64 15.36C1.82667 14.5487 1.18333 13.5953 0.71 12.5C0.236667 11.4053 0 10.2387 0 9C0 7.758 0.236667 6.59033 0.71 5.497C1.184 4.40367 1.82733 3.451 2.64 2.639C3.45133 1.827 4.40467 1.18433 5.5 0.711C6.59467 0.237 7.76133 0 9 0C10.242 0 11.4097 0.236667 12.503 0.71C13.5963 1.184 14.549 1.82733 15.361 2.64C16.173 3.452 16.8157 4.40433 17.289 5.497C17.763 6.59033 18 7.758 18 9C18 10.2387 17.7633 11.4053 17.29 12.5C16.8167 13.5947 16.1733 14.548 15.36 15.36C14.548 16.1727 13.5957 16.816 12.503 17.29C11.4097 17.7633 10.242 18 9 18ZM9 17.008C9.58667 16.254 10.0707 15.5137 10.452 14.787C10.8327 14.0603 11.1423 13.247 11.381 12.347H6.619C6.883 13.2977 7.199 14.1363 7.567 14.863C7.935 15.5897 8.41267 16.3047 9 17.008ZM7.727 16.858C7.26033 16.308 6.83433 15.628 6.449 14.818C6.06367 14.0087 5.777 13.1847 5.589 12.346H1.753C2.32633 13.59 3.13867 14.61 4.19 15.406C5.242 16.202 6.42067 16.686 7.726 16.858H7.727ZM10.273 16.858C11.5783 16.686 12.757 16.202 13.809 15.406C14.861 14.61 15.6733 13.59 16.246 12.346H12.412C12.1587 13.1973 11.8397 14.028 11.455 14.838C11.0697 15.6473 10.6757 16.3207 10.273 16.858ZM1.346 11.346H5.381C5.305 10.936 5.25167 10.5363 5.221 10.147C5.189 9.75767 5.173 9.37533 5.173 9C5.173 8.62467 5.18867 8.24233 5.22 7.853C5.25133 7.46367 5.30467 7.06367 5.38 6.653H1.347C1.23833 6.99967 1.15333 7.37733 1.092 7.786C1.03067 8.19467 1 8.59933 1 9C1 9.40133 1.03033 9.806 1.091 10.214C1.15233 10.6227 1.23733 11 1.346 11.346ZM6.381 11.346H11.619C11.695 10.936 11.7483 10.5427 11.779 10.166C11.811 9.79 11.827 9.40133 11.827 9C11.827 8.59867 11.8113 8.21 11.78 7.834C11.7487 7.45733 11.6953 7.064 11.62 6.654H6.38C6.30467 7.064 6.25133 7.45733 6.22 7.834C6.18867 8.21 6.173 8.59867 6.173 9C6.173 9.40133 6.18867 9.79 6.22 10.166C6.25133 10.5427 6.30567 10.936 6.381 11.346ZM12.619 11.346H16.654C16.7627 10.9993 16.8477 10.622 16.909 10.214C16.9703 9.806 17.0007 9.40133 17 9C17 8.59867 16.9697 8.194 16.909 7.786C16.8477 7.37733 16.7627 7 16.654 6.654H12.619C12.695 7.064 12.7483 7.46367 12.779 7.853C12.811 8.24233 12.827 8.62467 12.827 9C12.827 9.37533 12.8113 9.75767 12.78 10.147C12.7487 10.5363 12.6953 10.9363 12.62 11.347L12.619 11.346ZM12.412 5.654H16.246C15.66 4.38467 14.8573 3.36467 13.838 2.594C12.818 1.82333 11.6297 1.33333 10.273 1.124C10.7397 1.73733 11.1593 2.43933 11.532 3.23C11.904 4.02 12.1973 4.828 12.412 5.654ZM6.619 5.654H11.381C11.117 4.71533 10.7913 3.86667 10.404 3.108C10.0173 2.34867 9.54933 1.64333 9 0.992C8.45133 1.64333 7.98333 2.34867 7.596 3.108C7.20933 3.86667 6.88367 4.71533 6.619 5.654ZM1.754 5.654H5.588C5.80267 4.828 6.096 4.02 6.468 3.23C6.84067 2.43933 7.26033 1.737 7.727 1.123C6.35767 1.333 5.16633 1.82633 4.153 2.603C3.13967 3.38033 2.33967 4.397 1.753 5.653L1.754 5.654Z",
|
|
2193
2166
|
fill: "#6E3282"
|
|
2194
2167
|
}
|
|
2195
2168
|
) });
|
|
2196
|
-
var Logo_sv = () => /* @__PURE__ */
|
|
2197
|
-
/* @__PURE__ */
|
|
2169
|
+
var Logo_sv = () => /* @__PURE__ */ jsxs15("svg", { width: "168.8", height: "40", viewBox: "0 0 168.8 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2170
|
+
/* @__PURE__ */ jsx17(
|
|
2198
2171
|
"path",
|
|
2199
2172
|
{
|
|
2200
2173
|
d: "M91.7779 18.6113C92.1668 18.8335 92.5001 19.1113 92.6668 19.4446C92.8335 19.7779 93.0001 20.2224 93.0001 20.7224C93.0001 21.2224 92.889 21.6113 92.6668 22.0002C92.4446 22.3891 92.1668 22.6668 91.7779 22.8335C91.389 23.0002 90.9446 23.1113 90.4446 23.1113H88.4446V26.1113H87.5001V18.3335H90.5001C91.0001 18.3335 91.4446 18.4446 91.8335 18.6113H91.7779ZM90.3335 22.2224C90.8335 22.2224 91.2779 22.1113 91.5557 21.8335C91.8335 21.5557 92.0001 21.1668 92.0001 20.7224C92.0001 20.2779 91.8335 19.8891 91.5557 19.6113C91.2779 19.3335 90.8335 19.2224 90.3335 19.2224H88.389V22.2224H90.3335Z",
|
|
2201
2174
|
fill: "#141414"
|
|
2202
2175
|
}
|
|
2203
2176
|
),
|
|
2204
|
-
/* @__PURE__ */
|
|
2177
|
+
/* @__PURE__ */ jsx17(
|
|
2205
2178
|
"path",
|
|
2206
2179
|
{
|
|
2207
2180
|
d: "M93.7779 24.778C93.5557 24.3336 93.4446 23.8336 93.4446 23.278C93.4446 22.7225 93.5557 22.2225 93.7779 21.778C94.0001 21.3336 94.3335 21.0003 94.7779 20.778C95.2224 20.5558 95.6668 20.3892 96.2224 20.3892C96.7779 20.3892 97.2779 20.5003 97.6668 20.778C98.1113 21.0003 98.4446 21.3892 98.6668 21.778C98.889 22.2225 99.0001 22.7225 99.0001 23.278C99.0001 23.8336 98.889 24.3336 98.6668 24.778C98.4446 25.2225 98.1113 25.5558 97.6668 25.778C97.2224 26.0003 96.7779 26.1669 96.2224 26.1669C95.6668 26.1669 95.1668 26.0558 94.7779 25.778C94.389 25.5003 94.0001 25.1669 93.7779 24.778ZM97.8335 24.3336C98.0001 24.0003 98.0557 23.6669 98.0557 23.278C98.0557 22.8892 98.0001 22.5003 97.8335 22.2225C97.6668 21.8892 97.4446 21.6669 97.1668 21.5003C96.889 21.3336 96.5557 21.2225 96.1668 21.2225C95.7779 21.2225 95.4446 21.3336 95.1668 21.5003C94.889 21.6669 94.6668 21.9447 94.5001 22.2225C94.3335 22.5558 94.2779 22.8892 94.2779 23.278C94.2779 23.6669 94.3335 24.0558 94.5001 24.3336C94.6668 24.6669 94.889 24.8892 95.1668 25.0558C95.4446 25.2225 95.7779 25.3336 96.1668 25.3336C96.5557 25.3336 96.889 25.2225 97.1668 25.0558C97.4446 24.8892 97.6668 24.6114 97.8335 24.3336Z",
|
|
2208
2181
|
fill: "#141414"
|
|
2209
2182
|
}
|
|
2210
2183
|
),
|
|
2211
|
-
/* @__PURE__ */
|
|
2184
|
+
/* @__PURE__ */ jsx17(
|
|
2212
2185
|
"path",
|
|
2213
2186
|
{
|
|
2214
2187
|
d: "M101.222 25.0557C101.5 25.2779 101.889 25.389 102.333 25.389C102.778 25.389 103.056 25.3335 103.333 25.1668C103.556 25.0001 103.722 24.7779 103.722 24.5557C103.722 24.3335 103.667 24.1668 103.556 24.0557C103.445 23.9446 103.278 23.8335 103.111 23.8335C102.945 23.8335 102.667 23.7224 102.278 23.7224C101.778 23.6668 101.389 23.6112 101.056 23.5001C100.722 23.389 100.5 23.2224 100.278 23.0557C100.056 22.889 100 22.5557 100 22.1668C100 21.7779 100.111 21.5557 100.278 21.2779C100.445 21.0001 100.722 20.8335 101.056 20.6668C101.389 20.5001 101.722 20.4446 102.167 20.4446C102.833 20.4446 103.389 20.6112 103.778 20.889C104.222 21.2224 104.445 21.6668 104.445 22.2224H103.556C103.556 21.9446 103.389 21.6668 103.111 21.5001C102.833 21.3335 102.556 21.2224 102.167 21.2224C101.778 21.2224 101.445 21.2779 101.222 21.4446C101 21.6112 100.889 21.8335 100.889 22.0557C100.889 22.2779 100.889 22.389 101.056 22.5001C101.167 22.6112 101.333 22.6668 101.5 22.7224C101.667 22.7779 101.945 22.7779 102.278 22.8335C102.778 22.889 103.167 23.0001 103.5 23.0557C103.833 23.1112 104.056 23.3335 104.278 23.5557C104.5 23.7779 104.556 24.1112 104.556 24.5001C104.556 24.889 104.445 25.1668 104.278 25.389C104.056 25.6668 103.833 25.8335 103.445 26.0001C103.111 26.1668 102.722 26.2224 102.333 26.2224C101.611 26.2224 101 26.0557 100.556 25.7224C100.111 25.389 99.889 24.889 99.889 24.2779H100.778C100.778 24.6112 100.945 24.889 101.222 25.1112V25.0557Z",
|
|
2215
2188
|
fill: "#141414"
|
|
2216
2189
|
}
|
|
2217
2190
|
),
|
|
2218
|
-
/* @__PURE__ */
|
|
2191
|
+
/* @__PURE__ */ jsx17(
|
|
2219
2192
|
"path",
|
|
2220
2193
|
{
|
|
2221
2194
|
d: "M104.945 21.2779V20.4446H105.945V18.8335H106.833V20.4446H108.278V21.2779H106.833V24.6113C106.833 24.8335 106.833 25.0002 106.945 25.1113C107.056 25.2224 107.222 25.2779 107.445 25.2779H108.445V26.1113H107.389C106.833 26.1113 106.5 26.0002 106.222 25.7779C106 25.5557 105.889 25.1668 105.889 24.6668V21.3335H104.889L104.945 21.2779Z",
|
|
2222
2195
|
fill: "#141414"
|
|
2223
2196
|
}
|
|
2224
2197
|
),
|
|
2225
|
-
/* @__PURE__ */
|
|
2226
|
-
/* @__PURE__ */
|
|
2198
|
+
/* @__PURE__ */ jsx17("path", { d: "M108.778 22.5557H112.5V23.3334H108.778V22.5557Z", fill: "#141414" }),
|
|
2199
|
+
/* @__PURE__ */ jsx17(
|
|
2227
2200
|
"path",
|
|
2228
2201
|
{
|
|
2229
2202
|
d: "M116.778 24.778C116.556 24.3336 116.445 23.8336 116.445 23.278C116.445 22.7225 116.556 22.2225 116.778 21.778C117 21.3336 117.333 21.0003 117.778 20.778C118.222 20.5558 118.667 20.3892 119.222 20.3892C119.778 20.3892 120.278 20.5003 120.667 20.778C121.111 21.0003 121.445 21.3892 121.667 21.778C121.889 22.2225 122 22.7225 122 23.278C122 23.8336 121.889 24.3336 121.667 24.778C121.445 25.2225 121.111 25.5558 120.667 25.778C120.222 26.0003 119.778 26.1669 119.222 26.1669C118.667 26.1669 118.167 26.0558 117.778 25.778C117.389 25.5003 117 25.1669 116.778 24.778ZM120.833 24.3336C121 24.0003 121.056 23.6669 121.056 23.278C121.056 22.8892 121 22.5003 120.833 22.2225C120.667 21.8892 120.445 21.6669 120.167 21.5003C119.889 21.3336 119.556 21.2225 119.167 21.2225C118.778 21.2225 118.445 21.3336 118.167 21.5003C117.889 21.6669 117.667 21.9447 117.5 22.2225C117.333 22.5558 117.278 22.8892 117.278 23.278C117.278 23.6669 117.333 24.0558 117.5 24.3336C117.667 24.6669 117.889 24.8892 118.167 25.0558C118.445 25.2225 118.778 25.3336 119.167 25.3336C119.556 25.3336 119.889 25.2225 120.167 25.0558C120.445 24.8892 120.667 24.6114 120.833 24.3336Z",
|
|
2230
2203
|
fill: "#141414"
|
|
2231
2204
|
}
|
|
2232
2205
|
),
|
|
2233
|
-
/* @__PURE__ */
|
|
2206
|
+
/* @__PURE__ */ jsx17(
|
|
2234
2207
|
"path",
|
|
2235
2208
|
{
|
|
2236
2209
|
d: "M125.611 26.1668C125.056 26.1668 124.556 26.0557 124.167 25.7779C123.778 25.5557 123.445 25.1668 123.222 24.7224C123 24.2779 122.889 23.7779 122.889 23.2224C122.889 22.6668 123 22.1668 123.222 21.7224C123.445 21.2779 123.778 20.9446 124.222 20.7224C124.667 20.5002 125.111 20.3335 125.667 20.3335C126.222 20.3335 126.889 20.5002 127.333 20.8891C127.778 21.2224 128.056 21.7224 128.167 22.3335H127.222C127.111 21.9446 126.945 21.6668 126.667 21.4446C126.389 21.2224 126.056 21.1113 125.667 21.1113C125.278 21.1113 124.667 21.2779 124.333 21.6668C124 22.0557 123.833 22.5557 123.833 23.1668C123.833 23.7779 124 24.2779 124.333 24.6668C124.667 25.0557 125.111 25.2779 125.667 25.2779C126.222 25.2779 126.445 25.1668 126.722 24.9446C127 24.7224 127.167 24.4446 127.278 24.0557H128.167C128.056 24.6668 127.778 25.1668 127.333 25.5557C126.889 25.8891 126.333 26.1113 125.667 26.1113L125.611 26.1668Z",
|
|
2237
2210
|
fill: "#141414"
|
|
2238
2211
|
}
|
|
2239
2212
|
),
|
|
2240
|
-
/* @__PURE__ */
|
|
2213
|
+
/* @__PURE__ */ jsx17(
|
|
2241
2214
|
"path",
|
|
2242
2215
|
{
|
|
2243
2216
|
d: "M134.278 22.9446V26.1113H133.389V23.0002C133.389 22.3891 133.278 21.9446 133 21.6668C132.722 21.3335 132.333 21.2224 131.833 21.2224C131.333 21.2224 130.889 21.3891 130.611 21.7779C130.278 22.1668 130.167 22.6668 130.167 23.2779V26.1113H129.278V18.3335H130.167V21.3891C130.333 21.1113 130.611 20.8335 130.889 20.6668C131.222 20.5002 131.556 20.3891 132 20.3891C132.667 20.3891 133.222 20.6113 133.667 21.0002C134.111 21.3891 134.278 22.0557 134.278 22.9446Z",
|
|
2244
2217
|
fill: "#141414"
|
|
2245
2218
|
}
|
|
2246
2219
|
),
|
|
2247
|
-
/* @__PURE__ */
|
|
2220
|
+
/* @__PURE__ */ jsx17(
|
|
2248
2221
|
"path",
|
|
2249
2222
|
{
|
|
2250
2223
|
d: "M86.6668 32.389V31.5557H87.6668V29.9446H88.5556V31.5557H90.0001V32.389H88.5556V35.7224C88.5556 35.9446 88.5557 36.1112 88.6668 36.2224C88.7779 36.3335 88.9445 36.389 89.1668 36.389H90.1668V37.2224H89.1112C88.5556 37.2224 88.2223 37.1112 87.9445 36.889C87.7223 36.6668 87.6112 36.2779 87.6112 35.7779V32.4446H86.6112L86.6668 32.389Z",
|
|
2251
2224
|
fill: "#141414"
|
|
2252
2225
|
}
|
|
2253
2226
|
),
|
|
2254
|
-
/* @__PURE__ */
|
|
2227
|
+
/* @__PURE__ */ jsx17(
|
|
2255
2228
|
"path",
|
|
2256
2229
|
{
|
|
2257
2230
|
d: "M91.7779 31.8335C92.1668 31.6112 92.6668 31.4446 93.1668 31.4446C93.6668 31.4446 94.1668 31.5557 94.5557 31.7779C94.9446 32.0001 95.2779 32.2779 95.5001 32.7224C95.7223 33.1668 95.8334 33.6112 95.889 34.1668C95.889 34.2224 95.889 34.389 95.889 34.5557H91.5001C91.5001 35.1668 91.6668 35.6112 92.0001 35.9446C92.3334 36.2779 92.7779 36.4446 93.2779 36.4446C93.7779 36.4446 94.0557 36.3335 94.3334 36.1112C94.6112 35.889 94.8334 35.6112 94.889 35.2779H95.8334C95.7223 35.8335 95.4446 36.3335 95.0001 36.7224C94.5557 37.1112 94.0001 37.2779 93.389 37.2779C92.7779 37.2779 92.3334 37.1668 91.889 36.889C91.4445 36.6668 91.1112 36.3335 90.889 35.889C90.6668 35.4446 90.5557 34.9446 90.5557 34.389C90.5557 33.8335 90.6668 33.2779 90.889 32.889C91.1112 32.4446 91.4446 32.1112 91.8334 31.889L91.7779 31.8335ZM94.389 32.6668C94.0557 32.389 93.6668 32.2779 93.1668 32.2779C92.6668 32.2779 92.3334 32.4446 92.0557 32.7224C91.7779 33.0001 91.5557 33.389 91.5001 33.8335H94.9445C94.9445 33.3335 94.7223 33.0001 94.389 32.7224V32.6668Z",
|
|
2258
2231
|
fill: "#141414"
|
|
2259
2232
|
}
|
|
2260
2233
|
),
|
|
2261
|
-
/* @__PURE__ */
|
|
2262
|
-
/* @__PURE__ */
|
|
2234
|
+
/* @__PURE__ */ jsx17("path", { d: "M97.8335 29.4446V37.2224H96.9446V29.4446H97.8335Z", fill: "#141414" }),
|
|
2235
|
+
/* @__PURE__ */ jsx17(
|
|
2263
2236
|
"path",
|
|
2264
2237
|
{
|
|
2265
2238
|
d: "M100.167 31.8335C100.556 31.6112 101.056 31.4446 101.556 31.4446C102.056 31.4446 102.556 31.5557 102.945 31.7779C103.333 32.0001 103.667 32.2779 103.889 32.7224C104.111 33.1668 104.222 33.6112 104.278 34.1668C104.278 34.2224 104.278 34.389 104.278 34.5557H99.889C99.889 35.1668 100.056 35.6112 100.389 35.9446C100.722 36.2779 101.167 36.4446 101.667 36.4446C102.167 36.4446 102.445 36.3335 102.722 36.1112C103 35.889 103.222 35.6112 103.278 35.2779H104.222C104.111 35.8335 103.833 36.3335 103.389 36.7224C102.945 37.1112 102.389 37.2779 101.778 37.2779C101.167 37.2779 100.722 37.1668 100.278 36.889C99.8335 36.6668 99.5001 36.3335 99.2779 35.889C99.0557 35.4446 98.9446 34.9446 98.9446 34.389C98.9446 33.8335 99.0557 33.2779 99.2779 32.889C99.5001 32.4446 99.8335 32.1112 100.222 31.889L100.167 31.8335ZM102.778 32.6668C102.445 32.389 102.056 32.2779 101.556 32.2779C101.056 32.2779 100.722 32.4446 100.445 32.7224C100.167 33.0001 99.9446 33.389 99.889 33.8335H103.333C103.333 33.3335 103.111 33.0001 102.778 32.7224V32.6668Z",
|
|
2266
2239
|
fill: "#141414"
|
|
2267
2240
|
}
|
|
2268
2241
|
),
|
|
2269
|
-
/* @__PURE__ */
|
|
2242
|
+
/* @__PURE__ */ jsx17(
|
|
2270
2243
|
"path",
|
|
2271
2244
|
{
|
|
2272
2245
|
d: "M106.445 36.1668C106.722 36.389 107.111 36.5001 107.556 36.5001C108 36.5001 108.278 36.4446 108.556 36.2779C108.778 36.1112 108.945 35.889 108.945 35.6668C108.945 35.4446 108.889 35.2779 108.778 35.1668C108.667 35.0557 108.5 34.9446 108.333 34.9446C108.167 34.9446 107.889 34.8334 107.5 34.8334C107 34.7779 106.611 34.7223 106.278 34.6112C105.945 34.5001 105.722 34.3334 105.5 34.1668C105.278 34.0001 105.222 33.6668 105.222 33.2779C105.222 32.889 105.333 32.6668 105.5 32.389C105.667 32.1112 105.945 31.9446 106.278 31.7779C106.611 31.6112 106.945 31.5557 107.389 31.5557C108.056 31.5557 108.611 31.7223 109 32.0001C109.445 32.3334 109.667 32.7779 109.667 33.3334H108.778C108.778 33.0557 108.611 32.7779 108.333 32.6112C108.056 32.4446 107.778 32.3334 107.389 32.3334C107 32.3334 106.667 32.389 106.445 32.5557C106.222 32.7223 106.111 32.9446 106.111 33.1668C106.111 33.389 106.111 33.5001 106.278 33.6112C106.389 33.7223 106.556 33.7779 106.722 33.8334C106.889 33.889 107.167 33.889 107.5 33.9446C108 34.0001 108.389 34.1112 108.722 34.1668C109.056 34.2223 109.278 34.4446 109.5 34.6668C109.722 34.889 109.778 35.2223 109.778 35.6112C109.778 36.0001 109.667 36.2779 109.5 36.5001C109.278 36.7779 109.056 36.9446 108.667 37.1112C108.333 37.2779 107.945 37.3334 107.556 37.3334C106.833 37.3334 106.222 37.1668 105.778 36.8334C105.333 36.5001 105.111 36.0001 105.111 35.389H106C106 35.7223 106.167 36.0001 106.445 36.2223V36.1668Z",
|
|
2273
2246
|
fill: "#141414"
|
|
2274
2247
|
}
|
|
2275
2248
|
),
|
|
2276
|
-
/* @__PURE__ */
|
|
2249
|
+
/* @__PURE__ */ jsx17(
|
|
2277
2250
|
"path",
|
|
2278
2251
|
{
|
|
2279
2252
|
d: "M110.167 32.389V31.5557H111.167V29.9446H112.056V31.5557H113.5V32.389H112.056V35.7224C112.056 35.9446 112.056 36.1112 112.167 36.2224C112.278 36.3335 112.445 36.389 112.667 36.389H113.667V37.2224H112.611C112.056 37.2224 111.722 37.1112 111.445 36.889C111.222 36.6668 111.111 36.2779 111.111 35.7779V32.4446H110.111L110.167 32.389Z",
|
|
2280
2253
|
fill: "#141414"
|
|
2281
2254
|
}
|
|
2282
2255
|
),
|
|
2283
|
-
/* @__PURE__ */
|
|
2256
|
+
/* @__PURE__ */ jsx17(
|
|
2284
2257
|
"path",
|
|
2285
2258
|
{
|
|
2286
2259
|
d: "M116.5 36.1668L118.167 31.5557H119.111L116.5 38.1668C116.389 38.5001 116.222 38.7779 116.167 38.9446C116.111 39.1112 115.944 39.2223 115.778 39.3334C115.611 39.389 115.389 39.4446 115.167 39.4446H114.056V38.6112H114.889C115.056 38.6112 115.222 38.6112 115.278 38.5557C115.333 38.5001 115.444 38.4446 115.5 38.389C115.5 38.2779 115.611 38.1668 115.722 37.9446L116 37.2779L113.778 31.5557H114.722L116.445 36.1668H116.5Z",
|
|
2287
2260
|
fill: "#141414"
|
|
2288
2261
|
}
|
|
2289
2262
|
),
|
|
2290
|
-
/* @__PURE__ */
|
|
2263
|
+
/* @__PURE__ */ jsx17(
|
|
2291
2264
|
"path",
|
|
2292
2265
|
{
|
|
2293
2266
|
d: "M122.722 32.4446H122.278C121.722 32.4446 121.333 32.6112 121.111 33.0001C120.889 33.389 120.778 33.8334 120.778 34.3334V37.2223H119.889V31.5557H120.667L120.778 32.389C120.945 32.1112 121.167 31.9446 121.389 31.7779C121.611 31.6112 122 31.5557 122.445 31.5557H122.722V32.4446Z",
|
|
2294
2267
|
fill: "#141414"
|
|
2295
2268
|
}
|
|
2296
2269
|
),
|
|
2297
|
-
/* @__PURE__ */
|
|
2270
|
+
/* @__PURE__ */ jsx17(
|
|
2298
2271
|
"path",
|
|
2299
2272
|
{
|
|
2300
2273
|
d: "M124.333 31.8335C124.722 31.6112 125.222 31.4446 125.722 31.4446C126.222 31.4446 126.722 31.5557 127.111 31.7779C127.5 32.0001 127.833 32.2779 128.056 32.7224C128.278 33.1668 128.389 33.6112 128.445 34.1668C128.445 34.2224 128.445 34.389 128.445 34.5557H124.056C124.056 35.1668 124.222 35.6112 124.556 35.9446C124.889 36.2779 125.333 36.4446 125.833 36.4446C126.333 36.4446 126.611 36.3335 126.889 36.1112C127.167 35.889 127.389 35.6112 127.445 35.2779H128.389C128.278 35.8335 128 36.3335 127.556 36.7224C127.111 37.1112 126.556 37.2779 125.945 37.2779C125.333 37.2779 124.889 37.1668 124.445 36.889C124 36.6668 123.667 36.3335 123.445 35.889C123.222 35.4446 123.111 34.9446 123.111 34.389C123.111 33.8335 123.222 33.2779 123.445 32.889C123.667 32.4446 124 32.1112 124.389 31.889L124.333 31.8335ZM126.945 32.6668C126.611 32.389 126.222 32.2779 125.722 32.2779C125.222 32.2779 124.889 32.4446 124.611 32.7224C124.333 33.0001 124.111 33.389 124.056 33.8335H127.5C127.5 33.3335 127.278 33.0001 126.945 32.7224V32.6668Z",
|
|
2301
2274
|
fill: "#141414"
|
|
2302
2275
|
}
|
|
2303
2276
|
),
|
|
2304
|
-
/* @__PURE__ */
|
|
2305
|
-
/* @__PURE__ */
|
|
2277
|
+
/* @__PURE__ */ jsx17("path", { d: "M130.333 29.4446V37.2224H129.445V29.4446H130.333Z", fill: "#141414" }),
|
|
2278
|
+
/* @__PURE__ */ jsx17(
|
|
2306
2279
|
"path",
|
|
2307
2280
|
{
|
|
2308
2281
|
d: "M132.778 36.1668C133.056 36.389 133.445 36.5001 133.889 36.5001C134.333 36.5001 134.611 36.4446 134.889 36.2779C135.111 36.1112 135.278 35.889 135.278 35.6668C135.278 35.4446 135.222 35.2779 135.111 35.1668C135 35.0557 134.833 34.9446 134.667 34.9446C134.5 34.9446 134.222 34.8334 133.833 34.8334C133.333 34.7779 132.945 34.7223 132.611 34.6112C132.278 34.5001 132.056 34.3334 131.833 34.1668C131.611 34.0001 131.556 33.6668 131.556 33.2779C131.556 32.889 131.667 32.6668 131.833 32.389C132 32.1112 132.278 31.9446 132.611 31.7779C132.945 31.6112 133.278 31.5557 133.722 31.5557C134.389 31.5557 134.945 31.7223 135.333 32.0001C135.778 32.3334 136 32.7779 136 33.3334H135.111C135.111 33.0557 134.945 32.7779 134.667 32.6112C134.389 32.4446 134.111 32.3334 133.722 32.3334C133.333 32.3334 133 32.389 132.778 32.5557C132.556 32.7223 132.445 32.9446 132.445 33.1668C132.445 33.389 132.445 33.5001 132.611 33.6112C132.722 33.7223 132.889 33.7779 133.056 33.8334C133.222 33.889 133.5 33.889 133.833 33.9446C134.333 34.0001 134.722 34.1112 135.056 34.1668C135.389 34.2223 135.611 34.4446 135.833 34.6668C136.056 34.889 136.111 35.2223 136.111 35.6112C136.111 36.0001 136 36.2779 135.833 36.5001C135.611 36.7779 135.389 36.9446 135 37.1112C134.667 37.2779 134.278 37.3334 133.889 37.3334C133.167 37.3334 132.556 37.1668 132.111 36.8334C131.667 36.5001 131.445 36.0001 131.445 35.389H132.333C132.333 35.7223 132.5 36.0001 132.778 36.2223V36.1668Z",
|
|
2309
2282
|
fill: "#141414"
|
|
2310
2283
|
}
|
|
2311
2284
|
),
|
|
2312
|
-
/* @__PURE__ */
|
|
2285
|
+
/* @__PURE__ */ jsx17(
|
|
2313
2286
|
"path",
|
|
2314
2287
|
{
|
|
2315
2288
|
d: "M138.222 31.8335C138.611 31.6112 139.111 31.4446 139.611 31.4446C140.111 31.4446 140.611 31.5557 141 31.7779C141.389 32.0001 141.722 32.2779 141.945 32.7224C142.167 33.1668 142.278 33.6112 142.333 34.1668C142.333 34.2224 142.333 34.389 142.333 34.5557H137.945C137.945 35.1668 138.111 35.6112 138.445 35.9446C138.778 36.2779 139.222 36.4446 139.722 36.4446C140.222 36.4446 140.5 36.3335 140.778 36.1112C141.056 35.889 141.278 35.6112 141.333 35.2779H142.278C142.167 35.8335 141.889 36.3335 141.445 36.7224C141 37.1112 140.445 37.2779 139.833 37.2779C139.222 37.2779 138.778 37.1668 138.333 36.889C137.889 36.6668 137.556 36.3335 137.333 35.889C137.111 35.4446 137 34.9446 137 34.389C137 33.8335 137.111 33.2779 137.333 32.889C137.556 32.4446 137.889 32.1112 138.278 31.889L138.222 31.8335ZM140.833 32.6668C140.5 32.389 140.111 32.2779 139.611 32.2779C139.111 32.2779 138.778 32.4446 138.5 32.7224C138.222 33.0001 138 33.389 137.945 33.8335H141.389C141.389 33.3335 141.167 33.0001 140.833 32.7224V32.6668Z",
|
|
2316
2289
|
fill: "#141414"
|
|
2317
2290
|
}
|
|
2318
2291
|
),
|
|
2319
|
-
/* @__PURE__ */
|
|
2292
|
+
/* @__PURE__ */ jsx17(
|
|
2320
2293
|
"path",
|
|
2321
2294
|
{
|
|
2322
2295
|
d: "M148.445 34.0558V37.2225H147.556V34.1114C147.556 33.5002 147.445 33.0558 147.167 32.778C146.889 32.4447 146.5 32.3336 146 32.3336C145.5 32.3336 145.056 32.5002 144.722 32.8891C144.445 33.278 144.278 33.778 144.278 34.3891V37.2225H143.389V31.5558H144.167L144.278 32.3336C144.722 31.778 145.333 31.5002 146.167 31.5002C147 31.5002 147.389 31.7225 147.833 32.1114C148.278 32.5002 148.445 33.1669 148.445 34.0558Z",
|
|
2323
2296
|
fill: "#141414"
|
|
2324
2297
|
}
|
|
2325
2298
|
),
|
|
2326
|
-
/* @__PURE__ */
|
|
2299
|
+
/* @__PURE__ */ jsx17(
|
|
2327
2300
|
"path",
|
|
2328
2301
|
{
|
|
2329
2302
|
d: "M30.0001 23.8889C30.0001 26.2223 28.6112 28.3889 26.4445 29.0556C25.4445 29.3334 24.4445 29.4445 22.7778 29.4445H13.6112C11.8889 29.4445 11.6667 29.7223 11.6667 31.3889V35.0001C11.6667 36.3334 10.8334 37.2223 9.72228 37.2223C8.61117 37.2223 7.77783 36.3334 7.77783 35.0001V32.5001C7.77783 31.3889 7.77783 30.4445 7.88894 29.9445C8.22228 28.0556 9.33339 26.6112 11.1667 25.9445C11.8889 25.6667 13.1112 25.5001 15.5001 25.5001H23.3334C24.0001 25.5001 24.6667 25.4445 24.9445 25.3334C25.7778 25.0001 26.0556 24.4445 26.0556 23.8334C26.0556 23.2223 25.8334 22.6112 24.9445 22.3334C24.6667 22.2223 24.0001 22.1667 23.3334 22.1667H10.7778C10.2778 22.1667 9.83339 22.1667 9.61117 22.0556C8.77783 21.7778 8.27783 21.0001 8.27783 20.2223C8.27783 19.4445 8.77783 18.6667 9.61117 18.3889C9.88894 18.2778 10.1667 18.2778 10.7223 18.2778H22.7223C24.4445 18.2778 25.7778 18.3889 26.6112 18.7223C28.7778 19.5556 29.9445 21.3334 29.9445 23.8334L30.0001 23.8889ZM53.1667 18.5001C52.8889 18.3889 52.4445 18.3334 51.8334 18.3334H34.2223C33.7778 18.3334 33.3889 18.3334 33.1667 18.4445C32.2223 18.7223 31.6667 19.4445 31.6667 20.2778C31.6667 21.1112 32.1112 21.7778 33.0001 22.0556C33.2778 22.1667 33.7223 22.2223 34.2223 22.2223H41.1112V35.2223C41.1112 36.5556 42.0001 37.2223 43.0556 37.2223C44.1112 37.2223 45.0001 36.5556 45.0001 35.2223V22.2223H51.8334C52.5001 22.2223 52.8334 22.2223 53.0556 22.1112C53.9445 21.8334 54.4445 21.1112 54.4445 20.2778C54.4445 19.4445 54.0001 18.7778 53.1667 18.5001ZM74.1667 26.3334C73.2223 25.8334 72.0001 25.5556 68.9445 25.5556H63.0556C62.1112 25.5556 61.6112 25.5001 61.2778 25.3889C60.3334 25.0556 60.0001 24.4445 60.0001 23.8889C60.0001 23.3334 60.2223 22.6667 61.2223 22.3334C61.5001 22.2223 62.0001 22.2223 62.5001 22.2223H73.3334C73.5556 22.2223 74.1667 22.2223 74.3334 22.2223C75.3334 22.0556 76.1112 21.4445 76.1112 20.3334C76.1112 19.2223 75.3334 18.6667 74.3889 18.4445C74.2223 18.4445 73.8334 18.3889 73.3334 18.3889H63.0556C61.2223 18.3889 59.8889 18.6112 59.0001 19.0001C57.1667 19.8889 56.1112 21.7778 56.1112 23.9445C56.1112 26.1112 57.1112 28.0556 59.1112 28.9445C60.0001 29.3334 61.3334 29.5001 63.0556 29.5001H70.5556C71.5001 29.5001 72.0001 29.6112 72.3334 29.7223C73.1112 30.0001 73.3334 30.7778 73.3334 31.4445C73.3334 32.1112 73.1112 32.9445 72.1667 33.2223C71.8334 33.3334 71.1667 33.3889 70.0556 33.3889H59.1667C58.7223 33.3889 58.2778 33.3889 58.0556 33.5001C57.1667 33.7223 56.6667 34.4445 56.6667 35.3334C56.6667 36.2223 57.2223 36.7778 57.9445 37.0556C58.2223 37.1667 58.8334 37.2778 59.2778 37.2778H68.8889C70.9445 37.2778 72.6112 37.1667 73.6112 36.8334C75.8889 36.1667 77.1667 34.0001 77.1667 31.4445C77.1667 28.8889 76.0001 27.3334 74.1112 26.3889L74.1667 26.3334Z",
|
|
2330
2303
|
fill: "#141414"
|
|
2331
2304
|
}
|
|
2332
2305
|
),
|
|
2333
|
-
/* @__PURE__ */
|
|
2306
|
+
/* @__PURE__ */ jsx17(
|
|
2334
2307
|
"path",
|
|
2335
2308
|
{
|
|
2336
2309
|
d: "M51.1667 8.72233L51.3889 8.33344C50 6.44455 46.7222 5.11122 43.3889 5.00011H42.7223C39.3889 5.11122 36.1111 6.44455 34.7222 8.33344L34.9445 8.72233C34.3334 8.72233 33.8889 9.11122 33.8889 9.61122L35.1667 15.0001C35.2778 15.3334 35.3889 15.5001 35.8334 15.5001H50.2778C50.6667 15.5001 50.8334 15.2779 50.8889 15.0001L52.1667 9.61122C52.1667 9.11122 51.7222 8.72233 51.1111 8.72233H51.1667ZM38.5 10.4446C38.3889 10.4446 38.2222 10.389 38.1111 10.389C37.5556 10.389 37.1667 10.7779 37.1667 11.2779C37.1667 11.7779 37.5556 12.1112 38.0556 12.1112C38.5556 12.1112 38.5 12.0557 38.6111 11.889C38.6111 12.3334 38.1111 13.3334 37.4445 13.3334H36.0556C35.1111 13.3334 35 12.0557 35 11.9446C35.1111 12.0557 35.3889 12.1112 35.6111 12.1112C36.0556 12.1112 36.4445 11.7779 36.4445 11.2779C36.4445 10.7779 36.0556 10.389 35.5 10.389C34.9445 10.389 35.2778 10.389 35.2223 10.389C35.4445 10.2223 35.6667 9.94455 35.6667 9.61122C35.6667 9.27789 35.5 9.11122 35.2778 8.94455L36.5556 8.33344C37.3889 6.94455 38.8889 5.94455 40.7223 5.55566C39.7223 6.27789 38.8889 7.16678 38.2223 8.33344L38.6667 8.72233C38.2222 8.77789 37.8889 9.16677 37.8889 9.61122C37.8889 10.0557 38.1111 10.2779 38.4445 10.4446H38.5ZM42.6667 10.5001C42.5556 10.4446 42.3334 10.389 42.2222 10.389C41.6667 10.389 41.2778 10.7779 41.2778 11.2779C41.2778 11.7779 41.6667 12.1112 42.1667 12.1112C42.6667 12.1112 42.6111 12.0557 42.7778 11.9446C42.7778 12.389 42.4445 13.3334 41.6667 13.3334H40.2778C39.3889 13.3334 39.1667 12.2223 39.1667 11.889C39.2778 12.0001 39.5 12.1112 39.7778 12.1112C40.2222 12.1112 40.6667 11.7779 40.6667 11.2779C40.6667 10.7779 40.2778 10.389 39.7222 10.389C39.1667 10.389 39.3889 10.389 39.3334 10.4446C39.6667 10.2779 39.8889 10.0001 39.8889 9.61122C39.8889 9.22233 39.6667 8.94455 39.3334 8.83344L40.3334 8.33344C40.6111 7.33344 41.5 5.889 42.4445 5.389C42.3334 5.889 42.2778 6.94455 42.2778 8.33344C42.2778 8.33344 42.5556 8.61122 42.8334 8.77789C42.4445 8.889 42.1667 9.22233 42.1667 9.61122C42.1667 10.0001 42.3889 10.2779 42.7223 10.4446L42.6667 10.5001ZM45.8334 13.3334H44.4445C43.6667 13.3334 43.3334 12.389 43.3334 11.9446C43.4445 12.0557 43.6667 12.1112 43.9445 12.1112C44.4445 12.1112 44.8334 11.7779 44.8334 11.2779C44.8334 10.7779 44.4445 10.389 43.8889 10.389C43.3334 10.389 43.5556 10.389 43.4445 10.5001C43.7778 10.389 44.0556 10.0557 44.0556 9.66678C44.0556 9.27789 43.7778 8.94455 43.3889 8.83344C43.6667 8.66678 43.9445 8.389 43.9445 8.389C43.9445 7.00011 43.8889 5.94455 43.7222 5.44455C44.7222 5.94455 45.6111 7.33344 45.8889 8.389L46.8889 8.889C46.6111 9.00011 46.3334 9.33344 46.3334 9.66678C46.3334 10.0001 46.5556 10.3334 46.8889 10.5001C46.7778 10.5001 46.6111 10.4446 46.5 10.4446C45.9445 10.4446 45.5556 10.8334 45.5556 11.3334C45.5556 11.8334 45.9445 12.1668 46.4445 12.1668C46.9445 12.1668 46.8889 12.1112 47.0556 11.9446C47.0556 12.2223 46.8334 13.389 45.9445 13.389L45.8334 13.3334ZM50 13.3334H48.6111C47.8889 13.3334 47.4445 12.389 47.4445 11.889C47.5556 12.0557 47.7778 12.1112 48.0556 12.1112C48.5 12.1112 48.8889 11.7779 48.8889 11.2779C48.8889 10.7779 48.5 10.389 47.9445 10.389C47.3889 10.389 47.6111 10.389 47.5556 10.4446C47.8889 10.2779 48.1111 10.0001 48.1111 9.61122C48.1111 9.22233 47.7778 8.77789 47.2778 8.72233L47.7778 8.33344C47.1111 7.16678 46.2778 6.33344 45.2778 5.55566C47.0556 5.94455 48.6111 6.889 49.4445 8.33344L50.7778 8.94455C50.5556 9.11122 50.3889 9.33344 50.3889 9.66678C50.3889 10.0001 50.6111 10.3334 50.8889 10.5001C50.8334 10.5001 50.6667 10.4446 50.5556 10.4446C50 10.4446 49.6111 10.8334 49.6111 11.3334C49.6111 11.8334 50 12.1668 50.4445 12.1668C50.8889 12.1668 50.9445 12.1112 51.0556 12.0001C51.0556 12.1112 50.8889 13.389 50 13.389V13.3334ZM43.0556 5.00011C42.2778 5.00011 41.6667 4.389 41.6667 3.61122C41.6667 2.83344 42.1667 2.389 42.7778 2.27789V1.66678H42.2222V1.11122H42.7778V0.555664H43.3334V1.11122H43.8889V1.66678H43.3334V2.27789C43.9445 2.389 44.4445 2.94455 44.4445 3.66678C44.4445 4.389 43.8334 5.05566 43.0556 5.05566V5.00011Z",
|
|
2337
2310
|
fill: "#F0AA1E"
|
|
2338
2311
|
}
|
|
2339
2312
|
),
|
|
2340
|
-
/* @__PURE__ */
|
|
2313
|
+
/* @__PURE__ */ jsx17("path", { d: "M82.2223 18.3335V37.2224", stroke: "currentColor", strokeWidth: "0.8", strokeMiterlimit: "10" })
|
|
2341
2314
|
] });
|
|
2342
|
-
var Logo_en = () => /* @__PURE__ */
|
|
2343
|
-
/* @__PURE__ */
|
|
2315
|
+
var Logo_en = () => /* @__PURE__ */ jsxs15("svg", { width: "189.0", height: "40", viewBox: "0 0 189 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
|
|
2316
|
+
/* @__PURE__ */ jsx17(
|
|
2344
2317
|
"path",
|
|
2345
2318
|
{
|
|
2346
2319
|
d: "M30.0001 23.8889C30.0001 26.2223 28.6112 28.3889 26.4445 29.0556C25.4445 29.3334 24.4445 29.4445 22.7778 29.4445H13.6112C11.8889 29.4445 11.6667 29.7223 11.6667 31.3889V35.0001C11.6667 36.3334 10.8334 37.2223 9.72228 37.2223C8.61117 37.2223 7.77783 36.3334 7.77783 35.0001V32.5001C7.77783 31.3889 7.77783 30.4445 7.88894 29.9445C8.22228 28.0556 9.33339 26.6112 11.1667 25.9445C11.8889 25.6667 13.1112 25.5001 15.5001 25.5001H23.3334C24.0001 25.5001 24.6667 25.4445 24.9445 25.3334C25.7778 25.0001 26.0556 24.4445 26.0556 23.8334C26.0556 23.2223 25.8334 22.6112 24.9445 22.3334C24.6667 22.2223 24.0001 22.1667 23.3334 22.1667H10.7778C10.2778 22.1667 9.83339 22.1667 9.61117 22.0556C8.77783 21.7778 8.27783 21.0001 8.27783 20.2223C8.27783 19.4445 8.77783 18.6667 9.61117 18.3889C9.88894 18.2778 10.1667 18.2778 10.7223 18.2778H22.7223C24.4445 18.2778 25.7778 18.3889 26.6112 18.7223C28.7778 19.5556 29.9445 21.3334 29.9445 23.8334L30.0001 23.8889ZM53.1667 18.5001C52.8889 18.3889 52.4445 18.3334 51.8334 18.3334H34.2223C33.7778 18.3334 33.3889 18.3334 33.1667 18.4445C32.2223 18.7223 31.6667 19.4445 31.6667 20.2778C31.6667 21.1112 32.1112 21.7778 33.0001 22.0556C33.2778 22.1667 33.7223 22.2223 34.2223 22.2223H41.1112V35.2223C41.1112 36.5556 42.0001 37.2223 43.0556 37.2223C44.1112 37.2223 45.0001 36.5556 45.0001 35.2223V22.2223H51.8334C52.5001 22.2223 52.8334 22.2223 53.0556 22.1112C53.9445 21.8334 54.4445 21.1112 54.4445 20.2778C54.4445 19.4445 54.0001 18.7778 53.1667 18.5001ZM74.1667 26.3334C73.2223 25.8334 72.0001 25.5556 68.9445 25.5556H63.0556C62.1112 25.5556 61.6112 25.5001 61.2778 25.3889C60.3334 25.0556 60.0001 24.4445 60.0001 23.8889C60.0001 23.3334 60.2223 22.6667 61.2223 22.3334C61.5001 22.2223 62.0001 22.2223 62.5001 22.2223H73.3334C73.5556 22.2223 74.1667 22.2223 74.3334 22.2223C75.3334 22.0556 76.1112 21.4445 76.1112 20.3334C76.1112 19.2223 75.3334 18.6667 74.3889 18.4445C74.2223 18.4445 73.8334 18.3889 73.3334 18.3889H63.0556C61.2223 18.3889 59.8889 18.6112 59.0001 19.0001C57.1667 19.8889 56.1112 21.7778 56.1112 23.9445C56.1112 26.1112 57.1112 28.0556 59.1112 28.9445C60.0001 29.3334 61.3334 29.5001 63.0556 29.5001H70.5556C71.5001 29.5001 72.0001 29.6112 72.3334 29.7223C73.1112 30.0001 73.3334 30.7778 73.3334 31.4445C73.3334 32.1112 73.1112 32.9445 72.1667 33.2223C71.8334 33.3334 71.1667 33.3889 70.0556 33.3889H59.1667C58.7223 33.3889 58.2778 33.3889 58.0556 33.5001C57.1667 33.7223 56.6667 34.4445 56.6667 35.3334C56.6667 36.2223 57.2223 36.7778 57.9445 37.0556C58.2223 37.1667 58.8334 37.2778 59.2778 37.2778H68.8889C70.9445 37.2778 72.6112 37.1667 73.6112 36.8334C75.8889 36.1667 77.1667 34.0001 77.1667 31.4445C77.1667 28.8889 76.0001 27.3334 74.1112 26.3889L74.1667 26.3334Z",
|
|
2347
2320
|
fill: "#141414"
|
|
2348
2321
|
}
|
|
2349
2322
|
),
|
|
2350
|
-
/* @__PURE__ */
|
|
2323
|
+
/* @__PURE__ */ jsx17(
|
|
2351
2324
|
"path",
|
|
2352
2325
|
{
|
|
2353
2326
|
d: "M51.1667 8.72233L51.3889 8.33344C50 6.44455 46.7222 5.11122 43.3889 5.00011H42.7223C39.3889 5.11122 36.1111 6.44455 34.7222 8.33344L34.9445 8.72233C34.3334 8.72233 33.8889 9.11122 33.8889 9.61122L35.1667 15.0001C35.2778 15.3334 35.3889 15.5001 35.8334 15.5001H50.2778C50.6667 15.5001 50.8334 15.2779 50.8889 15.0001L52.1667 9.61122C52.1667 9.11122 51.7222 8.72233 51.1111 8.72233H51.1667ZM38.5 10.4446C38.3889 10.4446 38.2222 10.389 38.1111 10.389C37.5556 10.389 37.1667 10.7779 37.1667 11.2779C37.1667 11.7779 37.5556 12.1112 38.0556 12.1112C38.5556 12.1112 38.5 12.0557 38.6111 11.889C38.6111 12.3334 38.1111 13.3334 37.4445 13.3334H36.0556C35.1111 13.3334 35 12.0557 35 11.9446C35.1111 12.0557 35.3889 12.1112 35.6111 12.1112C36.0556 12.1112 36.4445 11.7779 36.4445 11.2779C36.4445 10.7779 36.0556 10.389 35.5 10.389C34.9445 10.389 35.2778 10.389 35.2223 10.389C35.4445 10.2223 35.6667 9.94455 35.6667 9.61122C35.6667 9.27789 35.5 9.11122 35.2778 8.94455L36.5556 8.33344C37.3889 6.94455 38.8889 5.94455 40.7223 5.55566C39.7223 6.27789 38.8889 7.16678 38.2223 8.33344L38.6667 8.72233C38.2222 8.77789 37.8889 9.16677 37.8889 9.61122C37.8889 10.0557 38.1111 10.2779 38.4445 10.4446H38.5ZM42.6667 10.5001C42.5556 10.4446 42.3334 10.389 42.2222 10.389C41.6667 10.389 41.2778 10.7779 41.2778 11.2779C41.2778 11.7779 41.6667 12.1112 42.1667 12.1112C42.6667 12.1112 42.6111 12.0557 42.7778 11.9446C42.7778 12.389 42.4445 13.3334 41.6667 13.3334H40.2778C39.3889 13.3334 39.1667 12.2223 39.1667 11.889C39.2778 12.0001 39.5 12.1112 39.7778 12.1112C40.2222 12.1112 40.6667 11.7779 40.6667 11.2779C40.6667 10.7779 40.2778 10.389 39.7222 10.389C39.1667 10.389 39.3889 10.389 39.3334 10.4446C39.6667 10.2779 39.8889 10.0001 39.8889 9.61122C39.8889 9.22233 39.6667 8.94455 39.3334 8.83344L40.3334 8.33344C40.6111 7.33344 41.5 5.889 42.4445 5.389C42.3334 5.889 42.2778 6.94455 42.2778 8.33344C42.2778 8.33344 42.5556 8.61122 42.8334 8.77789C42.4445 8.889 42.1667 9.22233 42.1667 9.61122C42.1667 10.0001 42.3889 10.2779 42.7223 10.4446L42.6667 10.5001ZM45.8334 13.3334H44.4445C43.6667 13.3334 43.3334 12.389 43.3334 11.9446C43.4445 12.0557 43.6667 12.1112 43.9445 12.1112C44.4445 12.1112 44.8334 11.7779 44.8334 11.2779C44.8334 10.7779 44.4445 10.389 43.8889 10.389C43.3334 10.389 43.5556 10.389 43.4445 10.5001C43.7778 10.389 44.0556 10.0557 44.0556 9.66678C44.0556 9.27789 43.7778 8.94455 43.3889 8.83344C43.6667 8.66678 43.9445 8.389 43.9445 8.389C43.9445 7.00011 43.8889 5.94455 43.7222 5.44455C44.7222 5.94455 45.6111 7.33344 45.8889 8.389L46.8889 8.889C46.6111 9.00011 46.3334 9.33344 46.3334 9.66678C46.3334 10.0001 46.5556 10.3334 46.8889 10.5001C46.7778 10.5001 46.6111 10.4446 46.5 10.4446C45.9445 10.4446 45.5556 10.8334 45.5556 11.3334C45.5556 11.8334 45.9445 12.1668 46.4445 12.1668C46.9445 12.1668 46.8889 12.1112 47.0556 11.9446C47.0556 12.2223 46.8334 13.389 45.9445 13.389L45.8334 13.3334ZM50 13.3334H48.6111C47.8889 13.3334 47.4445 12.389 47.4445 11.889C47.5556 12.0557 47.7778 12.1112 48.0556 12.1112C48.5 12.1112 48.8889 11.7779 48.8889 11.2779C48.8889 10.7779 48.5 10.389 47.9445 10.389C47.3889 10.389 47.6111 10.389 47.5556 10.4446C47.8889 10.2779 48.1111 10.0001 48.1111 9.61122C48.1111 9.22233 47.7778 8.77789 47.2778 8.72233L47.7778 8.33344C47.1111 7.16678 46.2778 6.33344 45.2778 5.55566C47.0556 5.94455 48.6111 6.889 49.4445 8.33344L50.7778 8.94455C50.5556 9.11122 50.3889 9.33344 50.3889 9.66678C50.3889 10.0001 50.6111 10.3334 50.8889 10.5001C50.8334 10.5001 50.6667 10.4446 50.5556 10.4446C50 10.4446 49.6111 10.8334 49.6111 11.3334C49.6111 11.8334 50 12.1668 50.4445 12.1668C50.8889 12.1668 50.9445 12.1112 51.0556 12.0001C51.0556 12.1112 50.8889 13.389 50 13.389V13.3334ZM43.0556 5.00011C42.2778 5.00011 41.6667 4.389 41.6667 3.61122C41.6667 2.83344 42.1667 2.389 42.7778 2.27789V1.66678H42.2222V1.11122H42.7778V0.555664H43.3334V1.11122H43.8889V1.66678H43.3334V2.27789C43.9445 2.389 44.4445 2.94455 44.4445 3.66678C44.4445 4.389 43.8334 5.05566 43.0556 5.05566V5.00011Z",
|
|
2354
2327
|
fill: "#F0AA1E"
|
|
2355
2328
|
}
|
|
2356
2329
|
),
|
|
2357
|
-
/* @__PURE__ */
|
|
2358
|
-
/* @__PURE__ */
|
|
2330
|
+
/* @__PURE__ */ jsx17("path", { d: "M82.2223 18.3335V37.2224", stroke: "currentColor", strokeWidth: "0.8", strokeMiterlimit: "10" }),
|
|
2331
|
+
/* @__PURE__ */ jsx17(
|
|
2359
2332
|
"path",
|
|
2360
2333
|
{
|
|
2361
2334
|
d: "M88.9445 24.8335C89.3334 25.1669 89.8334 25.3335 90.3889 25.3335C90.9445 25.3335 91.3334 25.2224 91.6667 25.0002C92 24.778 92.1667 24.4446 92.1667 24.0002C92.1667 23.5557 92.0556 23.4446 91.8889 23.278C91.7222 23.1113 91.5 22.9446 91.1667 22.8891C90.8334 22.8335 90.5 22.7224 90 22.6113C89.2222 22.5002 88.6111 22.278 88.1667 21.9446C87.7222 21.6669 87.5 21.1669 87.5 20.4446C87.5 19.7224 87.6111 19.6113 87.8334 19.278C88.0556 18.9446 88.3889 18.6669 88.7778 18.5002C89.1667 18.3335 89.6667 18.2224 90.1667 18.2224C90.6667 18.2224 91.2222 18.3335 91.6111 18.5002C92.0556 18.7224 92.3889 19.0002 92.6111 19.3335C92.8334 19.6669 93 20.1113 93 20.5557H92.0556C92 20.1113 91.7778 19.7224 91.4445 19.4446C91.1111 19.1669 90.6667 19.0557 90.1667 19.0557C89.6667 19.0557 89.2223 19.1669 88.9445 19.3891C88.6667 19.6113 88.5 19.9446 88.5 20.3335C88.5 20.7224 88.6111 20.8891 88.7778 21.0557C88.9445 21.2224 89.1667 21.3335 89.4445 21.4446C89.7222 21.5557 90.1111 21.6113 90.6111 21.7224C91.3889 21.8335 92 22.0557 92.5 22.3891C92.9445 22.7224 93.2223 23.1669 93.2223 23.8891C93.2223 24.6113 93.1111 24.7224 92.8889 25.0557C92.6667 25.3891 92.3334 25.6669 91.8889 25.8891C91.4445 26.0557 91 26.1669 90.4445 26.1669C89.8889 26.1669 89.3334 26.0557 88.8334 25.8335C88.3889 25.6113 88.0556 25.3335 87.7778 24.8891C87.5556 24.5002 87.3889 24.0557 87.3889 23.5002H88.3334C88.3334 24.0002 88.5556 24.4446 88.9445 24.778V24.8335Z",
|
|
2362
2335
|
fill: "#141414"
|
|
2363
2336
|
}
|
|
2364
2337
|
),
|
|
2365
|
-
/* @__PURE__ */
|
|
2338
|
+
/* @__PURE__ */ jsx17(
|
|
2366
2339
|
"path",
|
|
2367
2340
|
{
|
|
2368
2341
|
d: "M94.5557 20.4446L95.9446 25.0557L97.4446 20.4446H98.2779L99.6668 25.0557L101.167 20.4446H102.111L100.222 26.1112H99.2223L97.8334 21.889L96.389 26.1112H95.389L93.5557 20.4446H94.5001H94.5557Z",
|
|
2369
2342
|
fill: "#141414"
|
|
2370
2343
|
}
|
|
2371
2344
|
),
|
|
2372
|
-
/* @__PURE__ */
|
|
2345
|
+
/* @__PURE__ */ jsx17(
|
|
2373
2346
|
"path",
|
|
2374
2347
|
{
|
|
2375
2348
|
d: "M103.778 20.7224C104.167 20.5002 104.667 20.3335 105.167 20.3335C105.667 20.3335 106.167 20.4446 106.556 20.6668C106.945 20.8891 107.278 21.1668 107.5 21.6113C107.722 22.0002 107.833 22.5002 107.889 23.0557C107.889 23.1113 107.889 23.2779 107.889 23.4446H103.5C103.5 24.0557 103.667 24.5002 104 24.8335C104.333 25.1668 104.778 25.3335 105.278 25.3335C105.778 25.3335 106.056 25.2224 106.333 25.0002C106.611 24.7779 106.833 24.5002 106.889 24.1668H107.833C107.722 24.7224 107.445 25.2224 107 25.6113C106.556 26.0002 106 26.1668 105.389 26.1668C104.778 26.1668 104.333 26.0557 103.889 25.7779C103.445 25.5557 103.111 25.2224 102.889 24.7779C102.667 24.3335 102.556 23.8335 102.556 23.2779C102.556 22.7224 102.667 22.1668 102.889 21.7779C103.111 21.3335 103.445 21.0002 103.833 20.7779L103.778 20.7224ZM106.389 21.5557C106.056 21.2779 105.667 21.1668 105.167 21.1668C104.667 21.1668 104.333 21.3335 104.056 21.6113C103.778 21.8891 103.556 22.2779 103.5 22.7224H106.945C106.945 22.2224 106.722 21.8891 106.389 21.6113V21.5557Z",
|
|
2376
2349
|
fill: "#141414"
|
|
2377
2350
|
}
|
|
2378
2351
|
),
|
|
2379
|
-
/* @__PURE__ */
|
|
2352
|
+
/* @__PURE__ */ jsx17(
|
|
2380
2353
|
"path",
|
|
2381
2354
|
{
|
|
2382
2355
|
d: "M114.278 26.1114H113.5L113.389 25.2225C112.889 25.8892 112.278 26.2225 111.445 26.2225C110.611 26.2225 110.445 26.1114 110.056 25.8892C109.667 25.6669 109.333 25.3336 109.111 24.8892C108.889 24.4447 108.778 23.9447 108.778 23.3336C108.778 22.7225 108.889 22.2781 109.111 21.8336C109.333 21.3892 109.667 21.0558 110.111 20.8336C110.556 20.6114 111 20.4447 111.5 20.4447C112 20.4447 112.333 20.5003 112.667 20.7225C113 20.8892 113.222 21.1114 113.444 21.3892V18.3892H114.333V26.1669L114.278 26.1114ZM113.111 24.3892C113.278 24.0558 113.333 23.7225 113.333 23.3336C113.333 22.9447 113.278 22.5558 113.111 22.2225C112.945 21.8892 112.722 21.6669 112.444 21.4447C112.167 21.278 111.833 21.1669 111.445 21.1669C110.889 21.1669 110.445 21.3892 110.056 21.7781C109.667 22.1669 109.556 22.6669 109.556 23.2781C109.556 23.8892 109.722 24.3892 110.056 24.778C110.389 25.1669 110.833 25.3892 111.445 25.3892C112.056 25.3892 112.111 25.2781 112.444 25.1114C112.722 24.9447 112.945 24.6669 113.111 24.3892Z",
|
|
2383
2356
|
fill: "#141414"
|
|
2384
2357
|
}
|
|
2385
2358
|
),
|
|
2386
|
-
/* @__PURE__ */
|
|
2359
|
+
/* @__PURE__ */ jsx17(
|
|
2387
2360
|
"path",
|
|
2388
2361
|
{
|
|
2389
2362
|
d: "M116.556 18.8335C116.556 19.0002 116.5 19.1669 116.389 19.278C116.278 19.3891 116.111 19.4446 115.944 19.4446C115.778 19.4446 115.611 19.3891 115.5 19.278C115.389 19.1669 115.333 19.0002 115.333 18.8335C115.333 18.6669 115.389 18.5002 115.5 18.3891C115.611 18.278 115.778 18.2224 115.944 18.2224C116.111 18.2224 116.278 18.278 116.389 18.3891C116.5 18.5002 116.556 18.6669 116.556 18.8335ZM116.444 20.4446V26.1113H115.556V20.4446H116.444Z",
|
|
2390
2363
|
fill: "#141414"
|
|
2391
2364
|
}
|
|
2392
2365
|
),
|
|
2393
|
-
/* @__PURE__ */
|
|
2366
|
+
/* @__PURE__ */ jsx17(
|
|
2394
2367
|
"path",
|
|
2395
2368
|
{
|
|
2396
2369
|
d: "M118.833 25.0557C119.111 25.2779 119.5 25.389 119.945 25.389C120.389 25.389 120.667 25.3335 120.945 25.1668C121.167 25.0001 121.333 24.7779 121.333 24.5557C121.333 24.3335 121.278 24.1668 121.167 24.0557C121.056 23.9446 120.889 23.8335 120.722 23.8335C120.556 23.8335 120.278 23.7224 119.889 23.7224C119.389 23.6668 119 23.6112 118.667 23.5001C118.333 23.389 118.111 23.2224 117.889 23.0557C117.722 22.8335 117.611 22.5557 117.611 22.1668C117.611 21.7779 117.722 21.5557 117.889 21.2779C118.056 21.0001 118.333 20.8335 118.667 20.6668C119 20.5001 119.333 20.4446 119.778 20.4446C120.445 20.4446 121 20.6112 121.389 20.889C121.833 21.2224 122.056 21.6668 122.056 22.2224H121.167C121.167 21.9446 121 21.6668 120.722 21.5001C120.445 21.3335 120.167 21.2224 119.778 21.2224C119.389 21.2224 119.056 21.2779 118.833 21.4446C118.611 21.6112 118.5 21.8335 118.5 22.0557C118.5 22.2779 118.5 22.389 118.667 22.5001C118.778 22.6112 118.945 22.6668 119.111 22.7224C119.278 22.7224 119.556 22.7779 119.889 22.8335C120.389 22.889 120.778 23.0001 121.111 23.0557C121.445 23.1668 121.667 23.3335 121.889 23.5557C122.111 23.7779 122.167 24.1112 122.167 24.5001C122.167 24.889 122.056 25.1668 121.889 25.389C121.667 25.6668 121.445 25.8335 121.056 26.0001C120.722 26.1668 120.333 26.2224 119.945 26.2224C119.222 26.2224 118.611 26.0557 118.167 25.7224C117.722 25.389 117.5 24.889 117.5 24.2779H118.389C118.389 24.6112 118.556 24.889 118.833 25.1112V25.0557Z",
|
|
2397
2370
|
fill: "#141414"
|
|
2398
2371
|
}
|
|
2399
2372
|
),
|
|
2400
|
-
/* @__PURE__ */
|
|
2373
|
+
/* @__PURE__ */ jsx17(
|
|
2401
2374
|
"path",
|
|
2402
2375
|
{
|
|
2403
2376
|
d: "M128.278 22.9446V26.1113H127.389V23.0002C127.389 22.3891 127.278 21.9446 127 21.6668C126.722 21.3335 126.333 21.2224 125.833 21.2224C125.333 21.2224 124.889 21.3891 124.611 21.7779C124.278 22.1668 124.167 22.6668 124.167 23.2779V26.1113H123.278V18.3335H124.167V21.3891C124.333 21.1113 124.611 20.8335 124.889 20.6668C125.222 20.5002 125.556 20.3891 126 20.3891C126.667 20.3891 127.222 20.6113 127.667 21.0002C128.111 21.3891 128.278 22.0557 128.278 22.9446Z",
|
|
2404
2377
|
fill: "#141414"
|
|
2405
2378
|
}
|
|
2406
2379
|
),
|
|
2407
|
-
/* @__PURE__ */
|
|
2380
|
+
/* @__PURE__ */ jsx17(
|
|
2408
2381
|
"path",
|
|
2409
2382
|
{
|
|
2410
2383
|
d: "M136.833 18.6113C137.222 18.8335 137.556 19.1113 137.722 19.4446C137.945 19.7779 138.056 20.2224 138.056 20.7224C138.056 21.2224 137.945 21.6113 137.722 22.0002C137.5 22.3891 137.222 22.6668 136.833 22.8335C136.445 23.0002 136 23.1113 135.5 23.1113H133.5V26.1113H132.556V18.3335H135.556C136.056 18.3335 136.5 18.4446 136.889 18.6113H136.833ZM135.389 22.2224C135.889 22.2224 136.333 22.1113 136.611 21.8335C136.889 21.5557 137.056 21.1668 137.056 20.7224C137.056 20.2779 136.889 19.8891 136.611 19.6113C136.333 19.3335 135.889 19.2224 135.389 19.2224H133.445V22.2224H135.389Z",
|
|
2411
2384
|
fill: "#141414"
|
|
2412
2385
|
}
|
|
2413
2386
|
),
|
|
2414
|
-
/* @__PURE__ */
|
|
2387
|
+
/* @__PURE__ */ jsx17(
|
|
2415
2388
|
"path",
|
|
2416
2389
|
{
|
|
2417
2390
|
d: "M138.833 24.778C138.611 24.3336 138.5 23.8336 138.5 23.278C138.5 22.7225 138.611 22.2225 138.833 21.778C139.056 21.3336 139.389 21.0003 139.833 20.778C140.278 20.5558 140.722 20.3892 141.278 20.3892C141.833 20.3892 142.333 20.5003 142.722 20.778C143.167 21.0003 143.5 21.3892 143.722 21.778C143.945 22.2225 144.056 22.7225 144.056 23.278C144.056 23.8336 143.945 24.3336 143.722 24.778C143.5 25.2225 143.167 25.5558 142.722 25.778C142.278 26.0003 141.833 26.1669 141.278 26.1669C140.722 26.1669 140.222 26.0558 139.833 25.778C139.445 25.5003 139.056 25.1669 138.833 24.778ZM142.945 24.3336C143.111 24.0003 143.167 23.6669 143.167 23.278C143.167 22.8892 143.111 22.5003 142.945 22.2225C142.778 21.8892 142.556 21.6669 142.278 21.5003C142 21.3336 141.667 21.2225 141.278 21.2225C140.889 21.2225 140.556 21.3336 140.278 21.5003C140 21.6669 139.778 21.9447 139.611 22.2225C139.445 22.5003 139.389 22.8892 139.389 23.278C139.389 23.6669 139.445 24.0558 139.611 24.3336C139.778 24.6669 140 24.8892 140.278 25.0558C140.556 25.2225 140.889 25.3336 141.278 25.3336C141.667 25.3336 142 25.2225 142.278 25.0558C142.556 24.8892 142.778 24.6114 142.945 24.3336Z",
|
|
2418
2391
|
fill: "#141414"
|
|
2419
2392
|
}
|
|
2420
2393
|
),
|
|
2421
|
-
/* @__PURE__ */
|
|
2394
|
+
/* @__PURE__ */ jsx17(
|
|
2422
2395
|
"path",
|
|
2423
2396
|
{
|
|
2424
2397
|
d: "M146.278 25.0557C146.556 25.2779 146.945 25.389 147.389 25.389C147.833 25.389 148.111 25.3335 148.389 25.1668C148.611 25.0001 148.778 24.7779 148.778 24.5557C148.778 24.3335 148.722 24.1668 148.611 24.0557C148.5 23.9446 148.333 23.8335 148.167 23.8335C148 23.8335 147.722 23.7224 147.333 23.7224C146.833 23.6668 146.445 23.6112 146.111 23.5001C145.778 23.389 145.556 23.2224 145.333 23.0557C145.167 22.8335 145.056 22.5557 145.056 22.1668C145.056 21.7779 145.167 21.5557 145.333 21.2779C145.5 21.0001 145.778 20.8335 146.111 20.6668C146.445 20.5001 146.778 20.4446 147.222 20.4446C147.889 20.4446 148.445 20.6112 148.833 20.889C149.278 21.2224 149.5 21.6668 149.5 22.2224H148.611C148.611 21.9446 148.445 21.6668 148.167 21.5001C147.889 21.3335 147.611 21.2224 147.222 21.2224C146.833 21.2224 146.5 21.2779 146.278 21.4446C146.056 21.6112 145.945 21.8335 145.945 22.0557C145.945 22.2779 145.945 22.389 146.111 22.5001C146.222 22.6112 146.389 22.6668 146.556 22.7224C146.722 22.7224 147 22.7779 147.333 22.8335C147.833 22.889 148.222 23.0001 148.556 23.0557C148.889 23.1668 149.111 23.3335 149.333 23.5557C149.556 23.7779 149.611 24.1112 149.611 24.5001C149.611 24.889 149.5 25.1668 149.333 25.389C149.111 25.6668 148.889 25.8335 148.5 26.0001C148.167 26.1668 147.778 26.2224 147.389 26.2224C146.667 26.2224 146.056 26.0557 145.611 25.7224C145.167 25.389 144.945 24.889 144.945 24.2779H145.833C145.833 24.6112 146 24.889 146.278 25.1112V25.0557Z",
|
|
2425
2398
|
fill: "#141414"
|
|
2426
2399
|
}
|
|
2427
2400
|
),
|
|
2428
|
-
/* @__PURE__ */
|
|
2401
|
+
/* @__PURE__ */ jsx17(
|
|
2429
2402
|
"path",
|
|
2430
2403
|
{
|
|
2431
2404
|
d: "M150 21.2779V20.4446H151V18.8335H151.889V20.4446H153.333V21.2779H151.889V24.6113C151.889 24.8335 151.889 25.0002 152 25.1113C152.111 25.2224 152.278 25.2779 152.5 25.2779H153.5V26.1113H152.445C151.889 26.1113 151.556 26.0002 151.278 25.7779C151.056 25.5557 150.945 25.1668 150.945 24.6668V21.3335H149.945L150 21.2779Z",
|
|
2432
2405
|
fill: "#141414"
|
|
2433
2406
|
}
|
|
2434
2407
|
),
|
|
2435
|
-
/* @__PURE__ */
|
|
2408
|
+
/* @__PURE__ */ jsx17(
|
|
2436
2409
|
"path",
|
|
2437
2410
|
{
|
|
2438
2411
|
d: "M162.445 26.1113H161.945C161.556 26.1113 161.333 26.0557 161.167 25.8891C161 25.7224 160.945 25.5002 160.945 25.2224C160.5 25.8335 159.889 26.1668 159.056 26.1668C158.222 26.1668 157.945 26.0002 157.556 25.7224C157.167 25.4446 157 25.0002 157 24.5002C157 24.0002 157.167 23.5002 157.556 23.1668C157.945 22.8335 158.5 22.7224 159.278 22.7224H160.945V22.3335C160.945 21.9446 160.833 21.6668 160.556 21.4446C160.333 21.2224 159.945 21.1113 159.5 21.1113C159.056 21.1113 158.778 21.2224 158.5 21.3891C158.222 21.5557 158.111 21.7779 158 22.0557H157.111C157.167 21.5002 157.445 21.0557 157.833 20.7779C158.222 20.5002 158.833 20.3335 159.5 20.3335C160.167 20.3335 160.778 20.5002 161.167 20.8891C161.556 21.2224 161.778 21.7224 161.778 22.3891V24.8335C161.778 25.1113 161.889 25.2224 162.167 25.2224H162.445V26.0557V26.1113ZM159.111 23.5002C158.278 23.5002 157.833 23.8335 157.833 24.4446C157.833 25.0557 157.945 24.9446 158.167 25.1113C158.389 25.2779 158.667 25.3891 159.056 25.3891C159.611 25.3891 160.056 25.2224 160.389 24.9446C160.722 24.6668 160.889 24.2779 160.889 23.7779V23.5002H159.111Z",
|
|
2439
2412
|
fill: "#141414"
|
|
2440
2413
|
}
|
|
2441
2414
|
),
|
|
2442
|
-
/* @__PURE__ */
|
|
2415
|
+
/* @__PURE__ */ jsx17(
|
|
2443
2416
|
"path",
|
|
2444
2417
|
{
|
|
2445
2418
|
d: "M168.167 22.9447V26.1114H167.278V23.0003C167.278 22.3892 167.167 21.9447 166.889 21.6669C166.611 21.3892 166.222 21.2225 165.722 21.2225C165.222 21.2225 164.778 21.3892 164.445 21.778C164.167 22.1669 164 22.6669 164 23.278V26.1114H163.111V20.4447H163.889L164 21.2225C164.445 20.6669 165.056 20.3892 165.889 20.3892C166.722 20.3892 167.111 20.6114 167.556 21.0003C168 21.3892 168.167 22.0558 168.167 22.9447Z",
|
|
2446
2419
|
fill: "#141414"
|
|
2447
2420
|
}
|
|
2448
2421
|
),
|
|
2449
|
-
/* @__PURE__ */
|
|
2422
|
+
/* @__PURE__ */ jsx17(
|
|
2450
2423
|
"path",
|
|
2451
2424
|
{
|
|
2452
2425
|
d: "M174.722 26.1114H173.945L173.833 25.2225C173.333 25.8892 172.722 26.2225 171.889 26.2225C171.056 26.2225 170.889 26.1114 170.5 25.8892C170.111 25.6669 169.778 25.3336 169.556 24.8892C169.333 24.4447 169.222 23.9447 169.222 23.3336C169.222 22.7225 169.333 22.2781 169.556 21.8336C169.778 21.3892 170.111 21.0558 170.556 20.8336C171 20.6114 171.445 20.4447 171.945 20.4447C172.445 20.4447 172.778 20.5003 173.111 20.7225C173.445 20.8892 173.667 21.1114 173.889 21.3892V18.3892H174.778V26.1669L174.722 26.1114ZM173.611 24.3892C173.778 24.0558 173.833 23.7225 173.833 23.3336C173.833 22.9447 173.778 22.5558 173.611 22.2225C173.445 21.8892 173.222 21.6669 172.945 21.4447C172.667 21.278 172.333 21.1669 171.945 21.1669C171.389 21.1669 170.945 21.3892 170.556 21.7781C170.167 22.1669 170.056 22.6669 170.056 23.2781C170.056 23.8892 170.222 24.3892 170.556 24.778C170.889 25.1669 171.333 25.3892 171.945 25.3892C172.556 25.3892 172.611 25.2781 172.945 25.1114C173.222 24.9447 173.445 24.6669 173.611 24.3892Z",
|
|
2453
2426
|
fill: "#141414"
|
|
2454
2427
|
}
|
|
2455
2428
|
),
|
|
2456
|
-
/* @__PURE__ */
|
|
2429
|
+
/* @__PURE__ */ jsx17(
|
|
2457
2430
|
"path",
|
|
2458
2431
|
{
|
|
2459
2432
|
d: "M92.6112 29.4446V30.3335H90.1112V37.2224H89.1667V30.3335H86.6667V29.4446H92.6667H92.6112Z",
|
|
2460
2433
|
fill: "#141414"
|
|
2461
2434
|
}
|
|
2462
2435
|
),
|
|
2463
|
-
/* @__PURE__ */
|
|
2436
|
+
/* @__PURE__ */ jsx17(
|
|
2464
2437
|
"path",
|
|
2465
2438
|
{
|
|
2466
2439
|
d: "M93.6111 31.8335C94 31.6112 94.5 31.4446 95 31.4446C95.5 31.4446 96 31.5557 96.3889 31.7779C96.7778 32.0001 97.1111 32.2779 97.3334 32.7224C97.5556 33.1112 97.6667 33.6112 97.7222 34.1668C97.7222 34.2224 97.7222 34.389 97.7222 34.5557H93.3334C93.3334 35.1668 93.5 35.6112 93.8334 35.9446C94.1667 36.2779 94.6111 36.4446 95.1111 36.4446C95.6111 36.4446 95.8889 36.3335 96.1667 36.1112C96.4445 35.889 96.6667 35.6112 96.7223 35.2779H97.6667C97.5556 35.8335 97.2778 36.3335 96.8334 36.7224C96.3889 37.1112 95.8334 37.2779 95.2222 37.2779C94.6111 37.2779 94.1667 37.1668 93.7222 36.889C93.2778 36.6668 92.9445 36.3335 92.7222 35.889C92.5 35.4446 92.3889 34.9446 92.3889 34.389C92.3889 33.8335 92.5 33.2779 92.7222 32.889C92.9445 32.4446 93.2778 32.1112 93.6667 31.889L93.6111 31.8335ZM96.2222 32.6668C95.8889 32.389 95.5 32.2779 95 32.2779C94.5 32.2779 94.1667 32.4446 93.8889 32.7224C93.5556 33.0001 93.3889 33.389 93.3334 33.8335H96.7778C96.7778 33.3335 96.5556 33.0001 96.2222 32.7224V32.6668Z",
|
|
2467
2440
|
fill: "#141414"
|
|
2468
2441
|
}
|
|
2469
2442
|
),
|
|
2470
|
-
/* @__PURE__ */
|
|
2471
|
-
/* @__PURE__ */
|
|
2443
|
+
/* @__PURE__ */ jsx17("path", { d: "M99.6667 29.4446V37.2224H98.7778V29.4446H99.6667Z", fill: "#141414" }),
|
|
2444
|
+
/* @__PURE__ */ jsx17(
|
|
2472
2445
|
"path",
|
|
2473
2446
|
{
|
|
2474
2447
|
d: "M102 31.8335C102.389 31.6112 102.889 31.4446 103.389 31.4446C103.889 31.4446 104.389 31.5557 104.778 31.7779C105.167 32.0001 105.5 32.2779 105.722 32.7224C105.945 33.1112 106.056 33.6112 106.111 34.1668C106.111 34.2224 106.111 34.389 106.111 34.5557H101.722C101.722 35.1668 101.889 35.6112 102.222 35.9446C102.556 36.2779 103 36.4446 103.5 36.4446C104 36.4446 104.278 36.3335 104.556 36.1112C104.833 35.889 105.056 35.6112 105.111 35.2779H106.056C105.944 35.8335 105.667 36.3335 105.222 36.7224C104.778 37.1112 104.222 37.2779 103.611 37.2779C103 37.2779 102.556 37.1668 102.111 36.889C101.667 36.6668 101.333 36.3335 101.111 35.889C100.889 35.4446 100.778 34.9446 100.778 34.389C100.778 33.8335 100.889 33.2779 101.111 32.889C101.333 32.4446 101.667 32.1112 102.056 31.889L102 31.8335ZM104.611 32.6668C104.278 32.389 103.889 32.2779 103.389 32.2779C102.889 32.2779 102.556 32.4446 102.278 32.7224C101.945 33.0001 101.778 33.389 101.722 33.8335H105.167C105.167 33.3335 104.945 33.0001 104.611 32.7224V32.6668Z",
|
|
2475
2448
|
fill: "#141414"
|
|
2476
2449
|
}
|
|
2477
2450
|
),
|
|
2478
|
-
/* @__PURE__ */
|
|
2451
|
+
/* @__PURE__ */ jsx17(
|
|
2479
2452
|
"path",
|
|
2480
2453
|
{
|
|
2481
2454
|
d: "M109.667 37.2779C109.111 37.2779 108.611 37.1668 108.222 36.889C107.833 36.6668 107.5 36.2779 107.278 35.8335C107.056 35.389 106.945 34.889 106.945 34.3335C106.945 33.7779 107.056 33.2779 107.278 32.8335C107.5 32.389 107.833 32.0557 108.278 31.8335C108.722 31.6112 109.167 31.4446 109.722 31.4446C110.278 31.4446 110.945 31.6112 111.389 32.0001C111.833 32.389 112.111 32.8335 112.222 33.4446H111.278C111.167 33.0557 111 32.7779 110.722 32.5557C110.445 32.3335 110.111 32.2224 109.722 32.2224C109.333 32.2224 108.722 32.389 108.389 32.7779C108.056 33.1668 107.889 33.6668 107.889 34.2779C107.889 34.889 108.056 35.389 108.389 35.7779C108.722 36.1668 109.167 36.389 109.722 36.389C110.278 36.389 110.5 36.2779 110.778 36.0557C111.056 35.8335 111.222 35.5557 111.333 35.1668H112.222C112.111 35.7779 111.833 36.2779 111.389 36.6668C110.945 37.0001 110.389 37.2224 109.722 37.2224L109.667 37.2779Z",
|
|
2482
2455
|
fill: "#141414"
|
|
2483
2456
|
}
|
|
2484
2457
|
),
|
|
2485
|
-
/* @__PURE__ */
|
|
2458
|
+
/* @__PURE__ */ jsx17(
|
|
2486
2459
|
"path",
|
|
2487
2460
|
{
|
|
2488
2461
|
d: "M113.278 35.8891C113.056 35.4447 112.945 34.9447 112.945 34.3891C112.945 33.8336 113.056 33.3336 113.278 32.8891C113.5 32.4447 113.833 32.1114 114.278 31.8891C114.722 31.6669 115.167 31.5002 115.722 31.5002C116.278 31.5002 116.778 31.6114 117.167 31.8891C117.611 32.1114 117.945 32.5002 118.167 32.8891C118.389 33.3336 118.5 33.8336 118.5 34.3891C118.5 34.9447 118.389 35.4447 118.167 35.8891C117.945 36.3336 117.611 36.6669 117.167 36.8891C116.722 37.1114 116.278 37.278 115.722 37.278C115.167 37.278 114.667 37.1669 114.278 36.8891C113.889 36.6114 113.5 36.278 113.278 35.8891ZM117.333 35.4447C117.5 35.1114 117.556 34.778 117.556 34.3891C117.556 34.0002 117.5 33.6114 117.333 33.3336C117.167 33.0002 116.945 32.778 116.667 32.6114C116.389 32.4447 116.056 32.3336 115.667 32.3336C115.278 32.3336 114.945 32.4447 114.667 32.6114C114.389 32.778 114.167 33.0558 114 33.3336C113.833 33.6669 113.778 34.0002 113.778 34.3891C113.778 34.778 113.833 35.1669 114 35.4447C114.167 35.778 114.389 36.0002 114.667 36.1669C114.945 36.3336 115.278 36.4447 115.667 36.4447C116.056 36.4447 116.389 36.3336 116.667 36.1669C116.945 36.0002 117.167 35.7225 117.333 35.4447Z",
|
|
2489
2462
|
fill: "#141414"
|
|
2490
2463
|
}
|
|
2491
2464
|
),
|
|
2492
|
-
/* @__PURE__ */
|
|
2465
|
+
/* @__PURE__ */ jsx17(
|
|
2493
2466
|
"path",
|
|
2494
2467
|
{
|
|
2495
2468
|
d: "M128.056 33.9446V37.2224H127.167V34.0001C127.167 33.4446 127.056 33.0557 126.833 32.7224C126.611 32.4446 126.278 32.2779 125.833 32.2779C125.389 32.2779 125 32.4446 124.722 32.7779C124.445 33.1112 124.333 33.5557 124.333 34.1668V37.2224H123.445V34.0001C123.445 33.4446 123.333 33.0557 123.111 32.7224C122.889 32.4446 122.556 32.2779 122.111 32.2779C121.667 32.2779 121.278 32.4446 121 32.7779C120.722 33.1112 120.611 33.6112 120.611 34.1668V37.1668H119.722V31.5001H120.5L120.611 32.2779C121 31.7224 121.556 31.4446 122.278 31.4446C123 31.4446 123.056 31.5557 123.389 31.7224C123.722 31.889 123.945 32.1668 124.111 32.5557C124.5 31.8335 125.167 31.5001 126.056 31.5001C126.945 31.5001 127.222 31.7224 127.611 32.1112C128 32.5001 128.222 33.1112 128.222 34.0001L128.056 33.9446Z",
|
|
2496
2469
|
fill: "#141414"
|
|
2497
2470
|
}
|
|
2498
2471
|
),
|
|
2499
|
-
/* @__PURE__ */
|
|
2472
|
+
/* @__PURE__ */ jsx17(
|
|
2500
2473
|
"path",
|
|
2501
2474
|
{
|
|
2502
2475
|
d: "M134.556 29.4446H135.722L138.667 37.2224H137.611L136.778 35.1112H133.389L132.556 37.2224H131.556L134.5 29.4446H134.556ZM136.556 34.2224L135.167 30.5001L133.778 34.2224H136.611H136.556Z",
|
|
2503
2476
|
fill: "#141414"
|
|
2504
2477
|
}
|
|
2505
2478
|
),
|
|
2506
|
-
/* @__PURE__ */
|
|
2479
|
+
/* @__PURE__ */ jsx17(
|
|
2507
2480
|
"path",
|
|
2508
2481
|
{
|
|
2509
2482
|
d: "M144.111 37.2223H143.333L143.222 36.4446C142.778 37.0001 142.167 37.2779 141.389 37.2779C140.611 37.2779 140.167 37.0557 139.778 36.6668C139.389 36.2779 139.167 35.6112 139.167 34.7223V31.5557H140.056V34.6668C140.056 35.2779 140.167 35.7223 140.445 36.0001C140.722 36.3334 141.056 36.4446 141.556 36.4446C142.056 36.4446 142.5 36.2779 142.778 35.889C143.056 35.5001 143.222 35.0001 143.222 34.389V31.5557H144.111V37.2223Z",
|
|
2510
2483
|
fill: "#141414"
|
|
2511
2484
|
}
|
|
2512
2485
|
),
|
|
2513
|
-
/* @__PURE__ */
|
|
2486
|
+
/* @__PURE__ */ jsx17(
|
|
2514
2487
|
"path",
|
|
2515
2488
|
{
|
|
2516
2489
|
d: "M144.722 32.389V31.5557H145.722V29.9446H146.611V31.5557H148.056V32.389H146.611V35.7224C146.611 35.9446 146.611 36.1112 146.722 36.2224C146.833 36.3335 147 36.389 147.222 36.389H148.222V37.2224H147.167C146.611 37.2224 146.278 37.1112 146 36.889C145.778 36.6668 145.667 36.2779 145.667 35.7779V32.4446H144.667L144.722 32.389Z",
|
|
2517
2490
|
fill: "#141414"
|
|
2518
2491
|
}
|
|
2519
2492
|
),
|
|
2520
|
-
/* @__PURE__ */
|
|
2493
|
+
/* @__PURE__ */ jsx17(
|
|
2521
2494
|
"path",
|
|
2522
2495
|
{
|
|
2523
2496
|
d: "M154 34.0557V37.2224H153.111V34.1112C153.111 33.5001 153 33.0557 152.722 32.7779C152.445 32.4446 152.056 32.3335 151.556 32.3335C151.056 32.3335 150.611 32.5001 150.333 32.889C150 33.2779 149.889 33.7779 149.889 34.389V37.2224H149V29.4446H149.889V32.5001C150.056 32.2224 150.333 31.9446 150.611 31.7779C150.945 31.6112 151.278 31.5001 151.722 31.5001C152.389 31.5001 152.945 31.7224 153.389 32.1112C153.833 32.5001 154 33.1668 154 34.0557Z",
|
|
2524
2497
|
fill: "#141414"
|
|
2525
2498
|
}
|
|
2526
2499
|
),
|
|
2527
|
-
/* @__PURE__ */
|
|
2500
|
+
/* @__PURE__ */ jsx17(
|
|
2528
2501
|
"path",
|
|
2529
2502
|
{
|
|
2530
2503
|
d: "M155.333 35.8891C155.111 35.4447 155 34.9447 155 34.3891C155 33.8336 155.111 33.3336 155.333 32.8891C155.556 32.4447 155.889 32.1114 156.333 31.8891C156.778 31.6669 157.222 31.5002 157.778 31.5002C158.333 31.5002 158.833 31.6114 159.222 31.8891C159.667 32.1114 160 32.5002 160.222 32.8891C160.445 33.3336 160.556 33.8336 160.556 34.3891C160.556 34.9447 160.445 35.4447 160.222 35.8891C160 36.3336 159.667 36.6669 159.222 36.8891C158.778 37.1114 158.333 37.278 157.778 37.278C157.222 37.278 156.722 37.1669 156.333 36.8891C155.945 36.6114 155.556 36.278 155.333 35.8891ZM159.445 35.4447C159.611 35.1114 159.667 34.778 159.667 34.3891C159.667 34.0002 159.611 33.6114 159.445 33.3336C159.278 33.0002 159.056 32.778 158.778 32.6114C158.5 32.4447 158.167 32.3336 157.778 32.3336C157.389 32.3336 157.056 32.4447 156.778 32.6114C156.5 32.778 156.278 33.0558 156.111 33.3336C155.945 33.6669 155.889 34.0002 155.889 34.3891C155.889 34.778 155.945 35.1669 156.111 35.4447C156.278 35.778 156.5 36.0002 156.778 36.1669C157.056 36.3336 157.389 36.4447 157.778 36.4447C158.167 36.4447 158.5 36.3336 158.778 36.1669C159.056 36.0002 159.278 35.7225 159.445 35.4447Z",
|
|
2531
2504
|
fill: "#141414"
|
|
2532
2505
|
}
|
|
2533
2506
|
),
|
|
2534
|
-
/* @__PURE__ */
|
|
2507
|
+
/* @__PURE__ */ jsx17(
|
|
2535
2508
|
"path",
|
|
2536
2509
|
{
|
|
2537
2510
|
d: "M164.5 32.4446H164.056C163.5 32.4446 163.111 32.6112 162.889 33.0001C162.667 33.389 162.556 33.8334 162.556 34.3334V37.2223H161.667V31.5557H162.445L162.556 32.389C162.722 32.1112 162.945 31.9446 163.167 31.7779C163.445 31.6112 163.778 31.5557 164.222 31.5557H164.5V32.4446Z",
|
|
2538
2511
|
fill: "#141414"
|
|
2539
2512
|
}
|
|
2540
2513
|
),
|
|
2541
|
-
/* @__PURE__ */
|
|
2514
|
+
/* @__PURE__ */ jsx17(
|
|
2542
2515
|
"path",
|
|
2543
2516
|
{
|
|
2544
2517
|
d: "M166.389 29.9446C166.389 30.1113 166.333 30.2779 166.222 30.3891C166.111 30.5002 165.945 30.5557 165.778 30.5557C165.611 30.5557 165.445 30.5002 165.333 30.3891C165.222 30.2779 165.167 30.1113 165.167 29.9446C165.167 29.7779 165.222 29.6113 165.333 29.5002C165.445 29.3891 165.611 29.3335 165.778 29.3335C165.945 29.3335 166.111 29.3891 166.222 29.5002C166.333 29.6113 166.389 29.7779 166.389 29.9446ZM166.278 31.5557V37.2224H165.389V31.5557H166.278Z",
|
|
2545
2518
|
fill: "#141414"
|
|
2546
2519
|
}
|
|
2547
2520
|
),
|
|
2548
|
-
/* @__PURE__ */
|
|
2521
|
+
/* @__PURE__ */ jsx17(
|
|
2549
2522
|
"path",
|
|
2550
2523
|
{
|
|
2551
2524
|
d: "M166.833 32.389V31.5557H167.833V29.9446H168.722V31.5557H170.167V32.389H168.722V35.7224C168.722 35.9446 168.722 36.1112 168.833 36.2224C168.944 36.3335 169.111 36.389 169.333 36.389H170.333V37.2224H169.278C168.722 37.2224 168.389 37.1112 168.111 36.889C167.889 36.6668 167.778 36.2779 167.778 35.7779V32.4446H166.778L166.833 32.389Z",
|
|
2552
2525
|
fill: "#141414"
|
|
2553
2526
|
}
|
|
2554
2527
|
),
|
|
2555
|
-
/* @__PURE__ */
|
|
2528
|
+
/* @__PURE__ */ jsx17(
|
|
2556
2529
|
"path",
|
|
2557
2530
|
{
|
|
2558
2531
|
d: "M173.167 36.1668L174.833 31.5557H175.778L173.167 38.1668C173.056 38.5001 172.889 38.7779 172.833 38.9446C172.778 39.1112 172.611 39.2223 172.445 39.3334C172.278 39.389 172.056 39.4446 171.833 39.4446H170.722V38.6112H171.556C171.722 38.6112 171.889 38.6112 171.945 38.5557C172 38.5001 172.111 38.4446 172.167 38.389C172.167 38.2779 172.278 38.1668 172.389 37.9446L172.667 37.2779L170.445 31.5557H171.389L173.111 36.1668H173.167Z",
|
|
@@ -2562,7 +2535,7 @@ var Logo_en = () => /* @__PURE__ */ jsxs16("svg", { width: "189.0", height: "46.
|
|
|
2562
2535
|
] });
|
|
2563
2536
|
|
|
2564
2537
|
// src/components/layout/HeaderStandard/HeaderStandard.tsx
|
|
2565
|
-
import { jsx as
|
|
2538
|
+
import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2566
2539
|
var Header = ({
|
|
2567
2540
|
activatedLanguage = "sv",
|
|
2568
2541
|
useLanguage = true,
|
|
@@ -2581,28 +2554,28 @@ var Header = ({
|
|
|
2581
2554
|
if (activatedLanguage === "sv") return "English";
|
|
2582
2555
|
else return "Svenska";
|
|
2583
2556
|
};
|
|
2584
|
-
return /* @__PURE__ */
|
|
2585
|
-
/* @__PURE__ */
|
|
2557
|
+
return /* @__PURE__ */ jsx18("header", { className: "pts-header-container", children: /* @__PURE__ */ jsxs16("div", { className: "pts-header-content", children: [
|
|
2558
|
+
/* @__PURE__ */ jsx18("div", { className: "pts-header-logo-container", children: /* @__PURE__ */ jsx18(
|
|
2586
2559
|
"a",
|
|
2587
2560
|
{
|
|
2588
2561
|
className: "pts-header-logo",
|
|
2589
2562
|
href: logoLink,
|
|
2590
2563
|
target: "_blank",
|
|
2591
2564
|
"aria-label": activatedLanguage === "en" ? "PTS logotype (to the homepage on pts.se, opens in new tab)" : "PTS logotyp (till startsidan p\xE5 pts.se, \xF6ppnas i ny flik)",
|
|
2592
|
-
children: activatedLanguage === "en" ? /* @__PURE__ */
|
|
2565
|
+
children: activatedLanguage === "en" ? /* @__PURE__ */ jsx18("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx18(Logo_en, {}) }) : /* @__PURE__ */ jsx18("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx18(Logo_sv, {}) })
|
|
2593
2566
|
}
|
|
2594
2567
|
) }),
|
|
2595
|
-
/* @__PURE__ */
|
|
2568
|
+
/* @__PURE__ */ jsx18("div", { className: "pts-header-navigation-container", children: useLanguage && /* @__PURE__ */ jsxs16(
|
|
2596
2569
|
"button",
|
|
2597
2570
|
{
|
|
2598
2571
|
lang: activatedLanguage === "en" ? "en" : "sv",
|
|
2599
2572
|
className: "pts-languageButton",
|
|
2600
2573
|
onClick: handleLanguageClick,
|
|
2601
2574
|
children: [
|
|
2602
|
-
/* @__PURE__ */
|
|
2603
|
-
/* @__PURE__ */
|
|
2604
|
-
activatedLanguage === "en" && /* @__PURE__ */
|
|
2605
|
-
activatedLanguage === "sv" && /* @__PURE__ */
|
|
2575
|
+
/* @__PURE__ */ jsx18("div", { className: "languageIcon", children: /* @__PURE__ */ jsx18("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx18(LanguageIcon, {}) }) }),
|
|
2576
|
+
/* @__PURE__ */ jsx18("span", { "aria-hidden": "true", className: "pts-languageButton-text", children: getLanguageLabel() }),
|
|
2577
|
+
activatedLanguage === "en" && /* @__PURE__ */ jsx18("span", { className: "sr-only", children: "\xC4ndra spr\xE5k till svenska" }),
|
|
2578
|
+
activatedLanguage === "sv" && /* @__PURE__ */ jsx18("span", { className: "sr-only", children: "Change language to English" })
|
|
2606
2579
|
]
|
|
2607
2580
|
}
|
|
2608
2581
|
) })
|
|
@@ -2611,7 +2584,7 @@ var Header = ({
|
|
|
2611
2584
|
var HeaderStandard_default = Header;
|
|
2612
2585
|
|
|
2613
2586
|
// src/components/layout/ModalStandard/ModalStandard.tsx
|
|
2614
|
-
import { jsx as
|
|
2587
|
+
import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2615
2588
|
var CONTENT = {
|
|
2616
2589
|
en: {
|
|
2617
2590
|
heading: "Please wait",
|
|
@@ -2625,25 +2598,25 @@ var CONTENT = {
|
|
|
2625
2598
|
var Modal = ({ showModal: isOpen, activatedLanguage = "" }) => {
|
|
2626
2599
|
const currentContent = activatedLanguage === "en" ? CONTENT.en : CONTENT.sv;
|
|
2627
2600
|
if (!isOpen) return null;
|
|
2628
|
-
return /* @__PURE__ */
|
|
2629
|
-
/* @__PURE__ */
|
|
2630
|
-
/* @__PURE__ */
|
|
2631
|
-
/* @__PURE__ */
|
|
2601
|
+
return /* @__PURE__ */ jsx19("div", { className: "pts-modal-overlay", children: /* @__PURE__ */ jsxs17("div", { "aria-hidden": true, className: "pts-modal-content", children: [
|
|
2602
|
+
/* @__PURE__ */ jsx19("h1", { children: currentContent.heading }),
|
|
2603
|
+
/* @__PURE__ */ jsx19("p", { children: currentContent.message }),
|
|
2604
|
+
/* @__PURE__ */ jsx19("div", { className: "pts-spinner-border" })
|
|
2632
2605
|
] }) });
|
|
2633
2606
|
};
|
|
2634
2607
|
var ModalStandard_default = Modal;
|
|
2635
2608
|
|
|
2636
2609
|
// src/components/layout/SkipLinkStandard/SkipLinkStandard.tsx
|
|
2637
|
-
import { jsx as
|
|
2638
|
-
var SkipLink = () => {
|
|
2610
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
2611
|
+
var SkipLink = ({ activatedLanguage = "sv" }) => {
|
|
2639
2612
|
function scrollToMainContent() {
|
|
2640
|
-
const container = document.getElementById(`main-
|
|
2613
|
+
const container = document.getElementById(`pts-main-service-headline`);
|
|
2641
2614
|
if (container) {
|
|
2642
2615
|
container.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
2643
2616
|
container.focus();
|
|
2644
2617
|
}
|
|
2645
2618
|
}
|
|
2646
|
-
return /* @__PURE__ */
|
|
2619
|
+
return /* @__PURE__ */ jsx20("div", { className: "pts-skipLink-container", children: /* @__PURE__ */ jsx20(
|
|
2647
2620
|
"a",
|
|
2648
2621
|
{
|
|
2649
2622
|
href: "#",
|
|
@@ -2651,7 +2624,7 @@ var SkipLink = () => {
|
|
|
2651
2624
|
e.preventDefault();
|
|
2652
2625
|
scrollToMainContent();
|
|
2653
2626
|
},
|
|
2654
|
-
children: "Till huvudinneh\xE5ll"
|
|
2627
|
+
children: activatedLanguage === "en" ? "Skip to main content" : "Till huvudinneh\xE5ll"
|
|
2655
2628
|
}
|
|
2656
2629
|
) });
|
|
2657
2630
|
};
|
|
@@ -2660,23 +2633,23 @@ var SkipLinkStandard_default = SkipLink;
|
|
|
2660
2633
|
// src/components/text-blocks/TextHeadlineAndBodyStandard/TextHeadlineAndBodyStandard.tsx
|
|
2661
2634
|
import { createElement } from "react";
|
|
2662
2635
|
import DOMPurify3 from "dompurify";
|
|
2663
|
-
import { jsx as
|
|
2636
|
+
import { jsx as jsx21, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2664
2637
|
var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
2665
|
-
return /* @__PURE__ */
|
|
2638
|
+
return /* @__PURE__ */ jsxs18(
|
|
2666
2639
|
"section",
|
|
2667
2640
|
{
|
|
2668
2641
|
className: "pts-textHeadlineAndBody-container",
|
|
2669
2642
|
children: [
|
|
2670
2643
|
data.headline && createElement(headlineType, { id: "textHeadlineAndBody-headline" }, data.headline),
|
|
2671
|
-
data.body && /* @__PURE__ */
|
|
2672
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */
|
|
2644
|
+
data.body && /* @__PURE__ */ jsx21("div", { dangerouslySetInnerHTML: { __html: DOMPurify3.sanitize(data.body) } }),
|
|
2645
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ jsx21("ul", { className: "pts-moreinfo-list", children: data.linksForMoreInfo.map((link, index) => /* @__PURE__ */ jsx21("li", { className: index > 0 ? "notFirstInList" : "", children: /* @__PURE__ */ jsxs18(
|
|
2673
2646
|
"a",
|
|
2674
2647
|
{
|
|
2675
2648
|
href: link.url,
|
|
2676
2649
|
target: "_blank",
|
|
2677
2650
|
rel: "noopener noreferrer",
|
|
2678
2651
|
children: [
|
|
2679
|
-
/* @__PURE__ */
|
|
2652
|
+
/* @__PURE__ */ jsx21("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx21(
|
|
2680
2653
|
"svg",
|
|
2681
2654
|
{
|
|
2682
2655
|
"aria-hidden": "true",
|
|
@@ -2685,7 +2658,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2685
2658
|
height: "10",
|
|
2686
2659
|
viewBox: "0 0 12 10",
|
|
2687
2660
|
fill: "none",
|
|
2688
|
-
children: /* @__PURE__ */
|
|
2661
|
+
children: /* @__PURE__ */ jsx21(
|
|
2689
2662
|
"path",
|
|
2690
2663
|
{
|
|
2691
2664
|
d: "M6.00001 9.63253L5.10321 8.82184L8.62749 5.57905H0.965332V4.42091H8.62749L5.10321 1.17813L6.00001 0.367432L11.0347 4.99998L6.00001 9.63253Z",
|
|
@@ -2698,7 +2671,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2698
2671
|
]
|
|
2699
2672
|
}
|
|
2700
2673
|
) }, `more-info-${index}`)) }),
|
|
2701
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */
|
|
2674
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ jsxs18(
|
|
2702
2675
|
"a",
|
|
2703
2676
|
{
|
|
2704
2677
|
href: data.linksForMoreInfo[0].url,
|
|
@@ -2706,7 +2679,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2706
2679
|
rel: "noopener noreferrer",
|
|
2707
2680
|
"aria-label": data.linksForMoreInfo[0].ariaLabel,
|
|
2708
2681
|
children: [
|
|
2709
|
-
/* @__PURE__ */
|
|
2682
|
+
/* @__PURE__ */ jsx21("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx21(
|
|
2710
2683
|
"svg",
|
|
2711
2684
|
{
|
|
2712
2685
|
"aria-hidden": "true",
|
|
@@ -2715,7 +2688,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2715
2688
|
height: "10",
|
|
2716
2689
|
viewBox: "0 0 12 10",
|
|
2717
2690
|
fill: "none",
|
|
2718
|
-
children: /* @__PURE__ */
|
|
2691
|
+
children: /* @__PURE__ */ jsx21(
|
|
2719
2692
|
"path",
|
|
2720
2693
|
{
|
|
2721
2694
|
d: "M6.00001 9.63253L5.10321 8.82184L8.62749 5.57905H0.965332V4.42091H8.62749L5.10321 1.17813L6.00001 0.367432L11.0347 4.99998L6.00001 9.63253Z",
|
|
@@ -2735,7 +2708,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2735
2708
|
var TextHeadlineAndBodyStandard_default = TextHeadlineAndBody;
|
|
2736
2709
|
|
|
2737
2710
|
// src/components/text-blocks/PrincipleOfPublicityStandard/PrincipleOfPublicityStandard.tsx
|
|
2738
|
-
import { jsx as
|
|
2711
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
2739
2712
|
var CONTENT2 = {
|
|
2740
2713
|
en: {
|
|
2741
2714
|
headline: "The principle of publicity and processing of personal data",
|
|
@@ -2770,7 +2743,7 @@ var CONTENT2 = {
|
|
|
2770
2743
|
};
|
|
2771
2744
|
var PrincipleOfPublicity = ({ activatedLanguage = "" }) => {
|
|
2772
2745
|
const currentContent = activatedLanguage === "en" ? CONTENT2.en : CONTENT2.sv;
|
|
2773
|
-
return /* @__PURE__ */
|
|
2746
|
+
return /* @__PURE__ */ jsx22(
|
|
2774
2747
|
TextHeadlineAndBodyStandard_default,
|
|
2775
2748
|
{
|
|
2776
2749
|
data: {
|
|
@@ -2790,18 +2763,18 @@ var PrincipleOfPublicityStandard_default = PrincipleOfPublicity;
|
|
|
2790
2763
|
|
|
2791
2764
|
// src/components/text-blocks/TextBody/TextBody.tsx
|
|
2792
2765
|
import DOMPurify4 from "dompurify";
|
|
2793
|
-
import { jsx as
|
|
2766
|
+
import { jsx as jsx23, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2794
2767
|
var TextBody = ({ data }) => {
|
|
2795
|
-
return /* @__PURE__ */
|
|
2796
|
-
data.body && /* @__PURE__ */
|
|
2797
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */
|
|
2768
|
+
return /* @__PURE__ */ jsxs19("div", { className: "pts-textBody-container", children: [
|
|
2769
|
+
data.body && /* @__PURE__ */ jsx23("div", { dangerouslySetInnerHTML: { __html: DOMPurify4.sanitize(data.body) } }),
|
|
2770
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ jsx23("ul", { className: "pts-moreinfo-list", children: data.linksForMoreInfo.map((link, index) => /* @__PURE__ */ jsx23("li", { className: index > 0 ? "notFirstInList" : "", children: /* @__PURE__ */ jsxs19(
|
|
2798
2771
|
"a",
|
|
2799
2772
|
{
|
|
2800
2773
|
href: link.url,
|
|
2801
2774
|
target: "_blank",
|
|
2802
2775
|
rel: "noopener noreferrer",
|
|
2803
2776
|
children: [
|
|
2804
|
-
/* @__PURE__ */
|
|
2777
|
+
/* @__PURE__ */ jsx23("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx23(
|
|
2805
2778
|
"svg",
|
|
2806
2779
|
{
|
|
2807
2780
|
"aria-hidden": "true",
|
|
@@ -2810,7 +2783,7 @@ var TextBody = ({ data }) => {
|
|
|
2810
2783
|
height: "10",
|
|
2811
2784
|
viewBox: "0 0 12 10",
|
|
2812
2785
|
fill: "none",
|
|
2813
|
-
children: /* @__PURE__ */
|
|
2786
|
+
children: /* @__PURE__ */ jsx23(
|
|
2814
2787
|
"path",
|
|
2815
2788
|
{
|
|
2816
2789
|
d: "M6.00001 9.63253L5.10321 8.82184L8.62749 5.57905H0.965332V4.42091H8.62749L5.10321 1.17813L6.00001 0.367432L11.0347 4.99998L6.00001 9.63253Z",
|
|
@@ -2823,7 +2796,7 @@ var TextBody = ({ data }) => {
|
|
|
2823
2796
|
]
|
|
2824
2797
|
}
|
|
2825
2798
|
) }, `more-info-${index}`)) }),
|
|
2826
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */
|
|
2799
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ jsxs19(
|
|
2827
2800
|
"a",
|
|
2828
2801
|
{
|
|
2829
2802
|
href: data.linksForMoreInfo[0].url,
|
|
@@ -2831,7 +2804,7 @@ var TextBody = ({ data }) => {
|
|
|
2831
2804
|
rel: "noopener noreferrer",
|
|
2832
2805
|
"aria-label": data.linksForMoreInfo[0].ariaLabel,
|
|
2833
2806
|
children: [
|
|
2834
|
-
/* @__PURE__ */
|
|
2807
|
+
/* @__PURE__ */ jsx23("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx23(
|
|
2835
2808
|
"svg",
|
|
2836
2809
|
{
|
|
2837
2810
|
"aria-hidden": "true",
|
|
@@ -2840,7 +2813,7 @@ var TextBody = ({ data }) => {
|
|
|
2840
2813
|
height: "10",
|
|
2841
2814
|
viewBox: "0 0 12 10",
|
|
2842
2815
|
fill: "none",
|
|
2843
|
-
children: /* @__PURE__ */
|
|
2816
|
+
children: /* @__PURE__ */ jsx23(
|
|
2844
2817
|
"path",
|
|
2845
2818
|
{
|
|
2846
2819
|
d: "M6.00001 9.63253L5.10321 8.82184L8.62749 5.57905H0.965332V4.42091H8.62749L5.10321 1.17813L6.00001 0.367432L11.0347 4.99998L6.00001 9.63253Z",
|
|
@@ -2858,13 +2831,13 @@ var TextBody = ({ data }) => {
|
|
|
2858
2831
|
var TextBody_default = TextBody;
|
|
2859
2832
|
|
|
2860
2833
|
// src/components/stepper/EditPreviewLinkStandard/EditPreviewLinkStandard.tsx
|
|
2861
|
-
import { jsx as
|
|
2834
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
2862
2835
|
var EditPreviewLink = ({
|
|
2863
2836
|
step,
|
|
2864
2837
|
changeStepHandler,
|
|
2865
2838
|
activatedLanguage = "sv"
|
|
2866
2839
|
}) => {
|
|
2867
|
-
return /* @__PURE__ */
|
|
2840
|
+
return /* @__PURE__ */ jsx24("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ jsx24(
|
|
2868
2841
|
"a",
|
|
2869
2842
|
{
|
|
2870
2843
|
href: "#",
|
|
@@ -2873,20 +2846,20 @@ var EditPreviewLink = ({
|
|
|
2873
2846
|
e.preventDefault();
|
|
2874
2847
|
changeStepHandler(step.step);
|
|
2875
2848
|
},
|
|
2876
|
-
children: /* @__PURE__ */
|
|
2849
|
+
children: /* @__PURE__ */ jsx24("span", { className: "pts-edit-step-text", children: activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}` })
|
|
2877
2850
|
}
|
|
2878
2851
|
) });
|
|
2879
2852
|
};
|
|
2880
2853
|
var EditPreviewLinkStandard_default = EditPreviewLink;
|
|
2881
2854
|
|
|
2882
2855
|
// src/components/stepper/StartApplicationButton/StartApplicationButton.tsx
|
|
2883
|
-
import { jsx as
|
|
2856
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
2884
2857
|
var StartApplicationButton = ({
|
|
2885
2858
|
onClick,
|
|
2886
2859
|
label = "Starta e-tj\xE4nsten",
|
|
2887
2860
|
className = ""
|
|
2888
2861
|
}) => {
|
|
2889
|
-
return /* @__PURE__ */
|
|
2862
|
+
return /* @__PURE__ */ jsx25(
|
|
2890
2863
|
"button",
|
|
2891
2864
|
{
|
|
2892
2865
|
type: "button",
|
|
@@ -2899,7 +2872,7 @@ var StartApplicationButton = ({
|
|
|
2899
2872
|
var StartApplicationButton_default = StartApplicationButton;
|
|
2900
2873
|
|
|
2901
2874
|
// src/components/stepper/StepperButtonsStandard/StepperButtonsStandard.tsx
|
|
2902
|
-
import { jsx as
|
|
2875
|
+
import { jsx as jsx26, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2903
2876
|
var StepperButtons = ({
|
|
2904
2877
|
globalLanguageState,
|
|
2905
2878
|
changeStepHandler,
|
|
@@ -2909,8 +2882,8 @@ var StepperButtons = ({
|
|
|
2909
2882
|
activeStep
|
|
2910
2883
|
}) => {
|
|
2911
2884
|
const totalSteps = steps ? steps.length : "";
|
|
2912
|
-
return /* @__PURE__ */
|
|
2913
|
-
activeStep !== 0 && /* @__PURE__ */
|
|
2885
|
+
return /* @__PURE__ */ jsxs20("div", { className: "pts-stepperButtons-container", children: [
|
|
2886
|
+
activeStep !== 0 && /* @__PURE__ */ jsx26(
|
|
2914
2887
|
"button",
|
|
2915
2888
|
{
|
|
2916
2889
|
onClick: () => changeStepHandler(activeStep - 1),
|
|
@@ -2919,7 +2892,7 @@ var StepperButtons = ({
|
|
|
2919
2892
|
children: globalLanguageState ? globalLanguageState.backButton : "<<"
|
|
2920
2893
|
}
|
|
2921
2894
|
),
|
|
2922
|
-
/* @__PURE__ */
|
|
2895
|
+
/* @__PURE__ */ jsxs20(
|
|
2923
2896
|
"button",
|
|
2924
2897
|
{
|
|
2925
2898
|
type: activeStep === totalSteps ? "submit" : "button",
|
|
@@ -2937,19 +2910,19 @@ var StepperButtonsStandard_default = StepperButtons;
|
|
|
2937
2910
|
|
|
2938
2911
|
// src/components/stepper/StepperStandard/StepperStandard.tsx
|
|
2939
2912
|
import React9 from "react";
|
|
2940
|
-
import { jsx as
|
|
2913
|
+
import { jsx as jsx27, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
2941
2914
|
var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
2942
|
-
return /* @__PURE__ */
|
|
2915
|
+
return /* @__PURE__ */ jsx27("div", { className: "pts-stepper-container", "aria-hidden": "true", children: arraySteps.map((step, index) => {
|
|
2943
2916
|
const isActive = step.step === activeStep;
|
|
2944
2917
|
const lastElement = arraySteps.length;
|
|
2945
2918
|
const isDone = step.step < activeStep;
|
|
2946
|
-
return /* @__PURE__ */
|
|
2947
|
-
/* @__PURE__ */
|
|
2948
|
-
/* @__PURE__ */
|
|
2919
|
+
return /* @__PURE__ */ jsxs21(React9.Fragment, { children: [
|
|
2920
|
+
/* @__PURE__ */ jsxs21("div", { className: "pts-stepper-step", children: [
|
|
2921
|
+
/* @__PURE__ */ jsx27(
|
|
2949
2922
|
"div",
|
|
2950
2923
|
{
|
|
2951
2924
|
className: "pts-stepperDot" + (isActive ? " pts-stepperDotActive" : "") + (isDone ? " pts-stepperDotDone" : ""),
|
|
2952
|
-
children: isDone ? /* @__PURE__ */
|
|
2925
|
+
children: isDone ? /* @__PURE__ */ jsx27(
|
|
2953
2926
|
"svg",
|
|
2954
2927
|
{
|
|
2955
2928
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2957,7 +2930,7 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
2957
2930
|
height: "12",
|
|
2958
2931
|
viewBox: "0 0 15 12",
|
|
2959
2932
|
fill: "none",
|
|
2960
|
-
children: /* @__PURE__ */
|
|
2933
|
+
children: /* @__PURE__ */ jsx27(
|
|
2961
2934
|
"path",
|
|
2962
2935
|
{
|
|
2963
2936
|
d: "M1.5 5.4375L4.875 10.3125L13.5 1.6875",
|
|
@@ -2970,16 +2943,16 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
2970
2943
|
) : step.step
|
|
2971
2944
|
}
|
|
2972
2945
|
),
|
|
2973
|
-
/* @__PURE__ */
|
|
2946
|
+
/* @__PURE__ */ jsx27("div", { className: "pts-shortNameInStepper", children: step.shortNameInStepper })
|
|
2974
2947
|
] }, index),
|
|
2975
|
-
step.step !== lastElement && /* @__PURE__ */
|
|
2948
|
+
step.step !== lastElement && /* @__PURE__ */ jsx27("div", { className: "pts-stepperLine" })
|
|
2976
2949
|
] }, `step-${step.step}`);
|
|
2977
2950
|
}) });
|
|
2978
2951
|
};
|
|
2979
2952
|
var StepperStandard_default = Stepper;
|
|
2980
2953
|
|
|
2981
2954
|
// src/components/validation-and-status/ValidationErrorSummaryList/ValidationErrorSummaryList.tsx
|
|
2982
|
-
import { Fragment as Fragment16, jsx as
|
|
2955
|
+
import { Fragment as Fragment16, jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2983
2956
|
var ValidationErrorSummaryList = ({
|
|
2984
2957
|
validationErrorsList,
|
|
2985
2958
|
questions,
|
|
@@ -3016,7 +2989,7 @@ var ValidationErrorSummaryList = ({
|
|
|
3016
2989
|
}, 300);
|
|
3017
2990
|
}
|
|
3018
2991
|
}
|
|
3019
|
-
if (!validationErrorsList.length) return /* @__PURE__ */
|
|
2992
|
+
if (!validationErrorsList.length) return /* @__PURE__ */ jsx28(Fragment16, {});
|
|
3020
2993
|
const filteredIds = filterIdsByGroupCheck(validationErrorsList, questions);
|
|
3021
2994
|
const count = filteredIds.length;
|
|
3022
2995
|
const title = summaryText.replace("{count}", count.toString()).replace(
|
|
@@ -3028,11 +3001,11 @@ var ValidationErrorSummaryList = ({
|
|
|
3028
3001
|
const found = questions.find((item) => item.id === id);
|
|
3029
3002
|
return (_a = found == null ? void 0 : found.validationSummaryLabel) != null ? _a : found == null ? void 0 : found.questionLabel;
|
|
3030
3003
|
}
|
|
3031
|
-
return /* @__PURE__ */
|
|
3032
|
-
/* @__PURE__ */
|
|
3033
|
-
/* @__PURE__ */
|
|
3034
|
-
/* @__PURE__ */
|
|
3035
|
-
/* @__PURE__ */
|
|
3004
|
+
return /* @__PURE__ */ jsxs22("div", { className: `pts-errorSummary-container pts-root-error ${validationErrorsList.length === 0 ? "cleanPadding" : ""}`, children: [
|
|
3005
|
+
/* @__PURE__ */ jsx28("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
|
|
3006
|
+
/* @__PURE__ */ jsxs22("div", { className: "errorSummary-content", id: "pts-errorSummary-content", children: [
|
|
3007
|
+
/* @__PURE__ */ jsx28("h2", { id: "errorSummary-headline", children: title }),
|
|
3008
|
+
/* @__PURE__ */ jsx28("ul", { id: "errorSummary-ul", children: filteredIds.map((questionId, i) => /* @__PURE__ */ jsx28("li", { children: /* @__PURE__ */ jsx28(
|
|
3036
3009
|
"a",
|
|
3037
3010
|
{
|
|
3038
3011
|
href: "#",
|
|
@@ -3050,11 +3023,11 @@ var ValidationErrorSummaryList = ({
|
|
|
3050
3023
|
var ValidationErrorSummaryList_default = ValidationErrorSummaryList;
|
|
3051
3024
|
|
|
3052
3025
|
// src/components/validation-and-status/FormStatusMessagesScreenReader/FormStatusMessagesScreenReader.tsx
|
|
3053
|
-
import { Fragment as Fragment17, jsx as
|
|
3054
|
-
var FormStatusMessagesScreenReader = ({ formStatus }) => {
|
|
3055
|
-
return /* @__PURE__ */
|
|
3056
|
-
/* @__PURE__ */
|
|
3057
|
-
/* @__PURE__ */
|
|
3026
|
+
import { Fragment as Fragment17, jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3027
|
+
var FormStatusMessagesScreenReader = ({ formStatus, activatedLanguage = "sv" }) => {
|
|
3028
|
+
return /* @__PURE__ */ jsxs23(Fragment17, { children: [
|
|
3029
|
+
/* @__PURE__ */ jsx29("p", { "aria-live": "assertive", children: formStatus === "failed" && /* @__PURE__ */ jsx29("span", { className: "pts-root-mandatoryAsterisk", children: activatedLanguage === "en" ? "Something went wrong, please try again later or contact us!" : "N\xE5got gick fel, f\xF6rs\xF6k igen senare eller kontakta oss!" }) }),
|
|
3030
|
+
/* @__PURE__ */ jsx29("div", { "aria-live": "polite", className: "visually-hidden", children: formStatus === "loading" ? activatedLanguage === "en" ? "Your case is being registered. Please do not refresh or close the page." : "Ditt \xE4rende registreras. Uppdatera eller st\xE4ng inte sidan." : "" })
|
|
3058
3031
|
] });
|
|
3059
3032
|
};
|
|
3060
3033
|
var FormStatusMessagesScreenReader_default = FormStatusMessagesScreenReader;
|