optimized-react-component-library-xyz123 0.20.3 → 0.20.5
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 -618
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +519 -609
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -5
- package/src/css/darkMode.css +381 -344
- package/src/css/mobileView.css +67 -5
- package/src/css/questions.css +45 -59
- package/src/css/styles.css +98 -37
- package/src/icons/arrow-down-darkmode.svg +0 -5
- package/src/icons/arrow-down.svg +0 -5
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,9 @@ var SelectedFiles = ({
|
|
|
629
709
|
isTouched(e, questionObject);
|
|
630
710
|
removeFile(newCountOfFiles);
|
|
631
711
|
};
|
|
632
|
-
(0, import_react5.useEffect)(() => {
|
|
633
|
-
var _a;
|
|
634
|
-
numberOfFiles > 0 && ((_a = theDiv.current) == null ? void 0 : _a.scrollIntoView({ behavior: "smooth", block: "end" }));
|
|
635
|
-
}, [numberOfFiles]);
|
|
636
712
|
const useWindowWidth = () => {
|
|
637
|
-
const [windowWidth2, setWindowWidth] = (0,
|
|
638
|
-
(0,
|
|
713
|
+
const [windowWidth2, setWindowWidth] = (0, import_react6.useState)(window.innerWidth);
|
|
714
|
+
(0, import_react6.useEffect)(() => {
|
|
639
715
|
const handleResize = () => {
|
|
640
716
|
setWindowWidth(window.innerWidth);
|
|
641
717
|
};
|
|
@@ -647,10 +723,10 @@ var SelectedFiles = ({
|
|
|
647
723
|
return windowWidth2;
|
|
648
724
|
};
|
|
649
725
|
const windowWidth = useWindowWidth();
|
|
650
|
-
return /* @__PURE__ */ (0,
|
|
651
|
-
/* @__PURE__ */ (0,
|
|
652
|
-
/* @__PURE__ */ (0,
|
|
653
|
-
/* @__PURE__ */ (0,
|
|
726
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
|
727
|
+
/* @__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: [
|
|
728
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
|
|
729
|
+
/* @__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
730
|
" ",
|
|
655
731
|
errorMessageAddingFile.map((errorObj, index) => {
|
|
656
732
|
const errorFileName = errorObj.FileName;
|
|
@@ -658,9 +734,9 @@ var SelectedFiles = ({
|
|
|
658
734
|
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
659
735
|
const fileType = errorObj.FileName.split(".").pop();
|
|
660
736
|
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
661
|
-
return /* @__PURE__ */ (0,
|
|
662
|
-
/* @__PURE__ */ (0,
|
|
663
|
-
/* @__PURE__ */ (0,
|
|
737
|
+
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: [
|
|
738
|
+
/* @__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 }) }) }),
|
|
739
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Row, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
664
740
|
import_react_bootstrap.Col,
|
|
665
741
|
{
|
|
666
742
|
className: "errorMessageAddingFile",
|
|
@@ -675,7 +751,7 @@ var SelectedFiles = ({
|
|
|
675
751
|
] }, index) }) }) }, `error-${errorObj.FileName}-${index}`) });
|
|
676
752
|
})
|
|
677
753
|
] }) }),
|
|
678
|
-
/* @__PURE__ */ (0,
|
|
754
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "addFile-error-close-button", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
679
755
|
"button",
|
|
680
756
|
{
|
|
681
757
|
className: "selectedFilesLinkButton error-close",
|
|
@@ -683,7 +759,7 @@ var SelectedFiles = ({
|
|
|
683
759
|
removeError();
|
|
684
760
|
},
|
|
685
761
|
"aria-label": activatedLanguage === "sv" ? `St\xE4ng felmeddelande` : `Close error message`,
|
|
686
|
-
children: /* @__PURE__ */ (0,
|
|
762
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
687
763
|
"svg",
|
|
688
764
|
{
|
|
689
765
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -691,7 +767,7 @@ var SelectedFiles = ({
|
|
|
691
767
|
height: "14",
|
|
692
768
|
viewBox: "0 0 14 14",
|
|
693
769
|
fill: "none",
|
|
694
|
-
children: /* @__PURE__ */ (0,
|
|
770
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
695
771
|
"path",
|
|
696
772
|
{
|
|
697
773
|
d: "M0.75 12.75L12.75 0.75M0.75 0.75L12.75 12.75",
|
|
@@ -705,15 +781,15 @@ var SelectedFiles = ({
|
|
|
705
781
|
}
|
|
706
782
|
) })
|
|
707
783
|
] }) }),
|
|
708
|
-
questionObject.files.length > 0 && /* @__PURE__ */ (0,
|
|
784
|
+
questionObject.files.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("ul", { className: "fileListUnorderedList", "aria-label": "Uppladdade filer", children: questionObject.files.map((file, index) => {
|
|
709
785
|
const indicatorfileName = file.FileName;
|
|
710
786
|
let mobileFirstFileName = file.FileName.split(".").shift();
|
|
711
787
|
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
712
788
|
const fileType = file.FileName.split(".").pop();
|
|
713
789
|
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
714
|
-
return /* @__PURE__ */ (0,
|
|
715
|
-
/* @__PURE__ */ (0,
|
|
716
|
-
/* @__PURE__ */ (0,
|
|
790
|
+
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: [
|
|
791
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "fileItem", children: [
|
|
792
|
+
/* @__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
793
|
"svg",
|
|
718
794
|
{
|
|
719
795
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -721,7 +797,7 @@ var SelectedFiles = ({
|
|
|
721
797
|
height: "8",
|
|
722
798
|
viewBox: "0 0 8 8",
|
|
723
799
|
fill: "none",
|
|
724
|
-
children: /* @__PURE__ */ (0,
|
|
800
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
725
801
|
"path",
|
|
726
802
|
{
|
|
727
803
|
d: "M1 4.65913L2.8 6.45913L7 1.35913",
|
|
@@ -732,20 +808,20 @@ var SelectedFiles = ({
|
|
|
732
808
|
)
|
|
733
809
|
}
|
|
734
810
|
) }) }),
|
|
735
|
-
/* @__PURE__ */ (0,
|
|
811
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Col, { children: windowWidth < 768 ? /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "mobileFirstFileName", children: [
|
|
736
812
|
mobileFirstFileName,
|
|
737
813
|
" (",
|
|
738
814
|
Math.ceil(file.FileSize / (1024 * 1024)),
|
|
739
815
|
" ",
|
|
740
816
|
"MB)"
|
|
741
|
-
] }) : /* @__PURE__ */ (0,
|
|
817
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "desktopFileName", children: [
|
|
742
818
|
file.FileName,
|
|
743
819
|
" (",
|
|
744
|
-
/* @__PURE__ */ (0,
|
|
820
|
+
/* @__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
821
|
" ",
|
|
746
822
|
")"
|
|
747
823
|
] }) }),
|
|
748
|
-
/* @__PURE__ */ (0,
|
|
824
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Col, { className: "lastCol", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
749
825
|
"button",
|
|
750
826
|
{
|
|
751
827
|
className: "selectedFilesLinkButton",
|
|
@@ -755,17 +831,17 @@ var SelectedFiles = ({
|
|
|
755
831
|
}
|
|
756
832
|
) })
|
|
757
833
|
] }),
|
|
758
|
-
showIndicator && /* @__PURE__ */ (0,
|
|
759
|
-
/* @__PURE__ */ (0,
|
|
834
|
+
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 }) }) }),
|
|
835
|
+
/* @__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
836
|
] }, index) }) }) }, `file-${file.FileName}-${index}`) });
|
|
761
837
|
}) }),
|
|
762
|
-
/* @__PURE__ */ (0,
|
|
838
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { ref: theDiv, className: "pts-clipboard-container" })
|
|
763
839
|
] });
|
|
764
840
|
};
|
|
765
841
|
var SelectedFilesStandard_default = SelectedFiles;
|
|
766
842
|
|
|
767
843
|
// src/components/input-components/AddFilesStandard/AddFilesStandard.tsx
|
|
768
|
-
var
|
|
844
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
769
845
|
var AddFiles = ({
|
|
770
846
|
questionObject,
|
|
771
847
|
handleQuestionInputChange = (e, questionObject2) => {
|
|
@@ -803,24 +879,24 @@ var AddFiles = ({
|
|
|
803
879
|
const errorId = `error-${questionObject.id}`;
|
|
804
880
|
const labelId = `label-${questionObject.id}`;
|
|
805
881
|
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,
|
|
882
|
+
const [numberOfFiles, setNumberOfFiles] = (0, import_react7.useState)(0);
|
|
883
|
+
const [totalFileSize, setTotalFileSize] = (0, import_react7.useState)(0);
|
|
884
|
+
const [errorMessageAddingFile, setErrorMessageAddingFile] = (0, import_react7.useState)([]);
|
|
885
|
+
const [newFiles, setNewFiles] = (0, import_react7.useState)([]);
|
|
886
|
+
const [dropFilesText, setDropFilesText] = (0, import_react7.useState)("Dra och sl\xE4pp dina filer h\xE4r");
|
|
887
|
+
(0, import_react7.useEffect)(() => {
|
|
812
888
|
if (activatedLanguage === "sv") {
|
|
813
889
|
setDropFilesText("Dra och sl\xE4pp dina filer h\xE4r");
|
|
814
890
|
} else {
|
|
815
891
|
setDropFilesText("Drag and drop your files here");
|
|
816
892
|
}
|
|
817
893
|
}, [activatedLanguage]);
|
|
818
|
-
(0,
|
|
894
|
+
(0, import_react7.useEffect)(() => {
|
|
819
895
|
if (questionObject.files && questionObject.files.length > 0) {
|
|
820
896
|
setNumberOfFiles(questionObject.files.length);
|
|
821
897
|
}
|
|
822
898
|
}, []);
|
|
823
|
-
const onDrop = (0,
|
|
899
|
+
const onDrop = (0, import_react7.useCallback)(
|
|
824
900
|
(acceptedFiles) => {
|
|
825
901
|
var _a, _b, _c;
|
|
826
902
|
const validationErrors = [];
|
|
@@ -910,7 +986,7 @@ var AddFiles = ({
|
|
|
910
986
|
reader.readAsDataURL(file);
|
|
911
987
|
});
|
|
912
988
|
};
|
|
913
|
-
(0,
|
|
989
|
+
(0, import_react7.useEffect)(() => {
|
|
914
990
|
if (newFiles.length > 0) {
|
|
915
991
|
const currentFiles = questionObject.files ? questionObject.files : [];
|
|
916
992
|
const e = {
|
|
@@ -937,9 +1013,9 @@ var AddFiles = ({
|
|
|
937
1013
|
const handleRemoveErrors = () => {
|
|
938
1014
|
setErrorMessageAddingFile([]);
|
|
939
1015
|
};
|
|
940
|
-
return /* @__PURE__ */ (0,
|
|
941
|
-
!showPreview && visible && /* @__PURE__ */ (0,
|
|
942
|
-
questionObject.aboutText && /* @__PURE__ */ (0,
|
|
1016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
1017
|
+
!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: [
|
|
1018
|
+
questionObject.aboutText && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
943
1019
|
"p",
|
|
944
1020
|
{
|
|
945
1021
|
id: aboutId,
|
|
@@ -949,19 +1025,19 @@ var AddFiles = ({
|
|
|
949
1025
|
),
|
|
950
1026
|
children: [
|
|
951
1027
|
questionObject.aboutText,
|
|
952
|
-
questionObject.isQuestionMandatory && /* @__PURE__ */ (0,
|
|
1028
|
+
questionObject.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "pts-root-mandatoryAsterisk", "aria-label": "Obligatorisk fr\xE5ga", children: [
|
|
953
1029
|
" ",
|
|
954
1030
|
"*"
|
|
955
1031
|
] })
|
|
956
1032
|
]
|
|
957
1033
|
}
|
|
958
1034
|
),
|
|
959
|
-
questionObject.hasValidationError && /* @__PURE__ */ (0,
|
|
960
|
-
/* @__PURE__ */ (0,
|
|
961
|
-
/* @__PURE__ */ (0,
|
|
962
|
-
/* @__PURE__ */ (0,
|
|
1035
|
+
questionObject.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "pts-root-error error addfileserror", id: errorId, children: [
|
|
1036
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
1037
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
|
|
1038
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "errorText", children: questionObject.validationDefaultMessesege })
|
|
963
1039
|
] }),
|
|
964
|
-
/* @__PURE__ */ (0,
|
|
1040
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
965
1041
|
ExploreFilesStandard_default,
|
|
966
1042
|
{
|
|
967
1043
|
FilesSelected: onDrop,
|
|
@@ -977,7 +1053,7 @@ var AddFiles = ({
|
|
|
977
1053
|
removeUploadErrors: handleRemoveErrors
|
|
978
1054
|
}
|
|
979
1055
|
),
|
|
980
|
-
/* @__PURE__ */ (0,
|
|
1056
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
981
1057
|
DropFilesStandard_default,
|
|
982
1058
|
{
|
|
983
1059
|
FilesSelected: onDrop,
|
|
@@ -985,7 +1061,7 @@ var AddFiles = ({
|
|
|
985
1061
|
language: activatedLanguage
|
|
986
1062
|
}
|
|
987
1063
|
),
|
|
988
|
-
/* @__PURE__ */ (0,
|
|
1064
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
989
1065
|
SelectedFilesStandard_default,
|
|
990
1066
|
{
|
|
991
1067
|
questionObject,
|
|
@@ -1000,7 +1076,7 @@ var AddFiles = ({
|
|
|
1000
1076
|
}
|
|
1001
1077
|
)
|
|
1002
1078
|
] }) }),
|
|
1003
|
-
showPreview && /* @__PURE__ */ (0,
|
|
1079
|
+
showPreview && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PreviewAddFiles, { activatedLanguage, questionObject })
|
|
1004
1080
|
] });
|
|
1005
1081
|
};
|
|
1006
1082
|
var AddFilesStandard_default = AddFiles;
|
|
@@ -1009,17 +1085,17 @@ var PreviewAddFiles = ({
|
|
|
1009
1085
|
activatedLanguage
|
|
1010
1086
|
}) => {
|
|
1011
1087
|
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,
|
|
1088
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
1089
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dt", { id: `question-${previewId}`, children: questionObject.questionLabel ? questionObject.questionLabel : activatedLanguage === "en" ? "Attached files" : "Bifogade filer" }),
|
|
1090
|
+
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) => {
|
|
1091
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("li", { children: file.FileName }, `file-${index}-${file.FileName}`);
|
|
1092
|
+
}) }) }) : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No attached files" : "Inga bifogade filer" })
|
|
1017
1093
|
] });
|
|
1018
1094
|
};
|
|
1019
1095
|
|
|
1020
1096
|
// src/components/input-components/SingleCheckboxStandard/SingleCheckboxStandard.tsx
|
|
1021
|
-
var
|
|
1022
|
-
var
|
|
1097
|
+
var import_react8 = require("react");
|
|
1098
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1023
1099
|
var SingleCheckbox = ({
|
|
1024
1100
|
question,
|
|
1025
1101
|
handleQuestionInputChange,
|
|
@@ -1031,8 +1107,8 @@ var SingleCheckbox = ({
|
|
|
1031
1107
|
const inputId = `checkbox-${question.id}`;
|
|
1032
1108
|
const aboutId = `about-${question.id}`;
|
|
1033
1109
|
const errorId = `error-${question.id}`;
|
|
1034
|
-
const [checked, setChecked] = (0,
|
|
1035
|
-
(0,
|
|
1110
|
+
const [checked, setChecked] = (0, import_react8.useState)(false);
|
|
1111
|
+
(0, import_react8.useEffect)(() => {
|
|
1036
1112
|
if (question.answer && question.answer === "true") {
|
|
1037
1113
|
setChecked(true);
|
|
1038
1114
|
} else {
|
|
@@ -1045,10 +1121,10 @@ var SingleCheckbox = ({
|
|
|
1045
1121
|
const e = { target: { value: answer } };
|
|
1046
1122
|
handleQuestionInputChange(e, question);
|
|
1047
1123
|
};
|
|
1048
|
-
return /* @__PURE__ */ (0,
|
|
1049
|
-
!showPreview && question.visible && /* @__PURE__ */ (0,
|
|
1050
|
-
/* @__PURE__ */ (0,
|
|
1051
|
-
/* @__PURE__ */ (0,
|
|
1124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
|
|
1125
|
+
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { id: questionId, className: "pts-root-question pts-singleCheckbox-container", children: [
|
|
1126
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "pts-singleCheckbox-row", children: [
|
|
1127
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1052
1128
|
"input",
|
|
1053
1129
|
{
|
|
1054
1130
|
type: "checkbox",
|
|
@@ -1066,11 +1142,11 @@ var SingleCheckbox = ({
|
|
|
1066
1142
|
"aria-errormessage": question.hasValidationError ? errorId : void 0
|
|
1067
1143
|
}
|
|
1068
1144
|
),
|
|
1069
|
-
/* @__PURE__ */ (0,
|
|
1070
|
-
question.isQuestionMandatory && /* @__PURE__ */ (0,
|
|
1145
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("label", { htmlFor: `${inputId}`, children: question.questionLabel }),
|
|
1146
|
+
question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
1071
1147
|
" "
|
|
1072
1148
|
] }),
|
|
1073
|
-
question.aboutText && /* @__PURE__ */ (0,
|
|
1149
|
+
question.aboutText && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1074
1150
|
"div",
|
|
1075
1151
|
{
|
|
1076
1152
|
id: aboutId,
|
|
@@ -1079,15 +1155,15 @@ var SingleCheckbox = ({
|
|
|
1079
1155
|
}
|
|
1080
1156
|
),
|
|
1081
1157
|
" ",
|
|
1082
|
-
question.hasValidationError && /* @__PURE__ */ (0,
|
|
1083
|
-
/* @__PURE__ */ (0,
|
|
1084
|
-
/* @__PURE__ */ (0,
|
|
1085
|
-
/* @__PURE__ */ (0,
|
|
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 })
|
|
1086
1162
|
] }),
|
|
1087
1163
|
" "
|
|
1088
1164
|
] }),
|
|
1089
1165
|
" ",
|
|
1090
|
-
showPreview && /* @__PURE__ */ (0,
|
|
1166
|
+
showPreview && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PreviewSingleCheckbox, { activatedLanguage, question })
|
|
1091
1167
|
] });
|
|
1092
1168
|
};
|
|
1093
1169
|
var SingleCheckboxStandard_default = SingleCheckbox;
|
|
@@ -1095,174 +1171,25 @@ var PreviewSingleCheckbox = ({
|
|
|
1095
1171
|
question,
|
|
1096
1172
|
activatedLanguage
|
|
1097
1173
|
}) => {
|
|
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
1174
|
var _a, _b;
|
|
1170
1175
|
const previewId = `preview-${question.id}`;
|
|
1171
1176
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
|
|
1172
1177
|
/* @__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-
|
|
1178
|
+
((_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
1179
|
"dd",
|
|
1175
1180
|
{
|
|
1176
|
-
className: "pts-
|
|
1181
|
+
className: "pts-singleCheckbox-preview pts-root-answer",
|
|
1177
1182
|
id: `answer-${previewId}`,
|
|
1178
|
-
children: activatedLanguage === "
|
|
1183
|
+
children: activatedLanguage === "sv" ? "Nej" : "No"
|
|
1179
1184
|
}
|
|
1180
1185
|
)
|
|
1181
1186
|
] });
|
|
1182
1187
|
};
|
|
1183
1188
|
|
|
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
1189
|
// src/helpers/hasQuestionValidationError/hasQuestionValidationError.tsx
|
|
1263
1190
|
var import_date_fns = require("date-fns");
|
|
1264
1191
|
var hasQuestionValidationError = (question, questions) => {
|
|
1265
|
-
var _a, _b, _c, _d, _e;
|
|
1192
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1266
1193
|
let error = false;
|
|
1267
1194
|
if (question.isQuestionMandatory) {
|
|
1268
1195
|
if (question.isTouched === false) {
|
|
@@ -1275,19 +1202,28 @@ var hasQuestionValidationError = (question, questions) => {
|
|
|
1275
1202
|
error = true;
|
|
1276
1203
|
}
|
|
1277
1204
|
}
|
|
1278
|
-
|
|
1205
|
+
const maxLength = (_c = (_b = question.questionExtraAttribute) == null ? void 0 : _b.answerMaxLength) != null ? _c : 1e3;
|
|
1206
|
+
if (((_d = question.validationType) == null ? void 0 : _d.includes("maxLength")) && question.answer.length > maxLength) {
|
|
1207
|
+
error = true;
|
|
1208
|
+
}
|
|
1209
|
+
if (question.questionType === "TextField") {
|
|
1210
|
+
if (question.answer.length > 100) {
|
|
1211
|
+
error = true;
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
if (((_e = question.validationType) == null ? void 0 : _e.find((e) => e === "email")) && (question.isQuestionMandatory || question.answer !== "")) {
|
|
1279
1215
|
const emailRegex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
1280
1216
|
if (!emailRegex.test(question.answer)) {
|
|
1281
1217
|
error = true;
|
|
1282
1218
|
}
|
|
1283
1219
|
}
|
|
1284
|
-
if (((
|
|
1220
|
+
if (((_f = question.validationType) == null ? void 0 : _f.find((e) => e === "fourNumbers")) && (question.isQuestionMandatory || question.answer !== "")) {
|
|
1285
1221
|
const fourNumbersRegex = /^\d{4}$/.test(question.answer);
|
|
1286
1222
|
if (!fourNumbersRegex) {
|
|
1287
1223
|
error = true;
|
|
1288
1224
|
}
|
|
1289
1225
|
}
|
|
1290
|
-
if (((
|
|
1226
|
+
if (((_g = question.validationType) == null ? void 0 : _g.find((e) => e === "isDateFormatValid")) && question.answer !== "") {
|
|
1291
1227
|
const regex = /^\d{4}-\d{2}-\d{2}$/;
|
|
1292
1228
|
if (!regex.test(question.answer)) {
|
|
1293
1229
|
error = true;
|
|
@@ -1301,16 +1237,18 @@ var hasQuestionValidationError = (question, questions) => {
|
|
|
1301
1237
|
error = true;
|
|
1302
1238
|
}
|
|
1303
1239
|
}
|
|
1304
|
-
const groupCheckError = (
|
|
1240
|
+
const groupCheckError = (_h = question.validationType) == null ? void 0 : _h.find((e) => e.startsWith("groupCheck-"));
|
|
1305
1241
|
if (groupCheckError) {
|
|
1306
1242
|
const ids = groupCheckError.replace("groupCheck-", "").split("-");
|
|
1307
|
-
const relatedAnswers = ids.map(
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1243
|
+
const relatedAnswers = ids.map(
|
|
1244
|
+
(id) => {
|
|
1245
|
+
var _a2;
|
|
1246
|
+
return (_a2 = questions.find((q) => {
|
|
1247
|
+
var _a3;
|
|
1248
|
+
return ((_a3 = q.id) == null ? void 0 : _a3.toString()) === id;
|
|
1249
|
+
})) == null ? void 0 : _a2.answer;
|
|
1250
|
+
}
|
|
1251
|
+
);
|
|
1314
1252
|
const currentAnswer = question.answer;
|
|
1315
1253
|
const allAnswers = [...relatedAnswers, currentAnswer];
|
|
1316
1254
|
if (allAnswers.every((ans) => ans === "")) {
|
|
@@ -1965,15 +1903,15 @@ var useCookieConsent = ({
|
|
|
1965
1903
|
};
|
|
1966
1904
|
|
|
1967
1905
|
// src/components/question-rendering/QuestionRenderer/QuestionRenderer.tsx
|
|
1968
|
-
var
|
|
1906
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1969
1907
|
var QuestionRenderer = ({
|
|
1970
1908
|
question,
|
|
1971
1909
|
handleQuestionInputChange,
|
|
1972
1910
|
activatedLanguage = "sv",
|
|
1973
1911
|
showPreview = false
|
|
1974
1912
|
}) => {
|
|
1975
|
-
return /* @__PURE__ */ (0,
|
|
1976
|
-
question.questionType === "Radio" && /* @__PURE__ */ (0,
|
|
1913
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
|
1914
|
+
question.questionType === "Radio" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1977
1915
|
RadioMultipleStandard_default,
|
|
1978
1916
|
{
|
|
1979
1917
|
question,
|
|
@@ -1981,7 +1919,7 @@ var QuestionRenderer = ({
|
|
|
1981
1919
|
showPreview
|
|
1982
1920
|
}
|
|
1983
1921
|
),
|
|
1984
|
-
question.questionType === "TextField" && /* @__PURE__ */ (0,
|
|
1922
|
+
question.questionType === "TextField" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1985
1923
|
TextFieldStandard_default,
|
|
1986
1924
|
{
|
|
1987
1925
|
question,
|
|
@@ -1990,7 +1928,7 @@ var QuestionRenderer = ({
|
|
|
1990
1928
|
activatedLanguage
|
|
1991
1929
|
}
|
|
1992
1930
|
),
|
|
1993
|
-
question.questionType === "AddFiles" && /* @__PURE__ */ (0,
|
|
1931
|
+
question.questionType === "AddFiles" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1994
1932
|
AddFilesStandard_default,
|
|
1995
1933
|
{
|
|
1996
1934
|
questionObject: question,
|
|
@@ -2000,7 +1938,7 @@ var QuestionRenderer = ({
|
|
|
2000
1938
|
visible: question.visible
|
|
2001
1939
|
}
|
|
2002
1940
|
),
|
|
2003
|
-
question.questionType === "SingleCheckbox" && /* @__PURE__ */ (0,
|
|
1941
|
+
question.questionType === "SingleCheckbox" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2004
1942
|
SingleCheckboxStandard_default,
|
|
2005
1943
|
{
|
|
2006
1944
|
question,
|
|
@@ -2009,7 +1947,7 @@ var QuestionRenderer = ({
|
|
|
2009
1947
|
activatedLanguage
|
|
2010
1948
|
}
|
|
2011
1949
|
),
|
|
2012
|
-
question.questionType === "Checkbox" && /* @__PURE__ */ (0,
|
|
1950
|
+
question.questionType === "Checkbox" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2013
1951
|
MultipleCheckboxesStandard_default,
|
|
2014
1952
|
{
|
|
2015
1953
|
question,
|
|
@@ -2018,7 +1956,7 @@ var QuestionRenderer = ({
|
|
|
2018
1956
|
activatedLanguage
|
|
2019
1957
|
}
|
|
2020
1958
|
),
|
|
2021
|
-
question.questionType === "CheckboxGroup" && /* @__PURE__ */ (0,
|
|
1959
|
+
question.questionType === "CheckboxGroup" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2022
1960
|
CheckboxGroupStandard_default,
|
|
2023
1961
|
{
|
|
2024
1962
|
question,
|
|
@@ -2027,21 +1965,13 @@ var QuestionRenderer = ({
|
|
|
2027
1965
|
activatedLanguage
|
|
2028
1966
|
}
|
|
2029
1967
|
),
|
|
2030
|
-
question.questionType === "TextArea" && /* @__PURE__ */ (0,
|
|
1968
|
+
question.questionType === "TextArea" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2031
1969
|
TextAreaStandard_default,
|
|
2032
1970
|
{
|
|
2033
1971
|
question,
|
|
2034
1972
|
handleQuestionInputChange,
|
|
2035
1973
|
showPreview
|
|
2036
1974
|
}
|
|
2037
|
-
),
|
|
2038
|
-
question.questionType === "Dropdown" && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
2039
|
-
DropdownStandard_default,
|
|
2040
|
-
{
|
|
2041
|
-
question,
|
|
2042
|
-
handleQuestionInputChange,
|
|
2043
|
-
showPreview
|
|
2044
|
-
}
|
|
2045
1975
|
)
|
|
2046
1976
|
] });
|
|
2047
1977
|
};
|
|
@@ -2049,7 +1979,7 @@ var QuestionRenderer_default = QuestionRenderer;
|
|
|
2049
1979
|
|
|
2050
1980
|
// src/components/question-rendering/QuestionGroup/QuestionGroup.tsx
|
|
2051
1981
|
var import_react12 = require("react");
|
|
2052
|
-
var
|
|
1982
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
2053
1983
|
var QuestionGroup = ({
|
|
2054
1984
|
questions,
|
|
2055
1985
|
wrapperElement = "none",
|
|
@@ -2072,8 +2002,8 @@ var QuestionGroup = ({
|
|
|
2072
2002
|
}
|
|
2073
2003
|
});
|
|
2074
2004
|
}, [questions]);
|
|
2075
|
-
const groupQuestions = /* @__PURE__ */ (0,
|
|
2076
|
-
return /* @__PURE__ */ (0,
|
|
2005
|
+
const groupQuestions = /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, { children: questions.map((question, index) => {
|
|
2006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react12.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
2077
2007
|
QuestionRenderer_default,
|
|
2078
2008
|
{
|
|
2079
2009
|
question,
|
|
@@ -2085,7 +2015,7 @@ var QuestionGroup = ({
|
|
|
2085
2015
|
}) });
|
|
2086
2016
|
switch (wrapperElement) {
|
|
2087
2017
|
case "fieldset":
|
|
2088
|
-
return /* @__PURE__ */ (0,
|
|
2018
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
2089
2019
|
"fieldset",
|
|
2090
2020
|
{
|
|
2091
2021
|
className: "pts-root-question-group-fieldset pts-root-question",
|
|
@@ -2094,37 +2024,37 @@ var QuestionGroup = ({
|
|
|
2094
2024
|
"aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
2095
2025
|
"aria-describedby": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
2096
2026
|
children: [
|
|
2097
|
-
legendLabel && /* @__PURE__ */ (0,
|
|
2098
|
-
/* @__PURE__ */ (0,
|
|
2027
|
+
legendLabel && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("legend", { children: [
|
|
2028
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { children: [
|
|
2099
2029
|
legendLabel,
|
|
2100
|
-
groupMandatory && /* @__PURE__ */ (0,
|
|
2030
|
+
groupMandatory && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
2101
2031
|
] }),
|
|
2102
|
-
firstQuestion.hasValidationError && /* @__PURE__ */ (0,
|
|
2032
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "sr-only", children: [
|
|
2103
2033
|
"Valideringsfel. ",
|
|
2104
2034
|
firstQuestion.validationDefaultMessesege
|
|
2105
2035
|
] })
|
|
2106
2036
|
] }),
|
|
2107
|
-
firstQuestion.hasValidationError && /* @__PURE__ */ (0,
|
|
2108
|
-
/* @__PURE__ */ (0,
|
|
2109
|
-
/* @__PURE__ */ (0,
|
|
2037
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "pts-root-error", id: firstQuestion.id + "-error", children: [
|
|
2038
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { "aria-label": "Valideringsfel", className: "errorDot", children: "!" }),
|
|
2039
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "errorText", children: firstQuestion.validationDefaultMessesege })
|
|
2110
2040
|
] }),
|
|
2111
2041
|
groupQuestions
|
|
2112
2042
|
]
|
|
2113
2043
|
}
|
|
2114
2044
|
);
|
|
2115
2045
|
case "section":
|
|
2116
|
-
return /* @__PURE__ */ (0,
|
|
2046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("section", { className: "pts-root-question-group-section", children: groupQuestions });
|
|
2117
2047
|
case "div":
|
|
2118
|
-
return /* @__PURE__ */ (0,
|
|
2048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "pts-root-question-group-div", children: groupQuestions });
|
|
2119
2049
|
case "none":
|
|
2120
2050
|
default:
|
|
2121
|
-
return /* @__PURE__ */ (0,
|
|
2051
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react12.Fragment, { children: groupQuestions });
|
|
2122
2052
|
}
|
|
2123
2053
|
};
|
|
2124
2054
|
var QuestionGroup_default = QuestionGroup;
|
|
2125
2055
|
|
|
2126
2056
|
// src/components/layout/CookieBanner/CookieBanner.tsx
|
|
2127
|
-
var
|
|
2057
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
2128
2058
|
var CookieBanner = ({
|
|
2129
2059
|
visible = false,
|
|
2130
2060
|
onCookieStateChange,
|
|
@@ -2146,7 +2076,7 @@ var CookieBanner = ({
|
|
|
2146
2076
|
onClose();
|
|
2147
2077
|
}
|
|
2148
2078
|
};
|
|
2149
|
-
return /* @__PURE__ */ (0,
|
|
2079
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2150
2080
|
"div",
|
|
2151
2081
|
{
|
|
2152
2082
|
className: "pts-cookieBanner",
|
|
@@ -2156,11 +2086,11 @@ var CookieBanner = ({
|
|
|
2156
2086
|
"aria-modal": "true",
|
|
2157
2087
|
id: "cookie-banner",
|
|
2158
2088
|
tabIndex: -1,
|
|
2159
|
-
children: /* @__PURE__ */ (0,
|
|
2160
|
-
/* @__PURE__ */ (0,
|
|
2161
|
-
/* @__PURE__ */ (0,
|
|
2162
|
-
/* @__PURE__ */ (0,
|
|
2163
|
-
/* @__PURE__ */ (0,
|
|
2089
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "content", children: [
|
|
2090
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { id: "cookie-banner-title", children: "Kakor (cookies)" }),
|
|
2091
|
+
/* @__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." }),
|
|
2092
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "pts-cookieBanner-Links", children: [
|
|
2093
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
2164
2094
|
"svg",
|
|
2165
2095
|
{
|
|
2166
2096
|
width: "27",
|
|
@@ -2170,8 +2100,8 @@ var CookieBanner = ({
|
|
|
2170
2100
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2171
2101
|
"aria-hidden": "true",
|
|
2172
2102
|
children: [
|
|
2173
|
-
/* @__PURE__ */ (0,
|
|
2174
|
-
/* @__PURE__ */ (0,
|
|
2103
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("rect", { width: "27", height: "27", rx: "13.5", fill: "#6E3282" }),
|
|
2104
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2175
2105
|
"path",
|
|
2176
2106
|
{
|
|
2177
2107
|
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,19 +2111,19 @@ var CookieBanner = ({
|
|
|
2181
2111
|
]
|
|
2182
2112
|
}
|
|
2183
2113
|
),
|
|
2184
|
-
/* @__PURE__ */ (0,
|
|
2114
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2185
2115
|
"a",
|
|
2186
2116
|
{
|
|
2187
2117
|
href: "https://pts.se/om-oss/om-pts.se/kakor-pa-webbplatsen/kakor-pa-pts-e-tjanster/",
|
|
2188
2118
|
target: "_blank",
|
|
2189
2119
|
rel: "noopener noreferrer",
|
|
2190
|
-
children: "Kakor (cookies) p\xE5 pts.se (\xF6ppnas i
|
|
2120
|
+
children: "Kakor (cookies) p\xE5 pts.se (\xF6ppnas i ny flik)"
|
|
2191
2121
|
}
|
|
2192
2122
|
)
|
|
2193
2123
|
] }),
|
|
2194
|
-
/* @__PURE__ */ (0,
|
|
2195
|
-
/* @__PURE__ */ (0,
|
|
2196
|
-
/* @__PURE__ */ (0,
|
|
2124
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "pts-cookieBanner-Buttons", children: [
|
|
2125
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { onClick: () => handleCookieChoice(true), children: "Ja, jag samtycker" }),
|
|
2126
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { onClick: () => handleCookieChoice(false), children: "Nej, jag samtycker inte" })
|
|
2197
2127
|
] })
|
|
2198
2128
|
] })
|
|
2199
2129
|
}
|
|
@@ -2202,460 +2132,463 @@ var CookieBanner = ({
|
|
|
2202
2132
|
var CookieBanner_default = CookieBanner;
|
|
2203
2133
|
|
|
2204
2134
|
// src/components/layout/FooterStandard/FooterStandard.tsx
|
|
2205
|
-
var
|
|
2135
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
2206
2136
|
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",
|
|
2137
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("footer", { className: "pts-footer-container", children: [
|
|
2138
|
+
/* @__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" }) }),
|
|
2139
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "pts-footer-content", children: [
|
|
2140
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2141
|
+
"svg",
|
|
2275
2142
|
{
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2143
|
+
"aria-label": activatedLanguage === "en" ? "PTS logotype" : "PTS logotyp",
|
|
2144
|
+
className: "pts-footer-logo",
|
|
2145
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2146
|
+
width: "278",
|
|
2147
|
+
height: "72",
|
|
2148
|
+
viewBox: "0 0 278 72",
|
|
2149
|
+
fill: "none",
|
|
2279
2150
|
children: [
|
|
2280
|
-
/* @__PURE__ */ (0,
|
|
2281
|
-
|
|
2151
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
2152
|
+
"path",
|
|
2153
|
+
{
|
|
2154
|
+
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",
|
|
2155
|
+
fill: "white"
|
|
2156
|
+
}
|
|
2157
|
+
),
|
|
2158
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
2159
|
+
"path",
|
|
2160
|
+
{
|
|
2161
|
+
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",
|
|
2162
|
+
fill: "white"
|
|
2163
|
+
}
|
|
2164
|
+
)
|
|
2282
2165
|
]
|
|
2283
2166
|
}
|
|
2284
|
-
)
|
|
2285
|
-
|
|
2286
|
-
|
|
2167
|
+
),
|
|
2168
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("nav", { className: "pts-footer-linkList", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("ul", { children: [
|
|
2169
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2170
|
+
"a",
|
|
2171
|
+
{
|
|
2172
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
|
|
2173
|
+
target: "_blank",
|
|
2174
|
+
rel: "noopener noreferrer",
|
|
2175
|
+
children: [
|
|
2176
|
+
/* @__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)" }),
|
|
2177
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
|
|
2178
|
+
]
|
|
2179
|
+
}
|
|
2180
|
+
) }),
|
|
2181
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2182
|
+
"a",
|
|
2183
|
+
{
|
|
2184
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
|
|
2185
|
+
target: "_blank",
|
|
2186
|
+
rel: "noopener noreferrer",
|
|
2187
|
+
children: [
|
|
2188
|
+
/* @__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)" }),
|
|
2189
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Processing of personal data" : "Behandling av personuppgifter" })
|
|
2190
|
+
]
|
|
2191
|
+
}
|
|
2192
|
+
) }),
|
|
2193
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2194
|
+
"a",
|
|
2195
|
+
{
|
|
2196
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
|
|
2197
|
+
target: "_blank",
|
|
2198
|
+
rel: "noopener noreferrer",
|
|
2199
|
+
children: [
|
|
2200
|
+
/* @__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)" }),
|
|
2201
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Accessibility" : "Tillg\xE4nglighetsredog\xF6relse" })
|
|
2202
|
+
]
|
|
2203
|
+
}
|
|
2204
|
+
) }),
|
|
2205
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2206
|
+
"a",
|
|
2207
|
+
{
|
|
2208
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/cookies-eservices" : "https://www.pts.se/kakor-etjanster",
|
|
2209
|
+
target: "_blank",
|
|
2210
|
+
rel: "noopener noreferrer",
|
|
2211
|
+
children: [
|
|
2212
|
+
/* @__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)" }),
|
|
2213
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Cookies" : "Kakor" })
|
|
2214
|
+
]
|
|
2215
|
+
}
|
|
2216
|
+
) })
|
|
2217
|
+
] }) })
|
|
2218
|
+
] })
|
|
2219
|
+
] });
|
|
2287
2220
|
};
|
|
2288
2221
|
var FooterStandard_default = Footer;
|
|
2289
2222
|
|
|
2290
2223
|
// src/components/layout/HeaderStandard/Icons.tsx
|
|
2291
|
-
var
|
|
2292
|
-
var LanguageIcon = () => /* @__PURE__ */ (0,
|
|
2224
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
2225
|
+
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
2226
|
"path",
|
|
2294
2227
|
{
|
|
2295
2228
|
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
2229
|
fill: "#6E3282"
|
|
2297
2230
|
}
|
|
2298
2231
|
) });
|
|
2299
|
-
var Logo_sv = () => /* @__PURE__ */ (0,
|
|
2300
|
-
/* @__PURE__ */ (0,
|
|
2232
|
+
var Logo_sv = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { width: "168.8", height: "40", viewBox: "0 0 168.8 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2301
2234
|
"path",
|
|
2302
2235
|
{
|
|
2303
2236
|
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
2237
|
fill: "#141414"
|
|
2305
2238
|
}
|
|
2306
2239
|
),
|
|
2307
|
-
/* @__PURE__ */ (0,
|
|
2240
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2308
2241
|
"path",
|
|
2309
2242
|
{
|
|
2310
2243
|
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
2244
|
fill: "#141414"
|
|
2312
2245
|
}
|
|
2313
2246
|
),
|
|
2314
|
-
/* @__PURE__ */ (0,
|
|
2247
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2315
2248
|
"path",
|
|
2316
2249
|
{
|
|
2317
2250
|
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
2251
|
fill: "#141414"
|
|
2319
2252
|
}
|
|
2320
2253
|
),
|
|
2321
|
-
/* @__PURE__ */ (0,
|
|
2254
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2322
2255
|
"path",
|
|
2323
2256
|
{
|
|
2324
2257
|
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
2258
|
fill: "#141414"
|
|
2326
2259
|
}
|
|
2327
2260
|
),
|
|
2328
|
-
/* @__PURE__ */ (0,
|
|
2329
|
-
/* @__PURE__ */ (0,
|
|
2261
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M108.778 22.5557H112.5V23.3334H108.778V22.5557Z", fill: "#141414" }),
|
|
2262
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2330
2263
|
"path",
|
|
2331
2264
|
{
|
|
2332
2265
|
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
2266
|
fill: "#141414"
|
|
2334
2267
|
}
|
|
2335
2268
|
),
|
|
2336
|
-
/* @__PURE__ */ (0,
|
|
2269
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2337
2270
|
"path",
|
|
2338
2271
|
{
|
|
2339
2272
|
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
2273
|
fill: "#141414"
|
|
2341
2274
|
}
|
|
2342
2275
|
),
|
|
2343
|
-
/* @__PURE__ */ (0,
|
|
2276
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2344
2277
|
"path",
|
|
2345
2278
|
{
|
|
2346
2279
|
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
2280
|
fill: "#141414"
|
|
2348
2281
|
}
|
|
2349
2282
|
),
|
|
2350
|
-
/* @__PURE__ */ (0,
|
|
2283
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2351
2284
|
"path",
|
|
2352
2285
|
{
|
|
2353
2286
|
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
2287
|
fill: "#141414"
|
|
2355
2288
|
}
|
|
2356
2289
|
),
|
|
2357
|
-
/* @__PURE__ */ (0,
|
|
2290
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2358
2291
|
"path",
|
|
2359
2292
|
{
|
|
2360
2293
|
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
2294
|
fill: "#141414"
|
|
2362
2295
|
}
|
|
2363
2296
|
),
|
|
2364
|
-
/* @__PURE__ */ (0,
|
|
2365
|
-
/* @__PURE__ */ (0,
|
|
2297
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M97.8335 29.4446V37.2224H96.9446V29.4446H97.8335Z", fill: "#141414" }),
|
|
2298
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2366
2299
|
"path",
|
|
2367
2300
|
{
|
|
2368
2301
|
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
2302
|
fill: "#141414"
|
|
2370
2303
|
}
|
|
2371
2304
|
),
|
|
2372
|
-
/* @__PURE__ */ (0,
|
|
2305
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2373
2306
|
"path",
|
|
2374
2307
|
{
|
|
2375
2308
|
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
2309
|
fill: "#141414"
|
|
2377
2310
|
}
|
|
2378
2311
|
),
|
|
2379
|
-
/* @__PURE__ */ (0,
|
|
2312
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2380
2313
|
"path",
|
|
2381
2314
|
{
|
|
2382
2315
|
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
2316
|
fill: "#141414"
|
|
2384
2317
|
}
|
|
2385
2318
|
),
|
|
2386
|
-
/* @__PURE__ */ (0,
|
|
2319
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2387
2320
|
"path",
|
|
2388
2321
|
{
|
|
2389
2322
|
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
2323
|
fill: "#141414"
|
|
2391
2324
|
}
|
|
2392
2325
|
),
|
|
2393
|
-
/* @__PURE__ */ (0,
|
|
2326
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2394
2327
|
"path",
|
|
2395
2328
|
{
|
|
2396
2329
|
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
2330
|
fill: "#141414"
|
|
2398
2331
|
}
|
|
2399
2332
|
),
|
|
2400
|
-
/* @__PURE__ */ (0,
|
|
2333
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2401
2334
|
"path",
|
|
2402
2335
|
{
|
|
2403
2336
|
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
2337
|
fill: "#141414"
|
|
2405
2338
|
}
|
|
2406
2339
|
),
|
|
2407
|
-
/* @__PURE__ */ (0,
|
|
2408
|
-
/* @__PURE__ */ (0,
|
|
2340
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M130.333 29.4446V37.2224H129.445V29.4446H130.333Z", fill: "#141414" }),
|
|
2341
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2409
2342
|
"path",
|
|
2410
2343
|
{
|
|
2411
2344
|
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
2345
|
fill: "#141414"
|
|
2413
2346
|
}
|
|
2414
2347
|
),
|
|
2415
|
-
/* @__PURE__ */ (0,
|
|
2348
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2416
2349
|
"path",
|
|
2417
2350
|
{
|
|
2418
2351
|
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
2352
|
fill: "#141414"
|
|
2420
2353
|
}
|
|
2421
2354
|
),
|
|
2422
|
-
/* @__PURE__ */ (0,
|
|
2355
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2423
2356
|
"path",
|
|
2424
2357
|
{
|
|
2425
2358
|
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
2359
|
fill: "#141414"
|
|
2427
2360
|
}
|
|
2428
2361
|
),
|
|
2429
|
-
/* @__PURE__ */ (0,
|
|
2362
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2430
2363
|
"path",
|
|
2431
2364
|
{
|
|
2432
2365
|
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
2366
|
fill: "#141414"
|
|
2434
2367
|
}
|
|
2435
2368
|
),
|
|
2436
|
-
/* @__PURE__ */ (0,
|
|
2369
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2437
2370
|
"path",
|
|
2438
2371
|
{
|
|
2439
2372
|
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
2373
|
fill: "#F0AA1E"
|
|
2441
2374
|
}
|
|
2442
2375
|
),
|
|
2443
|
-
/* @__PURE__ */ (0,
|
|
2376
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M82.2223 18.3335V37.2224", stroke: "currentColor", strokeWidth: "0.8", strokeMiterlimit: "10" })
|
|
2444
2377
|
] });
|
|
2445
|
-
var Logo_en = () => /* @__PURE__ */ (0,
|
|
2446
|
-
/* @__PURE__ */ (0,
|
|
2378
|
+
var Logo_en = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { width: "189.0", height: "40", viewBox: "0 0 189 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
|
|
2379
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2447
2380
|
"path",
|
|
2448
2381
|
{
|
|
2449
2382
|
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
2383
|
fill: "#141414"
|
|
2451
2384
|
}
|
|
2452
2385
|
),
|
|
2453
|
-
/* @__PURE__ */ (0,
|
|
2386
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2454
2387
|
"path",
|
|
2455
2388
|
{
|
|
2456
2389
|
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
2390
|
fill: "#F0AA1E"
|
|
2458
2391
|
}
|
|
2459
2392
|
),
|
|
2460
|
-
/* @__PURE__ */ (0,
|
|
2461
|
-
/* @__PURE__ */ (0,
|
|
2393
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M82.2223 18.3335V37.2224", stroke: "currentColor", strokeWidth: "0.8", strokeMiterlimit: "10" }),
|
|
2394
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2462
2395
|
"path",
|
|
2463
2396
|
{
|
|
2464
2397
|
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
2398
|
fill: "#141414"
|
|
2466
2399
|
}
|
|
2467
2400
|
),
|
|
2468
|
-
/* @__PURE__ */ (0,
|
|
2401
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2469
2402
|
"path",
|
|
2470
2403
|
{
|
|
2471
2404
|
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
2405
|
fill: "#141414"
|
|
2473
2406
|
}
|
|
2474
2407
|
),
|
|
2475
|
-
/* @__PURE__ */ (0,
|
|
2408
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2476
2409
|
"path",
|
|
2477
2410
|
{
|
|
2478
2411
|
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
2412
|
fill: "#141414"
|
|
2480
2413
|
}
|
|
2481
2414
|
),
|
|
2482
|
-
/* @__PURE__ */ (0,
|
|
2415
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2483
2416
|
"path",
|
|
2484
2417
|
{
|
|
2485
2418
|
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
2419
|
fill: "#141414"
|
|
2487
2420
|
}
|
|
2488
2421
|
),
|
|
2489
|
-
/* @__PURE__ */ (0,
|
|
2422
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2490
2423
|
"path",
|
|
2491
2424
|
{
|
|
2492
2425
|
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
2426
|
fill: "#141414"
|
|
2494
2427
|
}
|
|
2495
2428
|
),
|
|
2496
|
-
/* @__PURE__ */ (0,
|
|
2429
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2497
2430
|
"path",
|
|
2498
2431
|
{
|
|
2499
2432
|
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
2433
|
fill: "#141414"
|
|
2501
2434
|
}
|
|
2502
2435
|
),
|
|
2503
|
-
/* @__PURE__ */ (0,
|
|
2436
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2504
2437
|
"path",
|
|
2505
2438
|
{
|
|
2506
2439
|
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
2440
|
fill: "#141414"
|
|
2508
2441
|
}
|
|
2509
2442
|
),
|
|
2510
|
-
/* @__PURE__ */ (0,
|
|
2443
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2511
2444
|
"path",
|
|
2512
2445
|
{
|
|
2513
2446
|
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
2447
|
fill: "#141414"
|
|
2515
2448
|
}
|
|
2516
2449
|
),
|
|
2517
|
-
/* @__PURE__ */ (0,
|
|
2450
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2518
2451
|
"path",
|
|
2519
2452
|
{
|
|
2520
2453
|
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
2454
|
fill: "#141414"
|
|
2522
2455
|
}
|
|
2523
2456
|
),
|
|
2524
|
-
/* @__PURE__ */ (0,
|
|
2457
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2525
2458
|
"path",
|
|
2526
2459
|
{
|
|
2527
2460
|
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
2461
|
fill: "#141414"
|
|
2529
2462
|
}
|
|
2530
2463
|
),
|
|
2531
|
-
/* @__PURE__ */ (0,
|
|
2464
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2532
2465
|
"path",
|
|
2533
2466
|
{
|
|
2534
2467
|
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
2468
|
fill: "#141414"
|
|
2536
2469
|
}
|
|
2537
2470
|
),
|
|
2538
|
-
/* @__PURE__ */ (0,
|
|
2471
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2539
2472
|
"path",
|
|
2540
2473
|
{
|
|
2541
2474
|
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
2475
|
fill: "#141414"
|
|
2543
2476
|
}
|
|
2544
2477
|
),
|
|
2545
|
-
/* @__PURE__ */ (0,
|
|
2478
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2546
2479
|
"path",
|
|
2547
2480
|
{
|
|
2548
2481
|
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
2482
|
fill: "#141414"
|
|
2550
2483
|
}
|
|
2551
2484
|
),
|
|
2552
|
-
/* @__PURE__ */ (0,
|
|
2485
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2553
2486
|
"path",
|
|
2554
2487
|
{
|
|
2555
2488
|
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
2489
|
fill: "#141414"
|
|
2557
2490
|
}
|
|
2558
2491
|
),
|
|
2559
|
-
/* @__PURE__ */ (0,
|
|
2492
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2560
2493
|
"path",
|
|
2561
2494
|
{
|
|
2562
2495
|
d: "M92.6112 29.4446V30.3335H90.1112V37.2224H89.1667V30.3335H86.6667V29.4446H92.6667H92.6112Z",
|
|
2563
2496
|
fill: "#141414"
|
|
2564
2497
|
}
|
|
2565
2498
|
),
|
|
2566
|
-
/* @__PURE__ */ (0,
|
|
2499
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2567
2500
|
"path",
|
|
2568
2501
|
{
|
|
2569
2502
|
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
2503
|
fill: "#141414"
|
|
2571
2504
|
}
|
|
2572
2505
|
),
|
|
2573
|
-
/* @__PURE__ */ (0,
|
|
2574
|
-
/* @__PURE__ */ (0,
|
|
2506
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M99.6667 29.4446V37.2224H98.7778V29.4446H99.6667Z", fill: "#141414" }),
|
|
2507
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2575
2508
|
"path",
|
|
2576
2509
|
{
|
|
2577
2510
|
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
2511
|
fill: "#141414"
|
|
2579
2512
|
}
|
|
2580
2513
|
),
|
|
2581
|
-
/* @__PURE__ */ (0,
|
|
2514
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2582
2515
|
"path",
|
|
2583
2516
|
{
|
|
2584
2517
|
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
2518
|
fill: "#141414"
|
|
2586
2519
|
}
|
|
2587
2520
|
),
|
|
2588
|
-
/* @__PURE__ */ (0,
|
|
2521
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2589
2522
|
"path",
|
|
2590
2523
|
{
|
|
2591
2524
|
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
2525
|
fill: "#141414"
|
|
2593
2526
|
}
|
|
2594
2527
|
),
|
|
2595
|
-
/* @__PURE__ */ (0,
|
|
2528
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2596
2529
|
"path",
|
|
2597
2530
|
{
|
|
2598
2531
|
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
2532
|
fill: "#141414"
|
|
2600
2533
|
}
|
|
2601
2534
|
),
|
|
2602
|
-
/* @__PURE__ */ (0,
|
|
2535
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2603
2536
|
"path",
|
|
2604
2537
|
{
|
|
2605
2538
|
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
2539
|
fill: "#141414"
|
|
2607
2540
|
}
|
|
2608
2541
|
),
|
|
2609
|
-
/* @__PURE__ */ (0,
|
|
2542
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2610
2543
|
"path",
|
|
2611
2544
|
{
|
|
2612
2545
|
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
2546
|
fill: "#141414"
|
|
2614
2547
|
}
|
|
2615
2548
|
),
|
|
2616
|
-
/* @__PURE__ */ (0,
|
|
2549
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2617
2550
|
"path",
|
|
2618
2551
|
{
|
|
2619
2552
|
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
2553
|
fill: "#141414"
|
|
2621
2554
|
}
|
|
2622
2555
|
),
|
|
2623
|
-
/* @__PURE__ */ (0,
|
|
2556
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2624
2557
|
"path",
|
|
2625
2558
|
{
|
|
2626
2559
|
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
2560
|
fill: "#141414"
|
|
2628
2561
|
}
|
|
2629
2562
|
),
|
|
2630
|
-
/* @__PURE__ */ (0,
|
|
2563
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2631
2564
|
"path",
|
|
2632
2565
|
{
|
|
2633
2566
|
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
2567
|
fill: "#141414"
|
|
2635
2568
|
}
|
|
2636
2569
|
),
|
|
2637
|
-
/* @__PURE__ */ (0,
|
|
2570
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2638
2571
|
"path",
|
|
2639
2572
|
{
|
|
2640
2573
|
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
2574
|
fill: "#141414"
|
|
2642
2575
|
}
|
|
2643
2576
|
),
|
|
2644
|
-
/* @__PURE__ */ (0,
|
|
2577
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2645
2578
|
"path",
|
|
2646
2579
|
{
|
|
2647
2580
|
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
2581
|
fill: "#141414"
|
|
2649
2582
|
}
|
|
2650
2583
|
),
|
|
2651
|
-
/* @__PURE__ */ (0,
|
|
2584
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2652
2585
|
"path",
|
|
2653
2586
|
{
|
|
2654
2587
|
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
2588
|
fill: "#141414"
|
|
2656
2589
|
}
|
|
2657
2590
|
),
|
|
2658
|
-
/* @__PURE__ */ (0,
|
|
2591
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2659
2592
|
"path",
|
|
2660
2593
|
{
|
|
2661
2594
|
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 +2598,7 @@ var Logo_en = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { widt
|
|
|
2665
2598
|
] });
|
|
2666
2599
|
|
|
2667
2600
|
// src/components/layout/HeaderStandard/HeaderStandard.tsx
|
|
2668
|
-
var
|
|
2601
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2669
2602
|
var Header = ({
|
|
2670
2603
|
activatedLanguage = "sv",
|
|
2671
2604
|
useLanguage = true,
|
|
@@ -2684,37 +2617,37 @@ var Header = ({
|
|
|
2684
2617
|
if (activatedLanguage === "sv") return "English";
|
|
2685
2618
|
else return "Svenska";
|
|
2686
2619
|
};
|
|
2687
|
-
return /* @__PURE__ */ (0,
|
|
2688
|
-
/* @__PURE__ */ (0,
|
|
2620
|
+
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: [
|
|
2621
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "pts-header-logo-container", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2689
2622
|
"a",
|
|
2690
2623
|
{
|
|
2691
2624
|
className: "pts-header-logo",
|
|
2692
2625
|
href: logoLink,
|
|
2693
2626
|
target: "_blank",
|
|
2694
2627
|
"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,
|
|
2628
|
+
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
2629
|
}
|
|
2697
2630
|
) }),
|
|
2698
|
-
useLanguage && /* @__PURE__ */ (0,
|
|
2631
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "pts-header-navigation-container", children: useLanguage && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2699
2632
|
"button",
|
|
2700
2633
|
{
|
|
2701
2634
|
lang: activatedLanguage === "en" ? "en" : "sv",
|
|
2702
2635
|
className: "pts-languageButton",
|
|
2703
2636
|
onClick: handleLanguageClick,
|
|
2704
2637
|
children: [
|
|
2705
|
-
/* @__PURE__ */ (0,
|
|
2706
|
-
/* @__PURE__ */ (0,
|
|
2707
|
-
activatedLanguage === "en" && /* @__PURE__ */ (0,
|
|
2708
|
-
activatedLanguage === "sv" && /* @__PURE__ */ (0,
|
|
2638
|
+
/* @__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, {}) }) }),
|
|
2639
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": "true", className: "pts-languageButton-text", children: getLanguageLabel() }),
|
|
2640
|
+
activatedLanguage === "en" && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: "\xC4ndra spr\xE5k till svenska" }),
|
|
2641
|
+
activatedLanguage === "sv" && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: "Change language to English" })
|
|
2709
2642
|
]
|
|
2710
2643
|
}
|
|
2711
|
-
)
|
|
2712
|
-
] });
|
|
2644
|
+
) })
|
|
2645
|
+
] }) });
|
|
2713
2646
|
};
|
|
2714
2647
|
var HeaderStandard_default = Header;
|
|
2715
2648
|
|
|
2716
2649
|
// src/components/layout/ModalStandard/ModalStandard.tsx
|
|
2717
|
-
var
|
|
2650
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
2718
2651
|
var CONTENT = {
|
|
2719
2652
|
en: {
|
|
2720
2653
|
heading: "Please wait",
|
|
@@ -2728,16 +2661,16 @@ var CONTENT = {
|
|
|
2728
2661
|
var Modal = ({ showModal: isOpen, activatedLanguage = "" }) => {
|
|
2729
2662
|
const currentContent = activatedLanguage === "en" ? CONTENT.en : CONTENT.sv;
|
|
2730
2663
|
if (!isOpen) return null;
|
|
2731
|
-
return /* @__PURE__ */ (0,
|
|
2732
|
-
/* @__PURE__ */ (0,
|
|
2733
|
-
/* @__PURE__ */ (0,
|
|
2734
|
-
/* @__PURE__ */ (0,
|
|
2664
|
+
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: [
|
|
2665
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h1", { children: currentContent.heading }),
|
|
2666
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { children: currentContent.message }),
|
|
2667
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "pts-spinner-border" })
|
|
2735
2668
|
] }) });
|
|
2736
2669
|
};
|
|
2737
2670
|
var ModalStandard_default = Modal;
|
|
2738
2671
|
|
|
2739
2672
|
// src/components/layout/SkipLinkStandard/SkipLinkStandard.tsx
|
|
2740
|
-
var
|
|
2673
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
2741
2674
|
var SkipLink = () => {
|
|
2742
2675
|
function scrollToMainContent() {
|
|
2743
2676
|
const container = document.getElementById(`main-content`);
|
|
@@ -2746,7 +2679,7 @@ var SkipLink = () => {
|
|
|
2746
2679
|
container.focus();
|
|
2747
2680
|
}
|
|
2748
2681
|
}
|
|
2749
|
-
return /* @__PURE__ */ (0,
|
|
2682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "pts-skipLink-container", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2750
2683
|
"a",
|
|
2751
2684
|
{
|
|
2752
2685
|
href: "#",
|
|
@@ -2763,23 +2696,23 @@ var SkipLinkStandard_default = SkipLink;
|
|
|
2763
2696
|
// src/components/text-blocks/TextHeadlineAndBodyStandard/TextHeadlineAndBodyStandard.tsx
|
|
2764
2697
|
var import_react13 = require("react");
|
|
2765
2698
|
var import_dompurify3 = __toESM(require("dompurify"));
|
|
2766
|
-
var
|
|
2699
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
2767
2700
|
var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
2768
|
-
return /* @__PURE__ */ (0,
|
|
2701
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2769
2702
|
"section",
|
|
2770
2703
|
{
|
|
2771
2704
|
className: "pts-textHeadlineAndBody-container",
|
|
2772
2705
|
children: [
|
|
2773
2706
|
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,
|
|
2707
|
+
data.body && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { dangerouslySetInnerHTML: { __html: import_dompurify3.default.sanitize(data.body) } }),
|
|
2708
|
+
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
2709
|
"a",
|
|
2777
2710
|
{
|
|
2778
2711
|
href: link.url,
|
|
2779
2712
|
target: "_blank",
|
|
2780
2713
|
rel: "noopener noreferrer",
|
|
2781
2714
|
children: [
|
|
2782
|
-
/* @__PURE__ */ (0,
|
|
2715
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2783
2716
|
"svg",
|
|
2784
2717
|
{
|
|
2785
2718
|
"aria-hidden": "true",
|
|
@@ -2788,7 +2721,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2788
2721
|
height: "10",
|
|
2789
2722
|
viewBox: "0 0 12 10",
|
|
2790
2723
|
fill: "none",
|
|
2791
|
-
children: /* @__PURE__ */ (0,
|
|
2724
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2792
2725
|
"path",
|
|
2793
2726
|
{
|
|
2794
2727
|
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 +2734,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2801
2734
|
]
|
|
2802
2735
|
}
|
|
2803
2736
|
) }, `more-info-${index}`)) }),
|
|
2804
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ (0,
|
|
2737
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2805
2738
|
"a",
|
|
2806
2739
|
{
|
|
2807
2740
|
href: data.linksForMoreInfo[0].url,
|
|
@@ -2809,7 +2742,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2809
2742
|
rel: "noopener noreferrer",
|
|
2810
2743
|
"aria-label": data.linksForMoreInfo[0].ariaLabel,
|
|
2811
2744
|
children: [
|
|
2812
|
-
/* @__PURE__ */ (0,
|
|
2745
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2813
2746
|
"svg",
|
|
2814
2747
|
{
|
|
2815
2748
|
"aria-hidden": "true",
|
|
@@ -2818,7 +2751,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2818
2751
|
height: "10",
|
|
2819
2752
|
viewBox: "0 0 12 10",
|
|
2820
2753
|
fill: "none",
|
|
2821
|
-
children: /* @__PURE__ */ (0,
|
|
2754
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2822
2755
|
"path",
|
|
2823
2756
|
{
|
|
2824
2757
|
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 +2771,7 @@ var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
|
2838
2771
|
var TextHeadlineAndBodyStandard_default = TextHeadlineAndBody;
|
|
2839
2772
|
|
|
2840
2773
|
// src/components/text-blocks/PrincipleOfPublicityStandard/PrincipleOfPublicityStandard.tsx
|
|
2841
|
-
var
|
|
2774
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
2842
2775
|
var CONTENT2 = {
|
|
2843
2776
|
en: {
|
|
2844
2777
|
headline: "The principle of publicity and processing of personal data",
|
|
@@ -2873,7 +2806,7 @@ var CONTENT2 = {
|
|
|
2873
2806
|
};
|
|
2874
2807
|
var PrincipleOfPublicity = ({ activatedLanguage = "" }) => {
|
|
2875
2808
|
const currentContent = activatedLanguage === "en" ? CONTENT2.en : CONTENT2.sv;
|
|
2876
|
-
return /* @__PURE__ */ (0,
|
|
2809
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2877
2810
|
TextHeadlineAndBodyStandard_default,
|
|
2878
2811
|
{
|
|
2879
2812
|
data: {
|
|
@@ -2893,18 +2826,18 @@ var PrincipleOfPublicityStandard_default = PrincipleOfPublicity;
|
|
|
2893
2826
|
|
|
2894
2827
|
// src/components/text-blocks/TextBody/TextBody.tsx
|
|
2895
2828
|
var import_dompurify4 = __toESM(require("dompurify"));
|
|
2896
|
-
var
|
|
2829
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
2897
2830
|
var TextBody = ({ data }) => {
|
|
2898
|
-
return /* @__PURE__ */ (0,
|
|
2899
|
-
data.body && /* @__PURE__ */ (0,
|
|
2900
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ (0,
|
|
2831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "pts-textBody-container", children: [
|
|
2832
|
+
data.body && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { dangerouslySetInnerHTML: { __html: import_dompurify4.default.sanitize(data.body) } }),
|
|
2833
|
+
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
2834
|
"a",
|
|
2902
2835
|
{
|
|
2903
2836
|
href: link.url,
|
|
2904
2837
|
target: "_blank",
|
|
2905
2838
|
rel: "noopener noreferrer",
|
|
2906
2839
|
children: [
|
|
2907
|
-
/* @__PURE__ */ (0,
|
|
2840
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2908
2841
|
"svg",
|
|
2909
2842
|
{
|
|
2910
2843
|
"aria-hidden": "true",
|
|
@@ -2913,7 +2846,7 @@ var TextBody = ({ data }) => {
|
|
|
2913
2846
|
height: "10",
|
|
2914
2847
|
viewBox: "0 0 12 10",
|
|
2915
2848
|
fill: "none",
|
|
2916
|
-
children: /* @__PURE__ */ (0,
|
|
2849
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2917
2850
|
"path",
|
|
2918
2851
|
{
|
|
2919
2852
|
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 +2859,7 @@ var TextBody = ({ data }) => {
|
|
|
2926
2859
|
]
|
|
2927
2860
|
}
|
|
2928
2861
|
) }, `more-info-${index}`)) }),
|
|
2929
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ (0,
|
|
2862
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
2930
2863
|
"a",
|
|
2931
2864
|
{
|
|
2932
2865
|
href: data.linksForMoreInfo[0].url,
|
|
@@ -2934,7 +2867,7 @@ var TextBody = ({ data }) => {
|
|
|
2934
2867
|
rel: "noopener noreferrer",
|
|
2935
2868
|
"aria-label": data.linksForMoreInfo[0].ariaLabel,
|
|
2936
2869
|
children: [
|
|
2937
|
-
/* @__PURE__ */ (0,
|
|
2870
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2938
2871
|
"svg",
|
|
2939
2872
|
{
|
|
2940
2873
|
"aria-hidden": "true",
|
|
@@ -2943,7 +2876,7 @@ var TextBody = ({ data }) => {
|
|
|
2943
2876
|
height: "10",
|
|
2944
2877
|
viewBox: "0 0 12 10",
|
|
2945
2878
|
fill: "none",
|
|
2946
|
-
children: /* @__PURE__ */ (0,
|
|
2879
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2947
2880
|
"path",
|
|
2948
2881
|
{
|
|
2949
2882
|
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 +2894,13 @@ var TextBody = ({ data }) => {
|
|
|
2961
2894
|
var TextBody_default = TextBody;
|
|
2962
2895
|
|
|
2963
2896
|
// src/components/stepper/EditPreviewLinkStandard/EditPreviewLinkStandard.tsx
|
|
2964
|
-
var
|
|
2897
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
2965
2898
|
var EditPreviewLink = ({
|
|
2966
2899
|
step,
|
|
2967
2900
|
changeStepHandler,
|
|
2968
2901
|
activatedLanguage = "sv"
|
|
2969
2902
|
}) => {
|
|
2970
|
-
return /* @__PURE__ */ (0,
|
|
2903
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2971
2904
|
"a",
|
|
2972
2905
|
{
|
|
2973
2906
|
href: "#",
|
|
@@ -2976,43 +2909,20 @@ var EditPreviewLink = ({
|
|
|
2976
2909
|
e.preventDefault();
|
|
2977
2910
|
changeStepHandler(step.step);
|
|
2978
2911
|
},
|
|
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
|
-
]
|
|
2912
|
+
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
2913
|
}
|
|
3004
2914
|
) });
|
|
3005
2915
|
};
|
|
3006
2916
|
var EditPreviewLinkStandard_default = EditPreviewLink;
|
|
3007
2917
|
|
|
3008
2918
|
// src/components/stepper/StartApplicationButton/StartApplicationButton.tsx
|
|
3009
|
-
var
|
|
2919
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
3010
2920
|
var StartApplicationButton = ({
|
|
3011
2921
|
onClick,
|
|
3012
2922
|
label = "Starta e-tj\xE4nsten",
|
|
3013
2923
|
className = ""
|
|
3014
2924
|
}) => {
|
|
3015
|
-
return /* @__PURE__ */ (0,
|
|
2925
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3016
2926
|
"button",
|
|
3017
2927
|
{
|
|
3018
2928
|
type: "button",
|
|
@@ -3025,7 +2935,7 @@ var StartApplicationButton = ({
|
|
|
3025
2935
|
var StartApplicationButton_default = StartApplicationButton;
|
|
3026
2936
|
|
|
3027
2937
|
// src/components/stepper/StepperButtonsStandard/StepperButtonsStandard.tsx
|
|
3028
|
-
var
|
|
2938
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
3029
2939
|
var StepperButtons = ({
|
|
3030
2940
|
globalLanguageState,
|
|
3031
2941
|
changeStepHandler,
|
|
@@ -3035,8 +2945,8 @@ var StepperButtons = ({
|
|
|
3035
2945
|
activeStep
|
|
3036
2946
|
}) => {
|
|
3037
2947
|
const totalSteps = steps ? steps.length : "";
|
|
3038
|
-
return /* @__PURE__ */ (0,
|
|
3039
|
-
activeStep !== 0 && /* @__PURE__ */ (0,
|
|
2948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "pts-stepperButtons-container", children: [
|
|
2949
|
+
activeStep !== 0 && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
3040
2950
|
"button",
|
|
3041
2951
|
{
|
|
3042
2952
|
onClick: () => changeStepHandler(activeStep - 1),
|
|
@@ -3045,7 +2955,7 @@ var StepperButtons = ({
|
|
|
3045
2955
|
children: globalLanguageState ? globalLanguageState.backButton : "<<"
|
|
3046
2956
|
}
|
|
3047
2957
|
),
|
|
3048
|
-
/* @__PURE__ */ (0,
|
|
2958
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
3049
2959
|
"button",
|
|
3050
2960
|
{
|
|
3051
2961
|
type: activeStep === totalSteps ? "submit" : "button",
|
|
@@ -3063,19 +2973,19 @@ var StepperButtonsStandard_default = StepperButtons;
|
|
|
3063
2973
|
|
|
3064
2974
|
// src/components/stepper/StepperStandard/StepperStandard.tsx
|
|
3065
2975
|
var import_react14 = __toESM(require("react"));
|
|
3066
|
-
var
|
|
2976
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
3067
2977
|
var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
3068
|
-
return /* @__PURE__ */ (0,
|
|
2978
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "pts-stepper-container", "aria-hidden": "true", children: arraySteps.map((step, index) => {
|
|
3069
2979
|
const isActive = step.step === activeStep;
|
|
3070
2980
|
const lastElement = arraySteps.length;
|
|
3071
2981
|
const isDone = step.step < activeStep;
|
|
3072
|
-
return /* @__PURE__ */ (0,
|
|
3073
|
-
/* @__PURE__ */ (0,
|
|
3074
|
-
/* @__PURE__ */ (0,
|
|
2982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react14.default.Fragment, { children: [
|
|
2983
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "pts-stepper-step", children: [
|
|
2984
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3075
2985
|
"div",
|
|
3076
2986
|
{
|
|
3077
2987
|
className: "pts-stepperDot" + (isActive ? " pts-stepperDotActive" : "") + (isDone ? " pts-stepperDotDone" : ""),
|
|
3078
|
-
children: isDone ? /* @__PURE__ */ (0,
|
|
2988
|
+
children: isDone ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3079
2989
|
"svg",
|
|
3080
2990
|
{
|
|
3081
2991
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3083,7 +2993,7 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
3083
2993
|
height: "12",
|
|
3084
2994
|
viewBox: "0 0 15 12",
|
|
3085
2995
|
fill: "none",
|
|
3086
|
-
children: /* @__PURE__ */ (0,
|
|
2996
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3087
2997
|
"path",
|
|
3088
2998
|
{
|
|
3089
2999
|
d: "M1.5 5.4375L4.875 10.3125L13.5 1.6875",
|
|
@@ -3096,16 +3006,16 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
3096
3006
|
) : step.step
|
|
3097
3007
|
}
|
|
3098
3008
|
),
|
|
3099
|
-
/* @__PURE__ */ (0,
|
|
3009
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "pts-shortNameInStepper", children: step.shortNameInStepper })
|
|
3100
3010
|
] }, index),
|
|
3101
|
-
step.step !== lastElement && /* @__PURE__ */ (0,
|
|
3011
|
+
step.step !== lastElement && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "pts-stepperLine" })
|
|
3102
3012
|
] }, `step-${step.step}`);
|
|
3103
3013
|
}) });
|
|
3104
3014
|
};
|
|
3105
3015
|
var StepperStandard_default = Stepper;
|
|
3106
3016
|
|
|
3107
3017
|
// src/components/validation-and-status/ValidationErrorSummaryList/ValidationErrorSummaryList.tsx
|
|
3108
|
-
var
|
|
3018
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
3109
3019
|
var ValidationErrorSummaryList = ({
|
|
3110
3020
|
validationErrorsList,
|
|
3111
3021
|
questions,
|
|
@@ -3135,14 +3045,14 @@ var ValidationErrorSummaryList = ({
|
|
|
3135
3045
|
if (container) {
|
|
3136
3046
|
container.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
3137
3047
|
setTimeout(() => {
|
|
3138
|
-
const input = container.querySelector("input, textarea, select");
|
|
3048
|
+
const input = container.querySelector("input, textarea, select, button");
|
|
3139
3049
|
if (input) {
|
|
3140
3050
|
input.focus();
|
|
3141
3051
|
}
|
|
3142
3052
|
}, 300);
|
|
3143
3053
|
}
|
|
3144
3054
|
}
|
|
3145
|
-
if (!validationErrorsList.length) return /* @__PURE__ */ (0,
|
|
3055
|
+
if (!validationErrorsList.length) return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, {});
|
|
3146
3056
|
const filteredIds = filterIdsByGroupCheck(validationErrorsList, questions);
|
|
3147
3057
|
const count = filteredIds.length;
|
|
3148
3058
|
const title = summaryText.replace("{count}", count.toString()).replace(
|
|
@@ -3154,11 +3064,11 @@ var ValidationErrorSummaryList = ({
|
|
|
3154
3064
|
const found = questions.find((item) => item.id === id);
|
|
3155
3065
|
return (_a = found == null ? void 0 : found.validationSummaryLabel) != null ? _a : found == null ? void 0 : found.questionLabel;
|
|
3156
3066
|
}
|
|
3157
|
-
return /* @__PURE__ */ (0,
|
|
3158
|
-
/* @__PURE__ */ (0,
|
|
3159
|
-
/* @__PURE__ */ (0,
|
|
3160
|
-
/* @__PURE__ */ (0,
|
|
3161
|
-
/* @__PURE__ */ (0,
|
|
3067
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: `pts-errorSummary-container pts-root-error ${validationErrorsList.length === 0 ? "cleanPadding" : ""}`, children: [
|
|
3068
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
|
|
3069
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "errorSummary-content", id: "pts-errorSummary-content", children: [
|
|
3070
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h2", { id: "errorSummary-headline", children: title }),
|
|
3071
|
+
/* @__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
3072
|
"a",
|
|
3163
3073
|
{
|
|
3164
3074
|
href: "#",
|
|
@@ -3176,11 +3086,11 @@ var ValidationErrorSummaryList = ({
|
|
|
3176
3086
|
var ValidationErrorSummaryList_default = ValidationErrorSummaryList;
|
|
3177
3087
|
|
|
3178
3088
|
// src/components/validation-and-status/FormStatusMessagesScreenReader/FormStatusMessagesScreenReader.tsx
|
|
3179
|
-
var
|
|
3089
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
3180
3090
|
var FormStatusMessagesScreenReader = ({ formStatus }) => {
|
|
3181
|
-
return /* @__PURE__ */ (0,
|
|
3182
|
-
/* @__PURE__ */ (0,
|
|
3183
|
-
/* @__PURE__ */ (0,
|
|
3091
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
|
|
3092
|
+
/* @__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!" }) }),
|
|
3093
|
+
/* @__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
3094
|
] });
|
|
3185
3095
|
};
|
|
3186
3096
|
var FormStatusMessagesScreenReader_default = FormStatusMessagesScreenReader;
|
|
@@ -3189,7 +3099,6 @@ var FormStatusMessagesScreenReader_default = FormStatusMessagesScreenReader;
|
|
|
3189
3099
|
AddFilesStandard,
|
|
3190
3100
|
CheckboxGroupStandard,
|
|
3191
3101
|
CookieBanner,
|
|
3192
|
-
DropdownStandard,
|
|
3193
3102
|
EditPreviewLinkStandard,
|
|
3194
3103
|
FooterStandard,
|
|
3195
3104
|
FormStatusMessagesScreenReader,
|