@blerp/design 1.2.73 → 1.2.74
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.cjs.js +683 -662
- package/dist/index.esm.js +683 -661
- package/dist/index.umd.js +683 -665
- package/package.json +6 -5
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SvgIcon, InputAdornment as InputAdornment$1, Box as Box$1, Container as Container$3, Grid as Grid$1, Stack as Stack$1, ImageList as ImageList$1, Autocomplete as Autocomplete$1, Button as Button$1, ButtonGroup as ButtonGroup$1, Checkbox as Checkbox$1, Fab, Radio, Rating as Rating$1, Select as Select$1, Slider as Slider$3, Switch as Switch$2, TextField, BottomNavigation as BottomNavigation$1, Breadcrumbs as Breadcrumbs$1, Drawer as Drawer$1, Link as Link$1, Menu as Menu$1, Pagination as Pagination$1, SpeedDial as SpeedDial$1, Stepper as Stepper$1, Tabs as Tabs$1, Tab as Tab$1, Accordion as Accordion$1, AppBar as AppBar$1, Card as Card$1, Paper as Paper$1, Alert as Alert$1, Backdrop as Backdrop$1, Dialog as Dialog$1, LinearProgress as LinearProgress$1, Skeleton as Skeleton$1, Snackbar as Snackbar$1, Avatar as Avatar$1, Badge as Badge$1, Chip as Chip$1, Divider as Divider$1, List as List$1, Table as Table$1, Tooltip as Tooltip$1, Toolbar as Toolbar$1, Typography, Modal as Modal$1, Popover as Popover$1, IconButton as IconButton$1, MenuItem as MenuItem$1 } from '@mui/material';
|
|
2
|
-
import
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
|
+
import 'prop-types';
|
|
3
4
|
import React, { useState, useEffect, useContext, useRef, createContext, createRef, cloneElement } from 'react';
|
|
4
5
|
import { ColorExtractor } from 'react-color-extractor';
|
|
5
6
|
import styled, { ThemeContext, keyframes, ThemeProvider as ThemeProvider$1 } from 'styled-components';
|
|
@@ -20,6 +21,8 @@ import MoreHorizRoundedIcon from '@mui/icons-material/MoreHorizRounded';
|
|
|
20
21
|
import { usePalette } from 'react-palette';
|
|
21
22
|
import KeyboardArrowRightRoundedIcon from '@mui/icons-material/KeyboardArrowRightRounded';
|
|
22
23
|
import KeyboardArrowDownRoundedIcon from '@mui/icons-material/KeyboardArrowDownRounded';
|
|
24
|
+
import 'core-js/modules/web.url.js';
|
|
25
|
+
import 'core-js/modules/web.url-search-params.js';
|
|
23
26
|
import CloseRoundedIcon from '@mui/icons-material/CloseRounded';
|
|
24
27
|
import FileUploadRoundedIcon from '@mui/icons-material/FileUploadRounded';
|
|
25
28
|
import _extends from '@babel/runtime/helpers/extends';
|
|
@@ -57,22 +60,23 @@ const SaveContainer$2 = styled.div(_templateObject2$c || (_templateObject2$c = _
|
|
|
57
60
|
const BlerpImageScrim$2 = styled.div(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteral(["\n height: 150px;\n width: 150px;\n background-color: ", "70;\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n transition: 0.4s;\n\n &:hover {\n background-color: ", "98;\n }\n\n &:hover ", " {\n opacity: 1;\n }\n"])), props => props.theme.colors.grey6Override, props => props.theme.colors.grey6Override, SaveContainer$2);
|
|
58
61
|
const BlerpImageScrimPrivate = styled.div(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteral(["\n height: 150px;\n width: 150px;\n background-color: ", "70;\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n transition: 0.4s;\n\n &:hover {\n background-color: ", "98;\n }\n\n &:hover ", " {\n opacity: 1;\n }\n\n &:hover p {\n display: block;\n }\n &:hover svg {\n display: none;\n }\n"])), props => props.theme.colors.grey3, props => props.theme.colors.grey3, SaveContainer$2);
|
|
59
62
|
|
|
60
|
-
const BlerpImageRow =
|
|
61
|
-
bite,
|
|
62
|
-
playingState,
|
|
63
|
-
primaryActionButton,
|
|
64
|
-
getUserReactions,
|
|
65
|
-
handleClickPlay,
|
|
66
|
-
handleClickSave,
|
|
67
|
-
isPremium,
|
|
68
|
-
isLocked,
|
|
69
|
-
isOwner,
|
|
70
|
-
handleClickLock,
|
|
71
|
-
setOpenSave,
|
|
72
|
-
sizeParams
|
|
73
|
-
}) => {
|
|
63
|
+
const BlerpImageRow = _ref => {
|
|
74
64
|
var _bite$image, _bite$image$original, _bite$image2, _bite$image2$original, _bite$giphy;
|
|
75
65
|
|
|
66
|
+
let {
|
|
67
|
+
bite,
|
|
68
|
+
playingState,
|
|
69
|
+
primaryActionButton,
|
|
70
|
+
getUserReactions,
|
|
71
|
+
handleClickPlay,
|
|
72
|
+
handleClickSave,
|
|
73
|
+
isPremium,
|
|
74
|
+
isLocked,
|
|
75
|
+
isOwner,
|
|
76
|
+
handleClickLock,
|
|
77
|
+
setOpenSave,
|
|
78
|
+
sizeParams
|
|
79
|
+
} = _ref;
|
|
76
80
|
const [actionButtonHovered, setActionButtonHovered] = useState(false);
|
|
77
81
|
|
|
78
82
|
if (bite.visibility === "PRIVATE" && !isOwner) {
|
|
@@ -200,18 +204,19 @@ const BlerpImageRow = ({
|
|
|
200
204
|
var _templateObject$h;
|
|
201
205
|
const ReactionButton$1 = styled.div(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n border-radius: 50%;\n width: 30px;\n height: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 8px;\n transition: 0.2s;\n margin-right: 0;\n cursor: pointer;\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n }\n"])), props => props.active ? props.theme.colors.ibisRed : props.theme.colors.grey5Override, props => props.theme.colors.ibisRed);
|
|
202
206
|
|
|
203
|
-
const BlerpSavePopup =
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
207
|
+
const BlerpSavePopup = _ref => {
|
|
208
|
+
let {
|
|
209
|
+
openSave,
|
|
210
|
+
setOpenSave,
|
|
211
|
+
sizeParams,
|
|
212
|
+
unsaveButton,
|
|
213
|
+
handleClickReaction,
|
|
214
|
+
bite,
|
|
215
|
+
handleClickUnsave,
|
|
216
|
+
handleClickOrganize,
|
|
217
|
+
organizeButton,
|
|
218
|
+
anchorRef
|
|
219
|
+
} = _ref;
|
|
215
220
|
return /*#__PURE__*/React.createElement(Popover, {
|
|
216
221
|
open: openSave,
|
|
217
222
|
onClose: () => setOpenSave(false),
|
|
@@ -337,16 +342,18 @@ const BlerpSavePopup = ({
|
|
|
337
342
|
var _templateObject$g;
|
|
338
343
|
const LineClamp$2 = styled.div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteral(["\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin: 0;\n text-overflow: ellipsis;\n overflow: hidden;\n"])));
|
|
339
344
|
|
|
340
|
-
const BlerpTitleRow =
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
345
|
+
const BlerpTitleRow = _ref => {
|
|
346
|
+
let {
|
|
347
|
+
bite,
|
|
348
|
+
title,
|
|
349
|
+
isLinkTitle,
|
|
350
|
+
handleClickTitle,
|
|
351
|
+
isPremium,
|
|
352
|
+
isLocked,
|
|
353
|
+
isOwner,
|
|
354
|
+
sizeParams
|
|
355
|
+
} = _ref;
|
|
356
|
+
|
|
350
357
|
if (bite.visibility === "PRIVATE" && !isOwner) {
|
|
351
358
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
352
359
|
direction: "row",
|
|
@@ -434,9 +441,10 @@ const BlerpTitleRow = ({
|
|
|
434
441
|
}, title || bite.title)));
|
|
435
442
|
};
|
|
436
443
|
|
|
437
|
-
const PresentGiftIcon =
|
|
438
|
-
|
|
439
|
-
|
|
444
|
+
const PresentGiftIcon = _ref => {
|
|
445
|
+
let {
|
|
446
|
+
sx
|
|
447
|
+
} = _ref;
|
|
440
448
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
441
449
|
sx: sx
|
|
442
450
|
}, /*#__PURE__*/React.createElement("svg", {
|
|
@@ -450,9 +458,10 @@ const PresentGiftIcon = ({
|
|
|
450
458
|
d: "M9.52851 4.05582C10.2735 4.58225 10.9836 5.27026 11.5238 5.98594C12.064 5.27026 12.7741 4.58225 13.5191 4.05582C14.1172 3.6332 14.7839 3.28121 15.4574 3.11073C16.132 2.93995 16.8833 2.93649 17.5556 3.31973C18.7454 3.99788 19.0667 5.56851 18.5299 6.68922C18.4689 6.81663 18.3996 6.93594 18.3232 7.04762H20.4286C21.3227 7.04762 22.0476 7.77249 22.0476 8.66667V11.0952C22.0476 11.9894 21.3227 12.7143 20.4286 12.7143V18.381C20.4286 19.2751 19.7037 20 18.8095 20H4.2381C3.34392 20 2.61905 19.2751 2.61905 18.381V12.7143C1.72487 12.7143 1 11.9894 1 11.0952V8.66667C1 7.77249 1.72487 7.04762 2.61905 7.04762H4.72438C4.64803 6.93594 4.57873 6.81663 4.5177 6.68922C3.98094 5.56851 4.30225 3.99788 5.49196 3.31973C6.16427 2.93649 6.91562 2.93995 7.59023 3.11073C8.26369 3.28121 8.9304 3.6332 9.52851 4.05582ZM14.7551 7.01891C14.5252 7.03815 14.2932 7.04702 14.0642 7.04762H14.0144C13.5892 7.04651 13.1756 7.01726 12.8071 6.97327C13.2274 6.41385 13.8102 5.8326 14.4534 5.37808C14.9483 5.02841 15.4334 4.78692 15.8547 4.68027C16.2749 4.5739 16.5613 4.61654 16.7539 4.72631C17.0981 4.92251 17.2956 5.51816 17.0697 5.98985C16.9417 6.25716 16.6928 6.48772 16.2844 6.67092C15.8712 6.85625 15.3425 6.96974 14.7551 7.01891ZM10.2405 6.97327C9.87199 7.01726 9.45845 7.04651 9.03317 7.04762H8.98341C8.75442 7.04702 8.52241 7.03815 8.29254 7.01891C7.70512 6.96974 7.17643 6.85625 6.76322 6.67092C6.35477 6.48772 6.10594 6.25716 5.97791 5.98985C5.75199 5.51816 5.94952 4.92251 6.29373 4.72631C6.48631 4.61654 6.77273 4.5739 7.19291 4.68027C7.61423 4.78692 8.09933 5.02841 8.5942 5.37808C9.23744 5.8326 9.82024 6.41385 10.2405 6.97327ZM12.3333 12.7143H18.8095L18.8095 18.381H12.3333V12.7143ZM12.3333 11.0952H18.8095L18.8119 11.0952H20.4286V8.66667L12.3333 8.66667V11.0952ZM10.7143 8.66667V11.0952H4.2381H4.23734H2.61905L2.61905 8.66667L10.7143 8.66667ZM10.7143 12.7143V18.381H4.2381V12.7143H10.7143Z"
|
|
451
459
|
})));
|
|
452
460
|
};
|
|
453
|
-
const SparkleGiftIcon =
|
|
454
|
-
|
|
455
|
-
|
|
461
|
+
const SparkleGiftIcon = _ref2 => {
|
|
462
|
+
let {
|
|
463
|
+
sx
|
|
464
|
+
} = _ref2;
|
|
456
465
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
457
466
|
sx: sx
|
|
458
467
|
}, /*#__PURE__*/React.createElement("svg", {
|
|
@@ -466,9 +475,10 @@ const SparkleGiftIcon = ({
|
|
|
466
475
|
d: "M19.6022 6.79143L18.904 6.52886C18.2561 6.28566 17.7472 5.76932 17.5075 5.11199L17.2487 4.40356C17.1601 4.16213 16.9326 4 16.679 4C16.4254 4 16.1979 4.16037 16.1093 4.40356L15.8505 5.11199C15.6108 5.76932 15.1018 6.28566 14.454 6.52886L13.7557 6.79143C13.5178 6.88131 13.358 7.11217 13.358 7.36946C13.358 7.62675 13.516 7.85761 13.7557 7.94748L14.454 8.21006C15.1018 8.45325 15.6108 8.9696 15.8505 9.62693L16.1093 10.3354C16.1979 10.5768 16.4254 10.7389 16.679 10.7389C16.9326 10.7389 17.1601 10.5785 17.2487 10.3354L17.5075 9.62693C17.7472 8.9696 18.2561 8.45325 18.904 8.21006L19.6022 7.94748C19.8402 7.85761 20 7.62675 20 7.36946C20 7.11217 19.8419 6.88131 19.6022 6.79143Z"
|
|
467
476
|
})));
|
|
468
477
|
};
|
|
469
|
-
const PlayOutlineIcon =
|
|
470
|
-
|
|
471
|
-
|
|
478
|
+
const PlayOutlineIcon = _ref3 => {
|
|
479
|
+
let {
|
|
480
|
+
sx
|
|
481
|
+
} = _ref3;
|
|
472
482
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
473
483
|
sx: sx
|
|
474
484
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -481,9 +491,10 @@ const PlayOutlineIcon = ({
|
|
|
481
491
|
d: "M3.9,1C3.3,1,2.6,1.4,2.6,2.2v11.6c0,1,1.3,1.6,2,1l8.1-5.6c0.8-0.5,0.8-1.8,0-2.3L4.7,1.2 C4.5,1,4.2,1,3.9,1 M3.7-1L3.7-1c0.6,0,1.2,0.2,1.7,0.5l0,0L14,5.6C14.7,6.1,15.2,7,15.2,8c0,1-0.5,1.9-1.2,2.5l-8.6,6 c-0.5,0.3-1,0.5-1.6,0.5c-0.7,0-1.4-0.3-2-0.7c-0.6-0.5-1-1.3-1-2.1V1.8c0-0.9,0.3-1.6,1-2.1C2.3-0.8,3-1,3.7-1z"
|
|
482
492
|
}))));
|
|
483
493
|
};
|
|
484
|
-
const PlaySolidIcon =
|
|
485
|
-
|
|
486
|
-
|
|
494
|
+
const PlaySolidIcon = _ref4 => {
|
|
495
|
+
let {
|
|
496
|
+
sx
|
|
497
|
+
} = _ref4;
|
|
487
498
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
488
499
|
sx: sx
|
|
489
500
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -495,9 +506,10 @@ const PlaySolidIcon = ({
|
|
|
495
506
|
d: "M7.2,4.3c-0.2,0-0.3,0-0.5,0.1C6.4,4.6,6.3,4.8,6.3,5.1v13.8c0,0.4,0.3,0.6,0.4,0.7c0.3,0.2,0.7,0.2,0.9,0 l9.6-6.7c0.2-0.2,0.4-0.4,0.4-0.7c0-0.3,0-0.6-0.2-0.8c-0.1-0.1-0.1-0.1-0.2-0.2L7.7,4.5C7.6,4.4,7.4,4.3,7.2,4.3z"
|
|
496
507
|
})));
|
|
497
508
|
};
|
|
498
|
-
const TwitchBitIcon =
|
|
499
|
-
|
|
500
|
-
|
|
509
|
+
const TwitchBitIcon = _ref5 => {
|
|
510
|
+
let {
|
|
511
|
+
sx
|
|
512
|
+
} = _ref5;
|
|
501
513
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
502
514
|
sx: sx
|
|
503
515
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -510,9 +522,10 @@ const TwitchBitIcon = ({
|
|
|
510
522
|
d: "M12,21c-0.2,0-0.3-0.1-0.5-0.2l-6.8-5.4c-0.3-0.2-0.4-0.6-0.2-1l6.8-11.2C11.6,3.1,11.8,3,12,3c0,0,0,0,0,0 c0.3,0,0.5,0.1,0.6,0.4l6.7,11.2c0.2,0.3,0.1,0.7-0.2,1l-6.7,5.4C12.4,20.9,12.2,21,12,21z M6.2,14.7l5.8,4.6l5.7-4.6L12,5.2 L6.2,14.7z"
|
|
511
523
|
}))));
|
|
512
524
|
};
|
|
513
|
-
const BlerpCoinsIcon =
|
|
514
|
-
|
|
515
|
-
|
|
525
|
+
const BlerpCoinsIcon = _ref6 => {
|
|
526
|
+
let {
|
|
527
|
+
sx
|
|
528
|
+
} = _ref6;
|
|
516
529
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
517
530
|
sx: sx
|
|
518
531
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -528,9 +541,10 @@ const BlerpCoinsIcon = ({
|
|
|
528
541
|
d: "M11,21c-4.4,0-8-3.6-8-8c0-2.6,1.3-5,3.4-6.5c-2.2,3.2-1.8,7.4,0.9,10.2 c2.7,2.7,7,3.1,10.2,0.9C16,19.7,13.6,21,11,21z"
|
|
529
542
|
})));
|
|
530
543
|
};
|
|
531
|
-
const ShortcutIcon =
|
|
532
|
-
|
|
533
|
-
|
|
544
|
+
const ShortcutIcon = _ref7 => {
|
|
545
|
+
let {
|
|
546
|
+
sx
|
|
547
|
+
} = _ref7;
|
|
534
548
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
535
549
|
sx: sx
|
|
536
550
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -547,9 +561,10 @@ const ShortcutIcon = ({
|
|
|
547
561
|
d: "M13.7,17H6.3C4.5,17,3,15.5,3,13.7V6.3C3,4.5,4.5,3,6.3,3h7.4C15.5,3,17,4.5,17,6.3 c0,0,0,0,0,0v7.4C17,15.5,15.5,17,13.7,17z M7.8,8.3c-0.1,0-0.2,0-0.3,0.1c-0.6,0.6-0.9,1.5-0.9,2.3c0,1.8,1.5,3.3,3.3,3.3 s3.3-1.5,3.3-3.3c0-1.3-0.7-2.5-1.7-3.3c-0.6-0.6-1.2-1.1-1.2-1.9c0-0.2-0.2-0.4-0.4-0.4c0,0,0,0,0,0c-0.1,0-0.3,0.1-0.3,0.2 C9,6.1,8.8,6.9,8.8,7.7C9,8.2,9.3,8.6,9.7,9c0.4,0.3,0.7,0.8,0.8,1.3c0,0.6-0.5,1.1-1.1,1.1h0c-0.6,0-1.1-0.5-1.1-1.1V8.7 c0-0.1,0-0.2-0.1-0.3C8.1,8.4,7.9,8.3,7.8,8.3z"
|
|
548
562
|
})));
|
|
549
563
|
};
|
|
550
|
-
const LightbulbIcon =
|
|
551
|
-
|
|
552
|
-
|
|
564
|
+
const LightbulbIcon = _ref8 => {
|
|
565
|
+
let {
|
|
566
|
+
sx
|
|
567
|
+
} = _ref8;
|
|
553
568
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
554
569
|
sx: sx
|
|
555
570
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -579,9 +594,10 @@ const LightbulbIcon = ({
|
|
|
579
594
|
d: "M14,18.1H9.7c-0.1,0-0.2,0.1-0.2,0.2v1.1l0,0c0,0.1,0,0.6,0.2,0.9c0.2,0.2,0.8,0.8,0.8,0.8s0.1,0.1,0.2,0.1 h2.2c0.1,0,0.2,0,0.3-0.1c0,0,0.8-0.5,0.8-0.8c0.1-0.2,0.2-0.8,0.2-0.9l0,0v-1.1C14.1,18.1,14,18.1,14,18.1z"
|
|
580
595
|
})))));
|
|
581
596
|
};
|
|
582
|
-
const TwitchIcon =
|
|
583
|
-
|
|
584
|
-
|
|
597
|
+
const TwitchIcon = _ref9 => {
|
|
598
|
+
let {
|
|
599
|
+
sx
|
|
600
|
+
} = _ref9;
|
|
585
601
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
586
602
|
sx: sx
|
|
587
603
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -618,9 +634,10 @@ const TwitchIcon = ({
|
|
|
618
634
|
height: "3.7"
|
|
619
635
|
})))))));
|
|
620
636
|
};
|
|
621
|
-
const BlerpyIcon =
|
|
622
|
-
|
|
623
|
-
|
|
637
|
+
const BlerpyIcon = _ref10 => {
|
|
638
|
+
let {
|
|
639
|
+
sx
|
|
640
|
+
} = _ref10;
|
|
624
641
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
625
642
|
sx: sx
|
|
626
643
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -632,9 +649,10 @@ const BlerpyIcon = ({
|
|
|
632
649
|
d: "M18,10.6c-0.4-1.9,1.3-3.3,0.2-4.8c-1.6-1.9-3.5,0.7-5.2-0.1c-1.1-0.5-2.3-2.2-4-1.6 S7.5,6.9,7,8c-0.9,1.7-4,0.9-4,3.4c0,1.8,2.2,1.8,3.2,3.5c1,1.7-1.2,3.8,0.7,5.4c2.4,2,4.8-2,6.9-2.8l0,0c2.1-0.8,6.5,0.8,7.1-2.3 C21.4,12.7,18.4,12.5,18,10.6z M12.7,14.3c-1.5,0.5-3.2-0.1-4.1-1.4c-0.2-0.3-0.1-0.6,0.1-0.8C8.7,12,8.8,12,8.9,12 c0.9-0.1,1.8-0.3,2.6-0.6c0.9-0.3,1.7-0.7,2.4-1.2c0.3-0.2,0.6-0.1,0.8,0.2c0.1,0.1,0.1,0.2,0.1,0.3C15.1,12.2,14.2,13.7,12.7,14.3 L12.7,14.3z"
|
|
633
650
|
})));
|
|
634
651
|
};
|
|
635
|
-
const RadarDishIcon =
|
|
636
|
-
|
|
637
|
-
|
|
652
|
+
const RadarDishIcon = _ref11 => {
|
|
653
|
+
let {
|
|
654
|
+
sx
|
|
655
|
+
} = _ref11;
|
|
638
656
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
639
657
|
sx: sx
|
|
640
658
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -654,9 +672,10 @@ const RadarDishIcon = ({
|
|
|
654
672
|
d: "M19.1,4.9c-1.5-1.6-3.7-2.2-5.8-1.8c-0.4,0.1-0.6,0.4-0.6,0.8c0.1,0.4,0.5,0.6,0.8,0.6 c1.7-0.3,3.4,0.2,4.6,1.4c1.2,1.2,1.7,2.9,1.4,4.6c-0.1,0.4,0.2,0.8,0.6,0.8c0,0,0.1,0,0.1,0c0.3,0,0.6-0.2,0.7-0.6 C21.2,8.7,20.6,6.5,19.1,4.9z"
|
|
655
673
|
}))));
|
|
656
674
|
};
|
|
657
|
-
const ChannelPointsIcon =
|
|
658
|
-
|
|
659
|
-
|
|
675
|
+
const ChannelPointsIcon = _ref12 => {
|
|
676
|
+
let {
|
|
677
|
+
sx
|
|
678
|
+
} = _ref12;
|
|
660
679
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
661
680
|
sx: sx
|
|
662
681
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -676,9 +695,10 @@ const ChannelPointsIcon = ({
|
|
|
676
695
|
d: "M16.6,11.3l-2.2,0c0-0.5-0.1-0.9-0.4-1.1c-0.4-0.4-1-0.4-1.3-0.4c0,0,0,0,0,0l0-2.2c0,0,0,0,0,0 c1.2,0,2.2,0.4,2.9,1.1C16.1,9,16.7,9.9,16.6,11.3z"
|
|
677
696
|
})))));
|
|
678
697
|
};
|
|
679
|
-
const GiftIcon =
|
|
680
|
-
|
|
681
|
-
|
|
698
|
+
const GiftIcon = _ref13 => {
|
|
699
|
+
let {
|
|
700
|
+
sx
|
|
701
|
+
} = _ref13;
|
|
682
702
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
683
703
|
sx: sx
|
|
684
704
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -687,9 +707,10 @@ const GiftIcon = ({
|
|
|
687
707
|
d: "M19.4,7.7h-2c0.2-0.4,0.4-0.8,0.4-1.3c0-1.3-1.1-2.4-2.4-2.4c-1.8,0-2.8,1.4-3.3,2.5C11.5,5.4,10.4,4,8.7,4 C7.3,4,6.2,5.1,6.2,6.4c0,0.5,0.1,0.9,0.4,1.3h-2C4.3,7.7,4,8,4,8.3V12c0,0.3,0.3,0.6,0.6,0.6h0.9v6.9c0,0.3,0.3,0.6,0.6,0.6h11.9 c0.3,0,0.6-0.3,0.6-0.6v-6.9h0.9c0.3,0,0.6-0.3,0.6-0.6V8.3C20,8,19.7,7.7,19.4,7.7z M15.3,5.1c0.7,0,1.3,0.6,1.3,1.3 s-0.6,1.3-1.3,1.3h-2.6C13.1,6.8,13.9,5.1,15.3,5.1z M7.4,6.4c0-0.7,0.6-1.3,1.3-1.3c1.5,0,2.3,1.6,2.6,2.6H8.7 C7.9,7.7,7.4,7.1,7.4,6.4z M5.1,8.9h3.5h2.8v2.6H5.1V8.9z M6.6,12.6h4.8v6.3H6.6V12.6z M17.4,18.9h-4.8v-6.3h4.8V18.9z M18.9,11.4 h-6.3V8.9h2.8h3.5V11.4z"
|
|
688
708
|
}));
|
|
689
709
|
};
|
|
690
|
-
const WalkonIcon =
|
|
691
|
-
|
|
692
|
-
|
|
710
|
+
const WalkonIcon = _ref14 => {
|
|
711
|
+
let {
|
|
712
|
+
sx
|
|
713
|
+
} = _ref14;
|
|
693
714
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
694
715
|
sx: sx
|
|
695
716
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -701,9 +722,10 @@ const WalkonIcon = ({
|
|
|
701
722
|
d: "M8.5,3C7.1,3,6,5,6,7.5c0.1,1.7,0.3,3.4,0.6,5.1c0.3,1.8,0.9,3.2,1.9,3.2 s1.8-1,1.8-2.8c0-0.6-0.5-1.6-0.5-2.4c0-1.5,0.9-2.1,0.9-3.5C10.8,4.7,10,3,8.5,3L8.5,3z M15.5,8.1c-1.4,0-2.2,1.7-2.2,4.2 c0,1.4,1,2,0.9,3.5c0,0.8-0.5,1.8-0.5,2.4c0,1.8,0.7,2.8,1.8,2.8s1.7-1.5,1.9-3.2c0.3-1.7,0.5-3.4,0.6-5.1 C18,10.2,16.9,8.1,15.5,8.1L15.5,8.1z"
|
|
702
723
|
})));
|
|
703
724
|
};
|
|
704
|
-
const PointerFingerIcon =
|
|
705
|
-
|
|
706
|
-
|
|
725
|
+
const PointerFingerIcon = _ref15 => {
|
|
726
|
+
let {
|
|
727
|
+
sx
|
|
728
|
+
} = _ref15;
|
|
707
729
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
708
730
|
sx: sx
|
|
709
731
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -729,9 +751,10 @@ const PointerFingerIcon = ({
|
|
|
729
751
|
d: "M8.1,7c0.1,0.1,0.1,0.1,0.2,0.1c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.1-0.4,0-0.5L7,5.1C6.8,4.9,6.6,5,6.5,5.1 c-0.1,0.1-0.1,0.4,0,0.5L8.1,7z"
|
|
730
752
|
}))));
|
|
731
753
|
};
|
|
732
|
-
const UnsafeIcon =
|
|
733
|
-
|
|
734
|
-
|
|
754
|
+
const UnsafeIcon = _ref16 => {
|
|
755
|
+
let {
|
|
756
|
+
sx
|
|
757
|
+
} = _ref16;
|
|
735
758
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
736
759
|
sx: sx
|
|
737
760
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -746,9 +769,10 @@ const UnsafeIcon = ({
|
|
|
746
769
|
d: "M12,21c-1.2-0.5-2.2-1.2-3.2-2c-1.5-1-2.7-2.3-3.7-3.8c-0.6-1.6-1-3.3-1-5 c-0.2-1.5,0-3,0.4-4.4C5.2,4.2,11.3,3,12,3c0.8,0,6.6,1.3,7.6,2.8s0.3,7.1-0.9,9.4c-1,1.5-2.2,2.7-3.6,3.8 C14.2,19.8,13.1,20.5,12,21z M11.8,12L11.8,12l2.4,2.3c0.1,0.1,0.3,0.2,0.4,0.2c0.2,0,0.3-0.1,0.4-0.2c0.1-0.1,0.2-0.3,0.2-0.4 c0-0.2-0.1-0.3-0.2-0.4l-2.4-2.3l2.4-2.3c0.1-0.1,0.2-0.3,0.2-0.4c0-0.2-0.1-0.3-0.2-0.4C15,8,14.8,7.9,14.6,7.9 c-0.2,0-0.3,0.1-0.4,0.2l-2.4,2.3L9.5,8.2C9.4,8.1,9.2,8,9.1,8C8.9,8,8.7,8.1,8.6,8.2C8.5,8.3,8.4,8.5,8.4,8.6 c0,0.2,0.1,0.3,0.2,0.4l2.3,2.2l-2.3,2.2c-0.1,0.1-0.2,0.3-0.2,0.4c0,0.2,0.1,0.3,0.2,0.4c0.1,0.1,0.3,0.2,0.4,0.2 c0.2,0,0.3-0.1,0.4-0.2L11.8,12L11.8,12z"
|
|
747
770
|
}))));
|
|
748
771
|
};
|
|
749
|
-
const DiscordIcon =
|
|
750
|
-
|
|
751
|
-
|
|
772
|
+
const DiscordIcon = _ref17 => {
|
|
773
|
+
let {
|
|
774
|
+
sx
|
|
775
|
+
} = _ref17;
|
|
752
776
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
753
777
|
sx: sx
|
|
754
778
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -767,9 +791,10 @@ const DiscordIcon = ({
|
|
|
767
791
|
d: "M751.7,928.6h-12.1c-1,0-1.8,0.8-1.8,1.9c0,0,0,0,0,0v12.2c0,1,0.8,1.9,1.8,1.9 c0,0,0,0,0,0h10.2l-0.5-1.7l1.2,1.1l1.1,1l1.9,1.7v-16.1C753.5,929.4,752.7,928.6,751.7,928.6 C751.7,928.6,751.7,928.6,751.7,928.6z M748.2,940.4c0,0-0.3-0.4-0.6-0.7c0.7-0.2,1.2-0.5,1.6-1.1c-0.3,0.2-0.7,0.4-1,0.5 c-0.4,0.2-0.9,0.3-1.3,0.4c-0.8,0.1-1.6,0.1-2.3,0c-0.5-0.1-0.9-0.2-1.3-0.4c-0.2-0.1-0.4-0.2-0.7-0.3c0,0-0.1,0-0.1,0 c0,0,0,0,0,0c-0.2-0.1-0.3-0.2-0.3-0.2c0.4,0.5,0.9,0.9,1.6,1.1c-0.3,0.3-0.6,0.7-0.6,0.7c-1.1,0-2.1-0.5-2.7-1.4 c0-1.8,0.5-3.6,1.3-5.2c0.7-0.6,1.6-0.9,2.5-0.9l0.1,0.1c-0.9,0.2-1.7,0.6-2.4,1.2c0,0,0.2-0.1,0.5-0.3c0.6-0.3,1.3-0.5,2-0.6 c0.1,0,0.1,0,0.2,0c0.6-0.1,1.2-0.1,1.8,0c1,0.1,1.9,0.4,2.7,0.9c-0.7-0.5-1.4-0.9-2.2-1.1l0.1-0.1c0.9,0,1.8,0.4,2.5,0.9 c0.8,1.6,1.3,3.4,1.3,5.2C750.3,939.9,749.3,940.4,748.2,940.4z"
|
|
768
792
|
}))));
|
|
769
793
|
};
|
|
770
|
-
const NewDiscordIcon =
|
|
771
|
-
|
|
772
|
-
|
|
794
|
+
const NewDiscordIcon = _ref18 => {
|
|
795
|
+
let {
|
|
796
|
+
sx
|
|
797
|
+
} = _ref18;
|
|
773
798
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
774
799
|
sx: sx
|
|
775
800
|
}, /*#__PURE__*/React.createElement("svg", {
|
|
@@ -793,9 +818,10 @@ const NewDiscordIcon = ({
|
|
|
793
818
|
fill: "white"
|
|
794
819
|
})))));
|
|
795
820
|
};
|
|
796
|
-
const BookmarkAddRounded =
|
|
797
|
-
|
|
798
|
-
|
|
821
|
+
const BookmarkAddRounded = _ref19 => {
|
|
822
|
+
let {
|
|
823
|
+
sx
|
|
824
|
+
} = _ref19;
|
|
799
825
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
800
826
|
sx: sx
|
|
801
827
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -815,9 +841,10 @@ const BookmarkAddRounded = ({
|
|
|
815
841
|
d: "M14.2,18.6c-0.6,0-1.3-0.5-1.7-0.8l-2.1-1.5l-2.7,1.9c-0.3,0.3-0.8,0.4-1.3,0.3c-0.7-0.2-1-0.8-1-1.3 l0.1-8.2C5.5,8.5,5.7,8,6,7.6c0.5-0.4,1-0.7,1.6-0.7l3.4,0v1.5H7.6c-0.2,0-0.4,0.1-0.6,0.3C7,8.7,7,8.9,7,9.1L6.9,17l3.5-2.5 l3,2.2c0.2,0.1,0.3,0.2,0.5,0.3c0,0,0,0,0,0l0-5.3h1.5v5.3c0,0.6-0.2,1.5-1,1.7C14.3,18.6,14.2,18.6,14.2,18.6z"
|
|
816
842
|
})))));
|
|
817
843
|
};
|
|
818
|
-
const DiamondIcon =
|
|
819
|
-
|
|
820
|
-
|
|
844
|
+
const DiamondIcon = _ref20 => {
|
|
845
|
+
let {
|
|
846
|
+
sx
|
|
847
|
+
} = _ref20;
|
|
821
848
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
822
849
|
sx: sx
|
|
823
850
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -830,9 +857,10 @@ const DiamondIcon = ({
|
|
|
830
857
|
d: "M10118.5,660.2c-0.3,0-0.7-0.1-0.9-0.2l-7.5-7.4c-0.7-0.6-0.7-1.5-0.3-2.2l2.5-3.4 c0.6-0.7,1.5-1.1,2.4-1.1h7.7c0.9-0.1,1.8,0.3,2.4,1.1l2.6,3.5c0.4,0.7,0.2,1.6-0.4,2.1l-7.5,7.4 C10119.2,660.1,10118.8,660.2,10118.5,660.2z M10122.7,648.6c-0.1,0-0.2,0.1-0.2,0.2c0,0.2,0.2,0.5,0.4,0.7 c0.3,0.4,0.5,0.9,0.5,1.4c0,0.2-0.1,0.6-0.2,0.7c-0.4,0.7-1,1.4-1.6,2c-0.8,0.9-1.7,1.7-1.5,1.9l0.2,0.2c0.6,0,3.2-3.2,3.2-3.2 c0.3-0.4,0.5-0.8,0.6-1.3c-0.1-0.7-0.3-1.2-0.7-1.8C10123.3,649.2,10122.9,648.6,10122.7,648.6L10122.7,648.6z"
|
|
831
858
|
})));
|
|
832
859
|
};
|
|
833
|
-
const BlerpCardIcon =
|
|
834
|
-
|
|
835
|
-
|
|
860
|
+
const BlerpCardIcon = _ref21 => {
|
|
861
|
+
let {
|
|
862
|
+
sx
|
|
863
|
+
} = _ref21;
|
|
836
864
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
837
865
|
sx: sx
|
|
838
866
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -852,9 +880,10 @@ const BlerpCardIcon = ({
|
|
|
852
880
|
d: "M12.3,11.4c-0.4,0.2-0.7,0.4-1.1,0.6c-0.4,0.1-0.8,0.2-1.2,0.3c0,0-0.1,0-0.1,0.1c-0.1,0.1-0.1,0.3-0.1,0.4 c0.4,0.6,1.2,0.9,1.9,0.6l0,0c0.7-0.3,1.1-1,1-1.7c0,0,0-0.1,0-0.1C12.6,11.3,12.4,11.3,12.3,11.4z"
|
|
853
881
|
})))));
|
|
854
882
|
};
|
|
855
|
-
const CrownIcon =
|
|
856
|
-
|
|
857
|
-
|
|
883
|
+
const CrownIcon = _ref22 => {
|
|
884
|
+
let {
|
|
885
|
+
sx
|
|
886
|
+
} = _ref22;
|
|
858
887
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
859
888
|
sx: sx
|
|
860
889
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -866,9 +895,10 @@ const CrownIcon = ({
|
|
|
866
895
|
d: "M17.8,17.4H6.2c-0.2,0-0.4,0.2-0.4,0.4v0.9c0,0.2,0.2,0.4,0.4,0.4h11.7 c0.2,0,0.4-0.2,0.4-0.4v-0.9C18.3,17.6,18.1,17.4,17.8,17.4C17.8,17.4,17.8,17.4,17.8,17.4z M19.6,8.4c-0.7,0-1.3,0.6-1.3,1.4 c0,0,0,0,0,0c0,0.2,0,0.4,0.1,0.6l-2,1.2c-0.4,0.3-1,0.1-1.2-0.3c0,0,0,0,0,0l-2.3-4c0.6-0.5,0.7-1.3,0.2-1.9 c-0.5-0.6-1.3-0.7-1.9-0.2C10.6,5.6,10.5,6.4,11,7c0.1,0.1,0.1,0.1,0.2,0.2l-2.3,4c-0.2,0.4-0.8,0.6-1.2,0.3c0,0,0,0,0,0l-2-1.2 c0.3-0.7,0-1.5-0.7-1.8s-1.5,0-1.8,0.7s0,1.5,0.7,1.8c0.2,0.1,0.4,0.1,0.6,0.1c0.1,0,0.1,0,0.2,0l2,5.4h10.8l2-5.4 c0.1,0,0.1,0,0.2,0c0.7,0,1.3-0.6,1.3-1.3C21,9,20.4,8.4,19.6,8.4L19.6,8.4z"
|
|
867
896
|
})));
|
|
868
897
|
};
|
|
869
|
-
const CogIcon =
|
|
870
|
-
|
|
871
|
-
|
|
898
|
+
const CogIcon = _ref23 => {
|
|
899
|
+
let {
|
|
900
|
+
sx
|
|
901
|
+
} = _ref23;
|
|
872
902
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
873
903
|
sx: sx
|
|
874
904
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -880,9 +910,10 @@ const CogIcon = ({
|
|
|
880
910
|
d: "M12,21c-0.9,0-1.6-0.7-1.6-1.6v-0.1c-0.1-0.8-0.7-1.3-1.4-1.3c-0.4,0-0.7,0.1-0.9,0.4 l0,0c-0.6,0.6-1.7,0.7-2.3,0s-0.7-1.7,0-2.3c0,0,0,0,0,0l0,0c0.5-0.5,0.5-1.4,0-1.9c-0.2-0.2-0.6-0.4-0.9-0.4H4.6 C3.7,13.7,3,13,3,12s0.7-1.6,1.6-1.6h0.1c0.6,0,1-0.4,1.2-0.9C6.1,9,6,8.4,5.7,8L5.6,8C5,7.4,5,6.3,5.6,5.7s1.7-0.6,2.3,0l0,0l0,0 c0.4,0.4,1,0.5,1.5,0.3h0.1c0.5-0.2,0.8-0.7,0.8-1.2V4.6C10.4,3.7,11.1,3,12,3c0.9,0,1.6,0.7,1.6,1.6v0.1c0,0.5,0.3,1,0.8,1.2 c0.5,0.2,1.1,0.1,1.5-0.3l0,0c0.3-0.3,0.7-0.5,1.2-0.5c0.9,0,1.6,0.7,1.6,1.6c0,0.4-0.2,0.8-0.5,1.2l0,0c-0.4,0.4-0.5,1-0.3,1.5 v0.1c0.2,0.5,0.7,0.8,1.2,0.8h0.1c0.9,0,1.6,0.7,1.7,1.6c0,0.9-0.7,1.6-1.6,1.7c0,0,0,0-0.1,0h-0.1c-0.7,0-1.4,0.6-1.3,1.4 c0,0.3,0.1,0.7,0.4,0.9l0,0c0.6,0.6,0.6,1.7,0,2.3c-0.6,0.6-1.7,0.6-2.3,0l0,0l0,0c-0.5-0.5-1.4-0.5-1.9,0 c-0.2,0.3-0.4,0.6-0.4,0.9v0.1C13.7,20.2,12.9,21,12,21z M12,9.5c-1.4,0-2.4,1.1-2.4,2.4s1.1,2.4,2.4,2.4s2.4-1.1,2.4-2.4l0,0 C14.4,10.6,13.3,9.5,12,9.5z"
|
|
881
911
|
})));
|
|
882
912
|
};
|
|
883
|
-
const ClockIcon =
|
|
884
|
-
|
|
885
|
-
|
|
913
|
+
const ClockIcon = _ref24 => {
|
|
914
|
+
let {
|
|
915
|
+
sx
|
|
916
|
+
} = _ref24;
|
|
886
917
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
887
918
|
sx: sx
|
|
888
919
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -894,9 +925,10 @@ const ClockIcon = ({
|
|
|
894
925
|
d: "M12,18.9c4,0,7.2-3.2,7.2-7.2S16,4.5,12,4.5s-7.2,3.2-7.2,7.2S8,18.9,12,18.9 M12,2.7 c5,0,9,4,9,9s-4,9-9,9s-9-4-9-9S7,2.7,12,2.7 M12.4,7.2v4.7l4.1,2.4l-0.7,1.1l-4.7-2.8V7.2H12.4z"
|
|
895
926
|
})));
|
|
896
927
|
};
|
|
897
|
-
const OpenLockIcon =
|
|
898
|
-
|
|
899
|
-
|
|
928
|
+
const OpenLockIcon = _ref25 => {
|
|
929
|
+
let {
|
|
930
|
+
sx
|
|
931
|
+
} = _ref25;
|
|
900
932
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
901
933
|
sx: sx
|
|
902
934
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -907,9 +939,10 @@ const OpenLockIcon = ({
|
|
|
907
939
|
d: "M19.5,3.2c-0.7-0.7-1.7-1-2.9-1c-1.1,0-2,0.4-2.7,1.1c-1.4,1.5-1.4,4.1-1.3,6.7H6.5c-1.4,0-2.5,1.1-2.5,2.4v6.1 c0,1.4,1.1,2.4,2.5,2.4h7.4c1.4,0,2.5-1.1,2.5-2.4v-6.1c0-1.3-1-2.3-2.3-2.4C14,7.8,14,5.4,15,4.4c0.4-0.4,0.9-0.6,1.6-0.6 c0.8,0,1.4,0.2,1.8,0.6c0.8,0.7,0.7,2.2,0.7,3l0,0.2h1.5l0-0.2C20.7,6.3,20.7,4.4,19.5,3.2z M11,15.2l-0.2,0.2v2 c0,0.3-0.3,0.6-0.6,0.6c-0.3,0-0.6-0.3-0.6-0.6v-2l-0.2-0.2C9.1,15,9,14.7,9,14.3v0c0-0.7,0.6-1.2,1.2-1.2c0.3,0,0.6,0.1,0.9,0.4 c0.2,0.2,0.4,0.5,0.4,0.9C11.4,14.7,11.3,15,11,15.2z"
|
|
908
940
|
})));
|
|
909
941
|
};
|
|
910
|
-
const WindowsIcon =
|
|
911
|
-
|
|
912
|
-
|
|
942
|
+
const WindowsIcon = _ref26 => {
|
|
943
|
+
let {
|
|
944
|
+
sx
|
|
945
|
+
} = _ref26;
|
|
913
946
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
914
947
|
sx: sx
|
|
915
948
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -917,9 +950,10 @@ const WindowsIcon = ({
|
|
|
917
950
|
d: "M3,5.5l7.4-1v7.1H3V5.5z M3,18.5l7.4,1v-7H3V18.5L3,18.5z M11.2,19.6L21,21v-8.5h-9.8V19.6z M11.2,4.4v7.2H21 V3L11.2,4.4z"
|
|
918
951
|
}));
|
|
919
952
|
};
|
|
920
|
-
const BroomIcon =
|
|
921
|
-
|
|
922
|
-
|
|
953
|
+
const BroomIcon = _ref27 => {
|
|
954
|
+
let {
|
|
955
|
+
sx
|
|
956
|
+
} = _ref27;
|
|
923
957
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
924
958
|
sx: sx
|
|
925
959
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -948,9 +982,10 @@ const BroomIcon = ({
|
|
|
948
982
|
d: "M56.8,8.6h-1.7c-0.3,0-0.5-0.2-0.5-0.5c0-0.3,0.2-0.5,0.5-0.5h1.7c0.3,0,0.5,0.2,0.5,0.5C57.3,8.4,57.1,8.6,56.8,8.6z"
|
|
949
983
|
}))))));
|
|
950
984
|
};
|
|
951
|
-
const TikTokIcon =
|
|
952
|
-
|
|
953
|
-
|
|
985
|
+
const TikTokIcon = _ref28 => {
|
|
986
|
+
let {
|
|
987
|
+
sx
|
|
988
|
+
} = _ref28;
|
|
954
989
|
return /*#__PURE__*/React.createElement(SvgIcon, {
|
|
955
990
|
sx: sx
|
|
956
991
|
}, /*#__PURE__*/React.createElement("svg", {
|
|
@@ -973,21 +1008,23 @@ const TikTokIcon = ({
|
|
|
973
1008
|
})))));
|
|
974
1009
|
};
|
|
975
1010
|
|
|
976
|
-
const BlerpTopRow$2 =
|
|
977
|
-
secondaryActionButton,
|
|
978
|
-
sizeParams,
|
|
979
|
-
bite,
|
|
980
|
-
isOwner,
|
|
981
|
-
getUserReactions,
|
|
982
|
-
setOpenSave,
|
|
983
|
-
handleClickSave,
|
|
984
|
-
isPremium,
|
|
985
|
-
isLocked,
|
|
986
|
-
isBlerpHovered,
|
|
987
|
-
handleClickThreeDot
|
|
988
|
-
}) => {
|
|
1011
|
+
const BlerpTopRow$2 = _ref => {
|
|
989
1012
|
var _bite$topReactions, _bite$topReactions2, _bite$topReactions3;
|
|
990
1013
|
|
|
1014
|
+
let {
|
|
1015
|
+
secondaryActionButton,
|
|
1016
|
+
sizeParams,
|
|
1017
|
+
bite,
|
|
1018
|
+
isOwner,
|
|
1019
|
+
getUserReactions,
|
|
1020
|
+
setOpenSave,
|
|
1021
|
+
handleClickSave,
|
|
1022
|
+
isPremium,
|
|
1023
|
+
isLocked,
|
|
1024
|
+
isBlerpHovered,
|
|
1025
|
+
handleClickThreeDot
|
|
1026
|
+
} = _ref;
|
|
1027
|
+
|
|
991
1028
|
function formatNumber(n) {
|
|
992
1029
|
var ranges = [{
|
|
993
1030
|
divider: 1e9,
|
|
@@ -1236,36 +1273,37 @@ const reactionIconUrls$1 = {
|
|
|
1236
1273
|
SHOCKED: "https://cdn.blerp.com/blerp_products/Icons/Shock.svg",
|
|
1237
1274
|
LOVE: "https://cdn.blerp.com/blerp_products/Icons/Heart%403x.svg"
|
|
1238
1275
|
};
|
|
1239
|
-
const Blerp$1 =
|
|
1240
|
-
bite,
|
|
1241
|
-
title,
|
|
1242
|
-
variantSize,
|
|
1243
|
-
isSelected,
|
|
1244
|
-
playingState,
|
|
1245
|
-
primaryActionButton,
|
|
1246
|
-
secondaryActionButton,
|
|
1247
|
-
unsaveButton,
|
|
1248
|
-
organizeButton,
|
|
1249
|
-
getUserReactions,
|
|
1250
|
-
handleClickBackground,
|
|
1251
|
-
handleClickPlay,
|
|
1252
|
-
handleClickThreeDot,
|
|
1253
|
-
handleClickSave,
|
|
1254
|
-
handleClickReaction,
|
|
1255
|
-
handleClickUnsave,
|
|
1256
|
-
handleClickTitle,
|
|
1257
|
-
handleClickOrganize,
|
|
1258
|
-
isLinkTitle,
|
|
1259
|
-
isPremium,
|
|
1260
|
-
isLocked,
|
|
1261
|
-
isOwner,
|
|
1262
|
-
props,
|
|
1263
|
-
// passed in function that sets state of the purchase modal
|
|
1264
|
-
handleClickLock,
|
|
1265
|
-
backgroundColor
|
|
1266
|
-
}) => {
|
|
1276
|
+
const Blerp$1 = _ref => {
|
|
1267
1277
|
var _bite$image, _bite$image$original;
|
|
1268
1278
|
|
|
1279
|
+
let {
|
|
1280
|
+
bite,
|
|
1281
|
+
title,
|
|
1282
|
+
variantSize,
|
|
1283
|
+
isSelected,
|
|
1284
|
+
playingState,
|
|
1285
|
+
primaryActionButton,
|
|
1286
|
+
secondaryActionButton,
|
|
1287
|
+
unsaveButton,
|
|
1288
|
+
organizeButton,
|
|
1289
|
+
getUserReactions,
|
|
1290
|
+
handleClickBackground,
|
|
1291
|
+
handleClickPlay,
|
|
1292
|
+
handleClickThreeDot,
|
|
1293
|
+
handleClickSave,
|
|
1294
|
+
handleClickReaction,
|
|
1295
|
+
handleClickUnsave,
|
|
1296
|
+
handleClickTitle,
|
|
1297
|
+
handleClickOrganize,
|
|
1298
|
+
isLinkTitle,
|
|
1299
|
+
isPremium,
|
|
1300
|
+
isLocked,
|
|
1301
|
+
isOwner,
|
|
1302
|
+
props,
|
|
1303
|
+
// passed in function that sets state of the purchase modal
|
|
1304
|
+
handleClickLock,
|
|
1305
|
+
backgroundColor
|
|
1306
|
+
} = _ref;
|
|
1269
1307
|
const theme = useContext(ThemeContext);
|
|
1270
1308
|
const [openSave, setOpenSave] = useState(false);
|
|
1271
1309
|
const size = useWindowSize();
|
|
@@ -1439,36 +1477,17 @@ const Blerp$1 = ({
|
|
|
1439
1477
|
handleClickOrganize: handleClickOrganize
|
|
1440
1478
|
})));
|
|
1441
1479
|
};
|
|
1442
|
-
Blerp$1.propTypes = {
|
|
1443
|
-
bite: PropTypes.object.isRequired,
|
|
1444
|
-
collections: PropTypes.array,
|
|
1445
|
-
variantSize: PropTypes.string,
|
|
1446
|
-
userSignedIn: PropTypes.object,
|
|
1447
|
-
unsaveButton: PropTypes.object,
|
|
1448
|
-
isSelected: PropTypes.bool.isRequired,
|
|
1449
|
-
playingState: PropTypes.string.isRequired,
|
|
1450
|
-
primaryActionButton: PropTypes.object,
|
|
1451
|
-
secondaryActionButton: PropTypes.object,
|
|
1452
|
-
getUserReactions: PropTypes.func.isRequired,
|
|
1453
|
-
createCollection: PropTypes.func,
|
|
1454
|
-
handleClickBackground: PropTypes.func.isRequired,
|
|
1455
|
-
handleClickPlay: PropTypes.func.isRequired,
|
|
1456
|
-
handleClickThreeDot: PropTypes.func.isRequired,
|
|
1457
|
-
handleClickSave: PropTypes.func.isRequired,
|
|
1458
|
-
handleClickReaction: PropTypes.func.isRequired,
|
|
1459
|
-
handleClickUnsave: PropTypes.func.isRequired,
|
|
1460
|
-
handleClickTitle: PropTypes.func.isRequired
|
|
1461
|
-
};
|
|
1462
1480
|
|
|
1463
|
-
const UserCard$1 =
|
|
1464
|
-
user,
|
|
1465
|
-
onUsernameClick,
|
|
1466
|
-
onFollowerClick,
|
|
1467
|
-
onCreatedClick,
|
|
1468
|
-
collapsed
|
|
1469
|
-
}) => {
|
|
1481
|
+
const UserCard$1 = _ref => {
|
|
1470
1482
|
var _user$twitchChannelIn, _user$twitchChannelIn2, _user$twitchChannelIn3, _user$twitchChannelIn4, _user$twitchChannelIn5, _user$profileImage, _user$profileImage$or, _user$twitchChannelIn6;
|
|
1471
1483
|
|
|
1484
|
+
let {
|
|
1485
|
+
user,
|
|
1486
|
+
onUsernameClick,
|
|
1487
|
+
onFollowerClick,
|
|
1488
|
+
onCreatedClick,
|
|
1489
|
+
collapsed
|
|
1490
|
+
} = _ref;
|
|
1472
1491
|
const formatter = Intl.NumberFormat("en", {
|
|
1473
1492
|
notation: "compact"
|
|
1474
1493
|
});
|
|
@@ -1587,14 +1606,15 @@ const UserCard$1 = ({
|
|
|
1587
1606
|
}, "created")))));
|
|
1588
1607
|
};
|
|
1589
1608
|
|
|
1590
|
-
const UsernameWithPopout$1 =
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1609
|
+
const UsernameWithPopout$1 = _ref => {
|
|
1610
|
+
let {
|
|
1611
|
+
user,
|
|
1612
|
+
onUsernameClick,
|
|
1613
|
+
onFollowerClick,
|
|
1614
|
+
onCreatedClick,
|
|
1615
|
+
textStyle,
|
|
1616
|
+
collapsed = true
|
|
1617
|
+
} = _ref;
|
|
1598
1618
|
const [userCardRef, setUserCardRef] = useState(null);
|
|
1599
1619
|
const openUserCard = Boolean(userCardRef);
|
|
1600
1620
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
@@ -1670,11 +1690,12 @@ var _templateObject$f, _templateObject2$b, _templateObject3$9;
|
|
|
1670
1690
|
const PremiumContainer$1 = styled.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n background: ", ";\n overflow: hidden;\n min-width: 210px;\n max-width: 260px;\n width: 100%;\n max-height: 322px;\n flex: 1;\n min-height: 272px;\n aspect-ratio: 260 / 322;\n gap: 10px;\n border-radius: 18px;\n box-sizing: border-box;\n padding: 2px;\n position: relative;\n transition: 0.3s;\n"])), props => props.theme.colors.grey7);
|
|
1671
1691
|
const Container$2 = styled.div(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteral(["\n background-color: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n position: relative;\n height: 100%;\n padding: 10px;\n border-radius: 17px;\n box-sizing: border-box;\n transition: 0.3s;\n"])), props => props.addToOpen ? props.theme.colors.grey5 : props.theme.colors.grey7, props => props.isPremium && "linear-gradient(308.34deg, rgba(83, 195, 219, 0.1) 6.23%, rgba(168, 57, 255, 0.1) 87.91%), linear-gradient(147.84deg, #2C3233 18.52%, #8A9193 27.81%, #1A1E1F 39.67%, #202425 62.87%, #414545 80.4%, #1A1E1F 93.3%), #2C3233");
|
|
1672
1692
|
const HoverScrollText$1 = styled.div(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["\n width: 100%;\n max-width: 280px;\n min-width: 190px;\n height: 23px;\n overflow: hidden;\n line-height: 30px;\n box-sizing: border-box;\n position: relative;\n margin: 10px 0 5px 0;\n cursor: pointer;\n & p {\n cursor: default;\n position: absolute;\n white-space: nowrap;\n transform: translateX(0);\n transition: 1s;\n }\n\n &:hover p {\n ", "\n text-decoration: underline;\n cursor: pointer;\n }\n"])), props => props.hover && "transform: translateX(calc(180px - 100%));");
|
|
1673
|
-
const FavoriteIconWithCounter$1 =
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1693
|
+
const FavoriteIconWithCounter$1 = _ref => {
|
|
1694
|
+
let {
|
|
1695
|
+
saved,
|
|
1696
|
+
count,
|
|
1697
|
+
onClick
|
|
1698
|
+
} = _ref;
|
|
1678
1699
|
const formatter = Intl.NumberFormat("en", {
|
|
1679
1700
|
notation: "compact"
|
|
1680
1701
|
});
|
|
@@ -1712,13 +1733,14 @@ const FavoriteIconWithCounter$1 = ({
|
|
|
1712
1733
|
}
|
|
1713
1734
|
}, savedCount));
|
|
1714
1735
|
};
|
|
1715
|
-
const AddedToIcons$1 =
|
|
1716
|
-
item,
|
|
1717
|
-
hovering,
|
|
1718
|
-
hide = false
|
|
1719
|
-
}) => {
|
|
1736
|
+
const AddedToIcons$1 = _ref2 => {
|
|
1720
1737
|
var _item$soundEmotesCont, _item$channelPointsCo, _item$channelPointsBu, _item$whitelistContex, _item$walkOnChannelCo, _item$organizationalG;
|
|
1721
1738
|
|
|
1739
|
+
let {
|
|
1740
|
+
item,
|
|
1741
|
+
hovering,
|
|
1742
|
+
hide = false
|
|
1743
|
+
} = _ref2;
|
|
1722
1744
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
1723
1745
|
direction: "row",
|
|
1724
1746
|
sx: {
|
|
@@ -1767,11 +1789,12 @@ const AddedToIcons$1 = ({
|
|
|
1767
1789
|
}))));
|
|
1768
1790
|
};
|
|
1769
1791
|
|
|
1770
|
-
const RatingInfoItem$1 =
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1792
|
+
const RatingInfoItem$1 = _ref3 => {
|
|
1793
|
+
let {
|
|
1794
|
+
hovering,
|
|
1795
|
+
tooltipText,
|
|
1796
|
+
displayText
|
|
1797
|
+
} = _ref3;
|
|
1775
1798
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
1776
1799
|
title: tooltipText
|
|
1777
1800
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
@@ -1791,10 +1814,11 @@ const RatingInfoItem$1 = ({
|
|
|
1791
1814
|
}, displayText));
|
|
1792
1815
|
};
|
|
1793
1816
|
|
|
1794
|
-
const RatingInfo$1 =
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1817
|
+
const RatingInfo$1 = _ref4 => {
|
|
1818
|
+
let {
|
|
1819
|
+
bite,
|
|
1820
|
+
hovering
|
|
1821
|
+
} = _ref4;
|
|
1798
1822
|
let ratingText = {
|
|
1799
1823
|
tooltipText: "",
|
|
1800
1824
|
text: ""
|
|
@@ -1884,13 +1908,14 @@ const RatingInfo$1 = ({
|
|
|
1884
1908
|
}));
|
|
1885
1909
|
};
|
|
1886
1910
|
|
|
1887
|
-
const ReportedWarning$1 =
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1911
|
+
const ReportedWarning$1 = _ref5 => {
|
|
1912
|
+
let {
|
|
1913
|
+
showWarning,
|
|
1914
|
+
blacklisted,
|
|
1915
|
+
saved,
|
|
1916
|
+
count,
|
|
1917
|
+
onClick
|
|
1918
|
+
} = _ref5;
|
|
1894
1919
|
const [show, setShow] = useState(showWarning);
|
|
1895
1920
|
const [hovering, setHovering] = useState(false);
|
|
1896
1921
|
|
|
@@ -1985,18 +2010,19 @@ const ReportedWarning$1 = ({
|
|
|
1985
2010
|
})), renderInfo());
|
|
1986
2011
|
};
|
|
1987
2012
|
|
|
1988
|
-
const BlerpTopRow$1 =
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2013
|
+
const BlerpTopRow$1 = _ref6 => {
|
|
2014
|
+
let {
|
|
2015
|
+
bite,
|
|
2016
|
+
hovering,
|
|
2017
|
+
onPlusClick,
|
|
2018
|
+
onOptionClicked,
|
|
2019
|
+
selectedOption,
|
|
2020
|
+
addToOpen,
|
|
2021
|
+
setAddToOpen,
|
|
2022
|
+
renderAddContentButton,
|
|
2023
|
+
hoveringAddTo,
|
|
2024
|
+
setHovering
|
|
2025
|
+
} = _ref6;
|
|
2000
2026
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
2001
2027
|
direction: "row",
|
|
2002
2028
|
justifyContent: "space-between",
|
|
@@ -2037,34 +2063,35 @@ const BlerpTopRow$1 = ({
|
|
|
2037
2063
|
}));
|
|
2038
2064
|
};
|
|
2039
2065
|
|
|
2040
|
-
const NewBlerp$1 =
|
|
2041
|
-
Waveform,
|
|
2042
|
-
bite,
|
|
2043
|
-
playState,
|
|
2044
|
-
play,
|
|
2045
|
-
onTitleClick = () => {
|
|
2046
|
-
console.log("onTitleClick");
|
|
2047
|
-
},
|
|
2048
|
-
onUsernameClick = () => {
|
|
2049
|
-
console.log("onUsernameClick");
|
|
2050
|
-
},
|
|
2051
|
-
onFavoriteClick = () => {
|
|
2052
|
-
console.log("onFavoriteClick");
|
|
2053
|
-
},
|
|
2054
|
-
onAddToPlace = () => {
|
|
2055
|
-
console.log("onAddToPlace");
|
|
2056
|
-
},
|
|
2057
|
-
onOptionClicked = () => {
|
|
2058
|
-
console.log("onAddToPlace");
|
|
2059
|
-
},
|
|
2060
|
-
selectedOption,
|
|
2061
|
-
trending = false,
|
|
2062
|
-
renderAddContentButton,
|
|
2063
|
-
renderThreeDot,
|
|
2064
|
-
isOwner
|
|
2065
|
-
}) => {
|
|
2066
|
+
const NewBlerp$1 = _ref7 => {
|
|
2066
2067
|
var _bite$whitelistContex, _bite$channelPointsCo, _bite$walkOnChannelCo, _bite$soundEmotesCont, _bite$channelPointsBu, _bite$blacklistContex, _bite$blacklistContex2, _bite$image, _bite$image$original, _titleRef$current, _titleRef$current$get;
|
|
2067
2068
|
|
|
2069
|
+
let {
|
|
2070
|
+
Waveform,
|
|
2071
|
+
bite,
|
|
2072
|
+
playState,
|
|
2073
|
+
play,
|
|
2074
|
+
onTitleClick = () => {
|
|
2075
|
+
console.log("onTitleClick");
|
|
2076
|
+
},
|
|
2077
|
+
onUsernameClick = () => {
|
|
2078
|
+
console.log("onUsernameClick");
|
|
2079
|
+
},
|
|
2080
|
+
onFavoriteClick = () => {
|
|
2081
|
+
console.log("onFavoriteClick");
|
|
2082
|
+
},
|
|
2083
|
+
onAddToPlace = () => {
|
|
2084
|
+
console.log("onAddToPlace");
|
|
2085
|
+
},
|
|
2086
|
+
onOptionClicked = () => {
|
|
2087
|
+
console.log("onAddToPlace");
|
|
2088
|
+
},
|
|
2089
|
+
selectedOption,
|
|
2090
|
+
trending = false,
|
|
2091
|
+
renderAddContentButton,
|
|
2092
|
+
renderThreeDot,
|
|
2093
|
+
isOwner
|
|
2094
|
+
} = _ref7;
|
|
2068
2095
|
const [previewed, setPreviewed] = useState(false);
|
|
2069
2096
|
const [hovering, setHovering] = useState(false);
|
|
2070
2097
|
const [hoveringAddTo, setHoveringAddTo] = useState(false);
|
|
@@ -2364,11 +2391,12 @@ var _templateObject$e, _templateObject2$a, _templateObject3$8;
|
|
|
2364
2391
|
const PremiumContainer = styled.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n background: ", ";\n overflow: hidden;\n min-width: 210px;\n max-width: 260px;\n width: 100%;\n max-height: 322px;\n flex: 1;\n min-height: 272px;\n aspect-ratio: 260 / 322;\n gap: 10px;\n border-radius: 18px;\n box-sizing: border-box;\n padding: 2px;\n position: relative;\n transition: 0.3s;\n"])), props => props.theme.colors.grey7);
|
|
2365
2392
|
const Container$1 = styled.div(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n background-color: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n position: relative;\n height: 100%;\n padding: 10px;\n border-radius: 17px;\n box-sizing: border-box;\n transition: 0.3s;\n"])), props => props.addToOpen ? props.theme.colors.grey5 : props.theme.colors.grey7, props => props.isPremium && "linear-gradient(308.34deg, rgba(83, 195, 219, 0.1) 6.23%, rgba(168, 57, 255, 0.1) 87.91%), linear-gradient(147.84deg, #2C3233 18.52%, #8A9193 27.81%, #1A1E1F 39.67%, #202425 62.87%, #414545 80.4%, #1A1E1F 93.3%), #2C3233");
|
|
2366
2393
|
const HoverScrollText = styled.div(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral(["\n width: 100%;\n max-width: 280px;\n min-width: 190px;\n height: 23px;\n overflow: hidden;\n line-height: 30px;\n box-sizing: border-box;\n position: relative;\n margin: 10px 0 5px 0;\n cursor: pointer;\n & p {\n cursor: default;\n position: absolute;\n white-space: nowrap;\n transform: translateX(0);\n transition: 1s;\n }\n\n &:hover p {\n ", "\n text-decoration: underline;\n cursor: pointer;\n }\n"])), props => props.hover && "transform: translateX(calc(180px - 100%));");
|
|
2367
|
-
const FavoriteIconWithCounter =
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2394
|
+
const FavoriteIconWithCounter = _ref => {
|
|
2395
|
+
let {
|
|
2396
|
+
saved,
|
|
2397
|
+
count,
|
|
2398
|
+
onClick
|
|
2399
|
+
} = _ref;
|
|
2372
2400
|
const formatter = Intl.NumberFormat("en", {
|
|
2373
2401
|
notation: "compact"
|
|
2374
2402
|
});
|
|
@@ -2406,13 +2434,14 @@ const FavoriteIconWithCounter = ({
|
|
|
2406
2434
|
}
|
|
2407
2435
|
}, savedCount));
|
|
2408
2436
|
};
|
|
2409
|
-
const AddedToIcons =
|
|
2410
|
-
item,
|
|
2411
|
-
hovering,
|
|
2412
|
-
hide = false
|
|
2413
|
-
}) => {
|
|
2437
|
+
const AddedToIcons = _ref2 => {
|
|
2414
2438
|
var _item$soundEmotesCont, _item$channelPointsCo, _item$channelPointsBu, _item$whitelistContex, _item$walkOnChannelCo, _item$organizationalG;
|
|
2415
2439
|
|
|
2440
|
+
let {
|
|
2441
|
+
item,
|
|
2442
|
+
hovering,
|
|
2443
|
+
hide = false
|
|
2444
|
+
} = _ref2;
|
|
2416
2445
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
2417
2446
|
direction: "row",
|
|
2418
2447
|
sx: {
|
|
@@ -2461,11 +2490,12 @@ const AddedToIcons = ({
|
|
|
2461
2490
|
}))));
|
|
2462
2491
|
};
|
|
2463
2492
|
|
|
2464
|
-
const RatingInfoItem =
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2493
|
+
const RatingInfoItem = _ref3 => {
|
|
2494
|
+
let {
|
|
2495
|
+
hovering,
|
|
2496
|
+
tooltipText,
|
|
2497
|
+
displayText
|
|
2498
|
+
} = _ref3;
|
|
2469
2499
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
2470
2500
|
title: tooltipText
|
|
2471
2501
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
@@ -2485,10 +2515,11 @@ const RatingInfoItem = ({
|
|
|
2485
2515
|
}, displayText));
|
|
2486
2516
|
};
|
|
2487
2517
|
|
|
2488
|
-
const RatingInfo =
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2518
|
+
const RatingInfo = _ref4 => {
|
|
2519
|
+
let {
|
|
2520
|
+
bite,
|
|
2521
|
+
hovering
|
|
2522
|
+
} = _ref4;
|
|
2492
2523
|
let ratingText = {
|
|
2493
2524
|
tooltipText: "",
|
|
2494
2525
|
text: ""
|
|
@@ -2646,13 +2677,14 @@ const RatingInfo = ({
|
|
|
2646
2677
|
}));
|
|
2647
2678
|
};
|
|
2648
2679
|
|
|
2649
|
-
const ReportedWarning =
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2680
|
+
const ReportedWarning = _ref5 => {
|
|
2681
|
+
let {
|
|
2682
|
+
showWarning,
|
|
2683
|
+
blacklisted,
|
|
2684
|
+
saved,
|
|
2685
|
+
count,
|
|
2686
|
+
onClick
|
|
2687
|
+
} = _ref5;
|
|
2656
2688
|
const [show, setShow] = useState(showWarning);
|
|
2657
2689
|
const [hovering, setHovering] = useState(false);
|
|
2658
2690
|
|
|
@@ -2747,18 +2779,19 @@ const ReportedWarning = ({
|
|
|
2747
2779
|
})), renderInfo());
|
|
2748
2780
|
};
|
|
2749
2781
|
|
|
2750
|
-
const BlerpTopRow =
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2782
|
+
const BlerpTopRow = _ref6 => {
|
|
2783
|
+
let {
|
|
2784
|
+
bite,
|
|
2785
|
+
hovering,
|
|
2786
|
+
onPlusClick,
|
|
2787
|
+
onOptionClicked,
|
|
2788
|
+
selectedOption,
|
|
2789
|
+
addToOpen,
|
|
2790
|
+
setAddToOpen,
|
|
2791
|
+
renderAddContentButton,
|
|
2792
|
+
hoveringAddTo,
|
|
2793
|
+
setHovering
|
|
2794
|
+
} = _ref6;
|
|
2762
2795
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
2763
2796
|
direction: "row",
|
|
2764
2797
|
justifyContent: "space-between",
|
|
@@ -2799,34 +2832,35 @@ const BlerpTopRow = ({
|
|
|
2799
2832
|
}));
|
|
2800
2833
|
};
|
|
2801
2834
|
|
|
2802
|
-
const NewBlerpTest$1 =
|
|
2803
|
-
Waveform,
|
|
2804
|
-
bite,
|
|
2805
|
-
playState,
|
|
2806
|
-
play,
|
|
2807
|
-
onTitleClick = () => {
|
|
2808
|
-
console.log("onTitleClick");
|
|
2809
|
-
},
|
|
2810
|
-
onUsernameClick = () => {
|
|
2811
|
-
console.log("onUsernameClick");
|
|
2812
|
-
},
|
|
2813
|
-
onFavoriteClick = () => {
|
|
2814
|
-
console.log("onFavoriteClick");
|
|
2815
|
-
},
|
|
2816
|
-
onAddToPlace = () => {
|
|
2817
|
-
console.log("onAddToPlace");
|
|
2818
|
-
},
|
|
2819
|
-
onOptionClicked = () => {
|
|
2820
|
-
console.log("onAddToPlace");
|
|
2821
|
-
},
|
|
2822
|
-
selectedOption,
|
|
2823
|
-
trending = false,
|
|
2824
|
-
renderAddContentButton,
|
|
2825
|
-
renderThreeDot,
|
|
2826
|
-
isOwner
|
|
2827
|
-
}) => {
|
|
2835
|
+
const NewBlerpTest$1 = _ref7 => {
|
|
2828
2836
|
var _bite$whitelistContex, _bite$channelPointsCo, _bite$walkOnChannelCo, _bite$soundEmotesCont, _bite$channelPointsBu, _bite$blacklistContex, _bite$blacklistContex2, _bite$image, _bite$image$original, _titleRef$current, _titleRef$current$get;
|
|
2829
2837
|
|
|
2838
|
+
let {
|
|
2839
|
+
Waveform,
|
|
2840
|
+
bite,
|
|
2841
|
+
playState,
|
|
2842
|
+
play,
|
|
2843
|
+
onTitleClick = () => {
|
|
2844
|
+
console.log("onTitleClick");
|
|
2845
|
+
},
|
|
2846
|
+
onUsernameClick = () => {
|
|
2847
|
+
console.log("onUsernameClick");
|
|
2848
|
+
},
|
|
2849
|
+
onFavoriteClick = () => {
|
|
2850
|
+
console.log("onFavoriteClick");
|
|
2851
|
+
},
|
|
2852
|
+
onAddToPlace = () => {
|
|
2853
|
+
console.log("onAddToPlace");
|
|
2854
|
+
},
|
|
2855
|
+
onOptionClicked = () => {
|
|
2856
|
+
console.log("onAddToPlace");
|
|
2857
|
+
},
|
|
2858
|
+
selectedOption,
|
|
2859
|
+
trending = false,
|
|
2860
|
+
renderAddContentButton,
|
|
2861
|
+
renderThreeDot,
|
|
2862
|
+
isOwner
|
|
2863
|
+
} = _ref7;
|
|
2830
2864
|
const [previewed, setPreviewed] = useState(false);
|
|
2831
2865
|
const [hovering, setHovering] = useState(false);
|
|
2832
2866
|
const [hoveringAddTo, setHoveringAddTo] = useState(false);
|
|
@@ -3124,11 +3158,12 @@ const NewBlerpTest$1 = ({
|
|
|
3124
3158
|
|
|
3125
3159
|
var _templateObject$d;
|
|
3126
3160
|
const BlerpImage$2 = styled.div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n background-image: url(", ");\n background-repeat: no-repeat;\n background-size: cover;\n width: 140px;\n height: 140px;\n border-radius: 12px;\n transition: 0.3s;\n position: absolute;\n opacity: ", ";\n transform: rotate(", ");\n"])), props => props.image, props => props.firstImage ? "1" : props.hovering ? "1" : "0.5", props => props.hovering ? "45deg" : "20deg");
|
|
3127
|
-
const GroupCard$1 =
|
|
3128
|
-
group
|
|
3129
|
-
}) => {
|
|
3161
|
+
const GroupCard$1 = _ref => {
|
|
3130
3162
|
var _group$blerps14;
|
|
3131
3163
|
|
|
3164
|
+
let {
|
|
3165
|
+
group
|
|
3166
|
+
} = _ref;
|
|
3132
3167
|
const [hovering, setHovering] = useState(false);
|
|
3133
3168
|
const formatter = Intl.NumberFormat("en", {
|
|
3134
3169
|
notation: "compact"
|
|
@@ -3277,9 +3312,10 @@ const GroupCard$1 = ({
|
|
|
3277
3312
|
};
|
|
3278
3313
|
|
|
3279
3314
|
const BlerpAudioContext = /*#__PURE__*/createContext({});
|
|
3280
|
-
const BlerpAudioContextProvider$1 =
|
|
3281
|
-
|
|
3282
|
-
|
|
3315
|
+
const BlerpAudioContextProvider$1 = _ref => {
|
|
3316
|
+
let {
|
|
3317
|
+
children
|
|
3318
|
+
} = _ref;
|
|
3283
3319
|
const [selectedBlerp, setSelectedBlerp] = useState(null);
|
|
3284
3320
|
const [playState, setPlayState] = useState("stopped");
|
|
3285
3321
|
const [startTime, setStartTime] = useState(0); // const [audioCtx, setAudioCtx] = useState(null);
|
|
@@ -3292,14 +3328,16 @@ const BlerpAudioContextProvider$1 = ({
|
|
|
3292
3328
|
await audioRef.current.pause();
|
|
3293
3329
|
};
|
|
3294
3330
|
|
|
3295
|
-
const mplay = async
|
|
3296
|
-
bite,
|
|
3297
|
-
gain = 1,
|
|
3298
|
-
startTime = 0,
|
|
3299
|
-
forcePlay = false
|
|
3300
|
-
}) => {
|
|
3331
|
+
const mplay = async _ref2 => {
|
|
3301
3332
|
var _bite$audio, _bite$audio$mp;
|
|
3302
3333
|
|
|
3334
|
+
let {
|
|
3335
|
+
bite,
|
|
3336
|
+
gain = 1,
|
|
3337
|
+
startTime = 0,
|
|
3338
|
+
forcePlay = false
|
|
3339
|
+
} = _ref2;
|
|
3340
|
+
|
|
3303
3341
|
if (!audioRef.current) {
|
|
3304
3342
|
audioRef.current = new Audio();
|
|
3305
3343
|
}
|
|
@@ -3409,34 +3447,35 @@ const BlerpImageScrim$1 = styled.div(_templateObject4$6 || (_templateObject4$6 =
|
|
|
3409
3447
|
const PremiumPill = styled.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border-radius: 20px;\n height: 25px;\n width: 75px;\n padding: 0 4px;\n margin: 0 0 0 8px;\n cursor: pointer;\n\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n"])), props => props.isLocked ? "".concat(props.theme.colors.notBlack, "8a") : "".concat(props.theme.colors.notBlack, "9a"), props => props.theme.colors.seafoam);
|
|
3410
3448
|
styled.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteral(["\n border-radius: 50%;\n width: 30px;\n height: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 8px;\n transition: 0.2s;\n margin-right: 0;\n cursor: pointer;\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n }\n"])), props => props.active ? props.theme.colors.ibisRed : props.theme.colors.grey5, props => props.theme.colors.ibisRed);
|
|
3411
3449
|
styled.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteral(["\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n margin: 5px 0;\n"])));
|
|
3412
|
-
const BlerpListViewPremium$1 =
|
|
3413
|
-
bite,
|
|
3414
|
-
variantSize,
|
|
3415
|
-
isSelected,
|
|
3416
|
-
playingState,
|
|
3417
|
-
extraInfoComponent,
|
|
3418
|
-
primaryActionButton,
|
|
3419
|
-
secondaryActionButton,
|
|
3420
|
-
handleClickBackground,
|
|
3421
|
-
handleClickPlay,
|
|
3422
|
-
handleClickSave,
|
|
3423
|
-
handleClickThreeDot,
|
|
3424
|
-
handleClickUnsave,
|
|
3425
|
-
handleClickTitle,
|
|
3426
|
-
handleSubtitleClick,
|
|
3427
|
-
biteSubtitle,
|
|
3428
|
-
isLinkTitle,
|
|
3429
|
-
isLocked,
|
|
3430
|
-
fluid,
|
|
3431
|
-
props,
|
|
3432
|
-
backgroundColor,
|
|
3433
|
-
hoverColor,
|
|
3434
|
-
isPremium,
|
|
3435
|
-
handleClickLock,
|
|
3436
|
-
handleClickPremium
|
|
3437
|
-
}) => {
|
|
3450
|
+
const BlerpListViewPremium$1 = _ref => {
|
|
3438
3451
|
var _bite$image, _bite$image$original, _bite$image2, _bite$image2$original;
|
|
3439
3452
|
|
|
3453
|
+
let {
|
|
3454
|
+
bite,
|
|
3455
|
+
variantSize,
|
|
3456
|
+
isSelected,
|
|
3457
|
+
playingState,
|
|
3458
|
+
extraInfoComponent,
|
|
3459
|
+
primaryActionButton,
|
|
3460
|
+
secondaryActionButton,
|
|
3461
|
+
handleClickBackground,
|
|
3462
|
+
handleClickPlay,
|
|
3463
|
+
handleClickSave,
|
|
3464
|
+
handleClickThreeDot,
|
|
3465
|
+
handleClickUnsave,
|
|
3466
|
+
handleClickTitle,
|
|
3467
|
+
handleSubtitleClick,
|
|
3468
|
+
biteSubtitle,
|
|
3469
|
+
isLinkTitle,
|
|
3470
|
+
isLocked,
|
|
3471
|
+
fluid,
|
|
3472
|
+
props,
|
|
3473
|
+
backgroundColor,
|
|
3474
|
+
hoverColor,
|
|
3475
|
+
isPremium,
|
|
3476
|
+
handleClickLock,
|
|
3477
|
+
handleClickPremium
|
|
3478
|
+
} = _ref;
|
|
3440
3479
|
const [openSave, setOpenSave] = useState(false);
|
|
3441
3480
|
const {
|
|
3442
3481
|
loading,
|
|
@@ -3774,23 +3813,6 @@ const BlerpListViewPremium$1 = ({
|
|
|
3774
3813
|
}
|
|
3775
3814
|
})))), extraInfoComponent && extraInfoComponent);
|
|
3776
3815
|
};
|
|
3777
|
-
BlerpListViewPremium$1.propTypes = {
|
|
3778
|
-
bite: PropTypes.object.isRequired,
|
|
3779
|
-
collections: PropTypes.array.isRequired,
|
|
3780
|
-
variantSize: PropTypes.string.isRequired,
|
|
3781
|
-
userSignedIn: PropTypes.object.isRequired,
|
|
3782
|
-
isSelected: PropTypes.bool.isRequired,
|
|
3783
|
-
playingState: PropTypes.string.isRequired,
|
|
3784
|
-
actionButton: PropTypes.object,
|
|
3785
|
-
getUserReactions: PropTypes.func.isRequired,
|
|
3786
|
-
createCollection: PropTypes.func.isRequired,
|
|
3787
|
-
handleClickBackground: PropTypes.func.isRequired,
|
|
3788
|
-
handleClickPlay: PropTypes.func.isRequired,
|
|
3789
|
-
handleClickThreeDot: PropTypes.func.isRequired,
|
|
3790
|
-
handleClickSave: PropTypes.func.isRequired,
|
|
3791
|
-
handleClickReaction: PropTypes.func.isRequired,
|
|
3792
|
-
handleClickUnsave: PropTypes.func.isRequired
|
|
3793
|
-
};
|
|
3794
3816
|
|
|
3795
3817
|
var _templateObject$b, _templateObject2$8, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$3;
|
|
3796
3818
|
const BlerpImage = styled.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n /* border-radius: 8px; */\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), props => props.url);
|
|
@@ -3799,34 +3821,35 @@ styled.div(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["
|
|
|
3799
3821
|
const SaveContainer = styled.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n right: 0;\n width: 25px;\n height: 25px;\n opacity: 0;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 5px;\n transition: 0.3s;\n background-color: ", ";\n"])), props => props.theme.colors.white);
|
|
3800
3822
|
const BlerpImageScrim = styled.div(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteral(["\n height: 150px;\n width: 150px;\n background-color: ", "10;\n /* position: absolute; */\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n /* border-radius: 8px; */\n transition: 0.4s;\n\n &:hover {\n background-color: ", "98;\n }\n\n &:hover ", " {\n opacity: 1;\n }\n"])), props => props.theme.colors.notBlackOverride, props => props.theme.colors.notBlackOverride, SaveContainer);
|
|
3801
3823
|
styled.div(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteral(["\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n margin: 5px 0;\n"])));
|
|
3802
|
-
const BlerpListView$1 =
|
|
3803
|
-
bite,
|
|
3804
|
-
variantSize,
|
|
3805
|
-
isSelected,
|
|
3806
|
-
playingState,
|
|
3807
|
-
extraInfoComponent,
|
|
3808
|
-
primaryActionButton,
|
|
3809
|
-
secondaryActionButton,
|
|
3810
|
-
handleClickBackground,
|
|
3811
|
-
handleClickPlay,
|
|
3812
|
-
handleClickSave,
|
|
3813
|
-
handleClickThreeDot,
|
|
3814
|
-
handleClickUnsave,
|
|
3815
|
-
handleClickTitle,
|
|
3816
|
-
handleSubtitleClick,
|
|
3817
|
-
biteSubtitle,
|
|
3818
|
-
isLinkTitle,
|
|
3819
|
-
fluid,
|
|
3820
|
-
backgroundColor,
|
|
3821
|
-
hoverColor,
|
|
3822
|
-
props,
|
|
3823
|
-
isLocked,
|
|
3824
|
-
isPremium,
|
|
3825
|
-
handleClickLock,
|
|
3826
|
-
handleClickPremium
|
|
3827
|
-
}) => {
|
|
3824
|
+
const BlerpListView$1 = _ref => {
|
|
3828
3825
|
var _bite$image, _bite$image$original, _bite$image2, _bite$image2$original;
|
|
3829
3826
|
|
|
3827
|
+
let {
|
|
3828
|
+
bite,
|
|
3829
|
+
variantSize,
|
|
3830
|
+
isSelected,
|
|
3831
|
+
playingState,
|
|
3832
|
+
extraInfoComponent,
|
|
3833
|
+
primaryActionButton,
|
|
3834
|
+
secondaryActionButton,
|
|
3835
|
+
handleClickBackground,
|
|
3836
|
+
handleClickPlay,
|
|
3837
|
+
handleClickSave,
|
|
3838
|
+
handleClickThreeDot,
|
|
3839
|
+
handleClickUnsave,
|
|
3840
|
+
handleClickTitle,
|
|
3841
|
+
handleSubtitleClick,
|
|
3842
|
+
biteSubtitle,
|
|
3843
|
+
isLinkTitle,
|
|
3844
|
+
fluid,
|
|
3845
|
+
backgroundColor,
|
|
3846
|
+
hoverColor,
|
|
3847
|
+
props,
|
|
3848
|
+
isLocked,
|
|
3849
|
+
isPremium,
|
|
3850
|
+
handleClickLock,
|
|
3851
|
+
handleClickPremium
|
|
3852
|
+
} = _ref;
|
|
3830
3853
|
const [openSave, setOpenSave] = useState(false);
|
|
3831
3854
|
usePalette(bite === null || bite === void 0 ? void 0 : (_bite$image = bite.image) === null || _bite$image === void 0 ? void 0 : (_bite$image$original = _bite$image.original) === null || _bite$image$original === void 0 ? void 0 : _bite$image$original.url);
|
|
3832
3855
|
const theme = useContext(ThemeContext);
|
|
@@ -4118,32 +4141,24 @@ const BlerpListView$1 = ({
|
|
|
4118
4141
|
}
|
|
4119
4142
|
})))), extraInfoComponent && extraInfoComponent);
|
|
4120
4143
|
};
|
|
4121
|
-
BlerpListView$1.propTypes = {
|
|
4122
|
-
bite: PropTypes.object.isRequired,
|
|
4123
|
-
collections: PropTypes.array.isRequired,
|
|
4124
|
-
variantSize: PropTypes.string.isRequired,
|
|
4125
|
-
userSignedIn: PropTypes.object.isRequired,
|
|
4126
|
-
isSelected: PropTypes.bool.isRequired,
|
|
4127
|
-
playingState: PropTypes.string.isRequired,
|
|
4128
|
-
actionButton: PropTypes.object,
|
|
4129
|
-
getUserReactions: PropTypes.func.isRequired,
|
|
4130
|
-
createCollection: PropTypes.func.isRequired,
|
|
4131
|
-
handleClickBackground: PropTypes.func.isRequired,
|
|
4132
|
-
handleClickPlay: PropTypes.func.isRequired,
|
|
4133
|
-
handleClickThreeDot: PropTypes.func.isRequired,
|
|
4134
|
-
handleClickSave: PropTypes.func.isRequired,
|
|
4135
|
-
handleClickReaction: PropTypes.func.isRequired,
|
|
4136
|
-
handleClickUnsave: PropTypes.func.isRequired
|
|
4137
|
-
};
|
|
4138
4144
|
|
|
4139
4145
|
var _templateObject$a, _templateObject2$7, _templateObject3$5, _templateObject4$4, _templateObject5$2, _templateObject6$2, _templateObject7$1, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13;
|
|
4140
|
-
const MasterContainer = styled.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n display: flex;\n /* The extra 4 pixels accounts for the width of the border in the transparent BlerpListView border */\n height: ", ";\n width: ", ";\n min-width: ", ";\n border-radius: 8px;\n background-origin: border-box;\n background-clip: content-box, border-box;\n box-shadow: 2px 2px 4px 0px #999999a1;\n position: relative;\n\n #second-button {\n opacity: 0;\n margin-left: 0px;\n margin-right: 15px;\n }\n\n :hover #yellow-border {\n opacity: 1;\n }\n :hover #second-button {\n opacity: 1;\n margin-left: 5px;\n margin-right: 10px;\n }\n :hover #mid-box {\n width: 96%;\n }\n :hover #back-box {\n width: ", ";\n }\n"])),
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4146
|
+
const MasterContainer = styled.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n display: flex;\n /* The extra 4 pixels accounts for the width of the border in the transparent BlerpListView border */\n height: ", ";\n width: ", ";\n min-width: ", ";\n border-radius: 8px;\n background-origin: border-box;\n background-clip: content-box, border-box;\n box-shadow: 2px 2px 4px 0px #999999a1;\n position: relative;\n\n #second-button {\n opacity: 0;\n margin-left: 0px;\n margin-right: 15px;\n }\n\n :hover #yellow-border {\n opacity: 1;\n }\n :hover #second-button {\n opacity: 1;\n margin-left: 5px;\n margin-right: 10px;\n }\n :hover #mid-box {\n width: 96%;\n }\n :hover #back-box {\n width: ", ";\n }\n"])), _ref => {
|
|
4147
|
+
let {
|
|
4148
|
+
sizeParams
|
|
4149
|
+
} = _ref;
|
|
4150
|
+
return (sizeParams.height += 2) + "px";
|
|
4151
|
+
}, _ref2 => {
|
|
4152
|
+
let {
|
|
4153
|
+
sizeParams
|
|
4154
|
+
} = _ref2;
|
|
4155
|
+
return sizeParams.width;
|
|
4156
|
+
}, _ref3 => {
|
|
4157
|
+
let {
|
|
4158
|
+
fluid
|
|
4159
|
+
} = _ref3;
|
|
4160
|
+
return fluid ? "300px" : "0";
|
|
4161
|
+
}, props => props.owned ? "102%" : "100%");
|
|
4147
4162
|
const YellowHoverBorder$1 = styled.div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n position: absolute;\n height: 113%;\n width: 102%;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border: 3px solid rgb(255, 225, 76);\n border-radius: 14px;\n transition: opacity 0.2s ease-in-out;\n opacity: 0;\n"])));
|
|
4148
4163
|
const TopBox = styled.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n z-index: 3;\n border: 2px transparent;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: ", ";\n height: 100%;\n border-radius: 8px;\n border-right-width: 0px;\n border-left-width: 0px;\n transition: 0.2s;\n position: relative;\n overflow: hidden;\n"])), props => props.theme.colors.white);
|
|
4149
4164
|
const MidBox = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["\n z-index: 2;\n position: absolute;\n background-color: ", ";\n width: 95%;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n border-radius: 8px;\n border-right-width: 0px;\n border-left-width: 0px;\n transition: 0.2s;\n overflow: hidden;\n"])), props => props.theme.colors.grey5);
|
|
@@ -4157,19 +4172,20 @@ const SaveBox = styled.div(_templateObject10 || (_templateObject10 = _taggedTemp
|
|
|
4157
4172
|
const SaveBoxTop = styled.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n z-index: 5;\n width: 100%;\n position: relative;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 4px;\n transition: 0.4s;\n\n &:hover {\n background-color: ", "98;\n }\n"])), props => props.theme.colors.notBlackOverride);
|
|
4158
4173
|
const SaveBoxTopDarken = styled.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n opacity: 1;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: 4px;\n"])));
|
|
4159
4174
|
const SaveBoxShadowSquare = styled.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n position: absolute;\n height: 100%;\n width: 100%;\n border-radius: 4px;\n ", ";\n"])), props => props.depth === "1" ? "\n transform: skewX(-5deg); \n left: 2px; \n height: 94%; \n bottom: 0" : props.depth === "2" ? "\n transform: skewX(-12deg); \n left: 5px; \n height: 83%; \n width:97%;\n bottom: 0" : "");
|
|
4160
|
-
const CollectionListViewPremium$1 =
|
|
4161
|
-
collection,
|
|
4162
|
-
variantSize,
|
|
4163
|
-
extraInfoComponent,
|
|
4164
|
-
primaryActionButton,
|
|
4165
|
-
secondaryActionButton,
|
|
4166
|
-
handleClickBackground,
|
|
4167
|
-
handleClickTitle,
|
|
4168
|
-
isLinkTitle,
|
|
4169
|
-
fluid
|
|
4170
|
-
}) => {
|
|
4175
|
+
const CollectionListViewPremium$1 = _ref4 => {
|
|
4171
4176
|
var _collection$image, _collection$image$ori, _collection$image2, _collection$image2$or;
|
|
4172
4177
|
|
|
4178
|
+
let {
|
|
4179
|
+
collection,
|
|
4180
|
+
variantSize,
|
|
4181
|
+
extraInfoComponent,
|
|
4182
|
+
primaryActionButton,
|
|
4183
|
+
secondaryActionButton,
|
|
4184
|
+
handleClickBackground,
|
|
4185
|
+
handleClickTitle,
|
|
4186
|
+
isLinkTitle,
|
|
4187
|
+
fluid
|
|
4188
|
+
} = _ref4;
|
|
4173
4189
|
useState(false); // Will use this exclusively for picking colors from image...no ColorExtractor
|
|
4174
4190
|
|
|
4175
4191
|
const {
|
|
@@ -4464,21 +4480,6 @@ const CollectionListViewPremium$1 = ({
|
|
|
4464
4480
|
}), extraInfoComponent && extraInfoComponent)
|
|
4465
4481
|
);
|
|
4466
4482
|
};
|
|
4467
|
-
CollectionListViewPremium$1.propTypes = {
|
|
4468
|
-
collection: PropTypes.object.isRequired,
|
|
4469
|
-
collections: PropTypes.array.isRequired,
|
|
4470
|
-
variantSize: PropTypes.string.isRequired,
|
|
4471
|
-
userSignedIn: PropTypes.object.isRequired,
|
|
4472
|
-
isSelected: PropTypes.bool.isRequired,
|
|
4473
|
-
playingState: PropTypes.string.isRequired,
|
|
4474
|
-
actionButton: PropTypes.object,
|
|
4475
|
-
getUserReactions: PropTypes.func.isRequired,
|
|
4476
|
-
createCollection: PropTypes.func.isRequired,
|
|
4477
|
-
handleClickBackground: PropTypes.func.isRequired,
|
|
4478
|
-
handleClickSave: PropTypes.func.isRequired,
|
|
4479
|
-
handleClickReaction: PropTypes.func.isRequired,
|
|
4480
|
-
handleClickUnsave: PropTypes.func.isRequired
|
|
4481
|
-
};
|
|
4482
4483
|
|
|
4483
4484
|
let colors = {
|
|
4484
4485
|
white: "#ffffff",
|
|
@@ -4847,18 +4848,21 @@ const motion2 = props => keyframes(_templateObject2$6 || (_templateObject2$6 = _
|
|
|
4847
4848
|
const motion3 = props => keyframes(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n"])));
|
|
4848
4849
|
|
|
4849
4850
|
const EllipsisSpinner = styled.div(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n width: ", ";\n height: ", ";\n div {\n position: absolute;\n width: 11px;\n height: 11px;\n border-radius: 50%;\n background: ", ";\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n div:nth-child(1) {\n left: 6px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(2) {\n left: 6px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(3) {\n left: 26px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(4) {\n left: 45px;\n animation: ", " 0.6s infinite;\n }\n"])), p => "".concat(p.size).concat(p.sizeUnit), p => "".concat(p.size).concat(p.sizeUnit), p => p.color, p => motion1(), p => motion2(), p => motion2(), p => motion3());
|
|
4850
|
-
const EllipsisLoader =
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4851
|
+
const EllipsisLoader = _ref => {
|
|
4852
|
+
let {
|
|
4853
|
+
color,
|
|
4854
|
+
size,
|
|
4855
|
+
sizeUnit,
|
|
4856
|
+
style
|
|
4857
|
+
} = _ref;
|
|
4858
|
+
return /*#__PURE__*/React.createElement(EllipsisSpinner, {
|
|
4859
|
+
color: color,
|
|
4860
|
+
size: size,
|
|
4861
|
+
sizeUnit: sizeUnit,
|
|
4862
|
+
style: { ...style
|
|
4863
|
+
}
|
|
4864
|
+
}, /*#__PURE__*/React.createElement("div", null), /*#__PURE__*/React.createElement("div", null), /*#__PURE__*/React.createElement("div", null), /*#__PURE__*/React.createElement("div", null));
|
|
4865
|
+
};
|
|
4862
4866
|
EllipsisLoader.defaultProps = {
|
|
4863
4867
|
size: 24,
|
|
4864
4868
|
color: colors.notBlack,
|
|
@@ -4877,12 +4881,13 @@ const BlackSlider = styled.div(_templateObject4$2 || (_templateObject4$2 = _tagg
|
|
|
4877
4881
|
const BlackToggleInput = styled.input(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n &:checked + ", " {\n background-color: transparent;\n }\n &:checked + ", ":before {\n background-color: ", ";\n }\n ut:focus + ", " {\n box-shadow: 0 0 1px #2196f3;\n }\n\n &:checked + ", ":before {\n -webkit-transform: translateX(14px);\n -ms-transform: translateX(14px);\n transform: translateX(14px);\n /* -webkit-transform: translateY(2px);\n -ms-transform: translateY(2px);\n transform: translateY(2px); */\n }\n"])), BlackSlider, BlackSlider, props => props.theme.colors.notBlack, BlackSlider, BlackSlider);
|
|
4878
4882
|
styled.div(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral(["\n position: relative;\n display: inline-block;\n place-self: center;\n width: 28px;\n height: 14px;\n border: 2px solid ", ";\n border-radius: 14px;\n\n & ", " {\n opacity: 0;\n width: 0;\n height: 0;\n }\n"])), props => props.theme.colors.notBlack, BlackToggleInput);
|
|
4879
4883
|
const LoadingContainer = styled.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n width: 50px;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n"])));
|
|
4880
|
-
const Toggle$1 =
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4884
|
+
const Toggle$1 = _ref => {
|
|
4885
|
+
let {
|
|
4886
|
+
loading,
|
|
4887
|
+
checked,
|
|
4888
|
+
onClick,
|
|
4889
|
+
disabled
|
|
4890
|
+
} = _ref;
|
|
4886
4891
|
return /*#__PURE__*/React.createElement(React.Fragment, null, loading ? /*#__PURE__*/React.createElement(LoadingContainer, null, /*#__PURE__*/React.createElement(EllipsisLoader, null)) : /*#__PURE__*/React.createElement(Switch$1, {
|
|
4887
4892
|
checked: checked,
|
|
4888
4893
|
disabled: disabled,
|
|
@@ -4920,17 +4925,18 @@ const Toggle$1 = ({
|
|
|
4920
4925
|
// }
|
|
4921
4926
|
// `;
|
|
4922
4927
|
|
|
4923
|
-
const NewDropdown$1 =
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4928
|
+
const NewDropdown$1 = _ref => {
|
|
4929
|
+
let {
|
|
4930
|
+
buttonTitle,
|
|
4931
|
+
buttonLabel,
|
|
4932
|
+
buttonStyle,
|
|
4933
|
+
paperStyle,
|
|
4934
|
+
buttonVariant,
|
|
4935
|
+
handleOptionClicked,
|
|
4936
|
+
startIcon,
|
|
4937
|
+
endIcon,
|
|
4938
|
+
options
|
|
4939
|
+
} = _ref;
|
|
4934
4940
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
4935
4941
|
const open = Boolean(anchorEl);
|
|
4936
4942
|
|
|
@@ -5050,17 +5056,18 @@ const NewDropdown$1 = ({
|
|
|
5050
5056
|
noWrap: true
|
|
5051
5057
|
}, option.name), option.endImageIcon ? option.endImageIcon : /*#__PURE__*/React.createElement(React.Fragment, null)))));
|
|
5052
5058
|
};
|
|
5053
|
-
const Dropdown$1 =
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5059
|
+
const Dropdown$1 = _ref2 => {
|
|
5060
|
+
let {
|
|
5061
|
+
buttonTitle,
|
|
5062
|
+
buttonLabel,
|
|
5063
|
+
buttonStyle,
|
|
5064
|
+
paperStyle,
|
|
5065
|
+
buttonVariant,
|
|
5066
|
+
handleOptionClicked,
|
|
5067
|
+
startIcon,
|
|
5068
|
+
endIcon,
|
|
5069
|
+
options
|
|
5070
|
+
} = _ref2;
|
|
5064
5071
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
5065
5072
|
const open = Boolean(anchorEl);
|
|
5066
5073
|
|
|
@@ -5179,15 +5186,16 @@ var _templateObject$7, _templateObject2$4;
|
|
|
5179
5186
|
const Slider$1 = styled.input(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n -webkit-appearance: none;\n align-self: center;\n width: 80%;\n height: 5px;\n border-radius: 5px;\n background: #d3d3d3;\n outline: none;\n opacity: 0.7;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n\n &:focus {\n border: 0px !important;\n }\n\n &:hover {\n opacity: 1;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: ", ";\n border: 2px solid ", ";\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: ", ";\n border: 2px solid ", ";\n cursor: pointer;\n }\n"])), props => props.theme.colors.ibisRed, props => props.theme.colors.waxwing, props => props.theme.colors.ibisRed, props => props.theme.colors.waxwing);
|
|
5180
5187
|
const ZoomIcon = styled.div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n background-image: url(\"https://cdn.blerp.com/blerp_products/Web/Account/zoom%20icon.svg?folder=true&organizationId=true\");\n background-repeat: no-repeat;\n background-position: left;\n background-size: cover;\n width: 20px;\n height: 20px;\n"])));
|
|
5181
5188
|
|
|
5182
|
-
const ImageUploadModal =
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5189
|
+
const ImageUploadModal = _ref => {
|
|
5190
|
+
let {
|
|
5191
|
+
prevImage,
|
|
5192
|
+
updateImage,
|
|
5193
|
+
onClose,
|
|
5194
|
+
title,
|
|
5195
|
+
isCircularImage,
|
|
5196
|
+
isSquareImage,
|
|
5197
|
+
sizeInfo
|
|
5198
|
+
} = _ref;
|
|
5191
5199
|
const [image, setImage] = useState(prevImage);
|
|
5192
5200
|
const [zoom, setZoom] = useState(50);
|
|
5193
5201
|
const [loading, setLoading] = useState(false);
|
|
@@ -5350,45 +5358,48 @@ const ImageUploadModal = ({
|
|
|
5350
5358
|
onDragEnter: () => setDropzoneHovered(true),
|
|
5351
5359
|
onDragLeave: () => setDropzoneHovered(false),
|
|
5352
5360
|
onDrop: acceptedFiles => handleImageDrop(acceptedFiles)
|
|
5353
|
-
},
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5361
|
+
}, _ref2 => {
|
|
5362
|
+
let {
|
|
5363
|
+
getRootProps,
|
|
5364
|
+
getInputProps
|
|
5365
|
+
} = _ref2;
|
|
5366
|
+
return /*#__PURE__*/React.createElement(Stack, {
|
|
5367
|
+
sx: {
|
|
5368
|
+
width: "100%",
|
|
5369
|
+
height: size.width > 600 ? "300px" : "200px",
|
|
5370
|
+
cursor: "pointer",
|
|
5371
|
+
box: "borderBox",
|
|
5372
|
+
justifyContent: "center"
|
|
5373
|
+
}
|
|
5374
|
+
}, /*#__PURE__*/React.createElement("div", _extends({
|
|
5375
|
+
style: {
|
|
5376
|
+
height: "100%",
|
|
5377
|
+
display: "flex"
|
|
5378
|
+
}
|
|
5379
|
+
}, getRootProps()), /*#__PURE__*/React.createElement("input", getInputProps()), dropzoneHovered ? /*#__PURE__*/React.createElement(Stack, {
|
|
5380
|
+
color: "grey3",
|
|
5381
|
+
style: {
|
|
5382
|
+
justifyContent: "center",
|
|
5383
|
+
alignItems: "center",
|
|
5384
|
+
width: "100%"
|
|
5385
|
+
}
|
|
5386
|
+
}, /*#__PURE__*/React.createElement(InsertPhotoRoundedIcon, {
|
|
5387
|
+
style: {
|
|
5388
|
+
color: "white",
|
|
5389
|
+
height: "90%",
|
|
5390
|
+
width: "90%"
|
|
5391
|
+
}
|
|
5392
|
+
})) : /*#__PURE__*/React.createElement(Text, {
|
|
5393
|
+
sx: {
|
|
5394
|
+
flexWrap: "wrap",
|
|
5395
|
+
width: "80%",
|
|
5396
|
+
alignSelf: "center",
|
|
5397
|
+
textAlign: "center",
|
|
5398
|
+
verticalAlign: "center",
|
|
5399
|
+
margin: "auto"
|
|
5400
|
+
}
|
|
5401
|
+
}, "Click or drop image here to upload.")));
|
|
5402
|
+
})), /*#__PURE__*/React.createElement(Stack, {
|
|
5392
5403
|
alignItems: "center"
|
|
5393
5404
|
}, image && image.type !== "image/gif" ? /*#__PURE__*/React.createElement(Stack, {
|
|
5394
5405
|
direction: "row",
|
|
@@ -5426,18 +5437,19 @@ const ImageUploadModal = ({
|
|
|
5426
5437
|
|
|
5427
5438
|
var _templateObject$6;
|
|
5428
5439
|
styled.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral([""])));
|
|
5429
|
-
const NewCollectionModal$1 =
|
|
5430
|
-
handleCollection,
|
|
5431
|
-
deleteCollectionModal,
|
|
5432
|
-
trigger,
|
|
5433
|
-
collectionToBeEdited,
|
|
5434
|
-
handleChangePremium,
|
|
5435
|
-
onClose,
|
|
5436
|
-
children,
|
|
5437
|
-
isAdmin
|
|
5438
|
-
}) => {
|
|
5440
|
+
const NewCollectionModal$1 = _ref => {
|
|
5439
5441
|
var _collectionToBeEdited, _collectionToBeEdited2, _collectionToBeEdited3;
|
|
5440
5442
|
|
|
5443
|
+
let {
|
|
5444
|
+
handleCollection,
|
|
5445
|
+
deleteCollectionModal,
|
|
5446
|
+
trigger,
|
|
5447
|
+
collectionToBeEdited,
|
|
5448
|
+
handleChangePremium,
|
|
5449
|
+
onClose,
|
|
5450
|
+
children,
|
|
5451
|
+
isAdmin
|
|
5452
|
+
} = _ref;
|
|
5441
5453
|
const [open, setopen] = useState(false);
|
|
5442
5454
|
const [imageFile, setImageFile] = useState(collectionToBeEdited === null || collectionToBeEdited === void 0 ? void 0 : (_collectionToBeEdited = collectionToBeEdited.image) === null || _collectionToBeEdited === void 0 ? void 0 : _collectionToBeEdited.original);
|
|
5443
5455
|
const [imageURL, setImageURL] = useState(collectionToBeEdited === null || collectionToBeEdited === void 0 ? void 0 : (_collectionToBeEdited2 = collectionToBeEdited.image) === null || _collectionToBeEdited2 === void 0 ? void 0 : (_collectionToBeEdited3 = _collectionToBeEdited2.original) === null || _collectionToBeEdited3 === void 0 ? void 0 : _collectionToBeEdited3.url);
|
|
@@ -6045,19 +6057,21 @@ const SnackbarProvider = props => {
|
|
|
6045
6057
|
autoHideDuration: 5000
|
|
6046
6058
|
});
|
|
6047
6059
|
|
|
6048
|
-
const triggerSnackbar =
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6060
|
+
const triggerSnackbar = _ref => {
|
|
6061
|
+
let {
|
|
6062
|
+
message = "Set a message",
|
|
6063
|
+
position = {
|
|
6064
|
+
vertical: "bottom",
|
|
6065
|
+
horizontal: "center"
|
|
6066
|
+
},
|
|
6067
|
+
slideDirection = "up",
|
|
6068
|
+
transitionType = "slide",
|
|
6069
|
+
severity = "success",
|
|
6070
|
+
color,
|
|
6071
|
+
actionButton = /*#__PURE__*/React.createElement(React.Fragment, null),
|
|
6072
|
+
autoHideDuration = 5000
|
|
6073
|
+
} = _ref;
|
|
6074
|
+
|
|
6061
6075
|
if (!color) {
|
|
6062
6076
|
switch (severity) {
|
|
6063
6077
|
case "success":
|
|
@@ -6357,10 +6371,11 @@ const darkTheme = createTheme({
|
|
|
6357
6371
|
palette: darkPalette
|
|
6358
6372
|
});
|
|
6359
6373
|
|
|
6360
|
-
const BlerpTheme =
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6374
|
+
const BlerpTheme = _ref => {
|
|
6375
|
+
let {
|
|
6376
|
+
mode,
|
|
6377
|
+
children
|
|
6378
|
+
} = _ref;
|
|
6364
6379
|
const currentTheme = mode === "dark" ? darkTheme : theme; // ...
|
|
6365
6380
|
|
|
6366
6381
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
@@ -6374,11 +6389,12 @@ const BlerpTheme = ({
|
|
|
6374
6389
|
}, /*#__PURE__*/React.createElement(SnackbarProvider, null, children)));
|
|
6375
6390
|
};
|
|
6376
6391
|
|
|
6377
|
-
const LottieAnimation =
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6392
|
+
const LottieAnimation = _ref => {
|
|
6393
|
+
let {
|
|
6394
|
+
lotti,
|
|
6395
|
+
width,
|
|
6396
|
+
height
|
|
6397
|
+
} = _ref;
|
|
6382
6398
|
const defaultOptions = {
|
|
6383
6399
|
loop: true,
|
|
6384
6400
|
autoplay: true,
|
|
@@ -9148,32 +9164,33 @@ const TopPill = styled.div(_templateObject3 || (_templateObject3 = _taggedTempla
|
|
|
9148
9164
|
const TopPillBackground = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n height: 32px;\n width: 100%;\n position: absolute;\n background-color: ", ";\n opacity: 0.5;\n"])), props => props.theme.colors.notBlackOverride);
|
|
9149
9165
|
const LockedScrim = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n z-index: -1;\n padding-bottom: 8px;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: center;\n z-index: 1;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n overflow: \"hidden\";\n transition: backdrop-filter 0.4s, opacity 0.5s ease-in-out;\n opacity: ", ";\n backdrop-filter: ", ";\n"])), props => !props.collectionHovered ? "0" : "1", props => props.collectionHovered ? "blur(3px)" : "none");
|
|
9150
9166
|
const LockedScrimBackground = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n /* transition: opacity 0.3s ease-in-out; */\n\n background-color: ", ";\n\n opacity: ", ";\n"])), props => props.theme.colors.notBlackOverride, props => props.collectionHovered ? "0.5" : "0");
|
|
9151
|
-
const PremiumCollectionCard =
|
|
9152
|
-
collection,
|
|
9153
|
-
variantSize,
|
|
9154
|
-
handleClickBackground,
|
|
9155
|
-
handleClickSave,
|
|
9156
|
-
handleClickView,
|
|
9157
|
-
handleClickUnlock,
|
|
9158
|
-
handleClickPrimaryAction,
|
|
9159
|
-
handleClickSecondaryAction,
|
|
9160
|
-
primaryActionButton,
|
|
9161
|
-
secondaryActionButton,
|
|
9162
|
-
bottomLeftIcon,
|
|
9163
|
-
handleClickBottomLeftIcon,
|
|
9164
|
-
premiumDiamondPill,
|
|
9165
|
-
fluid,
|
|
9166
|
-
fontSize,
|
|
9167
|
-
isLink,
|
|
9168
|
-
isLocked,
|
|
9169
|
-
overrideViewText,
|
|
9170
|
-
hideUnlockPlatformText,
|
|
9171
|
-
hidePremiumLockIcon,
|
|
9172
|
-
unlockPlatformText,
|
|
9173
|
-
hideCollectionBackground
|
|
9174
|
-
}) => {
|
|
9167
|
+
const PremiumCollectionCard = _ref => {
|
|
9175
9168
|
var _collection$image, _collection$image$ori, _collection$image2, _collection$image2$or, _collection$image3, _collection$image3$or, _collection$ownerObje, _collection$ownerObje2, _collection$ownerObje3, _collection$image4, _collection$image4$or;
|
|
9176
9169
|
|
|
9170
|
+
let {
|
|
9171
|
+
collection,
|
|
9172
|
+
variantSize,
|
|
9173
|
+
handleClickBackground,
|
|
9174
|
+
handleClickSave,
|
|
9175
|
+
handleClickView,
|
|
9176
|
+
handleClickUnlock,
|
|
9177
|
+
handleClickPrimaryAction,
|
|
9178
|
+
handleClickSecondaryAction,
|
|
9179
|
+
primaryActionButton,
|
|
9180
|
+
secondaryActionButton,
|
|
9181
|
+
bottomLeftIcon,
|
|
9182
|
+
handleClickBottomLeftIcon,
|
|
9183
|
+
premiumDiamondPill,
|
|
9184
|
+
fluid,
|
|
9185
|
+
fontSize,
|
|
9186
|
+
isLink,
|
|
9187
|
+
isLocked,
|
|
9188
|
+
overrideViewText,
|
|
9189
|
+
hideUnlockPlatformText,
|
|
9190
|
+
hidePremiumLockIcon,
|
|
9191
|
+
unlockPlatformText,
|
|
9192
|
+
hideCollectionBackground
|
|
9193
|
+
} = _ref;
|
|
9177
9194
|
const [cardColors, setCardColors] = useState(null);
|
|
9178
9195
|
const [collectionHovered, setCollectionHovered] = useState(false);
|
|
9179
9196
|
const {
|
|
@@ -9625,35 +9642,36 @@ var _templateObject$1;
|
|
|
9625
9642
|
const LineClamp = styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n margin: 5px 0;\n max-width: 92%;\n"]))); //on background click
|
|
9626
9643
|
//primary and secondary action buttons
|
|
9627
9644
|
|
|
9628
|
-
const CollectionCard$1 =
|
|
9629
|
-
collection,
|
|
9630
|
-
variantSize,
|
|
9631
|
-
handleClickBackground,
|
|
9632
|
-
handleClickSave,
|
|
9633
|
-
handleClickDrag,
|
|
9634
|
-
handleClickView,
|
|
9635
|
-
handleClickUnlock,
|
|
9636
|
-
handleClickPrimaryAction,
|
|
9637
|
-
handleClickSecondaryAction,
|
|
9638
|
-
primaryActionButton,
|
|
9639
|
-
secondaryActionButton,
|
|
9640
|
-
fluid,
|
|
9641
|
-
fontSize,
|
|
9642
|
-
isLink,
|
|
9643
|
-
isPremium,
|
|
9644
|
-
isLocked,
|
|
9645
|
-
isOwner,
|
|
9646
|
-
overrideViewText,
|
|
9647
|
-
hideUnlockPlatformText,
|
|
9648
|
-
hidePremiumLockIcon,
|
|
9649
|
-
unlockPlatformText,
|
|
9650
|
-
hideCollectionBackground,
|
|
9651
|
-
bottomLeftIcon,
|
|
9652
|
-
handleClickBottomLeftIcon,
|
|
9653
|
-
premiumDiamondPill
|
|
9654
|
-
}) => {
|
|
9645
|
+
const CollectionCard$1 = _ref => {
|
|
9655
9646
|
var _collection$image, _collection$image$ori, _collection$image2, _collection$image2$or, _collection$image3, _collection$image3$or;
|
|
9656
9647
|
|
|
9648
|
+
let {
|
|
9649
|
+
collection,
|
|
9650
|
+
variantSize,
|
|
9651
|
+
handleClickBackground,
|
|
9652
|
+
handleClickSave,
|
|
9653
|
+
handleClickDrag,
|
|
9654
|
+
handleClickView,
|
|
9655
|
+
handleClickUnlock,
|
|
9656
|
+
handleClickPrimaryAction,
|
|
9657
|
+
handleClickSecondaryAction,
|
|
9658
|
+
primaryActionButton,
|
|
9659
|
+
secondaryActionButton,
|
|
9660
|
+
fluid,
|
|
9661
|
+
fontSize,
|
|
9662
|
+
isLink,
|
|
9663
|
+
isPremium,
|
|
9664
|
+
isLocked,
|
|
9665
|
+
isOwner,
|
|
9666
|
+
overrideViewText,
|
|
9667
|
+
hideUnlockPlatformText,
|
|
9668
|
+
hidePremiumLockIcon,
|
|
9669
|
+
unlockPlatformText,
|
|
9670
|
+
hideCollectionBackground,
|
|
9671
|
+
bottomLeftIcon,
|
|
9672
|
+
handleClickBottomLeftIcon,
|
|
9673
|
+
premiumDiamondPill
|
|
9674
|
+
} = _ref;
|
|
9657
9675
|
const [cardColors, setCardColors] = useState(null);
|
|
9658
9676
|
const {
|
|
9659
9677
|
data,
|
|
@@ -10001,14 +10019,15 @@ const CollectionCard$1 = ({
|
|
|
10001
10019
|
})));
|
|
10002
10020
|
};
|
|
10003
10021
|
|
|
10004
|
-
const UserProfileHeader =
|
|
10005
|
-
followUser,
|
|
10006
|
-
isOwner,
|
|
10007
|
-
userData,
|
|
10008
|
-
openEdit
|
|
10009
|
-
}) => {
|
|
10022
|
+
const UserProfileHeader = _ref => {
|
|
10010
10023
|
var _userData$profileImag, _userData$profileImag2, _userData$headerImage, _userData$headerImage2, _userData$headerImage3, _userData$headerImage4, _userData$profileImag3, _userData$profileImag4, _userData$socialLinks2;
|
|
10011
10024
|
|
|
10025
|
+
let {
|
|
10026
|
+
followUser,
|
|
10027
|
+
isOwner,
|
|
10028
|
+
userData,
|
|
10029
|
+
openEdit
|
|
10030
|
+
} = _ref;
|
|
10012
10031
|
const theme = useContext(ThemeContext);
|
|
10013
10032
|
const [profileColors, setProfileColors] = useState(null);
|
|
10014
10033
|
const size = useWindowSize();
|
|
@@ -10251,18 +10270,19 @@ const UserProfileHeader = ({
|
|
|
10251
10270
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null), renderSocialLinks()))));
|
|
10252
10271
|
};
|
|
10253
10272
|
|
|
10254
|
-
const LibraryControls =
|
|
10255
|
-
setSort,
|
|
10256
|
-
activeBoard,
|
|
10257
|
-
setSearchTerm,
|
|
10258
|
-
hideSearch,
|
|
10259
|
-
searchTerm,
|
|
10260
|
-
setShowSearch,
|
|
10261
|
-
setActiveBoard,
|
|
10262
|
-
hideLayoutButtons
|
|
10263
|
-
}) => {
|
|
10273
|
+
const LibraryControls = _ref => {
|
|
10264
10274
|
var _activeBoard$ownerObj;
|
|
10265
10275
|
|
|
10276
|
+
let {
|
|
10277
|
+
setSort,
|
|
10278
|
+
activeBoard,
|
|
10279
|
+
setSearchTerm,
|
|
10280
|
+
hideSearch,
|
|
10281
|
+
searchTerm,
|
|
10282
|
+
setShowSearch,
|
|
10283
|
+
setActiveBoard,
|
|
10284
|
+
hideLayoutButtons
|
|
10285
|
+
} = _ref;
|
|
10266
10286
|
useContext(ThemeContext);
|
|
10267
10287
|
const size = useWindowSize();
|
|
10268
10288
|
const [anchor, setAnchor] = useState(null);
|
|
@@ -10534,20 +10554,21 @@ const LibraryControls = ({
|
|
|
10534
10554
|
}))))));
|
|
10535
10555
|
};
|
|
10536
10556
|
|
|
10537
|
-
const UserLibraryHeader =
|
|
10538
|
-
|
|
10539
|
-
|
|
10540
|
-
|
|
10541
|
-
|
|
10542
|
-
|
|
10543
|
-
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
|
|
10547
|
-
|
|
10548
|
-
|
|
10549
|
-
|
|
10550
|
-
|
|
10557
|
+
const UserLibraryHeader = _ref => {
|
|
10558
|
+
let {
|
|
10559
|
+
sx,
|
|
10560
|
+
tabs,
|
|
10561
|
+
tabSelection,
|
|
10562
|
+
setTabSelection,
|
|
10563
|
+
setShowSearch,
|
|
10564
|
+
setSearchTerm,
|
|
10565
|
+
searchTerm,
|
|
10566
|
+
setActiveBoard,
|
|
10567
|
+
hideSearch,
|
|
10568
|
+
setSort,
|
|
10569
|
+
sort,
|
|
10570
|
+
hideLayoutButtons
|
|
10571
|
+
} = _ref;
|
|
10551
10572
|
const size = useWindowSize();
|
|
10552
10573
|
useContext(ThemeContext);
|
|
10553
10574
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -10625,10 +10646,11 @@ const reactionIconUrls = {
|
|
|
10625
10646
|
MUSIC: "https://cdn.blerp.com/blerp_products/Icons/Music%403x.svg"
|
|
10626
10647
|
};
|
|
10627
10648
|
|
|
10628
|
-
const ReactionButtons =
|
|
10629
|
-
|
|
10630
|
-
|
|
10631
|
-
|
|
10649
|
+
const ReactionButtons = _ref => {
|
|
10650
|
+
let {
|
|
10651
|
+
bite,
|
|
10652
|
+
handleClick
|
|
10653
|
+
} = _ref;
|
|
10632
10654
|
return /*#__PURE__*/React.createElement(Grid, {
|
|
10633
10655
|
display: "grid",
|
|
10634
10656
|
gridTemplateColumns: "repeat(4, 1fr)",
|