@xsolla/xui-store-badge-web 0.64.0-pr56.1768348754

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/index.js ADDED
@@ -0,0 +1,723 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/index.tsx
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
+ StoreBadge: () => StoreBadge
34
+ });
35
+ module.exports = __toCommonJS(index_exports);
36
+
37
+ // src/StoreBadge.tsx
38
+ var import_react7 = require("react");
39
+
40
+ // ../primitives-web/src/Box.tsx
41
+ var import_react = __toESM(require("react"));
42
+ var import_styled_components = __toESM(require("styled-components"));
43
+ var import_jsx_runtime = require("react/jsx-runtime");
44
+ var StyledBox = import_styled_components.default.div`
45
+ display: flex;
46
+ box-sizing: border-box;
47
+ background-color: ${(props) => props.backgroundColor || "transparent"};
48
+ border-color: ${(props) => props.borderColor || "transparent"};
49
+ border-width: ${(props) => typeof props.borderWidth === "number" ? `${props.borderWidth}px` : props.borderWidth || 0};
50
+
51
+ ${(props) => props.borderBottomWidth !== void 0 && `
52
+ border-bottom-width: ${typeof props.borderBottomWidth === "number" ? `${props.borderBottomWidth}px` : props.borderBottomWidth};
53
+ border-bottom-color: ${props.borderBottomColor || props.borderColor || "transparent"};
54
+ border-bottom-style: solid;
55
+ `}
56
+ ${(props) => props.borderTopWidth !== void 0 && `
57
+ border-top-width: ${typeof props.borderTopWidth === "number" ? `${props.borderTopWidth}px` : props.borderTopWidth};
58
+ border-top-color: ${props.borderTopColor || props.borderColor || "transparent"};
59
+ border-top-style: solid;
60
+ `}
61
+ ${(props) => props.borderLeftWidth !== void 0 && `
62
+ border-left-width: ${typeof props.borderLeftWidth === "number" ? `${props.borderLeftWidth}px` : props.borderLeftWidth};
63
+ border-left-color: ${props.borderLeftColor || props.borderColor || "transparent"};
64
+ border-left-style: solid;
65
+ `}
66
+ ${(props) => props.borderRightWidth !== void 0 && `
67
+ border-right-width: ${typeof props.borderRightWidth === "number" ? `${props.borderRightWidth}px` : props.borderRightWidth};
68
+ border-right-color: ${props.borderRightColor || props.borderColor || "transparent"};
69
+ border-right-style: solid;
70
+ `}
71
+
72
+ border-style: ${(props) => props.borderStyle || (props.borderWidth || props.borderBottomWidth || props.borderTopWidth || props.borderLeftWidth || props.borderRightWidth ? "solid" : "none")};
73
+ border-radius: ${(props) => typeof props.borderRadius === "number" ? `${props.borderRadius}px` : props.borderRadius || 0};
74
+ height: ${(props) => typeof props.height === "number" ? `${props.height}px` : props.height || "auto"};
75
+ width: ${(props) => typeof props.width === "number" ? `${props.width}px` : props.width || "auto"};
76
+ min-width: ${(props) => typeof props.minWidth === "number" ? `${props.minWidth}px` : props.minWidth || "auto"};
77
+ min-height: ${(props) => typeof props.minHeight === "number" ? `${props.minHeight}px` : props.minHeight || "auto"};
78
+
79
+ padding: ${(props) => typeof props.padding === "number" ? `${props.padding}px` : props.padding || 0};
80
+ ${(props) => props.paddingHorizontal && `
81
+ padding-left: ${typeof props.paddingHorizontal === "number" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};
82
+ padding-right: ${typeof props.paddingHorizontal === "number" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};
83
+ `}
84
+ ${(props) => props.paddingVertical && `
85
+ padding-top: ${typeof props.paddingVertical === "number" ? `${props.paddingVertical}px` : props.paddingVertical};
86
+ padding-bottom: ${typeof props.paddingVertical === "number" ? `${props.paddingVertical}px` : props.paddingVertical};
87
+ `}
88
+ ${(props) => props.paddingTop !== void 0 && `padding-top: ${typeof props.paddingTop === "number" ? `${props.paddingTop}px` : props.paddingTop};`}
89
+ ${(props) => props.paddingBottom !== void 0 && `padding-bottom: ${typeof props.paddingBottom === "number" ? `${props.paddingBottom}px` : props.paddingBottom};`}
90
+ ${(props) => props.paddingLeft !== void 0 && `padding-left: ${typeof props.paddingLeft === "number" ? `${props.paddingLeft}px` : props.paddingLeft};`}
91
+ ${(props) => props.paddingRight !== void 0 && `padding-right: ${typeof props.paddingRight === "number" ? `${props.paddingRight}px` : props.paddingRight};`}
92
+
93
+ margin: ${(props) => typeof props.margin === "number" ? `${props.margin}px` : props.margin || 0};
94
+ ${(props) => props.marginTop !== void 0 && `margin-top: ${typeof props.marginTop === "number" ? `${props.marginTop}px` : props.marginTop};`}
95
+ ${(props) => props.marginBottom !== void 0 && `margin-bottom: ${typeof props.marginBottom === "number" ? `${props.marginBottom}px` : props.marginBottom};`}
96
+ ${(props) => props.marginLeft !== void 0 && `margin-left: ${typeof props.marginLeft === "number" ? `${props.marginLeft}px` : props.marginLeft};`}
97
+ ${(props) => props.marginRight !== void 0 && `margin-right: ${typeof props.marginRight === "number" ? `${props.marginRight}px` : props.marginRight};`}
98
+
99
+ flex-direction: ${(props) => props.flexDirection || "column"};
100
+ flex-wrap: ${(props) => props.flexWrap || "nowrap"};
101
+ align-items: ${(props) => props.alignItems || "stretch"};
102
+ justify-content: ${(props) => props.justifyContent || "flex-start"};
103
+ cursor: ${(props) => props.cursor ? props.cursor : props.onClick || props.onPress ? "pointer" : "inherit"};
104
+ position: ${(props) => props.position || "static"};
105
+ top: ${(props) => typeof props.top === "number" ? `${props.top}px` : props.top};
106
+ bottom: ${(props) => typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom};
107
+ left: ${(props) => typeof props.left === "number" ? `${props.left}px` : props.left};
108
+ right: ${(props) => typeof props.right === "number" ? `${props.right}px` : props.right};
109
+ flex: ${(props) => props.flex};
110
+ flex-shrink: ${(props) => props.flexShrink ?? 1};
111
+ gap: ${(props) => typeof props.gap === "number" ? `${props.gap}px` : props.gap || 0};
112
+ align-self: ${(props) => props.alignSelf || "auto"};
113
+ overflow: ${(props) => props.overflow || "visible"};
114
+ overflow-x: ${(props) => props.overflowX || "visible"};
115
+ overflow-y: ${(props) => props.overflowY || "visible"};
116
+ z-index: ${(props) => props.zIndex};
117
+ opacity: ${(props) => props.disabled ? 0.5 : 1};
118
+ pointer-events: ${(props) => props.disabled ? "none" : "auto"};
119
+
120
+ &:hover {
121
+ ${(props) => props.hoverStyle?.backgroundColor && `background-color: ${props.hoverStyle.backgroundColor};`}
122
+ ${(props) => props.hoverStyle?.borderColor && `border-color: ${props.hoverStyle.borderColor};`}
123
+ }
124
+
125
+ &:active {
126
+ ${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
127
+ }
128
+ `;
129
+ var Box = import_react.default.forwardRef(
130
+ ({
131
+ children,
132
+ onPress,
133
+ onKeyDown,
134
+ onKeyUp,
135
+ role,
136
+ "aria-label": ariaLabel,
137
+ "aria-labelledby": ariaLabelledBy,
138
+ "aria-current": ariaCurrent,
139
+ "aria-disabled": ariaDisabled,
140
+ "aria-live": ariaLive,
141
+ "aria-busy": ariaBusy,
142
+ "aria-describedby": ariaDescribedBy,
143
+ "aria-expanded": ariaExpanded,
144
+ "aria-haspopup": ariaHasPopup,
145
+ "aria-pressed": ariaPressed,
146
+ "aria-controls": ariaControls,
147
+ tabIndex,
148
+ as,
149
+ src,
150
+ alt,
151
+ type,
152
+ disabled,
153
+ id,
154
+ ...props
155
+ }, ref) => {
156
+ if (as === "img" && src) {
157
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
158
+ "img",
159
+ {
160
+ src,
161
+ alt: alt || "",
162
+ style: {
163
+ display: "block",
164
+ objectFit: "cover",
165
+ width: typeof props.width === "number" ? `${props.width}px` : props.width,
166
+ height: typeof props.height === "number" ? `${props.height}px` : props.height,
167
+ borderRadius: typeof props.borderRadius === "number" ? `${props.borderRadius}px` : props.borderRadius,
168
+ position: props.position,
169
+ top: typeof props.top === "number" ? `${props.top}px` : props.top,
170
+ left: typeof props.left === "number" ? `${props.left}px` : props.left,
171
+ right: typeof props.right === "number" ? `${props.right}px` : props.right,
172
+ bottom: typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom
173
+ }
174
+ }
175
+ );
176
+ }
177
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
178
+ StyledBox,
179
+ {
180
+ ref,
181
+ as,
182
+ id,
183
+ type: as === "button" ? type || "button" : void 0,
184
+ disabled: as === "button" ? disabled : void 0,
185
+ onClick: onPress,
186
+ onKeyDown,
187
+ onKeyUp,
188
+ role,
189
+ "aria-label": ariaLabel,
190
+ "aria-labelledby": ariaLabelledBy,
191
+ "aria-current": ariaCurrent,
192
+ "aria-disabled": ariaDisabled,
193
+ "aria-busy": ariaBusy,
194
+ "aria-describedby": ariaDescribedBy,
195
+ "aria-expanded": ariaExpanded,
196
+ "aria-haspopup": ariaHasPopup,
197
+ "aria-pressed": ariaPressed,
198
+ "aria-controls": ariaControls,
199
+ "aria-live": ariaLive,
200
+ tabIndex: tabIndex !== void 0 ? tabIndex : void 0,
201
+ ...props,
202
+ children
203
+ }
204
+ );
205
+ }
206
+ );
207
+ Box.displayName = "Box";
208
+
209
+ // ../primitives-web/src/Text.tsx
210
+ var import_styled_components2 = __toESM(require("styled-components"));
211
+ var import_jsx_runtime2 = require("react/jsx-runtime");
212
+ var StyledText = import_styled_components2.default.span`
213
+ color: ${(props) => props.color || "inherit"};
214
+ font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
215
+ font-weight: ${(props) => props.fontWeight || "normal"};
216
+ font-family: ${(props) => props.fontFamily || '"Pilat Wide Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important'};
217
+ line-height: ${(props) => typeof props.lineHeight === "number" ? `${props.lineHeight}px` : props.lineHeight || "inherit"};
218
+ white-space: ${(props) => props.whiteSpace || "normal"};
219
+ text-align: ${(props) => props.textAlign || "inherit"};
220
+ text-decoration: ${(props) => props.textDecoration || "none"};
221
+ `;
222
+
223
+ // ../primitives-web/src/Spinner.tsx
224
+ var import_styled_components3 = __toESM(require("styled-components"));
225
+ var import_jsx_runtime3 = require("react/jsx-runtime");
226
+ var rotate = import_styled_components3.keyframes`
227
+ from {
228
+ transform: rotate(0deg);
229
+ }
230
+ to {
231
+ transform: rotate(360deg);
232
+ }
233
+ `;
234
+ var StyledSpinner = import_styled_components3.default.div`
235
+ width: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
236
+ height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
237
+ border: ${(props) => props.strokeWidth || 2}px solid
238
+ ${(props) => props.color || "currentColor"};
239
+ border-bottom-color: transparent;
240
+ border-radius: 50%;
241
+ display: inline-block;
242
+ box-sizing: border-box;
243
+ animation: ${rotate} 1s linear infinite;
244
+ `;
245
+ var Spinner = ({
246
+ role = "status",
247
+ "aria-label": ariaLabel,
248
+ "aria-live": ariaLive = "polite",
249
+ "aria-describedby": ariaDescribedBy,
250
+ testID,
251
+ ...props
252
+ }) => {
253
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
254
+ StyledSpinner,
255
+ {
256
+ role,
257
+ "aria-label": ariaLabel,
258
+ "aria-live": ariaLive,
259
+ "aria-describedby": ariaDescribedBy,
260
+ "data-testid": testID,
261
+ ...props
262
+ }
263
+ );
264
+ };
265
+ Spinner.displayName = "Spinner";
266
+
267
+ // ../primitives-web/src/Icon.tsx
268
+ var import_styled_components4 = __toESM(require("styled-components"));
269
+ var import_jsx_runtime4 = require("react/jsx-runtime");
270
+ var StyledIcon = import_styled_components4.default.div`
271
+ display: flex;
272
+ align-items: center;
273
+ justify-content: center;
274
+ width: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
275
+ height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
276
+ color: ${(props) => props.color || "currentColor"};
277
+
278
+ svg {
279
+ width: 100%;
280
+ height: 100%;
281
+ fill: none;
282
+ stroke: currentColor;
283
+ }
284
+ `;
285
+
286
+ // ../primitives-web/src/Divider.tsx
287
+ var import_styled_components5 = __toESM(require("styled-components"));
288
+ var import_jsx_runtime5 = require("react/jsx-runtime");
289
+ var StyledDivider = import_styled_components5.default.div`
290
+ background-color: ${(props) => props.dashStroke ? "transparent" : props.color || "rgba(255, 255, 255, 0.15)"};
291
+ width: ${(props) => props.vertical ? typeof props.width === "number" ? `${props.width}px` : props.width || "1px" : "100%"};
292
+ height: ${(props) => props.vertical ? "100%" : typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
293
+
294
+ ${(props) => props.dashStroke && `
295
+ border-style: dashed;
296
+ border-color: ${props.color || "rgba(255, 255, 255, 0.15)"};
297
+ border-width: 0;
298
+ ${props.vertical ? `
299
+ border-left-width: ${typeof props.width === "number" ? `${props.width}px` : props.width || "1px"};
300
+ height: 100%;
301
+ ` : `
302
+ border-top-width: ${typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
303
+ width: 100%;
304
+ `}
305
+ `}
306
+ `;
307
+
308
+ // ../primitives-web/src/Input.tsx
309
+ var import_react2 = require("react");
310
+ var import_styled_components6 = __toESM(require("styled-components"));
311
+ var import_jsx_runtime6 = require("react/jsx-runtime");
312
+ var StyledInput = import_styled_components6.default.input`
313
+ background: transparent;
314
+ border: none;
315
+ outline: none;
316
+ width: 100%;
317
+ height: 100%;
318
+ padding: 0;
319
+ margin: 0;
320
+ color: ${(props) => props.color || "inherit"};
321
+ font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
322
+ font-family: inherit;
323
+ text-align: inherit;
324
+
325
+ &::placeholder {
326
+ color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
327
+ }
328
+
329
+ &:disabled {
330
+ cursor: not-allowed;
331
+ }
332
+ `;
333
+ var InputPrimitive = (0, import_react2.forwardRef)(
334
+ ({
335
+ value,
336
+ placeholder,
337
+ onChange,
338
+ onChangeText,
339
+ onFocus,
340
+ onBlur,
341
+ onKeyDown,
342
+ disabled,
343
+ secureTextEntry,
344
+ style,
345
+ color,
346
+ fontSize,
347
+ placeholderTextColor,
348
+ maxLength,
349
+ name,
350
+ type,
351
+ inputMode,
352
+ autoComplete,
353
+ id,
354
+ "aria-invalid": ariaInvalid,
355
+ "aria-describedby": ariaDescribedBy,
356
+ "aria-labelledby": ariaLabelledBy,
357
+ "aria-label": ariaLabel,
358
+ "aria-disabled": ariaDisabled,
359
+ "data-testid": dataTestId,
360
+ ...rest
361
+ }, ref) => {
362
+ const handleChange = (e) => {
363
+ if (onChange) {
364
+ onChange(e);
365
+ }
366
+ if (onChangeText) {
367
+ onChangeText(e.target.value);
368
+ }
369
+ };
370
+ const inputValue = value !== void 0 ? value : "";
371
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
372
+ StyledInput,
373
+ {
374
+ ref,
375
+ id,
376
+ value: inputValue,
377
+ name,
378
+ placeholder,
379
+ onChange: handleChange,
380
+ onFocus,
381
+ onBlur,
382
+ onKeyDown,
383
+ disabled,
384
+ type: secureTextEntry ? "password" : type || "text",
385
+ inputMode,
386
+ autoComplete,
387
+ style,
388
+ color,
389
+ fontSize,
390
+ placeholderTextColor,
391
+ maxLength,
392
+ "aria-invalid": ariaInvalid,
393
+ "aria-describedby": ariaDescribedBy,
394
+ "aria-labelledby": ariaLabelledBy,
395
+ "aria-label": ariaLabel,
396
+ "aria-disabled": ariaDisabled,
397
+ "data-testid": dataTestId,
398
+ ...rest
399
+ }
400
+ );
401
+ }
402
+ );
403
+ InputPrimitive.displayName = "InputPrimitive";
404
+
405
+ // ../primitives-web/src/TextArea.tsx
406
+ var import_react3 = require("react");
407
+ var import_styled_components7 = __toESM(require("styled-components"));
408
+ var import_jsx_runtime7 = require("react/jsx-runtime");
409
+ var StyledTextArea = import_styled_components7.default.textarea`
410
+ background: transparent;
411
+ border: none;
412
+ outline: none;
413
+ width: 100%;
414
+ height: 100%;
415
+ padding: 0;
416
+ margin: 0;
417
+ color: ${(props) => props.color || "inherit"};
418
+ font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
419
+ font-family: inherit;
420
+ text-align: inherit;
421
+ resize: none;
422
+
423
+ &::placeholder {
424
+ color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
425
+ }
426
+
427
+ &:disabled {
428
+ cursor: not-allowed;
429
+ }
430
+ `;
431
+ var TextAreaPrimitive = (0, import_react3.forwardRef)(
432
+ ({
433
+ value,
434
+ placeholder,
435
+ onChangeText,
436
+ onFocus,
437
+ onBlur,
438
+ onKeyDown,
439
+ disabled,
440
+ style,
441
+ color,
442
+ fontSize,
443
+ placeholderTextColor,
444
+ maxLength,
445
+ rows
446
+ }, ref) => {
447
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
448
+ StyledTextArea,
449
+ {
450
+ ref,
451
+ value,
452
+ placeholder,
453
+ onChange: (e) => onChangeText?.(e.target.value),
454
+ onFocus,
455
+ onBlur,
456
+ onKeyDown,
457
+ disabled,
458
+ style,
459
+ color,
460
+ fontSize,
461
+ placeholderTextColor,
462
+ maxLength,
463
+ rows
464
+ }
465
+ );
466
+ }
467
+ );
468
+ TextAreaPrimitive.displayName = "TextAreaPrimitive";
469
+
470
+ // src/store-items/AppGallery.tsx
471
+ var import_react4 = require("react");
472
+ var import_jsx_runtime8 = require("react/jsx-runtime");
473
+ var paletteMap = /* @__PURE__ */ new Map([
474
+ ["dark", "#ffffff"],
475
+ ["light", "#000000"]
476
+ ]);
477
+ var AppGallery = (0, import_react4.forwardRef)(
478
+ ({ width = 253, height = 58, palette, ...rest }, ref) => {
479
+ const color = paletteMap.get(palette);
480
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
481
+ "svg",
482
+ {
483
+ ref,
484
+ xmlns: "http://www.w3.org/2000/svg",
485
+ width: `${width}px`,
486
+ height: `${height}px`,
487
+ fill: color,
488
+ viewBox: "0 0 253 58",
489
+ ...rest,
490
+ children: [
491
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
492
+ "path",
493
+ {
494
+ d: "M88.874 43.337H78.841L76.39 50H72l9.805-25h4.162L96 50h-4.618l-2.508-6.663zm-8.779-3.417h7.468l-2.68-7.175c-.341-.968-.74-2.107-1.082-3.303l-1.027 3.246-2.679 7.232zM98.114 35.998c0-1.379-.057-2.93-.114-4.596h3.993c.171.804.228 1.551.286 2.355 1.654-1.838 3.536-2.757 5.704-2.757 1.255 0 2.396.287 3.48.92 1.084.631 1.94 1.608 2.567 2.986.628 1.38.97 3.102.97 5.17 0 2.184-.399 4.08-1.141 5.63-.742 1.551-1.768 2.758-3.138 3.505-1.312.804-2.852 1.206-4.62 1.206-1.255 0-2.51-.23-3.765-.632v7.87L98.057 58V35.998h.057zm11.238 9.594c.856-1.15 1.312-2.873 1.312-5.17 0-2.126-.342-3.62-1.083-4.539-.742-.92-1.655-1.436-2.853-1.436-.856 0-1.597.172-2.282.574a8.477 8.477 0 0 0-1.996 1.609v10.053c.399.23.912.402 1.483.517.57.115 1.141.172 1.654.172 1.598 0 2.853-.574 3.765-1.78zM118.114 35.998c0-1.379-.057-2.93-.114-4.596h3.993c.171.804.228 1.551.286 2.355 1.654-1.838 3.536-2.757 5.704-2.757 1.255 0 2.396.287 3.48.92 1.084.631 1.94 1.608 2.567 2.986.628 1.38.97 3.102.97 5.17 0 2.184-.399 4.08-1.141 5.63-.742 1.551-1.768 2.758-3.138 3.505-1.312.804-2.852 1.206-4.62 1.206-1.255 0-2.51-.23-3.765-.632v7.87l-4.279.345V35.998h.057zm11.238 9.594c.856-1.15 1.312-2.873 1.312-5.17 0-2.126-.342-3.62-1.083-4.539-.742-.92-1.655-1.436-2.853-1.436-.856 0-1.597.172-2.282.574a8.477 8.477 0 0 0-1.996 1.609v10.053c.399.23.912.402 1.483.517.57.115 1.141.172 1.654.172 1.598 0 2.91-.574 3.765-1.78zM142.82 48.44c-1.862-1.04-3.317-2.484-4.307-4.449-.989-1.907-1.513-4.218-1.513-6.818 0-2.83.582-5.257 1.746-7.222 1.164-1.964 2.735-3.467 4.773-4.449 1.978-.982 4.248-1.502 6.751-1.502 1.455 0 2.852.173 4.19.462 1.339.347 2.561.751 3.725 1.33l-1.106 3.35c-2.328-1.098-4.539-1.618-6.635-1.618-1.746 0-3.317.405-4.656 1.156a7.386 7.386 0 0 0-3.084 3.293c-.757 1.445-1.106 3.236-1.106 5.258 0 1.791.291 3.409.873 4.796a7.592 7.592 0 0 0 2.677 3.35c1.222.81 2.794 1.214 4.656 1.214.873 0 1.688-.058 2.561-.231.873-.173 1.63-.347 2.386-.636v-5.142h-5.878v-3.35H159V47.92a20.511 20.511 0 0 1-4.598 1.56c-1.63.347-3.201.52-4.772.52-2.678 0-4.889-.52-6.81-1.56zM174.87 49.663c-.18-.731-.24-1.518-.3-2.417-.718.786-1.556 1.405-2.693 1.967-1.078.562-2.335.787-3.771.787a7.535 7.535 0 0 1-3.053-.618c-.898-.394-1.676-1.012-2.215-1.855-.539-.844-.838-1.855-.838-3.036 0-1.799.658-3.204 2.035-4.272 1.377-1.068 3.652-1.574 6.824-1.574 1.197 0 2.395.056 3.532.225v-.337c0-1.63-.359-2.755-1.078-3.43-.718-.674-1.795-1.011-3.172-1.011-.958 0-1.975.112-3.053.393-1.077.281-2.035.562-2.873.956l-.719-3.036c.779-.337 1.856-.674 3.173-.955a19.73 19.73 0 0 1 4.13-.45c1.676 0 3.113.225 4.31.73 1.197.507 2.095 1.294 2.754 2.474.658 1.18 1.017 2.755 1.017 4.722v7.308c0 .787.06 1.911.12 3.429h-4.13zm-2.634-3.43c.958-.393 1.676-.955 2.275-1.573v-3.43c-1.198-.112-2.215-.168-2.993-.168-1.856 0-3.113.281-3.831.843-.719.563-1.078 1.293-1.078 2.249 0 .9.24 1.574.778 2.023.539.45 1.198.675 2.095.675.898.056 1.796-.169 2.754-.618zM182 45.914V23.351l4.451-.351v22.154c0 .819.12 1.403.421 1.754.301.35.722.526 1.384.526.3 0 .661-.058 1.203-.175l.541 3.157c-.421.175-.962.292-1.564.409a9.296 9.296 0 0 1-1.744.175c-3.128-.175-4.692-1.812-4.692-5.086zM193 45.914V23.351l4.451-.351v22.154c0 .819.12 1.403.421 1.754.301.35.722.526 1.384.526.3 0 .661-.058 1.203-.175l.541 3.157c-.421.175-.962.292-1.564.409a9.296 9.296 0 0 1-1.744.175c-3.128-.175-4.692-1.812-4.692-5.086zM218 41.588h-12.545c.176 4 2.111 6.06 5.745 6.06.879 0 1.817-.119 2.755-.354s1.817-.53 2.697-.882l.938 3C215.421 50.47 213.017 51 210.379 51c-2.051 0-3.751-.412-5.158-1.176-1.407-.765-2.462-1.883-3.166-3.353C201.352 45 201 43.294 201 41.235c0-2.117.352-3.94 1.114-5.47.762-1.53 1.758-2.706 3.107-3.53 1.348-.823 2.872-1.235 4.631-1.235 1.817 0 3.341.412 4.513 1.294 1.232.824 2.111 2 2.697 3.412.586 1.412.879 3 .879 4.706v1.176H218zm-4.279-2.764c-.059-1.53-.469-2.706-1.173-3.471-.703-.765-1.582-1.177-2.755-1.177-1.114 0-2.052.412-2.755 1.177-.762.765-1.231 1.941-1.466 3.412h8.149v.059zM221.121 35.964c0-1.027-.06-2.568-.121-4.679h4.242c.061.514.122 1.141.182 1.883.061.742.121 1.313.121 1.769.546-.799 1.031-1.483 1.576-2.054a5.726 5.726 0 0 1 1.758-1.37c.666-.342 1.454-.513 2.303-.513.727 0 1.273.057 1.818.228l-.545 3.709a5.626 5.626 0 0 0-1.455-.171c-1.091 0-2 .228-2.788.742-.788.513-1.636 1.369-2.545 2.51V50h-4.485V35.964h-.061zM235.555 57.825c-.634-.116-1.152-.232-1.555-.407l.806-3.142c.288.058.633.174 1.094.233.461.058.864.116 1.267.116 1.9 0 3.339-1.222 4.26-3.724l.288-.698-6.909-19.145h4.606l3.512 10.707c.576 1.804.921 3.259 1.094 4.19.346-1.397.691-2.735 1.152-4.132L248.682 31H253l-6.909 19.26c-.633 1.805-1.382 3.318-2.13 4.423a8.304 8.304 0 0 1-2.649 2.502c-1.036.524-2.245.815-3.742.815a11.29 11.29 0 0 1-2.015-.175zM72 0h7.94l-.239 1.991h-5.373V5.85h5.075v1.867h-5.075v4.293H80L79.82 14H72V0zM85.3 6.876 81.39 0h2.458l2.68 5.018L89.32 0h2.4l-3.908 6.752L92 14h-2.513l-3.015-5.513L83.401 14H81l4.3-7.124zM94 0h3.66c1.74 0 3.06.372 3.96 1.115.9.743 1.38 1.797 1.38 3.16 0 .929-.18 1.734-.6 2.415-.42.682-.96 1.24-1.74 1.61-.72.373-1.56.558-2.52.558-.54 0-1.14-.062-1.8-.185V14H94V0zm5.88 6.257c.48-.496.72-1.115.72-1.983 0-.867-.24-1.486-.78-1.858-.48-.372-1.26-.558-2.22-.558h-1.26v4.956c.6.124 1.02.124 1.32.124 1.02 0 1.74-.248 2.22-.681zM105 0h2.346v11.956H113L112.82 14h-7.76V0H105zM115.934 13.208c-.978-.543-1.669-1.387-2.186-2.412C113.23 9.77 113 8.564 113 7.177c0-1.447.288-2.714.805-3.8a5.514 5.514 0 0 1 2.301-2.472C117.142.302 118.292 0 119.673 0c1.323 0 2.416.302 3.393.844.921.543 1.669 1.388 2.186 2.413.518 1.025.748 2.231.748 3.558 0 1.448-.288 2.714-.805 3.8a5.514 5.514 0 0 1-2.301 2.473c-.978.603-2.186.904-3.509.904-1.381.06-2.531-.24-3.451-.784zm5.809-1.688c.633-.423 1.093-1.026 1.438-1.81a7.733 7.733 0 0 0 .461-2.653c0-.965-.115-1.87-.403-2.594-.288-.784-.69-1.387-1.323-1.81-.633-.482-1.381-.663-2.358-.663-.921 0-1.669.242-2.301.664-.633.482-1.093 1.085-1.438 1.87-.346.783-.461 1.628-.461 2.593 0 .965.173 1.87.461 2.654a4.02 4.02 0 0 0 1.38 1.87c.633.482 1.381.663 2.301.663.863-.121 1.611-.302 2.243-.784zM129 0h4.104c1.503 0 2.601.31 3.41.93.81.619 1.157 1.548 1.157 2.725 0 .743-.116 1.425-.405 1.982-.289.558-.636 1.053-1.041 1.363-.404.372-.809.62-1.271.805L139 14h-2.659l-3.41-5.575h-1.677V14H129V0zm3.526 6.628c.52 0 1.04-.124 1.445-.371.405-.248.752-.558.983-.992.231-.433.347-.929.347-1.424 0-.682-.232-1.24-.636-1.549-.405-.31-1.041-.496-1.792-.496h-1.619v4.77h1.272v.062zM140 0h7.94l-.239 1.991h-5.373V5.85h5.075v1.867h-5.075v4.293H148L147.821 14H140V0zM157 0h2v14h-2V0zM164.911 2.035H161L161.168 0H171l-.223 2.035h-3.743V14h-2.179V2.035h.056zM180.934 13.208c-.978-.543-1.669-1.387-2.186-2.412C178.23 9.77 178 8.564 178 7.177c0-1.447.288-2.714.805-3.8a5.514 5.514 0 0 1 2.301-2.472C182.142.302 183.292 0 184.673 0c1.323 0 2.416.302 3.393.844.921.543 1.669 1.388 2.186 2.413.518 1.025.748 2.231.748 3.558 0 1.448-.288 2.714-.805 3.8a5.514 5.514 0 0 1-2.301 2.473c-.978.603-2.186.904-3.509.904-1.381.06-2.531-.24-3.451-.784zm5.809-1.688c.633-.423 1.093-1.026 1.438-1.81a7.733 7.733 0 0 0 .461-2.653c0-.965-.115-1.87-.403-2.594-.288-.784-.69-1.387-1.323-1.81-.633-.482-1.381-.663-2.358-.663-.921 0-1.669.242-2.301.664-.633.482-1.093 1.085-1.438 1.87-.346.783-.461 1.628-.461 2.593 0 .965.173 1.87.461 2.654a4.02 4.02 0 0 0 1.38 1.87c.633.482 1.381.663 2.301.663.805-.121 1.611-.302 2.243-.784zM194 0h2.578l6.417 10.84c-.058-1.052-.057-1.982-.057-2.849V0H205v14h-2.464l-6.531-11.027c.058 1.24.115 2.354.115 3.346V14h-2.063V0H194z",
495
+ fill: color
496
+ }
497
+ ),
498
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
499
+ "path",
500
+ {
501
+ fillRule: "evenodd",
502
+ clipRule: "evenodd",
503
+ d: "M39.525 0H15.474C4.114 0 0 4.173 0 15.474v24.052C0 50.886 4.173 55 15.474 55h24.051C50.885 55 55 50.827 55 39.526V15.474C55.057 4.173 50.885 0 39.525 0z",
504
+ fill: "#C8102E"
505
+ }
506
+ ),
507
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
508
+ "path",
509
+ {
510
+ d: "M10.778 28h1.456v6.889h-1.456V32.11H7.457v2.778H6V28h1.457v2.778h3.32V28zm8.274 3.944c0 1.112-.583 1.723-1.632 1.723s-1.631-.611-1.631-1.778V28h-1.457v3.944c0 1.945 1.107 3.056 3.088 3.056s3.146-1.111 3.146-3.111V28H19.11v3.944h-.058zm16.955.778L34.375 28h-1.223l-1.632 4.722L29.947 28h-1.573l2.505 6.889h1.224l1.631-4.556 1.632 4.556h1.223L39.095 28H37.58l-1.573 4.722zm5.768-.778h2.68v-1.277h-2.68v-1.39h3.904V28h-5.302v6.889h5.477V33.61h-4.02v-1.667h-.059zm5.768 2.945H49V28h-1.457v6.889zm-24.122-1.445-.64 1.445h-1.515L24.412 28h1.282l3.146 6.889h-1.515l-.64-1.445H23.42zm.525-1.222h2.214l-1.107-2.444-1.107 2.444zM27 18c-4.956 0-9-4.044-9-9h1.253c0 4.272 3.475 7.747 7.747 7.747S34.747 13.272 34.747 9H36c0 4.956-4.044 9-9 9z",
511
+ fill: "#fff"
512
+ }
513
+ )
514
+ ]
515
+ }
516
+ );
517
+ }
518
+ );
519
+ AppGallery.displayName = "AppGallery";
520
+
521
+ // src/store-items/AppStore.tsx
522
+ var import_react5 = require("react");
523
+ var import_jsx_runtime9 = require("react/jsx-runtime");
524
+ var paletteMap2 = /* @__PURE__ */ new Map([
525
+ ["dark", "#ffffff"],
526
+ ["light", "#000000"]
527
+ ]);
528
+ var AppStore = (0, import_react5.forwardRef)(
529
+ ({ width = 217, height = 55, palette, ...rest }, ref) => {
530
+ const color = paletteMap2.get(palette);
531
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
532
+ "svg",
533
+ {
534
+ ref,
535
+ xmlns: "http://www.w3.org/2000/svg",
536
+ width: `${width}px`,
537
+ height: `${height}px`,
538
+ fill: color,
539
+ viewBox: "0 0 217 55",
540
+ ...rest,
541
+ children: [
542
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
543
+ "path",
544
+ {
545
+ d: "M32.574 25.786a10.698 10.698 0 0 1 1.419-5.183 10.833 10.833 0 0 1 3.768-3.863 11.115 11.115 0 0 0-3.831-3.378 11.24 11.24 0 0 0-4.954-1.323c-3.697-.384-7.28 2.19-9.164 2.19-1.92 0-4.82-2.152-7.944-2.088-2.02.064-3.989.646-5.714 1.687a11.634 11.634 0 0 0-4.132 4.256C-2.236 25.38.94 36.101 5.018 41.998c2.04 2.888 4.425 6.113 7.545 5.999 3.054-.125 4.194-1.927 7.88-1.927 3.651 0 4.721 1.927 7.905 1.854 3.276-.052 5.34-2.9 7.31-5.815A23.784 23.784 0 0 0 39 35.37a10.503 10.503 0 0 1-4.67-3.835 10.343 10.343 0 0 1-1.756-5.75z",
546
+ fill: color
547
+ }
548
+ ),
549
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
550
+ "path",
551
+ {
552
+ d: "M26.42 8.647C28.275 6.513 29.19 3.77 28.967 1c-2.833.285-5.45 1.583-7.33 3.636a10.065 10.065 0 0 0-2.072 3.432A9.765 9.765 0 0 0 19.022 12a9.709 9.709 0 0 0 4.101-.86 9.318 9.318 0 0 0 3.297-2.492zM70.104 40.702h-10.28L57.354 48H53l9.738-27h4.524L77 48h-4.429l-2.467-7.298zm-9.216-3.367h8.15L65.02 25.49h-.112l-4.02 11.844zM99 38.898c0 6.023-3.355 9.893-8.418 9.893a7.066 7.066 0 0 1-3.68-.82 6.708 6.708 0 0 1-2.666-2.571h-.096V55H80V29.206h4.008v3.224h.076a7.029 7.029 0 0 1 2.718-2.566 7.39 7.39 0 0 1 3.704-.86c5.12 0 8.494 3.888 8.494 9.894zm-4.256 0c0-3.924-2.11-6.504-5.33-6.504-3.163 0-5.291 2.635-5.291 6.504 0 3.906 2.128 6.52 5.291 6.52 3.22 0 5.33-2.56 5.33-6.52zM120 38.898c0 6.023-3.355 9.893-8.418 9.893a7.065 7.065 0 0 1-3.68-.82 6.713 6.713 0 0 1-2.666-2.571h-.096V55H101V29.206h4.008v3.224h.076a7.026 7.026 0 0 1 2.718-2.566 7.39 7.39 0 0 1 3.704-.86c5.12 0 8.494 3.888 8.494 9.894zm-4.256 0c0-3.924-2.11-6.504-5.33-6.504-3.163 0-5.291 2.635-5.291 6.504 0 3.905 2.128 6.52 5.291 6.52 3.22 0 5.33-2.56 5.33-6.52zM134.193 40.999c.304 2.687 2.941 4.451 6.544 4.451 3.452 0 5.936-1.764 5.936-4.187 0-2.103-1.498-3.363-5.045-4.226l-3.547-.846c-5.026-1.202-7.36-3.529-7.36-7.305 0-4.675 4.116-7.886 9.96-7.886 5.784 0 9.749 3.211 9.882 7.887h-4.135c-.247-2.705-2.505-4.337-5.805-4.337s-5.558 1.652-5.558 4.055c0 1.916 1.442 3.043 4.97 3.906l3.016.733c5.616 1.315 7.949 3.548 7.949 7.511 0 5.07-4.079 8.245-10.567 8.245-6.07 0-10.168-3.1-10.433-8.002h4.193zM160.139 24v4.571H164v3.14h-3.861v10.65c0 1.654.773 2.424 2.47 2.424.459-.007.916-.038 1.371-.091v3.12c-.763.136-1.538.198-2.314.184-4.111 0-5.714-1.469-5.714-5.215V31.711H153v-3.14h2.952V24h4.187zM166 39c0-6.141 3.711-10 9.499-10 5.807 0 9.501 3.859 9.501 10 0 6.158-3.675 10-9.501 10-5.824 0-9.499-3.842-9.499-10zm14.811 0c0-4.213-1.981-6.699-5.312-6.699-3.331 0-5.31 2.505-5.31 6.699 0 4.23 1.979 6.697 5.31 6.697 3.331 0 5.312-2.468 5.312-6.697zM188 29.21h3.828v3.369h.093a4.722 4.722 0 0 1 1.725-2.633 4.625 4.625 0 0 1 2.979-.943c.462-.001.924.05 1.375.152v3.8a5.545 5.545 0 0 0-1.803-.246 4.005 4.005 0 0 0-1.705.305 4.055 4.055 0 0 0-1.422.998 4.118 4.118 0 0 0-1.056 3.25V49H188V29.21zM216.775 43.025c-.544 3.543-4.028 5.975-8.485 5.975-5.732 0-9.29-3.804-9.29-9.907C199 32.97 202.577 29 208.12 29c5.452 0 8.88 3.71 8.88 9.627V40h-13.917v.242a5.039 5.039 0 0 0 1.391 3.95 5.13 5.13 0 0 0 1.783 1.206c.674.272 1.399.399 2.127.372a4.49 4.49 0 0 0 2.734-.625 4.427 4.427 0 0 0 1.816-2.12h3.841zM203.102 37.2h9.851a4.638 4.638 0 0 0-.29-1.898 4.728 4.728 0 0 0-2.637-2.703 4.781 4.781 0 0 0-1.906-.353 5.004 5.004 0 0 0-3.551 1.441 4.935 4.935 0 0 0-1.467 3.513zM60.757 1.015c.86-.061 1.723.067 2.526.375a5.831 5.831 0 0 1 2.121 1.405 5.73 5.73 0 0 1 1.308 2.164c.267.808.35 1.665.242 2.508 0 4.148-2.274 6.533-6.197 6.533H56V1.015h4.757zm-2.712 11.149h2.483a4.193 4.193 0 0 0 1.8-.291 4.142 4.142 0 0 0 1.5-1.025c.415-.448.725-.981.906-1.561.18-.58.227-1.193.138-1.794a4.038 4.038 0 0 0-.153-1.783 4.08 4.08 0 0 0-.908-1.548 4.154 4.154 0 0 0-1.492-1.019 4.205 4.205 0 0 0-1.79-.293h-2.484v9.314zM69.021 8.996a4.621 4.621 0 0 1 .21-1.875 4.576 4.576 0 0 1 .94-1.628c.421-.47.935-.846 1.509-1.103a4.447 4.447 0 0 1 3.64 0 4.501 4.501 0 0 1 1.51 1.103c.421.47.741 1.025.94 1.628.197.604.269 1.242.209 1.875a4.62 4.62 0 0 1-.207 1.877 4.577 4.577 0 0 1-.94 1.63 4.502 4.502 0 0 1-1.51 1.106 4.447 4.447 0 0 1-3.645 0 4.502 4.502 0 0 1-1.51-1.105 4.577 4.577 0 0 1-.939-1.631 4.62 4.62 0 0 1-.207-1.877zm7.03 0c0-2.087-.925-3.308-2.548-3.308-1.63 0-2.546 1.22-2.546 3.308 0 2.104.917 3.315 2.546 3.315 1.623 0 2.548-1.22 2.548-3.315zM91.226 14h-2.068L87.07 6.635h-.158L84.833 14h-2.048L80 4h2.022l1.81 7.63h.149L86.058 4h1.913l2.077 7.63h.157L92.006 4H94l-2.774 10zM96 4.199h1.782v1.557h.139c.234-.56.63-1.028 1.132-1.341a2.713 2.713 0 0 1 1.667-.405 2.93 2.93 0 0 1 1.341.21c.426.174.81.447 1.121.797.312.35.545.769.681 1.225.135.457.171.94.104 1.413V14h-1.851V8.14c0-1.574-.655-2.358-2.025-2.358-.31-.015-.619.04-.906.162a2.15 2.15 0 0 0-.76.542 2.27 2.27 0 0 0-.473.825c-.1.307-.133.633-.1.955V14H96V4.199zM107 0h2v14h-2V0zM112.021 8.996a4.615 4.615 0 0 1 1.15-3.503c.421-.47.935-.846 1.509-1.103a4.444 4.444 0 0 1 3.64 0 4.488 4.488 0 0 1 1.509 1.103 4.615 4.615 0 0 1 1.15 3.502 4.585 4.585 0 0 1-1.147 3.508 4.494 4.494 0 0 1-1.51 1.106 4.444 4.444 0 0 1-3.644 0 4.494 4.494 0 0 1-1.51-1.105 4.585 4.585 0 0 1-1.147-3.508zm7.029 0c0-2.087-.925-3.308-2.547-3.308-1.629 0-2.546 1.22-2.546 3.308 0 2.104.917 3.315 2.546 3.315 1.622 0 2.547-1.22 2.547-3.315zM123 11.1c0-1.736 1.278-2.736 3.545-2.878l2.582-.15v-.833c0-1.018-.666-1.593-1.951-1.593-1.05 0-1.778.39-1.987 1.072h-1.821C123.56 5.062 125.1 4 127.263 4 129.652 4 131 5.203 131 7.24v6.586h-1.811V12.47h-.149a3.22 3.22 0 0 1-1.229 1.148 3.178 3.178 0 0 1-1.634.365 2.848 2.848 0 0 1-2.221-.73 2.908 2.908 0 0 1-.704-.974A2.94 2.94 0 0 1 123 11.1zm6.127-.824V9.47l-2.328.15c-1.312.09-1.908.54-1.908 1.39 0 .868.745 1.373 1.768 1.373a2.227 2.227 0 0 0 1.676-.524 2.27 2.27 0 0 0 .792-1.583zM134 8.855c0-3.144 1.565-5.136 4-5.136a3.097 3.097 0 0 1 1.724.43c.523.309.951.765 1.232 1.316h.142V0H143v13.834h-1.823v-1.572h-.15a3.395 3.395 0 0 1-1.279 1.303 3.26 3.26 0 0 1-1.748.433c-2.451 0-4-1.992-4-5.143zm1.965 0c0 2.11.963 3.38 2.575 3.38 1.603 0 2.594-1.288 2.594-3.372 0-2.073-1.002-3.38-2.594-3.38-1.601 0-2.575 1.279-2.575 3.372zM151.021 8.996a4.614 4.614 0 0 1 1.15-3.503c.421-.47.935-.846 1.509-1.103a4.444 4.444 0 0 1 3.64 0 4.488 4.488 0 0 1 1.509 1.103 4.614 4.614 0 0 1 1.15 3.502 4.598 4.598 0 0 1-1.146 3.508 4.507 4.507 0 0 1-1.511 1.106 4.44 4.44 0 0 1-3.644 0 4.507 4.507 0 0 1-1.511-1.105 4.598 4.598 0 0 1-1.146-3.508zm7.03 0c0-2.087-.925-3.308-2.548-3.308-1.629 0-2.546 1.22-2.546 3.308 0 2.104.917 3.315 2.546 3.315 1.623 0 2.548-1.22 2.548-3.315zM163 4.199h1.782v1.557h.139c.234-.56.63-1.028 1.132-1.341a2.713 2.713 0 0 1 1.667-.405 2.93 2.93 0 0 1 1.341.21c.426.174.81.447 1.121.797.312.35.545.769.681 1.225.135.457.171.94.104 1.413V14h-1.851V8.14c0-1.574-.655-2.358-2.025-2.358a2.073 2.073 0 0 0-.907.162 2.157 2.157 0 0 0-.759.542 2.266 2.266 0 0 0-.473.825 2.358 2.358 0 0 0-.101.955V14H163V4.199zM182.731 1v2.425H185v1.59h-2.269v4.919c0 1.002.452 1.44 1.481 1.44.263 0 .526-.015.788-.043v1.572c-.371.061-.747.093-1.124.097-2.298 0-3.214-.739-3.214-2.583V5.015H179v-1.59h1.662V1h2.069zM187 0h1.812v5.549h.145a3.026 3.026 0 0 1 1.15-1.387 2.67 2.67 0 0 1 1.675-.417c.448-.026.897.055 1.313.238.416.184.79.465 1.095.823.305.359.533.786.668 1.252.135.465.175.957.115 1.441V14h-1.83V7.99c0-1.61-.69-2.424-1.982-2.424a2.006 2.006 0 0 0-.926.138 2.149 2.149 0 0 0-.786.55 2.389 2.389 0 0 0-.5.858 2.543 2.543 0 0 0-.12 1.007V14H187V0zM206.882 11.198a3.91 3.91 0 0 1-1.62 2.146 4.097 4.097 0 0 1-2.658.633 4.594 4.594 0 0 1-1.895-.355 4.48 4.48 0 0 1-1.566-1.097 4.332 4.332 0 0 1-.947-1.635 4.251 4.251 0 0 1-.154-1.871 4.32 4.32 0 0 1 .156-1.876c.19-.608.512-1.168.943-1.644a4.553 4.553 0 0 1 1.56-1.115A4.664 4.664 0 0 1 202.595 4C205.342 4 207 5.826 207 8.843v.661h-6.973v.107c-.03.352.015.707.134 1.041.119.335.308.641.555.9.248.26.549.466.883.605.334.14.694.21 1.058.206.466.054.938-.028 1.357-.235.418-.207.764-.531.992-.93h1.876zm-6.855-3.096h4.988a2.28 2.28 0 0 0-.649-1.768 2.387 2.387 0 0 0-.813-.543 2.438 2.438 0 0 0-.969-.177 2.592 2.592 0 0 0-.984.18 2.54 2.54 0 0 0-.834.54 2.457 2.457 0 0 0-.553.811c-.127.304-.19.63-.186.957z",
553
+ fill: color
554
+ }
555
+ ),
556
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
557
+ "path",
558
+ {
559
+ fillRule: "evenodd",
560
+ clipRule: "evenodd",
561
+ d: "M39.525 0H15.474C4.114 0 0 4.173 0 15.474v24.052C0 50.886 4.173 55 15.474 55h24.051C50.885 55 55 50.827 55 39.526V15.474C55.057 4.173 50.885 0 39.525 0z",
562
+ fill: "#C8102E"
563
+ }
564
+ ),
565
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
566
+ "path",
567
+ {
568
+ d: "M10.778 28h1.456v6.889h-1.456V32.11H7.457v2.778H6V28h1.457v2.778h3.32V28zm8.274 3.944c0 1.112-.583 1.723-1.632 1.723s-1.631-.611-1.631-1.778V28h-1.457v3.944c0 1.945 1.107 3.056 3.088 3.056s3.146-1.111 3.146-3.111V28H19.11v3.944h-.058zm16.955.778L34.375 28h-1.223l-1.632 4.722L29.947 28h-1.573l2.505 6.889h1.224l1.631-4.556 1.632 4.556h1.223L39.095 28H37.58l-1.573 4.722zm5.768-.778h2.68v-1.277h-2.68v-1.39h3.904V28h-5.302v6.889h5.477V33.61h-4.02v-1.667h-.059zm5.768 2.945H49V28h-1.457v6.889zm-24.122-1.445-.64 1.445h-1.515L24.412 28h1.282l3.146 6.889h-1.515l-.64-1.445H23.42zm.525-1.222h2.214l-1.107-2.444-1.107 2.444zM27 18c-4.956 0-9-4.044-9-9h1.253c0 4.272 3.475 7.747 7.747 7.747S34.747 13.272 34.747 9H36c0 4.956-4.044 9-9 9z",
569
+ fill: "#fff"
570
+ }
571
+ )
572
+ ]
573
+ }
574
+ );
575
+ }
576
+ );
577
+ AppStore.displayName = "AppStore";
578
+
579
+ // src/store-items/GooglePlay.tsx
580
+ var import_react6 = require("react");
581
+ var import_jsx_runtime10 = require("react/jsx-runtime");
582
+ var paletteMap3 = /* @__PURE__ */ new Map([
583
+ ["dark", "#ffffff"],
584
+ ["light", "#000000"]
585
+ ]);
586
+ var GooglePlay = (0, import_react6.forwardRef)(
587
+ ({ width = 250, height = 59, palette, ...rest }, ref) => {
588
+ const color = paletteMap3.get(palette);
589
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
590
+ "svg",
591
+ {
592
+ ref,
593
+ xmlns: "http://www.w3.org/2000/svg",
594
+ width: `${width}px`,
595
+ height: `${height}px`,
596
+ fill: color,
597
+ viewBox: "0 0 250 59",
598
+ ...rest,
599
+ children: [
600
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
601
+ "path",
602
+ {
603
+ d: "M79.994 7.556a6.326 6.326 0 0 1-.365 2.407 6.128 6.128 0 0 1-1.24 2.064 6.2 6.2 0 0 1-2.155 1.51 5.976 5.976 0 0 1-2.556.458 6.183 6.183 0 0 1-2.566-.494 6.415 6.415 0 0 1-2.166-1.518A7.299 7.299 0 0 1 67 6.997c0-1.863.698-3.653 1.946-4.985a6.675 6.675 0 0 1 3.472-1.89 6.502 6.502 0 0 1 3.893.437 5.45 5.45 0 0 1 2.013 1.497L77.19 3.241a4.304 4.304 0 0 0-1.573-1.238 4.124 4.124 0 0 0-1.938-.371 4.968 4.968 0 0 0-2.403.642 5.226 5.226 0 0 0-1.835 1.743 5.517 5.517 0 0 0-.839 2.438 5.582 5.582 0 0 0 .353 2.564 5.36 5.36 0 0 0 1.461 2.092c.644.563 1.41.952 2.23 1.134.822.183 1.673.152 2.48-.089a5.091 5.091 0 0 0 2.15-1.291 4.394 4.394 0 0 0 1.07-2.728h-4.667v-1.61h6.23c.05.341.078.685.086 1.03zM90 1.603h-6.207V5.72h5.655v1.56h-5.655v4.117H90V13h-8V0h8v1.603zM97.288 13h-1.662V1.603H92V0h9v1.603h-3.712V13zM107 13V0h2v13h-2zM116.352 13h-1.682V1.603H111V0h9v1.603h-3.648V13zM136.14 11.962a6.55 6.55 0 0 1-2.129 1.508c-.797.35-1.65.53-2.513.53-.862 0-1.715-.18-2.512-.53a6.55 6.55 0 0 1-2.129-1.508C125.664 10.618 125 8.843 125 6.999c0-1.844.664-3.62 1.857-4.963a6.177 6.177 0 0 1 2.117-1.539c.799-.35 1.66-.519 2.524-.495a6.02 6.02 0 0 1 2.52.509c.798.35 1.52.869 2.122 1.525a6.914 6.914 0 0 1 1.403 2.283c.318.852.473 1.763.454 2.68a7.084 7.084 0 0 1-.442 2.686 6.759 6.759 0 0 1-1.415 2.277zm-8.081-1.118c.45.483.985.866 1.576 1.127a4.595 4.595 0 0 0 3.727 0 4.828 4.828 0 0 0 1.576-1.127 5.87 5.87 0 0 0 1.415-3.845 5.87 5.87 0 0 0-1.415-3.845 4.829 4.829 0 0 0-1.576-1.127 4.597 4.597 0 0 0-1.864-.396c-.639 0-1.273.134-1.863.396a4.829 4.829 0 0 0-1.576 1.127A5.87 5.87 0 0 0 126.644 7a5.87 5.87 0 0 0 1.415 3.845zM141 13V0h2.013l6.32 10.118V0H151v13h-1.732l-6.601-10.595V13H141zM125.062 32.267a9.18 9.18 0 0 0-5.123 1.58 9.286 9.286 0 0 0-3.389 4.18 9.366 9.366 0 0 0-.512 5.371 9.319 9.319 0 0 0 2.536 4.754 9.21 9.21 0 0 0 4.731 2.533 9.165 9.165 0 0 0 5.33-.541 9.243 9.243 0 0 0 4.133-3.434 9.35 9.35 0 0 0 1.543-5.168 9.199 9.199 0 0 0-.669-3.58 9.144 9.144 0 0 0-2.003-3.034 9.07 9.07 0 0 0-3.02-2.004 9.018 9.018 0 0 0-3.557-.657zm0 14.905a5.556 5.556 0 0 1-3.204-.752 5.61 5.61 0 0 1-2.228-2.438 5.66 5.66 0 0 1 .95-6.261 5.58 5.58 0 0 1 2.85-1.655 5.551 5.551 0 0 1 3.281.247 5.595 5.595 0 0 1 2.574 2.064c.633.932.973 2.035.975 3.165a5.384 5.384 0 0 1-1.42 3.92 5.298 5.298 0 0 1-3.778 1.71zm-20.188-14.905a9.179 9.179 0 0 0-5.123 1.58 9.282 9.282 0 0 0-3.388 4.18 9.36 9.36 0 0 0-.513 5.371 9.317 9.317 0 0 0 2.537 4.754 9.205 9.205 0 0 0 4.73 2.533 9.164 9.164 0 0 0 5.33-.541 9.238 9.238 0 0 0 4.133-3.434 9.335 9.335 0 0 0 1.543-5.168 9.18 9.18 0 0 0-2.672-6.614 9.07 9.07 0 0 0-3.02-2.004 9.014 9.014 0 0 0-3.557-.657zm0 14.905a5.553 5.553 0 0 1-3.203-.752 5.614 5.614 0 0 1-2.23-2.438 5.667 5.667 0 0 1 .952-6.261 5.573 5.573 0 0 1 2.85-1.655 5.549 5.549 0 0 1 3.28.247 5.595 5.595 0 0 1 2.574 2.064c.633.932.973 2.035.976 3.165a5.403 5.403 0 0 1-1.421 3.92 5.323 5.323 0 0 1-3.778 1.71zm-24-12.046v3.928h9.358a8.256 8.256 0 0 1-2.166 4.953 9.568 9.568 0 0 1-3.314 2.214 9.51 9.51 0 0 1-3.92.667 10.358 10.358 0 0 1-7.353-3.068 10.514 10.514 0 0 1-3.045-7.407c0-2.778 1.095-5.442 3.045-7.406a10.358 10.358 0 0 1 7.352-3.068 10.01 10.01 0 0 1 7.105 2.815l2.75-2.771A13.636 13.636 0 0 0 86.179 23a13.556 13.556 0 0 0-5.304-.99 14.222 14.222 0 0 0-5.647.933 14.305 14.305 0 0 0-4.835 3.085 14.426 14.426 0 0 0-3.248 4.747 14.516 14.516 0 0 0 0 11.299c.754 1.786 1.86 3.4 3.248 4.746a14.303 14.303 0 0 0 4.835 3.086 14.22 14.22 0 0 0 5.647.932c1.853.074 3.7-.247 5.422-.943a13.143 13.143 0 0 0 4.564-3.094 13.15 13.15 0 0 0 3.379-9.231 13.784 13.784 0 0 0-.195-2.444h-13.17zm98.144 3.055a8.725 8.725 0 0 0-3.029-4.192 8.622 8.622 0 0 0-4.855-1.722 8.608 8.608 0 0 0-3.446.713 8.663 8.663 0 0 0-2.88 2.034 8.74 8.74 0 0 0-1.841 3.02 8.792 8.792 0 0 0-.497 3.508 9.274 9.274 0 0 0 1.772 5.543 9.164 9.164 0 0 0 4.713 3.371 9.098 9.098 0 0 0 5.779-.143 9.17 9.17 0 0 0 4.544-3.6l-3.14-2.182a5.246 5.246 0 0 1-1.927 1.883 5.19 5.19 0 0 1-2.601.67 4.63 4.63 0 0 1-2.663-.71 4.68 4.68 0 0 1-1.799-2.105l12.325-5.128-.455-.96zm-12.563 3.099a5.143 5.143 0 0 1 1.282-3.74c.45-.505.996-.916 1.605-1.207a5.037 5.037 0 0 1 1.944-.487 3.53 3.53 0 0 1 1.997.476 3.569 3.569 0 0 1 1.403 1.51l-8.231 3.448zm-10.007 8.99h4.051V22.993h-4.051V50.27zm-6.628-15.93h-.152a6.373 6.373 0 0 0-2.189-1.625 6.328 6.328 0 0 0-2.663-.557 9.199 9.199 0 0 0-6.234 2.873 9.336 9.336 0 0 0-2.546 6.412c0 2.388.912 4.684 2.546 6.413a9.199 9.199 0 0 0 6.234 2.873 6.195 6.195 0 0 0 2.668-.545 6.237 6.237 0 0 0 2.184-1.637h.152v1.33c0 3.558-1.885 5.456-4.917 5.456a5.087 5.087 0 0 1-2.826-.934 5.147 5.147 0 0 1-1.831-2.361l-3.509 1.462a8.72 8.72 0 0 0 3.235 4.028A8.617 8.617 0 0 0 144.903 59c4.744 0 8.664-2.815 8.664-9.667v-16.52h-3.747v1.528zm-4.657 12.832a5.573 5.573 0 0 1-3.725-1.764 5.652 5.652 0 0 1-1.516-3.855c0-1.433.542-2.812 1.516-3.856a5.572 5.572 0 0 1 3.725-1.764 5.17 5.17 0 0 1 3.649 1.75 5.213 5.213 0 0 1 1.034 1.797 5.26 5.26 0 0 1 .256 2.062 5.231 5.231 0 0 1-1.274 3.88 5.164 5.164 0 0 1-1.655 1.253c-.629.3-1.313.47-2.01.497zm52.83-24.18h-9.704V50.27h4.051V39.927h5.653a8.368 8.368 0 0 0 3.405-.461 8.407 8.407 0 0 0 2.939-1.792 8.477 8.477 0 0 0 1.985-2.826 8.543 8.543 0 0 0 0-6.777 8.478 8.478 0 0 0-1.985-2.825 8.408 8.408 0 0 0-2.939-1.792 8.368 8.368 0 0 0-3.405-.461zm0 13.094h-5.653V26.79h5.74a4.61 4.61 0 0 1 3.277 1.368 4.7 4.7 0 0 1 0 6.604 4.61 4.61 0 0 1-3.277 1.368l-.087-.044zm24.996-3.906a7.513 7.513 0 0 0-4.226.995 7.598 7.598 0 0 0-2.987 3.173l3.574 1.506a3.865 3.865 0 0 1 1.561-1.545 3.828 3.828 0 0 1 2.143-.441 3.875 3.875 0 0 1 2.897.842 3.922 3.922 0 0 1 1.435 2.671v.262a8.997 8.997 0 0 0-4.223-1.047c-3.856 0-7.798 2.182-7.798 6.153a6.34 6.34 0 0 0 .606 2.435 6.296 6.296 0 0 0 1.501 2.003 6.216 6.216 0 0 0 4.629 1.563 5.706 5.706 0 0 0 2.936-.627 5.747 5.747 0 0 0 2.219-2.035h.13v2.182h3.899V39.774c0-4.779-3.595-7.55-8.209-7.55l-.087-.044zm-.498 14.948c-1.321 0-3.162-.676-3.162-2.313 0-2.182 2.296-2.924 4.332-2.924a7.15 7.15 0 0 1 3.682.916 4.945 4.945 0 0 1-1.57 3.083 4.874 4.874 0 0 1-3.195 1.282l-.087-.044zm23.004-14.315-4.636 11.827h-.13l-4.808-11.827h-4.332l7.212 16.54-4.115 9.188h4.224L250 32.813h-4.505zm-36.39 17.457h4.029V22.993h-4.029V50.27z",
604
+ fill: color
605
+ }
606
+ ),
607
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
608
+ "path",
609
+ {
610
+ d: "M22.877 27.684.21 51.744c0 .005.002.01.003.014a6.12 6.12 0 0 0 5.914 4.536 6.1 6.1 0 0 0 3.106-.843l.073-.042L34.82 40.685 22.877 27.684z",
611
+ fill: "#EB3131"
612
+ }
613
+ ),
614
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
615
+ "path",
616
+ {
617
+ d: "m45.811 23.587-.021-.015-11017-6.386-12.41 11.044 12.454 12.452 10.958-6.323a6.126 6.126 0 0 0 .036-10.772z",
618
+ fill: "#F6B60B"
619
+ }
620
+ ),
621
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
622
+ "path",
623
+ {
624
+ d: "M.208 6.08A6 6 0 0 0 0 7.654V50.17c0 .545.07 1.073.209 1.574L23.657 28.3.207 6.08z",
625
+ fill: "#5778C5"
626
+ }
627
+ ),
628
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
629
+ "path",
630
+ {
631
+ d: "m23.044 28.912 11.734-11.73L9.29 2.405a6.137 6.137 0 0 0-3.164-.875A6.127 6.127 0 0 0 .209 6.072l-.001.007 22.837 22.833z",
632
+ fill: "#3BAD49"
633
+ }
634
+ )
635
+ ]
636
+ }
637
+ );
638
+ }
639
+ );
640
+ GooglePlay.displayName = "GooglePlay";
641
+
642
+ // src/StoreBadge.tsx
643
+ var import_jsx_runtime11 = require("react/jsx-runtime");
644
+ var contentStoreBadge = ({
645
+ palette,
646
+ type
647
+ }) => {
648
+ switch (type) {
649
+ case "google-play":
650
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
651
+ GooglePlay,
652
+ {
653
+ "data-testid": "store-badge__content__google-play",
654
+ palette
655
+ }
656
+ );
657
+ case "app-store":
658
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
659
+ AppStore,
660
+ {
661
+ "data-testid": "store-badge__content__app-store",
662
+ palette
663
+ }
664
+ );
665
+ case "app-gallery":
666
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
667
+ AppGallery,
668
+ {
669
+ "data-testid": "store-badge__content__app-gallery",
670
+ palette
671
+ }
672
+ );
673
+ default:
674
+ return null;
675
+ }
676
+ };
677
+ var StoreBadge = (0, import_react7.forwardRef)(
678
+ ({
679
+ type,
680
+ palette = "dark",
681
+ onPress,
682
+ "data-testid": dataTestId,
683
+ className,
684
+ ...rest
685
+ }, ref) => {
686
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
687
+ Box,
688
+ {
689
+ ref,
690
+ className,
691
+ "data-testid": dataTestId,
692
+ height: 87,
693
+ minWidth: 253,
694
+ paddingHorizontal: 20,
695
+ alignItems: "center",
696
+ justifyContent: "center",
697
+ borderWidth: 2,
698
+ borderRadius: 11,
699
+ onPress,
700
+ ...palette === "dark" ? {
701
+ backgroundColor: "#100f0d",
702
+ borderColor: "#a6a6a6"
703
+ } : {
704
+ backgroundColor: "#ffffff",
705
+ borderColor: "#000000"
706
+ },
707
+ ...rest,
708
+ style: {
709
+ cursor: onPress ? "pointer" : "default",
710
+ width: "fit-content",
711
+ ...rest.style
712
+ },
713
+ children: contentStoreBadge({ type, palette })
714
+ }
715
+ );
716
+ }
717
+ );
718
+ StoreBadge.displayName = "StoreBadge";
719
+ // Annotate the CommonJS export names for ESM import in node:
720
+ 0 && (module.exports = {
721
+ StoreBadge
722
+ });
723
+ //# sourceMappingURL=index.js.map