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