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