optimized-react-component-library-xyz123 0.19.28 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +10 -20
- package/dist/index.d.ts +10 -20
- package/dist/index.js +527 -614
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +519 -605
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -5
- package/src/css/darkMode.css +376 -344
- package/src/css/mobileView.css +67 -5
- package/src/css/questions.css +44 -57
- package/src/css/styles.css +75 -23
- package/src/icons/arrow-down-dark.svg +0 -3
package/dist/index.js
CHANGED
|
@@ -33,7 +33,6 @@ __export(index_exports, {
|
|
|
33
33
|
AddFilesStandard: () => AddFilesStandard_default,
|
|
34
34
|
CheckboxGroupStandard: () => CheckboxGroupStandard_default,
|
|
35
35
|
CookieBanner: () => CookieBanner_default,
|
|
36
|
-
DropdownStandard: () => DropdownStandard_default,
|
|
37
36
|
EditPreviewLinkStandard: () => EditPreviewLinkStandard_default,
|
|
38
37
|
FooterStandard: () => FooterStandard_default,
|
|
39
38
|
FormStatusMessagesScreenReader: () => FormStatusMessagesScreenReader_default,
|
|
@@ -152,10 +151,10 @@ var PreviewRadio = ({ question }) => {
|
|
|
152
151
|
] });
|
|
153
152
|
};
|
|
154
153
|
|
|
155
|
-
// src/components/input-components/
|
|
154
|
+
// src/components/input-components/MultipleCheckboxesStandard/MultipleCheckboxesStandard.tsx
|
|
156
155
|
var import_react = require("react");
|
|
157
156
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
158
|
-
var
|
|
157
|
+
var MultipleCheckboxes = ({
|
|
159
158
|
question,
|
|
160
159
|
handleQuestionInputChange,
|
|
161
160
|
showPreview = false,
|
|
@@ -163,8 +162,6 @@ var CheckboxGroup = ({
|
|
|
163
162
|
}) => {
|
|
164
163
|
var _a;
|
|
165
164
|
const questionId = `question-${question.id}`;
|
|
166
|
-
const errorId = `error-${question.id}`;
|
|
167
|
-
const groupId = `checkbox-group-${question.id}`;
|
|
168
165
|
const [checkedValues, setCheckedValues] = (0, import_react.useState)([]);
|
|
169
166
|
(0, import_react.useEffect)(() => {
|
|
170
167
|
var _a2;
|
|
@@ -172,6 +169,7 @@ var CheckboxGroup = ({
|
|
|
172
169
|
var _a3;
|
|
173
170
|
return (_a3 = question.answer) == null ? void 0 : _a3.includes(option.label);
|
|
174
171
|
}).map((option) => option.label)) || [];
|
|
172
|
+
console.log("Initial values:", initialValues);
|
|
175
173
|
setCheckedValues(initialValues);
|
|
176
174
|
}, [question.answer, question.options]);
|
|
177
175
|
const handleInputChange = (event, optionValue) => {
|
|
@@ -186,20 +184,99 @@ var CheckboxGroup = ({
|
|
|
186
184
|
handleQuestionInputChange(e, question);
|
|
187
185
|
};
|
|
188
186
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
189
|
-
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { id: questionId, className: "pts-root-question pts-
|
|
187
|
+
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { id: questionId, className: "pts-root-question pts-multipleCheckboxes-container", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("fieldset", { children: [
|
|
188
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("legend", { className: "multipleCheckboxes-legend", id: `label-${questionId}`, children: [
|
|
189
|
+
question.questionLabel,
|
|
190
|
+
" ",
|
|
191
|
+
question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
192
|
+
" "
|
|
193
|
+
] }),
|
|
194
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("ul", { children: (_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
195
|
+
" ",
|
|
196
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
197
|
+
"input",
|
|
198
|
+
{
|
|
199
|
+
type: "checkbox",
|
|
200
|
+
name: `${question.id}-option`,
|
|
201
|
+
id: `${question.id}-option-${index}`,
|
|
202
|
+
value: option.label,
|
|
203
|
+
checked: checkedValues.includes(option.label),
|
|
204
|
+
onChange: (e) => handleInputChange(e, option.label),
|
|
205
|
+
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0
|
|
206
|
+
}
|
|
207
|
+
),
|
|
208
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("label", { htmlFor: `${question.id}-option-${index}`, children: option.label })
|
|
209
|
+
] }) }, index)) })
|
|
210
|
+
] }) }),
|
|
211
|
+
" ",
|
|
212
|
+
showPreview && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PrevieMultipleCheckboxes, { activatedLanguage, question })
|
|
213
|
+
] });
|
|
214
|
+
};
|
|
215
|
+
var MultipleCheckboxesStandard_default = MultipleCheckboxes;
|
|
216
|
+
var PrevieMultipleCheckboxes = ({
|
|
217
|
+
question,
|
|
218
|
+
activatedLanguage
|
|
219
|
+
}) => {
|
|
220
|
+
var _a, _b;
|
|
221
|
+
const previewId = `preview-${question.id}`;
|
|
222
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
223
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
224
|
+
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("dd", { children: question.options[0].label }) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("dd", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("ul", { className: "pts-preview-answer-list", children: (_b = question.options) == null ? void 0 : _b.filter((option) => {
|
|
225
|
+
var _a2;
|
|
226
|
+
return (_a2 = question.answer) == null ? void 0 : _a2.includes(option.label);
|
|
227
|
+
}).map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("li", { children: option.label }, index)) }) }) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No Answer" : "Inget svar" }),
|
|
228
|
+
" "
|
|
229
|
+
] });
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
// src/components/input-components/CheckboxGroupStandard/CheckboxGroupStandard.tsx
|
|
233
|
+
var import_react2 = require("react");
|
|
234
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
235
|
+
var CheckboxGroup = ({
|
|
236
|
+
question,
|
|
237
|
+
handleQuestionInputChange,
|
|
238
|
+
showPreview = false,
|
|
239
|
+
activatedLanguage = "sv"
|
|
240
|
+
}) => {
|
|
241
|
+
var _a;
|
|
242
|
+
const questionId = `question-${question.id}`;
|
|
243
|
+
const errorId = `error-${question.id}`;
|
|
244
|
+
const groupId = `checkbox-group-${question.id}`;
|
|
245
|
+
const [checkedValues, setCheckedValues] = (0, import_react2.useState)([]);
|
|
246
|
+
(0, import_react2.useEffect)(() => {
|
|
247
|
+
var _a2;
|
|
248
|
+
const initialValues = ((_a2 = question.options) == null ? void 0 : _a2.filter((option) => {
|
|
249
|
+
var _a3;
|
|
250
|
+
return (_a3 = question.answer) == null ? void 0 : _a3.includes(option.label);
|
|
251
|
+
}).map((option) => option.label)) || [];
|
|
252
|
+
setCheckedValues(initialValues);
|
|
253
|
+
}, [question.answer, question.options]);
|
|
254
|
+
const handleInputChange = (event, optionValue) => {
|
|
255
|
+
let updatedValues = [...checkedValues];
|
|
256
|
+
if (updatedValues.includes(optionValue)) {
|
|
257
|
+
updatedValues = updatedValues.filter((val) => val !== optionValue);
|
|
258
|
+
} else {
|
|
259
|
+
updatedValues.push(optionValue);
|
|
260
|
+
}
|
|
261
|
+
setCheckedValues(updatedValues);
|
|
262
|
+
const e = { target: { value: updatedValues.toString() } };
|
|
263
|
+
handleQuestionInputChange(e, question);
|
|
264
|
+
};
|
|
265
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
266
|
+
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { id: questionId, className: "pts-root-question pts-checkboxGroup-container", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
190
267
|
"fieldset",
|
|
191
268
|
{
|
|
192
269
|
"aria-required": question.isQuestionMandatory,
|
|
193
270
|
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
194
271
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
195
272
|
children: [
|
|
196
|
-
/* @__PURE__ */ (0,
|
|
273
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("legend", { className: "pts-checkboxGroup-legend", id: `label-${groupId}`, children: [
|
|
197
274
|
question.questionLabel,
|
|
198
275
|
" ",
|
|
199
|
-
question.isQuestionMandatory && /* @__PURE__ */ (0,
|
|
276
|
+
question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
200
277
|
] }),
|
|
201
|
-
(_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ (0,
|
|
202
|
-
/* @__PURE__ */ (0,
|
|
278
|
+
(_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "pts-checkboxGroup-options", children: [
|
|
279
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
203
280
|
"input",
|
|
204
281
|
{
|
|
205
282
|
type: "checkbox",
|
|
@@ -211,17 +288,17 @@ var CheckboxGroup = ({
|
|
|
211
288
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0
|
|
212
289
|
}
|
|
213
290
|
),
|
|
214
|
-
/* @__PURE__ */ (0,
|
|
291
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("label", { htmlFor: `${groupId}-option-${index}`, children: option.label })
|
|
215
292
|
] }, index)),
|
|
216
|
-
question.hasValidationError && /* @__PURE__ */ (0,
|
|
217
|
-
/* @__PURE__ */ (0,
|
|
218
|
-
/* @__PURE__ */ (0,
|
|
219
|
-
/* @__PURE__ */ (0,
|
|
293
|
+
question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
|
|
294
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
295
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
296
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
220
297
|
] })
|
|
221
298
|
]
|
|
222
299
|
}
|
|
223
300
|
) }),
|
|
224
|
-
showPreview && /* @__PURE__ */ (0,
|
|
301
|
+
showPreview && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(PreviewCheckboxGroup, { activatedLanguage, question })
|
|
225
302
|
] });
|
|
226
303
|
};
|
|
227
304
|
var CheckboxGroupStandard_default = CheckboxGroup;
|
|
@@ -231,19 +308,19 @@ var PreviewCheckboxGroup = ({
|
|
|
231
308
|
}) => {
|
|
232
309
|
var _a, _b;
|
|
233
310
|
const previewId = `preview-${question.id}`;
|
|
234
|
-
return /* @__PURE__ */ (0,
|
|
235
|
-
/* @__PURE__ */ (0,
|
|
236
|
-
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */ (0,
|
|
311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
312
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
313
|
+
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("dd", { children: question.options[0].label }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("dd", { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { className: "pts-preview-answer-list", children: (_b = question.options) == null ? void 0 : _b.filter((option) => {
|
|
237
314
|
var _a2;
|
|
238
315
|
return (_a2 = question.answer) == null ? void 0 : _a2.includes(option.label);
|
|
239
|
-
}).map((option, index) => /* @__PURE__ */ (0,
|
|
316
|
+
}).map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("li", { children: option.label }, index)) }) }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No Answer" : "Inget svar" }),
|
|
240
317
|
" "
|
|
241
318
|
] });
|
|
242
319
|
};
|
|
243
320
|
|
|
244
321
|
// src/components/input-components/TextAreaStandard/TextAreaStandard.tsx
|
|
245
322
|
var import_dompurify = __toESM(require("dompurify"));
|
|
246
|
-
var
|
|
323
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
247
324
|
var InputTextarea = ({
|
|
248
325
|
question,
|
|
249
326
|
handleQuestionInputChange,
|
|
@@ -256,19 +333,24 @@ var InputTextarea = ({
|
|
|
256
333
|
const aboutId = `about-${question.id}`;
|
|
257
334
|
const errorId = `error-${question.id}`;
|
|
258
335
|
const defaultMaxLength = 1e3;
|
|
259
|
-
|
|
260
|
-
|
|
336
|
+
const answerLength = (_b = (_a = question.answer) == null ? void 0 : _a.length) != null ? _b : 0;
|
|
337
|
+
const maxLength = (_d = (_c = question.questionExtraAttribute) == null ? void 0 : _c.answerMaxLength) != null ? _d : defaultMaxLength;
|
|
338
|
+
const isTooLong = answerLength > maxLength;
|
|
339
|
+
const counterText = activatedLanguage === "en" ? `${answerLength} of ${maxLength} characters` : `${answerLength} av ${maxLength} tecken`;
|
|
340
|
+
const maxLengthErrorText = activatedLanguage === "en" ? `The text must be ${maxLength} characters or less` : `Texten f\xE5r max vara ${maxLength} tecken`;
|
|
341
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
342
|
+
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
261
343
|
"div",
|
|
262
344
|
{
|
|
263
345
|
id: questionId,
|
|
264
346
|
className: `pts-root-question pts-textArea-container${question.aboutText ? " pts-question-hasAbout" : ""}`,
|
|
265
347
|
children: [
|
|
266
|
-
/* @__PURE__ */ (0,
|
|
348
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("label", { htmlFor: inputId, children: [
|
|
267
349
|
question.questionLabel,
|
|
268
350
|
" ",
|
|
269
|
-
question.isQuestionMandatory && /* @__PURE__ */ (0,
|
|
351
|
+
question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "pts-root-mandatoryAsterisk", "aria-hidden": "true", children: "*" })
|
|
270
352
|
] }),
|
|
271
|
-
question.aboutText && /* @__PURE__ */ (0,
|
|
353
|
+
question.aboutText && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
272
354
|
"div",
|
|
273
355
|
{
|
|
274
356
|
id: aboutId,
|
|
@@ -278,7 +360,7 @@ var InputTextarea = ({
|
|
|
278
360
|
}
|
|
279
361
|
}
|
|
280
362
|
),
|
|
281
|
-
/* @__PURE__ */ (0,
|
|
363
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
282
364
|
"textarea",
|
|
283
365
|
{
|
|
284
366
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0,
|
|
@@ -287,34 +369,25 @@ var InputTextarea = ({
|
|
|
287
369
|
required: question.isQuestionMandatory,
|
|
288
370
|
"aria-required": question.isQuestionMandatory,
|
|
289
371
|
"aria-invalid": question.hasValidationError,
|
|
290
|
-
maxLength: ((_a = question.questionExtraAttribute) == null ? void 0 : _a.answerMaxLength) || defaultMaxLength,
|
|
291
372
|
"aria-describedby": [question.aboutText ? aboutId : null, question.hasValidationError ? errorId : null].filter(Boolean).join(" ") || void 0,
|
|
292
373
|
id: inputId
|
|
293
374
|
}
|
|
294
375
|
),
|
|
295
|
-
/* @__PURE__ */ (0,
|
|
296
|
-
question.hasValidationError && /* @__PURE__ */ (0,
|
|
297
|
-
/* @__PURE__ */ (0,
|
|
298
|
-
/* @__PURE__ */ (0,
|
|
376
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "pts-textarea-counter-error-container", children: [
|
|
377
|
+
!isTooLong && question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
|
|
378
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { "aria-label": "Felmeddelande.", className: "errorDot", children: "!" }),
|
|
379
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
299
380
|
] }),
|
|
300
|
-
|
|
301
|
-
"
|
|
302
|
-
{
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
question.answer ? question.answer.length : 0,
|
|
306
|
-
" av",
|
|
307
|
-
" ",
|
|
308
|
-
((_e = question.questionExtraAttribute) == null ? void 0 : _e.answerMaxLength) || defaultMaxLength,
|
|
309
|
-
" tecken"
|
|
310
|
-
]
|
|
311
|
-
}
|
|
312
|
-
)
|
|
381
|
+
isTooLong && question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
|
|
382
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { "aria-label": "Felmeddelande.", className: "errorDot", children: "!" }),
|
|
383
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "errorText", children: maxLengthErrorText })
|
|
384
|
+
] }),
|
|
385
|
+
!((_e = question.questionExtraAttribute) == null ? void 0 : _e.hideTextCounter) && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { "aria-live": "polite", className: `pts-character-counter`, children: counterText })
|
|
313
386
|
] })
|
|
314
387
|
]
|
|
315
388
|
}
|
|
316
389
|
),
|
|
317
|
-
showPreview && /* @__PURE__ */ (0,
|
|
390
|
+
showPreview && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(PreviewTextarea, { activatedLanguage, question })
|
|
318
391
|
] });
|
|
319
392
|
};
|
|
320
393
|
var TextAreaStandard_default = InputTextarea;
|
|
@@ -324,9 +397,9 @@ var PreviewTextarea = ({
|
|
|
324
397
|
}) => {
|
|
325
398
|
var _a, _b;
|
|
326
399
|
const previewId = `preview-${question.id}`;
|
|
327
|
-
return /* @__PURE__ */ (0,
|
|
328
|
-
/* @__PURE__ */ (0,
|
|
329
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ (0,
|
|
400
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
401
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
402
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("dd", { className: "pts-textArea-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
330
403
|
"dd",
|
|
331
404
|
{
|
|
332
405
|
className: "pts-textArea-preview pts-root-answer no-answer-preview-page",
|
|
@@ -339,32 +412,35 @@ var PreviewTextarea = ({
|
|
|
339
412
|
|
|
340
413
|
// src/components/input-components/TextFieldStandard/TextFieldStandard.tsx
|
|
341
414
|
var import_dompurify2 = __toESM(require("dompurify"));
|
|
342
|
-
var
|
|
415
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
343
416
|
var TextFieldStandard = ({
|
|
344
417
|
question,
|
|
345
418
|
handleQuestionInputChange,
|
|
346
419
|
showPreview = false,
|
|
347
420
|
activatedLanguage
|
|
348
421
|
}) => {
|
|
349
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
422
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
350
423
|
const questionId = `question-${question.id}`;
|
|
351
424
|
const inputId = `textField-${question.id}`;
|
|
352
425
|
const aboutId = `about-${question.id}`;
|
|
353
426
|
const errorId = `error-${question.id}`;
|
|
354
|
-
const
|
|
355
|
-
|
|
356
|
-
|
|
427
|
+
const answerLength = (_b = (_a = question.answer) == null ? void 0 : _a.length) != null ? _b : 0;
|
|
428
|
+
const maxLength = 100;
|
|
429
|
+
const isTooLong = answerLength > maxLength;
|
|
430
|
+
const maxLengthErrorText = activatedLanguage === "en" ? `The text must be ${maxLength} characters or less` : `Texten f\xE5r max vara ${maxLength} tecken`;
|
|
431
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
432
|
+
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
357
433
|
"div",
|
|
358
434
|
{
|
|
359
435
|
id: questionId,
|
|
360
|
-
className: `pts-root-question pts-textField-container${((
|
|
436
|
+
className: `pts-root-question pts-textField-container${((_c = question.questionExtraAttribute) == null ? void 0 : _c.disabled) ? " pts-textField-disabled" : ""}${question.aboutText ? " pts-question-hasAbout" : ""}`.trim(),
|
|
361
437
|
children: [
|
|
362
|
-
/* @__PURE__ */ (0,
|
|
438
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { htmlFor: inputId, children: [
|
|
363
439
|
question.questionLabel,
|
|
364
440
|
" ",
|
|
365
|
-
question.isQuestionMandatory && /* @__PURE__ */ (0,
|
|
441
|
+
question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { "aria-hidden": "true", className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
366
442
|
] }),
|
|
367
|
-
question.aboutText && /* @__PURE__ */ (0,
|
|
443
|
+
question.aboutText && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
368
444
|
"div",
|
|
369
445
|
{
|
|
370
446
|
id: aboutId,
|
|
@@ -374,37 +450,41 @@ var TextFieldStandard = ({
|
|
|
374
450
|
}
|
|
375
451
|
}
|
|
376
452
|
),
|
|
377
|
-
/* @__PURE__ */ (0,
|
|
453
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
378
454
|
"input",
|
|
379
455
|
{
|
|
380
|
-
type: (
|
|
381
|
-
autoComplete: (
|
|
382
|
-
inputMode: (
|
|
456
|
+
type: (_e = (_d = question.questionExtraAttribute) == null ? void 0 : _d.inputType) != null ? _e : "text",
|
|
457
|
+
autoComplete: (_g = (_f = question.questionExtraAttribute) == null ? void 0 : _f.autoComplete) != null ? _g : void 0,
|
|
458
|
+
inputMode: (_i = (_h = question.questionExtraAttribute) == null ? void 0 : _h.inputMode) != null ? _i : void 0,
|
|
383
459
|
name: `question-name-${question.id}`,
|
|
384
460
|
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0,
|
|
385
461
|
onChange: (e) => handleQuestionInputChange(e, question),
|
|
386
462
|
value: question.answer,
|
|
387
|
-
maxLength: ((_h = question.questionExtraAttribute) == null ? void 0 : _h.answerMaxLength) || defaultMaxLength,
|
|
388
463
|
id: inputId,
|
|
389
|
-
disabled: (
|
|
464
|
+
disabled: (_j = question.questionExtraAttribute) == null ? void 0 : _j.disabled,
|
|
390
465
|
required: question.isQuestionMandatory,
|
|
391
466
|
"aria-required": question.isQuestionMandatory,
|
|
392
467
|
"aria-describedby": [question.aboutText ? aboutId : null].filter(Boolean).join(" ") || void 0,
|
|
393
468
|
"aria-invalid": question.hasValidationError,
|
|
394
469
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
395
|
-
spellCheck: (
|
|
396
|
-
autoCapitalize: (
|
|
470
|
+
spellCheck: (_l = (_k = question.questionExtraAttribute) == null ? void 0 : _k.spellCheck) != null ? _l : void 0,
|
|
471
|
+
autoCapitalize: (_n = (_m = question.questionExtraAttribute) == null ? void 0 : _m.autoCapitalize) != null ? _n : void 0
|
|
397
472
|
}
|
|
398
473
|
),
|
|
399
|
-
question.hasValidationError && /* @__PURE__ */ (0,
|
|
400
|
-
/* @__PURE__ */ (0,
|
|
401
|
-
/* @__PURE__ */ (0,
|
|
402
|
-
/* @__PURE__ */ (0,
|
|
474
|
+
!isTooLong && question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
|
|
475
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
476
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
477
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
478
|
+
] }),
|
|
479
|
+
isTooLong && question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
|
|
480
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
481
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
482
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "errorText", children: maxLengthErrorText })
|
|
403
483
|
] })
|
|
404
484
|
]
|
|
405
485
|
}
|
|
406
486
|
),
|
|
407
|
-
showPreview && /* @__PURE__ */ (0,
|
|
487
|
+
showPreview && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(PreviewTextField, { activatedLanguage, question })
|
|
408
488
|
] });
|
|
409
489
|
};
|
|
410
490
|
var TextFieldStandard_default = TextFieldStandard;
|
|
@@ -414,9 +494,9 @@ var PreviewTextField = ({
|
|
|
414
494
|
}) => {
|
|
415
495
|
var _a, _b;
|
|
416
496
|
const previewId = `preview-${question.id}`;
|
|
417
|
-
return /* @__PURE__ */ (0,
|
|
418
|
-
/* @__PURE__ */ (0,
|
|
419
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ (0,
|
|
497
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
498
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
499
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("dd", { className: "pts-textField-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
420
500
|
"dd",
|
|
421
501
|
{
|
|
422
502
|
className: "pts-textField-preview pts-root-answer no-answer-preview-page",
|
|
@@ -428,12 +508,12 @@ var PreviewTextField = ({
|
|
|
428
508
|
};
|
|
429
509
|
|
|
430
510
|
// src/components/input-components/AddFilesStandard/AddFilesStandard.tsx
|
|
431
|
-
var
|
|
511
|
+
var import_react7 = require("react");
|
|
432
512
|
var import_clsx3 = __toESM(require("clsx"));
|
|
433
513
|
|
|
434
514
|
// src/components/input-components/AddFilesStandard/DropFilesStandard.tsx
|
|
435
515
|
var import_react_dropzone = require("react-dropzone");
|
|
436
|
-
var
|
|
516
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
437
517
|
var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h\xE4r", language }) => {
|
|
438
518
|
const onDrop = FilesSelected;
|
|
439
519
|
const { getRootProps, getInputProps, isDragActive } = (0, import_react_dropzone.useDropzone)({ onDrop, noKeyboard: true });
|
|
@@ -441,10 +521,10 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
441
521
|
event.preventDefault();
|
|
442
522
|
event.stopPropagation();
|
|
443
523
|
};
|
|
444
|
-
return /* @__PURE__ */ (0,
|
|
445
|
-
/* @__PURE__ */ (0,
|
|
524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "DropZoneContainer", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "DropZone", ...getRootProps(), onClick: handleFileExplorer, children: [
|
|
525
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("label", { htmlFor: "fileDropInput", hidden: true, children: [
|
|
446
526
|
"Dra och sl\xE4pp filer h\xE4r omr\xE5de",
|
|
447
|
-
/* @__PURE__ */ (0,
|
|
527
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
448
528
|
"input",
|
|
449
529
|
{
|
|
450
530
|
...getInputProps({
|
|
@@ -455,8 +535,8 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
455
535
|
}
|
|
456
536
|
)
|
|
457
537
|
] }),
|
|
458
|
-
isDragActive ? /* @__PURE__ */ (0,
|
|
459
|
-
/* @__PURE__ */ (0,
|
|
538
|
+
isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("b", { className: "dropFilesNowText", children: language === "sv" ? "Sl\xE4pp filerna, nu ...!" : "Drop files here!" }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "DropZone-label-container", children: [
|
|
539
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
460
540
|
"svg",
|
|
461
541
|
{
|
|
462
542
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -464,7 +544,7 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
464
544
|
height: "2.4rem",
|
|
465
545
|
viewBox: "0 0 7 15",
|
|
466
546
|
fill: "#fff",
|
|
467
|
-
children: /* @__PURE__ */ (0,
|
|
547
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
468
548
|
"path",
|
|
469
549
|
{
|
|
470
550
|
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",
|
|
@@ -473,26 +553,26 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
|
|
|
473
553
|
)
|
|
474
554
|
}
|
|
475
555
|
),
|
|
476
|
-
/* @__PURE__ */ (0,
|
|
556
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "dropFilesText", children: DropFilesText })
|
|
477
557
|
] })
|
|
478
558
|
] }) }) });
|
|
479
559
|
};
|
|
480
560
|
var DropFilesStandard_default = DropFiles;
|
|
481
561
|
|
|
482
562
|
// src/components/input-components/AddFilesStandard/ExploreFilesStandard.tsx
|
|
483
|
-
var
|
|
563
|
+
var import_react4 = require("react");
|
|
484
564
|
var import_clsx = __toESM(require("clsx"));
|
|
485
565
|
|
|
486
566
|
// src/components/input-components/AddFilesStandard/ScreenReaderErrors.tsx
|
|
487
|
-
var
|
|
488
|
-
var
|
|
567
|
+
var import_react3 = __toESM(require("react"));
|
|
568
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
489
569
|
var ScreenReaderErrors = ({
|
|
490
570
|
errorMessageAddingFile,
|
|
491
571
|
activatedLanguage
|
|
492
572
|
}) => {
|
|
493
|
-
const [activateErrorMessagesForScreenReader, setActivateErrorMessagesForScreenReader] =
|
|
494
|
-
const [errorMessagesForScreenReader, setErrorMessagesForScreenReader] =
|
|
495
|
-
|
|
573
|
+
const [activateErrorMessagesForScreenReader, setActivateErrorMessagesForScreenReader] = import_react3.default.useState(false);
|
|
574
|
+
const [errorMessagesForScreenReader, setErrorMessagesForScreenReader] = import_react3.default.useState("");
|
|
575
|
+
import_react3.default.useEffect(() => {
|
|
496
576
|
if (errorMessageAddingFile.length > 0) {
|
|
497
577
|
let errorMessages = "";
|
|
498
578
|
errorMessages += errorMessageAddingFile.length;
|
|
@@ -504,12 +584,12 @@ var ScreenReaderErrors = ({
|
|
|
504
584
|
setActivateErrorMessagesForScreenReader(true);
|
|
505
585
|
}
|
|
506
586
|
}, [errorMessageAddingFile]);
|
|
507
|
-
return /* @__PURE__ */ (0,
|
|
587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: activateErrorMessagesForScreenReader && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { role: "alert", className: "sr-only", "aria-atomic": "true", children: errorMessagesForScreenReader }) });
|
|
508
588
|
};
|
|
509
589
|
var ScreenReaderErrors_default = ScreenReaderErrors;
|
|
510
590
|
|
|
511
591
|
// src/components/input-components/AddFilesStandard/ExploreFilesStandard.tsx
|
|
512
|
-
var
|
|
592
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
513
593
|
var ExploreFiles = ({
|
|
514
594
|
FilesSelected,
|
|
515
595
|
numberOfFiles,
|
|
@@ -523,8 +603,8 @@ var ExploreFiles = ({
|
|
|
523
603
|
showErrors,
|
|
524
604
|
errorMessageAddingFile
|
|
525
605
|
}) => {
|
|
526
|
-
const fileInputRef = (0,
|
|
527
|
-
const buttonInputRef = (0,
|
|
606
|
+
const fileInputRef = (0, import_react4.useRef)(null);
|
|
607
|
+
const buttonInputRef = (0, import_react4.useRef)(null);
|
|
528
608
|
const handleFiles = (event) => {
|
|
529
609
|
const files = Array.from(event.target.files || []);
|
|
530
610
|
FilesSelected(files);
|
|
@@ -536,8 +616,8 @@ var ExploreFiles = ({
|
|
|
536
616
|
};
|
|
537
617
|
let addFilesInfoText = numberOfFiles > 0 ? activatedLanguage === "sv" ? `${numberOfFiles} filer valda (max ${allowedNumberOfFiles})` : `${numberOfFiles} files chosed (max ${allowedNumberOfFiles})` : activatedLanguage === "sv" ? "Ingen fil vald" : "No file chosen";
|
|
538
618
|
const ariaLabelText = `${activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`;
|
|
539
|
-
return /* @__PURE__ */ (0,
|
|
540
|
-
/* @__PURE__ */ (0,
|
|
619
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "inputContainer", children: [
|
|
620
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
541
621
|
"div",
|
|
542
622
|
{
|
|
543
623
|
className: (0, import_clsx.default)(
|
|
@@ -547,7 +627,7 @@ var ExploreFiles = ({
|
|
|
547
627
|
),
|
|
548
628
|
id: labelId,
|
|
549
629
|
children: [
|
|
550
|
-
/* @__PURE__ */ (0,
|
|
630
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
551
631
|
"button",
|
|
552
632
|
{
|
|
553
633
|
ref: buttonInputRef,
|
|
@@ -562,12 +642,12 @@ var ExploreFiles = ({
|
|
|
562
642
|
children: activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"
|
|
563
643
|
}
|
|
564
644
|
),
|
|
565
|
-
/* @__PURE__ */ (0,
|
|
566
|
-
/* @__PURE__ */ (0,
|
|
645
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText }),
|
|
646
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("label", { htmlFor: inputId, "aria-hidden": true, className: "invisible" })
|
|
567
647
|
]
|
|
568
648
|
}
|
|
569
649
|
),
|
|
570
|
-
/* @__PURE__ */ (0,
|
|
650
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
571
651
|
"input",
|
|
572
652
|
{
|
|
573
653
|
"aria-hidden": true,
|
|
@@ -580,7 +660,7 @@ var ExploreFiles = ({
|
|
|
580
660
|
id: inputId
|
|
581
661
|
}
|
|
582
662
|
),
|
|
583
|
-
/* @__PURE__ */ (0,
|
|
663
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
584
664
|
ScreenReaderErrors_default,
|
|
585
665
|
{
|
|
586
666
|
errorMessageAddingFile,
|
|
@@ -592,22 +672,22 @@ var ExploreFiles = ({
|
|
|
592
672
|
var ExploreFilesStandard_default = ExploreFiles;
|
|
593
673
|
|
|
594
674
|
// src/components/input-components/AddFilesStandard/SelectedFilesStandard.tsx
|
|
595
|
-
var
|
|
675
|
+
var import_react6 = __toESM(require("react"));
|
|
596
676
|
var import_react_bootstrap = require("react-bootstrap");
|
|
597
677
|
|
|
598
678
|
// src/components/input-components/AddFilesStandard/IndicatorStandard.tsx
|
|
599
|
-
var
|
|
679
|
+
var import_react5 = require("react");
|
|
600
680
|
var import_clsx2 = __toESM(require("clsx"));
|
|
601
|
-
var
|
|
681
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
602
682
|
var Indicator = (filename) => {
|
|
603
|
-
const [uploadPercentage, setUploadPercentage] = (0,
|
|
604
|
-
const [uploadDone, setUploadDone] = (0,
|
|
605
|
-
return /* @__PURE__ */ (0,
|
|
683
|
+
const [uploadPercentage, setUploadPercentage] = (0, import_react5.useState)(0);
|
|
684
|
+
const [uploadDone, setUploadDone] = (0, import_react5.useState)(false);
|
|
685
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: (0, import_clsx2.default)("uploadIndicator", "uploadDone") }) });
|
|
606
686
|
};
|
|
607
687
|
var IndicatorStandard_default = Indicator;
|
|
608
688
|
|
|
609
689
|
// src/components/input-components/AddFilesStandard/SelectedFilesStandard.tsx
|
|
610
|
-
var
|
|
690
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
611
691
|
var SelectedFiles = ({
|
|
612
692
|
questionObject,
|
|
613
693
|
isTouched,
|
|
@@ -620,7 +700,7 @@ var SelectedFiles = ({
|
|
|
620
700
|
setNumberOfFiles,
|
|
621
701
|
removeUploadErrors
|
|
622
702
|
}) => {
|
|
623
|
-
const theDiv = (0,
|
|
703
|
+
const theDiv = (0, import_react6.useRef)(null);
|
|
624
704
|
const remove = (file) => {
|
|
625
705
|
let newFiles = questionObject.files.filter((f) => f !== file);
|
|
626
706
|
const newCountOfFiles = newFiles.length;
|
|
@@ -629,13 +709,13 @@ var SelectedFiles = ({
|
|
|
629
709
|
isTouched(e, questionObject);
|
|
630
710
|
removeFile(newCountOfFiles);
|
|
631
711
|
};
|
|
632
|
-
(0,
|
|
712
|
+
(0, import_react6.useEffect)(() => {
|
|
633
713
|
var _a;
|
|
634
714
|
numberOfFiles > 0 && ((_a = theDiv.current) == null ? void 0 : _a.scrollIntoView({ behavior: "smooth", block: "end" }));
|
|
635
715
|
}, [numberOfFiles]);
|
|
636
716
|
const useWindowWidth = () => {
|
|
637
|
-
const [windowWidth2, setWindowWidth] = (0,
|
|
638
|
-
(0,
|
|
717
|
+
const [windowWidth2, setWindowWidth] = (0, import_react6.useState)(window.innerWidth);
|
|
718
|
+
(0, import_react6.useEffect)(() => {
|
|
639
719
|
const handleResize = () => {
|
|
640
720
|
setWindowWidth(window.innerWidth);
|
|
641
721
|
};
|
|
@@ -647,10 +727,10 @@ var SelectedFiles = ({
|
|
|
647
727
|
return windowWidth2;
|
|
648
728
|
};
|
|
649
729
|
const windowWidth = useWindowWidth();
|
|
650
|
-
return /* @__PURE__ */ (0,
|
|
651
|
-
/* @__PURE__ */ (0,
|
|
652
|
-
/* @__PURE__ */ (0,
|
|
653
|
-
/* @__PURE__ */ (0,
|
|
730
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
|
731
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: errorMessageAddingFile.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "pts-errorSummary-container pts-addFile-error-container", children: [
|
|
732
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
|
|
733
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "addFile-error-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("ul", { "aria-hidden": true, className: "fileListUnorderedList", id: "errorSummary-ul", children: [
|
|
654
734
|
" ",
|
|
655
735
|
errorMessageAddingFile.map((errorObj, index) => {
|
|
656
736
|
const errorFileName = errorObj.FileName;
|
|
@@ -658,9 +738,9 @@ var SelectedFiles = ({
|
|
|
658
738
|
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
659
739
|
const fileType = errorObj.FileName.split(".").pop();
|
|
660
740
|
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
661
|
-
return /* @__PURE__ */ (0,
|
|
662
|
-
/* @__PURE__ */ (0,
|
|
663
|
-
/* @__PURE__ */ (0,
|
|
741
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react6.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "fileInListContainer", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "fileInList", children: [
|
|
742
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Row, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Col, { children: windowWidth < 768 ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "mobileFirstFileName", children: mobileFirstFileName }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "desktopFileName", children: errorObj.FileName }) }) }),
|
|
743
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Row, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
664
744
|
import_react_bootstrap.Col,
|
|
665
745
|
{
|
|
666
746
|
className: "errorMessageAddingFile",
|
|
@@ -675,7 +755,7 @@ var SelectedFiles = ({
|
|
|
675
755
|
] }, index) }) }) }, `error-${errorObj.FileName}-${index}`) });
|
|
676
756
|
})
|
|
677
757
|
] }) }),
|
|
678
|
-
/* @__PURE__ */ (0,
|
|
758
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "addFile-error-close-button", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
679
759
|
"button",
|
|
680
760
|
{
|
|
681
761
|
className: "selectedFilesLinkButton error-close",
|
|
@@ -683,7 +763,7 @@ var SelectedFiles = ({
|
|
|
683
763
|
removeError();
|
|
684
764
|
},
|
|
685
765
|
"aria-label": activatedLanguage === "sv" ? `St\xE4ng felmeddelande` : `Close error message`,
|
|
686
|
-
children: /* @__PURE__ */ (0,
|
|
766
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
687
767
|
"svg",
|
|
688
768
|
{
|
|
689
769
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -691,7 +771,7 @@ var SelectedFiles = ({
|
|
|
691
771
|
height: "14",
|
|
692
772
|
viewBox: "0 0 14 14",
|
|
693
773
|
fill: "none",
|
|
694
|
-
children: /* @__PURE__ */ (0,
|
|
774
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
695
775
|
"path",
|
|
696
776
|
{
|
|
697
777
|
d: "M0.75 12.75L12.75 0.75M0.75 0.75L12.75 12.75",
|
|
@@ -705,15 +785,15 @@ var SelectedFiles = ({
|
|
|
705
785
|
}
|
|
706
786
|
) })
|
|
707
787
|
] }) }),
|
|
708
|
-
questionObject.files.length > 0 && /* @__PURE__ */ (0,
|
|
788
|
+
questionObject.files.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("ul", { className: "fileListUnorderedList", "aria-label": "Uppladdade filer", children: questionObject.files.map((file, index) => {
|
|
709
789
|
const indicatorfileName = file.FileName;
|
|
710
790
|
let mobileFirstFileName = file.FileName.split(".").shift();
|
|
711
791
|
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
712
792
|
const fileType = file.FileName.split(".").pop();
|
|
713
793
|
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
714
|
-
return /* @__PURE__ */ (0,
|
|
715
|
-
/* @__PURE__ */ (0,
|
|
716
|
-
/* @__PURE__ */ (0,
|
|
794
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react6.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "fileInListContainer", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "fileInList", children: [
|
|
795
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "fileItem", children: [
|
|
796
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Col, { style: { maxWidth: "30px" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { "aria-hidden": "true", className: "uploadedDot", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
717
797
|
"svg",
|
|
718
798
|
{
|
|
719
799
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -721,7 +801,7 @@ var SelectedFiles = ({
|
|
|
721
801
|
height: "8",
|
|
722
802
|
viewBox: "0 0 8 8",
|
|
723
803
|
fill: "none",
|
|
724
|
-
children: /* @__PURE__ */ (0,
|
|
804
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
725
805
|
"path",
|
|
726
806
|
{
|
|
727
807
|
d: "M1 4.65913L2.8 6.45913L7 1.35913",
|
|
@@ -732,20 +812,20 @@ var SelectedFiles = ({
|
|
|
732
812
|
)
|
|
733
813
|
}
|
|
734
814
|
) }) }),
|
|
735
|
-
/* @__PURE__ */ (0,
|
|
815
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Col, { children: windowWidth < 768 ? /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "mobileFirstFileName", children: [
|
|
736
816
|
mobileFirstFileName,
|
|
737
817
|
" (",
|
|
738
818
|
Math.ceil(file.FileSize / (1024 * 1024)),
|
|
739
819
|
" ",
|
|
740
820
|
"MB)"
|
|
741
|
-
] }) : /* @__PURE__ */ (0,
|
|
821
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "desktopFileName", children: [
|
|
742
822
|
file.FileName,
|
|
743
823
|
" (",
|
|
744
|
-
/* @__PURE__ */ (0,
|
|
824
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "fileSizeText", children: file.FileSize < 1024 * 1024 ? `${Math.round(file.FileSize / 1024)} kB` : `${(file.FileSize / (1024 * 1024)).toFixed(1)} MB` }),
|
|
745
825
|
" ",
|
|
746
826
|
")"
|
|
747
827
|
] }) }),
|
|
748
|
-
/* @__PURE__ */ (0,
|
|
828
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Col, { className: "lastCol", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
749
829
|
"button",
|
|
750
830
|
{
|
|
751
831
|
className: "selectedFilesLinkButton",
|
|
@@ -755,17 +835,17 @@ var SelectedFiles = ({
|
|
|
755
835
|
}
|
|
756
836
|
) })
|
|
757
837
|
] }),
|
|
758
|
-
showIndicator && /* @__PURE__ */ (0,
|
|
759
|
-
/* @__PURE__ */ (0,
|
|
838
|
+
showIndicator && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Row, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Col, { style: { width: "100%", padding: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IndicatorStandard_default, { filename: indicatorfileName }) }) }),
|
|
839
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Row, { style: { marginTop: "12px", marginBottom: "12px" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Col, { className: "makeSpace" }) })
|
|
760
840
|
] }, index) }) }) }, `file-${file.FileName}-${index}`) });
|
|
761
841
|
}) }),
|
|
762
|
-
/* @__PURE__ */ (0,
|
|
842
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { ref: theDiv, className: "pts-clipboard-container" })
|
|
763
843
|
] });
|
|
764
844
|
};
|
|
765
845
|
var SelectedFilesStandard_default = SelectedFiles;
|
|
766
846
|
|
|
767
847
|
// src/components/input-components/AddFilesStandard/AddFilesStandard.tsx
|
|
768
|
-
var
|
|
848
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
769
849
|
var AddFiles = ({
|
|
770
850
|
questionObject,
|
|
771
851
|
handleQuestionInputChange = (e, questionObject2) => {
|
|
@@ -803,24 +883,24 @@ var AddFiles = ({
|
|
|
803
883
|
const errorId = `error-${questionObject.id}`;
|
|
804
884
|
const labelId = `label-${questionObject.id}`;
|
|
805
885
|
const maxSizeMB = Math.round(allowedTotalFileSize / 1048576);
|
|
806
|
-
const [numberOfFiles, setNumberOfFiles] = (0,
|
|
807
|
-
const [totalFileSize, setTotalFileSize] = (0,
|
|
808
|
-
const [errorMessageAddingFile, setErrorMessageAddingFile] = (0,
|
|
809
|
-
const [newFiles, setNewFiles] = (0,
|
|
810
|
-
const [dropFilesText, setDropFilesText] = (0,
|
|
811
|
-
(0,
|
|
886
|
+
const [numberOfFiles, setNumberOfFiles] = (0, import_react7.useState)(0);
|
|
887
|
+
const [totalFileSize, setTotalFileSize] = (0, import_react7.useState)(0);
|
|
888
|
+
const [errorMessageAddingFile, setErrorMessageAddingFile] = (0, import_react7.useState)([]);
|
|
889
|
+
const [newFiles, setNewFiles] = (0, import_react7.useState)([]);
|
|
890
|
+
const [dropFilesText, setDropFilesText] = (0, import_react7.useState)("Dra och sl\xE4pp dina filer h\xE4r");
|
|
891
|
+
(0, import_react7.useEffect)(() => {
|
|
812
892
|
if (activatedLanguage === "sv") {
|
|
813
893
|
setDropFilesText("Dra och sl\xE4pp dina filer h\xE4r");
|
|
814
894
|
} else {
|
|
815
895
|
setDropFilesText("Drag and drop your files here");
|
|
816
896
|
}
|
|
817
897
|
}, [activatedLanguage]);
|
|
818
|
-
(0,
|
|
898
|
+
(0, import_react7.useEffect)(() => {
|
|
819
899
|
if (questionObject.files && questionObject.files.length > 0) {
|
|
820
900
|
setNumberOfFiles(questionObject.files.length);
|
|
821
901
|
}
|
|
822
902
|
}, []);
|
|
823
|
-
const onDrop = (0,
|
|
903
|
+
const onDrop = (0, import_react7.useCallback)(
|
|
824
904
|
(acceptedFiles) => {
|
|
825
905
|
var _a, _b, _c;
|
|
826
906
|
const validationErrors = [];
|
|
@@ -910,7 +990,7 @@ var AddFiles = ({
|
|
|
910
990
|
reader.readAsDataURL(file);
|
|
911
991
|
});
|
|
912
992
|
};
|
|
913
|
-
(0,
|
|
993
|
+
(0, import_react7.useEffect)(() => {
|
|
914
994
|
if (newFiles.length > 0) {
|
|
915
995
|
const currentFiles = questionObject.files ? questionObject.files : [];
|
|
916
996
|
const e = {
|
|
@@ -937,9 +1017,9 @@ var AddFiles = ({
|
|
|
937
1017
|
const handleRemoveErrors = () => {
|
|
938
1018
|
setErrorMessageAddingFile([]);
|
|
939
1019
|
};
|
|
940
|
-
return /* @__PURE__ */ (0,
|
|
941
|
-
!showPreview && visible && /* @__PURE__ */ (0,
|
|
942
|
-
questionObject.aboutText && /* @__PURE__ */ (0,
|
|
1020
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
1021
|
+
!showPreview && visible && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "root-question addFile-question-container", id: `question-${questionObject.id}`, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { role: "group", children: [
|
|
1022
|
+
questionObject.aboutText && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
943
1023
|
"p",
|
|
944
1024
|
{
|
|
945
1025
|
id: aboutId,
|
|
@@ -949,19 +1029,19 @@ var AddFiles = ({
|
|
|
949
1029
|
),
|
|
950
1030
|
children: [
|
|
951
1031
|
questionObject.aboutText,
|
|
952
|
-
questionObject.isQuestionMandatory && /* @__PURE__ */ (0,
|
|
1032
|
+
questionObject.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "pts-root-mandatoryAsterisk", "aria-label": "Obligatorisk fr\xE5ga", children: [
|
|
953
1033
|
" ",
|
|
954
1034
|
"*"
|
|
955
1035
|
] })
|
|
956
1036
|
]
|
|
957
1037
|
}
|
|
958
1038
|
),
|
|
959
|
-
questionObject.hasValidationError && /* @__PURE__ */ (0,
|
|
960
|
-
/* @__PURE__ */ (0,
|
|
961
|
-
/* @__PURE__ */ (0,
|
|
962
|
-
/* @__PURE__ */ (0,
|
|
1039
|
+
questionObject.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "pts-root-error error addfileserror", id: errorId, children: [
|
|
1040
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
1041
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
1042
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "errorText", children: questionObject.validationDefaultMessesege })
|
|
963
1043
|
] }),
|
|
964
|
-
/* @__PURE__ */ (0,
|
|
1044
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
965
1045
|
ExploreFilesStandard_default,
|
|
966
1046
|
{
|
|
967
1047
|
FilesSelected: onDrop,
|
|
@@ -977,7 +1057,7 @@ var AddFiles = ({
|
|
|
977
1057
|
removeUploadErrors: handleRemoveErrors
|
|
978
1058
|
}
|
|
979
1059
|
),
|
|
980
|
-
/* @__PURE__ */ (0,
|
|
1060
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
981
1061
|
DropFilesStandard_default,
|
|
982
1062
|
{
|
|
983
1063
|
FilesSelected: onDrop,
|
|
@@ -985,7 +1065,7 @@ var AddFiles = ({
|
|
|
985
1065
|
language: activatedLanguage
|
|
986
1066
|
}
|
|
987
1067
|
),
|
|
988
|
-
/* @__PURE__ */ (0,
|
|
1068
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
989
1069
|
SelectedFilesStandard_default,
|
|
990
1070
|
{
|
|
991
1071
|
questionObject,
|
|
@@ -1000,7 +1080,7 @@ var AddFiles = ({
|
|
|
1000
1080
|
}
|
|
1001
1081
|
)
|
|
1002
1082
|
] }) }),
|
|
1003
|
-
showPreview && /* @__PURE__ */ (0,
|
|
1083
|
+
showPreview && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PreviewAddFiles, { activatedLanguage, questionObject })
|
|
1004
1084
|
] });
|
|
1005
1085
|
};
|
|
1006
1086
|
var AddFilesStandard_default = AddFiles;
|
|
@@ -1009,17 +1089,17 @@ var PreviewAddFiles = ({
|
|
|
1009
1089
|
activatedLanguage
|
|
1010
1090
|
}) => {
|
|
1011
1091
|
const previewId = `preview-${questionObject.Id}`;
|
|
1012
|
-
return /* @__PURE__ */ (0,
|
|
1013
|
-
/* @__PURE__ */ (0,
|
|
1014
|
-
questionObject.files && questionObject.files.length > 0 ? /* @__PURE__ */ (0,
|
|
1015
|
-
return /* @__PURE__ */ (0,
|
|
1016
|
-
}) }) }) : /* @__PURE__ */ (0,
|
|
1092
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
1093
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dt", { id: `question-${previewId}`, children: questionObject.questionLabel ? questionObject.questionLabel : activatedLanguage === "en" ? "Attached files" : "Bifogade filer" }),
|
|
1094
|
+
questionObject.files && questionObject.files.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dd", { className: "pts-addFiles-answer", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("ul", { "aria-labelledby": previewId, className: "pts-preview-answer-list", children: questionObject.files.map((file, index) => {
|
|
1095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("li", { children: file.FileName }, `file-${index}-${file.FileName}`);
|
|
1096
|
+
}) }) }) : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No attached files" : "Inga bifogade filer" })
|
|
1017
1097
|
] });
|
|
1018
1098
|
};
|
|
1019
1099
|
|
|
1020
1100
|
// src/components/input-components/SingleCheckboxStandard/SingleCheckboxStandard.tsx
|
|
1021
|
-
var
|
|
1022
|
-
var
|
|
1101
|
+
var import_react8 = require("react");
|
|
1102
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1023
1103
|
var SingleCheckbox = ({
|
|
1024
1104
|
question,
|
|
1025
1105
|
handleQuestionInputChange,
|
|
@@ -1031,8 +1111,8 @@ var SingleCheckbox = ({
|
|
|
1031
1111
|
const inputId = `checkbox-${question.id}`;
|
|
1032
1112
|
const aboutId = `about-${question.id}`;
|
|
1033
1113
|
const errorId = `error-${question.id}`;
|
|
1034
|
-
const [checked, setChecked] = (0,
|
|
1035
|
-
(0,
|
|
1114
|
+
const [checked, setChecked] = (0, import_react8.useState)(false);
|
|
1115
|
+
(0, import_react8.useEffect)(() => {
|
|
1036
1116
|
if (question.answer && question.answer === "true") {
|
|
1037
1117
|
setChecked(true);
|
|
1038
1118
|
} else {
|
|
@@ -1045,10 +1125,10 @@ var SingleCheckbox = ({
|
|
|
1045
1125
|
const e = { target: { value: answer } };
|
|
1046
1126
|
handleQuestionInputChange(e, question);
|
|
1047
1127
|
};
|
|
1048
|
-
return /* @__PURE__ */ (0,
|
|
1049
|
-
!showPreview && question.visible && /* @__PURE__ */ (0,
|
|
1050
|
-
/* @__PURE__ */ (0,
|
|
1051
|
-
/* @__PURE__ */ (0,
|
|
1128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
|
|
1129
|
+
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { id: questionId, className: "pts-root-question pts-singleCheckbox-container", children: [
|
|
1130
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "pts-singleCheckbox-row", children: [
|
|
1131
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1052
1132
|
"input",
|
|
1053
1133
|
{
|
|
1054
1134
|
type: "checkbox",
|
|
@@ -1066,11 +1146,11 @@ var SingleCheckbox = ({
|
|
|
1066
1146
|
"aria-errormessage": question.hasValidationError ? errorId : void 0
|
|
1067
1147
|
}
|
|
1068
1148
|
),
|
|
1069
|
-
/* @__PURE__ */ (0,
|
|
1070
|
-
question.isQuestionMandatory && /* @__PURE__ */ (0,
|
|
1149
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("label", { htmlFor: `${inputId}`, children: question.questionLabel }),
|
|
1150
|
+
question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
1071
1151
|
" "
|
|
1072
1152
|
] }),
|
|
1073
|
-
question.aboutText && /* @__PURE__ */ (0,
|
|
1153
|
+
question.aboutText && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1074
1154
|
"div",
|
|
1075
1155
|
{
|
|
1076
1156
|
id: aboutId,
|
|
@@ -1079,15 +1159,15 @@ var SingleCheckbox = ({
|
|
|
1079
1159
|
}
|
|
1080
1160
|
),
|
|
1081
1161
|
" ",
|
|
1082
|
-
question.hasValidationError && /* @__PURE__ */ (0,
|
|
1083
|
-
/* @__PURE__ */ (0,
|
|
1084
|
-
/* @__PURE__ */ (0,
|
|
1085
|
-
/* @__PURE__ */ (0,
|
|
1162
|
+
question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
|
|
1163
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
1164
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
1165
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
1086
1166
|
] }),
|
|
1087
1167
|
" "
|
|
1088
1168
|
] }),
|
|
1089
1169
|
" ",
|
|
1090
|
-
showPreview && /* @__PURE__ */ (0,
|
|
1170
|
+
showPreview && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PreviewSingleCheckbox, { activatedLanguage, question })
|
|
1091
1171
|
] });
|
|
1092
1172
|
};
|
|
1093
1173
|
var SingleCheckboxStandard_default = SingleCheckbox;
|
|
@@ -1095,174 +1175,25 @@ var PreviewSingleCheckbox = ({
|
|
|
1095
1175
|
question,
|
|
1096
1176
|
activatedLanguage
|
|
1097
1177
|
}) => {
|
|
1098
|
-
var _a, _b;
|
|
1099
|
-
const previewId = `preview-${question.id}`;
|
|
1100
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
1101
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
1102
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dd", { className: "pts-singleCheckbox-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer === "false" ? activatedLanguage === "sv" ? "Nej" : "No" : activatedLanguage === "sv" ? "Ja" : "Yes" }) : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1103
|
-
"dd",
|
|
1104
|
-
{
|
|
1105
|
-
className: "pts-singleCheckbox-preview pts-root-answer",
|
|
1106
|
-
id: `answer-${previewId}`,
|
|
1107
|
-
children: activatedLanguage === "sv" ? "Nej" : "No"
|
|
1108
|
-
}
|
|
1109
|
-
)
|
|
1110
|
-
] });
|
|
1111
|
-
};
|
|
1112
|
-
|
|
1113
|
-
// src/components/input-components/DropdownStandard/DropdownStandard.tsx
|
|
1114
|
-
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1115
|
-
var CustomDropdownStandard = ({
|
|
1116
|
-
question,
|
|
1117
|
-
handleQuestionInputChange,
|
|
1118
|
-
showPreview = false,
|
|
1119
|
-
activatedLanguage = "sv"
|
|
1120
|
-
}) => {
|
|
1121
|
-
var _a;
|
|
1122
|
-
const questionId = `question-${question.id}`;
|
|
1123
|
-
const selectId = `select-${question.id}`;
|
|
1124
|
-
const errorId = `error-${question.id}`;
|
|
1125
|
-
const handleInputChange = (event) => {
|
|
1126
|
-
const e = { target: { value: event.target.value } };
|
|
1127
|
-
handleQuestionInputChange(e, question);
|
|
1128
|
-
};
|
|
1129
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
|
|
1130
|
-
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "pts-root-question pts-dropdown-container", id: questionId, children: [
|
|
1131
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("label", { htmlFor: selectId, children: [
|
|
1132
|
-
question.questionLabel,
|
|
1133
|
-
" ",
|
|
1134
|
-
question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
1135
|
-
] }),
|
|
1136
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
1137
|
-
"select",
|
|
1138
|
-
{
|
|
1139
|
-
id: selectId,
|
|
1140
|
-
name: `name-${question.id}`,
|
|
1141
|
-
value: question.answer || "",
|
|
1142
|
-
onChange: handleInputChange,
|
|
1143
|
-
"aria-required": question.isQuestionMandatory,
|
|
1144
|
-
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
1145
|
-
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
1146
|
-
children: [
|
|
1147
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("option", { value: "", children: activatedLanguage === "en" ? "Select an option" : "V\xE4lj alternativ" }),
|
|
1148
|
-
(_a = question.options) == null ? void 0 : _a.map((option, index) => {
|
|
1149
|
-
if (option.value === question.answer) {
|
|
1150
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("option", { value: option.value, selected: true, children: option.label }, index);
|
|
1151
|
-
} else {
|
|
1152
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("option", { value: option.value, children: option.label }, index);
|
|
1153
|
-
}
|
|
1154
|
-
})
|
|
1155
|
-
]
|
|
1156
|
-
}
|
|
1157
|
-
),
|
|
1158
|
-
question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
|
|
1159
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
1160
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
1161
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "errorText", children: question.validationDefaultMessesege })
|
|
1162
|
-
] })
|
|
1163
|
-
] }),
|
|
1164
|
-
showPreview && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PreviewDropdown, { question })
|
|
1165
|
-
] });
|
|
1166
|
-
};
|
|
1167
|
-
var DropdownStandard_default = CustomDropdownStandard;
|
|
1168
|
-
var PreviewDropdown = ({ question, activatedLanguage = "sv" }) => {
|
|
1169
1178
|
var _a, _b;
|
|
1170
1179
|
const previewId = `preview-${question.id}`;
|
|
1171
1180
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
|
|
1172
1181
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
1173
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("dd", { className: "pts-
|
|
1182
|
+
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("dd", { className: "pts-singleCheckbox-preview pts-root-answer", id: `answer-${previewId}`, children: question.answer === "false" ? activatedLanguage === "sv" ? "Nej" : "No" : activatedLanguage === "sv" ? "Ja" : "Yes" }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1174
1183
|
"dd",
|
|
1175
1184
|
{
|
|
1176
|
-
className: "pts-
|
|
1185
|
+
className: "pts-singleCheckbox-preview pts-root-answer",
|
|
1177
1186
|
id: `answer-${previewId}`,
|
|
1178
|
-
children: activatedLanguage === "
|
|
1187
|
+
children: activatedLanguage === "sv" ? "Nej" : "No"
|
|
1179
1188
|
}
|
|
1180
1189
|
)
|
|
1181
1190
|
] });
|
|
1182
1191
|
};
|
|
1183
1192
|
|
|
1184
|
-
// src/components/input-components/MultipleCheckboxesStandard/MultipleCheckboxesStandard.tsx
|
|
1185
|
-
var import_react8 = require("react");
|
|
1186
|
-
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1187
|
-
var MultipleCheckboxes = ({
|
|
1188
|
-
question,
|
|
1189
|
-
handleQuestionInputChange,
|
|
1190
|
-
showPreview = false,
|
|
1191
|
-
activatedLanguage = "sv"
|
|
1192
|
-
}) => {
|
|
1193
|
-
var _a;
|
|
1194
|
-
const questionId = `question-${question.id}`;
|
|
1195
|
-
const [checkedValues, setCheckedValues] = (0, import_react8.useState)([]);
|
|
1196
|
-
(0, import_react8.useEffect)(() => {
|
|
1197
|
-
var _a2;
|
|
1198
|
-
const initialValues = ((_a2 = question.options) == null ? void 0 : _a2.filter((option) => {
|
|
1199
|
-
var _a3;
|
|
1200
|
-
return (_a3 = question.answer) == null ? void 0 : _a3.includes(option.label);
|
|
1201
|
-
}).map((option) => option.label)) || [];
|
|
1202
|
-
console.log("Initial values:", initialValues);
|
|
1203
|
-
setCheckedValues(initialValues);
|
|
1204
|
-
}, [question.answer, question.options]);
|
|
1205
|
-
const handleInputChange = (event, optionValue) => {
|
|
1206
|
-
let updatedValues = [...checkedValues];
|
|
1207
|
-
if (updatedValues.includes(optionValue)) {
|
|
1208
|
-
updatedValues = updatedValues.filter((val) => val !== optionValue);
|
|
1209
|
-
} else {
|
|
1210
|
-
updatedValues.push(optionValue);
|
|
1211
|
-
}
|
|
1212
|
-
setCheckedValues(updatedValues);
|
|
1213
|
-
const e = { target: { value: updatedValues.toString() } };
|
|
1214
|
-
handleQuestionInputChange(e, question);
|
|
1215
|
-
};
|
|
1216
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
|
1217
|
-
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { id: questionId, className: "pts-root-question pts-multipleCheckboxes-container", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("fieldset", { children: [
|
|
1218
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("legend", { className: "multipleCheckboxes-legend", id: `label-${questionId}`, children: [
|
|
1219
|
-
question.questionLabel,
|
|
1220
|
-
" ",
|
|
1221
|
-
question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
1222
|
-
" "
|
|
1223
|
-
] }),
|
|
1224
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("ul", { children: (_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
|
1225
|
-
" ",
|
|
1226
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1227
|
-
"input",
|
|
1228
|
-
{
|
|
1229
|
-
type: "checkbox",
|
|
1230
|
-
name: `${question.id}-option`,
|
|
1231
|
-
id: `${question.id}-option-${index}`,
|
|
1232
|
-
value: option.label,
|
|
1233
|
-
checked: checkedValues.includes(option.label),
|
|
1234
|
-
onChange: (e) => handleInputChange(e, option.label),
|
|
1235
|
-
className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0
|
|
1236
|
-
}
|
|
1237
|
-
),
|
|
1238
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("label", { htmlFor: `${question.id}-option-${index}`, children: option.label })
|
|
1239
|
-
] }) }, index)) })
|
|
1240
|
-
] }) }),
|
|
1241
|
-
" ",
|
|
1242
|
-
showPreview && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(PrevieMultipleCheckboxes, { activatedLanguage, question })
|
|
1243
|
-
] });
|
|
1244
|
-
};
|
|
1245
|
-
var MultipleCheckboxesStandard_default = MultipleCheckboxes;
|
|
1246
|
-
var PrevieMultipleCheckboxes = ({
|
|
1247
|
-
question,
|
|
1248
|
-
activatedLanguage
|
|
1249
|
-
}) => {
|
|
1250
|
-
var _a, _b;
|
|
1251
|
-
const previewId = `preview-${question.id}`;
|
|
1252
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
|
1253
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("dt", { id: `question-${previewId}`, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
1254
|
-
question.answer ? question.options && question.options.length === 1 ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("dd", { children: question.options[0].label }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("dd", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("ul", { className: "pts-preview-answer-list", children: (_b = question.options) == null ? void 0 : _b.filter((option) => {
|
|
1255
|
-
var _a2;
|
|
1256
|
-
return (_a2 = question.answer) == null ? void 0 : _a2.includes(option.label);
|
|
1257
|
-
}).map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { children: option.label }, index)) }) }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No Answer" : "Inget svar" }),
|
|
1258
|
-
" "
|
|
1259
|
-
] });
|
|
1260
|
-
};
|
|
1261
|
-
|
|
1262
1193
|
// src/helpers/hasQuestionValidationError/hasQuestionValidationError.tsx
|
|
1263
1194
|
var import_date_fns = require("date-fns");
|
|
1264
1195
|
var hasQuestionValidationError = (question, questions) => {
|
|
1265
|
-
var _a, _b, _c, _d, _e;
|
|
1196
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1266
1197
|
let error = false;
|
|
1267
1198
|
if (question.isQuestionMandatory) {
|
|
1268
1199
|
if (question.isTouched === false) {
|
|
@@ -1275,19 +1206,28 @@ var hasQuestionValidationError = (question, questions) => {
|
|
|
1275
1206
|
error = true;
|
|
1276
1207
|
}
|
|
1277
1208
|
}
|
|
1278
|
-
|
|
1209
|
+
const maxLength = (_c = (_b = question.questionExtraAttribute) == null ? void 0 : _b.answerMaxLength) != null ? _c : 1e3;
|
|
1210
|
+
if (((_d = question.validationType) == null ? void 0 : _d.includes("maxLength")) && question.answer.length > maxLength) {
|
|
1211
|
+
error = true;
|
|
1212
|
+
}
|
|
1213
|
+
if (question.questionType === "TextField") {
|
|
1214
|
+
if (question.answer.length > 100) {
|
|
1215
|
+
error = true;
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
if (((_e = question.validationType) == null ? void 0 : _e.find((e) => e === "email")) && (question.isQuestionMandatory || question.answer !== "")) {
|
|
1279
1219
|
const emailRegex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
1280
1220
|
if (!emailRegex.test(question.answer)) {
|
|
1281
1221
|
error = true;
|
|
1282
1222
|
}
|
|
1283
1223
|
}
|
|
1284
|
-
if (((
|
|
1224
|
+
if (((_f = question.validationType) == null ? void 0 : _f.find((e) => e === "fourNumbers")) && (question.isQuestionMandatory || question.answer !== "")) {
|
|
1285
1225
|
const fourNumbersRegex = /^\d{4}$/.test(question.answer);
|
|
1286
1226
|
if (!fourNumbersRegex) {
|
|
1287
1227
|
error = true;
|
|
1288
1228
|
}
|
|
1289
1229
|
}
|
|
1290
|
-
if (((
|
|
1230
|
+
if (((_g = question.validationType) == null ? void 0 : _g.find((e) => e === "isDateFormatValid")) && question.answer !== "") {
|
|
1291
1231
|
const regex = /^\d{4}-\d{2}-\d{2}$/;
|
|
1292
1232
|
if (!regex.test(question.answer)) {
|
|
1293
1233
|
error = true;
|
|
@@ -1301,16 +1241,18 @@ var hasQuestionValidationError = (question, questions) => {
|
|
|
1301
1241
|
error = true;
|
|
1302
1242
|
}
|
|
1303
1243
|
}
|
|
1304
|
-
const groupCheckError = (
|
|
1244
|
+
const groupCheckError = (_h = question.validationType) == null ? void 0 : _h.find((e) => e.startsWith("groupCheck-"));
|
|
1305
1245
|
if (groupCheckError) {
|
|
1306
1246
|
const ids = groupCheckError.replace("groupCheck-", "").split("-");
|
|
1307
|
-
const relatedAnswers = ids.map(
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1247
|
+
const relatedAnswers = ids.map(
|
|
1248
|
+
(id) => {
|
|
1249
|
+
var _a2;
|
|
1250
|
+
return (_a2 = questions.find((q) => {
|
|
1251
|
+
var _a3;
|
|
1252
|
+
return ((_a3 = q.id) == null ? void 0 : _a3.toString()) === id;
|
|
1253
|
+
})) == null ? void 0 : _a2.answer;
|
|
1254
|
+
}
|
|
1255
|
+
);
|
|
1314
1256
|
const currentAnswer = question.answer;
|
|
1315
1257
|
const allAnswers = [...relatedAnswers, currentAnswer];
|
|
1316
1258
|
if (allAnswers.every((ans) => ans === "")) {
|
|
@@ -1965,15 +1907,15 @@ var useCookieConsent = ({
|
|
|
1965
1907
|
};
|
|
1966
1908
|
|
|
1967
1909
|
// src/components/question-rendering/QuestionRenderer/QuestionRenderer.tsx
|
|
1968
|
-
var
|
|
1910
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1969
1911
|
var QuestionRenderer = ({
|
|
1970
1912
|
question,
|
|
1971
1913
|
handleQuestionInputChange,
|
|
1972
1914
|
activatedLanguage = "sv",
|
|
1973
1915
|
showPreview = false
|
|
1974
1916
|
}) => {
|
|
1975
|
-
return /* @__PURE__ */ (0,
|
|
1976
|
-
question.questionType === "Radio" && /* @__PURE__ */ (0,
|
|
1917
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
|
1918
|
+
question.questionType === "Radio" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1977
1919
|
RadioMultipleStandard_default,
|
|
1978
1920
|
{
|
|
1979
1921
|
question,
|
|
@@ -1981,7 +1923,7 @@ var QuestionRenderer = ({
|
|
|
1981
1923
|
showPreview
|
|
1982
1924
|
}
|
|
1983
1925
|
),
|
|
1984
|
-
question.questionType === "TextField" && /* @__PURE__ */ (0,
|
|
1926
|
+
question.questionType === "TextField" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1985
1927
|
TextFieldStandard_default,
|
|
1986
1928
|
{
|
|
1987
1929
|
question,
|
|
@@ -1990,7 +1932,7 @@ var QuestionRenderer = ({
|
|
|
1990
1932
|
activatedLanguage
|
|
1991
1933
|
}
|
|
1992
1934
|
),
|
|
1993
|
-
question.questionType === "AddFiles" && /* @__PURE__ */ (0,
|
|
1935
|
+
question.questionType === "AddFiles" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1994
1936
|
AddFilesStandard_default,
|
|
1995
1937
|
{
|
|
1996
1938
|
questionObject: question,
|
|
@@ -2000,7 +1942,7 @@ var QuestionRenderer = ({
|
|
|
2000
1942
|
visible: question.visible
|
|
2001
1943
|
}
|
|
2002
1944
|
),
|
|
2003
|
-
question.questionType === "SingleCheckbox" && /* @__PURE__ */ (0,
|
|
1945
|
+
question.questionType === "SingleCheckbox" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2004
1946
|
SingleCheckboxStandard_default,
|
|
2005
1947
|
{
|
|
2006
1948
|
question,
|
|
@@ -2009,7 +1951,7 @@ var QuestionRenderer = ({
|
|
|
2009
1951
|
activatedLanguage
|
|
2010
1952
|
}
|
|
2011
1953
|
),
|
|
2012
|
-
question.questionType === "Checkbox" && /* @__PURE__ */ (0,
|
|
1954
|
+
question.questionType === "Checkbox" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2013
1955
|
MultipleCheckboxesStandard_default,
|
|
2014
1956
|
{
|
|
2015
1957
|
question,
|
|
@@ -2018,7 +1960,7 @@ var QuestionRenderer = ({
|
|
|
2018
1960
|
activatedLanguage
|
|
2019
1961
|
}
|
|
2020
1962
|
),
|
|
2021
|
-
question.questionType === "CheckboxGroup" && /* @__PURE__ */ (0,
|
|
1963
|
+
question.questionType === "CheckboxGroup" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2022
1964
|
CheckboxGroupStandard_default,
|
|
2023
1965
|
{
|
|
2024
1966
|
question,
|
|
@@ -2027,21 +1969,13 @@ var QuestionRenderer = ({
|
|
|
2027
1969
|
activatedLanguage
|
|
2028
1970
|
}
|
|
2029
1971
|
),
|
|
2030
|
-
question.questionType === "TextArea" && /* @__PURE__ */ (0,
|
|
1972
|
+
question.questionType === "TextArea" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2031
1973
|
TextAreaStandard_default,
|
|
2032
1974
|
{
|
|
2033
1975
|
question,
|
|
2034
1976
|
handleQuestionInputChange,
|
|
2035
1977
|
showPreview
|
|
2036
1978
|
}
|
|
2037
|
-
),
|
|
2038
|
-
question.questionType === "Dropdown" && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
2039
|
-
DropdownStandard_default,
|
|
2040
|
-
{
|
|
2041
|
-
question,
|
|
2042
|
-
handleQuestionInputChange,
|
|
2043
|
-
showPreview
|
|
2044
|
-
}
|
|
2045
1979
|
)
|
|
2046
1980
|
] });
|
|
2047
1981
|
};
|
|
@@ -2049,7 +1983,7 @@ var QuestionRenderer_default = QuestionRenderer;
|
|
|
2049
1983
|
|
|
2050
1984
|
// src/components/question-rendering/QuestionGroup/QuestionGroup.tsx
|
|
2051
1985
|
var import_react12 = require("react");
|
|
2052
|
-
var
|
|
1986
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
2053
1987
|
var QuestionGroup = ({
|
|
2054
1988
|
questions,
|
|
2055
1989
|
wrapperElement = "none",
|
|
@@ -2072,8 +2006,8 @@ var QuestionGroup = ({
|
|
|
2072
2006
|
}
|
|
2073
2007
|
});
|
|
2074
2008
|
}, [questions]);
|
|
2075
|
-
const groupQuestions = /* @__PURE__ */ (0,
|
|
2076
|
-
return /* @__PURE__ */ (0,
|
|
2009
|
+
const groupQuestions = /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, { children: questions.map((question, index) => {
|
|
2010
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react12.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
2077
2011
|
QuestionRenderer_default,
|
|
2078
2012
|
{
|
|
2079
2013
|
question,
|
|
@@ -2085,7 +2019,7 @@ var QuestionGroup = ({
|
|
|
2085
2019
|
}) });
|
|
2086
2020
|
switch (wrapperElement) {
|
|
2087
2021
|
case "fieldset":
|
|
2088
|
-
return /* @__PURE__ */ (0,
|
|
2022
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
2089
2023
|
"fieldset",
|
|
2090
2024
|
{
|
|
2091
2025
|
className: "pts-root-question-group-fieldset pts-root-question",
|
|
@@ -2094,37 +2028,37 @@ var QuestionGroup = ({
|
|
|
2094
2028
|
"aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
2095
2029
|
"aria-describedby": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
2096
2030
|
children: [
|
|
2097
|
-
legendLabel && /* @__PURE__ */ (0,
|
|
2098
|
-
/* @__PURE__ */ (0,
|
|
2031
|
+
legendLabel && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("legend", { children: [
|
|
2032
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { children: [
|
|
2099
2033
|
legendLabel,
|
|
2100
|
-
groupMandatory && /* @__PURE__ */ (0,
|
|
2034
|
+
groupMandatory && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
2101
2035
|
] }),
|
|
2102
|
-
firstQuestion.hasValidationError && /* @__PURE__ */ (0,
|
|
2036
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "sr-only", children: [
|
|
2103
2037
|
"Valideringsfel. ",
|
|
2104
2038
|
firstQuestion.validationDefaultMessesege
|
|
2105
2039
|
] })
|
|
2106
2040
|
] }),
|
|
2107
|
-
firstQuestion.hasValidationError && /* @__PURE__ */ (0,
|
|
2108
|
-
/* @__PURE__ */ (0,
|
|
2109
|
-
/* @__PURE__ */ (0,
|
|
2041
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "pts-root-error", id: firstQuestion.id + "-error", children: [
|
|
2042
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { "aria-label": "Valideringsfel", className: "errorDot", children: "!" }),
|
|
2043
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "errorText", children: firstQuestion.validationDefaultMessesege })
|
|
2110
2044
|
] }),
|
|
2111
2045
|
groupQuestions
|
|
2112
2046
|
]
|
|
2113
2047
|
}
|
|
2114
2048
|
);
|
|
2115
2049
|
case "section":
|
|
2116
|
-
return /* @__PURE__ */ (0,
|
|
2050
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("section", { className: "pts-root-question-group-section", children: groupQuestions });
|
|
2117
2051
|
case "div":
|
|
2118
|
-
return /* @__PURE__ */ (0,
|
|
2052
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "pts-root-question-group-div", children: groupQuestions });
|
|
2119
2053
|
case "none":
|
|
2120
2054
|
default:
|
|
2121
|
-
return /* @__PURE__ */ (0,
|
|
2055
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react12.Fragment, { children: groupQuestions });
|
|
2122
2056
|
}
|
|
2123
2057
|
};
|
|
2124
2058
|
var QuestionGroup_default = QuestionGroup;
|
|
2125
2059
|
|
|
2126
2060
|
// src/components/layout/CookieBanner/CookieBanner.tsx
|
|
2127
|
-
var
|
|
2061
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
2128
2062
|
var CookieBanner = ({
|
|
2129
2063
|
visible = false,
|
|
2130
2064
|
onCookieStateChange,
|
|
@@ -2146,7 +2080,7 @@ var CookieBanner = ({
|
|
|
2146
2080
|
onClose();
|
|
2147
2081
|
}
|
|
2148
2082
|
};
|
|
2149
|
-
return /* @__PURE__ */ (0,
|
|
2083
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2150
2084
|
"div",
|
|
2151
2085
|
{
|
|
2152
2086
|
className: "pts-cookieBanner",
|
|
@@ -2156,11 +2090,11 @@ var CookieBanner = ({
|
|
|
2156
2090
|
"aria-modal": "true",
|
|
2157
2091
|
id: "cookie-banner",
|
|
2158
2092
|
tabIndex: -1,
|
|
2159
|
-
children: /* @__PURE__ */ (0,
|
|
2160
|
-
/* @__PURE__ */ (0,
|
|
2161
|
-
/* @__PURE__ */ (0,
|
|
2162
|
-
/* @__PURE__ */ (0,
|
|
2163
|
-
/* @__PURE__ */ (0,
|
|
2093
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "content", children: [
|
|
2094
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { id: "cookie-banner-title", children: "Kakor (cookies)" }),
|
|
2095
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("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." }),
|
|
2096
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "pts-cookieBanner-Links", children: [
|
|
2097
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
2164
2098
|
"svg",
|
|
2165
2099
|
{
|
|
2166
2100
|
width: "27",
|
|
@@ -2170,8 +2104,8 @@ var CookieBanner = ({
|
|
|
2170
2104
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2171
2105
|
"aria-hidden": "true",
|
|
2172
2106
|
children: [
|
|
2173
|
-
/* @__PURE__ */ (0,
|
|
2174
|
-
/* @__PURE__ */ (0,
|
|
2107
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("rect", { width: "27", height: "27", rx: "13.5", fill: "#6E3282" }),
|
|
2108
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2175
2109
|
"path",
|
|
2176
2110
|
{
|
|
2177
2111
|
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",
|
|
@@ -2181,7 +2115,7 @@ var CookieBanner = ({
|
|
|
2181
2115
|
]
|
|
2182
2116
|
}
|
|
2183
2117
|
),
|
|
2184
|
-
/* @__PURE__ */ (0,
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2185
2119
|
"a",
|
|
2186
2120
|
{
|
|
2187
2121
|
href: "https://pts.se/om-oss/om-pts.se/kakor-pa-webbplatsen/kakor-pa-pts-e-tjanster/",
|
|
@@ -2191,9 +2125,9 @@ var CookieBanner = ({
|
|
|
2191
2125
|
}
|
|
2192
2126
|
)
|
|
2193
2127
|
] }),
|
|
2194
|
-
/* @__PURE__ */ (0,
|
|
2195
|
-
/* @__PURE__ */ (0,
|
|
2196
|
-
/* @__PURE__ */ (0,
|
|
2128
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "pts-cookieBanner-Buttons", children: [
|
|
2129
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { onClick: () => handleCookieChoice(true), children: "Ja, jag samtycker" }),
|
|
2130
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { onClick: () => handleCookieChoice(false), children: "Nej, jag samtycker inte" })
|
|
2197
2131
|
] })
|
|
2198
2132
|
] })
|
|
2199
2133
|
}
|
|
@@ -2202,460 +2136,463 @@ var CookieBanner = ({
|
|
|
2202
2136
|
var CookieBanner_default = CookieBanner;
|
|
2203
2137
|
|
|
2204
2138
|
// src/components/layout/FooterStandard/FooterStandard.tsx
|
|
2205
|
-
var
|
|
2139
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
2206
2140
|
var Footer = ({ activatedLanguage = "sv" }) => {
|
|
2207
|
-
return /* @__PURE__ */ (0,
|
|
2208
|
-
/* @__PURE__ */ (0,
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
"
|
|
2212
|
-
className: "pts-footer-logo",
|
|
2213
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2214
|
-
width: "278",
|
|
2215
|
-
height: "72",
|
|
2216
|
-
viewBox: "0 0 278 72",
|
|
2217
|
-
fill: "none",
|
|
2218
|
-
children: [
|
|
2219
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2220
|
-
"path",
|
|
2221
|
-
{
|
|
2222
|
-
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",
|
|
2223
|
-
fill: "white"
|
|
2224
|
-
}
|
|
2225
|
-
),
|
|
2226
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2227
|
-
"path",
|
|
2228
|
-
{
|
|
2229
|
-
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",
|
|
2230
|
-
fill: "white"
|
|
2231
|
-
}
|
|
2232
|
-
)
|
|
2233
|
-
]
|
|
2234
|
-
}
|
|
2235
|
-
),
|
|
2236
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("nav", { className: "pts-footer-linkList", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("ul", { children: [
|
|
2237
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
2238
|
-
"a",
|
|
2239
|
-
{
|
|
2240
|
-
href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
|
|
2241
|
-
target: "_blank",
|
|
2242
|
-
rel: "noopener noreferrer",
|
|
2243
|
-
children: [
|
|
2244
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
|
|
2245
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
|
|
2246
|
-
]
|
|
2247
|
-
}
|
|
2248
|
-
) }),
|
|
2249
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
2250
|
-
"a",
|
|
2251
|
-
{
|
|
2252
|
-
href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
|
|
2253
|
-
target: "_blank",
|
|
2254
|
-
rel: "noopener noreferrer",
|
|
2255
|
-
children: [
|
|
2256
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Processing of personal data (opens in new tab)" : "PTS Behandling av personuppgifter (\xF6ppnas i ny flik)" }),
|
|
2257
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Processing of personal data" : "Behandling av personuppgifter" })
|
|
2258
|
-
]
|
|
2259
|
-
}
|
|
2260
|
-
) }),
|
|
2261
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
2262
|
-
"a",
|
|
2263
|
-
{
|
|
2264
|
-
href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
|
|
2265
|
-
target: "_blank",
|
|
2266
|
-
rel: "noopener noreferrer",
|
|
2267
|
-
children: [
|
|
2268
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Accessibility (opens in new tab)" : "PTS Tillg\xE4nglighetsredog\xF6relse (\xF6ppnas i ny flik)" }),
|
|
2269
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Accessibility" : "Tillg\xE4nglighetsredog\xF6relse" })
|
|
2270
|
-
]
|
|
2271
|
-
}
|
|
2272
|
-
) }),
|
|
2273
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
2274
|
-
"a",
|
|
2141
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("footer", { className: "pts-footer-container", children: [
|
|
2142
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "pts-footer-slogan-text-container", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "pts-footer-slogan-text", children: activatedLanguage === "sv" ? "S\xE4ker och tillg\xE4nglig kommunikation f\xF6r Sverige" : "Secure and accessible communication for Sweden" }) }),
|
|
2143
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "pts-footer-content", children: [
|
|
2144
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2145
|
+
"svg",
|
|
2275
2146
|
{
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2147
|
+
"aria-label": activatedLanguage === "en" ? "PTS logotype" : "PTS logotyp",
|
|
2148
|
+
className: "pts-footer-logo",
|
|
2149
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2150
|
+
width: "278",
|
|
2151
|
+
height: "72",
|
|
2152
|
+
viewBox: "0 0 278 72",
|
|
2153
|
+
fill: "none",
|
|
2279
2154
|
children: [
|
|
2280
|
-
/* @__PURE__ */ (0,
|
|
2281
|
-
|
|
2155
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
2156
|
+
"path",
|
|
2157
|
+
{
|
|
2158
|
+
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",
|
|
2159
|
+
fill: "white"
|
|
2160
|
+
}
|
|
2161
|
+
),
|
|
2162
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
2163
|
+
"path",
|
|
2164
|
+
{
|
|
2165
|
+
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",
|
|
2166
|
+
fill: "white"
|
|
2167
|
+
}
|
|
2168
|
+
)
|
|
2282
2169
|
]
|
|
2283
2170
|
}
|
|
2284
|
-
)
|
|
2285
|
-
|
|
2286
|
-
|
|
2171
|
+
),
|
|
2172
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("nav", { className: "pts-footer-linkList", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("ul", { children: [
|
|
2173
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2174
|
+
"a",
|
|
2175
|
+
{
|
|
2176
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
|
|
2177
|
+
target: "_blank",
|
|
2178
|
+
rel: "noopener noreferrer",
|
|
2179
|
+
children: [
|
|
2180
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
|
|
2181
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
|
|
2182
|
+
]
|
|
2183
|
+
}
|
|
2184
|
+
) }),
|
|
2185
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2186
|
+
"a",
|
|
2187
|
+
{
|
|
2188
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
|
|
2189
|
+
target: "_blank",
|
|
2190
|
+
rel: "noopener noreferrer",
|
|
2191
|
+
children: [
|
|
2192
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Processing of personal data (opens in new tab)" : "PTS Behandling av personuppgifter (\xF6ppnas i ny flik)" }),
|
|
2193
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Processing of personal data" : "Behandling av personuppgifter" })
|
|
2194
|
+
]
|
|
2195
|
+
}
|
|
2196
|
+
) }),
|
|
2197
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2198
|
+
"a",
|
|
2199
|
+
{
|
|
2200
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
|
|
2201
|
+
target: "_blank",
|
|
2202
|
+
rel: "noopener noreferrer",
|
|
2203
|
+
children: [
|
|
2204
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Accessibility (opens in new tab)" : "PTS Tillg\xE4nglighetsredog\xF6relse (\xF6ppnas i ny flik)" }),
|
|
2205
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Accessibility" : "Tillg\xE4nglighetsredog\xF6relse" })
|
|
2206
|
+
]
|
|
2207
|
+
}
|
|
2208
|
+
) }),
|
|
2209
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2210
|
+
"a",
|
|
2211
|
+
{
|
|
2212
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/cookies-eservices" : "https://www.pts.se/kakor-etjanster",
|
|
2213
|
+
target: "_blank",
|
|
2214
|
+
rel: "noopener noreferrer",
|
|
2215
|
+
children: [
|
|
2216
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Cookies (opens in new tab)" : "PTS Kakor (\xF6ppnas i ny flik)" }),
|
|
2217
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Cookies" : "Kakor" })
|
|
2218
|
+
]
|
|
2219
|
+
}
|
|
2220
|
+
) })
|
|
2221
|
+
] }) })
|
|
2222
|
+
] })
|
|
2223
|
+
] });
|
|
2287
2224
|
};
|
|
2288
2225
|
var FooterStandard_default = Footer;
|
|
2289
2226
|
|
|
2290
2227
|
// src/components/layout/HeaderStandard/Icons.tsx
|
|
2291
|
-
var
|
|
2292
|
-
var LanguageIcon = () => /* @__PURE__ */ (0,
|
|
2228
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
2229
|
+
var LanguageIcon = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", { width: "15", height: "15", viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2293
2230
|
"path",
|
|
2294
2231
|
{
|
|
2295
2232
|
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",
|
|
2296
2233
|
fill: "#6E3282"
|
|
2297
2234
|
}
|
|
2298
2235
|
) });
|
|
2299
|
-
var Logo_sv = () => /* @__PURE__ */ (0,
|
|
2300
|
-
/* @__PURE__ */ (0,
|
|
2236
|
+
var Logo_sv = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { width: "168.8", height: "46.67", viewBox: "0 0 168.8 46.67", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2237
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2301
2238
|
"path",
|
|
2302
2239
|
{
|
|
2303
2240
|
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",
|
|
2304
2241
|
fill: "#141414"
|
|
2305
2242
|
}
|
|
2306
2243
|
),
|
|
2307
|
-
/* @__PURE__ */ (0,
|
|
2244
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2308
2245
|
"path",
|
|
2309
2246
|
{
|
|
2310
2247
|
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",
|
|
2311
2248
|
fill: "#141414"
|
|
2312
2249
|
}
|
|
2313
2250
|
),
|
|
2314
|
-
/* @__PURE__ */ (0,
|
|
2251
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2315
2252
|
"path",
|
|
2316
2253
|
{
|
|
2317
2254
|
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",
|
|
2318
2255
|
fill: "#141414"
|
|
2319
2256
|
}
|
|
2320
2257
|
),
|
|
2321
|
-
/* @__PURE__ */ (0,
|
|
2258
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2322
2259
|
"path",
|
|
2323
2260
|
{
|
|
2324
2261
|
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",
|
|
2325
2262
|
fill: "#141414"
|
|
2326
2263
|
}
|
|
2327
2264
|
),
|
|
2328
|
-
/* @__PURE__ */ (0,
|
|
2329
|
-
/* @__PURE__ */ (0,
|
|
2265
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M108.778 22.5557H112.5V23.3334H108.778V22.5557Z", fill: "#141414" }),
|
|
2266
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2330
2267
|
"path",
|
|
2331
2268
|
{
|
|
2332
2269
|
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",
|
|
2333
2270
|
fill: "#141414"
|
|
2334
2271
|
}
|
|
2335
2272
|
),
|
|
2336
|
-
/* @__PURE__ */ (0,
|
|
2273
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2337
2274
|
"path",
|
|
2338
2275
|
{
|
|
2339
2276
|
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",
|
|
2340
2277
|
fill: "#141414"
|
|
2341
2278
|
}
|
|
2342
2279
|
),
|
|
2343
|
-
/* @__PURE__ */ (0,
|
|
2280
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2344
2281
|
"path",
|
|
2345
2282
|
{
|
|
2346
2283
|
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",
|
|
2347
2284
|
fill: "#141414"
|
|
2348
2285
|
}
|
|
2349
2286
|
),
|
|
2350
|
-
/* @__PURE__ */ (0,
|
|
2287
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2351
2288
|
"path",
|
|
2352
2289
|
{
|
|
2353
2290
|
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",
|
|
2354
2291
|
fill: "#141414"
|
|
2355
2292
|
}
|
|
2356
2293
|
),
|
|
2357
|
-
/* @__PURE__ */ (0,
|
|
2294
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2358
2295
|
"path",
|
|
2359
2296
|
{
|
|
2360
2297
|
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",
|
|
2361
2298
|
fill: "#141414"
|
|
2362
2299
|
}
|
|
2363
2300
|
),
|
|
2364
|
-
/* @__PURE__ */ (0,
|
|
2365
|
-
/* @__PURE__ */ (0,
|
|
2301
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M97.8335 29.4446V37.2224H96.9446V29.4446H97.8335Z", fill: "#141414" }),
|
|
2302
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2366
2303
|
"path",
|
|
2367
2304
|
{
|
|
2368
2305
|
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",
|
|
2369
2306
|
fill: "#141414"
|
|
2370
2307
|
}
|
|
2371
2308
|
),
|
|
2372
|
-
/* @__PURE__ */ (0,
|
|
2309
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2373
2310
|
"path",
|
|
2374
2311
|
{
|
|
2375
2312
|
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",
|
|
2376
2313
|
fill: "#141414"
|
|
2377
2314
|
}
|
|
2378
2315
|
),
|
|
2379
|
-
/* @__PURE__ */ (0,
|
|
2316
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2380
2317
|
"path",
|
|
2381
2318
|
{
|
|
2382
2319
|
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",
|
|
2383
2320
|
fill: "#141414"
|
|
2384
2321
|
}
|
|
2385
2322
|
),
|
|
2386
|
-
/* @__PURE__ */ (0,
|
|
2323
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2387
2324
|
"path",
|
|
2388
2325
|
{
|
|
2389
2326
|
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",
|
|
2390
2327
|
fill: "#141414"
|
|
2391
2328
|
}
|
|
2392
2329
|
),
|
|
2393
|
-
/* @__PURE__ */ (0,
|
|
2330
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2394
2331
|
"path",
|
|
2395
2332
|
{
|
|
2396
2333
|
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",
|
|
2397
2334
|
fill: "#141414"
|
|
2398
2335
|
}
|
|
2399
2336
|
),
|
|
2400
|
-
/* @__PURE__ */ (0,
|
|
2337
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2401
2338
|
"path",
|
|
2402
2339
|
{
|
|
2403
2340
|
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",
|
|
2404
2341
|
fill: "#141414"
|
|
2405
2342
|
}
|
|
2406
2343
|
),
|
|
2407
|
-
/* @__PURE__ */ (0,
|
|
2408
|
-
/* @__PURE__ */ (0,
|
|
2344
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M130.333 29.4446V37.2224H129.445V29.4446H130.333Z", fill: "#141414" }),
|
|
2345
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2409
2346
|
"path",
|
|
2410
2347
|
{
|
|
2411
2348
|
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",
|
|
2412
2349
|
fill: "#141414"
|
|
2413
2350
|
}
|
|
2414
2351
|
),
|
|
2415
|
-
/* @__PURE__ */ (0,
|
|
2352
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2416
2353
|
"path",
|
|
2417
2354
|
{
|
|
2418
2355
|
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",
|
|
2419
2356
|
fill: "#141414"
|
|
2420
2357
|
}
|
|
2421
2358
|
),
|
|
2422
|
-
/* @__PURE__ */ (0,
|
|
2359
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2423
2360
|
"path",
|
|
2424
2361
|
{
|
|
2425
2362
|
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",
|
|
2426
2363
|
fill: "#141414"
|
|
2427
2364
|
}
|
|
2428
2365
|
),
|
|
2429
|
-
/* @__PURE__ */ (0,
|
|
2366
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2430
2367
|
"path",
|
|
2431
2368
|
{
|
|
2432
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",
|
|
2433
2370
|
fill: "#141414"
|
|
2434
2371
|
}
|
|
2435
2372
|
),
|
|
2436
|
-
/* @__PURE__ */ (0,
|
|
2373
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2437
2374
|
"path",
|
|
2438
2375
|
{
|
|
2439
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",
|
|
2440
2377
|
fill: "#F0AA1E"
|
|
2441
2378
|
}
|
|
2442
2379
|
),
|
|
2443
|
-
/* @__PURE__ */ (0,
|
|
2380
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M82.2223 18.3335V37.2224", stroke: "currentColor", strokeWidth: "0.8", strokeMiterlimit: "10" })
|
|
2444
2381
|
] });
|
|
2445
|
-
var Logo_en = () => /* @__PURE__ */ (0,
|
|
2446
|
-
/* @__PURE__ */ (0,
|
|
2382
|
+
var Logo_en = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("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: [
|
|
2383
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2447
2384
|
"path",
|
|
2448
2385
|
{
|
|
2449
2386
|
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",
|
|
2450
2387
|
fill: "#141414"
|
|
2451
2388
|
}
|
|
2452
2389
|
),
|
|
2453
|
-
/* @__PURE__ */ (0,
|
|
2390
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2454
2391
|
"path",
|
|
2455
2392
|
{
|
|
2456
2393
|
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",
|
|
2457
2394
|
fill: "#F0AA1E"
|
|
2458
2395
|
}
|
|
2459
2396
|
),
|
|
2460
|
-
/* @__PURE__ */ (0,
|
|
2461
|
-
/* @__PURE__ */ (0,
|
|
2397
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M82.2223 18.3335V37.2224", stroke: "currentColor", strokeWidth: "0.8", strokeMiterlimit: "10" }),
|
|
2398
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2462
2399
|
"path",
|
|
2463
2400
|
{
|
|
2464
2401
|
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",
|
|
2465
2402
|
fill: "#141414"
|
|
2466
2403
|
}
|
|
2467
2404
|
),
|
|
2468
|
-
/* @__PURE__ */ (0,
|
|
2405
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2469
2406
|
"path",
|
|
2470
2407
|
{
|
|
2471
2408
|
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",
|
|
2472
2409
|
fill: "#141414"
|
|
2473
2410
|
}
|
|
2474
2411
|
),
|
|
2475
|
-
/* @__PURE__ */ (0,
|
|
2412
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2476
2413
|
"path",
|
|
2477
2414
|
{
|
|
2478
2415
|
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",
|
|
2479
2416
|
fill: "#141414"
|
|
2480
2417
|
}
|
|
2481
2418
|
),
|
|
2482
|
-
/* @__PURE__ */ (0,
|
|
2419
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2483
2420
|
"path",
|
|
2484
2421
|
{
|
|
2485
2422
|
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",
|
|
2486
2423
|
fill: "#141414"
|
|
2487
2424
|
}
|
|
2488
2425
|
),
|
|
2489
|
-
/* @__PURE__ */ (0,
|
|
2426
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2490
2427
|
"path",
|
|
2491
2428
|
{
|
|
2492
2429
|
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",
|
|
2493
2430
|
fill: "#141414"
|
|
2494
2431
|
}
|
|
2495
2432
|
),
|
|
2496
|
-
/* @__PURE__ */ (0,
|
|
2433
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2497
2434
|
"path",
|
|
2498
2435
|
{
|
|
2499
2436
|
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",
|
|
2500
2437
|
fill: "#141414"
|
|
2501
2438
|
}
|
|
2502
2439
|
),
|
|
2503
|
-
/* @__PURE__ */ (0,
|
|
2440
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2504
2441
|
"path",
|
|
2505
2442
|
{
|
|
2506
2443
|
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",
|
|
2507
2444
|
fill: "#141414"
|
|
2508
2445
|
}
|
|
2509
2446
|
),
|
|
2510
|
-
/* @__PURE__ */ (0,
|
|
2447
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2511
2448
|
"path",
|
|
2512
2449
|
{
|
|
2513
2450
|
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",
|
|
2514
2451
|
fill: "#141414"
|
|
2515
2452
|
}
|
|
2516
2453
|
),
|
|
2517
|
-
/* @__PURE__ */ (0,
|
|
2454
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2518
2455
|
"path",
|
|
2519
2456
|
{
|
|
2520
2457
|
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",
|
|
2521
2458
|
fill: "#141414"
|
|
2522
2459
|
}
|
|
2523
2460
|
),
|
|
2524
|
-
/* @__PURE__ */ (0,
|
|
2461
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2525
2462
|
"path",
|
|
2526
2463
|
{
|
|
2527
2464
|
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",
|
|
2528
2465
|
fill: "#141414"
|
|
2529
2466
|
}
|
|
2530
2467
|
),
|
|
2531
|
-
/* @__PURE__ */ (0,
|
|
2468
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2532
2469
|
"path",
|
|
2533
2470
|
{
|
|
2534
2471
|
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",
|
|
2535
2472
|
fill: "#141414"
|
|
2536
2473
|
}
|
|
2537
2474
|
),
|
|
2538
|
-
/* @__PURE__ */ (0,
|
|
2475
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2539
2476
|
"path",
|
|
2540
2477
|
{
|
|
2541
2478
|
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",
|
|
2542
2479
|
fill: "#141414"
|
|
2543
2480
|
}
|
|
2544
2481
|
),
|
|
2545
|
-
/* @__PURE__ */ (0,
|
|
2482
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2546
2483
|
"path",
|
|
2547
2484
|
{
|
|
2548
2485
|
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",
|
|
2549
2486
|
fill: "#141414"
|
|
2550
2487
|
}
|
|
2551
2488
|
),
|
|
2552
|
-
/* @__PURE__ */ (0,
|
|
2489
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2553
2490
|
"path",
|
|
2554
2491
|
{
|
|
2555
2492
|
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",
|
|
2556
2493
|
fill: "#141414"
|
|
2557
2494
|
}
|
|
2558
2495
|
),
|
|
2559
|
-
/* @__PURE__ */ (0,
|
|
2496
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2560
2497
|
"path",
|
|
2561
2498
|
{
|
|
2562
2499
|
d: "M92.6112 29.4446V30.3335H90.1112V37.2224H89.1667V30.3335H86.6667V29.4446H92.6667H92.6112Z",
|
|
2563
2500
|
fill: "#141414"
|
|
2564
2501
|
}
|
|
2565
2502
|
),
|
|
2566
|
-
/* @__PURE__ */ (0,
|
|
2503
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2567
2504
|
"path",
|
|
2568
2505
|
{
|
|
2569
2506
|
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",
|
|
2570
2507
|
fill: "#141414"
|
|
2571
2508
|
}
|
|
2572
2509
|
),
|
|
2573
|
-
/* @__PURE__ */ (0,
|
|
2574
|
-
/* @__PURE__ */ (0,
|
|
2510
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M99.6667 29.4446V37.2224H98.7778V29.4446H99.6667Z", fill: "#141414" }),
|
|
2511
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2575
2512
|
"path",
|
|
2576
2513
|
{
|
|
2577
2514
|
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",
|
|
2578
2515
|
fill: "#141414"
|
|
2579
2516
|
}
|
|
2580
2517
|
),
|
|
2581
|
-
/* @__PURE__ */ (0,
|
|
2518
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2582
2519
|
"path",
|
|
2583
2520
|
{
|
|
2584
2521
|
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",
|
|
2585
2522
|
fill: "#141414"
|
|
2586
2523
|
}
|
|
2587
2524
|
),
|
|
2588
|
-
/* @__PURE__ */ (0,
|
|
2525
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2589
2526
|
"path",
|
|
2590
2527
|
{
|
|
2591
2528
|
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",
|
|
2592
2529
|
fill: "#141414"
|
|
2593
2530
|
}
|
|
2594
2531
|
),
|
|
2595
|
-
/* @__PURE__ */ (0,
|
|
2532
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2596
2533
|
"path",
|
|
2597
2534
|
{
|
|
2598
2535
|
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",
|
|
2599
2536
|
fill: "#141414"
|
|
2600
2537
|
}
|
|
2601
2538
|
),
|
|
2602
|
-
/* @__PURE__ */ (0,
|
|
2539
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2603
2540
|
"path",
|
|
2604
2541
|
{
|
|
2605
2542
|
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",
|
|
2606
2543
|
fill: "#141414"
|
|
2607
2544
|
}
|
|
2608
2545
|
),
|
|
2609
|
-
/* @__PURE__ */ (0,
|
|
2546
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2610
2547
|
"path",
|
|
2611
2548
|
{
|
|
2612
2549
|
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",
|
|
2613
2550
|
fill: "#141414"
|
|
2614
2551
|
}
|
|
2615
2552
|
),
|
|
2616
|
-
/* @__PURE__ */ (0,
|
|
2553
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2617
2554
|
"path",
|
|
2618
2555
|
{
|
|
2619
2556
|
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",
|
|
2620
2557
|
fill: "#141414"
|
|
2621
2558
|
}
|
|
2622
2559
|
),
|
|
2623
|
-
/* @__PURE__ */ (0,
|
|
2560
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2624
2561
|
"path",
|
|
2625
2562
|
{
|
|
2626
2563
|
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",
|
|
2627
2564
|
fill: "#141414"
|
|
2628
2565
|
}
|
|
2629
2566
|
),
|
|
2630
|
-
/* @__PURE__ */ (0,
|
|
2567
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2631
2568
|
"path",
|
|
2632
2569
|
{
|
|
2633
2570
|
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",
|
|
2634
2571
|
fill: "#141414"
|
|
2635
2572
|
}
|
|
2636
2573
|
),
|
|
2637
|
-
/* @__PURE__ */ (0,
|
|
2574
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2638
2575
|
"path",
|
|
2639
2576
|
{
|
|
2640
2577
|
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",
|
|
2641
2578
|
fill: "#141414"
|
|
2642
2579
|
}
|
|
2643
2580
|
),
|
|
2644
|
-
/* @__PURE__ */ (0,
|
|
2581
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2645
2582
|
"path",
|
|
2646
2583
|
{
|
|
2647
2584
|
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",
|
|
2648
2585
|
fill: "#141414"
|
|
2649
2586
|
}
|
|
2650
2587
|
),
|
|
2651
|
-
/* @__PURE__ */ (0,
|
|
2588
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2652
2589
|
"path",
|
|
2653
2590
|
{
|
|
2654
2591
|
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",
|
|
2655
2592
|
fill: "#141414"
|
|
2656
2593
|
}
|
|
2657
2594
|
),
|
|
2658
|
-
/* @__PURE__ */ (0,
|
|
2595
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2659
2596
|
"path",
|
|
2660
2597
|
{
|
|
2661
2598
|
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",
|
|
@@ -2665,7 +2602,7 @@ var Logo_en = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { widt
|
|
|
2665
2602
|
] });
|
|
2666
2603
|
|
|
2667
2604
|
// src/components/layout/HeaderStandard/HeaderStandard.tsx
|
|
2668
|
-
var
|
|
2605
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2669
2606
|
var Header = ({
|
|
2670
2607
|
activatedLanguage = "sv",
|
|
2671
2608
|
useLanguage = true,
|
|
@@ -2684,37 +2621,37 @@ var Header = ({
|
|
|
2684
2621
|
if (activatedLanguage === "sv") return "English";
|
|
2685
2622
|
else return "Svenska";
|
|
2686
2623
|
};
|
|
2687
|
-
return /* @__PURE__ */ (0,
|
|
2688
|
-
/* @__PURE__ */ (0,
|
|
2624
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("header", { className: "pts-header-container", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "pts-header-content", children: [
|
|
2625
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "pts-header-logo-container", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2689
2626
|
"a",
|
|
2690
2627
|
{
|
|
2691
2628
|
className: "pts-header-logo",
|
|
2692
2629
|
href: logoLink,
|
|
2693
2630
|
target: "_blank",
|
|
2694
2631
|
"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)",
|
|
2695
|
-
children: activatedLanguage === "en" ? /* @__PURE__ */ (0,
|
|
2632
|
+
children: activatedLanguage === "en" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Logo_en, {}) }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Logo_sv, {}) })
|
|
2696
2633
|
}
|
|
2697
2634
|
) }),
|
|
2698
|
-
useLanguage && /* @__PURE__ */ (0,
|
|
2635
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "pts-header-navigation-container", children: useLanguage && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2699
2636
|
"button",
|
|
2700
2637
|
{
|
|
2701
2638
|
lang: activatedLanguage === "en" ? "en" : "sv",
|
|
2702
2639
|
className: "pts-languageButton",
|
|
2703
2640
|
onClick: handleLanguageClick,
|
|
2704
2641
|
children: [
|
|
2705
|
-
/* @__PURE__ */ (0,
|
|
2706
|
-
/* @__PURE__ */ (0,
|
|
2707
|
-
activatedLanguage === "en" && /* @__PURE__ */ (0,
|
|
2708
|
-
activatedLanguage === "sv" && /* @__PURE__ */ (0,
|
|
2642
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "languageIcon", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(LanguageIcon, {}) }) }),
|
|
2643
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": "true", className: "pts-languageButton-text", children: getLanguageLabel() }),
|
|
2644
|
+
activatedLanguage === "en" && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: "\xC4ndra spr\xE5k till svenska" }),
|
|
2645
|
+
activatedLanguage === "sv" && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: "Change language to English" })
|
|
2709
2646
|
]
|
|
2710
2647
|
}
|
|
2711
|
-
)
|
|
2712
|
-
] });
|
|
2648
|
+
) })
|
|
2649
|
+
] }) });
|
|
2713
2650
|
};
|
|
2714
2651
|
var HeaderStandard_default = Header;
|
|
2715
2652
|
|
|
2716
2653
|
// src/components/layout/ModalStandard/ModalStandard.tsx
|
|
2717
|
-
var
|
|
2654
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
2718
2655
|
var CONTENT = {
|
|
2719
2656
|
en: {
|
|
2720
2657
|
heading: "Please wait",
|
|
@@ -2728,16 +2665,16 @@ var CONTENT = {
|
|
|
2728
2665
|
var Modal = ({ showModal: isOpen, activatedLanguage = "" }) => {
|
|
2729
2666
|
const currentContent = activatedLanguage === "en" ? CONTENT.en : CONTENT.sv;
|
|
2730
2667
|
if (!isOpen) return null;
|
|
2731
|
-
return /* @__PURE__ */ (0,
|
|
2732
|
-
/* @__PURE__ */ (0,
|
|
2733
|
-
/* @__PURE__ */ (0,
|
|
2734
|
-
/* @__PURE__ */ (0,
|
|
2668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "pts-modal-overlay", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { "aria-hidden": true, className: "pts-modal-content", children: [
|
|
2669
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h1", { children: currentContent.heading }),
|
|
2670
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { children: currentContent.message }),
|
|
2671
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "pts-spinner-border" })
|
|
2735
2672
|
] }) });
|
|
2736
2673
|
};
|
|
2737
2674
|
var ModalStandard_default = Modal;
|
|
2738
2675
|
|
|
2739
2676
|
// src/components/layout/SkipLinkStandard/SkipLinkStandard.tsx
|
|
2740
|
-
var
|
|
2677
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
2741
2678
|
var SkipLink = () => {
|
|
2742
2679
|
function scrollToMainContent() {
|
|
2743
2680
|
const container = document.getElementById(`main-content`);
|
|
@@ -2746,7 +2683,7 @@ var SkipLink = () => {
|
|
|
2746
2683
|
container.focus();
|
|
2747
2684
|
}
|
|
2748
2685
|
}
|
|
2749
|
-
return /* @__PURE__ */ (0,
|
|
2686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "pts-skipLink-container", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2750
2687
|
"a",
|
|
2751
2688
|
{
|
|
2752
2689
|
href: "#",
|
|
@@ -2763,23 +2700,23 @@ var SkipLinkStandard_default = SkipLink;
|
|
|
2763
2700
|
// src/components/text-blocks/TextHeadlineAndBodyStandard/TextHeadlineAndBodyStandard.tsx
|
|
2764
2701
|
var import_react13 = require("react");
|
|
2765
2702
|
var import_dompurify3 = __toESM(require("dompurify"));
|
|
2766
|
-
var
|
|
2703
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
2767
2704
|
var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
2768
|
-
return /* @__PURE__ */ (0,
|
|
2705
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2769
2706
|
"section",
|
|
2770
2707
|
{
|
|
2771
2708
|
className: "pts-textHeadlineAndBody-container",
|
|
2772
2709
|
children: [
|
|
2773
2710
|
data.headline && (0, import_react13.createElement)(headlineType, { id: "textHeadlineAndBody-headline" }, data.headline),
|
|
2774
|
-
data.body && /* @__PURE__ */ (0,
|
|
2775
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ (0,
|
|
2711
|
+
data.body && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { dangerouslySetInnerHTML: { __html: import_dompurify3.default.sanitize(data.body) } }),
|
|
2712
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("ul", { className: "pts-moreinfo-list", children: data.linksForMoreInfo.map((link, index) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("li", { className: index > 0 ? "notFirstInList" : "", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2776
2713
|
"a",
|
|
2777
2714
|
{
|
|
2778
2715
|
href: link.url,
|
|
2779
2716
|
target: "_blank",
|
|
2780
2717
|
rel: "noopener noreferrer",
|
|
2781
2718
|
children: [
|
|
2782
|
-
/* @__PURE__ */ (0,
|
|
2719
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2783
2720
|
"svg",
|
|
2784
2721
|
{
|
|
2785
2722
|
"aria-hidden": "true",
|
|
@@ -2788,7 +2725,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2788
2725
|
height: "10",
|
|
2789
2726
|
viewBox: "0 0 12 10",
|
|
2790
2727
|
fill: "none",
|
|
2791
|
-
children: /* @__PURE__ */ (0,
|
|
2728
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2792
2729
|
"path",
|
|
2793
2730
|
{
|
|
2794
2731
|
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",
|
|
@@ -2801,7 +2738,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2801
2738
|
]
|
|
2802
2739
|
}
|
|
2803
2740
|
) }, `more-info-${index}`)) }),
|
|
2804
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ (0,
|
|
2741
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2805
2742
|
"a",
|
|
2806
2743
|
{
|
|
2807
2744
|
href: data.linksForMoreInfo[0].url,
|
|
@@ -2809,7 +2746,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2809
2746
|
rel: "noopener noreferrer",
|
|
2810
2747
|
"aria-label": data.linksForMoreInfo[0].ariaLabel,
|
|
2811
2748
|
children: [
|
|
2812
|
-
/* @__PURE__ */ (0,
|
|
2749
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2813
2750
|
"svg",
|
|
2814
2751
|
{
|
|
2815
2752
|
"aria-hidden": "true",
|
|
@@ -2818,7 +2755,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2818
2755
|
height: "10",
|
|
2819
2756
|
viewBox: "0 0 12 10",
|
|
2820
2757
|
fill: "none",
|
|
2821
|
-
children: /* @__PURE__ */ (0,
|
|
2758
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2822
2759
|
"path",
|
|
2823
2760
|
{
|
|
2824
2761
|
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",
|
|
@@ -2838,7 +2775,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2838
2775
|
var TextHeadlineAndBodyStandard_default = TextHeadlineAndBody;
|
|
2839
2776
|
|
|
2840
2777
|
// src/components/text-blocks/PrincipleOfPublicityStandard/PrincipleOfPublicityStandard.tsx
|
|
2841
|
-
var
|
|
2778
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
2842
2779
|
var CONTENT2 = {
|
|
2843
2780
|
en: {
|
|
2844
2781
|
headline: "The principle of publicity and processing of personal data",
|
|
@@ -2873,7 +2810,7 @@ var CONTENT2 = {
|
|
|
2873
2810
|
};
|
|
2874
2811
|
var PrincipleOfPublicity = ({ activatedLanguage = "" }) => {
|
|
2875
2812
|
const currentContent = activatedLanguage === "en" ? CONTENT2.en : CONTENT2.sv;
|
|
2876
|
-
return /* @__PURE__ */ (0,
|
|
2813
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2877
2814
|
TextHeadlineAndBodyStandard_default,
|
|
2878
2815
|
{
|
|
2879
2816
|
data: {
|
|
@@ -2893,18 +2830,18 @@ var PrincipleOfPublicityStandard_default = PrincipleOfPublicity;
|
|
|
2893
2830
|
|
|
2894
2831
|
// src/components/text-blocks/TextBody/TextBody.tsx
|
|
2895
2832
|
var import_dompurify4 = __toESM(require("dompurify"));
|
|
2896
|
-
var
|
|
2833
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
2897
2834
|
var TextBody = ({ data }) => {
|
|
2898
|
-
return /* @__PURE__ */ (0,
|
|
2899
|
-
data.body && /* @__PURE__ */ (0,
|
|
2900
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ (0,
|
|
2835
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "pts-textBody-container", children: [
|
|
2836
|
+
data.body && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { dangerouslySetInnerHTML: { __html: import_dompurify4.default.sanitize(data.body) } }),
|
|
2837
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("ul", { className: "pts-moreinfo-list", children: data.linksForMoreInfo.map((link, index) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("li", { className: index > 0 ? "notFirstInList" : "", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
2901
2838
|
"a",
|
|
2902
2839
|
{
|
|
2903
2840
|
href: link.url,
|
|
2904
2841
|
target: "_blank",
|
|
2905
2842
|
rel: "noopener noreferrer",
|
|
2906
2843
|
children: [
|
|
2907
|
-
/* @__PURE__ */ (0,
|
|
2844
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2908
2845
|
"svg",
|
|
2909
2846
|
{
|
|
2910
2847
|
"aria-hidden": "true",
|
|
@@ -2913,7 +2850,7 @@ var TextBody = ({ data }) => {
|
|
|
2913
2850
|
height: "10",
|
|
2914
2851
|
viewBox: "0 0 12 10",
|
|
2915
2852
|
fill: "none",
|
|
2916
|
-
children: /* @__PURE__ */ (0,
|
|
2853
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2917
2854
|
"path",
|
|
2918
2855
|
{
|
|
2919
2856
|
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",
|
|
@@ -2926,7 +2863,7 @@ var TextBody = ({ data }) => {
|
|
|
2926
2863
|
]
|
|
2927
2864
|
}
|
|
2928
2865
|
) }, `more-info-${index}`)) }),
|
|
2929
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ (0,
|
|
2866
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
2930
2867
|
"a",
|
|
2931
2868
|
{
|
|
2932
2869
|
href: data.linksForMoreInfo[0].url,
|
|
@@ -2934,7 +2871,7 @@ var TextBody = ({ data }) => {
|
|
|
2934
2871
|
rel: "noopener noreferrer",
|
|
2935
2872
|
"aria-label": data.linksForMoreInfo[0].ariaLabel,
|
|
2936
2873
|
children: [
|
|
2937
|
-
/* @__PURE__ */ (0,
|
|
2874
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2938
2875
|
"svg",
|
|
2939
2876
|
{
|
|
2940
2877
|
"aria-hidden": "true",
|
|
@@ -2943,7 +2880,7 @@ var TextBody = ({ data }) => {
|
|
|
2943
2880
|
height: "10",
|
|
2944
2881
|
viewBox: "0 0 12 10",
|
|
2945
2882
|
fill: "none",
|
|
2946
|
-
children: /* @__PURE__ */ (0,
|
|
2883
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2947
2884
|
"path",
|
|
2948
2885
|
{
|
|
2949
2886
|
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",
|
|
@@ -2961,13 +2898,13 @@ var TextBody = ({ data }) => {
|
|
|
2961
2898
|
var TextBody_default = TextBody;
|
|
2962
2899
|
|
|
2963
2900
|
// src/components/stepper/EditPreviewLinkStandard/EditPreviewLinkStandard.tsx
|
|
2964
|
-
var
|
|
2901
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
2965
2902
|
var EditPreviewLink = ({
|
|
2966
2903
|
step,
|
|
2967
2904
|
changeStepHandler,
|
|
2968
2905
|
activatedLanguage = "sv"
|
|
2969
2906
|
}) => {
|
|
2970
|
-
return /* @__PURE__ */ (0,
|
|
2907
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2971
2908
|
"a",
|
|
2972
2909
|
{
|
|
2973
2910
|
href: "#",
|
|
@@ -2976,43 +2913,20 @@ var EditPreviewLink = ({
|
|
|
2976
2913
|
e.preventDefault();
|
|
2977
2914
|
changeStepHandler(step.step);
|
|
2978
2915
|
},
|
|
2979
|
-
children:
|
|
2980
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2981
|
-
"svg",
|
|
2982
|
-
{
|
|
2983
|
-
"aria-hidden": "true",
|
|
2984
|
-
focusable: "false",
|
|
2985
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2986
|
-
width: "16",
|
|
2987
|
-
height: "16",
|
|
2988
|
-
viewBox: "0 0 16 16",
|
|
2989
|
-
fill: "none",
|
|
2990
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2991
|
-
"path",
|
|
2992
|
-
{
|
|
2993
|
-
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",
|
|
2994
|
-
stroke: "#6E3282",
|
|
2995
|
-
strokeLinecap: "round",
|
|
2996
|
-
strokeLinejoin: "round"
|
|
2997
|
-
}
|
|
2998
|
-
)
|
|
2999
|
-
}
|
|
3000
|
-
),
|
|
3001
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "pts-edit-step-text", children: activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}` })
|
|
3002
|
-
]
|
|
2916
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "pts-edit-step-text", children: activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}` })
|
|
3003
2917
|
}
|
|
3004
2918
|
) });
|
|
3005
2919
|
};
|
|
3006
2920
|
var EditPreviewLinkStandard_default = EditPreviewLink;
|
|
3007
2921
|
|
|
3008
2922
|
// src/components/stepper/StartApplicationButton/StartApplicationButton.tsx
|
|
3009
|
-
var
|
|
2923
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
3010
2924
|
var StartApplicationButton = ({
|
|
3011
2925
|
onClick,
|
|
3012
2926
|
label = "Starta e-tj\xE4nsten",
|
|
3013
2927
|
className = ""
|
|
3014
2928
|
}) => {
|
|
3015
|
-
return /* @__PURE__ */ (0,
|
|
2929
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3016
2930
|
"button",
|
|
3017
2931
|
{
|
|
3018
2932
|
type: "button",
|
|
@@ -3025,7 +2939,7 @@ var StartApplicationButton = ({
|
|
|
3025
2939
|
var StartApplicationButton_default = StartApplicationButton;
|
|
3026
2940
|
|
|
3027
2941
|
// src/components/stepper/StepperButtonsStandard/StepperButtonsStandard.tsx
|
|
3028
|
-
var
|
|
2942
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
3029
2943
|
var StepperButtons = ({
|
|
3030
2944
|
globalLanguageState,
|
|
3031
2945
|
changeStepHandler,
|
|
@@ -3035,8 +2949,8 @@ var StepperButtons = ({
|
|
|
3035
2949
|
activeStep
|
|
3036
2950
|
}) => {
|
|
3037
2951
|
const totalSteps = steps ? steps.length : "";
|
|
3038
|
-
return /* @__PURE__ */ (0,
|
|
3039
|
-
activeStep !== 0 && /* @__PURE__ */ (0,
|
|
2952
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "pts-stepperButtons-container", children: [
|
|
2953
|
+
activeStep !== 0 && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
3040
2954
|
"button",
|
|
3041
2955
|
{
|
|
3042
2956
|
onClick: () => changeStepHandler(activeStep - 1),
|
|
@@ -3045,7 +2959,7 @@ var StepperButtons = ({
|
|
|
3045
2959
|
children: globalLanguageState ? globalLanguageState.backButton : "<<"
|
|
3046
2960
|
}
|
|
3047
2961
|
),
|
|
3048
|
-
/* @__PURE__ */ (0,
|
|
2962
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
3049
2963
|
"button",
|
|
3050
2964
|
{
|
|
3051
2965
|
type: activeStep === totalSteps ? "submit" : "button",
|
|
@@ -3063,19 +2977,19 @@ var StepperButtonsStandard_default = StepperButtons;
|
|
|
3063
2977
|
|
|
3064
2978
|
// src/components/stepper/StepperStandard/StepperStandard.tsx
|
|
3065
2979
|
var import_react14 = __toESM(require("react"));
|
|
3066
|
-
var
|
|
2980
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
3067
2981
|
var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
3068
|
-
return /* @__PURE__ */ (0,
|
|
2982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "pts-stepper-container", "aria-hidden": "true", children: arraySteps.map((step, index) => {
|
|
3069
2983
|
const isActive = step.step === activeStep;
|
|
3070
2984
|
const lastElement = arraySteps.length;
|
|
3071
2985
|
const isDone = step.step < activeStep;
|
|
3072
|
-
return /* @__PURE__ */ (0,
|
|
3073
|
-
/* @__PURE__ */ (0,
|
|
3074
|
-
/* @__PURE__ */ (0,
|
|
2986
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react14.default.Fragment, { children: [
|
|
2987
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "pts-stepper-step", children: [
|
|
2988
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3075
2989
|
"div",
|
|
3076
2990
|
{
|
|
3077
2991
|
className: "pts-stepperDot" + (isActive ? " pts-stepperDotActive" : "") + (isDone ? " pts-stepperDotDone" : ""),
|
|
3078
|
-
children: isDone ? /* @__PURE__ */ (0,
|
|
2992
|
+
children: isDone ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3079
2993
|
"svg",
|
|
3080
2994
|
{
|
|
3081
2995
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3083,7 +2997,7 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
3083
2997
|
height: "12",
|
|
3084
2998
|
viewBox: "0 0 15 12",
|
|
3085
2999
|
fill: "none",
|
|
3086
|
-
children: /* @__PURE__ */ (0,
|
|
3000
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3087
3001
|
"path",
|
|
3088
3002
|
{
|
|
3089
3003
|
d: "M1.5 5.4375L4.875 10.3125L13.5 1.6875",
|
|
@@ -3096,16 +3010,16 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
3096
3010
|
) : step.step
|
|
3097
3011
|
}
|
|
3098
3012
|
),
|
|
3099
|
-
/* @__PURE__ */ (0,
|
|
3013
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "pts-shortNameInStepper", children: step.shortNameInStepper })
|
|
3100
3014
|
] }, index),
|
|
3101
|
-
step.step !== lastElement && /* @__PURE__ */ (0,
|
|
3015
|
+
step.step !== lastElement && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "pts-stepperLine" })
|
|
3102
3016
|
] }, `step-${step.step}`);
|
|
3103
3017
|
}) });
|
|
3104
3018
|
};
|
|
3105
3019
|
var StepperStandard_default = Stepper;
|
|
3106
3020
|
|
|
3107
3021
|
// src/components/validation-and-status/ValidationErrorSummaryList/ValidationErrorSummaryList.tsx
|
|
3108
|
-
var
|
|
3022
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
3109
3023
|
var ValidationErrorSummaryList = ({
|
|
3110
3024
|
validationErrorsList,
|
|
3111
3025
|
questions,
|
|
@@ -3135,14 +3049,14 @@ var ValidationErrorSummaryList = ({
|
|
|
3135
3049
|
if (container) {
|
|
3136
3050
|
container.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
3137
3051
|
setTimeout(() => {
|
|
3138
|
-
const input = container.querySelector("input, textarea, select");
|
|
3052
|
+
const input = container.querySelector("input, textarea, select, button");
|
|
3139
3053
|
if (input) {
|
|
3140
3054
|
input.focus();
|
|
3141
3055
|
}
|
|
3142
3056
|
}, 300);
|
|
3143
3057
|
}
|
|
3144
3058
|
}
|
|
3145
|
-
if (!validationErrorsList.length) return /* @__PURE__ */ (0,
|
|
3059
|
+
if (!validationErrorsList.length) return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, {});
|
|
3146
3060
|
const filteredIds = filterIdsByGroupCheck(validationErrorsList, questions);
|
|
3147
3061
|
const count = filteredIds.length;
|
|
3148
3062
|
const title = summaryText.replace("{count}", count.toString()).replace(
|
|
@@ -3154,11 +3068,11 @@ var ValidationErrorSummaryList = ({
|
|
|
3154
3068
|
const found = questions.find((item) => item.id === id);
|
|
3155
3069
|
return (_a = found == null ? void 0 : found.validationSummaryLabel) != null ? _a : found == null ? void 0 : found.questionLabel;
|
|
3156
3070
|
}
|
|
3157
|
-
return /* @__PURE__ */ (0,
|
|
3158
|
-
/* @__PURE__ */ (0,
|
|
3159
|
-
/* @__PURE__ */ (0,
|
|
3160
|
-
/* @__PURE__ */ (0,
|
|
3161
|
-
/* @__PURE__ */ (0,
|
|
3071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: `pts-errorSummary-container pts-root-error ${validationErrorsList.length === 0 ? "cleanPadding" : ""}`, children: [
|
|
3072
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
|
|
3073
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "errorSummary-content", id: "pts-errorSummary-content", children: [
|
|
3074
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h2", { id: "errorSummary-headline", children: title }),
|
|
3075
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("ul", { id: "errorSummary-ul", children: filteredIds.map((questionId, i) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3162
3076
|
"a",
|
|
3163
3077
|
{
|
|
3164
3078
|
href: "#",
|
|
@@ -3176,11 +3090,11 @@ var ValidationErrorSummaryList = ({
|
|
|
3176
3090
|
var ValidationErrorSummaryList_default = ValidationErrorSummaryList;
|
|
3177
3091
|
|
|
3178
3092
|
// src/components/validation-and-status/FormStatusMessagesScreenReader/FormStatusMessagesScreenReader.tsx
|
|
3179
|
-
var
|
|
3093
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
3180
3094
|
var FormStatusMessagesScreenReader = ({ formStatus }) => {
|
|
3181
|
-
return /* @__PURE__ */ (0,
|
|
3182
|
-
/* @__PURE__ */ (0,
|
|
3183
|
-
/* @__PURE__ */ (0,
|
|
3095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
|
|
3096
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { "aria-live": "assertive", children: formStatus === "failed" && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "pts-root-mandatoryAsterisk", children: "N\xE5got gick fel, f\xF6rs\xF6k igen senare eller kontakta oss!" }) }),
|
|
3097
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { "aria-live": "polite", className: "visually-hidden", children: formStatus === "loading" ? "Ditt \xE4rende registreras. Uppdatera eller st\xE4ng inte sidan." : "" })
|
|
3184
3098
|
] });
|
|
3185
3099
|
};
|
|
3186
3100
|
var FormStatusMessagesScreenReader_default = FormStatusMessagesScreenReader;
|
|
@@ -3189,7 +3103,6 @@ var FormStatusMessagesScreenReader_default = FormStatusMessagesScreenReader;
|
|
|
3189
3103
|
AddFilesStandard,
|
|
3190
3104
|
CheckboxGroupStandard,
|
|
3191
3105
|
CookieBanner,
|
|
3192
|
-
DropdownStandard,
|
|
3193
3106
|
EditPreviewLinkStandard,
|
|
3194
3107
|
FooterStandard,
|
|
3195
3108
|
FormStatusMessagesScreenReader,
|