@elice/material-runbox 1.260825.0-runboxusability.0 → 1.260825.0-runboxusability.11
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/cjs/_virtual/_rollupPluginBabelHelpers.js +16 -0
- package/cjs/assets/runbox-loading.svg.js +7 -0
- package/cjs/components/material-runbox/MaterialRunbox.js +15 -10
- package/cjs/components/material-runbox/MaterialRunboxContent.js +90 -63
- package/cjs/components/material-runbox/MaterialRunboxHeader.js +44 -41
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnect.d.ts +1 -4
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +29 -2
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.d.ts +3 -0
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +90 -0
- package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +11 -8
- package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.d.ts +1 -2
- package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +9 -26
- package/cjs/components/material-runbox/contexts/MaterialRunboxControlContext.d.ts +14 -0
- package/cjs/components/material-runbox/contexts/MaterialRunboxControlContext.js +56 -0
- package/cjs/components/material-runbox/contexts/index.d.ts +2 -0
- package/cjs/components/material-runbox/contexts/index.js +4 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.d.ts +13 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +71 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.d.ts +10 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +98 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +10 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +151 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetDialog.d.ts +13 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +98 -0
- package/cjs/components/material-runbox/disk/index.d.ts +8 -1
- package/cjs/components/material-runbox/disk/index.js +8 -2
- package/cjs/components/material-runbox/hooks/index.d.ts +2 -0
- package/cjs/components/material-runbox/hooks/index.js +10 -0
- package/cjs/components/material-runbox/hooks/useRunboxControl.d.ts +4 -3
- package/cjs/components/material-runbox/hooks/useRunboxControl.js +43 -14
- package/cjs/components/material-runbox/hooks/useRunboxDiskUsage.d.ts +16 -0
- package/cjs/components/material-runbox/hooks/useRunboxDiskUsage.js +50 -0
- package/cjs/components/material-runbox/hooks/useRunboxNetworkStatus.d.ts +14 -0
- package/cjs/components/material-runbox/hooks/useRunboxNetworkStatus.js +65 -0
- package/cjs/components/material-runbox/locales/en.json.js +1 -1
- package/cjs/components/material-runbox/locales/ja.json.js +1 -1
- package/cjs/components/material-runbox/locales/ko.json.js +1 -1
- package/cjs/components/material-runbox/locales/th.json.js +1 -1
- package/cjs/components/material-runbox/runtime/Runtime.js +11 -16
- package/cjs/components/material-runbox/runtime/RuntimeChangeMaterialDialog.d.ts +0 -1
- package/cjs/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +9 -3
- package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.d.ts +2 -3
- package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.js +5 -52
- package/cjs/components/material-runbox/runtime/RuntimeOverlayConflicted.d.ts +0 -1
- package/cjs/components/material-runbox/runtime/RuntimeOverlayConflicted.js +68 -64
- package/cjs/components/material-runbox/runtime/RuntimeOverlayLoading.d.ts +7 -0
- package/cjs/components/material-runbox/runtime/RuntimeOverlayLoading.js +260 -0
- package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.d.ts +2 -3
- package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.js +5 -62
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.d.ts +4 -1
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +92 -70
- package/cjs/components/material-runbox/status/MaterialRunboxStatusButton.d.ts +4 -7
- package/cjs/components/material-runbox/status/MaterialRunboxStatusButton.js +46 -17
- package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +4 -3
- package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +6 -3
- package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +4 -7
- package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.js +67 -40
- package/cjs/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +4 -5
- package/cjs/components/material-runbox/theme.d.ts +2 -0
- package/cjs/components/material-runbox/theme.js +15 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +1 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +1 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxTimer.d.ts +0 -1
- package/cjs/components/material-runbox/timer/MaterialRunboxTimer.js +6 -2
- package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +2 -0
- package/cjs/components/shared/hooks/index.d.ts +1 -0
- package/cjs/components/shared/hooks/index.js +7 -0
- package/cjs/components/shared/hooks/useBreakpoint.d.ts +4 -0
- package/cjs/components/shared/hooks/useBreakpoint.js +12 -0
- package/es/_virtual/_rollupPluginBabelHelpers.js +13 -1
- package/es/assets/runbox-loading.svg.js +3 -0
- package/es/components/material-runbox/MaterialRunbox.js +15 -10
- package/es/components/material-runbox/MaterialRunboxContent.js +91 -64
- package/es/components/material-runbox/MaterialRunboxHeader.js +45 -42
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnect.d.ts +1 -4
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +30 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.d.ts +3 -0
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +82 -0
- package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +12 -9
- package/es/components/material-runbox/actions/MaterialRunboxActionRestart.d.ts +1 -2
- package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +9 -26
- package/es/components/material-runbox/contexts/MaterialRunboxControlContext.d.ts +14 -0
- package/es/components/material-runbox/contexts/MaterialRunboxControlContext.js +46 -0
- package/es/components/material-runbox/contexts/index.d.ts +2 -0
- package/es/components/material-runbox/contexts/index.js +1 -0
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.d.ts +13 -0
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +67 -0
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.d.ts +10 -0
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +94 -0
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +10 -0
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +143 -0
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetDialog.d.ts +13 -0
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +90 -0
- package/es/components/material-runbox/disk/index.d.ts +8 -1
- package/es/components/material-runbox/disk/index.js +4 -1
- package/es/components/material-runbox/hooks/index.d.ts +2 -0
- package/es/components/material-runbox/hooks/index.js +2 -0
- package/es/components/material-runbox/hooks/useRunboxControl.d.ts +4 -3
- package/es/components/material-runbox/hooks/useRunboxControl.js +43 -14
- package/es/components/material-runbox/hooks/useRunboxDiskUsage.d.ts +16 -0
- package/es/components/material-runbox/hooks/useRunboxDiskUsage.js +42 -0
- package/es/components/material-runbox/hooks/useRunboxNetworkStatus.d.ts +14 -0
- package/es/components/material-runbox/hooks/useRunboxNetworkStatus.js +59 -0
- package/es/components/material-runbox/locales/en.json.js +1 -1
- package/es/components/material-runbox/locales/ja.json.js +1 -1
- package/es/components/material-runbox/locales/ko.json.js +1 -1
- package/es/components/material-runbox/locales/th.json.js +1 -1
- package/es/components/material-runbox/runtime/Runtime.js +12 -17
- package/es/components/material-runbox/runtime/RuntimeChangeMaterialDialog.d.ts +0 -1
- package/es/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +9 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.d.ts +2 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.js +6 -53
- package/es/components/material-runbox/runtime/RuntimeOverlayConflicted.d.ts +0 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayConflicted.js +69 -65
- package/es/components/material-runbox/runtime/RuntimeOverlayLoading.d.ts +7 -0
- package/es/components/material-runbox/runtime/RuntimeOverlayLoading.js +256 -0
- package/es/components/material-runbox/runtime/RuntimeOverlayQueued.d.ts +2 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayQueued.js +6 -63
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.d.ts +4 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +82 -60
- package/es/components/material-runbox/status/MaterialRunboxStatusButton.d.ts +4 -7
- package/es/components/material-runbox/status/MaterialRunboxStatusButton.js +49 -20
- package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +4 -3
- package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +6 -3
- package/es/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +4 -7
- package/es/components/material-runbox/status/MaterialRunboxStatusPopover.js +69 -42
- package/es/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +4 -5
- package/es/components/material-runbox/theme.d.ts +2 -0
- package/es/components/material-runbox/theme.js +12 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +1 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +1 -0
- package/es/components/material-runbox/timer/MaterialRunboxTimer.d.ts +0 -1
- package/es/components/material-runbox/timer/MaterialRunboxTimer.js +6 -2
- package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +3 -1
- package/es/components/shared/hooks/index.d.ts +1 -0
- package/es/components/shared/hooks/index.js +1 -0
- package/es/components/shared/hooks/useBreakpoint.d.ts +4 -0
- package/es/components/shared/hooks/useBreakpoint.js +10 -0
- package/package.json +9 -9
- package/cjs/assets/queue.gif.js +0 -7
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.d.ts +0 -5
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.js +0 -98
- package/es/assets/queue.gif.js +0 -3
- package/es/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.d.ts +0 -5
- package/es/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.js +0 -94
|
@@ -8,6 +8,9 @@ function _arrayLikeToArray(r, a) {
|
|
|
8
8
|
function _arrayWithHoles(r) {
|
|
9
9
|
if (Array.isArray(r)) return r;
|
|
10
10
|
}
|
|
11
|
+
function _arrayWithoutHoles(r) {
|
|
12
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
13
|
+
}
|
|
11
14
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
12
15
|
try {
|
|
13
16
|
var i = n[a](c),
|
|
@@ -41,6 +44,9 @@ function _defineProperty(e, r, t) {
|
|
|
41
44
|
writable: true
|
|
42
45
|
}) : e[r] = t, e;
|
|
43
46
|
}
|
|
47
|
+
function _iterableToArray(r) {
|
|
48
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
49
|
+
}
|
|
44
50
|
function _iterableToArrayLimit(r, l) {
|
|
45
51
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
46
52
|
if (null != t) {
|
|
@@ -71,6 +77,9 @@ function _iterableToArrayLimit(r, l) {
|
|
|
71
77
|
function _nonIterableRest() {
|
|
72
78
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
73
79
|
}
|
|
80
|
+
function _nonIterableSpread() {
|
|
81
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
82
|
+
}
|
|
74
83
|
function _regenerator() {
|
|
75
84
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
76
85
|
var e,
|
|
@@ -189,6 +198,9 @@ function _taggedTemplateLiteral(e, t) {
|
|
|
189
198
|
}
|
|
190
199
|
}));
|
|
191
200
|
}
|
|
201
|
+
function _toConsumableArray(r) {
|
|
202
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
203
|
+
}
|
|
192
204
|
function _toPrimitive(t, r) {
|
|
193
205
|
if ("object" != typeof t || !t) return t;
|
|
194
206
|
var e = t[Symbol.toPrimitive];
|
|
@@ -213,14 +225,18 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
213
225
|
|
|
214
226
|
exports.arrayLikeToArray = _arrayLikeToArray;
|
|
215
227
|
exports.arrayWithHoles = _arrayWithHoles;
|
|
228
|
+
exports.arrayWithoutHoles = _arrayWithoutHoles;
|
|
216
229
|
exports.asyncToGenerator = _asyncToGenerator;
|
|
217
230
|
exports.defineProperty = _defineProperty;
|
|
231
|
+
exports.iterableToArray = _iterableToArray;
|
|
218
232
|
exports.iterableToArrayLimit = _iterableToArrayLimit;
|
|
219
233
|
exports.nonIterableRest = _nonIterableRest;
|
|
234
|
+
exports.nonIterableSpread = _nonIterableSpread;
|
|
220
235
|
exports.regenerator = _regenerator;
|
|
221
236
|
exports.regeneratorDefine = _regeneratorDefine;
|
|
222
237
|
exports.slicedToArray = _slicedToArray;
|
|
223
238
|
exports.taggedTemplateLiteral = _taggedTemplateLiteral;
|
|
239
|
+
exports.toConsumableArray = _toConsumableArray;
|
|
224
240
|
exports.toPrimitive = _toPrimitive;
|
|
225
241
|
exports.toPropertyKey = _toPropertyKey;
|
|
226
242
|
exports.unsupportedIterableToArray = _unsupportedIterableToArray;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var img = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='130 90 240 312' width='240' height='312' role='img' aria-label='%eb%9f%b0%eb%b0%95%ec%8a%a4%ea%b0%80 %ec%a1%b0%eb%a6%bd%eb%90%98%eb%8a%94 %eb%a1%9c%eb%94%a9 %ec%95%a0%eb%8b%88%eb%a9%94%ec%9d%b4%ec%85%98'%3e%3cdefs xmlns='http://www.w3.org/2000/svg'%3e %3cfilter id='gb' x='-30%25' y='-30%25' width='160%25' height='160%25'%3e%3cfeGaussianBlur stdDeviation='7'/%3e%3c/filter%3e %3cfilter id='gr' x='-20%25' y='-20%25' width='140%25' height='140%25'%3e%3cfeGaussianBlur stdDeviation='0.6'/%3e%3c/filter%3e %3c/defs%3e%3crect xmlns='http://www.w3.org/2000/svg' x='130' y='90' width='240' height='312' fill='white'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c268.0 338.0%2c318.0 250.0%2c368.0 162.0%2c318.0' fill='rgba(115%2c83%2c234%2c.05)'/%3e%3cg class='dashed'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='268.0' x2='338.0' y2='318.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='318.0' x2='250.0' y2='368.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='368.0' x2='162.0' y2='318.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='318.0' x2='250.0' y2='268.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='172.0' x2='338.0' y2='222.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='222.0' x2='250.0' y2='272.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='272.0' x2='162.0' y2='222.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='222.0' x2='250.0' y2='172.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='268.0' x2='250.0' y2='172.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='318.0' x2='338.0' y2='222.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='368.0' x2='250.0' y2='272.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='318.0' x2='162.0' y2='222.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3c/g%3e%3cg class='solid'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='0%3b0%3b1%3b1%3b0%3b0'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='268.0' x2='338.0' y2='318.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='318.0' x2='250.0' y2='368.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='368.0' x2='162.0' y2='318.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='318.0' x2='250.0' y2='268.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='172.0' x2='338.0' y2='222.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='222.0' x2='250.0' y2='272.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='272.0' x2='162.0' y2='222.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='222.0' x2='250.0' y2='172.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='268.0' x2='250.0' y2='172.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='318.0' x2='338.0' y2='222.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='368.0' x2='250.0' y2='272.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='318.0' x2='162.0' y2='222.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3c/g%3e%3cg%3e%3cg class='pc' data-k='0'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.01761%3b0.02641%3b0.09683%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.01761%3b0.02641%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c293.0 250.0%2c318.0 250.0%2c270.0 294.0%2c245.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c293.0 250.0%2c318.0 250.0%2c270.0 206.0%2c245.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c220.0 294.0%2c245.0 250.0%2c270.0 206.0%2c245.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c293.0 250.0%2c318.0 250.0%2c270.0 294.0%2c245.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c293.0 250.0%2c318.0 250.0%2c270.0 206.0%2c245.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c220.0 294.0%2c245.0 250.0%2c270.0 206.0%2c245.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='4'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.2993%3b0.3081%3b0.37852%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.2993%3b0.3081%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c245.0 250.0%2c270.0 250.0%2c222.0 294.0%2c197.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c245.0 250.0%2c270.0 250.0%2c222.0 206.0%2c197.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c172.0 294.0%2c197.0 250.0%2c222.0 206.0%2c197.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c245.0 250.0%2c270.0 250.0%2c222.0 294.0%2c197.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c245.0 250.0%2c270.0 250.0%2c222.0 206.0%2c197.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c172.0 294.0%2c197.0 250.0%2c222.0 206.0%2c197.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='1'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.08803%3b0.09683%3b0.16725%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.08803%3b0.09683%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='338.0%2c318.0 294.0%2c343.0 294.0%2c295.0 338.0%2c270.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c318.0 294.0%2c343.0 294.0%2c295.0 250.0%2c270.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c245.0 338.0%2c270.0 294.0%2c295.0 250.0%2c270.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='338.0%2c318.0 294.0%2c343.0 294.0%2c295.0 338.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c318.0 294.0%2c343.0 294.0%2c295.0 250.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c245.0 338.0%2c270.0 294.0%2c295.0 250.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='2'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.15845%3b0.16725%3b0.23767%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.15845%3b0.16725%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c318.0 206.0%2c343.0 206.0%2c295.0 250.0%2c270.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='162.0%2c318.0 206.0%2c343.0 206.0%2c295.0 162.0%2c270.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c245.0 250.0%2c270.0 206.0%2c295.0 162.0%2c270.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c318.0 206.0%2c343.0 206.0%2c295.0 250.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='162.0%2c318.0 206.0%2c343.0 206.0%2c295.0 162.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c245.0 250.0%2c270.0 206.0%2c295.0 162.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='5'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.36972%3b0.37852%3b0.44894%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.36972%3b0.37852%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='338.0%2c270.0 294.0%2c295.0 294.0%2c247.0 338.0%2c222.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 294.0%2c295.0 294.0%2c247.0 250.0%2c222.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c197.0 338.0%2c222.0 294.0%2c247.0 250.0%2c222.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='338.0%2c270.0 294.0%2c295.0 294.0%2c247.0 338.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 294.0%2c295.0 294.0%2c247.0 250.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c197.0 338.0%2c222.0 294.0%2c247.0 250.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='6'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.44014%3b0.44894%3b0.51936%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.44014%3b0.44894%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 206.0%2c295.0 206.0%2c247.0 250.0%2c222.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='162.0%2c270.0 206.0%2c295.0 206.0%2c247.0 162.0%2c222.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c197.0 250.0%2c222.0 206.0%2c247.0 162.0%2c222.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 206.0%2c295.0 206.0%2c247.0 250.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='162.0%2c270.0 206.0%2c295.0 206.0%2c247.0 162.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c197.0 250.0%2c222.0 206.0%2c247.0 162.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='3'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.22887%3b0.23767%3b0.30809%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.22887%3b0.23767%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c343.0 250.0%2c368.0 250.0%2c320.0 294.0%2c295.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c343.0 250.0%2c368.0 250.0%2c320.0 206.0%2c295.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 294.0%2c295.0 250.0%2c320.0 206.0%2c295.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c343.0 250.0%2c368.0 250.0%2c320.0 294.0%2c295.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c343.0 250.0%2c368.0 250.0%2c320.0 206.0%2c295.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 294.0%2c295.0 250.0%2c320.0 206.0%2c295.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='7'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.51056%3b0.51936%3b0.58978%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.51056%3b0.51936%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c295.0 250.0%2c320.0 250.0%2c272.0 294.0%2c247.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c295.0 250.0%2c320.0 250.0%2c272.0 206.0%2c247.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c222.0 294.0%2c247.0 250.0%2c272.0 206.0%2c247.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c295.0 250.0%2c320.0 250.0%2c272.0 294.0%2c247.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c295.0 250.0%2c320.0 250.0%2c272.0 206.0%2c247.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c222.0 294.0%2c247.0 250.0%2c272.0 206.0%2c247.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg class='glow'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.61092%3b0.69542%3b1' values='0%3b0%3b1%3b0%3b0'/%3e%3cg transform='translate(250 222)'%3e%3cg%3e%3canimateTransform attributeName='transform' type='scale' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.61092%3b0.69542%3b1' values='0.985%3b0.985%3b1.005%3b1.055%3b1.055'/%3e%3cg transform='translate(-250 -222)'%3e%3cg xmlns='http://www.w3.org/2000/svg' transform='translate(-250 -222)'%3e%3cline x1='250.0' y1='268.0' x2='338.0' y2='318.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='338.0' y1='318.0' x2='250.0' y2='368.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='368.0' x2='162.0' y2='318.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='162.0' y1='318.0' x2='250.0' y2='268.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='172.0' x2='338.0' y2='222.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='338.0' y1='222.0' x2='250.0' y2='272.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='272.0' x2='162.0' y2='222.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='162.0' y1='222.0' x2='250.0' y2='172.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='268.0' x2='250.0' y2='172.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='338.0' y1='318.0' x2='338.0' y2='222.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='368.0' x2='250.0' y2='272.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='162.0' y1='318.0' x2='162.0' y2='222.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='268.0' x2='338.0' y2='318.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='338.0' y1='318.0' x2='250.0' y2='368.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='368.0' x2='162.0' y2='318.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='162.0' y1='318.0' x2='250.0' y2='268.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='172.0' x2='338.0' y2='222.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='338.0' y1='222.0' x2='250.0' y2='272.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='272.0' x2='162.0' y2='222.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='162.0' y1='222.0' x2='250.0' y2='172.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='268.0' x2='250.0' y2='172.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='338.0' y1='318.0' x2='338.0' y2='222.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='368.0' x2='250.0' y2='272.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='162.0' y1='318.0' x2='162.0' y2='222.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
6
|
+
|
|
7
|
+
exports.default = img;
|
|
@@ -5,7 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
var intl = require('@elice/intl');
|
|
8
|
+
var material = require('@mui/material');
|
|
8
9
|
var MaterialRunboxContent = require('./MaterialRunboxContent.js');
|
|
10
|
+
var theme = require('./theme.js');
|
|
9
11
|
var en = require('./locales/en.json.js');
|
|
10
12
|
var ko = require('./locales/ko.json.js');
|
|
11
13
|
var MaterialRunboxContext = require('./contexts/MaterialRunboxContext.js');
|
|
@@ -28,16 +30,19 @@ var MaterialRunbox = function MaterialRunbox(_a) {
|
|
|
28
30
|
eliceMaterialRunboxApiConfiguration = _a.eliceMaterialRunboxApiConfiguration,
|
|
29
31
|
__intl = _a.__intl,
|
|
30
32
|
contentProps = tslib.__rest(_a, ["enableAutoShutdownToggle", "enableUrlShare", "locale", "showMessenger", "eliceMaterialRunboxApiConfiguration", "__intl"]);
|
|
31
|
-
return jsxRuntime.jsx(
|
|
32
|
-
|
|
33
|
-
children: jsxRuntime.jsx(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
children: jsxRuntime.jsx(
|
|
33
|
+
return jsxRuntime.jsx(material.ThemeProvider, {
|
|
34
|
+
theme: theme.runboxDarkTheme,
|
|
35
|
+
children: jsxRuntime.jsx(intl.RawEliceIntlProvider, {
|
|
36
|
+
value: __intl,
|
|
37
|
+
children: jsxRuntime.jsx(MaterialRunboxContext.default, {
|
|
38
|
+
enableAutoShutdownToggle: enableAutoShutdownToggle,
|
|
39
|
+
enableUrlShare: enableUrlShare,
|
|
40
|
+
locale: locale,
|
|
41
|
+
showMessenger: showMessenger,
|
|
42
|
+
children: jsxRuntime.jsx(MaterialRunboxApiContext.default, {
|
|
43
|
+
eliceMaterialRunboxApiConfiguration: eliceMaterialRunboxApiConfiguration,
|
|
44
|
+
children: jsxRuntime.jsx(MaterialRunboxContent.default, Object.assign({}, contentProps))
|
|
45
|
+
})
|
|
41
46
|
})
|
|
42
47
|
})
|
|
43
48
|
});
|
|
@@ -16,9 +16,13 @@ var MaterialAdminRunboxConfirmDialog = require('./MaterialAdminRunboxConfirmDial
|
|
|
16
16
|
var MaterialRunboxAlert = require('./MaterialRunboxAlert.js');
|
|
17
17
|
var MaterialRunboxBody = require('./MaterialRunboxBody.js');
|
|
18
18
|
var MaterialRunboxHeader = require('./MaterialRunboxHeader.js');
|
|
19
|
+
var theme = require('./theme.js');
|
|
19
20
|
var MaterialRunboxContext = require('./contexts/MaterialRunboxContext.js');
|
|
20
21
|
var MaterialRunboxApiContext = require('./contexts/MaterialRunboxApiContext.js');
|
|
21
22
|
var MaterialRunboxCommandContext = require('./contexts/MaterialRunboxCommandContext.js');
|
|
23
|
+
var MaterialRunboxControlContext = require('./contexts/MaterialRunboxControlContext.js');
|
|
24
|
+
var MaterialRunboxDiskUsageAlert = require('./disk/MaterialRunboxDiskUsageAlert.js');
|
|
25
|
+
var MaterialRunboxDiskUsageDialog = require('./disk/MaterialRunboxDiskUsageDialog.js');
|
|
22
26
|
var useMaterialRunboxRunboxIdStarterGet = require('./hooks/useMaterialRunboxRunboxIdStarterGet.js');
|
|
23
27
|
|
|
24
28
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -157,66 +161,81 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
|
|
|
157
161
|
//
|
|
158
162
|
//
|
|
159
163
|
if (isInitialLoading || starterEnabled && isLoading) {
|
|
160
|
-
return jsxRuntime.jsx(
|
|
161
|
-
|
|
164
|
+
return jsxRuntime.jsx(material.ThemeProvider, {
|
|
165
|
+
theme: theme.runboxLightTheme,
|
|
166
|
+
children: jsxRuntime.jsx(StyledRunboxContainer, {
|
|
167
|
+
sx: {
|
|
168
|
+
backgroundColor: 'background.paper'
|
|
169
|
+
},
|
|
170
|
+
children: jsxRuntime.jsx(material.CircularProgress, {})
|
|
171
|
+
})
|
|
162
172
|
});
|
|
163
173
|
}
|
|
164
174
|
if (isError) {
|
|
165
|
-
return jsxRuntime.jsx(
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
startIcon: jsxRuntime.jsx(iconsMaterial.Refresh, {}),
|
|
177
|
-
onClick: function onClick() {
|
|
178
|
-
return refetch();
|
|
179
|
-
},
|
|
180
|
-
children: intl$1.formatMessage({
|
|
181
|
-
id: 'runbox.common.retry'
|
|
182
|
-
})
|
|
183
|
-
}), typeof showMessenger === 'function' ? jsxRuntime.jsx(material.Button, {
|
|
184
|
-
variant: "outlined",
|
|
185
|
-
onClick: function onClick() {
|
|
186
|
-
return showMessenger();
|
|
187
|
-
},
|
|
175
|
+
return jsxRuntime.jsx(material.ThemeProvider, {
|
|
176
|
+
theme: theme.runboxLightTheme,
|
|
177
|
+
children: jsxRuntime.jsx(StyledRunboxContainer, {
|
|
178
|
+
sx: {
|
|
179
|
+
backgroundColor: 'background.paper',
|
|
180
|
+
color: 'text.primary'
|
|
181
|
+
},
|
|
182
|
+
children: jsxRuntime.jsxs(material.Stack, {
|
|
183
|
+
gap: "1.5rem",
|
|
184
|
+
children: [jsxRuntime.jsx(material.Typography, {
|
|
185
|
+
variant: "h6",
|
|
188
186
|
children: intl$1.formatMessage({
|
|
189
|
-
id: 'runbox.
|
|
187
|
+
id: 'runbox.runtime.message.startError'
|
|
190
188
|
})
|
|
191
|
-
})
|
|
192
|
-
|
|
189
|
+
}), jsxRuntime.jsxs(material.Stack, {
|
|
190
|
+
gap: "0.5rem",
|
|
191
|
+
children: [jsxRuntime.jsx(material.Button, {
|
|
192
|
+
startIcon: jsxRuntime.jsx(iconsMaterial.Refresh, {}),
|
|
193
|
+
onClick: function onClick() {
|
|
194
|
+
return refetch();
|
|
195
|
+
},
|
|
196
|
+
children: intl$1.formatMessage({
|
|
197
|
+
id: 'runbox.common.retry'
|
|
198
|
+
})
|
|
199
|
+
}), typeof showMessenger === 'function' ? jsxRuntime.jsx(material.Button, {
|
|
200
|
+
variant: "outlined",
|
|
201
|
+
onClick: function onClick() {
|
|
202
|
+
return showMessenger();
|
|
203
|
+
},
|
|
204
|
+
children: intl$1.formatMessage({
|
|
205
|
+
id: 'runbox.common.support'
|
|
206
|
+
})
|
|
207
|
+
}) : null]
|
|
208
|
+
})]
|
|
209
|
+
})
|
|
193
210
|
})
|
|
194
211
|
});
|
|
195
212
|
}
|
|
196
213
|
if (!enabledLxpPlan) {
|
|
197
|
-
return jsxRuntime.jsx(
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
214
|
+
return jsxRuntime.jsx(material.ThemeProvider, {
|
|
215
|
+
theme: theme.runboxLightTheme,
|
|
216
|
+
children: jsxRuntime.jsx(StyledRunboxContainer, {
|
|
217
|
+
sx: {
|
|
218
|
+
backgroundColor: 'background.paper',
|
|
219
|
+
color: 'text.primary'
|
|
220
|
+
},
|
|
221
|
+
children: jsxRuntime.jsxs(material.Stack, {
|
|
222
|
+
gap: "0.5rem",
|
|
223
|
+
textAlign: "center",
|
|
224
|
+
children: [jsxRuntime.jsx(material.Typography, {
|
|
225
|
+
variant: "h6",
|
|
226
|
+
color: "text.secondary",
|
|
227
|
+
children: intl$1.formatMessage({
|
|
228
|
+
id: 'runbox.runtime.message.runbox_unavailable'
|
|
229
|
+
})
|
|
230
|
+
}), jsxRuntime.jsx(material.Typography, {
|
|
231
|
+
variant: "body1",
|
|
232
|
+
whiteSpace: "pre-line",
|
|
233
|
+
color: "text.tertiary",
|
|
234
|
+
children: intl$1.formatMessage({
|
|
235
|
+
id: 'runbox.runtime.message.lxp_plan_required'
|
|
236
|
+
})
|
|
237
|
+
})]
|
|
238
|
+
})
|
|
220
239
|
})
|
|
221
240
|
});
|
|
222
241
|
}
|
|
@@ -275,22 +294,30 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
|
|
|
275
294
|
},
|
|
276
295
|
onRunboxRefetchRequest: refetch,
|
|
277
296
|
children: jsxRuntime.jsx(StyledRunboxContainer, {
|
|
278
|
-
children: jsxRuntime.
|
|
297
|
+
children: jsxRuntime.jsx(muiXSnackbar.SnackbarProvider, {
|
|
279
298
|
domRoot: snackbarRoot !== null && snackbarRoot !== void 0 ? snackbarRoot : document.body,
|
|
280
299
|
classes: {
|
|
281
300
|
containerRoot: SNACKBAR_CONTAINER_CLASS
|
|
282
301
|
},
|
|
283
|
-
children:
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
302
|
+
children: jsxRuntime.jsxs(MaterialRunboxControlContext.default, Object.assign({}, props, {
|
|
303
|
+
children: [jsxRuntime.jsx(MaterialRunboxHeader.default, Object.assign({}, props, {
|
|
304
|
+
hideTimerPopover: hideTimerPopover
|
|
305
|
+
})), jsxRuntime.jsx(MaterialRunboxAlert.default, {
|
|
306
|
+
runbox: runbox,
|
|
307
|
+
courseId: courseId,
|
|
308
|
+
studentUserId: studentUserId,
|
|
309
|
+
userId: userId,
|
|
310
|
+
isTutoring: isTutoring
|
|
311
|
+
}), jsxRuntime.jsx(MaterialRunboxDiskUsageAlert.default, {
|
|
312
|
+
runtimeTemplateId: runtimeTemplate.id,
|
|
313
|
+
courseId: courseId,
|
|
314
|
+
userId: studentUserId
|
|
315
|
+
}), jsxRuntime.jsx(MaterialRunboxDiskUsageDialog.default, {
|
|
316
|
+
runboxId: runbox.id
|
|
317
|
+
}), jsxRuntime.jsx(MaterialRunboxBody.default, Object.assign({
|
|
318
|
+
setSnackbarRoot: setSnackbarRoot
|
|
319
|
+
}, props))]
|
|
320
|
+
}))
|
|
294
321
|
})
|
|
295
322
|
})
|
|
296
323
|
})
|
|
@@ -22,8 +22,7 @@ var MaterialRunboxContext = require('./contexts/MaterialRunboxContext.js');
|
|
|
22
22
|
var MaterialRunboxApiContext = require('./contexts/MaterialRunboxApiContext.js');
|
|
23
23
|
var MaterialRunboxTimer = require('./timer/MaterialRunboxTimer.js');
|
|
24
24
|
var MaterialRunboxStatusButton = require('./status/MaterialRunboxStatusButton.js');
|
|
25
|
-
var
|
|
26
|
-
var useRunboxControl = require('./hooks/useRunboxControl.js');
|
|
25
|
+
var useBreakpoint = require('../shared/hooks/useBreakpoint.js');
|
|
27
26
|
|
|
28
27
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
29
28
|
|
|
@@ -35,25 +34,28 @@ var StyledHeader = /*#__PURE__*/_styled__default.default("div", {
|
|
|
35
34
|
})("position:relative;flex:0 0 3rem;display:flex;justify-content:flex-start;align-items:center;gap:1rem;padding:0 1rem;width:100%;border-bottom:1px solid ", function (_ref) {
|
|
36
35
|
var theme = _ref.theme;
|
|
37
36
|
return theme.palette.divider;
|
|
38
|
-
}, ";overflow:hidden;
|
|
37
|
+
}, ";overflow:hidden;color:", function (_ref2) {
|
|
39
38
|
var theme = _ref2.theme;
|
|
39
|
+
return theme.palette.text.primary;
|
|
40
|
+
}, ";background-color:", function (_ref3) {
|
|
41
|
+
var theme = _ref3.theme;
|
|
40
42
|
return theme.palette.background.paper;
|
|
41
43
|
}, ";");
|
|
42
44
|
//
|
|
43
45
|
//
|
|
44
46
|
//
|
|
45
|
-
var MaterialRunboxHeader = function MaterialRunboxHeader(
|
|
46
|
-
var runbox =
|
|
47
|
-
runtime =
|
|
48
|
-
runtimeTemplate =
|
|
49
|
-
courseId =
|
|
50
|
-
userId =
|
|
51
|
-
studentUserId =
|
|
52
|
-
isTutoring =
|
|
53
|
-
refetch =
|
|
54
|
-
getAchievementColor =
|
|
55
|
-
|
|
56
|
-
hideTimerPopover =
|
|
47
|
+
var MaterialRunboxHeader = function MaterialRunboxHeader(_ref4) {
|
|
48
|
+
var runbox = _ref4.runbox,
|
|
49
|
+
runtime = _ref4.runtime,
|
|
50
|
+
runtimeTemplate = _ref4.runtimeTemplate,
|
|
51
|
+
courseId = _ref4.courseId,
|
|
52
|
+
userId = _ref4.userId,
|
|
53
|
+
studentUserId = _ref4.studentUserId,
|
|
54
|
+
isTutoring = _ref4.isTutoring,
|
|
55
|
+
refetch = _ref4.refetch,
|
|
56
|
+
getAchievementColor = _ref4.getAchievementColor,
|
|
57
|
+
_ref4$hideTimerPopove = _ref4.hideTimerPopover,
|
|
58
|
+
hideTimerPopover = _ref4$hideTimerPopove === void 0 ? false : _ref4$hideTimerPopove;
|
|
57
59
|
var intl$1 = intl.useRawEliceIntl();
|
|
58
60
|
var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
|
|
59
61
|
enableAutoShutdownToggle = _useMaterialRunboxCon.enableAutoShutdownToggle;
|
|
@@ -64,19 +66,10 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
64
66
|
_React$useState2 = _rollupPluginBabelHelpers.slicedToArray(_React$useState, 2),
|
|
65
67
|
menuAnchorEl = _React$useState2[0],
|
|
66
68
|
setMenuAnchorEl = _React$useState2[1];
|
|
69
|
+
var isSmallTabletOrSmaller = useBreakpoint.useBreakpoint('md', 'down');
|
|
67
70
|
var _useEliceRunboxRunnin = runboxClient.useEliceRunboxRunning(),
|
|
68
71
|
status = _useEliceRunboxRunnin.status;
|
|
69
72
|
var isRunboxRunning = status === 'running';
|
|
70
|
-
var _useRunboxControl = useRunboxControl.useRunboxControl({
|
|
71
|
-
runbox: runbox,
|
|
72
|
-
runtime: runtime,
|
|
73
|
-
courseId: courseId,
|
|
74
|
-
refetch: refetch,
|
|
75
|
-
userId: userId,
|
|
76
|
-
studentUserId: studentUserId,
|
|
77
|
-
isTutoring: isTutoring
|
|
78
|
-
}),
|
|
79
|
-
stopRuntime = _useRunboxControl.stop;
|
|
80
73
|
//
|
|
81
74
|
var _useQuery = reactQuery.useQuery({
|
|
82
75
|
queryKey: ['getGlobalOrganizationGet', orgNameShort],
|
|
@@ -104,8 +97,8 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
104
97
|
courseId: courseId,
|
|
105
98
|
runtime: runtime
|
|
106
99
|
}],
|
|
107
|
-
queryFn: function queryFn(
|
|
108
|
-
var signal =
|
|
100
|
+
queryFn: function queryFn(_ref5) {
|
|
101
|
+
var signal = _ref5.signal;
|
|
109
102
|
return materialRunboxApi.runbox.runboxRunboxIdSubmitInfoGet({
|
|
110
103
|
eliceCourseId: courseId,
|
|
111
104
|
runboxId: runtime === null || runtime === void 0 ? void 0 : runtime.runboxId
|
|
@@ -163,12 +156,29 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
163
156
|
courseId: courseId
|
|
164
157
|
});
|
|
165
158
|
};
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
162
|
+
var handleMenuButtonClick = function handleMenuButtonClick(e) {
|
|
163
|
+
if (menuAnchorEl) {
|
|
164
|
+
setMenuAnchorEl(null);
|
|
165
|
+
} else {
|
|
166
|
+
setMenuAnchorEl(e.currentTarget);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
166
169
|
/**
|
|
167
170
|
*
|
|
168
171
|
*/
|
|
169
172
|
var renderOptionMenu = function renderOptionMenu() {
|
|
170
173
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
171
|
-
children: [jsxRuntime.jsx(material.
|
|
174
|
+
children: [isSmallTabletOrSmaller ? jsxRuntime.jsx(material.IconButton, {
|
|
175
|
+
size: "small",
|
|
176
|
+
disabled: !isRunboxRunning,
|
|
177
|
+
onClick: handleMenuButtonClick,
|
|
178
|
+
children: jsxRuntime.jsx(muiElements.EliceIcon, {
|
|
179
|
+
icon: proSolidSvgIcons.faEllipsisVertical
|
|
180
|
+
})
|
|
181
|
+
}) : jsxRuntime.jsx(material.Button, {
|
|
172
182
|
disabled: !isRunboxRunning,
|
|
173
183
|
startIcon: jsxRuntime.jsx(muiElements.EliceIcon, {
|
|
174
184
|
icon: proSolidSvgIcons.faEllipsisVertical
|
|
@@ -178,13 +188,7 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
178
188
|
sx: {
|
|
179
189
|
color: 'text.primary'
|
|
180
190
|
},
|
|
181
|
-
onClick:
|
|
182
|
-
if (menuAnchorEl) {
|
|
183
|
-
setMenuAnchorEl(null);
|
|
184
|
-
} else {
|
|
185
|
-
setMenuAnchorEl(e.currentTarget);
|
|
186
|
-
}
|
|
187
|
-
},
|
|
191
|
+
onClick: handleMenuButtonClick,
|
|
188
192
|
children: intl$1.formatMessage({
|
|
189
193
|
id: 'runbox.action.menu.title'
|
|
190
194
|
})
|
|
@@ -210,9 +214,7 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
210
214
|
if (isTutoring) {
|
|
211
215
|
return null;
|
|
212
216
|
}
|
|
213
|
-
return jsxRuntime.jsx(MaterialRunboxActionDisconnect.default, {
|
|
214
|
-
stopRuntime: stopRuntime
|
|
215
|
-
});
|
|
217
|
+
return jsxRuntime.jsx(MaterialRunboxActionDisconnect.default, {});
|
|
216
218
|
};
|
|
217
219
|
//
|
|
218
220
|
//
|
|
@@ -223,11 +225,12 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
223
225
|
runboxId: runbox.id,
|
|
224
226
|
userId: userId,
|
|
225
227
|
headerElement: headerRef.current,
|
|
226
|
-
stopRuntime: stopRuntime,
|
|
227
228
|
hideTimerPopover: hideTimerPopover,
|
|
228
229
|
isTutoring: isTutoring
|
|
229
|
-
}) : null, jsxRuntime.jsx(MaterialRunboxStatusButton.default, {
|
|
230
|
-
|
|
230
|
+
}) : null, jsxRuntime.jsx(MaterialRunboxStatusButton.default, {
|
|
231
|
+
runtimeTemplateId: runtimeTemplate.id,
|
|
232
|
+
courseId: courseId,
|
|
233
|
+
userId: studentUserId
|
|
231
234
|
}), jsxRuntime.jsxs(material.Stack, {
|
|
232
235
|
direction: "row",
|
|
233
236
|
alignItems: "center",
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
stopRuntime: () => Promise<void>;
|
|
4
|
-
}
|
|
5
|
-
declare const MaterialRunboxActionDisconnect: React.FC<MaterialRunboxActionDisconnectProps>;
|
|
2
|
+
declare const MaterialRunboxActionDisconnect: React.FC;
|
|
6
3
|
export default MaterialRunboxActionDisconnect;
|
|
@@ -6,9 +6,13 @@ var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHel
|
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var intl = require('@elice/intl');
|
|
9
|
+
var muiElements = require('@elice/mui-elements');
|
|
9
10
|
var runboxClient = require('@elice/runbox-client');
|
|
11
|
+
var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
|
|
10
12
|
var material = require('@mui/material');
|
|
11
13
|
var MaterialRunboxActionDisconnectDialog = require('./MaterialRunboxActionDisconnectDialog.js');
|
|
14
|
+
var useBreakpoint = require('../../shared/hooks/useBreakpoint.js');
|
|
15
|
+
var MaterialRunboxControlContext = require('../contexts/MaterialRunboxControlContext.js');
|
|
12
16
|
|
|
13
17
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
18
|
|
|
@@ -17,12 +21,15 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
17
21
|
//
|
|
18
22
|
//
|
|
19
23
|
//
|
|
20
|
-
var MaterialRunboxActionDisconnect = function MaterialRunboxActionDisconnect(
|
|
21
|
-
var stopRuntime = _ref.stopRuntime;
|
|
24
|
+
var MaterialRunboxActionDisconnect = function MaterialRunboxActionDisconnect() {
|
|
22
25
|
var intl$1 = intl.useRawEliceIntl();
|
|
26
|
+
var isSmallTabletOrSmaller = useBreakpoint.useBreakpoint('md', 'down');
|
|
27
|
+
var isMobileOrSmaller = useBreakpoint.useBreakpoint('sm', 'down');
|
|
23
28
|
var _useEliceRunboxRunnin = runboxClient.useEliceRunboxRunning(),
|
|
24
29
|
status = _useEliceRunboxRunnin.status;
|
|
25
30
|
var isRunboxTerminated = status === 'terminated';
|
|
31
|
+
var _useMaterialRunboxCon = MaterialRunboxControlContext.useMaterialRunboxControlContext(),
|
|
32
|
+
stopRuntime = _useMaterialRunboxCon.stop;
|
|
26
33
|
var _React$useState = React__default.default.useState(false),
|
|
27
34
|
_React$useState2 = _rollupPluginBabelHelpers.slicedToArray(_React$useState, 2),
|
|
28
35
|
isDisconnectDialogOpen = _React$useState2[0],
|
|
@@ -44,6 +51,23 @@ var MaterialRunboxActionDisconnect = function MaterialRunboxActionDisconnect(_re
|
|
|
44
51
|
*
|
|
45
52
|
*/
|
|
46
53
|
var renderActionButton = function renderActionButton() {
|
|
54
|
+
if (isSmallTabletOrSmaller) {
|
|
55
|
+
return jsxRuntime.jsx(material.Tooltip, {
|
|
56
|
+
title: intl$1.formatMessage({
|
|
57
|
+
id: 'runbox.action.disconnect.title'
|
|
58
|
+
}),
|
|
59
|
+
children: jsxRuntime.jsx("span", {
|
|
60
|
+
children: jsxRuntime.jsx(material.IconButton, {
|
|
61
|
+
size: "small",
|
|
62
|
+
disabled: isRunboxTerminated,
|
|
63
|
+
onClick: handleClickAction,
|
|
64
|
+
children: jsxRuntime.jsx(muiElements.EliceIcon, {
|
|
65
|
+
icon: proSolidSvgIcons.faLinkSlash
|
|
66
|
+
})
|
|
67
|
+
})
|
|
68
|
+
})
|
|
69
|
+
});
|
|
70
|
+
}
|
|
47
71
|
return jsxRuntime.jsx(material.Button, {
|
|
48
72
|
disabled: isRunboxTerminated,
|
|
49
73
|
variant: "contained",
|
|
@@ -73,6 +97,9 @@ var MaterialRunboxActionDisconnect = function MaterialRunboxActionDisconnect(_re
|
|
|
73
97
|
//
|
|
74
98
|
//
|
|
75
99
|
//
|
|
100
|
+
if (isMobileOrSmaller) {
|
|
101
|
+
return null;
|
|
102
|
+
}
|
|
76
103
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
77
104
|
children: [renderActionButton(), renderDisconnectDialog()]
|
|
78
105
|
});
|