optimized-react-component-library-xyz123 0.20.1 → 0.20.3
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 +20 -10
- package/dist/index.d.ts +20 -10
- package/dist/index.js +614 -527
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +605 -519
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -3
- package/src/css/darkMode.css +344 -376
- package/src/css/mobileView.css +5 -67
- package/src/css/questions.css +58 -45
- package/src/css/styles.css +37 -98
- package/src/icons/arrow-down-darkmode.svg +5 -0
- package/src/icons/arrow-down.svg +5 -0
package/dist/index.mjs
CHANGED
|
@@ -69,87 +69,9 @@ var PreviewRadio = ({ question }) => {
|
|
|
69
69
|
] });
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
// src/components/input-components/
|
|
72
|
+
// src/components/input-components/CheckboxGroupStandard/CheckboxGroupStandard.tsx
|
|
73
73
|
import { useEffect, useState } from "react";
|
|
74
74
|
import { Fragment as Fragment2, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
75
|
-
var MultipleCheckboxes = ({
|
|
76
|
-
question,
|
|
77
|
-
handleQuestionInputChange,
|
|
78
|
-
showPreview = false,
|
|
79
|
-
activatedLanguage = "sv"
|
|
80
|
-
}) => {
|
|
81
|
-
var _a;
|
|
82
|
-
const questionId = `question-${question.id}`;
|
|
83
|
-
const [checkedValues, setCheckedValues] = useState([]);
|
|
84
|
-
useEffect(() => {
|
|
85
|
-
var _a2;
|
|
86
|
-
const initialValues = ((_a2 = question.options) == null ? void 0 : _a2.filter((option) => {
|
|
87
|
-
var _a3;
|
|
88
|
-
return (_a3 = question.answer) == null ? void 0 : _a3.includes(option.label);
|
|
89
|
-
}).map((option) => option.label)) || [];
|
|
90
|
-
console.log("Initial values:", initialValues);
|
|
91
|
-
setCheckedValues(initialValues);
|
|
92
|
-
}, [question.answer, question.options]);
|
|
93
|
-
const handleInputChange = (event, optionValue) => {
|
|
94
|
-
let updatedValues = [...checkedValues];
|
|
95
|
-
if (updatedValues.includes(optionValue)) {
|
|
96
|
-
updatedValues = updatedValues.filter((val) => val !== optionValue);
|
|
97
|
-
} else {
|
|
98
|
-
updatedValues.push(optionValue);
|
|
99
|
-
}
|
|
100
|
-
setCheckedValues(updatedValues);
|
|
101
|
-
const e = { target: { value: updatedValues.toString() } };
|
|
102
|
-
handleQuestionInputChange(e, question);
|
|
103
|
-
};
|
|
104
|
-
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
105
|
-
!showPreview && question.visible && /* @__PURE__ */ jsx2("div", { id: questionId, className: "pts-root-question pts-multipleCheckboxes-container", children: /* @__PURE__ */ jsxs2("fieldset", { children: [
|
|
106
|
-
/* @__PURE__ */ jsxs2("legend", { className: "multipleCheckboxes-legend", id: `label-${questionId}`, children: [
|
|
107
|
-
question.questionLabel,
|
|
108
|
-
" ",
|
|
109
|
-
question.isQuestionMandatory && /* @__PURE__ */ jsx2("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
110
|
-
" "
|
|
111
|
-
] }),
|
|
112
|
-
/* @__PURE__ */ jsx2("ul", { children: (_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ jsx2("li", { children: /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
113
|
-
" ",
|
|
114
|
-
/* @__PURE__ */ jsx2(
|
|
115
|
-
"input",
|
|
116
|
-
{
|
|
117
|
-
type: "checkbox",
|
|
118
|
-
name: `${question.id}-option`,
|
|
119
|
-
id: `${question.id}-option-${index}`,
|
|
120
|
-
value: option.label,
|
|
121
|
-
checked: checkedValues.includes(option.label),
|
|
122
|
-
onChange: (e) => handleInputChange(e, option.label),
|
|
123
|
-
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0
|
|
124
|
-
}
|
|
125
|
-
),
|
|
126
|
-
/* @__PURE__ */ jsx2("label", { htmlFor: `${question.id}-option-${index}`, children: option.label })
|
|
127
|
-
] }) }, index)) })
|
|
128
|
-
] }) }),
|
|
129
|
-
" ",
|
|
130
|
-
showPreview && /* @__PURE__ */ jsx2(PrevieMultipleCheckboxes, { activatedLanguage, question })
|
|
131
|
-
] });
|
|
132
|
-
};
|
|
133
|
-
var MultipleCheckboxesStandard_default = MultipleCheckboxes;
|
|
134
|
-
var PrevieMultipleCheckboxes = ({
|
|
135
|
-
question,
|
|
136
|
-
activatedLanguage
|
|
137
|
-
}) => {
|
|
138
|
-
var _a, _b;
|
|
139
|
-
const previewId = `preview-${question.id}`;
|
|
140
|
-
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
141
|
-
/* @__PURE__ */ jsx2("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
142
|
-
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) => {
|
|
143
|
-
var _a2;
|
|
144
|
-
return (_a2 = question.answer) == null ? void 0 : _a2.includes(option.label);
|
|
145
|
-
}).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" }),
|
|
146
|
-
" "
|
|
147
|
-
] });
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
// src/components/input-components/CheckboxGroupStandard/CheckboxGroupStandard.tsx
|
|
151
|
-
import { useEffect as useEffect2, useState as useState2 } from "react";
|
|
152
|
-
import { Fragment as Fragment3, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
153
75
|
var CheckboxGroup = ({
|
|
154
76
|
question,
|
|
155
77
|
handleQuestionInputChange,
|
|
@@ -160,8 +82,8 @@ var CheckboxGroup = ({
|
|
|
160
82
|
const questionId = `question-${question.id}`;
|
|
161
83
|
const errorId = `error-${question.id}`;
|
|
162
84
|
const groupId = `checkbox-group-${question.id}`;
|
|
163
|
-
const [checkedValues, setCheckedValues] =
|
|
164
|
-
|
|
85
|
+
const [checkedValues, setCheckedValues] = useState([]);
|
|
86
|
+
useEffect(() => {
|
|
165
87
|
var _a2;
|
|
166
88
|
const initialValues = ((_a2 = question.options) == null ? void 0 : _a2.filter((option) => {
|
|
167
89
|
var _a3;
|
|
@@ -180,21 +102,21 @@ var CheckboxGroup = ({
|
|
|
180
102
|
const e = { target: { value: updatedValues.toString() } };
|
|
181
103
|
handleQuestionInputChange(e, question);
|
|
182
104
|
};
|
|
183
|
-
return /* @__PURE__ */
|
|
184
|
-
!showPreview && question.visible && /* @__PURE__ */
|
|
105
|
+
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
106
|
+
!showPreview && question.visible && /* @__PURE__ */ jsx2("div", { id: questionId, className: "pts-root-question pts-checkboxGroup-container", children: /* @__PURE__ */ jsxs2(
|
|
185
107
|
"fieldset",
|
|
186
108
|
{
|
|
187
109
|
"aria-required": question.isQuestionMandatory,
|
|
188
110
|
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
189
111
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
190
112
|
children: [
|
|
191
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ jsxs2("legend", { className: "pts-checkboxGroup-legend", id: `label-${groupId}`, children: [
|
|
192
114
|
question.questionLabel,
|
|
193
115
|
" ",
|
|
194
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
116
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx2("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
195
117
|
] }),
|
|
196
|
-
(_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */
|
|
197
|
-
/* @__PURE__ */
|
|
118
|
+
(_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ jsxs2("div", { className: "pts-checkboxGroup-options", children: [
|
|
119
|
+
/* @__PURE__ */ jsx2(
|
|
198
120
|
"input",
|
|
199
121
|
{
|
|
200
122
|
type: "checkbox",
|
|
@@ -206,17 +128,17 @@ var CheckboxGroup = ({
|
|
|
206
128
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0
|
|
207
129
|
}
|
|
208
130
|
),
|
|
209
|
-
/* @__PURE__ */
|
|
131
|
+
/* @__PURE__ */ jsx2("label", { htmlFor: `${groupId}-option-${index}`, children: option.label })
|
|
210
132
|
] }, index)),
|
|
211
|
-
question.hasValidationError && /* @__PURE__ */
|
|
212
|
-
/* @__PURE__ */
|
|
213
|
-
/* @__PURE__ */
|
|
214
|
-
/* @__PURE__ */
|
|
133
|
+
question.hasValidationError && /* @__PURE__ */ jsxs2("div", { className: "pts-root-error", id: errorId, children: [
|
|
134
|
+
/* @__PURE__ */ jsx2("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
135
|
+
/* @__PURE__ */ jsx2("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
136
|
+
/* @__PURE__ */ jsx2("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
215
137
|
] })
|
|
216
138
|
]
|
|
217
139
|
}
|
|
218
140
|
) }),
|
|
219
|
-
showPreview && /* @__PURE__ */
|
|
141
|
+
showPreview && /* @__PURE__ */ jsx2(PreviewCheckboxGroup, { activatedLanguage, question })
|
|
220
142
|
] });
|
|
221
143
|
};
|
|
222
144
|
var CheckboxGroupStandard_default = CheckboxGroup;
|
|
@@ -226,19 +148,19 @@ var PreviewCheckboxGroup = ({
|
|
|
226
148
|
}) => {
|
|
227
149
|
var _a, _b;
|
|
228
150
|
const previewId = `preview-${question.id}`;
|
|
229
|
-
return /* @__PURE__ */
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */
|
|
151
|
+
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
152
|
+
/* @__PURE__ */ jsx2("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
153
|
+
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) => {
|
|
232
154
|
var _a2;
|
|
233
155
|
return (_a2 = question.answer) == null ? void 0 : _a2.includes(option.label);
|
|
234
|
-
}).map((option, index) => /* @__PURE__ */
|
|
156
|
+
}).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" }),
|
|
235
157
|
" "
|
|
236
158
|
] });
|
|
237
159
|
};
|
|
238
160
|
|
|
239
161
|
// src/components/input-components/TextAreaStandard/TextAreaStandard.tsx
|
|
240
162
|
import DOMPurify from "dompurify";
|
|
241
|
-
import { Fragment as
|
|
163
|
+
import { Fragment as Fragment3, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
242
164
|
var InputTextarea = ({
|
|
243
165
|
question,
|
|
244
166
|
handleQuestionInputChange,
|
|
@@ -251,24 +173,19 @@ var InputTextarea = ({
|
|
|
251
173
|
const aboutId = `about-${question.id}`;
|
|
252
174
|
const errorId = `error-${question.id}`;
|
|
253
175
|
const defaultMaxLength = 1e3;
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
const isTooLong = answerLength > maxLength;
|
|
257
|
-
const counterText = activatedLanguage === "en" ? `${answerLength} of ${maxLength} characters` : `${answerLength} av ${maxLength} tecken`;
|
|
258
|
-
const maxLengthErrorText = activatedLanguage === "en" ? `The text must be ${maxLength} characters or less` : `Texten f\xE5r max vara ${maxLength} tecken`;
|
|
259
|
-
return /* @__PURE__ */ jsxs4(Fragment4, { children: [
|
|
260
|
-
!showPreview && question.visible && /* @__PURE__ */ jsxs4(
|
|
176
|
+
return /* @__PURE__ */ jsxs3(Fragment3, { children: [
|
|
177
|
+
!showPreview && question.visible && /* @__PURE__ */ jsxs3(
|
|
261
178
|
"div",
|
|
262
179
|
{
|
|
263
180
|
id: questionId,
|
|
264
181
|
className: `pts-root-question pts-textArea-container${question.aboutText ? " pts-question-hasAbout" : ""}`,
|
|
265
182
|
children: [
|
|
266
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ jsxs3("label", { htmlFor: inputId, children: [
|
|
267
184
|
question.questionLabel,
|
|
268
185
|
" ",
|
|
269
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
186
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx3("span", { className: "pts-root-mandatoryAsterisk", "aria-hidden": "true", children: "*" })
|
|
270
187
|
] }),
|
|
271
|
-
question.aboutText && /* @__PURE__ */
|
|
188
|
+
question.aboutText && /* @__PURE__ */ jsx3(
|
|
272
189
|
"div",
|
|
273
190
|
{
|
|
274
191
|
id: aboutId,
|
|
@@ -278,7 +195,7 @@ var InputTextarea = ({
|
|
|
278
195
|
}
|
|
279
196
|
}
|
|
280
197
|
),
|
|
281
|
-
/* @__PURE__ */
|
|
198
|
+
/* @__PURE__ */ jsx3(
|
|
282
199
|
"textarea",
|
|
283
200
|
{
|
|
284
201
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0,
|
|
@@ -287,25 +204,34 @@ var InputTextarea = ({
|
|
|
287
204
|
required: question.isQuestionMandatory,
|
|
288
205
|
"aria-required": question.isQuestionMandatory,
|
|
289
206
|
"aria-invalid": question.hasValidationError,
|
|
207
|
+
maxLength: ((_a = question.questionExtraAttribute) == null ? void 0 : _a.answerMaxLength) || defaultMaxLength,
|
|
290
208
|
"aria-describedby": [question.aboutText ? aboutId : null, question.hasValidationError ? errorId : null].filter(Boolean).join(" ") || void 0,
|
|
291
209
|
id: inputId
|
|
292
210
|
}
|
|
293
211
|
),
|
|
294
|
-
/* @__PURE__ */
|
|
295
|
-
|
|
296
|
-
/* @__PURE__ */
|
|
297
|
-
/* @__PURE__ */
|
|
298
|
-
] }),
|
|
299
|
-
isTooLong && question.hasValidationError && /* @__PURE__ */ jsxs4("div", { className: "pts-root-error", id: errorId, children: [
|
|
300
|
-
/* @__PURE__ */ jsx4("span", { "aria-label": "Felmeddelande.", className: "errorDot", children: "!" }),
|
|
301
|
-
/* @__PURE__ */ jsx4("span", { className: "errorText", children: maxLengthErrorText })
|
|
212
|
+
/* @__PURE__ */ jsxs3("div", { className: "pts-textarea-counter-error-container", children: [
|
|
213
|
+
question.hasValidationError && /* @__PURE__ */ jsxs3("div", { className: "pts-root-error", id: errorId, children: [
|
|
214
|
+
/* @__PURE__ */ jsx3("span", { "aria-label": "Felmeddelande.", className: "errorDot", children: "!" }),
|
|
215
|
+
/* @__PURE__ */ jsx3("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
302
216
|
] }),
|
|
303
|
-
!((
|
|
217
|
+
!((_b = question.questionExtraAttribute) == null ? void 0 : _b.hideTextCounter) && /* @__PURE__ */ jsxs3(
|
|
218
|
+
"div",
|
|
219
|
+
{
|
|
220
|
+
className: `pts-character-counter ${question.answer && (((_c = question.questionExtraAttribute) == null ? void 0 : _c.answerMaxLength) || defaultMaxLength) && question.answer.length > (((_d = question.questionExtraAttribute) == null ? void 0 : _d.answerMaxLength) || defaultMaxLength) ? "error" : ""}`,
|
|
221
|
+
children: [
|
|
222
|
+
question.answer ? question.answer.length : 0,
|
|
223
|
+
" av",
|
|
224
|
+
" ",
|
|
225
|
+
((_e = question.questionExtraAttribute) == null ? void 0 : _e.answerMaxLength) || defaultMaxLength,
|
|
226
|
+
" tecken"
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
)
|
|
304
230
|
] })
|
|
305
231
|
]
|
|
306
232
|
}
|
|
307
233
|
),
|
|
308
|
-
showPreview && /* @__PURE__ */
|
|
234
|
+
showPreview && /* @__PURE__ */ jsx3(PreviewTextarea, { activatedLanguage, question })
|
|
309
235
|
] });
|
|
310
236
|
};
|
|
311
237
|
var TextAreaStandard_default = InputTextarea;
|
|
@@ -315,9 +241,9 @@ var PreviewTextarea = ({
|
|
|
315
241
|
}) => {
|
|
316
242
|
var _a, _b;
|
|
317
243
|
const previewId = `preview-${question.id}`;
|
|
318
|
-
return /* @__PURE__ */
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */
|
|
244
|
+
return /* @__PURE__ */ jsxs3(Fragment3, { children: [
|
|
245
|
+
/* @__PURE__ */ jsx3("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
246
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx3("dd", { className: "pts-textArea-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer }) : /* @__PURE__ */ jsx3(
|
|
321
247
|
"dd",
|
|
322
248
|
{
|
|
323
249
|
className: "pts-textArea-preview pts-root-answer no-answer-preview-page",
|
|
@@ -330,35 +256,32 @@ var PreviewTextarea = ({
|
|
|
330
256
|
|
|
331
257
|
// src/components/input-components/TextFieldStandard/TextFieldStandard.tsx
|
|
332
258
|
import DOMPurify2 from "dompurify";
|
|
333
|
-
import { Fragment as
|
|
259
|
+
import { Fragment as Fragment4, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
334
260
|
var TextFieldStandard = ({
|
|
335
261
|
question,
|
|
336
262
|
handleQuestionInputChange,
|
|
337
263
|
showPreview = false,
|
|
338
264
|
activatedLanguage
|
|
339
265
|
}) => {
|
|
340
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m
|
|
266
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
341
267
|
const questionId = `question-${question.id}`;
|
|
342
268
|
const inputId = `textField-${question.id}`;
|
|
343
269
|
const aboutId = `about-${question.id}`;
|
|
344
270
|
const errorId = `error-${question.id}`;
|
|
345
|
-
const
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
const maxLengthErrorText = activatedLanguage === "en" ? `The text must be ${maxLength} characters or less` : `Texten f\xE5r max vara ${maxLength} tecken`;
|
|
349
|
-
return /* @__PURE__ */ jsxs5(Fragment5, { children: [
|
|
350
|
-
!showPreview && question.visible && /* @__PURE__ */ jsxs5(
|
|
271
|
+
const defaultMaxLength = 1e3;
|
|
272
|
+
return /* @__PURE__ */ jsxs4(Fragment4, { children: [
|
|
273
|
+
!showPreview && question.visible && /* @__PURE__ */ jsxs4(
|
|
351
274
|
"div",
|
|
352
275
|
{
|
|
353
276
|
id: questionId,
|
|
354
|
-
className: `pts-root-question pts-textField-container${((
|
|
277
|
+
className: `pts-root-question pts-textField-container${((_a = question.questionExtraAttribute) == null ? void 0 : _a.disabled) ? " pts-textField-disabled" : ""}${question.aboutText ? " pts-question-hasAbout" : ""}`.trim(),
|
|
355
278
|
children: [
|
|
356
|
-
/* @__PURE__ */
|
|
279
|
+
/* @__PURE__ */ jsxs4("label", { htmlFor: inputId, children: [
|
|
357
280
|
question.questionLabel,
|
|
358
281
|
" ",
|
|
359
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
282
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx4("span", { "aria-hidden": "true", className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
360
283
|
] }),
|
|
361
|
-
question.aboutText && /* @__PURE__ */
|
|
284
|
+
question.aboutText && /* @__PURE__ */ jsx4(
|
|
362
285
|
"div",
|
|
363
286
|
{
|
|
364
287
|
id: aboutId,
|
|
@@ -368,41 +291,37 @@ var TextFieldStandard = ({
|
|
|
368
291
|
}
|
|
369
292
|
}
|
|
370
293
|
),
|
|
371
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ jsx4(
|
|
372
295
|
"input",
|
|
373
296
|
{
|
|
374
|
-
type: (
|
|
375
|
-
autoComplete: (
|
|
376
|
-
inputMode: (
|
|
297
|
+
type: (_c = (_b = question.questionExtraAttribute) == null ? void 0 : _b.inputType) != null ? _c : "text",
|
|
298
|
+
autoComplete: (_e = (_d = question.questionExtraAttribute) == null ? void 0 : _d.autoComplete) != null ? _e : void 0,
|
|
299
|
+
inputMode: (_g = (_f = question.questionExtraAttribute) == null ? void 0 : _f.inputMode) != null ? _g : void 0,
|
|
377
300
|
name: `question-name-${question.id}`,
|
|
378
301
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0,
|
|
379
302
|
onChange: (e) => handleQuestionInputChange(e, question),
|
|
380
303
|
value: question.answer,
|
|
304
|
+
maxLength: ((_h = question.questionExtraAttribute) == null ? void 0 : _h.answerMaxLength) || defaultMaxLength,
|
|
381
305
|
id: inputId,
|
|
382
|
-
disabled: (
|
|
306
|
+
disabled: (_i = question.questionExtraAttribute) == null ? void 0 : _i.disabled,
|
|
383
307
|
required: question.isQuestionMandatory,
|
|
384
308
|
"aria-required": question.isQuestionMandatory,
|
|
385
309
|
"aria-describedby": [question.aboutText ? aboutId : null].filter(Boolean).join(" ") || void 0,
|
|
386
310
|
"aria-invalid": question.hasValidationError,
|
|
387
311
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
388
|
-
spellCheck: (
|
|
389
|
-
autoCapitalize: (
|
|
312
|
+
spellCheck: (_k = (_j = question.questionExtraAttribute) == null ? void 0 : _j.spellCheck) != null ? _k : void 0,
|
|
313
|
+
autoCapitalize: (_m = (_l = question.questionExtraAttribute) == null ? void 0 : _l.autoCapitalize) != null ? _m : void 0
|
|
390
314
|
}
|
|
391
315
|
),
|
|
392
|
-
|
|
393
|
-
/* @__PURE__ */
|
|
394
|
-
/* @__PURE__ */
|
|
395
|
-
/* @__PURE__ */
|
|
396
|
-
] }),
|
|
397
|
-
isTooLong && question.hasValidationError && /* @__PURE__ */ jsxs5("div", { className: "pts-root-error", id: errorId, children: [
|
|
398
|
-
/* @__PURE__ */ jsx5("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
399
|
-
/* @__PURE__ */ jsx5("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
400
|
-
/* @__PURE__ */ jsx5("span", { className: "errorText", children: maxLengthErrorText })
|
|
316
|
+
question.hasValidationError && /* @__PURE__ */ jsxs4("div", { className: "pts-root-error", id: errorId, children: [
|
|
317
|
+
/* @__PURE__ */ jsx4("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
318
|
+
/* @__PURE__ */ jsx4("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
319
|
+
/* @__PURE__ */ jsx4("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
401
320
|
] })
|
|
402
321
|
]
|
|
403
322
|
}
|
|
404
323
|
),
|
|
405
|
-
showPreview && /* @__PURE__ */
|
|
324
|
+
showPreview && /* @__PURE__ */ jsx4(PreviewTextField, { activatedLanguage, question })
|
|
406
325
|
] });
|
|
407
326
|
};
|
|
408
327
|
var TextFieldStandard_default = TextFieldStandard;
|
|
@@ -412,9 +331,9 @@ var PreviewTextField = ({
|
|
|
412
331
|
}) => {
|
|
413
332
|
var _a, _b;
|
|
414
333
|
const previewId = `preview-${question.id}`;
|
|
415
|
-
return /* @__PURE__ */
|
|
416
|
-
/* @__PURE__ */
|
|
417
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */
|
|
334
|
+
return /* @__PURE__ */ jsxs4(Fragment4, { children: [
|
|
335
|
+
/* @__PURE__ */ jsx4("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
336
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx4("dd", { className: "pts-textField-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer }) : /* @__PURE__ */ jsx4(
|
|
418
337
|
"dd",
|
|
419
338
|
{
|
|
420
339
|
className: "pts-textField-preview pts-root-answer no-answer-preview-page",
|
|
@@ -426,12 +345,12 @@ var PreviewTextField = ({
|
|
|
426
345
|
};
|
|
427
346
|
|
|
428
347
|
// src/components/input-components/AddFilesStandard/AddFilesStandard.tsx
|
|
429
|
-
import { useCallback, useEffect as
|
|
348
|
+
import { useCallback, useEffect as useEffect4, useState as useState4 } from "react";
|
|
430
349
|
import clsx3 from "clsx";
|
|
431
350
|
|
|
432
351
|
// src/components/input-components/AddFilesStandard/DropFilesStandard.tsx
|
|
433
352
|
import { useDropzone } from "react-dropzone";
|
|
434
|
-
import { Fragment as
|
|
353
|
+
import { Fragment as Fragment5, jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
435
354
|
var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h\xE4r", language }) => {
|
|
436
355
|
const onDrop = FilesSelected;
|
|
437
356
|
const { getRootProps, getInputProps, isDragActive } = useDropzone({ onDrop, noKeyboard: true });
|
|
@@ -439,10 +358,10 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
439
358
|
event.preventDefault();
|
|
440
359
|
event.stopPropagation();
|
|
441
360
|
};
|
|
442
|
-
return /* @__PURE__ */
|
|
443
|
-
/* @__PURE__ */
|
|
361
|
+
return /* @__PURE__ */ jsx5(Fragment5, { children: /* @__PURE__ */ jsx5("div", { className: "DropZoneContainer", children: /* @__PURE__ */ jsxs5("div", { className: "DropZone", ...getRootProps(), onClick: handleFileExplorer, children: [
|
|
362
|
+
/* @__PURE__ */ jsxs5("label", { htmlFor: "fileDropInput", hidden: true, children: [
|
|
444
363
|
"Dra och sl\xE4pp filer h\xE4r omr\xE5de",
|
|
445
|
-
/* @__PURE__ */
|
|
364
|
+
/* @__PURE__ */ jsx5(
|
|
446
365
|
"input",
|
|
447
366
|
{
|
|
448
367
|
...getInputProps({
|
|
@@ -453,8 +372,8 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
453
372
|
}
|
|
454
373
|
)
|
|
455
374
|
] }),
|
|
456
|
-
isDragActive ? /* @__PURE__ */
|
|
457
|
-
/* @__PURE__ */
|
|
375
|
+
isDragActive ? /* @__PURE__ */ jsx5("b", { className: "dropFilesNowText", children: language === "sv" ? "Sl\xE4pp filerna, nu ...!" : "Drop files here!" }) : /* @__PURE__ */ jsxs5("div", { className: "DropZone-label-container", children: [
|
|
376
|
+
/* @__PURE__ */ jsx5(
|
|
458
377
|
"svg",
|
|
459
378
|
{
|
|
460
379
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -462,7 +381,7 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
462
381
|
height: "2.4rem",
|
|
463
382
|
viewBox: "0 0 7 15",
|
|
464
383
|
fill: "#fff",
|
|
465
|
-
children: /* @__PURE__ */
|
|
384
|
+
children: /* @__PURE__ */ jsx5(
|
|
466
385
|
"path",
|
|
467
386
|
{
|
|
468
387
|
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",
|
|
@@ -471,7 +390,7 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
471
390
|
)
|
|
472
391
|
}
|
|
473
392
|
),
|
|
474
|
-
/* @__PURE__ */
|
|
393
|
+
/* @__PURE__ */ jsx5("p", { className: "dropFilesText", children: DropFilesText })
|
|
475
394
|
] })
|
|
476
395
|
] }) }) });
|
|
477
396
|
};
|
|
@@ -483,7 +402,7 @@ import clsx from "clsx";
|
|
|
483
402
|
|
|
484
403
|
// src/components/input-components/AddFilesStandard/ScreenReaderErrors.tsx
|
|
485
404
|
import React from "react";
|
|
486
|
-
import { Fragment as
|
|
405
|
+
import { Fragment as Fragment6, jsx as jsx6 } from "react/jsx-runtime";
|
|
487
406
|
var ScreenReaderErrors = ({
|
|
488
407
|
errorMessageAddingFile,
|
|
489
408
|
activatedLanguage
|
|
@@ -502,12 +421,12 @@ var ScreenReaderErrors = ({
|
|
|
502
421
|
setActivateErrorMessagesForScreenReader(true);
|
|
503
422
|
}
|
|
504
423
|
}, [errorMessageAddingFile]);
|
|
505
|
-
return /* @__PURE__ */
|
|
424
|
+
return /* @__PURE__ */ jsx6(Fragment6, { children: activateErrorMessagesForScreenReader && /* @__PURE__ */ jsx6("p", { role: "alert", className: "sr-only", "aria-atomic": "true", children: errorMessagesForScreenReader }) });
|
|
506
425
|
};
|
|
507
426
|
var ScreenReaderErrors_default = ScreenReaderErrors;
|
|
508
427
|
|
|
509
428
|
// src/components/input-components/AddFilesStandard/ExploreFilesStandard.tsx
|
|
510
|
-
import { Fragment as
|
|
429
|
+
import { Fragment as Fragment7, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
511
430
|
var ExploreFiles = ({
|
|
512
431
|
FilesSelected,
|
|
513
432
|
numberOfFiles,
|
|
@@ -534,8 +453,8 @@ var ExploreFiles = ({
|
|
|
534
453
|
};
|
|
535
454
|
let addFilesInfoText = numberOfFiles > 0 ? activatedLanguage === "sv" ? `${numberOfFiles} filer valda (max ${allowedNumberOfFiles})` : `${numberOfFiles} files chosed (max ${allowedNumberOfFiles})` : activatedLanguage === "sv" ? "Ingen fil vald" : "No file chosen";
|
|
536
455
|
const ariaLabelText = `${activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`;
|
|
537
|
-
return /* @__PURE__ */
|
|
538
|
-
/* @__PURE__ */
|
|
456
|
+
return /* @__PURE__ */ jsx7(Fragment7, { children: /* @__PURE__ */ jsxs6("div", { className: "inputContainer", children: [
|
|
457
|
+
/* @__PURE__ */ jsxs6(
|
|
539
458
|
"div",
|
|
540
459
|
{
|
|
541
460
|
className: clsx(
|
|
@@ -545,7 +464,7 @@ var ExploreFiles = ({
|
|
|
545
464
|
),
|
|
546
465
|
id: labelId,
|
|
547
466
|
children: [
|
|
548
|
-
/* @__PURE__ */
|
|
467
|
+
/* @__PURE__ */ jsx7(
|
|
549
468
|
"button",
|
|
550
469
|
{
|
|
551
470
|
ref: buttonInputRef,
|
|
@@ -560,12 +479,12 @@ var ExploreFiles = ({
|
|
|
560
479
|
children: activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"
|
|
561
480
|
}
|
|
562
481
|
),
|
|
563
|
-
/* @__PURE__ */
|
|
564
|
-
/* @__PURE__ */
|
|
482
|
+
/* @__PURE__ */ jsx7("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText }),
|
|
483
|
+
/* @__PURE__ */ jsx7("label", { htmlFor: inputId, "aria-hidden": true, className: "invisible" })
|
|
565
484
|
]
|
|
566
485
|
}
|
|
567
486
|
),
|
|
568
|
-
/* @__PURE__ */
|
|
487
|
+
/* @__PURE__ */ jsx7(
|
|
569
488
|
"input",
|
|
570
489
|
{
|
|
571
490
|
"aria-hidden": true,
|
|
@@ -578,7 +497,7 @@ var ExploreFiles = ({
|
|
|
578
497
|
id: inputId
|
|
579
498
|
}
|
|
580
499
|
),
|
|
581
|
-
/* @__PURE__ */
|
|
500
|
+
/* @__PURE__ */ jsx7(
|
|
582
501
|
ScreenReaderErrors_default,
|
|
583
502
|
{
|
|
584
503
|
errorMessageAddingFile,
|
|
@@ -590,22 +509,22 @@ var ExploreFiles = ({
|
|
|
590
509
|
var ExploreFilesStandard_default = ExploreFiles;
|
|
591
510
|
|
|
592
511
|
// src/components/input-components/AddFilesStandard/SelectedFilesStandard.tsx
|
|
593
|
-
import React4, { useEffect as
|
|
512
|
+
import React4, { useEffect as useEffect3, useState as useState3, useRef as useRef2 } from "react";
|
|
594
513
|
import { Col, Row } from "react-bootstrap";
|
|
595
514
|
|
|
596
515
|
// src/components/input-components/AddFilesStandard/IndicatorStandard.tsx
|
|
597
|
-
import { useState as
|
|
516
|
+
import { useState as useState2 } from "react";
|
|
598
517
|
import clsx2 from "clsx";
|
|
599
|
-
import { Fragment as
|
|
518
|
+
import { Fragment as Fragment8, jsx as jsx8 } from "react/jsx-runtime";
|
|
600
519
|
var Indicator = (filename) => {
|
|
601
|
-
const [uploadPercentage, setUploadPercentage] =
|
|
602
|
-
const [uploadDone, setUploadDone] =
|
|
603
|
-
return /* @__PURE__ */
|
|
520
|
+
const [uploadPercentage, setUploadPercentage] = useState2(0);
|
|
521
|
+
const [uploadDone, setUploadDone] = useState2(false);
|
|
522
|
+
return /* @__PURE__ */ jsx8(Fragment8, { children: /* @__PURE__ */ jsx8("div", { className: clsx2("uploadIndicator", "uploadDone") }) });
|
|
604
523
|
};
|
|
605
524
|
var IndicatorStandard_default = Indicator;
|
|
606
525
|
|
|
607
526
|
// src/components/input-components/AddFilesStandard/SelectedFilesStandard.tsx
|
|
608
|
-
import { Fragment as
|
|
527
|
+
import { Fragment as Fragment9, jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
609
528
|
var SelectedFiles = ({
|
|
610
529
|
questionObject,
|
|
611
530
|
isTouched,
|
|
@@ -627,13 +546,13 @@ var SelectedFiles = ({
|
|
|
627
546
|
isTouched(e, questionObject);
|
|
628
547
|
removeFile(newCountOfFiles);
|
|
629
548
|
};
|
|
630
|
-
|
|
549
|
+
useEffect3(() => {
|
|
631
550
|
var _a;
|
|
632
551
|
numberOfFiles > 0 && ((_a = theDiv.current) == null ? void 0 : _a.scrollIntoView({ behavior: "smooth", block: "end" }));
|
|
633
552
|
}, [numberOfFiles]);
|
|
634
553
|
const useWindowWidth = () => {
|
|
635
|
-
const [windowWidth2, setWindowWidth] =
|
|
636
|
-
|
|
554
|
+
const [windowWidth2, setWindowWidth] = useState3(window.innerWidth);
|
|
555
|
+
useEffect3(() => {
|
|
637
556
|
const handleResize = () => {
|
|
638
557
|
setWindowWidth(window.innerWidth);
|
|
639
558
|
};
|
|
@@ -645,10 +564,10 @@ var SelectedFiles = ({
|
|
|
645
564
|
return windowWidth2;
|
|
646
565
|
};
|
|
647
566
|
const windowWidth = useWindowWidth();
|
|
648
|
-
return /* @__PURE__ */
|
|
649
|
-
/* @__PURE__ */
|
|
650
|
-
/* @__PURE__ */
|
|
651
|
-
/* @__PURE__ */
|
|
567
|
+
return /* @__PURE__ */ jsxs7(Fragment9, { children: [
|
|
568
|
+
/* @__PURE__ */ jsx9("div", { children: errorMessageAddingFile.length > 0 && /* @__PURE__ */ jsxs7("div", { className: "pts-errorSummary-container pts-addFile-error-container", children: [
|
|
569
|
+
/* @__PURE__ */ jsx9("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
|
|
570
|
+
/* @__PURE__ */ jsx9("div", { className: "addFile-error-list-container", children: /* @__PURE__ */ jsxs7("ul", { "aria-hidden": true, className: "fileListUnorderedList", id: "errorSummary-ul", children: [
|
|
652
571
|
" ",
|
|
653
572
|
errorMessageAddingFile.map((errorObj, index) => {
|
|
654
573
|
const errorFileName = errorObj.FileName;
|
|
@@ -656,9 +575,9 @@ var SelectedFiles = ({
|
|
|
656
575
|
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
657
576
|
const fileType = errorObj.FileName.split(".").pop();
|
|
658
577
|
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
659
|
-
return /* @__PURE__ */
|
|
660
|
-
/* @__PURE__ */
|
|
661
|
-
/* @__PURE__ */
|
|
578
|
+
return /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsx9(React4.Fragment, { children: /* @__PURE__ */ jsx9("div", { children: /* @__PURE__ */ jsx9("div", { className: "fileInListContainer", children: /* @__PURE__ */ jsxs7("div", { className: "fileInList", children: [
|
|
579
|
+
/* @__PURE__ */ jsx9(Row, { children: /* @__PURE__ */ jsx9(Col, { children: windowWidth < 768 ? /* @__PURE__ */ jsx9("span", { className: "mobileFirstFileName", children: mobileFirstFileName }) : /* @__PURE__ */ jsx9("span", { className: "desktopFileName", children: errorObj.FileName }) }) }),
|
|
580
|
+
/* @__PURE__ */ jsx9(Row, { children: /* @__PURE__ */ jsx9(
|
|
662
581
|
Col,
|
|
663
582
|
{
|
|
664
583
|
className: "errorMessageAddingFile",
|
|
@@ -673,7 +592,7 @@ var SelectedFiles = ({
|
|
|
673
592
|
] }, index) }) }) }, `error-${errorObj.FileName}-${index}`) });
|
|
674
593
|
})
|
|
675
594
|
] }) }),
|
|
676
|
-
/* @__PURE__ */
|
|
595
|
+
/* @__PURE__ */ jsx9("div", { className: "addFile-error-close-button", children: /* @__PURE__ */ jsx9(
|
|
677
596
|
"button",
|
|
678
597
|
{
|
|
679
598
|
className: "selectedFilesLinkButton error-close",
|
|
@@ -681,7 +600,7 @@ var SelectedFiles = ({
|
|
|
681
600
|
removeError();
|
|
682
601
|
},
|
|
683
602
|
"aria-label": activatedLanguage === "sv" ? `St\xE4ng felmeddelande` : `Close error message`,
|
|
684
|
-
children: /* @__PURE__ */
|
|
603
|
+
children: /* @__PURE__ */ jsx9(
|
|
685
604
|
"svg",
|
|
686
605
|
{
|
|
687
606
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -689,7 +608,7 @@ var SelectedFiles = ({
|
|
|
689
608
|
height: "14",
|
|
690
609
|
viewBox: "0 0 14 14",
|
|
691
610
|
fill: "none",
|
|
692
|
-
children: /* @__PURE__ */
|
|
611
|
+
children: /* @__PURE__ */ jsx9(
|
|
693
612
|
"path",
|
|
694
613
|
{
|
|
695
614
|
d: "M0.75 12.75L12.75 0.75M0.75 0.75L12.75 12.75",
|
|
@@ -703,15 +622,15 @@ var SelectedFiles = ({
|
|
|
703
622
|
}
|
|
704
623
|
) })
|
|
705
624
|
] }) }),
|
|
706
|
-
questionObject.files.length > 0 && /* @__PURE__ */
|
|
625
|
+
questionObject.files.length > 0 && /* @__PURE__ */ jsx9("ul", { className: "fileListUnorderedList", "aria-label": "Uppladdade filer", children: questionObject.files.map((file, index) => {
|
|
707
626
|
const indicatorfileName = file.FileName;
|
|
708
627
|
let mobileFirstFileName = file.FileName.split(".").shift();
|
|
709
628
|
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
710
629
|
const fileType = file.FileName.split(".").pop();
|
|
711
630
|
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
712
|
-
return /* @__PURE__ */
|
|
713
|
-
/* @__PURE__ */
|
|
714
|
-
/* @__PURE__ */
|
|
631
|
+
return /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsx9(React4.Fragment, { children: /* @__PURE__ */ jsx9("div", { children: /* @__PURE__ */ jsx9("div", { className: "fileInListContainer", children: /* @__PURE__ */ jsxs7("div", { className: "fileInList", children: [
|
|
632
|
+
/* @__PURE__ */ jsxs7("div", { className: "fileItem", children: [
|
|
633
|
+
/* @__PURE__ */ jsx9(Col, { style: { maxWidth: "30px" }, children: /* @__PURE__ */ jsx9("span", { "aria-hidden": "true", className: "uploadedDot", children: /* @__PURE__ */ jsx9(
|
|
715
634
|
"svg",
|
|
716
635
|
{
|
|
717
636
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -719,7 +638,7 @@ var SelectedFiles = ({
|
|
|
719
638
|
height: "8",
|
|
720
639
|
viewBox: "0 0 8 8",
|
|
721
640
|
fill: "none",
|
|
722
|
-
children: /* @__PURE__ */
|
|
641
|
+
children: /* @__PURE__ */ jsx9(
|
|
723
642
|
"path",
|
|
724
643
|
{
|
|
725
644
|
d: "M1 4.65913L2.8 6.45913L7 1.35913",
|
|
@@ -730,20 +649,20 @@ var SelectedFiles = ({
|
|
|
730
649
|
)
|
|
731
650
|
}
|
|
732
651
|
) }) }),
|
|
733
|
-
/* @__PURE__ */
|
|
652
|
+
/* @__PURE__ */ jsx9(Col, { children: windowWidth < 768 ? /* @__PURE__ */ jsxs7("span", { className: "mobileFirstFileName", children: [
|
|
734
653
|
mobileFirstFileName,
|
|
735
654
|
" (",
|
|
736
655
|
Math.ceil(file.FileSize / (1024 * 1024)),
|
|
737
656
|
" ",
|
|
738
657
|
"MB)"
|
|
739
|
-
] }) : /* @__PURE__ */
|
|
658
|
+
] }) : /* @__PURE__ */ jsxs7("span", { className: "desktopFileName", children: [
|
|
740
659
|
file.FileName,
|
|
741
660
|
" (",
|
|
742
|
-
/* @__PURE__ */
|
|
661
|
+
/* @__PURE__ */ jsx9("span", { className: "fileSizeText", children: file.FileSize < 1024 * 1024 ? `${Math.round(file.FileSize / 1024)} kB` : `${(file.FileSize / (1024 * 1024)).toFixed(1)} MB` }),
|
|
743
662
|
" ",
|
|
744
663
|
")"
|
|
745
664
|
] }) }),
|
|
746
|
-
/* @__PURE__ */
|
|
665
|
+
/* @__PURE__ */ jsx9(Col, { className: "lastCol", children: /* @__PURE__ */ jsx9(
|
|
747
666
|
"button",
|
|
748
667
|
{
|
|
749
668
|
className: "selectedFilesLinkButton",
|
|
@@ -753,17 +672,17 @@ var SelectedFiles = ({
|
|
|
753
672
|
}
|
|
754
673
|
) })
|
|
755
674
|
] }),
|
|
756
|
-
showIndicator && /* @__PURE__ */
|
|
757
|
-
/* @__PURE__ */
|
|
675
|
+
showIndicator && /* @__PURE__ */ jsx9(Row, { children: /* @__PURE__ */ jsx9(Col, { style: { width: "100%", padding: 0 }, children: /* @__PURE__ */ jsx9(IndicatorStandard_default, { filename: indicatorfileName }) }) }),
|
|
676
|
+
/* @__PURE__ */ jsx9(Row, { style: { marginTop: "12px", marginBottom: "12px" }, children: /* @__PURE__ */ jsx9(Col, { className: "makeSpace" }) })
|
|
758
677
|
] }, index) }) }) }, `file-${file.FileName}-${index}`) });
|
|
759
678
|
}) }),
|
|
760
|
-
/* @__PURE__ */
|
|
679
|
+
/* @__PURE__ */ jsx9("div", { ref: theDiv, className: "pts-clipboard-container" })
|
|
761
680
|
] });
|
|
762
681
|
};
|
|
763
682
|
var SelectedFilesStandard_default = SelectedFiles;
|
|
764
683
|
|
|
765
684
|
// src/components/input-components/AddFilesStandard/AddFilesStandard.tsx
|
|
766
|
-
import { Fragment as
|
|
685
|
+
import { Fragment as Fragment10, jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
767
686
|
var AddFiles = ({
|
|
768
687
|
questionObject,
|
|
769
688
|
handleQuestionInputChange = (e, questionObject2) => {
|
|
@@ -801,19 +720,19 @@ var AddFiles = ({
|
|
|
801
720
|
const errorId = `error-${questionObject.id}`;
|
|
802
721
|
const labelId = `label-${questionObject.id}`;
|
|
803
722
|
const maxSizeMB = Math.round(allowedTotalFileSize / 1048576);
|
|
804
|
-
const [numberOfFiles, setNumberOfFiles] =
|
|
805
|
-
const [totalFileSize, setTotalFileSize] =
|
|
806
|
-
const [errorMessageAddingFile, setErrorMessageAddingFile] =
|
|
807
|
-
const [newFiles, setNewFiles] =
|
|
808
|
-
const [dropFilesText, setDropFilesText] =
|
|
809
|
-
|
|
723
|
+
const [numberOfFiles, setNumberOfFiles] = useState4(0);
|
|
724
|
+
const [totalFileSize, setTotalFileSize] = useState4(0);
|
|
725
|
+
const [errorMessageAddingFile, setErrorMessageAddingFile] = useState4([]);
|
|
726
|
+
const [newFiles, setNewFiles] = useState4([]);
|
|
727
|
+
const [dropFilesText, setDropFilesText] = useState4("Dra och sl\xE4pp dina filer h\xE4r");
|
|
728
|
+
useEffect4(() => {
|
|
810
729
|
if (activatedLanguage === "sv") {
|
|
811
730
|
setDropFilesText("Dra och sl\xE4pp dina filer h\xE4r");
|
|
812
731
|
} else {
|
|
813
732
|
setDropFilesText("Drag and drop your files here");
|
|
814
733
|
}
|
|
815
734
|
}, [activatedLanguage]);
|
|
816
|
-
|
|
735
|
+
useEffect4(() => {
|
|
817
736
|
if (questionObject.files && questionObject.files.length > 0) {
|
|
818
737
|
setNumberOfFiles(questionObject.files.length);
|
|
819
738
|
}
|
|
@@ -908,7 +827,7 @@ var AddFiles = ({
|
|
|
908
827
|
reader.readAsDataURL(file);
|
|
909
828
|
});
|
|
910
829
|
};
|
|
911
|
-
|
|
830
|
+
useEffect4(() => {
|
|
912
831
|
if (newFiles.length > 0) {
|
|
913
832
|
const currentFiles = questionObject.files ? questionObject.files : [];
|
|
914
833
|
const e = {
|
|
@@ -935,9 +854,9 @@ var AddFiles = ({
|
|
|
935
854
|
const handleRemoveErrors = () => {
|
|
936
855
|
setErrorMessageAddingFile([]);
|
|
937
856
|
};
|
|
938
|
-
return /* @__PURE__ */
|
|
939
|
-
!showPreview && visible && /* @__PURE__ */
|
|
940
|
-
questionObject.aboutText && /* @__PURE__ */
|
|
857
|
+
return /* @__PURE__ */ jsxs8(Fragment10, { children: [
|
|
858
|
+
!showPreview && visible && /* @__PURE__ */ jsx10("div", { className: "root-question addFile-question-container", children: /* @__PURE__ */ jsxs8("div", { role: "group", children: [
|
|
859
|
+
questionObject.aboutText && /* @__PURE__ */ jsxs8(
|
|
941
860
|
"p",
|
|
942
861
|
{
|
|
943
862
|
id: aboutId,
|
|
@@ -947,19 +866,19 @@ var AddFiles = ({
|
|
|
947
866
|
),
|
|
948
867
|
children: [
|
|
949
868
|
questionObject.aboutText,
|
|
950
|
-
questionObject.isQuestionMandatory && /* @__PURE__ */
|
|
869
|
+
questionObject.isQuestionMandatory && /* @__PURE__ */ jsxs8("span", { className: "pts-root-mandatoryAsterisk", "aria-hidden": "true", children: [
|
|
951
870
|
" ",
|
|
952
871
|
"*"
|
|
953
872
|
] })
|
|
954
873
|
]
|
|
955
874
|
}
|
|
956
875
|
),
|
|
957
|
-
questionObject.hasValidationError && /* @__PURE__ */
|
|
958
|
-
/* @__PURE__ */
|
|
959
|
-
/* @__PURE__ */
|
|
960
|
-
/* @__PURE__ */
|
|
876
|
+
questionObject.hasValidationError && /* @__PURE__ */ jsxs8("div", { className: "pts-root-error error addfileserror", id: errorId, children: [
|
|
877
|
+
/* @__PURE__ */ jsx10("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
878
|
+
/* @__PURE__ */ jsx10("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
879
|
+
/* @__PURE__ */ jsx10("span", { className: "errorText", children: questionObject.validationDefaultMessesege })
|
|
961
880
|
] }),
|
|
962
|
-
/* @__PURE__ */
|
|
881
|
+
/* @__PURE__ */ jsx10(
|
|
963
882
|
ExploreFilesStandard_default,
|
|
964
883
|
{
|
|
965
884
|
FilesSelected: onDrop,
|
|
@@ -975,7 +894,7 @@ var AddFiles = ({
|
|
|
975
894
|
removeUploadErrors: handleRemoveErrors
|
|
976
895
|
}
|
|
977
896
|
),
|
|
978
|
-
/* @__PURE__ */
|
|
897
|
+
/* @__PURE__ */ jsx10(
|
|
979
898
|
DropFilesStandard_default,
|
|
980
899
|
{
|
|
981
900
|
FilesSelected: onDrop,
|
|
@@ -983,7 +902,7 @@ var AddFiles = ({
|
|
|
983
902
|
language: activatedLanguage
|
|
984
903
|
}
|
|
985
904
|
),
|
|
986
|
-
/* @__PURE__ */
|
|
905
|
+
/* @__PURE__ */ jsx10(
|
|
987
906
|
SelectedFilesStandard_default,
|
|
988
907
|
{
|
|
989
908
|
questionObject,
|
|
@@ -998,7 +917,7 @@ var AddFiles = ({
|
|
|
998
917
|
}
|
|
999
918
|
)
|
|
1000
919
|
] }) }),
|
|
1001
|
-
showPreview && /* @__PURE__ */
|
|
920
|
+
showPreview && /* @__PURE__ */ jsx10(PreviewAddFiles, { activatedLanguage, questionObject })
|
|
1002
921
|
] });
|
|
1003
922
|
};
|
|
1004
923
|
var AddFilesStandard_default = AddFiles;
|
|
@@ -1007,17 +926,17 @@ var PreviewAddFiles = ({
|
|
|
1007
926
|
activatedLanguage
|
|
1008
927
|
}) => {
|
|
1009
928
|
const previewId = `preview-${questionObject.Id}`;
|
|
1010
|
-
return /* @__PURE__ */
|
|
1011
|
-
/* @__PURE__ */
|
|
1012
|
-
questionObject.files && questionObject.files.length > 0 ? /* @__PURE__ */
|
|
1013
|
-
return /* @__PURE__ */
|
|
1014
|
-
}) }) }) : /* @__PURE__ */
|
|
929
|
+
return /* @__PURE__ */ jsxs8(Fragment10, { children: [
|
|
930
|
+
/* @__PURE__ */ jsx10("dt", { id: `question-${previewId}`, children: questionObject.questionLabel ? questionObject.questionLabel : activatedLanguage === "en" ? "Attached files" : "Bifogade filer" }),
|
|
931
|
+
questionObject.files && questionObject.files.length > 0 ? /* @__PURE__ */ jsx10("dd", { className: "pts-addFiles-answer", children: /* @__PURE__ */ jsx10("ul", { "aria-labelledby": previewId, className: "pts-preview-answer-list", children: questionObject.files.map((file, index) => {
|
|
932
|
+
return /* @__PURE__ */ jsx10("li", { children: file.FileName }, `file-${index}-${file.FileName}`);
|
|
933
|
+
}) }) }) : /* @__PURE__ */ jsx10("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No attached files" : "Inga bifogade filer" })
|
|
1015
934
|
] });
|
|
1016
935
|
};
|
|
1017
936
|
|
|
1018
937
|
// src/components/input-components/SingleCheckboxStandard/SingleCheckboxStandard.tsx
|
|
1019
|
-
import { useEffect as
|
|
1020
|
-
import { Fragment as
|
|
938
|
+
import { useEffect as useEffect5, useState as useState5 } from "react";
|
|
939
|
+
import { Fragment as Fragment11, jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1021
940
|
var SingleCheckbox = ({
|
|
1022
941
|
question,
|
|
1023
942
|
handleQuestionInputChange,
|
|
@@ -1029,8 +948,8 @@ var SingleCheckbox = ({
|
|
|
1029
948
|
const inputId = `checkbox-${question.id}`;
|
|
1030
949
|
const aboutId = `about-${question.id}`;
|
|
1031
950
|
const errorId = `error-${question.id}`;
|
|
1032
|
-
const [checked, setChecked] =
|
|
1033
|
-
|
|
951
|
+
const [checked, setChecked] = useState5(false);
|
|
952
|
+
useEffect5(() => {
|
|
1034
953
|
if (question.answer && question.answer === "true") {
|
|
1035
954
|
setChecked(true);
|
|
1036
955
|
} else {
|
|
@@ -1043,10 +962,10 @@ var SingleCheckbox = ({
|
|
|
1043
962
|
const e = { target: { value: answer } };
|
|
1044
963
|
handleQuestionInputChange(e, question);
|
|
1045
964
|
};
|
|
1046
|
-
return /* @__PURE__ */
|
|
1047
|
-
!showPreview && question.visible && /* @__PURE__ */
|
|
1048
|
-
/* @__PURE__ */
|
|
1049
|
-
/* @__PURE__ */
|
|
965
|
+
return /* @__PURE__ */ jsxs9(Fragment11, { children: [
|
|
966
|
+
!showPreview && question.visible && /* @__PURE__ */ jsxs9("div", { id: questionId, className: "pts-root-question pts-singleCheckbox-container", children: [
|
|
967
|
+
/* @__PURE__ */ jsxs9("div", { className: "pts-singleCheckbox-row", children: [
|
|
968
|
+
/* @__PURE__ */ jsx11(
|
|
1050
969
|
"input",
|
|
1051
970
|
{
|
|
1052
971
|
type: "checkbox",
|
|
@@ -1064,11 +983,11 @@ var SingleCheckbox = ({
|
|
|
1064
983
|
"aria-errormessage": question.hasValidationError ? errorId : void 0
|
|
1065
984
|
}
|
|
1066
985
|
),
|
|
1067
|
-
/* @__PURE__ */
|
|
1068
|
-
question.isQuestionMandatory && /* @__PURE__ */
|
|
986
|
+
/* @__PURE__ */ jsx11("label", { htmlFor: `${inputId}`, children: question.questionLabel }),
|
|
987
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx11("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
1069
988
|
" "
|
|
1070
989
|
] }),
|
|
1071
|
-
question.aboutText && /* @__PURE__ */
|
|
990
|
+
question.aboutText && /* @__PURE__ */ jsx11(
|
|
1072
991
|
"div",
|
|
1073
992
|
{
|
|
1074
993
|
id: aboutId,
|
|
@@ -1077,15 +996,15 @@ var SingleCheckbox = ({
|
|
|
1077
996
|
}
|
|
1078
997
|
),
|
|
1079
998
|
" ",
|
|
1080
|
-
question.hasValidationError && /* @__PURE__ */
|
|
1081
|
-
/* @__PURE__ */
|
|
1082
|
-
/* @__PURE__ */
|
|
1083
|
-
/* @__PURE__ */
|
|
999
|
+
question.hasValidationError && /* @__PURE__ */ jsxs9("div", { className: "pts-root-error", id: errorId, children: [
|
|
1000
|
+
/* @__PURE__ */ jsx11("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
1001
|
+
/* @__PURE__ */ jsx11("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
1002
|
+
/* @__PURE__ */ jsx11("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
1084
1003
|
] }),
|
|
1085
1004
|
" "
|
|
1086
1005
|
] }),
|
|
1087
1006
|
" ",
|
|
1088
|
-
showPreview && /* @__PURE__ */
|
|
1007
|
+
showPreview && /* @__PURE__ */ jsx11(PreviewSingleCheckbox, { activatedLanguage, question })
|
|
1089
1008
|
] });
|
|
1090
1009
|
};
|
|
1091
1010
|
var SingleCheckboxStandard_default = SingleCheckbox;
|
|
@@ -1095,9 +1014,9 @@ var PreviewSingleCheckbox = ({
|
|
|
1095
1014
|
}) => {
|
|
1096
1015
|
var _a, _b;
|
|
1097
1016
|
const previewId = `preview-${question.id}`;
|
|
1098
|
-
return /* @__PURE__ */
|
|
1099
|
-
/* @__PURE__ */
|
|
1100
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */
|
|
1017
|
+
return /* @__PURE__ */ jsxs9(Fragment11, { children: [
|
|
1018
|
+
/* @__PURE__ */ jsx11("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
1019
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx11("dd", { className: "pts-singleCheckbox-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer === "false" ? activatedLanguage === "sv" ? "Nej" : "No" : activatedLanguage === "sv" ? "Ja" : "Yes" }) : /* @__PURE__ */ jsx11(
|
|
1101
1020
|
"dd",
|
|
1102
1021
|
{
|
|
1103
1022
|
className: "pts-singleCheckbox-preview pts-root-answer",
|
|
@@ -1108,10 +1027,159 @@ var PreviewSingleCheckbox = ({
|
|
|
1108
1027
|
] });
|
|
1109
1028
|
};
|
|
1110
1029
|
|
|
1030
|
+
// src/components/input-components/DropdownStandard/DropdownStandard.tsx
|
|
1031
|
+
import { Fragment as Fragment12, jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1032
|
+
var CustomDropdownStandard = ({
|
|
1033
|
+
question,
|
|
1034
|
+
handleQuestionInputChange,
|
|
1035
|
+
showPreview = false,
|
|
1036
|
+
activatedLanguage = "sv"
|
|
1037
|
+
}) => {
|
|
1038
|
+
var _a;
|
|
1039
|
+
const questionId = `question-${question.id}`;
|
|
1040
|
+
const selectId = `select-${question.id}`;
|
|
1041
|
+
const errorId = `error-${question.id}`;
|
|
1042
|
+
const handleInputChange = (event) => {
|
|
1043
|
+
const e = { target: { value: event.target.value } };
|
|
1044
|
+
handleQuestionInputChange(e, question);
|
|
1045
|
+
};
|
|
1046
|
+
return /* @__PURE__ */ jsxs10(Fragment12, { children: [
|
|
1047
|
+
!showPreview && question.visible && /* @__PURE__ */ jsxs10("div", { className: "pts-root-question pts-dropdown-container", id: questionId, children: [
|
|
1048
|
+
/* @__PURE__ */ jsxs10("label", { htmlFor: selectId, children: [
|
|
1049
|
+
question.questionLabel,
|
|
1050
|
+
" ",
|
|
1051
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx12("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
1052
|
+
] }),
|
|
1053
|
+
/* @__PURE__ */ jsxs10(
|
|
1054
|
+
"select",
|
|
1055
|
+
{
|
|
1056
|
+
id: selectId,
|
|
1057
|
+
name: `name-${question.id}`,
|
|
1058
|
+
value: question.answer || "",
|
|
1059
|
+
onChange: handleInputChange,
|
|
1060
|
+
"aria-required": question.isQuestionMandatory,
|
|
1061
|
+
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
1062
|
+
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
1063
|
+
children: [
|
|
1064
|
+
/* @__PURE__ */ jsx12("option", { value: "", children: activatedLanguage === "en" ? "Select an option" : "V\xE4lj alternativ" }),
|
|
1065
|
+
(_a = question.options) == null ? void 0 : _a.map((option, index) => {
|
|
1066
|
+
if (option.value === question.answer) {
|
|
1067
|
+
return /* @__PURE__ */ jsx12("option", { value: option.value, selected: true, children: option.label }, index);
|
|
1068
|
+
} else {
|
|
1069
|
+
return /* @__PURE__ */ jsx12("option", { value: option.value, children: option.label }, index);
|
|
1070
|
+
}
|
|
1071
|
+
})
|
|
1072
|
+
]
|
|
1073
|
+
}
|
|
1074
|
+
),
|
|
1075
|
+
question.hasValidationError && /* @__PURE__ */ jsxs10("div", { className: "pts-root-error", id: errorId, children: [
|
|
1076
|
+
/* @__PURE__ */ jsx12("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
1077
|
+
/* @__PURE__ */ jsx12("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
1078
|
+
/* @__PURE__ */ jsx12("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
1079
|
+
] })
|
|
1080
|
+
] }),
|
|
1081
|
+
showPreview && /* @__PURE__ */ jsx12(PreviewDropdown, { question })
|
|
1082
|
+
] });
|
|
1083
|
+
};
|
|
1084
|
+
var DropdownStandard_default = CustomDropdownStandard;
|
|
1085
|
+
var PreviewDropdown = ({ question, activatedLanguage = "sv" }) => {
|
|
1086
|
+
var _a, _b;
|
|
1087
|
+
const previewId = `preview-${question.id}`;
|
|
1088
|
+
return /* @__PURE__ */ jsxs10(Fragment12, { children: [
|
|
1089
|
+
/* @__PURE__ */ jsx12("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
1090
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx12("dd", { className: "pts-dropdown-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer }) : /* @__PURE__ */ jsx12(
|
|
1091
|
+
"dd",
|
|
1092
|
+
{
|
|
1093
|
+
className: "pts-dropdown-preview pts-root-answer no-answer-preview-page",
|
|
1094
|
+
id: `answer-${previewId}`,
|
|
1095
|
+
children: activatedLanguage === "en" ? "No Answer" : "Inget svar"
|
|
1096
|
+
}
|
|
1097
|
+
)
|
|
1098
|
+
] });
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
// src/components/input-components/MultipleCheckboxesStandard/MultipleCheckboxesStandard.tsx
|
|
1102
|
+
import { useEffect as useEffect6, useState as useState6 } from "react";
|
|
1103
|
+
import { Fragment as Fragment13, jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1104
|
+
var MultipleCheckboxes = ({
|
|
1105
|
+
question,
|
|
1106
|
+
handleQuestionInputChange,
|
|
1107
|
+
showPreview = false,
|
|
1108
|
+
activatedLanguage = "sv"
|
|
1109
|
+
}) => {
|
|
1110
|
+
var _a;
|
|
1111
|
+
const questionId = `question-${question.id}`;
|
|
1112
|
+
const [checkedValues, setCheckedValues] = useState6([]);
|
|
1113
|
+
useEffect6(() => {
|
|
1114
|
+
var _a2;
|
|
1115
|
+
const initialValues = ((_a2 = question.options) == null ? void 0 : _a2.filter((option) => {
|
|
1116
|
+
var _a3;
|
|
1117
|
+
return (_a3 = question.answer) == null ? void 0 : _a3.includes(option.label);
|
|
1118
|
+
}).map((option) => option.label)) || [];
|
|
1119
|
+
console.log("Initial values:", initialValues);
|
|
1120
|
+
setCheckedValues(initialValues);
|
|
1121
|
+
}, [question.answer, question.options]);
|
|
1122
|
+
const handleInputChange = (event, optionValue) => {
|
|
1123
|
+
let updatedValues = [...checkedValues];
|
|
1124
|
+
if (updatedValues.includes(optionValue)) {
|
|
1125
|
+
updatedValues = updatedValues.filter((val) => val !== optionValue);
|
|
1126
|
+
} else {
|
|
1127
|
+
updatedValues.push(optionValue);
|
|
1128
|
+
}
|
|
1129
|
+
setCheckedValues(updatedValues);
|
|
1130
|
+
const e = { target: { value: updatedValues.toString() } };
|
|
1131
|
+
handleQuestionInputChange(e, question);
|
|
1132
|
+
};
|
|
1133
|
+
return /* @__PURE__ */ jsxs11(Fragment13, { children: [
|
|
1134
|
+
!showPreview && question.visible && /* @__PURE__ */ jsx13("div", { id: questionId, className: "pts-root-question pts-multipleCheckboxes-container", children: /* @__PURE__ */ jsxs11("fieldset", { children: [
|
|
1135
|
+
/* @__PURE__ */ jsxs11("legend", { className: "multipleCheckboxes-legend", id: `label-${questionId}`, children: [
|
|
1136
|
+
question.questionLabel,
|
|
1137
|
+
" ",
|
|
1138
|
+
question.isQuestionMandatory && /* @__PURE__ */ jsx13("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
1139
|
+
" "
|
|
1140
|
+
] }),
|
|
1141
|
+
/* @__PURE__ */ jsx13("ul", { children: (_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ jsx13("li", { children: /* @__PURE__ */ jsxs11(Fragment13, { children: [
|
|
1142
|
+
" ",
|
|
1143
|
+
/* @__PURE__ */ jsx13(
|
|
1144
|
+
"input",
|
|
1145
|
+
{
|
|
1146
|
+
type: "checkbox",
|
|
1147
|
+
name: `${question.id}-option`,
|
|
1148
|
+
id: `${question.id}-option-${index}`,
|
|
1149
|
+
value: option.label,
|
|
1150
|
+
checked: checkedValues.includes(option.label),
|
|
1151
|
+
onChange: (e) => handleInputChange(e, option.label),
|
|
1152
|
+
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0
|
|
1153
|
+
}
|
|
1154
|
+
),
|
|
1155
|
+
/* @__PURE__ */ jsx13("label", { htmlFor: `${question.id}-option-${index}`, children: option.label })
|
|
1156
|
+
] }) }, index)) })
|
|
1157
|
+
] }) }),
|
|
1158
|
+
" ",
|
|
1159
|
+
showPreview && /* @__PURE__ */ jsx13(PrevieMultipleCheckboxes, { activatedLanguage, question })
|
|
1160
|
+
] });
|
|
1161
|
+
};
|
|
1162
|
+
var MultipleCheckboxesStandard_default = MultipleCheckboxes;
|
|
1163
|
+
var PrevieMultipleCheckboxes = ({
|
|
1164
|
+
question,
|
|
1165
|
+
activatedLanguage
|
|
1166
|
+
}) => {
|
|
1167
|
+
var _a, _b;
|
|
1168
|
+
const previewId = `preview-${question.id}`;
|
|
1169
|
+
return /* @__PURE__ */ jsxs11(Fragment13, { children: [
|
|
1170
|
+
/* @__PURE__ */ jsx13("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
1171
|
+
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */ jsx13("dd", { children: question.options[0].label }) : /* @__PURE__ */ jsx13("dd", { children: /* @__PURE__ */ jsx13("ul", { className: "pts-preview-answer-list", children: (_b = question.options) == null ? void 0 : _b.filter((option) => {
|
|
1172
|
+
var _a2;
|
|
1173
|
+
return (_a2 = question.answer) == null ? void 0 : _a2.includes(option.label);
|
|
1174
|
+
}).map((option, index) => /* @__PURE__ */ jsx13("li", { children: option.label }, index)) }) }) : /* @__PURE__ */ jsx13("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No Answer" : "Inget svar" }),
|
|
1175
|
+
" "
|
|
1176
|
+
] });
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1111
1179
|
// src/helpers/hasQuestionValidationError/hasQuestionValidationError.tsx
|
|
1112
1180
|
import { isValid, parseISO } from "date-fns";
|
|
1113
1181
|
var hasQuestionValidationError = (question, questions) => {
|
|
1114
|
-
var _a, _b, _c, _d, _e
|
|
1182
|
+
var _a, _b, _c, _d, _e;
|
|
1115
1183
|
let error = false;
|
|
1116
1184
|
if (question.isQuestionMandatory) {
|
|
1117
1185
|
if (question.isTouched === false) {
|
|
@@ -1124,28 +1192,19 @@ var hasQuestionValidationError = (question, questions) => {
|
|
|
1124
1192
|
error = true;
|
|
1125
1193
|
}
|
|
1126
1194
|
}
|
|
1127
|
-
|
|
1128
|
-
if (((_d = question.validationType) == null ? void 0 : _d.includes("maxLength")) && question.answer.length > maxLength) {
|
|
1129
|
-
error = true;
|
|
1130
|
-
}
|
|
1131
|
-
if (question.questionType === "TextField") {
|
|
1132
|
-
if (question.answer.length > 100) {
|
|
1133
|
-
error = true;
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
if (((_e = question.validationType) == null ? void 0 : _e.find((e) => e === "email")) && (question.isQuestionMandatory || question.answer !== "")) {
|
|
1195
|
+
if (((_b = question.validationType) == null ? void 0 : _b.find((e) => e === "email")) && (question.isQuestionMandatory || question.answer !== "")) {
|
|
1137
1196
|
const emailRegex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
1138
1197
|
if (!emailRegex.test(question.answer)) {
|
|
1139
1198
|
error = true;
|
|
1140
1199
|
}
|
|
1141
1200
|
}
|
|
1142
|
-
if (((
|
|
1201
|
+
if (((_c = question.validationType) == null ? void 0 : _c.find((e) => e === "fourNumbers")) && (question.isQuestionMandatory || question.answer !== "")) {
|
|
1143
1202
|
const fourNumbersRegex = /^\d{4}$/.test(question.answer);
|
|
1144
1203
|
if (!fourNumbersRegex) {
|
|
1145
1204
|
error = true;
|
|
1146
1205
|
}
|
|
1147
1206
|
}
|
|
1148
|
-
if (((
|
|
1207
|
+
if (((_d = question.validationType) == null ? void 0 : _d.find((e) => e === "isDateFormatValid")) && question.answer !== "") {
|
|
1149
1208
|
const regex = /^\d{4}-\d{2}-\d{2}$/;
|
|
1150
1209
|
if (!regex.test(question.answer)) {
|
|
1151
1210
|
error = true;
|
|
@@ -1159,18 +1218,16 @@ var hasQuestionValidationError = (question, questions) => {
|
|
|
1159
1218
|
error = true;
|
|
1160
1219
|
}
|
|
1161
1220
|
}
|
|
1162
|
-
const groupCheckError = (
|
|
1221
|
+
const groupCheckError = (_e = question.validationType) == null ? void 0 : _e.find((e) => e.startsWith("groupCheck-"));
|
|
1163
1222
|
if (groupCheckError) {
|
|
1164
1223
|
const ids = groupCheckError.replace("groupCheck-", "").split("-");
|
|
1165
|
-
const relatedAnswers = ids.map(
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
}
|
|
1173
|
-
);
|
|
1224
|
+
const relatedAnswers = ids.map((id) => {
|
|
1225
|
+
var _a2;
|
|
1226
|
+
return (_a2 = questions.find((q) => {
|
|
1227
|
+
var _a3;
|
|
1228
|
+
return ((_a3 = q.id) == null ? void 0 : _a3.toString()) === id;
|
|
1229
|
+
})) == null ? void 0 : _a2.answer;
|
|
1230
|
+
});
|
|
1174
1231
|
const currentAnswer = question.answer;
|
|
1175
1232
|
const allAnswers = [...relatedAnswers, currentAnswer];
|
|
1176
1233
|
if (allAnswers.every((ans) => ans === "")) {
|
|
@@ -1828,15 +1885,15 @@ var useCookieConsent = ({
|
|
|
1828
1885
|
};
|
|
1829
1886
|
|
|
1830
1887
|
// src/components/question-rendering/QuestionRenderer/QuestionRenderer.tsx
|
|
1831
|
-
import { Fragment as
|
|
1888
|
+
import { Fragment as Fragment14, jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1832
1889
|
var QuestionRenderer = ({
|
|
1833
1890
|
question,
|
|
1834
1891
|
handleQuestionInputChange,
|
|
1835
1892
|
activatedLanguage = "sv",
|
|
1836
1893
|
showPreview = false
|
|
1837
1894
|
}) => {
|
|
1838
|
-
return /* @__PURE__ */
|
|
1839
|
-
question.questionType === "Radio" && /* @__PURE__ */
|
|
1895
|
+
return /* @__PURE__ */ jsxs12(Fragment14, { children: [
|
|
1896
|
+
question.questionType === "Radio" && /* @__PURE__ */ jsx14(
|
|
1840
1897
|
RadioMultipleStandard_default,
|
|
1841
1898
|
{
|
|
1842
1899
|
question,
|
|
@@ -1844,7 +1901,7 @@ var QuestionRenderer = ({
|
|
|
1844
1901
|
showPreview
|
|
1845
1902
|
}
|
|
1846
1903
|
),
|
|
1847
|
-
question.questionType === "TextField" && /* @__PURE__ */
|
|
1904
|
+
question.questionType === "TextField" && /* @__PURE__ */ jsx14(
|
|
1848
1905
|
TextFieldStandard_default,
|
|
1849
1906
|
{
|
|
1850
1907
|
question,
|
|
@@ -1853,7 +1910,7 @@ var QuestionRenderer = ({
|
|
|
1853
1910
|
activatedLanguage
|
|
1854
1911
|
}
|
|
1855
1912
|
),
|
|
1856
|
-
question.questionType === "AddFiles" && /* @__PURE__ */
|
|
1913
|
+
question.questionType === "AddFiles" && /* @__PURE__ */ jsx14(
|
|
1857
1914
|
AddFilesStandard_default,
|
|
1858
1915
|
{
|
|
1859
1916
|
questionObject: question,
|
|
@@ -1863,7 +1920,7 @@ var QuestionRenderer = ({
|
|
|
1863
1920
|
visible: question.visible
|
|
1864
1921
|
}
|
|
1865
1922
|
),
|
|
1866
|
-
question.questionType === "SingleCheckbox" && /* @__PURE__ */
|
|
1923
|
+
question.questionType === "SingleCheckbox" && /* @__PURE__ */ jsx14(
|
|
1867
1924
|
SingleCheckboxStandard_default,
|
|
1868
1925
|
{
|
|
1869
1926
|
question,
|
|
@@ -1872,7 +1929,7 @@ var QuestionRenderer = ({
|
|
|
1872
1929
|
activatedLanguage
|
|
1873
1930
|
}
|
|
1874
1931
|
),
|
|
1875
|
-
question.questionType === "Checkbox" && /* @__PURE__ */
|
|
1932
|
+
question.questionType === "Checkbox" && /* @__PURE__ */ jsx14(
|
|
1876
1933
|
MultipleCheckboxesStandard_default,
|
|
1877
1934
|
{
|
|
1878
1935
|
question,
|
|
@@ -1881,7 +1938,7 @@ var QuestionRenderer = ({
|
|
|
1881
1938
|
activatedLanguage
|
|
1882
1939
|
}
|
|
1883
1940
|
),
|
|
1884
|
-
question.questionType === "CheckboxGroup" && /* @__PURE__ */
|
|
1941
|
+
question.questionType === "CheckboxGroup" && /* @__PURE__ */ jsx14(
|
|
1885
1942
|
CheckboxGroupStandard_default,
|
|
1886
1943
|
{
|
|
1887
1944
|
question,
|
|
@@ -1890,21 +1947,29 @@ var QuestionRenderer = ({
|
|
|
1890
1947
|
activatedLanguage
|
|
1891
1948
|
}
|
|
1892
1949
|
),
|
|
1893
|
-
question.questionType === "TextArea" && /* @__PURE__ */
|
|
1950
|
+
question.questionType === "TextArea" && /* @__PURE__ */ jsx14(
|
|
1894
1951
|
TextAreaStandard_default,
|
|
1895
1952
|
{
|
|
1896
1953
|
question,
|
|
1897
1954
|
handleQuestionInputChange,
|
|
1898
1955
|
showPreview
|
|
1899
1956
|
}
|
|
1957
|
+
),
|
|
1958
|
+
question.questionType === "Dropdown" && /* @__PURE__ */ jsx14(
|
|
1959
|
+
DropdownStandard_default,
|
|
1960
|
+
{
|
|
1961
|
+
question,
|
|
1962
|
+
handleQuestionInputChange,
|
|
1963
|
+
showPreview
|
|
1964
|
+
}
|
|
1900
1965
|
)
|
|
1901
1966
|
] });
|
|
1902
1967
|
};
|
|
1903
1968
|
var QuestionRenderer_default = QuestionRenderer;
|
|
1904
1969
|
|
|
1905
1970
|
// src/components/question-rendering/QuestionGroup/QuestionGroup.tsx
|
|
1906
|
-
import { useEffect as useEffect11, Fragment as
|
|
1907
|
-
import { Fragment as
|
|
1971
|
+
import { useEffect as useEffect11, Fragment as Fragment15 } from "react";
|
|
1972
|
+
import { Fragment as Fragment16, jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1908
1973
|
var QuestionGroup = ({
|
|
1909
1974
|
questions,
|
|
1910
1975
|
wrapperElement = "none",
|
|
@@ -1927,8 +1992,8 @@ var QuestionGroup = ({
|
|
|
1927
1992
|
}
|
|
1928
1993
|
});
|
|
1929
1994
|
}, [questions]);
|
|
1930
|
-
const groupQuestions = /* @__PURE__ */
|
|
1931
|
-
return /* @__PURE__ */
|
|
1995
|
+
const groupQuestions = /* @__PURE__ */ jsx15(Fragment16, { children: questions.map((question, index) => {
|
|
1996
|
+
return /* @__PURE__ */ jsx15(Fragment15, { children: /* @__PURE__ */ jsx15(
|
|
1932
1997
|
QuestionRenderer_default,
|
|
1933
1998
|
{
|
|
1934
1999
|
question,
|
|
@@ -1940,7 +2005,7 @@ var QuestionGroup = ({
|
|
|
1940
2005
|
}) });
|
|
1941
2006
|
switch (wrapperElement) {
|
|
1942
2007
|
case "fieldset":
|
|
1943
|
-
return /* @__PURE__ */
|
|
2008
|
+
return /* @__PURE__ */ jsxs13(
|
|
1944
2009
|
"fieldset",
|
|
1945
2010
|
{
|
|
1946
2011
|
className: "pts-root-question-group-fieldset pts-root-question",
|
|
@@ -1949,37 +2014,37 @@ var QuestionGroup = ({
|
|
|
1949
2014
|
"aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
1950
2015
|
"aria-describedby": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
1951
2016
|
children: [
|
|
1952
|
-
legendLabel && /* @__PURE__ */
|
|
1953
|
-
/* @__PURE__ */
|
|
2017
|
+
legendLabel && /* @__PURE__ */ jsxs13("legend", { children: [
|
|
2018
|
+
/* @__PURE__ */ jsxs13("span", { className: "pts-legend", children: [
|
|
1954
2019
|
legendLabel,
|
|
1955
|
-
groupMandatory && /* @__PURE__ */
|
|
2020
|
+
groupMandatory && /* @__PURE__ */ jsx15("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
1956
2021
|
] }),
|
|
1957
|
-
firstQuestion.hasValidationError && /* @__PURE__ */
|
|
2022
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ jsxs13("span", { className: "sr-only", children: [
|
|
1958
2023
|
"Valideringsfel. ",
|
|
1959
2024
|
firstQuestion.validationDefaultMessesege
|
|
1960
2025
|
] })
|
|
1961
2026
|
] }),
|
|
1962
|
-
firstQuestion.hasValidationError && /* @__PURE__ */
|
|
1963
|
-
/* @__PURE__ */
|
|
1964
|
-
/* @__PURE__ */
|
|
2027
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ jsxs13("div", { className: "pts-root-error", id: firstQuestion.id + "-error", children: [
|
|
2028
|
+
/* @__PURE__ */ jsx15("span", { "aria-label": "Valideringsfel", className: "errorDot", children: "!" }),
|
|
2029
|
+
/* @__PURE__ */ jsx15("span", { className: "errorText", children: firstQuestion.validationDefaultMessesege })
|
|
1965
2030
|
] }),
|
|
1966
2031
|
groupQuestions
|
|
1967
2032
|
]
|
|
1968
2033
|
}
|
|
1969
2034
|
);
|
|
1970
2035
|
case "section":
|
|
1971
|
-
return /* @__PURE__ */
|
|
2036
|
+
return /* @__PURE__ */ jsx15("section", { className: "pts-root-question-group-section", children: groupQuestions });
|
|
1972
2037
|
case "div":
|
|
1973
|
-
return /* @__PURE__ */
|
|
2038
|
+
return /* @__PURE__ */ jsx15("div", { className: "pts-root-question-group-div", children: groupQuestions });
|
|
1974
2039
|
case "none":
|
|
1975
2040
|
default:
|
|
1976
|
-
return /* @__PURE__ */
|
|
2041
|
+
return /* @__PURE__ */ jsx15(Fragment15, { children: groupQuestions });
|
|
1977
2042
|
}
|
|
1978
2043
|
};
|
|
1979
2044
|
var QuestionGroup_default = QuestionGroup;
|
|
1980
2045
|
|
|
1981
2046
|
// src/components/layout/CookieBanner/CookieBanner.tsx
|
|
1982
|
-
import { jsx as
|
|
2047
|
+
import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1983
2048
|
var CookieBanner = ({
|
|
1984
2049
|
visible = false,
|
|
1985
2050
|
onCookieStateChange,
|
|
@@ -2001,7 +2066,7 @@ var CookieBanner = ({
|
|
|
2001
2066
|
onClose();
|
|
2002
2067
|
}
|
|
2003
2068
|
};
|
|
2004
|
-
return /* @__PURE__ */
|
|
2069
|
+
return /* @__PURE__ */ jsx16(
|
|
2005
2070
|
"div",
|
|
2006
2071
|
{
|
|
2007
2072
|
className: "pts-cookieBanner",
|
|
@@ -2011,11 +2076,11 @@ var CookieBanner = ({
|
|
|
2011
2076
|
"aria-modal": "true",
|
|
2012
2077
|
id: "cookie-banner",
|
|
2013
2078
|
tabIndex: -1,
|
|
2014
|
-
children: /* @__PURE__ */
|
|
2015
|
-
/* @__PURE__ */
|
|
2016
|
-
/* @__PURE__ */
|
|
2017
|
-
/* @__PURE__ */
|
|
2018
|
-
/* @__PURE__ */
|
|
2079
|
+
children: /* @__PURE__ */ jsxs14("div", { className: "content", children: [
|
|
2080
|
+
/* @__PURE__ */ jsx16("h3", { id: "cookie-banner-title", children: "Kakor (cookies)" }),
|
|
2081
|
+
/* @__PURE__ */ jsx16("p", { id: "cookie-banner-description", children: "PTS skulle vilja anv\xE4nda en statistikkaka i syfte att l\xF6pande f\xF6rb\xE4ttra webbplatsen. Samtycker du till det? Du kan n\xE4r som helst \xE4ndra ditt val. F\xF6r att \xE5terkalla ditt samtycke klickar du p\xE5 \u201DKakor\u201D i avsnittet l\xE4ngst ned p\xE5 webbplatsen." }),
|
|
2082
|
+
/* @__PURE__ */ jsxs14("div", { className: "pts-cookieBanner-Links", children: [
|
|
2083
|
+
/* @__PURE__ */ jsxs14(
|
|
2019
2084
|
"svg",
|
|
2020
2085
|
{
|
|
2021
2086
|
width: "27",
|
|
@@ -2025,8 +2090,8 @@ var CookieBanner = ({
|
|
|
2025
2090
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2026
2091
|
"aria-hidden": "true",
|
|
2027
2092
|
children: [
|
|
2028
|
-
/* @__PURE__ */
|
|
2029
|
-
/* @__PURE__ */
|
|
2093
|
+
/* @__PURE__ */ jsx16("rect", { width: "27", height: "27", rx: "13.5", fill: "#6E3282" }),
|
|
2094
|
+
/* @__PURE__ */ jsx16(
|
|
2030
2095
|
"path",
|
|
2031
2096
|
{
|
|
2032
2097
|
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",
|
|
@@ -2036,7 +2101,7 @@ var CookieBanner = ({
|
|
|
2036
2101
|
]
|
|
2037
2102
|
}
|
|
2038
2103
|
),
|
|
2039
|
-
/* @__PURE__ */
|
|
2104
|
+
/* @__PURE__ */ jsx16(
|
|
2040
2105
|
"a",
|
|
2041
2106
|
{
|
|
2042
2107
|
href: "https://pts.se/om-oss/om-pts.se/kakor-pa-webbplatsen/kakor-pa-pts-e-tjanster/",
|
|
@@ -2046,9 +2111,9 @@ var CookieBanner = ({
|
|
|
2046
2111
|
}
|
|
2047
2112
|
)
|
|
2048
2113
|
] }),
|
|
2049
|
-
/* @__PURE__ */
|
|
2050
|
-
/* @__PURE__ */
|
|
2051
|
-
/* @__PURE__ */
|
|
2114
|
+
/* @__PURE__ */ jsxs14("div", { className: "pts-cookieBanner-Buttons", children: [
|
|
2115
|
+
/* @__PURE__ */ jsx16("button", { onClick: () => handleCookieChoice(true), children: "Ja, jag samtycker" }),
|
|
2116
|
+
/* @__PURE__ */ jsx16("button", { onClick: () => handleCookieChoice(false), children: "Nej, jag samtycker inte" })
|
|
2052
2117
|
] })
|
|
2053
2118
|
] })
|
|
2054
2119
|
}
|
|
@@ -2057,463 +2122,460 @@ var CookieBanner = ({
|
|
|
2057
2122
|
var CookieBanner_default = CookieBanner;
|
|
2058
2123
|
|
|
2059
2124
|
// src/components/layout/FooterStandard/FooterStandard.tsx
|
|
2060
|
-
import { jsx as
|
|
2125
|
+
import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2061
2126
|
var Footer = ({ activatedLanguage = "sv" }) => {
|
|
2062
|
-
return /* @__PURE__ */
|
|
2063
|
-
/* @__PURE__ */
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
"
|
|
2127
|
+
return /* @__PURE__ */ jsx17("footer", { className: "pts-footer-container", children: /* @__PURE__ */ jsxs15("div", { className: "pts-footer-content", children: [
|
|
2128
|
+
/* @__PURE__ */ jsxs15(
|
|
2129
|
+
"svg",
|
|
2130
|
+
{
|
|
2131
|
+
"aria-label": activatedLanguage === "en" ? "PTS logotype" : "PTS logotyp",
|
|
2132
|
+
className: "pts-footer-logo",
|
|
2133
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2134
|
+
width: "278",
|
|
2135
|
+
height: "72",
|
|
2136
|
+
viewBox: "0 0 278 72",
|
|
2137
|
+
fill: "none",
|
|
2138
|
+
children: [
|
|
2139
|
+
/* @__PURE__ */ jsx17(
|
|
2140
|
+
"path",
|
|
2141
|
+
{
|
|
2142
|
+
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",
|
|
2143
|
+
fill: "white"
|
|
2144
|
+
}
|
|
2145
|
+
),
|
|
2146
|
+
/* @__PURE__ */ jsx17(
|
|
2147
|
+
"path",
|
|
2148
|
+
{
|
|
2149
|
+
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",
|
|
2150
|
+
fill: "white"
|
|
2151
|
+
}
|
|
2152
|
+
)
|
|
2153
|
+
]
|
|
2154
|
+
}
|
|
2155
|
+
),
|
|
2156
|
+
/* @__PURE__ */ jsx17("nav", { className: "pts-footer-linkList", children: /* @__PURE__ */ jsxs15("ul", { children: [
|
|
2157
|
+
/* @__PURE__ */ jsx17("li", { children: /* @__PURE__ */ jsxs15(
|
|
2158
|
+
"a",
|
|
2067
2159
|
{
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
width: "278",
|
|
2072
|
-
height: "72",
|
|
2073
|
-
viewBox: "0 0 278 72",
|
|
2074
|
-
fill: "none",
|
|
2160
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
|
|
2161
|
+
target: "_blank",
|
|
2162
|
+
rel: "noopener noreferrer",
|
|
2075
2163
|
children: [
|
|
2076
|
-
/* @__PURE__ */
|
|
2077
|
-
|
|
2078
|
-
{
|
|
2079
|
-
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",
|
|
2080
|
-
fill: "white"
|
|
2081
|
-
}
|
|
2082
|
-
),
|
|
2083
|
-
/* @__PURE__ */ jsx16(
|
|
2084
|
-
"path",
|
|
2085
|
-
{
|
|
2086
|
-
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",
|
|
2087
|
-
fill: "white"
|
|
2088
|
-
}
|
|
2089
|
-
)
|
|
2164
|
+
/* @__PURE__ */ jsx17("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
|
|
2165
|
+
/* @__PURE__ */ jsx17("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
|
|
2090
2166
|
]
|
|
2091
2167
|
}
|
|
2092
|
-
),
|
|
2093
|
-
/* @__PURE__ */
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
children:
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
children:
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
children:
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
"a",
|
|
2132
|
-
{
|
|
2133
|
-
href: activatedLanguage === "en" ? "https://pts.se/en/cookies-eservices" : "https://www.pts.se/kakor-etjanster",
|
|
2134
|
-
target: "_blank",
|
|
2135
|
-
rel: "noopener noreferrer",
|
|
2136
|
-
children: [
|
|
2137
|
-
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Cookies (opens in new tab)" : "PTS Kakor (\xF6ppnas i ny flik)" }),
|
|
2138
|
-
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Cookies" : "Kakor" })
|
|
2139
|
-
]
|
|
2140
|
-
}
|
|
2141
|
-
) })
|
|
2142
|
-
] }) })
|
|
2143
|
-
] })
|
|
2144
|
-
] });
|
|
2168
|
+
) }),
|
|
2169
|
+
/* @__PURE__ */ jsx17("li", { children: /* @__PURE__ */ jsxs15(
|
|
2170
|
+
"a",
|
|
2171
|
+
{
|
|
2172
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
|
|
2173
|
+
target: "_blank",
|
|
2174
|
+
rel: "noopener noreferrer",
|
|
2175
|
+
children: [
|
|
2176
|
+
/* @__PURE__ */ jsx17("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Processing of personal data (opens in new tab)" : "PTS Behandling av personuppgifter (\xF6ppnas i ny flik)" }),
|
|
2177
|
+
/* @__PURE__ */ jsx17("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Processing of personal data" : "Behandling av personuppgifter" })
|
|
2178
|
+
]
|
|
2179
|
+
}
|
|
2180
|
+
) }),
|
|
2181
|
+
/* @__PURE__ */ jsx17("li", { children: /* @__PURE__ */ jsxs15(
|
|
2182
|
+
"a",
|
|
2183
|
+
{
|
|
2184
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
|
|
2185
|
+
target: "_blank",
|
|
2186
|
+
rel: "noopener noreferrer",
|
|
2187
|
+
children: [
|
|
2188
|
+
/* @__PURE__ */ jsx17("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Accessibility (opens in new tab)" : "PTS Tillg\xE4nglighetsredog\xF6relse (\xF6ppnas i ny flik)" }),
|
|
2189
|
+
/* @__PURE__ */ jsx17("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Accessibility" : "Tillg\xE4nglighetsredog\xF6relse" })
|
|
2190
|
+
]
|
|
2191
|
+
}
|
|
2192
|
+
) }),
|
|
2193
|
+
/* @__PURE__ */ jsx17("li", { children: /* @__PURE__ */ jsxs15(
|
|
2194
|
+
"a",
|
|
2195
|
+
{
|
|
2196
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/cookies-eservices" : "https://www.pts.se/kakor-etjanster",
|
|
2197
|
+
target: "_blank",
|
|
2198
|
+
rel: "noopener noreferrer",
|
|
2199
|
+
children: [
|
|
2200
|
+
/* @__PURE__ */ jsx17("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Cookies (opens in new tab)" : "PTS Kakor (\xF6ppnas i ny flik)" }),
|
|
2201
|
+
/* @__PURE__ */ jsx17("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Cookies" : "Kakor" })
|
|
2202
|
+
]
|
|
2203
|
+
}
|
|
2204
|
+
) })
|
|
2205
|
+
] }) })
|
|
2206
|
+
] }) });
|
|
2145
2207
|
};
|
|
2146
2208
|
var FooterStandard_default = Footer;
|
|
2147
2209
|
|
|
2148
2210
|
// src/components/layout/HeaderStandard/Icons.tsx
|
|
2149
|
-
import { jsx as
|
|
2150
|
-
var LanguageIcon = () => /* @__PURE__ */
|
|
2211
|
+
import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2212
|
+
var LanguageIcon = () => /* @__PURE__ */ jsx18("svg", { width: "15", height: "15", viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx18(
|
|
2151
2213
|
"path",
|
|
2152
2214
|
{
|
|
2153
2215
|
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",
|
|
2154
2216
|
fill: "#6E3282"
|
|
2155
2217
|
}
|
|
2156
2218
|
) });
|
|
2157
|
-
var Logo_sv = () => /* @__PURE__ */
|
|
2158
|
-
/* @__PURE__ */
|
|
2219
|
+
var Logo_sv = () => /* @__PURE__ */ jsxs16("svg", { width: "168.8", height: "46.67", viewBox: "0 0 168.8 46.67", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2220
|
+
/* @__PURE__ */ jsx18(
|
|
2159
2221
|
"path",
|
|
2160
2222
|
{
|
|
2161
2223
|
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",
|
|
2162
2224
|
fill: "#141414"
|
|
2163
2225
|
}
|
|
2164
2226
|
),
|
|
2165
|
-
/* @__PURE__ */
|
|
2227
|
+
/* @__PURE__ */ jsx18(
|
|
2166
2228
|
"path",
|
|
2167
2229
|
{
|
|
2168
2230
|
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",
|
|
2169
2231
|
fill: "#141414"
|
|
2170
2232
|
}
|
|
2171
2233
|
),
|
|
2172
|
-
/* @__PURE__ */
|
|
2234
|
+
/* @__PURE__ */ jsx18(
|
|
2173
2235
|
"path",
|
|
2174
2236
|
{
|
|
2175
2237
|
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",
|
|
2176
2238
|
fill: "#141414"
|
|
2177
2239
|
}
|
|
2178
2240
|
),
|
|
2179
|
-
/* @__PURE__ */
|
|
2241
|
+
/* @__PURE__ */ jsx18(
|
|
2180
2242
|
"path",
|
|
2181
2243
|
{
|
|
2182
2244
|
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",
|
|
2183
2245
|
fill: "#141414"
|
|
2184
2246
|
}
|
|
2185
2247
|
),
|
|
2186
|
-
/* @__PURE__ */
|
|
2187
|
-
/* @__PURE__ */
|
|
2248
|
+
/* @__PURE__ */ jsx18("path", { d: "M108.778 22.5557H112.5V23.3334H108.778V22.5557Z", fill: "#141414" }),
|
|
2249
|
+
/* @__PURE__ */ jsx18(
|
|
2188
2250
|
"path",
|
|
2189
2251
|
{
|
|
2190
2252
|
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",
|
|
2191
2253
|
fill: "#141414"
|
|
2192
2254
|
}
|
|
2193
2255
|
),
|
|
2194
|
-
/* @__PURE__ */
|
|
2256
|
+
/* @__PURE__ */ jsx18(
|
|
2195
2257
|
"path",
|
|
2196
2258
|
{
|
|
2197
2259
|
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",
|
|
2198
2260
|
fill: "#141414"
|
|
2199
2261
|
}
|
|
2200
2262
|
),
|
|
2201
|
-
/* @__PURE__ */
|
|
2263
|
+
/* @__PURE__ */ jsx18(
|
|
2202
2264
|
"path",
|
|
2203
2265
|
{
|
|
2204
2266
|
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",
|
|
2205
2267
|
fill: "#141414"
|
|
2206
2268
|
}
|
|
2207
2269
|
),
|
|
2208
|
-
/* @__PURE__ */
|
|
2270
|
+
/* @__PURE__ */ jsx18(
|
|
2209
2271
|
"path",
|
|
2210
2272
|
{
|
|
2211
2273
|
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",
|
|
2212
2274
|
fill: "#141414"
|
|
2213
2275
|
}
|
|
2214
2276
|
),
|
|
2215
|
-
/* @__PURE__ */
|
|
2277
|
+
/* @__PURE__ */ jsx18(
|
|
2216
2278
|
"path",
|
|
2217
2279
|
{
|
|
2218
2280
|
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",
|
|
2219
2281
|
fill: "#141414"
|
|
2220
2282
|
}
|
|
2221
2283
|
),
|
|
2222
|
-
/* @__PURE__ */
|
|
2223
|
-
/* @__PURE__ */
|
|
2284
|
+
/* @__PURE__ */ jsx18("path", { d: "M97.8335 29.4446V37.2224H96.9446V29.4446H97.8335Z", fill: "#141414" }),
|
|
2285
|
+
/* @__PURE__ */ jsx18(
|
|
2224
2286
|
"path",
|
|
2225
2287
|
{
|
|
2226
2288
|
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",
|
|
2227
2289
|
fill: "#141414"
|
|
2228
2290
|
}
|
|
2229
2291
|
),
|
|
2230
|
-
/* @__PURE__ */
|
|
2292
|
+
/* @__PURE__ */ jsx18(
|
|
2231
2293
|
"path",
|
|
2232
2294
|
{
|
|
2233
2295
|
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",
|
|
2234
2296
|
fill: "#141414"
|
|
2235
2297
|
}
|
|
2236
2298
|
),
|
|
2237
|
-
/* @__PURE__ */
|
|
2299
|
+
/* @__PURE__ */ jsx18(
|
|
2238
2300
|
"path",
|
|
2239
2301
|
{
|
|
2240
2302
|
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",
|
|
2241
2303
|
fill: "#141414"
|
|
2242
2304
|
}
|
|
2243
2305
|
),
|
|
2244
|
-
/* @__PURE__ */
|
|
2306
|
+
/* @__PURE__ */ jsx18(
|
|
2245
2307
|
"path",
|
|
2246
2308
|
{
|
|
2247
2309
|
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",
|
|
2248
2310
|
fill: "#141414"
|
|
2249
2311
|
}
|
|
2250
2312
|
),
|
|
2251
|
-
/* @__PURE__ */
|
|
2313
|
+
/* @__PURE__ */ jsx18(
|
|
2252
2314
|
"path",
|
|
2253
2315
|
{
|
|
2254
2316
|
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",
|
|
2255
2317
|
fill: "#141414"
|
|
2256
2318
|
}
|
|
2257
2319
|
),
|
|
2258
|
-
/* @__PURE__ */
|
|
2320
|
+
/* @__PURE__ */ jsx18(
|
|
2259
2321
|
"path",
|
|
2260
2322
|
{
|
|
2261
2323
|
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",
|
|
2262
2324
|
fill: "#141414"
|
|
2263
2325
|
}
|
|
2264
2326
|
),
|
|
2265
|
-
/* @__PURE__ */
|
|
2266
|
-
/* @__PURE__ */
|
|
2327
|
+
/* @__PURE__ */ jsx18("path", { d: "M130.333 29.4446V37.2224H129.445V29.4446H130.333Z", fill: "#141414" }),
|
|
2328
|
+
/* @__PURE__ */ jsx18(
|
|
2267
2329
|
"path",
|
|
2268
2330
|
{
|
|
2269
2331
|
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",
|
|
2270
2332
|
fill: "#141414"
|
|
2271
2333
|
}
|
|
2272
2334
|
),
|
|
2273
|
-
/* @__PURE__ */
|
|
2335
|
+
/* @__PURE__ */ jsx18(
|
|
2274
2336
|
"path",
|
|
2275
2337
|
{
|
|
2276
2338
|
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",
|
|
2277
2339
|
fill: "#141414"
|
|
2278
2340
|
}
|
|
2279
2341
|
),
|
|
2280
|
-
/* @__PURE__ */
|
|
2342
|
+
/* @__PURE__ */ jsx18(
|
|
2281
2343
|
"path",
|
|
2282
2344
|
{
|
|
2283
2345
|
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",
|
|
2284
2346
|
fill: "#141414"
|
|
2285
2347
|
}
|
|
2286
2348
|
),
|
|
2287
|
-
/* @__PURE__ */
|
|
2349
|
+
/* @__PURE__ */ jsx18(
|
|
2288
2350
|
"path",
|
|
2289
2351
|
{
|
|
2290
2352
|
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",
|
|
2291
2353
|
fill: "#141414"
|
|
2292
2354
|
}
|
|
2293
2355
|
),
|
|
2294
|
-
/* @__PURE__ */
|
|
2356
|
+
/* @__PURE__ */ jsx18(
|
|
2295
2357
|
"path",
|
|
2296
2358
|
{
|
|
2297
2359
|
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",
|
|
2298
2360
|
fill: "#F0AA1E"
|
|
2299
2361
|
}
|
|
2300
2362
|
),
|
|
2301
|
-
/* @__PURE__ */
|
|
2363
|
+
/* @__PURE__ */ jsx18("path", { d: "M82.2223 18.3335V37.2224", stroke: "currentColor", strokeWidth: "0.8", strokeMiterlimit: "10" })
|
|
2302
2364
|
] });
|
|
2303
|
-
var Logo_en = () => /* @__PURE__ */
|
|
2304
|
-
/* @__PURE__ */
|
|
2365
|
+
var Logo_en = () => /* @__PURE__ */ jsxs16("svg", { width: "189.0", height: "46.67", viewBox: "0 0 189 46.67", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
|
|
2366
|
+
/* @__PURE__ */ jsx18(
|
|
2305
2367
|
"path",
|
|
2306
2368
|
{
|
|
2307
2369
|
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",
|
|
2308
2370
|
fill: "#141414"
|
|
2309
2371
|
}
|
|
2310
2372
|
),
|
|
2311
|
-
/* @__PURE__ */
|
|
2373
|
+
/* @__PURE__ */ jsx18(
|
|
2312
2374
|
"path",
|
|
2313
2375
|
{
|
|
2314
2376
|
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",
|
|
2315
2377
|
fill: "#F0AA1E"
|
|
2316
2378
|
}
|
|
2317
2379
|
),
|
|
2318
|
-
/* @__PURE__ */
|
|
2319
|
-
/* @__PURE__ */
|
|
2380
|
+
/* @__PURE__ */ jsx18("path", { d: "M82.2223 18.3335V37.2224", stroke: "currentColor", strokeWidth: "0.8", strokeMiterlimit: "10" }),
|
|
2381
|
+
/* @__PURE__ */ jsx18(
|
|
2320
2382
|
"path",
|
|
2321
2383
|
{
|
|
2322
2384
|
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",
|
|
2323
2385
|
fill: "#141414"
|
|
2324
2386
|
}
|
|
2325
2387
|
),
|
|
2326
|
-
/* @__PURE__ */
|
|
2388
|
+
/* @__PURE__ */ jsx18(
|
|
2327
2389
|
"path",
|
|
2328
2390
|
{
|
|
2329
2391
|
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",
|
|
2330
2392
|
fill: "#141414"
|
|
2331
2393
|
}
|
|
2332
2394
|
),
|
|
2333
|
-
/* @__PURE__ */
|
|
2395
|
+
/* @__PURE__ */ jsx18(
|
|
2334
2396
|
"path",
|
|
2335
2397
|
{
|
|
2336
2398
|
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",
|
|
2337
2399
|
fill: "#141414"
|
|
2338
2400
|
}
|
|
2339
2401
|
),
|
|
2340
|
-
/* @__PURE__ */
|
|
2402
|
+
/* @__PURE__ */ jsx18(
|
|
2341
2403
|
"path",
|
|
2342
2404
|
{
|
|
2343
2405
|
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",
|
|
2344
2406
|
fill: "#141414"
|
|
2345
2407
|
}
|
|
2346
2408
|
),
|
|
2347
|
-
/* @__PURE__ */
|
|
2409
|
+
/* @__PURE__ */ jsx18(
|
|
2348
2410
|
"path",
|
|
2349
2411
|
{
|
|
2350
2412
|
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",
|
|
2351
2413
|
fill: "#141414"
|
|
2352
2414
|
}
|
|
2353
2415
|
),
|
|
2354
|
-
/* @__PURE__ */
|
|
2416
|
+
/* @__PURE__ */ jsx18(
|
|
2355
2417
|
"path",
|
|
2356
2418
|
{
|
|
2357
2419
|
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",
|
|
2358
2420
|
fill: "#141414"
|
|
2359
2421
|
}
|
|
2360
2422
|
),
|
|
2361
|
-
/* @__PURE__ */
|
|
2423
|
+
/* @__PURE__ */ jsx18(
|
|
2362
2424
|
"path",
|
|
2363
2425
|
{
|
|
2364
2426
|
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",
|
|
2365
2427
|
fill: "#141414"
|
|
2366
2428
|
}
|
|
2367
2429
|
),
|
|
2368
|
-
/* @__PURE__ */
|
|
2430
|
+
/* @__PURE__ */ jsx18(
|
|
2369
2431
|
"path",
|
|
2370
2432
|
{
|
|
2371
2433
|
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",
|
|
2372
2434
|
fill: "#141414"
|
|
2373
2435
|
}
|
|
2374
2436
|
),
|
|
2375
|
-
/* @__PURE__ */
|
|
2437
|
+
/* @__PURE__ */ jsx18(
|
|
2376
2438
|
"path",
|
|
2377
2439
|
{
|
|
2378
2440
|
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",
|
|
2379
2441
|
fill: "#141414"
|
|
2380
2442
|
}
|
|
2381
2443
|
),
|
|
2382
|
-
/* @__PURE__ */
|
|
2444
|
+
/* @__PURE__ */ jsx18(
|
|
2383
2445
|
"path",
|
|
2384
2446
|
{
|
|
2385
2447
|
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",
|
|
2386
2448
|
fill: "#141414"
|
|
2387
2449
|
}
|
|
2388
2450
|
),
|
|
2389
|
-
/* @__PURE__ */
|
|
2451
|
+
/* @__PURE__ */ jsx18(
|
|
2390
2452
|
"path",
|
|
2391
2453
|
{
|
|
2392
2454
|
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",
|
|
2393
2455
|
fill: "#141414"
|
|
2394
2456
|
}
|
|
2395
2457
|
),
|
|
2396
|
-
/* @__PURE__ */
|
|
2458
|
+
/* @__PURE__ */ jsx18(
|
|
2397
2459
|
"path",
|
|
2398
2460
|
{
|
|
2399
2461
|
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",
|
|
2400
2462
|
fill: "#141414"
|
|
2401
2463
|
}
|
|
2402
2464
|
),
|
|
2403
|
-
/* @__PURE__ */
|
|
2465
|
+
/* @__PURE__ */ jsx18(
|
|
2404
2466
|
"path",
|
|
2405
2467
|
{
|
|
2406
2468
|
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",
|
|
2407
2469
|
fill: "#141414"
|
|
2408
2470
|
}
|
|
2409
2471
|
),
|
|
2410
|
-
/* @__PURE__ */
|
|
2472
|
+
/* @__PURE__ */ jsx18(
|
|
2411
2473
|
"path",
|
|
2412
2474
|
{
|
|
2413
2475
|
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",
|
|
2414
2476
|
fill: "#141414"
|
|
2415
2477
|
}
|
|
2416
2478
|
),
|
|
2417
|
-
/* @__PURE__ */
|
|
2479
|
+
/* @__PURE__ */ jsx18(
|
|
2418
2480
|
"path",
|
|
2419
2481
|
{
|
|
2420
2482
|
d: "M92.6112 29.4446V30.3335H90.1112V37.2224H89.1667V30.3335H86.6667V29.4446H92.6667H92.6112Z",
|
|
2421
2483
|
fill: "#141414"
|
|
2422
2484
|
}
|
|
2423
2485
|
),
|
|
2424
|
-
/* @__PURE__ */
|
|
2486
|
+
/* @__PURE__ */ jsx18(
|
|
2425
2487
|
"path",
|
|
2426
2488
|
{
|
|
2427
2489
|
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",
|
|
2428
2490
|
fill: "#141414"
|
|
2429
2491
|
}
|
|
2430
2492
|
),
|
|
2431
|
-
/* @__PURE__ */
|
|
2432
|
-
/* @__PURE__ */
|
|
2493
|
+
/* @__PURE__ */ jsx18("path", { d: "M99.6667 29.4446V37.2224H98.7778V29.4446H99.6667Z", fill: "#141414" }),
|
|
2494
|
+
/* @__PURE__ */ jsx18(
|
|
2433
2495
|
"path",
|
|
2434
2496
|
{
|
|
2435
2497
|
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",
|
|
2436
2498
|
fill: "#141414"
|
|
2437
2499
|
}
|
|
2438
2500
|
),
|
|
2439
|
-
/* @__PURE__ */
|
|
2501
|
+
/* @__PURE__ */ jsx18(
|
|
2440
2502
|
"path",
|
|
2441
2503
|
{
|
|
2442
2504
|
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",
|
|
2443
2505
|
fill: "#141414"
|
|
2444
2506
|
}
|
|
2445
2507
|
),
|
|
2446
|
-
/* @__PURE__ */
|
|
2508
|
+
/* @__PURE__ */ jsx18(
|
|
2447
2509
|
"path",
|
|
2448
2510
|
{
|
|
2449
2511
|
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",
|
|
2450
2512
|
fill: "#141414"
|
|
2451
2513
|
}
|
|
2452
2514
|
),
|
|
2453
|
-
/* @__PURE__ */
|
|
2515
|
+
/* @__PURE__ */ jsx18(
|
|
2454
2516
|
"path",
|
|
2455
2517
|
{
|
|
2456
2518
|
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",
|
|
2457
2519
|
fill: "#141414"
|
|
2458
2520
|
}
|
|
2459
2521
|
),
|
|
2460
|
-
/* @__PURE__ */
|
|
2522
|
+
/* @__PURE__ */ jsx18(
|
|
2461
2523
|
"path",
|
|
2462
2524
|
{
|
|
2463
2525
|
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",
|
|
2464
2526
|
fill: "#141414"
|
|
2465
2527
|
}
|
|
2466
2528
|
),
|
|
2467
|
-
/* @__PURE__ */
|
|
2529
|
+
/* @__PURE__ */ jsx18(
|
|
2468
2530
|
"path",
|
|
2469
2531
|
{
|
|
2470
2532
|
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",
|
|
2471
2533
|
fill: "#141414"
|
|
2472
2534
|
}
|
|
2473
2535
|
),
|
|
2474
|
-
/* @__PURE__ */
|
|
2536
|
+
/* @__PURE__ */ jsx18(
|
|
2475
2537
|
"path",
|
|
2476
2538
|
{
|
|
2477
2539
|
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",
|
|
2478
2540
|
fill: "#141414"
|
|
2479
2541
|
}
|
|
2480
2542
|
),
|
|
2481
|
-
/* @__PURE__ */
|
|
2543
|
+
/* @__PURE__ */ jsx18(
|
|
2482
2544
|
"path",
|
|
2483
2545
|
{
|
|
2484
2546
|
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",
|
|
2485
2547
|
fill: "#141414"
|
|
2486
2548
|
}
|
|
2487
2549
|
),
|
|
2488
|
-
/* @__PURE__ */
|
|
2550
|
+
/* @__PURE__ */ jsx18(
|
|
2489
2551
|
"path",
|
|
2490
2552
|
{
|
|
2491
2553
|
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",
|
|
2492
2554
|
fill: "#141414"
|
|
2493
2555
|
}
|
|
2494
2556
|
),
|
|
2495
|
-
/* @__PURE__ */
|
|
2557
|
+
/* @__PURE__ */ jsx18(
|
|
2496
2558
|
"path",
|
|
2497
2559
|
{
|
|
2498
2560
|
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",
|
|
2499
2561
|
fill: "#141414"
|
|
2500
2562
|
}
|
|
2501
2563
|
),
|
|
2502
|
-
/* @__PURE__ */
|
|
2564
|
+
/* @__PURE__ */ jsx18(
|
|
2503
2565
|
"path",
|
|
2504
2566
|
{
|
|
2505
2567
|
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",
|
|
2506
2568
|
fill: "#141414"
|
|
2507
2569
|
}
|
|
2508
2570
|
),
|
|
2509
|
-
/* @__PURE__ */
|
|
2571
|
+
/* @__PURE__ */ jsx18(
|
|
2510
2572
|
"path",
|
|
2511
2573
|
{
|
|
2512
2574
|
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",
|
|
2513
2575
|
fill: "#141414"
|
|
2514
2576
|
}
|
|
2515
2577
|
),
|
|
2516
|
-
/* @__PURE__ */
|
|
2578
|
+
/* @__PURE__ */ jsx18(
|
|
2517
2579
|
"path",
|
|
2518
2580
|
{
|
|
2519
2581
|
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",
|
|
@@ -2523,7 +2585,7 @@ var Logo_en = () => /* @__PURE__ */ jsxs15("svg", { width: "189.0", height: "46.
|
|
|
2523
2585
|
] });
|
|
2524
2586
|
|
|
2525
2587
|
// src/components/layout/HeaderStandard/HeaderStandard.tsx
|
|
2526
|
-
import { jsx as
|
|
2588
|
+
import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2527
2589
|
var Header = ({
|
|
2528
2590
|
activatedLanguage = "sv",
|
|
2529
2591
|
useLanguage = true,
|
|
@@ -2542,37 +2604,37 @@ var Header = ({
|
|
|
2542
2604
|
if (activatedLanguage === "sv") return "English";
|
|
2543
2605
|
else return "Svenska";
|
|
2544
2606
|
};
|
|
2545
|
-
return /* @__PURE__ */
|
|
2546
|
-
/* @__PURE__ */
|
|
2607
|
+
return /* @__PURE__ */ jsxs17("header", { className: "pts-header-container", children: [
|
|
2608
|
+
/* @__PURE__ */ jsx19("div", { className: "pts-header-logo-container", children: /* @__PURE__ */ jsx19(
|
|
2547
2609
|
"a",
|
|
2548
2610
|
{
|
|
2549
2611
|
className: "pts-header-logo",
|
|
2550
2612
|
href: logoLink,
|
|
2551
2613
|
target: "_blank",
|
|
2552
2614
|
"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)",
|
|
2553
|
-
children: activatedLanguage === "en" ? /* @__PURE__ */
|
|
2615
|
+
children: activatedLanguage === "en" ? /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx19(Logo_en, {}) }) : /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx19(Logo_sv, {}) })
|
|
2554
2616
|
}
|
|
2555
2617
|
) }),
|
|
2556
|
-
|
|
2618
|
+
useLanguage && /* @__PURE__ */ jsxs17(
|
|
2557
2619
|
"button",
|
|
2558
2620
|
{
|
|
2559
2621
|
lang: activatedLanguage === "en" ? "en" : "sv",
|
|
2560
2622
|
className: "pts-languageButton",
|
|
2561
2623
|
onClick: handleLanguageClick,
|
|
2562
2624
|
children: [
|
|
2563
|
-
/* @__PURE__ */
|
|
2564
|
-
/* @__PURE__ */
|
|
2565
|
-
activatedLanguage === "en" && /* @__PURE__ */
|
|
2566
|
-
activatedLanguage === "sv" && /* @__PURE__ */
|
|
2625
|
+
/* @__PURE__ */ jsx19("div", { className: "languageIcon", children: /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx19(LanguageIcon, {}) }) }),
|
|
2626
|
+
/* @__PURE__ */ jsx19("span", { "aria-hidden": "true", className: "pts-languageButton-text", children: getLanguageLabel() }),
|
|
2627
|
+
activatedLanguage === "en" && /* @__PURE__ */ jsx19("span", { className: "sr-only", children: "\xC4ndra spr\xE5k till svenska" }),
|
|
2628
|
+
activatedLanguage === "sv" && /* @__PURE__ */ jsx19("span", { className: "sr-only", children: "Change language to English" })
|
|
2567
2629
|
]
|
|
2568
2630
|
}
|
|
2569
|
-
)
|
|
2570
|
-
] })
|
|
2631
|
+
)
|
|
2632
|
+
] });
|
|
2571
2633
|
};
|
|
2572
2634
|
var HeaderStandard_default = Header;
|
|
2573
2635
|
|
|
2574
2636
|
// src/components/layout/ModalStandard/ModalStandard.tsx
|
|
2575
|
-
import { jsx as
|
|
2637
|
+
import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2576
2638
|
var CONTENT = {
|
|
2577
2639
|
en: {
|
|
2578
2640
|
heading: "Please wait",
|
|
@@ -2586,16 +2648,16 @@ var CONTENT = {
|
|
|
2586
2648
|
var Modal = ({ showModal: isOpen, activatedLanguage = "" }) => {
|
|
2587
2649
|
const currentContent = activatedLanguage === "en" ? CONTENT.en : CONTENT.sv;
|
|
2588
2650
|
if (!isOpen) return null;
|
|
2589
|
-
return /* @__PURE__ */
|
|
2590
|
-
/* @__PURE__ */
|
|
2591
|
-
/* @__PURE__ */
|
|
2592
|
-
/* @__PURE__ */
|
|
2651
|
+
return /* @__PURE__ */ jsx20("div", { className: "pts-modal-overlay", children: /* @__PURE__ */ jsxs18("div", { "aria-hidden": true, className: "pts-modal-content", children: [
|
|
2652
|
+
/* @__PURE__ */ jsx20("h1", { children: currentContent.heading }),
|
|
2653
|
+
/* @__PURE__ */ jsx20("p", { children: currentContent.message }),
|
|
2654
|
+
/* @__PURE__ */ jsx20("div", { className: "pts-spinner-border" })
|
|
2593
2655
|
] }) });
|
|
2594
2656
|
};
|
|
2595
2657
|
var ModalStandard_default = Modal;
|
|
2596
2658
|
|
|
2597
2659
|
// src/components/layout/SkipLinkStandard/SkipLinkStandard.tsx
|
|
2598
|
-
import { jsx as
|
|
2660
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
2599
2661
|
var SkipLink = () => {
|
|
2600
2662
|
function scrollToMainContent() {
|
|
2601
2663
|
const container = document.getElementById(`main-content`);
|
|
@@ -2604,7 +2666,7 @@ var SkipLink = () => {
|
|
|
2604
2666
|
container.focus();
|
|
2605
2667
|
}
|
|
2606
2668
|
}
|
|
2607
|
-
return /* @__PURE__ */
|
|
2669
|
+
return /* @__PURE__ */ jsx21("div", { className: "pts-skipLink-container", children: /* @__PURE__ */ jsx21(
|
|
2608
2670
|
"a",
|
|
2609
2671
|
{
|
|
2610
2672
|
href: "#",
|
|
@@ -2621,23 +2683,23 @@ var SkipLinkStandard_default = SkipLink;
|
|
|
2621
2683
|
// src/components/text-blocks/TextHeadlineAndBodyStandard/TextHeadlineAndBodyStandard.tsx
|
|
2622
2684
|
import { createElement } from "react";
|
|
2623
2685
|
import DOMPurify3 from "dompurify";
|
|
2624
|
-
import { jsx as
|
|
2686
|
+
import { jsx as jsx22, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2625
2687
|
var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
2626
|
-
return /* @__PURE__ */
|
|
2688
|
+
return /* @__PURE__ */ jsxs19(
|
|
2627
2689
|
"section",
|
|
2628
2690
|
{
|
|
2629
2691
|
className: "pts-textHeadlineAndBody-container",
|
|
2630
2692
|
children: [
|
|
2631
2693
|
data.headline && createElement(headlineType, { id: "textHeadlineAndBody-headline" }, data.headline),
|
|
2632
|
-
data.body && /* @__PURE__ */
|
|
2633
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */
|
|
2694
|
+
data.body && /* @__PURE__ */ jsx22("div", { dangerouslySetInnerHTML: { __html: DOMPurify3.sanitize(data.body) } }),
|
|
2695
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ jsx22("ul", { className: "pts-moreinfo-list", children: data.linksForMoreInfo.map((link, index) => /* @__PURE__ */ jsx22("li", { className: index > 0 ? "notFirstInList" : "", children: /* @__PURE__ */ jsxs19(
|
|
2634
2696
|
"a",
|
|
2635
2697
|
{
|
|
2636
2698
|
href: link.url,
|
|
2637
2699
|
target: "_blank",
|
|
2638
2700
|
rel: "noopener noreferrer",
|
|
2639
2701
|
children: [
|
|
2640
|
-
/* @__PURE__ */
|
|
2702
|
+
/* @__PURE__ */ jsx22("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx22(
|
|
2641
2703
|
"svg",
|
|
2642
2704
|
{
|
|
2643
2705
|
"aria-hidden": "true",
|
|
@@ -2646,7 +2708,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2646
2708
|
height: "10",
|
|
2647
2709
|
viewBox: "0 0 12 10",
|
|
2648
2710
|
fill: "none",
|
|
2649
|
-
children: /* @__PURE__ */
|
|
2711
|
+
children: /* @__PURE__ */ jsx22(
|
|
2650
2712
|
"path",
|
|
2651
2713
|
{
|
|
2652
2714
|
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",
|
|
@@ -2659,7 +2721,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2659
2721
|
]
|
|
2660
2722
|
}
|
|
2661
2723
|
) }, `more-info-${index}`)) }),
|
|
2662
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */
|
|
2724
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ jsxs19(
|
|
2663
2725
|
"a",
|
|
2664
2726
|
{
|
|
2665
2727
|
href: data.linksForMoreInfo[0].url,
|
|
@@ -2667,7 +2729,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2667
2729
|
rel: "noopener noreferrer",
|
|
2668
2730
|
"aria-label": data.linksForMoreInfo[0].ariaLabel,
|
|
2669
2731
|
children: [
|
|
2670
|
-
/* @__PURE__ */
|
|
2732
|
+
/* @__PURE__ */ jsx22("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx22(
|
|
2671
2733
|
"svg",
|
|
2672
2734
|
{
|
|
2673
2735
|
"aria-hidden": "true",
|
|
@@ -2676,7 +2738,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2676
2738
|
height: "10",
|
|
2677
2739
|
viewBox: "0 0 12 10",
|
|
2678
2740
|
fill: "none",
|
|
2679
|
-
children: /* @__PURE__ */
|
|
2741
|
+
children: /* @__PURE__ */ jsx22(
|
|
2680
2742
|
"path",
|
|
2681
2743
|
{
|
|
2682
2744
|
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",
|
|
@@ -2696,7 +2758,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2696
2758
|
var TextHeadlineAndBodyStandard_default = TextHeadlineAndBody;
|
|
2697
2759
|
|
|
2698
2760
|
// src/components/text-blocks/PrincipleOfPublicityStandard/PrincipleOfPublicityStandard.tsx
|
|
2699
|
-
import { jsx as
|
|
2761
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2700
2762
|
var CONTENT2 = {
|
|
2701
2763
|
en: {
|
|
2702
2764
|
headline: "The principle of publicity and processing of personal data",
|
|
@@ -2731,7 +2793,7 @@ var CONTENT2 = {
|
|
|
2731
2793
|
};
|
|
2732
2794
|
var PrincipleOfPublicity = ({ activatedLanguage = "" }) => {
|
|
2733
2795
|
const currentContent = activatedLanguage === "en" ? CONTENT2.en : CONTENT2.sv;
|
|
2734
|
-
return /* @__PURE__ */
|
|
2796
|
+
return /* @__PURE__ */ jsx23(
|
|
2735
2797
|
TextHeadlineAndBodyStandard_default,
|
|
2736
2798
|
{
|
|
2737
2799
|
data: {
|
|
@@ -2751,18 +2813,18 @@ var PrincipleOfPublicityStandard_default = PrincipleOfPublicity;
|
|
|
2751
2813
|
|
|
2752
2814
|
// src/components/text-blocks/TextBody/TextBody.tsx
|
|
2753
2815
|
import DOMPurify4 from "dompurify";
|
|
2754
|
-
import { jsx as
|
|
2816
|
+
import { jsx as jsx24, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2755
2817
|
var TextBody = ({ data }) => {
|
|
2756
|
-
return /* @__PURE__ */
|
|
2757
|
-
data.body && /* @__PURE__ */
|
|
2758
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */
|
|
2818
|
+
return /* @__PURE__ */ jsxs20("div", { className: "pts-textBody-container", children: [
|
|
2819
|
+
data.body && /* @__PURE__ */ jsx24("div", { dangerouslySetInnerHTML: { __html: DOMPurify4.sanitize(data.body) } }),
|
|
2820
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ jsx24("ul", { className: "pts-moreinfo-list", children: data.linksForMoreInfo.map((link, index) => /* @__PURE__ */ jsx24("li", { className: index > 0 ? "notFirstInList" : "", children: /* @__PURE__ */ jsxs20(
|
|
2759
2821
|
"a",
|
|
2760
2822
|
{
|
|
2761
2823
|
href: link.url,
|
|
2762
2824
|
target: "_blank",
|
|
2763
2825
|
rel: "noopener noreferrer",
|
|
2764
2826
|
children: [
|
|
2765
|
-
/* @__PURE__ */
|
|
2827
|
+
/* @__PURE__ */ jsx24("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx24(
|
|
2766
2828
|
"svg",
|
|
2767
2829
|
{
|
|
2768
2830
|
"aria-hidden": "true",
|
|
@@ -2771,7 +2833,7 @@ var TextBody = ({ data }) => {
|
|
|
2771
2833
|
height: "10",
|
|
2772
2834
|
viewBox: "0 0 12 10",
|
|
2773
2835
|
fill: "none",
|
|
2774
|
-
children: /* @__PURE__ */
|
|
2836
|
+
children: /* @__PURE__ */ jsx24(
|
|
2775
2837
|
"path",
|
|
2776
2838
|
{
|
|
2777
2839
|
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",
|
|
@@ -2784,7 +2846,7 @@ var TextBody = ({ data }) => {
|
|
|
2784
2846
|
]
|
|
2785
2847
|
}
|
|
2786
2848
|
) }, `more-info-${index}`)) }),
|
|
2787
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */
|
|
2849
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ jsxs20(
|
|
2788
2850
|
"a",
|
|
2789
2851
|
{
|
|
2790
2852
|
href: data.linksForMoreInfo[0].url,
|
|
@@ -2792,7 +2854,7 @@ var TextBody = ({ data }) => {
|
|
|
2792
2854
|
rel: "noopener noreferrer",
|
|
2793
2855
|
"aria-label": data.linksForMoreInfo[0].ariaLabel,
|
|
2794
2856
|
children: [
|
|
2795
|
-
/* @__PURE__ */
|
|
2857
|
+
/* @__PURE__ */ jsx24("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx24(
|
|
2796
2858
|
"svg",
|
|
2797
2859
|
{
|
|
2798
2860
|
"aria-hidden": "true",
|
|
@@ -2801,7 +2863,7 @@ var TextBody = ({ data }) => {
|
|
|
2801
2863
|
height: "10",
|
|
2802
2864
|
viewBox: "0 0 12 10",
|
|
2803
2865
|
fill: "none",
|
|
2804
|
-
children: /* @__PURE__ */
|
|
2866
|
+
children: /* @__PURE__ */ jsx24(
|
|
2805
2867
|
"path",
|
|
2806
2868
|
{
|
|
2807
2869
|
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",
|
|
@@ -2819,13 +2881,13 @@ var TextBody = ({ data }) => {
|
|
|
2819
2881
|
var TextBody_default = TextBody;
|
|
2820
2882
|
|
|
2821
2883
|
// src/components/stepper/EditPreviewLinkStandard/EditPreviewLinkStandard.tsx
|
|
2822
|
-
import { jsx as
|
|
2884
|
+
import { jsx as jsx25, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
2823
2885
|
var EditPreviewLink = ({
|
|
2824
2886
|
step,
|
|
2825
2887
|
changeStepHandler,
|
|
2826
2888
|
activatedLanguage = "sv"
|
|
2827
2889
|
}) => {
|
|
2828
|
-
return /* @__PURE__ */
|
|
2890
|
+
return /* @__PURE__ */ jsx25("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ jsxs21(
|
|
2829
2891
|
"a",
|
|
2830
2892
|
{
|
|
2831
2893
|
href: "#",
|
|
@@ -2834,20 +2896,43 @@ var EditPreviewLink = ({
|
|
|
2834
2896
|
e.preventDefault();
|
|
2835
2897
|
changeStepHandler(step.step);
|
|
2836
2898
|
},
|
|
2837
|
-
children:
|
|
2899
|
+
children: [
|
|
2900
|
+
/* @__PURE__ */ jsx25(
|
|
2901
|
+
"svg",
|
|
2902
|
+
{
|
|
2903
|
+
"aria-hidden": "true",
|
|
2904
|
+
focusable: "false",
|
|
2905
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2906
|
+
width: "16",
|
|
2907
|
+
height: "16",
|
|
2908
|
+
viewBox: "0 0 16 16",
|
|
2909
|
+
fill: "none",
|
|
2910
|
+
children: /* @__PURE__ */ jsx25(
|
|
2911
|
+
"path",
|
|
2912
|
+
{
|
|
2913
|
+
d: "M10.0001 3.99996L12.0001 5.99996M8.66675 13.3333H14.0001M3.33341 10.6666L2.66675 13.3333L5.33341 12.6666L13.0574 4.94263C13.3074 4.69259 13.4478 4.35351 13.4478 3.99996C13.4478 3.64641 13.3074 3.30733 13.0574 3.05729L12.9427 2.94263C12.6927 2.69267 12.3536 2.55225 12.0001 2.55225C11.6465 2.55225 11.3075 2.69267 11.0574 2.94263L3.33341 10.6666Z",
|
|
2914
|
+
stroke: "#6E3282",
|
|
2915
|
+
strokeLinecap: "round",
|
|
2916
|
+
strokeLinejoin: "round"
|
|
2917
|
+
}
|
|
2918
|
+
)
|
|
2919
|
+
}
|
|
2920
|
+
),
|
|
2921
|
+
/* @__PURE__ */ jsx25("span", { className: "pts-edit-step-text", children: activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}` })
|
|
2922
|
+
]
|
|
2838
2923
|
}
|
|
2839
2924
|
) });
|
|
2840
2925
|
};
|
|
2841
2926
|
var EditPreviewLinkStandard_default = EditPreviewLink;
|
|
2842
2927
|
|
|
2843
2928
|
// src/components/stepper/StartApplicationButton/StartApplicationButton.tsx
|
|
2844
|
-
import { jsx as
|
|
2929
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
2845
2930
|
var StartApplicationButton = ({
|
|
2846
2931
|
onClick,
|
|
2847
2932
|
label = "Starta e-tj\xE4nsten",
|
|
2848
2933
|
className = ""
|
|
2849
2934
|
}) => {
|
|
2850
|
-
return /* @__PURE__ */
|
|
2935
|
+
return /* @__PURE__ */ jsx26(
|
|
2851
2936
|
"button",
|
|
2852
2937
|
{
|
|
2853
2938
|
type: "button",
|
|
@@ -2860,7 +2945,7 @@ var StartApplicationButton = ({
|
|
|
2860
2945
|
var StartApplicationButton_default = StartApplicationButton;
|
|
2861
2946
|
|
|
2862
2947
|
// src/components/stepper/StepperButtonsStandard/StepperButtonsStandard.tsx
|
|
2863
|
-
import { jsx as
|
|
2948
|
+
import { jsx as jsx27, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2864
2949
|
var StepperButtons = ({
|
|
2865
2950
|
globalLanguageState,
|
|
2866
2951
|
changeStepHandler,
|
|
@@ -2870,8 +2955,8 @@ var StepperButtons = ({
|
|
|
2870
2955
|
activeStep
|
|
2871
2956
|
}) => {
|
|
2872
2957
|
const totalSteps = steps ? steps.length : "";
|
|
2873
|
-
return /* @__PURE__ */
|
|
2874
|
-
activeStep !== 0 && /* @__PURE__ */
|
|
2958
|
+
return /* @__PURE__ */ jsxs22("div", { className: "pts-stepperButtons-container", children: [
|
|
2959
|
+
activeStep !== 0 && /* @__PURE__ */ jsx27(
|
|
2875
2960
|
"button",
|
|
2876
2961
|
{
|
|
2877
2962
|
onClick: () => changeStepHandler(activeStep - 1),
|
|
@@ -2880,7 +2965,7 @@ var StepperButtons = ({
|
|
|
2880
2965
|
children: globalLanguageState ? globalLanguageState.backButton : "<<"
|
|
2881
2966
|
}
|
|
2882
2967
|
),
|
|
2883
|
-
/* @__PURE__ */
|
|
2968
|
+
/* @__PURE__ */ jsxs22(
|
|
2884
2969
|
"button",
|
|
2885
2970
|
{
|
|
2886
2971
|
type: activeStep === totalSteps ? "submit" : "button",
|
|
@@ -2898,19 +2983,19 @@ var StepperButtonsStandard_default = StepperButtons;
|
|
|
2898
2983
|
|
|
2899
2984
|
// src/components/stepper/StepperStandard/StepperStandard.tsx
|
|
2900
2985
|
import React9 from "react";
|
|
2901
|
-
import { jsx as
|
|
2986
|
+
import { jsx as jsx28, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2902
2987
|
var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
2903
|
-
return /* @__PURE__ */
|
|
2988
|
+
return /* @__PURE__ */ jsx28("div", { className: "pts-stepper-container", "aria-hidden": "true", children: arraySteps.map((step, index) => {
|
|
2904
2989
|
const isActive = step.step === activeStep;
|
|
2905
2990
|
const lastElement = arraySteps.length;
|
|
2906
2991
|
const isDone = step.step < activeStep;
|
|
2907
|
-
return /* @__PURE__ */
|
|
2908
|
-
/* @__PURE__ */
|
|
2909
|
-
/* @__PURE__ */
|
|
2992
|
+
return /* @__PURE__ */ jsxs23(React9.Fragment, { children: [
|
|
2993
|
+
/* @__PURE__ */ jsxs23("div", { className: "pts-stepper-step", children: [
|
|
2994
|
+
/* @__PURE__ */ jsx28(
|
|
2910
2995
|
"div",
|
|
2911
2996
|
{
|
|
2912
2997
|
className: "pts-stepperDot" + (isActive ? " pts-stepperDotActive" : "") + (isDone ? " pts-stepperDotDone" : ""),
|
|
2913
|
-
children: isDone ? /* @__PURE__ */
|
|
2998
|
+
children: isDone ? /* @__PURE__ */ jsx28(
|
|
2914
2999
|
"svg",
|
|
2915
3000
|
{
|
|
2916
3001
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2918,7 +3003,7 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
2918
3003
|
height: "12",
|
|
2919
3004
|
viewBox: "0 0 15 12",
|
|
2920
3005
|
fill: "none",
|
|
2921
|
-
children: /* @__PURE__ */
|
|
3006
|
+
children: /* @__PURE__ */ jsx28(
|
|
2922
3007
|
"path",
|
|
2923
3008
|
{
|
|
2924
3009
|
d: "M1.5 5.4375L4.875 10.3125L13.5 1.6875",
|
|
@@ -2931,16 +3016,16 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
2931
3016
|
) : step.step
|
|
2932
3017
|
}
|
|
2933
3018
|
),
|
|
2934
|
-
/* @__PURE__ */
|
|
3019
|
+
/* @__PURE__ */ jsx28("div", { className: "pts-shortNameInStepper", children: step.shortNameInStepper })
|
|
2935
3020
|
] }, index),
|
|
2936
|
-
step.step !== lastElement && /* @__PURE__ */
|
|
3021
|
+
step.step !== lastElement && /* @__PURE__ */ jsx28("div", { className: "pts-stepperLine" })
|
|
2937
3022
|
] }, `step-${step.step}`);
|
|
2938
3023
|
}) });
|
|
2939
3024
|
};
|
|
2940
3025
|
var StepperStandard_default = Stepper;
|
|
2941
3026
|
|
|
2942
3027
|
// src/components/validation-and-status/ValidationErrorSummaryList/ValidationErrorSummaryList.tsx
|
|
2943
|
-
import { Fragment as
|
|
3028
|
+
import { Fragment as Fragment17, jsx as jsx29, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
2944
3029
|
var ValidationErrorSummaryList = ({
|
|
2945
3030
|
validationErrorsList,
|
|
2946
3031
|
questions,
|
|
@@ -2970,14 +3055,14 @@ var ValidationErrorSummaryList = ({
|
|
|
2970
3055
|
if (container) {
|
|
2971
3056
|
container.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
2972
3057
|
setTimeout(() => {
|
|
2973
|
-
const input = container.querySelector("input, textarea, select
|
|
3058
|
+
const input = container.querySelector("input, textarea, select");
|
|
2974
3059
|
if (input) {
|
|
2975
3060
|
input.focus();
|
|
2976
3061
|
}
|
|
2977
3062
|
}, 300);
|
|
2978
3063
|
}
|
|
2979
3064
|
}
|
|
2980
|
-
if (!validationErrorsList.length) return /* @__PURE__ */
|
|
3065
|
+
if (!validationErrorsList.length) return /* @__PURE__ */ jsx29(Fragment17, {});
|
|
2981
3066
|
const filteredIds = filterIdsByGroupCheck(validationErrorsList, questions);
|
|
2982
3067
|
const count = filteredIds.length;
|
|
2983
3068
|
const title = summaryText.replace("{count}", count.toString()).replace(
|
|
@@ -2989,11 +3074,11 @@ var ValidationErrorSummaryList = ({
|
|
|
2989
3074
|
const found = questions.find((item) => item.id === id);
|
|
2990
3075
|
return (_a = found == null ? void 0 : found.validationSummaryLabel) != null ? _a : found == null ? void 0 : found.questionLabel;
|
|
2991
3076
|
}
|
|
2992
|
-
return /* @__PURE__ */
|
|
2993
|
-
/* @__PURE__ */
|
|
2994
|
-
/* @__PURE__ */
|
|
2995
|
-
/* @__PURE__ */
|
|
2996
|
-
/* @__PURE__ */
|
|
3077
|
+
return /* @__PURE__ */ jsxs24("div", { className: `pts-errorSummary-container pts-root-error ${validationErrorsList.length === 0 ? "cleanPadding" : ""}`, children: [
|
|
3078
|
+
/* @__PURE__ */ jsx29("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
|
|
3079
|
+
/* @__PURE__ */ jsxs24("div", { className: "errorSummary-content", id: "pts-errorSummary-content", children: [
|
|
3080
|
+
/* @__PURE__ */ jsx29("h2", { id: "errorSummary-headline", children: title }),
|
|
3081
|
+
/* @__PURE__ */ jsx29("ul", { id: "errorSummary-ul", children: filteredIds.map((questionId, i) => /* @__PURE__ */ jsx29("li", { children: /* @__PURE__ */ jsx29(
|
|
2997
3082
|
"a",
|
|
2998
3083
|
{
|
|
2999
3084
|
href: "#",
|
|
@@ -3011,11 +3096,11 @@ var ValidationErrorSummaryList = ({
|
|
|
3011
3096
|
var ValidationErrorSummaryList_default = ValidationErrorSummaryList;
|
|
3012
3097
|
|
|
3013
3098
|
// src/components/validation-and-status/FormStatusMessagesScreenReader/FormStatusMessagesScreenReader.tsx
|
|
3014
|
-
import { Fragment as
|
|
3099
|
+
import { Fragment as Fragment18, jsx as jsx30, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3015
3100
|
var FormStatusMessagesScreenReader = ({ formStatus }) => {
|
|
3016
|
-
return /* @__PURE__ */
|
|
3017
|
-
/* @__PURE__ */
|
|
3018
|
-
/* @__PURE__ */
|
|
3101
|
+
return /* @__PURE__ */ jsxs25(Fragment18, { children: [
|
|
3102
|
+
/* @__PURE__ */ jsx30("p", { "aria-live": "assertive", children: formStatus === "failed" && /* @__PURE__ */ jsx30("span", { className: "mandatoryAsterisk", children: "N\xE5got gick fel, f\xF6rs\xF6k igen senare eller kontakta oss!" }) }),
|
|
3103
|
+
/* @__PURE__ */ jsx30("div", { "aria-live": "polite", className: "visually-hidden", children: formStatus === "loading" ? "Ditt \xE4rende registreras. Uppdatera eller st\xE4ng inte sidan." : "" })
|
|
3019
3104
|
] });
|
|
3020
3105
|
};
|
|
3021
3106
|
var FormStatusMessagesScreenReader_default = FormStatusMessagesScreenReader;
|
|
@@ -3023,6 +3108,7 @@ export {
|
|
|
3023
3108
|
AddFilesStandard_default as AddFilesStandard,
|
|
3024
3109
|
CheckboxGroupStandard_default as CheckboxGroupStandard,
|
|
3025
3110
|
CookieBanner_default as CookieBanner,
|
|
3111
|
+
DropdownStandard_default as DropdownStandard,
|
|
3026
3112
|
EditPreviewLinkStandard_default as EditPreviewLinkStandard,
|
|
3027
3113
|
FooterStandard_default as FooterStandard,
|
|
3028
3114
|
FormStatusMessagesScreenReader_default as FormStatusMessagesScreenReader,
|