@xsolla/xui-store-badge-native 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.mjs ADDED
@@ -0,0 +1,689 @@
1
+ // src/StoreBadge.tsx
2
+ import { forwardRef as forwardRef6 } from "react";
3
+
4
+ // ../primitives-native/src/Box.tsx
5
+ import {
6
+ View,
7
+ Pressable,
8
+ Image
9
+ } from "react-native";
10
+ import { jsx } from "react/jsx-runtime";
11
+ var Box = ({
12
+ children,
13
+ onPress,
14
+ onLayout,
15
+ onMoveShouldSetResponder,
16
+ onResponderGrant,
17
+ onResponderMove,
18
+ onResponderRelease,
19
+ onResponderTerminate,
20
+ backgroundColor,
21
+ borderColor,
22
+ borderWidth,
23
+ borderBottomWidth,
24
+ borderBottomColor,
25
+ borderTopWidth,
26
+ borderTopColor,
27
+ borderLeftWidth,
28
+ borderLeftColor,
29
+ borderRightWidth,
30
+ borderRightColor,
31
+ borderRadius,
32
+ borderStyle,
33
+ height,
34
+ padding,
35
+ paddingHorizontal,
36
+ paddingVertical,
37
+ margin,
38
+ marginTop,
39
+ marginBottom,
40
+ marginLeft,
41
+ marginRight,
42
+ flexDirection,
43
+ alignItems,
44
+ justifyContent,
45
+ position,
46
+ top,
47
+ bottom,
48
+ left,
49
+ right,
50
+ width,
51
+ flex,
52
+ overflow,
53
+ zIndex,
54
+ hoverStyle,
55
+ pressStyle,
56
+ style,
57
+ "data-testid": dataTestId,
58
+ testID,
59
+ as,
60
+ src,
61
+ alt,
62
+ ...rest
63
+ }) => {
64
+ const getContainerStyle = (pressed) => ({
65
+ backgroundColor: pressed && pressStyle?.backgroundColor ? pressStyle.backgroundColor : backgroundColor,
66
+ borderColor,
67
+ borderWidth,
68
+ borderBottomWidth,
69
+ borderBottomColor,
70
+ borderTopWidth,
71
+ borderTopColor,
72
+ borderLeftWidth,
73
+ borderLeftColor,
74
+ borderRightWidth,
75
+ borderRightColor,
76
+ borderRadius,
77
+ borderStyle,
78
+ overflow,
79
+ zIndex,
80
+ height,
81
+ width,
82
+ padding,
83
+ paddingHorizontal,
84
+ paddingVertical,
85
+ margin,
86
+ marginTop,
87
+ marginBottom,
88
+ marginLeft,
89
+ marginRight,
90
+ flexDirection,
91
+ alignItems,
92
+ justifyContent,
93
+ position,
94
+ top,
95
+ bottom,
96
+ left,
97
+ right,
98
+ flex,
99
+ ...style
100
+ });
101
+ const finalTestID = dataTestId || testID;
102
+ const {
103
+ role,
104
+ tabIndex,
105
+ onKeyDown,
106
+ onKeyUp,
107
+ "aria-label": _ariaLabel,
108
+ "aria-labelledby": _ariaLabelledBy,
109
+ "aria-current": _ariaCurrent,
110
+ "aria-disabled": _ariaDisabled,
111
+ "aria-live": _ariaLive,
112
+ className,
113
+ "data-testid": _dataTestId,
114
+ ...nativeRest
115
+ } = rest;
116
+ if (as === "img" && src) {
117
+ const imageStyle = {
118
+ width,
119
+ height,
120
+ borderRadius,
121
+ position,
122
+ top,
123
+ bottom,
124
+ left,
125
+ right,
126
+ ...style
127
+ };
128
+ return /* @__PURE__ */ jsx(
129
+ Image,
130
+ {
131
+ source: { uri: src },
132
+ style: imageStyle,
133
+ testID: finalTestID,
134
+ resizeMode: "cover",
135
+ ...nativeRest
136
+ }
137
+ );
138
+ }
139
+ if (onPress) {
140
+ return /* @__PURE__ */ jsx(
141
+ Pressable,
142
+ {
143
+ onPress,
144
+ onLayout,
145
+ onMoveShouldSetResponder,
146
+ onResponderGrant,
147
+ onResponderMove,
148
+ onResponderRelease,
149
+ onResponderTerminate,
150
+ style: ({ pressed }) => getContainerStyle(pressed),
151
+ testID: finalTestID,
152
+ ...nativeRest,
153
+ children
154
+ }
155
+ );
156
+ }
157
+ return /* @__PURE__ */ jsx(
158
+ View,
159
+ {
160
+ style: getContainerStyle(),
161
+ testID: finalTestID,
162
+ onLayout,
163
+ onMoveShouldSetResponder,
164
+ onResponderGrant,
165
+ onResponderMove,
166
+ onResponderRelease,
167
+ onResponderTerminate,
168
+ ...nativeRest,
169
+ children
170
+ }
171
+ );
172
+ };
173
+
174
+ // ../primitives-native/src/Text.tsx
175
+ import { Text as RNText } from "react-native";
176
+ import { jsx as jsx2 } from "react/jsx-runtime";
177
+
178
+ // ../primitives-native/src/Spinner.tsx
179
+ import { ActivityIndicator, View as View2 } from "react-native";
180
+ import { jsx as jsx3 } from "react/jsx-runtime";
181
+ var Spinner = ({
182
+ color,
183
+ size,
184
+ role,
185
+ "aria-label": ariaLabel,
186
+ "aria-live": ariaLive,
187
+ "aria-describedby": ariaDescribedBy,
188
+ testID
189
+ }) => {
190
+ return /* @__PURE__ */ jsx3(
191
+ View2,
192
+ {
193
+ accessible: true,
194
+ accessibilityRole: role === "status" ? "none" : void 0,
195
+ accessibilityLabel: ariaLabel,
196
+ accessibilityLiveRegion: ariaLive === "polite" ? "polite" : ariaLive === "assertive" ? "assertive" : "none",
197
+ testID,
198
+ children: /* @__PURE__ */ jsx3(
199
+ ActivityIndicator,
200
+ {
201
+ color,
202
+ size: typeof size === "number" ? size : "small"
203
+ }
204
+ )
205
+ }
206
+ );
207
+ };
208
+ Spinner.displayName = "Spinner";
209
+
210
+ // ../primitives-native/src/Icon.tsx
211
+ import React from "react";
212
+ import { View as View3 } from "react-native";
213
+ import { jsx as jsx4 } from "react/jsx-runtime";
214
+
215
+ // ../primitives-native/src/Divider.tsx
216
+ import { View as View4 } from "react-native";
217
+ import { jsx as jsx5 } from "react/jsx-runtime";
218
+
219
+ // ../primitives-native/src/Input.tsx
220
+ import { forwardRef } from "react";
221
+ import { TextInput as RNTextInput } from "react-native";
222
+ import { jsx as jsx6 } from "react/jsx-runtime";
223
+ var keyboardTypeMap = {
224
+ text: "default",
225
+ number: "numeric",
226
+ email: "email-address",
227
+ tel: "phone-pad",
228
+ url: "url",
229
+ decimal: "decimal-pad"
230
+ };
231
+ var inputModeToKeyboardType = {
232
+ none: "default",
233
+ text: "default",
234
+ decimal: "decimal-pad",
235
+ numeric: "number-pad",
236
+ tel: "phone-pad",
237
+ search: "default",
238
+ email: "email-address",
239
+ url: "url"
240
+ };
241
+ var autoCompleteToTextContentType = {
242
+ "one-time-code": "oneTimeCode",
243
+ email: "emailAddress",
244
+ username: "username",
245
+ password: "password",
246
+ "new-password": "newPassword",
247
+ tel: "telephoneNumber",
248
+ "postal-code": "postalCode",
249
+ name: "name"
250
+ };
251
+ var InputPrimitive = forwardRef(
252
+ ({
253
+ value,
254
+ placeholder,
255
+ onChange,
256
+ onChangeText,
257
+ onFocus,
258
+ onBlur,
259
+ onKeyDown,
260
+ disabled,
261
+ secureTextEntry,
262
+ style,
263
+ color,
264
+ fontSize,
265
+ placeholderTextColor,
266
+ maxLength,
267
+ name,
268
+ type,
269
+ inputMode,
270
+ autoComplete,
271
+ id,
272
+ "aria-invalid": ariaInvalid,
273
+ "aria-describedby": ariaDescribedBy,
274
+ "aria-labelledby": ariaLabelledBy,
275
+ "aria-label": ariaLabel,
276
+ "aria-disabled": ariaDisabled,
277
+ "data-testid": dataTestId
278
+ }, ref) => {
279
+ const handleChangeText = (text) => {
280
+ onChangeText?.(text);
281
+ if (onChange) {
282
+ const syntheticEvent = {
283
+ target: { value: text },
284
+ currentTarget: { value: text },
285
+ type: "change",
286
+ nativeEvent: { text },
287
+ preventDefault: () => {
288
+ },
289
+ stopPropagation: () => {
290
+ },
291
+ isTrusted: false
292
+ };
293
+ onChange(syntheticEvent);
294
+ }
295
+ };
296
+ const keyboardType = inputMode ? inputModeToKeyboardType[inputMode] || "default" : type ? keyboardTypeMap[type] || "default" : "default";
297
+ const textContentType = autoComplete ? autoCompleteToTextContentType[autoComplete] : void 0;
298
+ return /* @__PURE__ */ jsx6(
299
+ RNTextInput,
300
+ {
301
+ ref,
302
+ value,
303
+ placeholder,
304
+ onChangeText: handleChangeText,
305
+ onFocus,
306
+ onBlur,
307
+ onKeyPress: (e) => {
308
+ if (onKeyDown) {
309
+ onKeyDown({
310
+ key: e.nativeEvent.key,
311
+ preventDefault: () => {
312
+ }
313
+ });
314
+ }
315
+ },
316
+ editable: !disabled,
317
+ secureTextEntry: secureTextEntry || type === "password",
318
+ keyboardType,
319
+ textContentType,
320
+ style: [
321
+ {
322
+ color,
323
+ fontSize: typeof fontSize === "number" ? fontSize : void 0,
324
+ flex: 1,
325
+ padding: 0,
326
+ textAlign: style?.textAlign || "left"
327
+ },
328
+ style
329
+ ],
330
+ placeholderTextColor,
331
+ maxLength,
332
+ testID: dataTestId || id,
333
+ accessibilityLabel: ariaLabel,
334
+ accessibilityHint: ariaDescribedBy,
335
+ accessibilityState: {
336
+ disabled: disabled || ariaDisabled
337
+ },
338
+ accessible: true
339
+ }
340
+ );
341
+ }
342
+ );
343
+ InputPrimitive.displayName = "InputPrimitive";
344
+
345
+ // ../primitives-native/src/TextArea.tsx
346
+ import { forwardRef as forwardRef2 } from "react";
347
+ import { TextInput as RNTextInput2 } from "react-native";
348
+ import { jsx as jsx7 } from "react/jsx-runtime";
349
+ var TextAreaPrimitive = forwardRef2(
350
+ ({
351
+ value,
352
+ placeholder,
353
+ onChange,
354
+ onChangeText,
355
+ onFocus,
356
+ onBlur,
357
+ onKeyDown,
358
+ disabled,
359
+ style,
360
+ color,
361
+ fontSize,
362
+ placeholderTextColor,
363
+ maxLength,
364
+ rows,
365
+ id,
366
+ "aria-invalid": ariaInvalid,
367
+ "aria-describedby": ariaDescribedBy,
368
+ "aria-labelledby": ariaLabelledBy,
369
+ "aria-label": ariaLabel,
370
+ "aria-disabled": ariaDisabled,
371
+ "data-testid": dataTestId
372
+ }, ref) => {
373
+ const handleChangeText = (text) => {
374
+ onChangeText?.(text);
375
+ if (onChange) {
376
+ const syntheticEvent = {
377
+ target: { value: text },
378
+ currentTarget: { value: text },
379
+ type: "change",
380
+ nativeEvent: { text },
381
+ preventDefault: () => {
382
+ },
383
+ stopPropagation: () => {
384
+ },
385
+ isTrusted: false
386
+ };
387
+ onChange(syntheticEvent);
388
+ }
389
+ };
390
+ return /* @__PURE__ */ jsx7(
391
+ RNTextInput2,
392
+ {
393
+ ref,
394
+ value,
395
+ placeholder,
396
+ onChangeText: handleChangeText,
397
+ onFocus,
398
+ onBlur,
399
+ onKeyPress: (e) => {
400
+ if (onKeyDown) {
401
+ onKeyDown({
402
+ key: e.nativeEvent.key,
403
+ preventDefault: () => {
404
+ }
405
+ });
406
+ }
407
+ },
408
+ editable: !disabled,
409
+ multiline: true,
410
+ numberOfLines: rows || 4,
411
+ style: [
412
+ {
413
+ color,
414
+ fontSize: typeof fontSize === "number" ? fontSize : void 0,
415
+ flex: 1,
416
+ padding: 0,
417
+ textAlignVertical: "top",
418
+ textAlign: style?.textAlign || "left"
419
+ },
420
+ style
421
+ ],
422
+ placeholderTextColor,
423
+ maxLength,
424
+ testID: dataTestId || id,
425
+ accessibilityLabel: ariaLabel,
426
+ accessibilityHint: ariaDescribedBy,
427
+ accessibilityState: {
428
+ disabled: disabled || ariaDisabled
429
+ },
430
+ accessible: true
431
+ }
432
+ );
433
+ }
434
+ );
435
+ TextAreaPrimitive.displayName = "TextAreaPrimitive";
436
+
437
+ // src/store-items/AppGallery.tsx
438
+ import { forwardRef as forwardRef3 } from "react";
439
+ import { jsx as jsx8, jsxs } from "react/jsx-runtime";
440
+ var paletteMap = /* @__PURE__ */ new Map([
441
+ ["dark", "#ffffff"],
442
+ ["light", "#000000"]
443
+ ]);
444
+ var AppGallery = forwardRef3(
445
+ ({ width = 253, height = 58, palette, ...rest }, ref) => {
446
+ const color = paletteMap.get(palette);
447
+ return /* @__PURE__ */ jsxs(
448
+ "svg",
449
+ {
450
+ ref,
451
+ xmlns: "http://www.w3.org/2000/svg",
452
+ width: `${width}px`,
453
+ height: `${height}px`,
454
+ fill: color,
455
+ viewBox: "0 0 253 58",
456
+ ...rest,
457
+ children: [
458
+ /* @__PURE__ */ jsx8(
459
+ "path",
460
+ {
461
+ 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",
462
+ fill: color
463
+ }
464
+ ),
465
+ /* @__PURE__ */ jsx8(
466
+ "path",
467
+ {
468
+ fillRule: "evenodd",
469
+ clipRule: "evenodd",
470
+ 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",
471
+ fill: "#C8102E"
472
+ }
473
+ ),
474
+ /* @__PURE__ */ jsx8(
475
+ "path",
476
+ {
477
+ 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",
478
+ fill: "#fff"
479
+ }
480
+ )
481
+ ]
482
+ }
483
+ );
484
+ }
485
+ );
486
+ AppGallery.displayName = "AppGallery";
487
+
488
+ // src/store-items/AppStore.tsx
489
+ import { forwardRef as forwardRef4 } from "react";
490
+ import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
491
+ var paletteMap2 = /* @__PURE__ */ new Map([
492
+ ["dark", "#ffffff"],
493
+ ["light", "#000000"]
494
+ ]);
495
+ var AppStore = forwardRef4(
496
+ ({ width = 217, height = 55, palette, ...rest }, ref) => {
497
+ const color = paletteMap2.get(palette);
498
+ return /* @__PURE__ */ jsxs2(
499
+ "svg",
500
+ {
501
+ ref,
502
+ xmlns: "http://www.w3.org/2000/svg",
503
+ width: `${width}px`,
504
+ height: `${height}px`,
505
+ fill: color,
506
+ viewBox: "0 0 217 55",
507
+ ...rest,
508
+ children: [
509
+ /* @__PURE__ */ jsx9(
510
+ "path",
511
+ {
512
+ 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",
513
+ fill: color
514
+ }
515
+ ),
516
+ /* @__PURE__ */ jsx9(
517
+ "path",
518
+ {
519
+ 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",
520
+ fill: color
521
+ }
522
+ ),
523
+ /* @__PURE__ */ jsx9(
524
+ "path",
525
+ {
526
+ fillRule: "evenodd",
527
+ clipRule: "evenodd",
528
+ 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",
529
+ fill: "#C8102E"
530
+ }
531
+ ),
532
+ /* @__PURE__ */ jsx9(
533
+ "path",
534
+ {
535
+ 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",
536
+ fill: "#fff"
537
+ }
538
+ )
539
+ ]
540
+ }
541
+ );
542
+ }
543
+ );
544
+ AppStore.displayName = "AppStore";
545
+
546
+ // src/store-items/GooglePlay.tsx
547
+ import { forwardRef as forwardRef5 } from "react";
548
+ import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
549
+ var paletteMap3 = /* @__PURE__ */ new Map([
550
+ ["dark", "#ffffff"],
551
+ ["light", "#000000"]
552
+ ]);
553
+ var GooglePlay = forwardRef5(
554
+ ({ width = 250, height = 59, palette, ...rest }, ref) => {
555
+ const color = paletteMap3.get(palette);
556
+ return /* @__PURE__ */ jsxs3(
557
+ "svg",
558
+ {
559
+ ref,
560
+ xmlns: "http://www.w3.org/2000/svg",
561
+ width: `${width}px`,
562
+ height: `${height}px`,
563
+ fill: color,
564
+ viewBox: "0 0 250 59",
565
+ ...rest,
566
+ children: [
567
+ /* @__PURE__ */ jsx10(
568
+ "path",
569
+ {
570
+ 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",
571
+ fill: color
572
+ }
573
+ ),
574
+ /* @__PURE__ */ jsx10(
575
+ "path",
576
+ {
577
+ 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",
578
+ fill: "#EB3131"
579
+ }
580
+ ),
581
+ /* @__PURE__ */ jsx10(
582
+ "path",
583
+ {
584
+ 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",
585
+ fill: "#F6B60B"
586
+ }
587
+ ),
588
+ /* @__PURE__ */ jsx10(
589
+ "path",
590
+ {
591
+ 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",
592
+ fill: "#5778C5"
593
+ }
594
+ ),
595
+ /* @__PURE__ */ jsx10(
596
+ "path",
597
+ {
598
+ 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",
599
+ fill: "#3BAD49"
600
+ }
601
+ )
602
+ ]
603
+ }
604
+ );
605
+ }
606
+ );
607
+ GooglePlay.displayName = "GooglePlay";
608
+
609
+ // src/StoreBadge.tsx
610
+ import { jsx as jsx11 } from "react/jsx-runtime";
611
+ var contentStoreBadge = ({
612
+ palette,
613
+ type
614
+ }) => {
615
+ switch (type) {
616
+ case "google-play":
617
+ return /* @__PURE__ */ jsx11(
618
+ GooglePlay,
619
+ {
620
+ "data-testid": "store-badge__content__google-play",
621
+ palette
622
+ }
623
+ );
624
+ case "app-store":
625
+ return /* @__PURE__ */ jsx11(
626
+ AppStore,
627
+ {
628
+ "data-testid": "store-badge__content__app-store",
629
+ palette
630
+ }
631
+ );
632
+ case "app-gallery":
633
+ return /* @__PURE__ */ jsx11(
634
+ AppGallery,
635
+ {
636
+ "data-testid": "store-badge__content__app-gallery",
637
+ palette
638
+ }
639
+ );
640
+ default:
641
+ return null;
642
+ }
643
+ };
644
+ var StoreBadge = forwardRef6(
645
+ ({
646
+ type,
647
+ palette = "dark",
648
+ onPress,
649
+ "data-testid": dataTestId,
650
+ className,
651
+ ...rest
652
+ }, ref) => {
653
+ return /* @__PURE__ */ jsx11(
654
+ Box,
655
+ {
656
+ ref,
657
+ className,
658
+ "data-testid": dataTestId,
659
+ height: 87,
660
+ minWidth: 253,
661
+ paddingHorizontal: 20,
662
+ alignItems: "center",
663
+ justifyContent: "center",
664
+ borderWidth: 2,
665
+ borderRadius: 11,
666
+ onPress,
667
+ ...palette === "dark" ? {
668
+ backgroundColor: "#100f0d",
669
+ borderColor: "#a6a6a6"
670
+ } : {
671
+ backgroundColor: "#ffffff",
672
+ borderColor: "#000000"
673
+ },
674
+ ...rest,
675
+ style: {
676
+ cursor: onPress ? "pointer" : "default",
677
+ width: "fit-content",
678
+ ...rest.style
679
+ },
680
+ children: contentStoreBadge({ type, palette })
681
+ }
682
+ );
683
+ }
684
+ );
685
+ StoreBadge.displayName = "StoreBadge";
686
+ export {
687
+ StoreBadge
688
+ };
689
+ //# sourceMappingURL=index.mjs.map