gwchq-textjam 0.1.11 → 0.1.13
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.js +904 -463
- package/dist/style.css +3 -2
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -56865,6 +56865,62 @@ F();
|
|
|
56865
56865
|
|
|
56866
56866
|
/***/ }),
|
|
56867
56867
|
|
|
56868
|
+
/***/ 41625:
|
|
56869
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
56870
|
+
|
|
56871
|
+
__webpack_require__.r(__webpack_exports__);
|
|
56872
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
56873
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
56874
|
+
/* harmony export */ });
|
|
56875
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
56876
|
+
var _path;
|
|
56877
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
56878
|
+
|
|
56879
|
+
function SvgAddFile(props) {
|
|
56880
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
56881
|
+
width: 18,
|
|
56882
|
+
height: 18,
|
|
56883
|
+
fill: "none",
|
|
56884
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
56885
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
56886
|
+
d: "M10.35 2.25h-5.4A1.35 1.35 0 003.6 3.6v10.8a1.35 1.35 0 001.35 1.35h8.1a1.35 1.35 0 001.35-1.35V6.3m-4.05-4.05L14.4 6.3m-4.05-4.05V6.3h4.05M9 13.05V9m-2.025 2.025h4.05",
|
|
56887
|
+
stroke: "#33625E",
|
|
56888
|
+
strokeLinecap: "round",
|
|
56889
|
+
strokeLinejoin: "round"
|
|
56890
|
+
})));
|
|
56891
|
+
}
|
|
56892
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgAddFile);
|
|
56893
|
+
|
|
56894
|
+
/***/ }),
|
|
56895
|
+
|
|
56896
|
+
/***/ 3503:
|
|
56897
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
56898
|
+
|
|
56899
|
+
__webpack_require__.r(__webpack_exports__);
|
|
56900
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
56901
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
56902
|
+
/* harmony export */ });
|
|
56903
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
56904
|
+
var _path;
|
|
56905
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
56906
|
+
|
|
56907
|
+
function SvgAddFolder(props) {
|
|
56908
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
56909
|
+
width: 18,
|
|
56910
|
+
height: 18,
|
|
56911
|
+
fill: "none",
|
|
56912
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
56913
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
56914
|
+
d: "M9 8.325v4.05M6.975 10.35h4.05m4.725 3.375a1.35 1.35 0 01-1.35 1.35H3.6a1.35 1.35 0 01-1.35-1.35v-9.45a1.35 1.35 0 011.35-1.35h3.375l1.35 2.025H14.4a1.35 1.35 0 011.35 1.35v7.425z",
|
|
56915
|
+
stroke: "#33625E",
|
|
56916
|
+
strokeLinecap: "round",
|
|
56917
|
+
strokeLinejoin: "round"
|
|
56918
|
+
})));
|
|
56919
|
+
}
|
|
56920
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgAddFolder);
|
|
56921
|
+
|
|
56922
|
+
/***/ }),
|
|
56923
|
+
|
|
56868
56924
|
/***/ 95489:
|
|
56869
56925
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
56870
56926
|
|
|
@@ -56929,19 +56985,55 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
56929
56985
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
56930
56986
|
/* harmony export */ });
|
|
56931
56987
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
56932
|
-
var _path;
|
|
56988
|
+
var _path, _path2, _mask, _path3, _path4, _path5, _path6, _path7;
|
|
56933
56989
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
56934
56990
|
|
|
56935
56991
|
function SvgCssFile(props) {
|
|
56936
56992
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
56937
|
-
|
|
56938
|
-
width: 18,
|
|
56939
|
-
height: 18,
|
|
56940
|
-
viewBox: "0 0 20 18",
|
|
56993
|
+
viewBox: "0 0 32 32",
|
|
56941
56994
|
fill: "none",
|
|
56942
56995
|
xmlns: "http://www.w3.org/2000/svg"
|
|
56943
56996
|
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
56944
|
-
|
|
56997
|
+
fillRule: "evenodd",
|
|
56998
|
+
clipRule: "evenodd",
|
|
56999
|
+
d: "M25 8.5H7l1.5 17.25L16 28l7.5-2.25L25 8.5z",
|
|
57000
|
+
fill: "#1572B6"
|
|
57001
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57002
|
+
fillRule: "evenodd",
|
|
57003
|
+
clipRule: "evenodd",
|
|
57004
|
+
d: "M22.522 19.75l.13-1.5.196-2.25.195-2.25.196-2.25.13-1.5H16v16.5l4.554-1.366 1.54-.462.2-2.31.202-2.31.026-.302z",
|
|
57005
|
+
fill: "#33A9DC"
|
|
57006
|
+
})), _mask || (_mask = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("mask", {
|
|
57007
|
+
id: "css_file_svg__a",
|
|
57008
|
+
fill: "#fff"
|
|
57009
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57010
|
+
fillRule: "evenodd",
|
|
57011
|
+
clipRule: "evenodd",
|
|
57012
|
+
d: "M13.6 4h-2.7v3.3h2.7v-.9h-1.8V4.9h1.8V4zm3.9 0v.9H16l1.5 1.5v.9h-3v-.9H16l-1.5-1.5V4h3zm3.9 0v.9h-1.5l1.5 1.5v.9h-3v-.9h1.5l-1.5-1.5V4h3z"
|
|
57013
|
+
}))), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57014
|
+
fillRule: "evenodd",
|
|
57015
|
+
clipRule: "evenodd",
|
|
57016
|
+
d: "M13.6 4h-2.7v3.3h2.7v-.9h-1.8V4.9h1.8V4zm3.9 0v.9H16l1.5 1.5v.9h-3v-.9H16l-1.5-1.5V4h3zm3.9 0v.9h-1.5l1.5 1.5v.9h-3v-.9h1.5l-1.5-1.5V4h3z",
|
|
57017
|
+
fill: "#000"
|
|
57018
|
+
})), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57019
|
+
d: "M13.6 4h2V2h-2v2zm-2.7 0V2h-2v2h2zm0 3.3h-2v2h2v-2zm2.7 0v2h2v-2h-2zm0-.9h2v-2h-2v2zm-1.8 0h-2v2h2v-2zm0-1.5v-2h-2v2h2zm1.8 0v2h2v-2h-2zm3.9-.9h2V2h-2v2zm0 .9v2h2v-2h-2zm-1.5 0v-2h-4.828l3.414 3.414L16 4.9zm1.5 1.5h2v-.828l-.585-.586L17.5 6.4zm0 .9v2h2v-2h-2zm-3 0h-2v2h2v-2zm0-.9v-2h-2v2h2zm1.5 0v2h4.829l-3.414-3.414L16 6.4zm-1.5-1.5h-2v.828l.586.586L14.5 4.9zm0-.9V2h-2v2h2zm6.9 0h2V2h-2v2zm0 .9v2h2v-2h-2zm-1.5 0v-2h-4.828l3.414 3.414L19.9 4.9zm1.5 1.5h2v-.828l-.585-.586L21.4 6.4zm0 .9v2h2v-2h-2zm-3 0h-2v2h2v-2zm0-.9v-2h-2v2h2zm1.5 0v2h4.829l-3.414-3.414L19.9 6.4zm-1.5-1.5h-2v.828l.586.586L18.4 4.9zm0-.9V2h-2v2h2zm-4.8 0V2h-2.7v4h2.7V4zm-2.7 0h-2v3.3h4V4h-2zm0 3.3v2h2.7v-4h-2.7v2zm2.7 0h2v-.9h-4v.9h2zm0-.9v-2h-1.8v4h1.8v-2zm-1.8 0h2V4.9h-4v1.5h2zm0-1.5v2h1.8v-4h-1.8v2zm1.8 0h2V4h-4v.9h2zm3.9-.9h-2v.9h4V4h-2zm0 .9v-2H16v4h1.5v-2zm-1.5 0l-1.414 1.414 1.5 1.5L17.5 6.4l1.415-1.414-1.5-1.5L16 4.9zm1.5 1.5h-2v.9h4v-.9h-2zm0 .9v-2h-3v4h3v-2zm-3 0h2v-.9h-4v.9h2zm0-.9v2H16v-4h-1.5v2zm1.5 0l1.415-1.414-1.5-1.5L14.5 4.9l-1.414 1.414 1.5 1.5L16 6.4zm-1.5-1.5h2V4h-4v.9h2zm0-.9v2h3V2h-3v2zm6.9 0h-2v.9h4V4h-2zm0 .9v-2h-1.5v4h1.5v-2zm-1.5 0l-1.414 1.414 1.5 1.5L21.4 6.4l1.415-1.414-1.5-1.5L19.9 4.9zm1.5 1.5h-2v.9h4v-.9h-2zm0 .9v-2h-3v4h3v-2zm-3 0h2v-.9h-4v.9h2zm0-.9v2h1.5v-4h-1.5v2zm1.5 0l1.415-1.414-1.5-1.5L18.4 4.9l-1.414 1.414 1.5 1.5L19.9 6.4zm-1.5-1.5h2V4h-4v.9h2zm0-.9v2h3V2h-3v2z",
|
|
57020
|
+
fill: "#003046",
|
|
57021
|
+
mask: "url(#css_file_svg__a)"
|
|
57022
|
+
})), _path5 || (_path5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57023
|
+
fillRule: "evenodd",
|
|
57024
|
+
clipRule: "evenodd",
|
|
57025
|
+
d: "M14.48 23.794l-.77-.231-2.464-.74-.201-2.31-.066-.763h2.4l.13 1.503.77.23L16 22v2.25l-1.52-.456zM10.457 13.75H16V11.5h-5.739l.196 2.25z",
|
|
57026
|
+
fill: "#EBEBEB"
|
|
57027
|
+
})), _path6 || (_path6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57028
|
+
fillRule: "evenodd",
|
|
57029
|
+
clipRule: "evenodd",
|
|
57030
|
+
d: "M16 22l2.491-.747.13-1.503.131-1.5H16V16h2.948l.195-2.25H16V11.5h5.739l-.196 2.25-.195 2.25-.196 2.25-.13 1.5-.067.764-.2 2.31-2.465.739-2.29.687V22z",
|
|
57031
|
+
fill: "#fff"
|
|
57032
|
+
})), _path7 || (_path7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57033
|
+
fillRule: "evenodd",
|
|
57034
|
+
clipRule: "evenodd",
|
|
57035
|
+
d: "M16 18.25h-2.003L13.802 16H16v2.25z",
|
|
57036
|
+
fill: "#EBEBEB"
|
|
56945
57037
|
})));
|
|
56946
57038
|
}
|
|
56947
57039
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgCssFile);
|
|
@@ -56956,17 +57048,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
56956
57048
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
56957
57049
|
/* harmony export */ });
|
|
56958
57050
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
56959
|
-
var _path;
|
|
57051
|
+
var _path, _path2, _path3, _path4;
|
|
56960
57052
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
56961
57053
|
|
|
56962
57054
|
function SvgCsvFile(props) {
|
|
56963
57055
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
56964
|
-
|
|
56965
|
-
height: 24,
|
|
57056
|
+
viewBox: "0 0 18 18",
|
|
56966
57057
|
fill: "none",
|
|
56967
57058
|
xmlns: "http://www.w3.org/2000/svg"
|
|
56968
57059
|
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
56969
|
-
d: "M3
|
|
57060
|
+
d: "M3.375 1.98v13.477c0 .161.134.293.297.293h10.094a.296.296 0 00.296-.293V5.789h-3.265a.296.296 0 01-.297-.293V1.687H3.672a.296.296 0 00-.297.293z",
|
|
57061
|
+
fill: "#009688"
|
|
57062
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57063
|
+
d: "M14.048 5.203a.436.436 0 00-.06-.146l-2.894-3.194v3.34h2.954z",
|
|
57064
|
+
fill: "#009688"
|
|
57065
|
+
})), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57066
|
+
d: "M4.266 7.693h8.906v7.178H4.266V7.693z",
|
|
57067
|
+
fill: "#fff"
|
|
57068
|
+
})), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57069
|
+
d: "M6.715 12.835v.44H5.453v-.44h1.262zm1.751 0v.44H7.205v-.44h1.261zm1.767 0v.44H8.97v-.44h1.262zm1.751 0v.44h-1.261v-.44h1.261zm-5.27-.864v.44h-1.26v-.44h1.26zm1.752 0v.44H7.205v-.44h1.261zm1.767 0v.44H8.97v-.44h1.262zm1.751 0v.44h-1.261v-.44h1.261zm-5.27-.865v.44h-1.26v-.44h1.26zm1.752 0v.44H7.205v-.44h1.261zm1.767 0v.44H8.97v-.44h1.262zm1.751 0v.44h-1.261v-.44h1.261zm-5.27-.864v.44h-1.26v-.44h1.26zm1.752 0v.44H7.205v-.44h1.261zm1.767 0v.44H8.97v-.44h1.262zm1.751 0v.44h-1.261v-.44h1.261zm-5.27-.864v.44h-1.26v-.44h1.26zm1.752 0v.44H7.205v-.44h1.261zm1.767 0v.44H8.97v-.44h1.262zm1.751 0v.44h-1.261v-.44h1.261z",
|
|
57070
|
+
fill: "#009688"
|
|
56970
57071
|
})));
|
|
56971
57072
|
}
|
|
56972
57073
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgCsvFile);
|
|
@@ -57029,6 +57130,42 @@ function SvgFolder(props) {
|
|
|
57029
57130
|
|
|
57030
57131
|
/***/ }),
|
|
57031
57132
|
|
|
57133
|
+
/***/ 32432:
|
|
57134
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57135
|
+
|
|
57136
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57137
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57138
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57139
|
+
/* harmony export */ });
|
|
57140
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57141
|
+
var _path, _path2, _path3, _path4;
|
|
57142
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57143
|
+
|
|
57144
|
+
function SvgGifFile(props) {
|
|
57145
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57146
|
+
viewBox: "0 0 18 18",
|
|
57147
|
+
fill: "none",
|
|
57148
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57149
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57150
|
+
d: "M15.75 10.688c0-.622-.504-1.126-1.125-1.126H3.375c-.621 0-1.125.504-1.125 1.126v1.687c0 .621.504 1.125 1.125 1.125h11.25c.621 0 1.125-.504 1.125-1.125v-1.688zm1.125 1.687a2.25 2.25 0 01-2.25 2.25H3.375a2.25 2.25 0 01-2.25-2.25v-1.688a2.25 2.25 0 012.25-2.25h11.25a2.25 2.25 0 012.25 2.25v1.688z",
|
|
57151
|
+
fill: "#33625E"
|
|
57152
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57153
|
+
d: "M14.963 14.4a1.913 1.913 0 01-1.913 1.912h-8.1A1.913 1.913 0 013.037 14.4v-.9h1.126v.9a.788.788 0 00.787.787h8.1a.789.789 0 00.788-.787v-.9h1.125v.9z",
|
|
57154
|
+
fill: "#33625E"
|
|
57155
|
+
})), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57156
|
+
fillRule: "evenodd",
|
|
57157
|
+
clipRule: "evenodd",
|
|
57158
|
+
d: "M9.73 1.69c.13.013.25.07.343.162l4.725 4.726a.563.563 0 01.165.397v2.588h-1.125V7.537H9.675a.563.563 0 01-.562-.563V2.813H4.95a.788.788 0 00-.787.787v5.963H3.037V3.6A1.913 1.913 0 014.95 1.687h4.725l.056.003zm.508 4.723h2.804l-2.804-2.805v2.805z",
|
|
57159
|
+
fill: "#33625E"
|
|
57160
|
+
})), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57161
|
+
d: "M10.852 12.898c-.213 0-.337-.13-.337-.353V10.55c0-.242.134-.374.38-.374h1.219c.151 0 .261.11.261.265a.25.25 0 01-.261.26h-.94v.649h.838c.158 0 .261.103.261.255 0 .153-.105.256-.26.256h-.838v.685c0 .226-.116.353-.323.353zM9.66 12.898c-.211 0-.333-.129-.333-.353v-2.038c0-.226.118-.352.329-.352.211 0 .33.129.33.352v2.038c0 .226-.117.353-.326.353zM6.584 11.704v-.36c0-.75.45-1.219 1.184-1.219.309 0 .582.083.781.232.18.129.298.299.298.455 0 .157-.11.264-.268.264a.259.259 0 01-.195-.084c-.161-.16-.311-.314-.568-.314-.377 0-.574.24-.574.697v.327c0 .451.201.699.568.699.285 0 .476-.167.476-.414v-.115h-.245c-.173 0-.269-.083-.269-.234 0-.148.094-.23.27-.23h.488c.263 0 .378.113.378.365v.164c0 .597-.452 1-1.124 1-.756 0-1.2-.463-1.2-1.233zM5.625 12.567a.359.359 0 01.718 0 .359.359 0 01-.718 0z",
|
|
57162
|
+
fill: "#33625E"
|
|
57163
|
+
})));
|
|
57164
|
+
}
|
|
57165
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgGifFile);
|
|
57166
|
+
|
|
57167
|
+
/***/ }),
|
|
57168
|
+
|
|
57032
57169
|
/***/ 59917:
|
|
57033
57170
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57034
57171
|
|
|
@@ -57037,24 +57174,234 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
57037
57174
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57038
57175
|
/* harmony export */ });
|
|
57039
57176
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57040
|
-
var _path;
|
|
57177
|
+
var _path, _mask, _path2, _path3, _path4, _path5, _mask2, _path6, _path7, _path8;
|
|
57041
57178
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57042
57179
|
|
|
57043
57180
|
function SvgHtmlFile(props) {
|
|
57044
57181
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57045
|
-
|
|
57046
|
-
width: 24,
|
|
57047
|
-
height: 24,
|
|
57182
|
+
viewBox: "0 0 32 32",
|
|
57048
57183
|
fill: "none",
|
|
57049
57184
|
xmlns: "http://www.w3.org/2000/svg"
|
|
57050
57185
|
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57051
|
-
|
|
57186
|
+
fillRule: "evenodd",
|
|
57187
|
+
clipRule: "evenodd",
|
|
57188
|
+
d: "M25.143 8.5H6.857L8.38 25.75 16 28l7.619-2.25L25.143 8.5z",
|
|
57189
|
+
fill: "#E44D26"
|
|
57190
|
+
})), _mask || (_mask = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("mask", {
|
|
57191
|
+
id: "html_file_svg__a",
|
|
57192
|
+
fill: "#fff"
|
|
57193
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57194
|
+
fillRule: "evenodd",
|
|
57195
|
+
clipRule: "evenodd",
|
|
57196
|
+
d: "M8.99 4v3.3h.915V6.1h1.219v1.2h.914V4h-.914v1.2h-1.22V4H8.99zm7.315 0v3.3h.914V5.5l.762 1.2.762-1.2v1.8h.914V4h-.914l-.762 1.05L17.219 4h-.915zm3.961 0v3.3h2.743v-.9h-1.828V4h-.915z"
|
|
57197
|
+
}))), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57198
|
+
fillRule: "evenodd",
|
|
57199
|
+
clipRule: "evenodd",
|
|
57200
|
+
d: "M8.99 4v3.3h.915V6.1h1.219v1.2h.914V4h-.914v1.2h-1.22V4H8.99zm7.315 0v3.3h.914V5.5l.762 1.2.762-1.2v1.8h.914V4h-.914l-.762 1.05L17.219 4h-.915zm3.961 0v3.3h2.743v-.9h-1.828V4h-.915z",
|
|
57201
|
+
fill: "#000"
|
|
57202
|
+
})), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57203
|
+
d: "M8.99 4V2h-2v2h2zm0 3.3h-2v2h2v-2zm.915 0v2h2v-2h-2zm0-1.2v-2h-2v2h2zm1.219 0h2v-2h-2v2zm0 1.2h-2v2h2v-2zm.914 0v2h2v-2h-2zm0-3.3h2V2h-2v2zm-.914 0V2h-2v2h2zm0 1.2v2h2v-2h-2zm-1.22 0h-2v2h2v-2zm0-1.2h2V2h-2v2zm6.4 0V2h-2v2h2zm0 3.3h-2v2h2v-2zm.915 0v2h2v-2h-2zm0-1.8l1.688-1.072-3.688-5.81V5.5h2zm.762 1.2l-1.689 1.072 1.689 2.66 1.688-2.66L17.981 6.7zm.762-1.2h2v-6.881l-3.689 5.809L18.743 5.5zm0 1.8h-2v2h2v-2zm.914 0v2h2v-2h-2zm0-3.3h2V2h-2v2zm-.914 0V2h-1.02l-.6.825L18.744 4zm-.762 1.05l-1.619 1.175 1.619 2.23 1.618-2.23-1.618-1.175zM17.219 4l1.618-1.175L18.24 2h-1.02v2zm3.047 0V2h-2v2h2zm0 3.3h-2v2h2v-2zm2.743 0v2h2v-2h-2zm0-.9h2v-2h-2v2zm-1.828 0h-2v2h2v-2zm0-2.4h2V2h-2v2zM8.99 4h-2v3.3h4V4h-2zm0 3.3v2h.914v-4H8.99v2zm.914 0h2V6.1h-4v1.2h2zm0-1.2v2h1.219v-4h-1.22v2zm1.219 0h-2v1.2h4V6.1h-2zm0 1.2v2h.914v-4h-.914v2zm.914 0h2V4h-4v3.3h2zm0-3.3V2h-.914v4h.914V4zm-.914 0h-2v1.2h4V4h-2zm0 1.2v-2h-1.22v4h1.22v-2zm-1.22 0h2V4h-4v1.2h2zm0-1.2V2H8.99v4h.915V4zm6.4 0h-2v3.3h4V4h-2zm0 3.3v2h.915v-4h-.915v2zm.915 0h2V5.5h-4v1.8h2zm0-1.8L15.53 6.572l.762 1.2L17.981 6.7l1.688-1.072-.762-1.2L17.22 5.5zm.762 1.2l1.688 1.072.762-1.2L18.743 5.5l-1.689-1.072-.762 1.2L17.981 6.7zm.762-1.2h-2v1.8h4V5.5h-2zm0 1.8v2h.914v-4h-.914v2zm.914 0h2V4h-4v3.3h2zm0-3.3V2h-.914v4h.914V4zm-.914 0l-1.62-1.175-.761 1.05 1.619 1.175 1.618 1.175.762-1.05L18.743 4zm-.762 1.05l1.618-1.175-.762-1.05L17.22 4 15.6 5.175l.762 1.05 1.619-1.175zM17.219 4V2h-.915v4h.915V4zm3.047 0h-2v3.3h4V4h-2zm0 3.3v2h2.743v-4h-2.743v2zm2.743 0h2v-.9h-4v.9h2zm0-.9v-2h-1.828v4h1.828v-2zm-1.828 0h2V4h-4v2.4h2zm0-2.4V2h-.915v4h.915V4z",
|
|
57204
|
+
fill: "#003046",
|
|
57205
|
+
mask: "url(#html_file_svg__a)"
|
|
57206
|
+
})), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57207
|
+
fillRule: "evenodd",
|
|
57208
|
+
clipRule: "evenodd",
|
|
57209
|
+
d: "M13.674 23.563l-2.504-.74-.204-2.31-.067-.763h2.438l.133 1.503L16 22v2.25l-2.326-.687zM16 13.75h-3.193l.198 2.25H16v2.25h-5.234L10.567 16l-.198-2.25-.2-2.25H16v2.25z",
|
|
57210
|
+
fill: "#EBEBEB"
|
|
57211
|
+
})), _path5 || (_path5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57212
|
+
fillRule: "evenodd",
|
|
57213
|
+
clipRule: "evenodd",
|
|
57214
|
+
d: "M22.625 19.75l.133-1.5.198-2.25.2-2.25.198-2.25.133-1.5H16v16.5l4.626-1.366 1.565-.462.204-2.31.204-2.31.026-.302z",
|
|
57215
|
+
fill: "#F16529"
|
|
57216
|
+
})), _mask2 || (_mask2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("mask", {
|
|
57217
|
+
id: "html_file_svg__b",
|
|
57218
|
+
fill: "#fff"
|
|
57219
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57220
|
+
fillRule: "evenodd",
|
|
57221
|
+
clipRule: "evenodd",
|
|
57222
|
+
d: "M12.648 4v.9h1.066v2.4h.914V4.9h1.067V4h-3.047z"
|
|
57223
|
+
}))), _path6 || (_path6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57224
|
+
fillRule: "evenodd",
|
|
57225
|
+
clipRule: "evenodd",
|
|
57226
|
+
d: "M12.648 4v.9h1.066v2.4h.914V4.9h1.067V4h-3.047z",
|
|
57227
|
+
fill: "#000"
|
|
57228
|
+
})), _path7 || (_path7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57229
|
+
d: "M12.648 4V2h-2v2h2zm0 .9h-2v2h2v-2zm1.066 0h2v-2h-2v2zm0 2.4h-2v2h2v-2zm.914 0v2h2v-2h-2zm0-2.4v-2h-2v2h2zm1.067 0v2h2v-2h-2zm0-.9h2V2h-2v2zm-3.047 0h-2v.9h4V4h-2zm0 .9v2h1.066v-4h-1.066v2zm1.066 0h-2v2.4h4V4.9h-2zm0 2.4v2h.914v-4h-.914v2zm.914 0h2V4.9h-4v2.4h2zm0-2.4v2h1.067v-4h-1.067v2zm1.067 0h2V4h-4v.9h2zm0-.9V2h-3.047v4h3.047V4z",
|
|
57230
|
+
fill: "#003046",
|
|
57231
|
+
mask: "url(#html_file_svg__b)"
|
|
57232
|
+
})), _path8 || (_path8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57233
|
+
fillRule: "evenodd",
|
|
57234
|
+
clipRule: "evenodd",
|
|
57235
|
+
d: "M16 13.75h5.631l.2-2.25H16v2.25zm2.796 4.5H16V16h5.433l-.199 2.25-.133 1.5-.067.764-.204 2.31-2.503.739L16 24.25V22l2.53-.747.133-1.503.133-1.5z",
|
|
57236
|
+
fill: "#fff"
|
|
57052
57237
|
})));
|
|
57053
57238
|
}
|
|
57054
57239
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgHtmlFile);
|
|
57055
57240
|
|
|
57056
57241
|
/***/ }),
|
|
57057
57242
|
|
|
57243
|
+
/***/ 19797:
|
|
57244
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57245
|
+
|
|
57246
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57247
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57248
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57249
|
+
/* harmony export */ });
|
|
57250
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57251
|
+
var _path, _path2, _path3, _path4;
|
|
57252
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57253
|
+
|
|
57254
|
+
function SvgJpgFile(props) {
|
|
57255
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57256
|
+
viewBox: "0 0 18 18",
|
|
57257
|
+
fill: "none",
|
|
57258
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57259
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57260
|
+
d: "M15.75 10.688c0-.622-.504-1.126-1.125-1.126H3.375c-.621 0-1.125.504-1.125 1.126v1.687c0 .621.504 1.125 1.125 1.125h11.25c.621 0 1.125-.504 1.125-1.125v-1.688zm1.125 1.687a2.25 2.25 0 01-2.25 2.25H3.375a2.25 2.25 0 01-2.25-2.25v-1.688a2.25 2.25 0 012.25-2.25h11.25a2.25 2.25 0 012.25 2.25v1.688z",
|
|
57261
|
+
fill: "#33625E"
|
|
57262
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57263
|
+
d: "M14.963 14.4a1.913 1.913 0 01-1.913 1.912h-8.1A1.913 1.913 0 013.037 14.4v-.9h1.126v.9a.788.788 0 00.787.787h8.1a.789.789 0 00.788-.787v-.9h1.125v.9z",
|
|
57264
|
+
fill: "#33625E"
|
|
57265
|
+
})), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57266
|
+
fillRule: "evenodd",
|
|
57267
|
+
clipRule: "evenodd",
|
|
57268
|
+
d: "M9.73 1.69c.13.013.25.07.343.162l4.725 4.726a.563.563 0 01.165.397v2.588h-1.125V7.537H9.675a.563.563 0 01-.562-.563V2.813H4.95a.788.788 0 00-.787.787v5.963H3.037V3.6A1.913 1.913 0 014.95 1.687h4.725l.056.003zm.508 4.723h2.804l-2.804-2.805v2.805z",
|
|
57269
|
+
fill: "#33625E"
|
|
57270
|
+
})), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57271
|
+
d: "M10.517 11.704v-.36c0-.75.47-1.219 1.233-1.219.322 0 .606.083.814.232.187.129.31.299.31.455 0 .157-.115.264-.279.264a.275.275 0 01-.203-.084c-.168-.16-.324-.314-.592-.314-.392 0-.598.24-.598.697v.327c0 .451.21.699.592.699.297 0 .496-.167.496-.414v-.115h-.255c-.181 0-.28-.083-.28-.234 0-.148.097-.23.28-.23h.508c.274 0 .395.113.395.365v.164c0 .597-.472 1-1.171 1-.787 0-1.25-.463-1.25-1.233zM8.417 12.898c-.218 0-.34-.127-.34-.353v-1.923c0-.323.124-.447.448-.447h.728c.62 0 1.013.36 1.013.916 0 .593-.398.924-1.048.924H8.76v.53c0 .224-.124.353-.344.353zm.346-1.37h.312c.355 0 .512-.112.512-.425 0-.269-.155-.423-.435-.423h-.389v.847zM6.841 10.517c0-.233.119-.362.339-.362.222 0 .346.13.346.362v1.428c0 .636-.375.992-1.044.992-.342 0-.616-.09-.776-.255a.475.475 0 01-.15-.339c0-.172.117-.283.285-.283.118 0 .19.05.266.129.095.109.207.192.386.192.23 0 .348-.129.348-.432v-1.432zM4.5 12.567c0-.196.17-.356.374-.356.205 0 .373.16.373.356a.366.366 0 01-.373.357.368.368 0 01-.374-.357z",
|
|
57272
|
+
fill: "#33625E"
|
|
57273
|
+
})));
|
|
57274
|
+
}
|
|
57275
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgJpgFile);
|
|
57276
|
+
|
|
57277
|
+
/***/ }),
|
|
57278
|
+
|
|
57279
|
+
/***/ 73895:
|
|
57280
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57281
|
+
|
|
57282
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57283
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57284
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57285
|
+
/* harmony export */ });
|
|
57286
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57287
|
+
var _path, _path2;
|
|
57288
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57289
|
+
|
|
57290
|
+
function SvgJsFile(props) {
|
|
57291
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57292
|
+
viewBox: "0 0 32 32",
|
|
57293
|
+
fill: "none",
|
|
57294
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57295
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57296
|
+
d: "M28 4H4v24h24V4z",
|
|
57297
|
+
fill: "#F7DF1E"
|
|
57298
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57299
|
+
d: "M21.545 15.971a1.92 1.92 0 00-1.357 1.854c0 .6.21 1.113.657 1.52.366.333.863.564 1.332.767h.004l.563.243c.933.4 1.52.749 1.88 1.136.317.34.512.767.512 1.487 0 .726-.271 1.218-.689 1.552-.444.354-1.138.591-2.048.592-1.233 0-2.096-.408-2.667-.99l.127-.074c.17.18.359.35.576.498.533.364 1.167.564 1.912.564.623 0 1.232-.155 1.712-.511.5-.37.819-.938.819-1.602a2.05 2.05 0 00-.225-.958 2.151 2.151 0 00-.592-.698c-.405-.318-.953-.55-1.424-.757l-.006-.003-.565-.242h-.002l-.276-.123c-.616-.285-1.046-.57-1.332-.892-.296-.334-.492-.767-.492-1.463 0-.582.217-1.057.577-1.392a2.176 2.176 0 011.004-.508zm-5.475.049v6.7c0 .97-.279 1.525-.62 1.846-.351.331-.916.55-1.748.55-.919 0-1.544-.3-1.973-.743l.127-.078a2.208 2.208 0 001.75.81c.472.001 1.107-.087 1.596-.585.48-.489.613-1.165.613-1.832V16.02h.255zm6.94-.063c.248.05.46.125.642.225.125.068.247.154.367.26l-.072.046a2.26 2.26 0 00-.938-.53z",
|
|
57300
|
+
fill: "#000",
|
|
57301
|
+
stroke: "#003046",
|
|
57302
|
+
strokeWidth: 2
|
|
57303
|
+
})));
|
|
57304
|
+
}
|
|
57305
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgJsFile);
|
|
57306
|
+
|
|
57307
|
+
/***/ }),
|
|
57308
|
+
|
|
57309
|
+
/***/ 37505:
|
|
57310
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57311
|
+
|
|
57312
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57313
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57314
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57315
|
+
/* harmony export */ });
|
|
57316
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57317
|
+
var _path, _path2, _path3, _path4;
|
|
57318
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57319
|
+
|
|
57320
|
+
function SvgMdFile(props) {
|
|
57321
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57322
|
+
viewBox: "0 0 32 32",
|
|
57323
|
+
fill: "none",
|
|
57324
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57325
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57326
|
+
d: "M7 3.52v23.96c0 .286.237.52.528.52h17.944c.29 0 .528-.234.528-.52V10.291h-5.806a.526.526 0 01-.527-.521V3H7.527A.526.526 0 007 3.52z",
|
|
57327
|
+
fill: "#E91E63"
|
|
57328
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57329
|
+
d: "M25.974 9.25a.776.776 0 00-.106-.26l-5.146-5.677V9.25h5.252z",
|
|
57330
|
+
fill: "#E91E63"
|
|
57331
|
+
})), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57332
|
+
d: "M8.583 13.677h15.834v12.76H8.583v-12.76z",
|
|
57333
|
+
fill: "#fff"
|
|
57334
|
+
})), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57335
|
+
d: "M10.563 22.896v-5.677h1.688l1.69 2.083 1.688-2.083h1.69v5.677h-1.69V19.64l-1.689 2.083-1.689-2.083v3.255h-1.688zm10.133 0l-2.534-2.76h1.69v-2.917h1.688v2.916h1.69l-2.534 2.76z",
|
|
57336
|
+
fill: "#E91E63"
|
|
57337
|
+
})));
|
|
57338
|
+
}
|
|
57339
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgMdFile);
|
|
57340
|
+
|
|
57341
|
+
/***/ }),
|
|
57342
|
+
|
|
57343
|
+
/***/ 71720:
|
|
57344
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57345
|
+
|
|
57346
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57347
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57348
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57349
|
+
/* harmony export */ });
|
|
57350
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57351
|
+
var _path;
|
|
57352
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57353
|
+
|
|
57354
|
+
function SvgMinusCircle(props) {
|
|
57355
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57356
|
+
width: 18,
|
|
57357
|
+
height: 18,
|
|
57358
|
+
fill: "none",
|
|
57359
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57360
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57361
|
+
d: "M14.523 9A5.523 5.523 0 103.477 9a5.523 5.523 0 0011.046 0zm-3.069-.614a.614.614 0 110 1.228H6.545a.614.614 0 010-1.228h4.91zM15.75 9a6.75 6.75 0 11-13.5 0 6.75 6.75 0 0113.5 0z",
|
|
57362
|
+
fill: "#69746D"
|
|
57363
|
+
})));
|
|
57364
|
+
}
|
|
57365
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgMinusCircle);
|
|
57366
|
+
|
|
57367
|
+
/***/ }),
|
|
57368
|
+
|
|
57369
|
+
/***/ 97512:
|
|
57370
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57371
|
+
|
|
57372
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57373
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57374
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57375
|
+
/* harmony export */ });
|
|
57376
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57377
|
+
var _path, _path2, _path3, _path4;
|
|
57378
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57379
|
+
|
|
57380
|
+
function SvgMp3File(props) {
|
|
57381
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57382
|
+
viewBox: "0 0 18 18",
|
|
57383
|
+
fill: "none",
|
|
57384
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57385
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57386
|
+
d: "M15.75 10.688c0-.622-.504-1.126-1.125-1.126H3.375c-.621 0-1.125.504-1.125 1.126v1.687c0 .621.504 1.125 1.125 1.125h11.25c.621 0 1.125-.504 1.125-1.125v-1.688zm1.125 1.687a2.25 2.25 0 01-2.25 2.25H3.375a2.25 2.25 0 01-2.25-2.25v-1.688a2.25 2.25 0 012.25-2.25h11.25a2.25 2.25 0 012.25 2.25v1.688z",
|
|
57387
|
+
fill: "#33625E"
|
|
57388
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57389
|
+
d: "M14.963 14.4a1.913 1.913 0 01-1.913 1.912h-8.1A1.913 1.913 0 013.037 14.4v-.9h1.126v.9a.788.788 0 00.787.787h8.1a.789.789 0 00.788-.787v-.9h1.125v.9z",
|
|
57390
|
+
fill: "#33625E"
|
|
57391
|
+
})), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57392
|
+
fillRule: "evenodd",
|
|
57393
|
+
clipRule: "evenodd",
|
|
57394
|
+
d: "M9.73 1.69c.13.013.25.07.343.162l4.725 4.726a.563.563 0 01.165.397v2.588h-1.125V7.537H9.675a.563.563 0 01-.562-.563V2.813H4.95a.788.788 0 00-.787.787v5.963H3.037V3.6A1.913 1.913 0 014.95 1.687h4.725l.056.003zm.508 4.723h2.804l-2.804-2.805v2.805z",
|
|
57395
|
+
fill: "#33625E"
|
|
57396
|
+
})), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57397
|
+
d: "M11.425 12.3c0-.15.106-.258.253-.258.096 0 .176.046.267.157a.571.571 0 00.475.245c.265 0 .438-.136.438-.348 0-.21-.175-.353-.436-.353h-.162c-.139 0-.24-.105-.24-.25 0-.138.1-.245.24-.245h.156c.217 0 .378-.135.378-.319s-.157-.31-.382-.31c-.172 0-.309.074-.431.235a.313.313 0 01-.26.135c-.155 0-.266-.103-.266-.25 0-.327.428-.614.97-.614.585 0 .995.3.995.725 0 .291-.219.55-.496.584v.044c.33.024.576.299.576.643 0 .478-.447.816-1.08.816-.557 0-.995-.299-.995-.637zM9.358 12.898c-.21 0-.329-.127-.329-.353v-1.923c0-.323.12-.447.434-.447h.704c.6 0 .98.36.98.916 0 .593-.386.924-1.014.924H9.69v.53c0 .224-.12.353-.333.353zm.335-1.37h.301c.344 0 .496-.112.496-.425 0-.269-.15-.423-.421-.423h-.376v.847zM5.997 12.898c-.19 0-.291-.119-.291-.34v-1.981c0-.264.153-.424.397-.424.213 0 .352.105.458.388l.532 1.35h.022l.53-1.352c.108-.287.238-.386.461-.386.249 0 .391.154.391.424v1.98c0 .216-.11.34-.303.34-.188 0-.289-.118-.289-.34v-1.36h-.018L7.41 12.4c-.079.202-.17.265-.305.265-.137 0-.231-.067-.31-.265l-.479-1.204H6.3v1.36c0 .216-.11.34-.303.34zM4.5 12.567a.361.361 0 01.722 0 .361.361 0 01-.722 0z",
|
|
57398
|
+
fill: "#33625E"
|
|
57399
|
+
})));
|
|
57400
|
+
}
|
|
57401
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgMp3File);
|
|
57402
|
+
|
|
57403
|
+
/***/ }),
|
|
57404
|
+
|
|
57058
57405
|
/***/ 86936:
|
|
57059
57406
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57060
57407
|
|
|
@@ -57080,6 +57427,68 @@ function SvgOpenInNewTab(props) {
|
|
|
57080
57427
|
|
|
57081
57428
|
/***/ }),
|
|
57082
57429
|
|
|
57430
|
+
/***/ 45494:
|
|
57431
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57432
|
+
|
|
57433
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57434
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57435
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57436
|
+
/* harmony export */ });
|
|
57437
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57438
|
+
var _path;
|
|
57439
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57440
|
+
|
|
57441
|
+
function SvgPlusCircle(props) {
|
|
57442
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57443
|
+
width: 18,
|
|
57444
|
+
height: 18,
|
|
57445
|
+
fill: "none",
|
|
57446
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57447
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57448
|
+
d: "M14.523 9A5.523 5.523 0 103.477 9a5.523 5.523 0 0011.046 0zm-6.137 2.454v-1.84h-1.84a.614.614 0 010-1.228h1.84v-1.84a.614.614 0 011.228 0v1.84h1.84a.614.614 0 110 1.228h-1.84v1.84a.614.614 0 11-1.228 0zM15.75 9a6.75 6.75 0 11-13.5 0 6.75 6.75 0 0113.5 0z",
|
|
57449
|
+
fill: "#828282"
|
|
57450
|
+
})));
|
|
57451
|
+
}
|
|
57452
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgPlusCircle);
|
|
57453
|
+
|
|
57454
|
+
/***/ }),
|
|
57455
|
+
|
|
57456
|
+
/***/ 3745:
|
|
57457
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57458
|
+
|
|
57459
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57460
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57461
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57462
|
+
/* harmony export */ });
|
|
57463
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57464
|
+
var _path, _path2, _path3, _path4;
|
|
57465
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57466
|
+
|
|
57467
|
+
function SvgPngFile(props) {
|
|
57468
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57469
|
+
viewBox: "0 0 18 18",
|
|
57470
|
+
fill: "none",
|
|
57471
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57472
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57473
|
+
d: "M15.75 10.688c0-.622-.504-1.126-1.125-1.126H3.375c-.621 0-1.125.504-1.125 1.126v1.687c0 .621.504 1.125 1.125 1.125h11.25c.621 0 1.125-.504 1.125-1.125v-1.688zm1.125 1.687a2.25 2.25 0 01-2.25 2.25H3.375a2.25 2.25 0 01-2.25-2.25v-1.688a2.25 2.25 0 012.25-2.25h11.25a2.25 2.25 0 012.25 2.25v1.688z",
|
|
57474
|
+
fill: "#33625E"
|
|
57475
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57476
|
+
d: "M14.963 14.4a1.913 1.913 0 01-1.913 1.912h-8.1A1.913 1.913 0 013.037 14.4v-.9h1.126v.9a.788.788 0 00.787.787h8.1a.789.789 0 00.788-.787v-.9h1.125v.9z",
|
|
57477
|
+
fill: "#33625E"
|
|
57478
|
+
})), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57479
|
+
fillRule: "evenodd",
|
|
57480
|
+
clipRule: "evenodd",
|
|
57481
|
+
d: "M9.73 1.69c.13.013.25.07.343.162l4.725 4.726a.563.563 0 01.165.397v2.588h-1.125V7.537H9.675a.563.563 0 01-.562-.563V2.813H4.95a.788.788 0 00-.787.787v5.963H3.037V3.6A1.913 1.913 0 014.95 1.687h4.725l.056.003zm.508 4.723h2.804l-2.804-2.805v2.805z",
|
|
57482
|
+
fill: "#33625E"
|
|
57483
|
+
})), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57484
|
+
d: "M11.078 11.704v-.36c0-.75.47-1.219 1.234-1.219.322 0 .606.083.814.232.187.129.31.299.31.455 0 .157-.115.264-.279.264a.276.276 0 01-.203-.084c-.168-.16-.324-.314-.592-.314-.393 0-.598.24-.598.697v.327c0 .451.21.699.591.699.297 0 .497-.167.497-.414v-.115h-.255c-.181 0-.28-.083-.28-.234 0-.148.097-.23.28-.23h.508c.274 0 .395.113.395.365v.164c0 .597-.472 1-1.171 1-.788 0-1.25-.463-1.25-1.233zM8.928 12.557c0 .214-.114.34-.315.34-.202 0-.32-.128-.32-.34V10.54c0-.254.114-.384.34-.384.152 0 .24.071.376.261l.956 1.359h.027v-1.28c0-.213.116-.34.315-.34.202 0 .322.127.322.34v2.039c0 .237-.112.364-.322.364-.153 0-.247-.062-.388-.26l-.964-1.376h-.027v1.295zM6.08 12.898c-.217 0-.34-.127-.34-.353v-1.923c0-.323.125-.447.449-.447h.729c.62 0 1.013.36 1.013.916 0 .593-.398.924-1.049.924h-.457v.53c0 .224-.124.353-.344.353zm.348-1.37h.311c.355 0 .513-.112.513-.425 0-.269-.156-.423-.436-.423h-.388v.847zM4.5 12.567c0-.196.17-.356.374-.356.206 0 .374.16.374.356a.367.367 0 01-.374.357.368.368 0 01-.374-.357z",
|
|
57485
|
+
fill: "#33625E"
|
|
57486
|
+
})));
|
|
57487
|
+
}
|
|
57488
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgPngFile);
|
|
57489
|
+
|
|
57490
|
+
/***/ }),
|
|
57491
|
+
|
|
57083
57492
|
/***/ 90830:
|
|
57084
57493
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57085
57494
|
|
|
@@ -57093,8 +57502,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
57093
57502
|
|
|
57094
57503
|
function SvgPythonFile(props) {
|
|
57095
57504
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57096
|
-
|
|
57097
|
-
height: 18,
|
|
57505
|
+
viewBox: "0 0 18 18",
|
|
57098
57506
|
fill: "none",
|
|
57099
57507
|
xmlns: "http://www.w3.org/2000/svg"
|
|
57100
57508
|
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
@@ -57136,6 +57544,70 @@ function SvgPythonFile(props) {
|
|
|
57136
57544
|
|
|
57137
57545
|
/***/ }),
|
|
57138
57546
|
|
|
57547
|
+
/***/ 98201:
|
|
57548
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57549
|
+
|
|
57550
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57551
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57552
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57553
|
+
/* harmony export */ });
|
|
57554
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57555
|
+
var _path, _path2;
|
|
57556
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57557
|
+
|
|
57558
|
+
function SvgUploadFile(props) {
|
|
57559
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57560
|
+
viewBox: "0 0 16 16",
|
|
57561
|
+
fill: "none",
|
|
57562
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57563
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57564
|
+
d: "M3.09 12.364V3.636A1.636 1.636 0 014.728 2h3.818l.054.003a.545.545 0 01.332.157l3.818 3.818c.103.102.16.241.16.386v6a.545.545 0 11-1.09 0V6.909H8.544A.545.545 0 018 6.364V3.09H4.727a.545.545 0 00-.545.545v8.728a.545.545 0 11-1.091 0zm6-6.546h1.957L9.09 3.862v1.956z",
|
|
57565
|
+
fill: "#33625E"
|
|
57566
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57567
|
+
d: "M7.454 13.454V9.862l-1.25 1.25a.545.545 0 11-.772-.77L7.614 8.16l.042-.038a.545.545 0 01.73.038l2.181 2.182a.545.545 0 11-.77.77l-1.252-1.25v3.592a.545.545 0 11-1.09 0z",
|
|
57568
|
+
fill: "#33625E"
|
|
57569
|
+
})));
|
|
57570
|
+
}
|
|
57571
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgUploadFile);
|
|
57572
|
+
|
|
57573
|
+
/***/ }),
|
|
57574
|
+
|
|
57575
|
+
/***/ 7384:
|
|
57576
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57577
|
+
|
|
57578
|
+
__webpack_require__.r(__webpack_exports__);
|
|
57579
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57580
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
57581
|
+
/* harmony export */ });
|
|
57582
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51649);
|
|
57583
|
+
var _path, _path2, _path3, _path4;
|
|
57584
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
57585
|
+
|
|
57586
|
+
function SvgWavFile(props) {
|
|
57587
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
|
|
57588
|
+
viewBox: "0 0 18 18",
|
|
57589
|
+
fill: "none",
|
|
57590
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
57591
|
+
}, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57592
|
+
d: "M15.75 10.688c0-.622-.504-1.126-1.125-1.126H3.375c-.621 0-1.125.504-1.125 1.126v1.687c0 .621.504 1.125 1.125 1.125h11.25c.621 0 1.125-.504 1.125-1.125v-1.688zm1.125 1.687a2.25 2.25 0 01-2.25 2.25H3.375a2.25 2.25 0 01-2.25-2.25v-1.688a2.25 2.25 0 012.25-2.25h11.25a2.25 2.25 0 012.25 2.25v1.688z",
|
|
57593
|
+
fill: "#33625E"
|
|
57594
|
+
})), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57595
|
+
d: "M14.963 14.4a1.913 1.913 0 01-1.913 1.912h-8.1A1.913 1.913 0 013.037 14.4v-.9h1.126v.9a.788.788 0 00.787.787h8.1a.789.789 0 00.788-.787v-.9h1.125v.9z",
|
|
57596
|
+
fill: "#33625E"
|
|
57597
|
+
})), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57598
|
+
fillRule: "evenodd",
|
|
57599
|
+
clipRule: "evenodd",
|
|
57600
|
+
d: "M9.73 1.69c.13.013.25.07.343.162l4.725 4.726a.563.563 0 01.165.397v2.588h-1.125V7.537H9.675a.563.563 0 01-.562-.563V2.813H4.95a.788.788 0 00-.787.787v5.963H3.037V3.6A1.913 1.913 0 014.95 1.687h4.725l.056.003zm.508 4.723h2.804l-2.804-2.805v2.805z",
|
|
57601
|
+
fill: "#33625E"
|
|
57602
|
+
})), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
|
|
57603
|
+
d: "M11.83 12.18l.482-1.727c.06-.234.153-.328.32-.328.179 0 .306.118.306.293 0 .067-.021.17-.05.264l-.557 1.761c-.1.33-.252.468-.522.468-.274 0-.431-.14-.53-.468l-.557-1.761a.912.912 0 01-.05-.258c0-.176.13-.299.309-.299.16 0 .264.107.327.328l.493 1.727h.029zM8.718 12.913c-.17 0-.288-.112-.288-.273 0-.066.017-.143.06-.277l.572-1.778c.102-.325.25-.456.522-.456s.416.129.52.456l.569 1.778a.93.93 0 01.05.263c0 .175-.117.287-.296.287-.166 0-.263-.096-.325-.323l-.099-.328h-.867l-.1.328c-.063.233-.152.323-.318.323zm.546-1.13h.613l-.29-1.04h-.03l-.293 1.04zM5.685 12.572l-.504-1.907a1.03 1.03 0 01-.033-.225c0-.186.125-.315.307-.315.166 0 .264.114.317.364l.322 1.518h.03l.348-1.528c.057-.25.151-.354.327-.354.176 0 .274.108.33.354l.347 1.528h.032l.308-1.518c.047-.246.153-.364.321-.364.178 0 .303.129.303.31 0 .056-.01.142-.023.19l-.505 1.947c-.06.23-.173.335-.363.335-.198 0-.325-.104-.385-.353l-.352-1.415h-.024l-.356 1.433c-.055.219-.183.335-.369.335-.187 0-.31-.082-.378-.335zM4.5 12.576c0-.199.155-.362.34-.362.187 0 .34.163.34.362 0 .199-.153.361-.34.361-.185 0-.34-.162-.34-.361z",
|
|
57604
|
+
fill: "#33625E"
|
|
57605
|
+
})));
|
|
57606
|
+
}
|
|
57607
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgWavFile);
|
|
57608
|
+
|
|
57609
|
+
/***/ }),
|
|
57610
|
+
|
|
57139
57611
|
/***/ 30416:
|
|
57140
57612
|
/***/ ((module) => {
|
|
57141
57613
|
|
|
@@ -59770,7 +60242,9 @@ var PyodideRunner = _ref => {
|
|
|
59770
60242
|
extension,
|
|
59771
60243
|
content
|
|
59772
60244
|
} of projectCode) {
|
|
59773
|
-
|
|
60245
|
+
if (name && extension) {
|
|
60246
|
+
writeFile([name, extension].join("."), content);
|
|
60247
|
+
}
|
|
59774
60248
|
}
|
|
59775
60249
|
|
|
59776
60250
|
// program is the content of the component with name main and extension py
|
|
@@ -59993,263 +60467,6 @@ var PythonRunner = _ref => {
|
|
|
59993
60467
|
|
|
59994
60468
|
/***/ }),
|
|
59995
60469
|
|
|
59996
|
-
/***/ 91148:
|
|
59997
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
59998
|
-
|
|
59999
|
-
// ESM COMPAT FLAG
|
|
60000
|
-
__webpack_require__.r(__webpack_exports__);
|
|
60001
|
-
|
|
60002
|
-
// EXPORTS
|
|
60003
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
60004
|
-
FileTreeActions: () => (/* binding */ FileTreeActions)
|
|
60005
|
-
});
|
|
60006
|
-
|
|
60007
|
-
// EXTERNAL MODULE: external "react"
|
|
60008
|
-
var external_react_ = __webpack_require__(51649);
|
|
60009
|
-
;// ./src/assets/icons/plus_circle.svg
|
|
60010
|
-
var _path;
|
|
60011
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
60012
|
-
|
|
60013
|
-
function SvgPlusCircle(props) {
|
|
60014
|
-
return /*#__PURE__*/external_react_.createElement("svg", _extends({
|
|
60015
|
-
width: 18,
|
|
60016
|
-
height: 18,
|
|
60017
|
-
fill: "none",
|
|
60018
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
60019
|
-
}, props), _path || (_path = /*#__PURE__*/external_react_.createElement("path", {
|
|
60020
|
-
d: "M14.523 9A5.523 5.523 0 103.477 9a5.523 5.523 0 0011.046 0zm-6.137 2.454v-1.84h-1.84a.614.614 0 010-1.228h1.84v-1.84a.614.614 0 011.228 0v1.84h1.84a.614.614 0 110 1.228h-1.84v1.84a.614.614 0 11-1.228 0zM15.75 9a6.75 6.75 0 11-13.5 0 6.75 6.75 0 0113.5 0z",
|
|
60021
|
-
fill: "#828282"
|
|
60022
|
-
})));
|
|
60023
|
-
}
|
|
60024
|
-
/* harmony default export */ const plus_circle = (SvgPlusCircle);
|
|
60025
|
-
;// ./src/assets/icons/minus_circle.svg
|
|
60026
|
-
var minus_circle_path;
|
|
60027
|
-
function minus_circle_extends() { return minus_circle_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, minus_circle_extends.apply(null, arguments); }
|
|
60028
|
-
|
|
60029
|
-
function SvgMinusCircle(props) {
|
|
60030
|
-
return /*#__PURE__*/external_react_.createElement("svg", minus_circle_extends({
|
|
60031
|
-
width: 18,
|
|
60032
|
-
height: 18,
|
|
60033
|
-
fill: "none",
|
|
60034
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
60035
|
-
}, props), minus_circle_path || (minus_circle_path = /*#__PURE__*/external_react_.createElement("path", {
|
|
60036
|
-
d: "M14.523 9A5.523 5.523 0 103.477 9a5.523 5.523 0 0011.046 0zm-3.069-.614a.614.614 0 110 1.228H6.545a.614.614 0 010-1.228h4.91zM15.75 9a6.75 6.75 0 11-13.5 0 6.75 6.75 0 0113.5 0z",
|
|
60037
|
-
fill: "#69746D"
|
|
60038
|
-
})));
|
|
60039
|
-
}
|
|
60040
|
-
/* harmony default export */ const minus_circle = (SvgMinusCircle);
|
|
60041
|
-
;// ./src/assets/icons/add_folder.svg
|
|
60042
|
-
var add_folder_path;
|
|
60043
|
-
function add_folder_extends() { return add_folder_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, add_folder_extends.apply(null, arguments); }
|
|
60044
|
-
|
|
60045
|
-
function SvgAddFolder(props) {
|
|
60046
|
-
return /*#__PURE__*/external_react_.createElement("svg", add_folder_extends({
|
|
60047
|
-
width: 18,
|
|
60048
|
-
height: 18,
|
|
60049
|
-
fill: "none",
|
|
60050
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
60051
|
-
}, props), add_folder_path || (add_folder_path = /*#__PURE__*/external_react_.createElement("path", {
|
|
60052
|
-
d: "M9 8.325v4.05M6.975 10.35h4.05m4.725 3.375a1.35 1.35 0 01-1.35 1.35H3.6a1.35 1.35 0 01-1.35-1.35v-9.45a1.35 1.35 0 011.35-1.35h3.375l1.35 2.025H14.4a1.35 1.35 0 011.35 1.35v7.425z",
|
|
60053
|
-
stroke: "#33625E",
|
|
60054
|
-
strokeLinecap: "round",
|
|
60055
|
-
strokeLinejoin: "round"
|
|
60056
|
-
})));
|
|
60057
|
-
}
|
|
60058
|
-
/* harmony default export */ const add_folder = (SvgAddFolder);
|
|
60059
|
-
;// ./src/assets/icons/add_file.svg
|
|
60060
|
-
var add_file_path;
|
|
60061
|
-
function add_file_extends() { return add_file_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, add_file_extends.apply(null, arguments); }
|
|
60062
|
-
|
|
60063
|
-
function SvgAddFile(props) {
|
|
60064
|
-
return /*#__PURE__*/external_react_.createElement("svg", add_file_extends({
|
|
60065
|
-
width: 18,
|
|
60066
|
-
height: 18,
|
|
60067
|
-
fill: "none",
|
|
60068
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
60069
|
-
}, props), add_file_path || (add_file_path = /*#__PURE__*/external_react_.createElement("path", {
|
|
60070
|
-
d: "M10.35 2.25h-5.4A1.35 1.35 0 003.6 3.6v10.8a1.35 1.35 0 001.35 1.35h8.1a1.35 1.35 0 001.35-1.35V6.3m-4.05-4.05L14.4 6.3m-4.05-4.05V6.3h4.05M9 13.05V9m-2.025 2.025h4.05",
|
|
60071
|
-
stroke: "#33625E",
|
|
60072
|
-
strokeLinecap: "round",
|
|
60073
|
-
strokeLinejoin: "round"
|
|
60074
|
-
})));
|
|
60075
|
-
}
|
|
60076
|
-
/* harmony default export */ const add_file = (SvgAddFile);
|
|
60077
|
-
// EXTERNAL MODULE: ./src/components/Menus/Sidebar/FilePanel/FileTree/styles.module.scss
|
|
60078
|
-
var styles_module = __webpack_require__(79473);
|
|
60079
|
-
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
|
|
60080
|
-
var jsx_runtime = __webpack_require__(74848);
|
|
60081
|
-
;// ./src/components/Menus/Sidebar/FilePanel/FileTree/FileTreeActions.jsx
|
|
60082
|
-
|
|
60083
|
-
|
|
60084
|
-
|
|
60085
|
-
|
|
60086
|
-
|
|
60087
|
-
|
|
60088
|
-
var FileTreeActions = _ref => {
|
|
60089
|
-
var {
|
|
60090
|
-
onFileCreate,
|
|
60091
|
-
onDirCreate,
|
|
60092
|
-
onExpandAll,
|
|
60093
|
-
onCollapseAll,
|
|
60094
|
-
hasExpandedNodes
|
|
60095
|
-
} = _ref;
|
|
60096
|
-
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
60097
|
-
className: styles_module["default"].fileTreeActions,
|
|
60098
|
-
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
60099
|
-
children: [hasExpandedNodes ? /*#__PURE__*/(0,jsx_runtime.jsx)("button", {
|
|
60100
|
-
type: "button",
|
|
60101
|
-
"aria-label": "Collapse all folders",
|
|
60102
|
-
onClick: onCollapseAll,
|
|
60103
|
-
className: styles_module["default"].iconButton,
|
|
60104
|
-
children: /*#__PURE__*/(0,jsx_runtime.jsx)(minus_circle, {
|
|
60105
|
-
"aria-hidden": "true",
|
|
60106
|
-
focusable: "false"
|
|
60107
|
-
})
|
|
60108
|
-
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("button", {
|
|
60109
|
-
type: "button",
|
|
60110
|
-
"aria-label": "Expand all folders",
|
|
60111
|
-
onClick: onExpandAll,
|
|
60112
|
-
className: styles_module["default"].iconButton,
|
|
60113
|
-
children: /*#__PURE__*/(0,jsx_runtime.jsx)(plus_circle, {
|
|
60114
|
-
"aria-hidden": "true",
|
|
60115
|
-
focusable: "false"
|
|
60116
|
-
})
|
|
60117
|
-
}), "Project files"]
|
|
60118
|
-
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
60119
|
-
className: styles_module["default"].fileActionButtons,
|
|
60120
|
-
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("button", {
|
|
60121
|
-
type: "button",
|
|
60122
|
-
"aria-label": "Add folder",
|
|
60123
|
-
onClick: onDirCreate,
|
|
60124
|
-
className: styles_module["default"].iconButton,
|
|
60125
|
-
children: /*#__PURE__*/(0,jsx_runtime.jsx)(add_folder, {
|
|
60126
|
-
"aria-hidden": "true",
|
|
60127
|
-
focusable: "false"
|
|
60128
|
-
})
|
|
60129
|
-
}), /*#__PURE__*/(0,jsx_runtime.jsx)("button", {
|
|
60130
|
-
type: "button",
|
|
60131
|
-
"aria-label": "Add file",
|
|
60132
|
-
onClick: onFileCreate,
|
|
60133
|
-
className: styles_module["default"].iconButton,
|
|
60134
|
-
children: /*#__PURE__*/(0,jsx_runtime.jsx)(add_file, {
|
|
60135
|
-
"aria-hidden": "true",
|
|
60136
|
-
focusable: "false"
|
|
60137
|
-
})
|
|
60138
|
-
})]
|
|
60139
|
-
})]
|
|
60140
|
-
});
|
|
60141
|
-
};
|
|
60142
|
-
|
|
60143
|
-
/***/ }),
|
|
60144
|
-
|
|
60145
|
-
/***/ 92185:
|
|
60146
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
60147
|
-
|
|
60148
|
-
// ESM COMPAT FLAG
|
|
60149
|
-
__webpack_require__.r(__webpack_exports__);
|
|
60150
|
-
|
|
60151
|
-
// EXPORTS
|
|
60152
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
60153
|
-
FileTreeItem: () => (/* binding */ FileTreeItem)
|
|
60154
|
-
});
|
|
60155
|
-
|
|
60156
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
60157
|
-
var objectSpread2 = __webpack_require__(89379);
|
|
60158
|
-
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
|
60159
|
-
var classnames = __webpack_require__(46942);
|
|
60160
|
-
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
|
60161
|
-
;// ./src/components/Menus/Sidebar/FilePanel/FileTree/FileTreeItem/styles.module.scss
|
|
60162
|
-
// extracted by mini-css-extract-plugin
|
|
60163
|
-
/* harmony default export */ const styles_module = ({"grey-rpi-grey-15":"#d5d7dc","grey-rpi-grey-40":"#9497a4","grey-rpi-grey-5":"#f1f2f3","grey-rpi-grey-70":"#4a4d59","grey-rpf-white":"#fff","treeItem":"styles-module__treeItem--kbyYk","itemFocused":"styles-module__itemFocused--SmUbE","fileTreeActions":"styles-module__fileTreeActions--d42jt","level-0":"styles-module__level-0--5PVOR","level-1":"styles-module__level-1--vTMYv","level-2":"styles-module__level-2--Xx8Ie","level-3":"styles-module__level-3--ySuP4","level-4":"styles-module__level-4--7uciy","level-5":"styles-module__level-5--AEspR","level-6":"styles-module__level-6--c28W9","level-7":"styles-module__level-7--gU++Q","level-8":"styles-module__level-8--dmg5P","level-9":"styles-module__level-9--X73V0","level-10":"styles-module__level-10--VAKPI","level-11":"styles-module__level-11--5rqim","level-12":"styles-module__level-12--8cLBy","level-13":"styles-module__level-13--qlzYN","level-14":"styles-module__level-14--Q7bCT","level-15":"styles-module__level-15---1KaW","level-16":"styles-module__level-16--BCkZb","level-17":"styles-module__level-17--tM3Ht","level-18":"styles-module__level-18--GkyjF","level-19":"styles-module__level-19--kxLhM","level-20":"styles-module__level-20--sIjDn"});
|
|
60164
|
-
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
|
|
60165
|
-
var jsx_runtime = __webpack_require__(74848);
|
|
60166
|
-
;// ./src/components/Menus/Sidebar/FilePanel/FileTree/FileTreeItem/ItemEdit.jsx
|
|
60167
|
-
|
|
60168
|
-
|
|
60169
|
-
var ItemEdit = _ref => {
|
|
60170
|
-
var {
|
|
60171
|
-
item
|
|
60172
|
-
} = _ref;
|
|
60173
|
-
var handleKeyDown = e => {
|
|
60174
|
-
if (e.key === "Enter") {
|
|
60175
|
-
e.preventDefault();
|
|
60176
|
-
var tree = item.getTree();
|
|
60177
|
-
tree.completeRenaming();
|
|
60178
|
-
}
|
|
60179
|
-
};
|
|
60180
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)("input", (0,objectSpread2/* default */.A)({
|
|
60181
|
-
onKeyDown: handleKeyDown,
|
|
60182
|
-
"aria-label": "Rename file or folder"
|
|
60183
|
-
}, item.getRenameInputProps()));
|
|
60184
|
-
};
|
|
60185
|
-
// EXTERNAL MODULE: ./src/components/Menus/Sidebar/FilePanel/FileTree/FileTreeItem/ItemIcon.tsx
|
|
60186
|
-
var ItemIcon = __webpack_require__(3427);
|
|
60187
|
-
// EXTERNAL MODULE: external "react"
|
|
60188
|
-
var external_react_ = __webpack_require__(51649);
|
|
60189
|
-
;// ./src/components/Menus/Sidebar/FilePanel/FileTree/FileTreeItem/index.jsx
|
|
60190
|
-
|
|
60191
|
-
|
|
60192
|
-
|
|
60193
|
-
|
|
60194
|
-
|
|
60195
|
-
|
|
60196
|
-
|
|
60197
|
-
var FileTreeItem = _ref => {
|
|
60198
|
-
var {
|
|
60199
|
-
item
|
|
60200
|
-
} = _ref;
|
|
60201
|
-
var itemData = item.getItemData();
|
|
60202
|
-
return /*#__PURE__*/(0,external_react_.createElement)("div", (0,objectSpread2/* default */.A)((0,objectSpread2/* default */.A)({}, item.getProps()), {}, {
|
|
60203
|
-
key: item.getId(),
|
|
60204
|
-
className: classnames_default()(styles_module["level-".concat(item.getItemMeta().level)])
|
|
60205
|
-
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
60206
|
-
className: classnames_default()(styles_module.treeItem, {
|
|
60207
|
-
[styles_module.itemFocused]: item.isFocused(),
|
|
60208
|
-
[styles_module.itemExpanded]: item.isExpanded(),
|
|
60209
|
-
[styles_module.itemSelected]: item.isSelected(),
|
|
60210
|
-
[styles_module.itemFolder]: item.isFolder()
|
|
60211
|
-
}),
|
|
60212
|
-
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ItemIcon.ItemIcon, {
|
|
60213
|
-
type: itemData.type,
|
|
60214
|
-
isExpanded: item.isExpanded(),
|
|
60215
|
-
extension: itemData.extension
|
|
60216
|
-
}), item.isRenaming() ? /*#__PURE__*/(0,jsx_runtime.jsx)(ItemEdit, {
|
|
60217
|
-
item: item
|
|
60218
|
-
}) : item.getItemName()]
|
|
60219
|
-
}));
|
|
60220
|
-
};
|
|
60221
|
-
|
|
60222
|
-
/***/ }),
|
|
60223
|
-
|
|
60224
|
-
/***/ 70658:
|
|
60225
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
60226
|
-
|
|
60227
|
-
__webpack_require__.r(__webpack_exports__);
|
|
60228
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
60229
|
-
/* harmony export */ parseFileName: () => (/* binding */ parseFileName)
|
|
60230
|
-
/* harmony export */ });
|
|
60231
|
-
var parseFileName = fileName => {
|
|
60232
|
-
// Find the last dot in the filename, ignoring a leading dot (for hidden files)
|
|
60233
|
-
var lastDotIndex = fileName.lastIndexOf(".");
|
|
60234
|
-
if (lastDotIndex > 0) {
|
|
60235
|
-
// There is an extension (and it's not a hidden file like .gitignore)
|
|
60236
|
-
var name = fileName.slice(0, lastDotIndex);
|
|
60237
|
-
var extension = fileName.slice(lastDotIndex + 1);
|
|
60238
|
-
return {
|
|
60239
|
-
name,
|
|
60240
|
-
extension
|
|
60241
|
-
};
|
|
60242
|
-
} else {
|
|
60243
|
-
// No extension
|
|
60244
|
-
return {
|
|
60245
|
-
name: fileName,
|
|
60246
|
-
extension: ""
|
|
60247
|
-
};
|
|
60248
|
-
}
|
|
60249
|
-
};
|
|
60250
|
-
|
|
60251
|
-
/***/ }),
|
|
60252
|
-
|
|
60253
60470
|
/***/ 15590:
|
|
60254
60471
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
60255
60472
|
|
|
@@ -96382,6 +96599,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
96382
96599
|
// extracted by mini-css-extract-plugin
|
|
96383
96600
|
|
|
96384
96601
|
|
|
96602
|
+
/***/ }),
|
|
96603
|
+
|
|
96604
|
+
/***/ 68233:
|
|
96605
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
96606
|
+
|
|
96607
|
+
__webpack_require__.r(__webpack_exports__);
|
|
96608
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
96609
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
96610
|
+
/* harmony export */ });
|
|
96611
|
+
// extracted by mini-css-extract-plugin
|
|
96612
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"grey-rpi-grey-15":"#d5d7dc","grey-rpi-grey-40":"#9497a4","grey-rpi-grey-5":"#f1f2f3","grey-rpi-grey-70":"#4a4d59","grey-rpf-white":"#fff","row":"styles-module__row--XtAJr","treeItem":"styles-module__treeItem--kbyYk","itemContent":"styles-module__itemContent--663gn","itemFocused":"styles-module__itemFocused--SmUbE","level-0":"styles-module__level-0--5PVOR","level-1":"styles-module__level-1--vTMYv","level-2":"styles-module__level-2--Xx8Ie","level-3":"styles-module__level-3--ySuP4","level-4":"styles-module__level-4--7uciy","level-5":"styles-module__level-5--AEspR","level-6":"styles-module__level-6--c28W9","level-7":"styles-module__level-7--gU++Q","level-8":"styles-module__level-8--dmg5P","level-9":"styles-module__level-9--X73V0","level-10":"styles-module__level-10--VAKPI","level-11":"styles-module__level-11--5rqim","level-12":"styles-module__level-12--8cLBy","level-13":"styles-module__level-13--qlzYN","level-14":"styles-module__level-14--Q7bCT","level-15":"styles-module__level-15---1KaW","level-16":"styles-module__level-16--BCkZb","level-17":"styles-module__level-17--tM3Ht","level-18":"styles-module__level-18--GkyjF","level-19":"styles-module__level-19--kxLhM","level-20":"styles-module__level-20--sIjDn","itemContentRenaming":"styles-module__itemContentRenaming--vlZsc"});
|
|
96613
|
+
|
|
96385
96614
|
/***/ }),
|
|
96386
96615
|
|
|
96387
96616
|
/***/ 79473:
|
|
@@ -96392,7 +96621,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
96392
96621
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
96393
96622
|
/* harmony export */ });
|
|
96394
96623
|
// extracted by mini-css-extract-plugin
|
|
96395
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"grey-rpi-grey-15":"#d5d7dc","grey-rpi-grey-40":"#9497a4","grey-rpi-grey-5":"#f1f2f3","grey-rpi-grey-70":"#4a4d59","grey-rpf-white":"#fff","tree":"styles-module__tree--KziAJ","fileTreeActions":"styles-module__fileTreeActions--k+Wsd","iconButton":"styles-module__iconButton--6UIVe","
|
|
96624
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"grey-rpi-grey-15":"#d5d7dc","grey-rpi-grey-40":"#9497a4","grey-rpi-grey-5":"#f1f2f3","grey-rpi-grey-70":"#4a4d59","grey-rpf-white":"#fff","tree":"styles-module__tree--KziAJ","fileTreeActions":"styles-module__fileTreeActions--k+Wsd","label":"styles-module__label--WY51f","iconButton":"styles-module__iconButton--6UIVe","iconButtonFilled":"styles-module__iconButtonFilled--w2vJC","dragline":"styles-module__dragline--RXmTT"});
|
|
96625
|
+
|
|
96626
|
+
/***/ }),
|
|
96627
|
+
|
|
96628
|
+
/***/ 50879:
|
|
96629
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
96630
|
+
|
|
96631
|
+
__webpack_require__.r(__webpack_exports__);
|
|
96632
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
96633
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
96634
|
+
/* harmony export */ });
|
|
96635
|
+
// extracted by mini-css-extract-plugin
|
|
96636
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"svgIcon":"styles-module__svgIcon--eiAsQ","svgIcon-12":"styles-module__svgIcon-12--ca5dh","svgIcon-13":"styles-module__svgIcon-13--H5H9q","svgIcon-14":"styles-module__svgIcon-14--02QBx","svgIcon-15":"styles-module__svgIcon-15---h9Pf","svgIcon-16":"styles-module__svgIcon-16--xSxA4","svgIcon-17":"styles-module__svgIcon-17--Puaug","svgIcon-18":"styles-module__svgIcon-18--QewDX","svgIcon-19":"styles-module__svgIcon-19--iC7Jc","svgIcon-20":"styles-module__svgIcon-20--PrJEw","svgIcon-21":"styles-module__svgIcon-21---Hd09","svgIcon-22":"styles-module__svgIcon-22--d8Xg1","svgIcon-23":"styles-module__svgIcon-23--pGQQQ","svgIcon-24":"styles-module__svgIcon-24--IqT3u","svgIcon-25":"styles-module__svgIcon-25--PfjHm","svgIcon-26":"styles-module__svgIcon-26--cFTjX","svgIcon-27":"styles-module__svgIcon-27--MPei3","svgIcon-28":"styles-module__svgIcon-28--W7Xyd","svgIcon-29":"styles-module__svgIcon-29--EUfun","svgIcon-30":"styles-module__svgIcon-30--lQhTn","svgIcon-31":"styles-module__svgIcon-31--Lf753","svgIcon-32":"styles-module__svgIcon-32--+xBfi"});
|
|
96396
96637
|
|
|
96397
96638
|
/***/ }),
|
|
96398
96639
|
|
|
@@ -320538,8 +320779,8 @@ function HtmlRunner() {
|
|
|
320538
320779
|
};
|
|
320539
320780
|
(0, react_1.useEffect)(() => {
|
|
320540
320781
|
eventListener();
|
|
320541
|
-
dispatch((0, EditorSlice_1.loadingRunner)(ProjectTypes_1.
|
|
320542
|
-
dispatch((0, EditorSlice_1.setLoadedRunner)(ProjectTypes_1.
|
|
320782
|
+
dispatch((0, EditorSlice_1.loadingRunner)(ProjectTypes_1.ProjectType.WEB));
|
|
320783
|
+
dispatch((0, EditorSlice_1.setLoadedRunner)(ProjectTypes_1.ProjectType.WEB));
|
|
320543
320784
|
}, []);
|
|
320544
320785
|
let timeout;
|
|
320545
320786
|
(0, react_1.useEffect)(() => {
|
|
@@ -320722,7 +320963,7 @@ const PythonRunner_1 = __importDefault(__webpack_require__(74929));
|
|
|
320722
320963
|
const HtmlRunner_1 = __importDefault(__webpack_require__(86224));
|
|
320723
320964
|
const ProjectTypes_1 = __webpack_require__(27130);
|
|
320724
320965
|
const RunnerFactory = ({ projectType, outputPanels = ["text", "visual"], packageApiUrl, }) => {
|
|
320725
|
-
if (projectType === ProjectTypes_1.
|
|
320966
|
+
if (projectType === ProjectTypes_1.ProjectType.WEB) {
|
|
320726
320967
|
return (0, jsx_runtime_1.jsx)(HtmlRunner_1.default, {});
|
|
320727
320968
|
}
|
|
320728
320969
|
else {
|
|
@@ -320732,6 +320973,69 @@ const RunnerFactory = ({ projectType, outputPanels = ["text", "visual"], package
|
|
|
320732
320973
|
exports["default"] = RunnerFactory;
|
|
320733
320974
|
|
|
320734
320975
|
|
|
320976
|
+
/***/ }),
|
|
320977
|
+
|
|
320978
|
+
/***/ 42884:
|
|
320979
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
320980
|
+
|
|
320981
|
+
|
|
320982
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
320983
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
320984
|
+
};
|
|
320985
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
320986
|
+
exports.FileTreeActions = void 0;
|
|
320987
|
+
const jsx_runtime_1 = __webpack_require__(74848);
|
|
320988
|
+
const plus_circle_svg_1 = __importDefault(__webpack_require__(45494));
|
|
320989
|
+
const minus_circle_svg_1 = __importDefault(__webpack_require__(71720));
|
|
320990
|
+
const add_folder_svg_1 = __importDefault(__webpack_require__(3503));
|
|
320991
|
+
const add_file_svg_1 = __importDefault(__webpack_require__(41625));
|
|
320992
|
+
const upload_file_svg_1 = __importDefault(__webpack_require__(98201));
|
|
320993
|
+
const classnames_1 = __importDefault(__webpack_require__(46942));
|
|
320994
|
+
const styles_module_scss_1 = __importDefault(__webpack_require__(79473));
|
|
320995
|
+
const SvgIcon_1 = __webpack_require__(82917);
|
|
320996
|
+
const react_1 = __webpack_require__(51649);
|
|
320997
|
+
const FileTreeContext_1 = __webpack_require__(5323);
|
|
320998
|
+
const ProjectTypes_1 = __webpack_require__(27130);
|
|
320999
|
+
const FileTreeActions = ({ hasExpandedNodes, }) => {
|
|
321000
|
+
const { expandAll, collapseAll, createComponent } = (0, react_1.useContext)(FileTreeContext_1.TreeContext);
|
|
321001
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: styles_module_scss_1.default.fileTreeActions, children: [hasExpandedNodes ? ((0, jsx_runtime_1.jsx)("button", { type: "button", "aria-label": "Collapse all folders", onClick: collapseAll, className: styles_module_scss_1.default.iconButton, children: (0, jsx_runtime_1.jsx)(minus_circle_svg_1.default, { "aria-hidden": "true", focusable: "false" }) })) : ((0, jsx_runtime_1.jsx)("button", { type: "button", "aria-label": "Expand all folders", onClick: expandAll, className: styles_module_scss_1.default.iconButton, children: (0, jsx_runtime_1.jsx)(plus_circle_svg_1.default, { "aria-hidden": "true", focusable: "false" }) })), (0, jsx_runtime_1.jsx)("p", { className: styles_module_scss_1.default.label, children: "Project files" }), (0, jsx_runtime_1.jsx)("button", { type: "button", "aria-label": "Add folder", onClick: () => createComponent(ProjectTypes_1.ProjectComponentType.DIR), className: (0, classnames_1.default)([styles_module_scss_1.default.iconButtonFilled, styles_module_scss_1.default.iconButton]), children: (0, jsx_runtime_1.jsx)(add_folder_svg_1.default, { "aria-hidden": "true", focusable: "false" }) }), (0, jsx_runtime_1.jsx)("button", { type: "button", "aria-label": "Add file", onClick: () => createComponent(ProjectTypes_1.ProjectComponentType.FILE), className: (0, classnames_1.default)([styles_module_scss_1.default.iconButtonFilled, styles_module_scss_1.default.iconButton]), children: (0, jsx_runtime_1.jsx)(add_file_svg_1.default, { "aria-hidden": "true", focusable: "false" }) }), (0, jsx_runtime_1.jsx)("button", { type: "button", "aria-label": "Upload file", onClick: () => {
|
|
321002
|
+
console.log("Upload file clicked");
|
|
321003
|
+
}, className: (0, classnames_1.default)([styles_module_scss_1.default.iconButtonFilled, styles_module_scss_1.default.iconButton]), children: (0, jsx_runtime_1.jsx)(SvgIcon_1.SvgIcon, { SvgElement: upload_file_svg_1.default, size: 16, "aria-hidden": "true", focusable: "false" }) })] }));
|
|
321004
|
+
};
|
|
321005
|
+
exports.FileTreeActions = FileTreeActions;
|
|
321006
|
+
|
|
321007
|
+
|
|
321008
|
+
/***/ }),
|
|
321009
|
+
|
|
321010
|
+
/***/ 61576:
|
|
321011
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
321012
|
+
|
|
321013
|
+
|
|
321014
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
321015
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
321016
|
+
};
|
|
321017
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321018
|
+
exports.ItemEdit = void 0;
|
|
321019
|
+
const jsx_runtime_1 = __webpack_require__(74848);
|
|
321020
|
+
const react_1 = __webpack_require__(51649);
|
|
321021
|
+
const styles_module_scss_1 = __importDefault(__webpack_require__(68233));
|
|
321022
|
+
const FileTreeContext_1 = __webpack_require__(5323);
|
|
321023
|
+
const ItemEdit = ({ item }) => {
|
|
321024
|
+
const { cancelRenaming, completeRenaming } = (0, react_1.useContext)(FileTreeContext_1.TreeContext);
|
|
321025
|
+
const handleKeyDown = (e) => {
|
|
321026
|
+
if (e.key === "Enter") {
|
|
321027
|
+
completeRenaming();
|
|
321028
|
+
return;
|
|
321029
|
+
}
|
|
321030
|
+
if (e.key === "Escape" || e.key === "Esc") {
|
|
321031
|
+
cancelRenaming(item);
|
|
321032
|
+
}
|
|
321033
|
+
};
|
|
321034
|
+
return ((0, jsx_runtime_1.jsx)("input", { name: "Item name", className: styles_module_scss_1.default.itemRenameInput, onKeyDown: handleKeyDown, onBlurCapture: () => cancelRenaming(item), "aria-label": "Rename file or folder", ...item.getRenameInputProps() }));
|
|
321035
|
+
};
|
|
321036
|
+
exports.ItemEdit = ItemEdit;
|
|
321037
|
+
|
|
321038
|
+
|
|
320735
321039
|
/***/ }),
|
|
320736
321040
|
|
|
320737
321041
|
/***/ 3427:
|
|
@@ -320744,20 +321048,153 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
320744
321048
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
320745
321049
|
exports.ItemIcon = void 0;
|
|
320746
321050
|
const jsx_runtime_1 = __webpack_require__(74848);
|
|
320747
|
-
const
|
|
320748
|
-
const arrow_down_svg_1 = __importDefault(__webpack_require__(95489));
|
|
320749
|
-
const FileIcon_1 = __importDefault(__webpack_require__(24329));
|
|
321051
|
+
const FileIcon_1 = __importDefault(__webpack_require__(94028));
|
|
320750
321052
|
const folder_svg_1 = __importDefault(__webpack_require__(97091));
|
|
320751
321053
|
const ProjectTypes_1 = __webpack_require__(27130);
|
|
320752
|
-
const ItemIcon = ({ type,
|
|
321054
|
+
const ItemIcon = ({ type, extension }) => {
|
|
320753
321055
|
if (type === ProjectTypes_1.ProjectComponentType.DIR) {
|
|
320754
|
-
return (
|
|
321056
|
+
return (0, jsx_runtime_1.jsx)(folder_svg_1.default, {});
|
|
320755
321057
|
}
|
|
320756
321058
|
return (0, jsx_runtime_1.jsx)(FileIcon_1.default, { ext: extension });
|
|
320757
321059
|
};
|
|
320758
321060
|
exports.ItemIcon = ItemIcon;
|
|
320759
321061
|
|
|
320760
321062
|
|
|
321063
|
+
/***/ }),
|
|
321064
|
+
|
|
321065
|
+
/***/ 8153:
|
|
321066
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
321067
|
+
|
|
321068
|
+
|
|
321069
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
321070
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
321071
|
+
};
|
|
321072
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321073
|
+
exports.FileTreeItem = void 0;
|
|
321074
|
+
const jsx_runtime_1 = __webpack_require__(74848);
|
|
321075
|
+
const classnames_1 = __importDefault(__webpack_require__(46942));
|
|
321076
|
+
const arrow_right_svg_1 = __importDefault(__webpack_require__(17297));
|
|
321077
|
+
const arrow_down_svg_1 = __importDefault(__webpack_require__(95489));
|
|
321078
|
+
const styles_module_scss_1 = __importDefault(__webpack_require__(68233));
|
|
321079
|
+
const ItemEdit_1 = __webpack_require__(61576);
|
|
321080
|
+
const ItemIcon_1 = __webpack_require__(3427);
|
|
321081
|
+
const ProjectTypes_1 = __webpack_require__(27130);
|
|
321082
|
+
const treeGuides_1 = __webpack_require__(35258);
|
|
321083
|
+
const FileTreeItem = ({ item, guides, activeLevel, }) => {
|
|
321084
|
+
const itemData = item.getItemData();
|
|
321085
|
+
const level = item.getItemMeta().level;
|
|
321086
|
+
const { layers, positions, sizes } = (0, treeGuides_1.getItemGuidesStyles)(guides, activeLevel);
|
|
321087
|
+
return ((0, jsx_runtime_1.jsx)("div", { ...item.getProps(), className: (0, classnames_1.default)(styles_module_scss_1.default.row, styles_module_scss_1.default[`level-${level}`]), style: {
|
|
321088
|
+
["--guides-bg"]: layers.join(","),
|
|
321089
|
+
["--guides-pos"]: positions.join(","),
|
|
321090
|
+
["--guides-size"]: sizes.join(","),
|
|
321091
|
+
}, children: (0, jsx_runtime_1.jsxs)("div", { className: (0, classnames_1.default)(styles_module_scss_1.default.treeItem, {
|
|
321092
|
+
[styles_module_scss_1.default.itemFocused]: item.isFocused(),
|
|
321093
|
+
[styles_module_scss_1.default.itemExpanded]: item.isExpanded(),
|
|
321094
|
+
[styles_module_scss_1.default.itemSelected]: item.isSelected(),
|
|
321095
|
+
[styles_module_scss_1.default.itemFolder]: item.isFolder(),
|
|
321096
|
+
}), children: [itemData.type === ProjectTypes_1.ProjectComponentType.DIR ? (item.isExpanded() ? ((0, jsx_runtime_1.jsx)(arrow_down_svg_1.default, {})) : ((0, jsx_runtime_1.jsx)(arrow_right_svg_1.default, {}))) : null, (0, jsx_runtime_1.jsxs)("div", { className: (0, classnames_1.default)(item.isRenaming()
|
|
321097
|
+
? styles_module_scss_1.default.itemContentRenaming
|
|
321098
|
+
: styles_module_scss_1.default.itemContent), children: [(0, jsx_runtime_1.jsx)(ItemIcon_1.ItemIcon, { type: itemData.type, extension: itemData.extension }), item.isRenaming() ? (0, jsx_runtime_1.jsx)(ItemEdit_1.ItemEdit, { item: item }) : item.getItemName()] })] }) }));
|
|
321099
|
+
};
|
|
321100
|
+
exports.FileTreeItem = FileTreeItem;
|
|
321101
|
+
|
|
321102
|
+
|
|
321103
|
+
/***/ }),
|
|
321104
|
+
|
|
321105
|
+
/***/ 5323:
|
|
321106
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
321107
|
+
|
|
321108
|
+
|
|
321109
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321110
|
+
exports.TreeContext = void 0;
|
|
321111
|
+
const react_1 = __webpack_require__(51649);
|
|
321112
|
+
exports.TreeContext = (0, react_1.createContext)({});
|
|
321113
|
+
|
|
321114
|
+
|
|
321115
|
+
/***/ }),
|
|
321116
|
+
|
|
321117
|
+
/***/ 89163:
|
|
321118
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
321119
|
+
|
|
321120
|
+
|
|
321121
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321122
|
+
exports.parseFileName = void 0;
|
|
321123
|
+
const parseFileName = (fileName) => {
|
|
321124
|
+
// Find the last dot in the filename, ignoring a leading dot (for hidden files)
|
|
321125
|
+
const lastDotIndex = fileName.lastIndexOf(".");
|
|
321126
|
+
if (lastDotIndex > 0) {
|
|
321127
|
+
// There is an extension (and it's not a hidden file like .gitignore)
|
|
321128
|
+
const name = fileName.slice(0, lastDotIndex);
|
|
321129
|
+
const extension = fileName.slice(lastDotIndex + 1);
|
|
321130
|
+
return { name, extension };
|
|
321131
|
+
}
|
|
321132
|
+
else {
|
|
321133
|
+
// No extension
|
|
321134
|
+
return { name: fileName, extension: "" };
|
|
321135
|
+
}
|
|
321136
|
+
};
|
|
321137
|
+
exports.parseFileName = parseFileName;
|
|
321138
|
+
|
|
321139
|
+
|
|
321140
|
+
/***/ }),
|
|
321141
|
+
|
|
321142
|
+
/***/ 35258:
|
|
321143
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
321144
|
+
|
|
321145
|
+
|
|
321146
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321147
|
+
exports.getGuidesByIndex = getGuidesByIndex;
|
|
321148
|
+
exports.getActiveLevel = getActiveLevel;
|
|
321149
|
+
exports.getItemGuidesStyles = getItemGuidesStyles;
|
|
321150
|
+
exports.computeTreeGuides = computeTreeGuides;
|
|
321151
|
+
const GUIDES_INDENT = 20;
|
|
321152
|
+
const guidesNormalColor = "var(--normal-guide-color)";
|
|
321153
|
+
const guidesStrongColor = "var(--strong-guide-color)";
|
|
321154
|
+
function getGuidesByIndex(items) {
|
|
321155
|
+
const levels = items.map((it) => it.getItemMeta().level);
|
|
321156
|
+
return computeTreeGuides(levels);
|
|
321157
|
+
}
|
|
321158
|
+
function getActiveLevel(focusedItem) {
|
|
321159
|
+
return focusedItem?.isExpanded()
|
|
321160
|
+
? focusedItem.getItemMeta().level + 1
|
|
321161
|
+
: focusedItem?.getItemMeta().level ?? 0;
|
|
321162
|
+
}
|
|
321163
|
+
function getItemGuidesStyles(guides, activeLevel) {
|
|
321164
|
+
const activeColumn = activeLevel != null ? activeLevel - 1 : null;
|
|
321165
|
+
const layers = guides.reduce((acc, on, d) => {
|
|
321166
|
+
if (!on)
|
|
321167
|
+
return acc;
|
|
321168
|
+
const color = activeColumn === d ? guidesStrongColor : guidesNormalColor;
|
|
321169
|
+
return [...acc, `linear-gradient(${color}, ${color})`];
|
|
321170
|
+
}, []);
|
|
321171
|
+
const positions = guides.reduce((acc, on, d) => on ? [...acc, `${d * GUIDES_INDENT + GUIDES_INDENT / 2}px 0`] : acc, []);
|
|
321172
|
+
const sizes = layers.map(() => "1px 100%");
|
|
321173
|
+
return { layers, positions, sizes };
|
|
321174
|
+
}
|
|
321175
|
+
function computeTreeGuides(levels) {
|
|
321176
|
+
const cont = []; // cont[d] = draw column d for descendants
|
|
321177
|
+
const out = [];
|
|
321178
|
+
for (let i = 0; i < levels.length; i++) {
|
|
321179
|
+
const level = levels[i];
|
|
321180
|
+
// trim continuation stack when we go up
|
|
321181
|
+
cont.length = level;
|
|
321182
|
+
// this row draws all ancestor columns that are "continuing"
|
|
321183
|
+
out.push(cont.slice(0, level));
|
|
321184
|
+
// decide if THIS node has a next sibling at the same level (look ahead)
|
|
321185
|
+
let j = i + 1;
|
|
321186
|
+
while (j < levels.length && levels[j] > level)
|
|
321187
|
+
j++;
|
|
321188
|
+
const hasNextSibling = j < levels.length && levels[j] === level;
|
|
321189
|
+
// if next item is deeper, this node has visible children (expanded)
|
|
321190
|
+
const hasVisibleChildren = i + 1 < levels.length && levels[i + 1] > level;
|
|
321191
|
+
// descendants should draw a column at this level only if there are more siblings later
|
|
321192
|
+
cont[level] = hasNextSibling || hasVisibleChildren;
|
|
321193
|
+
}
|
|
321194
|
+
return out;
|
|
321195
|
+
}
|
|
321196
|
+
|
|
321197
|
+
|
|
320761
321198
|
/***/ }),
|
|
320762
321199
|
|
|
320763
321200
|
/***/ 75383:
|
|
@@ -320789,7 +321226,7 @@ const useFileTree = ({ projectFiles, onRename, updateItemData, onOpenFile, }) =>
|
|
|
320789
321226
|
onClick: (e) => {
|
|
320790
321227
|
item.primaryAction();
|
|
320791
321228
|
item.setFocused();
|
|
320792
|
-
if (!item.isFolder()) {
|
|
321229
|
+
if (!item.isFolder() && !item.isRenaming()) {
|
|
320793
321230
|
onOpenFile(item.getItemName());
|
|
320794
321231
|
return;
|
|
320795
321232
|
}
|
|
@@ -320818,7 +321255,7 @@ const useFileTree = ({ projectFiles, onRename, updateItemData, onOpenFile, }) =>
|
|
|
320818
321255
|
getItem: (itemId) => {
|
|
320819
321256
|
const item = projectFiles.find((item) => item.id === itemId);
|
|
320820
321257
|
if (!item) {
|
|
320821
|
-
throw Error(
|
|
321258
|
+
throw Error(`No item found in project files with id: ${itemId}`);
|
|
320822
321259
|
}
|
|
320823
321260
|
return item;
|
|
320824
321261
|
},
|
|
@@ -320863,7 +321300,7 @@ const react_redux_1 = __webpack_require__(14062);
|
|
|
320863
321300
|
const react_1 = __webpack_require__(51649);
|
|
320864
321301
|
const useFileTree_1 = __webpack_require__(75383);
|
|
320865
321302
|
const EditorSlice_1 = __webpack_require__(68512);
|
|
320866
|
-
const helpers_1 = __webpack_require__(
|
|
321303
|
+
const helpers_1 = __webpack_require__(89163);
|
|
320867
321304
|
const ProjectTypes_1 = __webpack_require__(27130);
|
|
320868
321305
|
const stores_1 = __webpack_require__(32132);
|
|
320869
321306
|
/** Custom hook for action handlers on top headless-tree functionality */
|
|
@@ -320872,11 +321309,12 @@ const useFileTreeActions = () => {
|
|
|
320872
321309
|
const openedFiles = (0, stores_1.useAppSelector)((state) => state.editor.openFiles);
|
|
320873
321310
|
const dispatch = (0, react_redux_1.useDispatch)();
|
|
320874
321311
|
const renameItem = (0, react_1.useCallback)((item, value) => {
|
|
320875
|
-
const { type
|
|
320876
|
-
const updateKey = projectFiles.findIndex((f) => f.id === id);
|
|
321312
|
+
const { type } = item.getItemData();
|
|
320877
321313
|
const newComponent = {
|
|
320878
321314
|
...item.getItemData(),
|
|
321315
|
+
isCreating: false,
|
|
320879
321316
|
};
|
|
321317
|
+
// TODO add validation logic
|
|
320880
321318
|
if (type === ProjectTypes_1.ProjectComponentType.FILE) {
|
|
320881
321319
|
const { name, extension } = (0, helpers_1.parseFileName)(value);
|
|
320882
321320
|
newComponent.name = name;
|
|
@@ -320886,10 +321324,12 @@ const useFileTreeActions = () => {
|
|
|
320886
321324
|
newComponent.name = value;
|
|
320887
321325
|
}
|
|
320888
321326
|
dispatch((0, EditorSlice_1.updateComponentName)({
|
|
320889
|
-
|
|
320890
|
-
|
|
321327
|
+
id: newComponent.id,
|
|
321328
|
+
name: newComponent.name,
|
|
321329
|
+
extension: newComponent.extension,
|
|
320891
321330
|
}));
|
|
320892
|
-
|
|
321331
|
+
dispatch((0, EditorSlice_1.updateProjectComponent)(newComponent));
|
|
321332
|
+
}, [dispatch]);
|
|
320893
321333
|
const openTreeFile = (0, react_1.useCallback)((fileName) => {
|
|
320894
321334
|
if (openedFiles.flat().includes(fileName)) {
|
|
320895
321335
|
const panelIndex = openedFiles
|
|
@@ -320920,6 +321360,7 @@ const useFileTreeActions = () => {
|
|
|
320920
321360
|
return;
|
|
320921
321361
|
nearestFolder = parent;
|
|
320922
321362
|
}
|
|
321363
|
+
nearestFolder.expand();
|
|
320923
321364
|
const selectedFolderData = nearestFolder.getItemData();
|
|
320924
321365
|
const newComponent = {
|
|
320925
321366
|
id: crypto.randomUUID(),
|
|
@@ -320927,19 +321368,34 @@ const useFileTreeActions = () => {
|
|
|
320927
321368
|
extension: "",
|
|
320928
321369
|
content: "",
|
|
320929
321370
|
type,
|
|
321371
|
+
isCreating: true,
|
|
320930
321372
|
};
|
|
320931
321373
|
if (type === ProjectTypes_1.ProjectComponentType.DIR) {
|
|
320932
321374
|
newComponent.children = [];
|
|
320933
321375
|
}
|
|
321376
|
+
dispatch((0, EditorSlice_1.addProjectComponent)(newComponent));
|
|
320934
321377
|
dispatch((0, EditorSlice_1.updateProjectComponent)({
|
|
320935
321378
|
...selectedFolderData,
|
|
320936
321379
|
children: [...(selectedFolderData.children ?? []), newComponent.id],
|
|
320937
321380
|
}));
|
|
320938
|
-
|
|
320939
|
-
|
|
321381
|
+
// Start renaming the new node after it is added to the tree
|
|
321382
|
+
setTimeout(() => {
|
|
321383
|
+
tree.getItemInstance(newComponent.id)?.startRenaming();
|
|
321384
|
+
}, 0);
|
|
321385
|
+
}, [dispatch, tree]);
|
|
321386
|
+
const cancelRenaming = (0, react_1.useCallback)((item) => {
|
|
321387
|
+
tree.abortRenaming();
|
|
321388
|
+
const itemData = item.getItemData();
|
|
321389
|
+
if (itemData.isCreating) {
|
|
321390
|
+
dispatch((0, EditorSlice_1.removeProjectComponent)(itemData.id));
|
|
321391
|
+
tree.rebuildTree();
|
|
321392
|
+
}
|
|
321393
|
+
}, [dispatch, tree]);
|
|
320940
321394
|
return {
|
|
320941
321395
|
createComponent,
|
|
321396
|
+
cancelRenaming,
|
|
320942
321397
|
tree,
|
|
321398
|
+
completeRenaming: tree.completeRenaming,
|
|
320943
321399
|
...restTreeProps,
|
|
320944
321400
|
};
|
|
320945
321401
|
};
|
|
@@ -320958,36 +321414,116 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
320958
321414
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
320959
321415
|
exports.FileTree = void 0;
|
|
320960
321416
|
const jsx_runtime_1 = __webpack_require__(74848);
|
|
320961
|
-
const FileTreeItem_1 = __webpack_require__(
|
|
321417
|
+
const FileTreeItem_1 = __webpack_require__(8153);
|
|
320962
321418
|
const react_1 = __webpack_require__(51649);
|
|
320963
|
-
const FileTreeActions_1 = __webpack_require__(
|
|
321419
|
+
const FileTreeActions_1 = __webpack_require__(42884);
|
|
320964
321420
|
const styles_module_scss_1 = __importDefault(__webpack_require__(79473));
|
|
320965
321421
|
const useFileTreeActions_1 = __webpack_require__(98028);
|
|
320966
|
-
const ProjectTypes_1 = __webpack_require__(27130);
|
|
320967
321422
|
const stores_1 = __webpack_require__(32132);
|
|
321423
|
+
const FileTreeContext_1 = __webpack_require__(5323);
|
|
321424
|
+
const treeGuides_1 = __webpack_require__(35258);
|
|
320968
321425
|
const FileTree = () => {
|
|
320969
321426
|
const projectFiles = (0, stores_1.useAppSelector)((state) => state.editor.project.components);
|
|
320970
321427
|
const focussedFileIndex = (0, stores_1.useAppSelector)((state) => state.editor.focussedFileIndices)[0];
|
|
320971
321428
|
const openFiles = (0, stores_1.useAppSelector)((state) => state.editor.openFiles)[0];
|
|
320972
|
-
const { createComponent, focusedItem, setFocusedItem, tree } = (0, useFileTreeActions_1.useFileTreeActions)();
|
|
321429
|
+
const { createComponent, cancelRenaming, focusedItem, setFocusedItem, tree, completeRenaming, } = (0, useFileTreeActions_1.useFileTreeActions)();
|
|
321430
|
+
const treeItems = tree
|
|
321431
|
+
.getItems()
|
|
321432
|
+
.filter((item) => projectFiles.some((f) => f.id === item.getId()));
|
|
321433
|
+
const guidesByIndex = (0, treeGuides_1.getGuidesByIndex)(treeItems);
|
|
321434
|
+
const activeLevel = (0, treeGuides_1.getActiveLevel)(treeItems.find((it) => it.getId() === focusedItem) ?? null);
|
|
321435
|
+
// Sync focused file in editor with focused item in tree
|
|
320973
321436
|
(0, react_1.useEffect)(() => {
|
|
320974
|
-
if (!openFiles ||
|
|
321437
|
+
if (!openFiles || focussedFileIndex === undefined)
|
|
320975
321438
|
return;
|
|
320976
321439
|
const focusedFileName = openFiles[focussedFileIndex];
|
|
320977
321440
|
const projectFile = projectFiles.find((f) => `${f.name}.${f.extension}` === focusedFileName);
|
|
320978
321441
|
if (projectFile && projectFile.id !== focusedItem) {
|
|
320979
321442
|
setFocusedItem(projectFile.id);
|
|
320980
321443
|
}
|
|
320981
|
-
|
|
321444
|
+
// exclude focusedItem to react only to editor changes
|
|
321445
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
321446
|
+
}, [focussedFileIndex, openFiles, projectFiles, setFocusedItem]);
|
|
320982
321447
|
(0, react_1.useEffect)(() => {
|
|
320983
321448
|
// project files changed
|
|
320984
321449
|
tree.rebuildTree();
|
|
320985
321450
|
}, [projectFiles, tree]);
|
|
320986
|
-
|
|
321451
|
+
const treeCtx = (0, react_1.useMemo)(() => ({
|
|
321452
|
+
createComponent,
|
|
321453
|
+
cancelRenaming,
|
|
321454
|
+
completeRenaming,
|
|
321455
|
+
collapseAll: tree.collapseAll,
|
|
321456
|
+
expandAll: tree.expandAll,
|
|
321457
|
+
}), [createComponent, cancelRenaming, completeRenaming, tree]);
|
|
321458
|
+
return ((0, jsx_runtime_1.jsxs)(FileTreeContext_1.TreeContext.Provider, { value: treeCtx, children: [(0, jsx_runtime_1.jsx)(FileTreeActions_1.FileTreeActions, { hasExpandedNodes: Boolean(tree.getState().expandedItems.length) }), (0, jsx_runtime_1.jsxs)("div", { ...tree.getContainerProps(), className: styles_module_scss_1.default.tree, children: [treeItems.map((item, i) => ((0, jsx_runtime_1.jsx)(FileTreeItem_1.FileTreeItem, { item: item, guides: guidesByIndex[i], activeLevel: activeLevel }, item.getId()))), (0, jsx_runtime_1.jsx)("div", { style: tree.getDragLineStyle(), className: styles_module_scss_1.default.dragline })] })] }));
|
|
320987
321459
|
};
|
|
320988
321460
|
exports.FileTree = FileTree;
|
|
320989
321461
|
|
|
320990
321462
|
|
|
321463
|
+
/***/ }),
|
|
321464
|
+
|
|
321465
|
+
/***/ 94028:
|
|
321466
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
321467
|
+
|
|
321468
|
+
|
|
321469
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
321470
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
321471
|
+
};
|
|
321472
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321473
|
+
const jsx_runtime_1 = __webpack_require__(74848);
|
|
321474
|
+
const file_svg_1 = __importDefault(__webpack_require__(70429));
|
|
321475
|
+
const python_file_svg_1 = __importDefault(__webpack_require__(90830));
|
|
321476
|
+
const html_file_svg_1 = __importDefault(__webpack_require__(59917));
|
|
321477
|
+
const css_file_svg_1 = __importDefault(__webpack_require__(66781));
|
|
321478
|
+
const csv_file_svg_1 = __importDefault(__webpack_require__(14222));
|
|
321479
|
+
const js_file_svg_1 = __importDefault(__webpack_require__(73895));
|
|
321480
|
+
const md_file_svg_1 = __importDefault(__webpack_require__(37505));
|
|
321481
|
+
const png_file_svg_1 = __importDefault(__webpack_require__(3745));
|
|
321482
|
+
const gif_file_svg_1 = __importDefault(__webpack_require__(32432));
|
|
321483
|
+
const jpg_file_svg_1 = __importDefault(__webpack_require__(19797));
|
|
321484
|
+
const mp3_file_svg_1 = __importDefault(__webpack_require__(97512));
|
|
321485
|
+
const wav_file_svg_1 = __importDefault(__webpack_require__(7384));
|
|
321486
|
+
const ProjectTypes_1 = __webpack_require__(27130);
|
|
321487
|
+
const SvgIcon_1 = __webpack_require__(82917);
|
|
321488
|
+
const extToIconMap = {
|
|
321489
|
+
[ProjectTypes_1.ProjectFileExtension.HTML]: html_file_svg_1.default,
|
|
321490
|
+
[ProjectTypes_1.ProjectFileExtension.CSS]: css_file_svg_1.default,
|
|
321491
|
+
[ProjectTypes_1.ProjectFileExtension.PY]: python_file_svg_1.default,
|
|
321492
|
+
[ProjectTypes_1.ProjectFileExtension.JS]: js_file_svg_1.default,
|
|
321493
|
+
[ProjectTypes_1.ProjectFileExtension.CSV]: csv_file_svg_1.default,
|
|
321494
|
+
[ProjectTypes_1.ProjectFileExtension.PNG]: png_file_svg_1.default,
|
|
321495
|
+
[ProjectTypes_1.ProjectFileExtension.JPG]: jpg_file_svg_1.default,
|
|
321496
|
+
[ProjectTypes_1.ProjectFileExtension.GIF]: gif_file_svg_1.default,
|
|
321497
|
+
[ProjectTypes_1.ProjectFileExtension.MD]: md_file_svg_1.default,
|
|
321498
|
+
[ProjectTypes_1.ProjectFileExtension.MP3]: mp3_file_svg_1.default,
|
|
321499
|
+
[ProjectTypes_1.ProjectFileExtension.WAV]: wav_file_svg_1.default,
|
|
321500
|
+
};
|
|
321501
|
+
const FileIcon = ({ ext = "" }) => {
|
|
321502
|
+
const Icon = extToIconMap[ext] ?? file_svg_1.default;
|
|
321503
|
+
return (0, jsx_runtime_1.jsx)(SvgIcon_1.SvgIcon, { size: 18, SvgElement: Icon });
|
|
321504
|
+
};
|
|
321505
|
+
exports["default"] = FileIcon;
|
|
321506
|
+
|
|
321507
|
+
|
|
321508
|
+
/***/ }),
|
|
321509
|
+
|
|
321510
|
+
/***/ 82917:
|
|
321511
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
321512
|
+
|
|
321513
|
+
|
|
321514
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
321515
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
321516
|
+
};
|
|
321517
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321518
|
+
exports.SvgIcon = void 0;
|
|
321519
|
+
const jsx_runtime_1 = __webpack_require__(74848);
|
|
321520
|
+
const styles_module_scss_1 = __importDefault(__webpack_require__(50879));
|
|
321521
|
+
const SvgIcon = ({ size, SvgElement, ...rest }) => {
|
|
321522
|
+
return (0, jsx_runtime_1.jsx)(SvgElement, { className: styles_module_scss_1.default[`svgIcon-${size}`], ...rest });
|
|
321523
|
+
};
|
|
321524
|
+
exports.SvgIcon = SvgIcon;
|
|
321525
|
+
|
|
321526
|
+
|
|
320991
321527
|
/***/ }),
|
|
320992
321528
|
|
|
320993
321529
|
/***/ 54095:
|
|
@@ -321036,7 +321572,7 @@ const useProject = ({ code = null, loadCache = true, identifier = null, projectD
|
|
|
321036
321572
|
loadCachedProject();
|
|
321037
321573
|
return;
|
|
321038
321574
|
}
|
|
321039
|
-
const defaultProject = projectData?.project_type === ProjectTypes_1.
|
|
321575
|
+
const defaultProject = projectData?.project_type === ProjectTypes_1.ProjectType.WEB
|
|
321040
321576
|
? (0, defaultProjects_1.createDefaultWebProject)()
|
|
321041
321577
|
: (0, defaultProjects_1.createDefaultPythonProject)();
|
|
321042
321578
|
if (!identifier) {
|
|
@@ -321054,11 +321590,11 @@ const useProject = ({ code = null, loadCache = true, identifier = null, projectD
|
|
|
321054
321590
|
}, [code, project?.identifier, cachedProject, i18n.language]);
|
|
321055
321591
|
(0, react_1.useEffect)(() => {
|
|
321056
321592
|
if (code && loading === "success") {
|
|
321057
|
-
const isWebProject = project.project_type === ProjectTypes_1.
|
|
321593
|
+
const isWebProject = project.project_type === ProjectTypes_1.ProjectType.WEB;
|
|
321058
321594
|
const defaultName = isWebProject ? "index" : "main";
|
|
321059
321595
|
const defaultExtension = isWebProject
|
|
321060
|
-
? ProjectTypes_1.
|
|
321061
|
-
: ProjectTypes_1.
|
|
321596
|
+
? ProjectTypes_1.ProjectFileExtension.HTML
|
|
321597
|
+
: ProjectTypes_1.ProjectFileExtension.PY;
|
|
321062
321598
|
const mainComponent = project.components?.find((component) => component.name === defaultName &&
|
|
321063
321599
|
component.extension === defaultExtension) || {
|
|
321064
321600
|
name: defaultName,
|
|
@@ -321069,7 +321605,7 @@ const useProject = ({ code = null, loadCache = true, identifier = null, projectD
|
|
|
321069
321605
|
component.extension === defaultExtension)) || [];
|
|
321070
321606
|
const updatedProject = {
|
|
321071
321607
|
...project,
|
|
321072
|
-
project_type: project.project_type || ProjectTypes_1.
|
|
321608
|
+
project_type: project.project_type || ProjectTypes_1.ProjectType.PYTHON,
|
|
321073
321609
|
components: [
|
|
321074
321610
|
...otherComponents,
|
|
321075
321611
|
{
|
|
@@ -321093,7 +321629,7 @@ exports.U = useProject;
|
|
|
321093
321629
|
|
|
321094
321630
|
var _a;
|
|
321095
321631
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321096
|
-
exports.setErrorDetails = exports.disableTheming = exports.hideSidebar = exports.showSidebar = exports.
|
|
321632
|
+
exports.setErrorDetails = exports.disableTheming = exports.hideSidebar = exports.showSidebar = exports.closeNewFileModal = exports.showNewFileModal = exports.closeErrorModal = exports.showErrorModal = exports.closeBetaModal = exports.showBetaModal = exports.updateProjectName = exports.updateProjectComponent = exports.updateComponentName = exports.triggerSave = exports.triggerDraw = exports.triggerCodeRun = exports.stopDraw = exports.stopCodeRun = exports.setReadOnly = exports.setProject = exports.setHasShownSavePrompt = exports.setNameError = exports.setIsSplitView = exports.setError = exports.setCascadeUpdate = exports.setBrowserPreview = exports.setIsOutputOnly = exports.setEmbedded = exports.setPage = exports.setFocussedFileIndex = exports.addFilePanel = exports.setOpenFiles = exports.openFile = exports.closeFile = exports.expireJustLoaded = exports.codeRunHandled = exports.resetRunner = exports.setLoadedRunner = exports.loadingRunner = exports.removeProjectComponent = exports.addProjectComponent = exports.resetState = exports.EditorSlice = exports.editorInitialState = void 0;
|
|
321097
321633
|
const toolkit_1 = __webpack_require__(12069);
|
|
321098
321634
|
const ProjectTypes_1 = __webpack_require__(27130);
|
|
321099
321635
|
exports.editorInitialState = {
|
|
@@ -321131,7 +321667,6 @@ exports.editorInitialState = {
|
|
|
321131
321667
|
betaModalShowing: false,
|
|
321132
321668
|
errorModalShowing: false,
|
|
321133
321669
|
newFileModalShowing: false,
|
|
321134
|
-
renameFileModalShowing: false,
|
|
321135
321670
|
sidebarShowing: true,
|
|
321136
321671
|
modals: {},
|
|
321137
321672
|
errorDetails: {},
|
|
@@ -321180,10 +321715,15 @@ exports.EditorSlice = (0, toolkit_1.createSlice)({
|
|
|
321180
321715
|
content: action.payload.content || "",
|
|
321181
321716
|
id: action.payload.id,
|
|
321182
321717
|
type: action.payload.type,
|
|
321718
|
+
isCreating: action.payload.isCreating || false,
|
|
321183
321719
|
};
|
|
321184
321720
|
state.project.components.push(newComponent);
|
|
321185
321721
|
state.saving = "idle";
|
|
321186
321722
|
},
|
|
321723
|
+
removeProjectComponent: (state, action) => {
|
|
321724
|
+
state.project.components = state.project.components.filter((component) => component.id !== action.payload);
|
|
321725
|
+
state.saving = "idle";
|
|
321726
|
+
},
|
|
321187
321727
|
setPage: (state, action) => {
|
|
321188
321728
|
state.page = action.payload;
|
|
321189
321729
|
},
|
|
@@ -321210,7 +321750,7 @@ exports.EditorSlice = (0, toolkit_1.createSlice)({
|
|
|
321210
321750
|
state.loading = "success";
|
|
321211
321751
|
state.openFiles = [[]];
|
|
321212
321752
|
const firstPanelIndex = 0;
|
|
321213
|
-
if (state.project.project_type === ProjectTypes_1.
|
|
321753
|
+
if (state.project.project_type === ProjectTypes_1.ProjectType.WEB) {
|
|
321214
321754
|
state.openFiles[firstPanelIndex].push("index.html");
|
|
321215
321755
|
}
|
|
321216
321756
|
else {
|
|
@@ -321231,7 +321771,7 @@ exports.EditorSlice = (0, toolkit_1.createSlice)({
|
|
|
321231
321771
|
state.saveTriggered = true;
|
|
321232
321772
|
},
|
|
321233
321773
|
updateProjectComponent: (state, action) => {
|
|
321234
|
-
const { id, extension, name: fileName, content, cascadeUpdate, children, } = action.payload;
|
|
321774
|
+
const { id, extension, name: fileName, content, cascadeUpdate, children, isCreating, } = action.payload;
|
|
321235
321775
|
const mapped = state.project.components.map((item) => {
|
|
321236
321776
|
if ((id && item.id !== id) ||
|
|
321237
321777
|
item.extension !== extension ||
|
|
@@ -321240,10 +321780,10 @@ exports.EditorSlice = (0, toolkit_1.createSlice)({
|
|
|
321240
321780
|
}
|
|
321241
321781
|
// Only include children if the item is a directory
|
|
321242
321782
|
if (item.type === ProjectTypes_1.ProjectComponentType.DIR) {
|
|
321243
|
-
return { ...item,
|
|
321783
|
+
return { ...item, children, isCreating };
|
|
321244
321784
|
}
|
|
321245
321785
|
else {
|
|
321246
|
-
return { ...item, content };
|
|
321786
|
+
return { ...item, content, isCreating };
|
|
321247
321787
|
}
|
|
321248
321788
|
});
|
|
321249
321789
|
state.project.components = mapped;
|
|
@@ -321254,20 +321794,24 @@ exports.EditorSlice = (0, toolkit_1.createSlice)({
|
|
|
321254
321794
|
state.saving = "idle";
|
|
321255
321795
|
},
|
|
321256
321796
|
updateComponentName: (state, action) => {
|
|
321257
|
-
const
|
|
321797
|
+
const id = action.payload.id;
|
|
321258
321798
|
const name = action.payload.name;
|
|
321259
321799
|
const extension = action.payload.extension;
|
|
321260
|
-
const oldComponent = state.project.components
|
|
321261
|
-
|
|
321800
|
+
const oldComponent = state.project.components.find((component) => component.id === id);
|
|
321801
|
+
if (!oldComponent) {
|
|
321802
|
+
console.error(`No component found with id: ${id}`);
|
|
321803
|
+
return;
|
|
321804
|
+
}
|
|
321805
|
+
const oldFullName = oldComponent.extension
|
|
321262
321806
|
? `${oldComponent.name}.${oldComponent.extension}`
|
|
321263
321807
|
: oldComponent.name;
|
|
321264
321808
|
oldComponent.name = name;
|
|
321265
321809
|
oldComponent.extension = extension;
|
|
321266
|
-
if (state.openFiles.flat().includes(
|
|
321810
|
+
if (state.openFiles.flat().includes(oldFullName)) {
|
|
321267
321811
|
const panelIndex = state.openFiles
|
|
321268
|
-
.map((fileNames) => fileNames.includes(
|
|
321812
|
+
.map((fileNames) => fileNames.includes(oldFullName))
|
|
321269
321813
|
.indexOf(true);
|
|
321270
|
-
const fileIndex = state.openFiles[panelIndex].indexOf(
|
|
321814
|
+
const fileIndex = state.openFiles[panelIndex].indexOf(oldFullName);
|
|
321271
321815
|
if (state.openFiles[panelIndex]) {
|
|
321272
321816
|
state.openFiles[panelIndex][fileIndex] = `${name}.${extension}`;
|
|
321273
321817
|
}
|
|
@@ -321331,14 +321875,6 @@ exports.EditorSlice = (0, toolkit_1.createSlice)({
|
|
|
321331
321875
|
state.newFileModalShowing = false;
|
|
321332
321876
|
state.nameError = "";
|
|
321333
321877
|
},
|
|
321334
|
-
showRenameFileModal: (state, action) => {
|
|
321335
|
-
state.modals.renameFile = action.payload;
|
|
321336
|
-
state.renameFileModalShowing = true;
|
|
321337
|
-
},
|
|
321338
|
-
closeRenameFileModal: (state) => {
|
|
321339
|
-
state.renameFileModalShowing = false;
|
|
321340
|
-
state.nameError = "";
|
|
321341
|
-
},
|
|
321342
321878
|
showSidebar: (state) => {
|
|
321343
321879
|
state.sidebarShowing = true;
|
|
321344
321880
|
},
|
|
@@ -321354,7 +321890,7 @@ exports.EditorSlice = (0, toolkit_1.createSlice)({
|
|
|
321354
321890
|
},
|
|
321355
321891
|
});
|
|
321356
321892
|
// Action creators are generated for each case reducer function
|
|
321357
|
-
_a = exports.EditorSlice.actions, exports.resetState = _a.resetState, exports.addProjectComponent = _a.addProjectComponent, exports.loadingRunner = _a.loadingRunner, exports.setLoadedRunner = _a.setLoadedRunner, exports.resetRunner = _a.resetRunner, exports.codeRunHandled = _a.codeRunHandled, exports.expireJustLoaded = _a.expireJustLoaded, exports.closeFile = _a.closeFile, exports.openFile = _a.openFile, exports.setOpenFiles = _a.setOpenFiles, exports.addFilePanel = _a.addFilePanel, exports.setFocussedFileIndex = _a.setFocussedFileIndex, exports.setPage = _a.setPage, exports.setEmbedded = _a.setEmbedded, exports.setIsOutputOnly = _a.setIsOutputOnly, exports.setBrowserPreview = _a.setBrowserPreview, exports.setCascadeUpdate = _a.setCascadeUpdate, exports.setError = _a.setError, exports.setIsSplitView = _a.setIsSplitView, exports.setNameError = _a.setNameError, exports.setHasShownSavePrompt = _a.setHasShownSavePrompt, exports.setProject = _a.setProject, exports.setReadOnly = _a.setReadOnly, exports.stopCodeRun = _a.stopCodeRun, exports.stopDraw = _a.stopDraw, exports.triggerCodeRun = _a.triggerCodeRun, exports.triggerDraw = _a.triggerDraw, exports.triggerSave = _a.triggerSave, exports.updateComponentName = _a.updateComponentName, exports.updateProjectComponent = _a.updateProjectComponent, exports.updateProjectName = _a.updateProjectName, exports.showBetaModal = _a.showBetaModal, exports.closeBetaModal = _a.closeBetaModal, exports.showErrorModal = _a.showErrorModal, exports.closeErrorModal = _a.closeErrorModal, exports.showNewFileModal = _a.showNewFileModal, exports.closeNewFileModal = _a.closeNewFileModal, exports.
|
|
321893
|
+
_a = exports.EditorSlice.actions, exports.resetState = _a.resetState, exports.addProjectComponent = _a.addProjectComponent, exports.removeProjectComponent = _a.removeProjectComponent, exports.loadingRunner = _a.loadingRunner, exports.setLoadedRunner = _a.setLoadedRunner, exports.resetRunner = _a.resetRunner, exports.codeRunHandled = _a.codeRunHandled, exports.expireJustLoaded = _a.expireJustLoaded, exports.closeFile = _a.closeFile, exports.openFile = _a.openFile, exports.setOpenFiles = _a.setOpenFiles, exports.addFilePanel = _a.addFilePanel, exports.setFocussedFileIndex = _a.setFocussedFileIndex, exports.setPage = _a.setPage, exports.setEmbedded = _a.setEmbedded, exports.setIsOutputOnly = _a.setIsOutputOnly, exports.setBrowserPreview = _a.setBrowserPreview, exports.setCascadeUpdate = _a.setCascadeUpdate, exports.setError = _a.setError, exports.setIsSplitView = _a.setIsSplitView, exports.setNameError = _a.setNameError, exports.setHasShownSavePrompt = _a.setHasShownSavePrompt, exports.setProject = _a.setProject, exports.setReadOnly = _a.setReadOnly, exports.stopCodeRun = _a.stopCodeRun, exports.stopDraw = _a.stopDraw, exports.triggerCodeRun = _a.triggerCodeRun, exports.triggerDraw = _a.triggerDraw, exports.triggerSave = _a.triggerSave, exports.updateComponentName = _a.updateComponentName, exports.updateProjectComponent = _a.updateProjectComponent, exports.updateProjectName = _a.updateProjectName, exports.showBetaModal = _a.showBetaModal, exports.closeBetaModal = _a.closeBetaModal, exports.showErrorModal = _a.showErrorModal, exports.closeErrorModal = _a.closeErrorModal, exports.showNewFileModal = _a.showNewFileModal, exports.closeNewFileModal = _a.closeNewFileModal, exports.showSidebar = _a.showSidebar, exports.hideSidebar = _a.hideSidebar, exports.disableTheming = _a.disableTheming, exports.setErrorDetails = _a.setErrorDetails;
|
|
321358
321894
|
exports["default"] = exports.EditorSlice.reducer;
|
|
321359
321895
|
|
|
321360
321896
|
|
|
@@ -321450,63 +321986,31 @@ exports["default"] = store;
|
|
|
321450
321986
|
|
|
321451
321987
|
|
|
321452
321988
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321453
|
-
exports.
|
|
321989
|
+
exports.ProjectFileExtension = exports.ProjectType = exports.ProjectComponentType = void 0;
|
|
321454
321990
|
var ProjectComponentType;
|
|
321455
321991
|
(function (ProjectComponentType) {
|
|
321456
321992
|
ProjectComponentType["FILE"] = "file";
|
|
321457
321993
|
ProjectComponentType["DIR"] = "dir";
|
|
321458
321994
|
})(ProjectComponentType || (exports.ProjectComponentType = ProjectComponentType = {}));
|
|
321459
|
-
var
|
|
321460
|
-
(function (
|
|
321461
|
-
|
|
321462
|
-
|
|
321463
|
-
})(
|
|
321464
|
-
var
|
|
321465
|
-
(function (
|
|
321466
|
-
|
|
321467
|
-
|
|
321468
|
-
|
|
321469
|
-
|
|
321470
|
-
|
|
321471
|
-
|
|
321472
|
-
|
|
321473
|
-
|
|
321474
|
-
|
|
321475
|
-
|
|
321476
|
-
|
|
321477
|
-
|
|
321478
|
-
/***/ }),
|
|
321479
|
-
|
|
321480
|
-
/***/ 24329:
|
|
321481
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
321482
|
-
|
|
321483
|
-
|
|
321484
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
321485
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
321486
|
-
};
|
|
321487
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321488
|
-
const jsx_runtime_1 = __webpack_require__(74848);
|
|
321489
|
-
const file_svg_1 = __importDefault(__webpack_require__(70429));
|
|
321490
|
-
const python_file_svg_1 = __importDefault(__webpack_require__(90830));
|
|
321491
|
-
const html_file_svg_1 = __importDefault(__webpack_require__(59917));
|
|
321492
|
-
const css_file_svg_1 = __importDefault(__webpack_require__(66781));
|
|
321493
|
-
const csv_file_svg_1 = __importDefault(__webpack_require__(14222));
|
|
321494
|
-
const ProjectTypes_1 = __webpack_require__(27130);
|
|
321495
|
-
const FileIcon = ({ ext }) => {
|
|
321496
|
-
switch (ext) {
|
|
321497
|
-
case ProjectTypes_1.ProjectFileExtensions.PY:
|
|
321498
|
-
return (0, jsx_runtime_1.jsx)(python_file_svg_1.default, { "data-testid": "pythonIcon" });
|
|
321499
|
-
case ProjectTypes_1.ProjectFileExtensions.HTML:
|
|
321500
|
-
return (0, jsx_runtime_1.jsx)(html_file_svg_1.default, { "data-testid": "htmlIcon" });
|
|
321501
|
-
case ProjectTypes_1.ProjectFileExtensions.CSS:
|
|
321502
|
-
return (0, jsx_runtime_1.jsx)(css_file_svg_1.default, { "data-testid": "cssIcon" });
|
|
321503
|
-
case ProjectTypes_1.ProjectFileExtensions.CSV:
|
|
321504
|
-
return (0, jsx_runtime_1.jsx)(csv_file_svg_1.default, { "data-testid": "csvIcon" });
|
|
321505
|
-
default:
|
|
321506
|
-
return (0, jsx_runtime_1.jsx)(file_svg_1.default, { "data-testid": "defaultFileIcon" });
|
|
321507
|
-
}
|
|
321508
|
-
};
|
|
321509
|
-
exports["default"] = FileIcon;
|
|
321995
|
+
var ProjectType;
|
|
321996
|
+
(function (ProjectType) {
|
|
321997
|
+
ProjectType["WEB"] = "web";
|
|
321998
|
+
ProjectType["PYTHON"] = "python";
|
|
321999
|
+
})(ProjectType || (exports.ProjectType = ProjectType = {}));
|
|
322000
|
+
var ProjectFileExtension;
|
|
322001
|
+
(function (ProjectFileExtension) {
|
|
322002
|
+
ProjectFileExtension["HTML"] = "html";
|
|
322003
|
+
ProjectFileExtension["CSS"] = "css";
|
|
322004
|
+
ProjectFileExtension["PY"] = "py";
|
|
322005
|
+
ProjectFileExtension["JS"] = "js";
|
|
322006
|
+
ProjectFileExtension["CSV"] = "csv";
|
|
322007
|
+
ProjectFileExtension["PNG"] = "png";
|
|
322008
|
+
ProjectFileExtension["JPG"] = "jpg";
|
|
322009
|
+
ProjectFileExtension["GIF"] = "gif";
|
|
322010
|
+
ProjectFileExtension["MD"] = "md";
|
|
322011
|
+
ProjectFileExtension["MP3"] = "mp3";
|
|
322012
|
+
ProjectFileExtension["WAV"] = "wav";
|
|
322013
|
+
})(ProjectFileExtension || (exports.ProjectFileExtension = ProjectFileExtension = {}));
|
|
321510
322014
|
|
|
321511
322015
|
|
|
321512
322016
|
/***/ }),
|
|
@@ -321521,21 +322025,21 @@ exports.U = void 0;
|
|
|
321521
322025
|
const EditorSlice_1 = __webpack_require__(68512);
|
|
321522
322026
|
const ProjectTypes_1 = __webpack_require__(27130);
|
|
321523
322027
|
const allowedExtensionsString_1 = __webpack_require__(79608);
|
|
321524
|
-
const allowedCommonExtensions = [ProjectTypes_1.
|
|
322028
|
+
const allowedCommonExtensions = [ProjectTypes_1.ProjectFileExtension.MD];
|
|
321525
322029
|
const allowedExtensions = {
|
|
321526
|
-
[ProjectTypes_1.
|
|
322030
|
+
[ProjectTypes_1.ProjectType.PYTHON]: [
|
|
321527
322031
|
...allowedCommonExtensions,
|
|
321528
|
-
ProjectTypes_1.
|
|
321529
|
-
ProjectTypes_1.
|
|
322032
|
+
ProjectTypes_1.ProjectFileExtension.PY,
|
|
322033
|
+
ProjectTypes_1.ProjectFileExtension.CSV,
|
|
321530
322034
|
],
|
|
321531
|
-
[ProjectTypes_1.
|
|
322035
|
+
[ProjectTypes_1.ProjectType.WEB]: [
|
|
321532
322036
|
...allowedCommonExtensions,
|
|
321533
|
-
ProjectTypes_1.
|
|
321534
|
-
ProjectTypes_1.
|
|
321535
|
-
ProjectTypes_1.
|
|
321536
|
-
ProjectTypes_1.
|
|
321537
|
-
ProjectTypes_1.
|
|
321538
|
-
ProjectTypes_1.
|
|
322037
|
+
ProjectTypes_1.ProjectFileExtension.HTML,
|
|
322038
|
+
ProjectTypes_1.ProjectFileExtension.CSS,
|
|
322039
|
+
ProjectTypes_1.ProjectFileExtension.JS,
|
|
322040
|
+
ProjectTypes_1.ProjectFileExtension.PNG,
|
|
322041
|
+
ProjectTypes_1.ProjectFileExtension.JPG,
|
|
322042
|
+
ProjectTypes_1.ProjectFileExtension.GIF,
|
|
321539
322043
|
],
|
|
321540
322044
|
};
|
|
321541
322045
|
const reservedFileNames = ["INSTRUCTIONS.md"];
|
|
@@ -321551,7 +322055,7 @@ const isValidFileName = (fileName, projectType, componentNames) => {
|
|
|
321551
322055
|
return false;
|
|
321552
322056
|
}
|
|
321553
322057
|
};
|
|
321554
|
-
const validateFileName = (fileName, projectType = ProjectTypes_1.
|
|
322058
|
+
const validateFileName = (fileName, projectType = ProjectTypes_1.ProjectType.PYTHON, componentNames, dispatch, t, callback, currentFileName = null) => {
|
|
321555
322059
|
const extension = fileName.split(".").slice(1).join(".");
|
|
321556
322060
|
if (isValidFileName(fileName, projectType, componentNames) ||
|
|
321557
322061
|
(currentFileName && fileName === currentFileName)) {
|
|
@@ -321590,14 +322094,14 @@ const ProjectTypes_1 = __webpack_require__(27130);
|
|
|
321590
322094
|
const createDefaultPythonProject = () => {
|
|
321591
322095
|
const mainComponent = {
|
|
321592
322096
|
id: crypto.randomUUID(),
|
|
321593
|
-
extension: ProjectTypes_1.
|
|
322097
|
+
extension: ProjectTypes_1.ProjectFileExtension.PY,
|
|
321594
322098
|
name: "main",
|
|
321595
322099
|
content: "",
|
|
321596
322100
|
default: true,
|
|
321597
322101
|
type: "file",
|
|
321598
322102
|
};
|
|
321599
322103
|
return {
|
|
321600
|
-
project_type: ProjectTypes_1.
|
|
322104
|
+
project_type: ProjectTypes_1.ProjectType.PYTHON,
|
|
321601
322105
|
name: "untitled",
|
|
321602
322106
|
locale: null,
|
|
321603
322107
|
components: [
|
|
@@ -321614,20 +322118,20 @@ exports.createDefaultPythonProject = createDefaultPythonProject;
|
|
|
321614
322118
|
const createDefaultWebProject = () => {
|
|
321615
322119
|
const indexComponent = {
|
|
321616
322120
|
id: crypto.randomUUID(),
|
|
321617
|
-
extension: ProjectTypes_1.
|
|
322121
|
+
extension: ProjectTypes_1.ProjectFileExtension.HTML,
|
|
321618
322122
|
name: "index",
|
|
321619
322123
|
content: "",
|
|
321620
322124
|
type: "file",
|
|
321621
322125
|
};
|
|
321622
322126
|
const styleComponent = {
|
|
321623
322127
|
id: crypto.randomUUID(),
|
|
321624
|
-
extension: ProjectTypes_1.
|
|
322128
|
+
extension: ProjectTypes_1.ProjectFileExtension.CSS,
|
|
321625
322129
|
name: "style",
|
|
321626
322130
|
content: "",
|
|
321627
322131
|
type: "file",
|
|
321628
322132
|
};
|
|
321629
322133
|
return {
|
|
321630
|
-
project_type: ProjectTypes_1.
|
|
322134
|
+
project_type: ProjectTypes_1.ProjectType.WEB,
|
|
321631
322135
|
name: "untitled",
|
|
321632
322136
|
components: [
|
|
321633
322137
|
indexComponent,
|
|
@@ -342707,7 +343211,7 @@ var SidebarPanel = props => {
|
|
|
342707
343211
|
Footer,
|
|
342708
343212
|
className,
|
|
342709
343213
|
buttons = [],
|
|
342710
|
-
defaultWidth = "
|
|
343214
|
+
defaultWidth = "270px"
|
|
342711
343215
|
} = props;
|
|
342712
343216
|
var isMobile = (0,react_responsive.useMediaQuery)({
|
|
342713
343217
|
query: mediaQueryBreakpoints.MOBILE_MEDIA_QUERY
|
|
@@ -342755,11 +343259,12 @@ var FileTree = __webpack_require__(88675);
|
|
|
342755
343259
|
|
|
342756
343260
|
var FilePanel = () => {
|
|
342757
343261
|
var project = (0,external_react_redux_.useSelector)(state => state.editor.project);
|
|
343262
|
+
var projectComponents = (0,external_react_redux_.useSelector)(state => state.editor.project.components);
|
|
342758
343263
|
if (!project || !project.components) {
|
|
342759
343264
|
return null;
|
|
342760
343265
|
}
|
|
342761
343266
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(Sidebar_SidebarPanel, {
|
|
342762
|
-
children: /*#__PURE__*/(0,jsx_runtime.jsx)(FileTree.FileTree, {})
|
|
343267
|
+
children: (projectComponents === null || projectComponents === void 0 ? void 0 : projectComponents.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(FileTree.FileTree, {})
|
|
342763
343268
|
});
|
|
342764
343269
|
};
|
|
342765
343270
|
/* harmony default export */ const FilePanel_FilePanel = (FilePanel);
|
|
@@ -385238,68 +385743,6 @@ var ErrorModal = _ref => {
|
|
|
385238
385743
|
});
|
|
385239
385744
|
};
|
|
385240
385745
|
/* harmony default export */ const Modals_ErrorModal = (ErrorModal);
|
|
385241
|
-
;// ./src/components/Modals/RenameFileModal.jsx
|
|
385242
|
-
|
|
385243
|
-
|
|
385244
|
-
|
|
385245
|
-
|
|
385246
|
-
|
|
385247
|
-
|
|
385248
|
-
|
|
385249
|
-
|
|
385250
|
-
|
|
385251
|
-
var RenameFileModal = () => {
|
|
385252
|
-
var dispatch = (0,external_react_redux_.useDispatch)();
|
|
385253
|
-
var {
|
|
385254
|
-
t
|
|
385255
|
-
} = (0,es.useTranslation)();
|
|
385256
|
-
var projectType = (0,external_react_redux_.useSelector)(state => state.editor.project.project_type);
|
|
385257
|
-
var projectComponents = (0,external_react_redux_.useSelector)(state => state.editor.project.components);
|
|
385258
|
-
var isModalOpen = (0,external_react_redux_.useSelector)(state => state.editor.renameFileModalShowing);
|
|
385259
|
-
var {
|
|
385260
|
-
name: currentName,
|
|
385261
|
-
ext: currentExtension,
|
|
385262
|
-
fileKey
|
|
385263
|
-
} = (0,external_react_redux_.useSelector)(state => state.editor.modals.renameFile);
|
|
385264
|
-
var componentNames = projectComponents.map(component => "".concat(component.name, ".").concat(component.extension));
|
|
385265
|
-
var closeModal = () => dispatch((0,EditorSlice.closeRenameFileModal)());
|
|
385266
|
-
var [fileName, setFileName] = (0,external_react_.useState)("".concat(currentName, ".").concat(currentExtension));
|
|
385267
|
-
var renameComponent = () => {
|
|
385268
|
-
var name = fileName.split(".")[0];
|
|
385269
|
-
var extension = fileName.split(".").slice(1).join(".");
|
|
385270
|
-
(0,componentNameValidation/* validateFileName */.U)(fileName, projectType, componentNames, dispatch, t, () => {
|
|
385271
|
-
dispatch((0,EditorSlice.updateComponentName)({
|
|
385272
|
-
key: fileKey,
|
|
385273
|
-
extension: extension,
|
|
385274
|
-
name: name
|
|
385275
|
-
}));
|
|
385276
|
-
closeModal();
|
|
385277
|
-
}, "".concat(currentName, ".").concat(currentExtension));
|
|
385278
|
-
};
|
|
385279
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(Modals_InputModal, {
|
|
385280
|
-
isOpen: isModalOpen,
|
|
385281
|
-
closeModal: closeModal,
|
|
385282
|
-
withCloseButton: true,
|
|
385283
|
-
heading: t("filePanel.renameFileModal.heading"),
|
|
385284
|
-
inputs: [{
|
|
385285
|
-
label: t("filePanel.renameFileModal.inputLabel"),
|
|
385286
|
-
value: fileName,
|
|
385287
|
-
setValue: setFileName,
|
|
385288
|
-
validateName: true
|
|
385289
|
-
}],
|
|
385290
|
-
defaultCallback: renameComponent,
|
|
385291
|
-
buttons: [/*#__PURE__*/(0,jsx_runtime.jsx)(Button/* default */.A, {
|
|
385292
|
-
className: "btn--primary",
|
|
385293
|
-
buttonText: t("filePanel.renameFileModal.save"),
|
|
385294
|
-
onClickHandler: renameComponent
|
|
385295
|
-
}, "rename"), /*#__PURE__*/(0,jsx_runtime.jsx)(Button/* default */.A, {
|
|
385296
|
-
className: "btn--secondary",
|
|
385297
|
-
buttonText: t("filePanel.renameFileModal.cancel"),
|
|
385298
|
-
onClickHandler: closeModal
|
|
385299
|
-
}, "close")]
|
|
385300
|
-
});
|
|
385301
|
-
};
|
|
385302
|
-
/* harmony default export */ const Modals_RenameFileModal = (RenameFileModal);
|
|
385303
385746
|
;// ./src/utils/ToastCloseButton.jsx
|
|
385304
385747
|
|
|
385305
385748
|
|
|
@@ -385350,7 +385793,6 @@ var ToastCloseButton = _ref => {
|
|
|
385350
385793
|
|
|
385351
385794
|
|
|
385352
385795
|
|
|
385353
|
-
|
|
385354
385796
|
|
|
385355
385797
|
var WebComponentLoader = props => {
|
|
385356
385798
|
var {
|
|
@@ -385382,7 +385824,6 @@ var WebComponentLoader = props => {
|
|
|
385382
385824
|
var modals = (0,external_react_redux_.useSelector)(state => state.editor.modals);
|
|
385383
385825
|
var errorModalShowing = (0,external_react_redux_.useSelector)(state => state.editor.errorModalShowing);
|
|
385384
385826
|
var newFileModalShowing = (0,external_react_redux_.useSelector)(state => state.editor.newFileModalShowing);
|
|
385385
|
-
var renameFileModalShowing = (0,external_react_redux_.useSelector)(state => state.editor.renameFileModalShowing);
|
|
385386
385827
|
var {
|
|
385387
385828
|
i18n
|
|
385388
385829
|
} = (0,es.useTranslation)();
|
|
@@ -385457,7 +385898,7 @@ var WebComponentLoader = props => {
|
|
|
385457
385898
|
outputPanels: outputPanels,
|
|
385458
385899
|
outputSplitView: outputSplitView,
|
|
385459
385900
|
packageApiUrl: packageApiUrl
|
|
385460
|
-
}), errorModalShowing && /*#__PURE__*/(0,jsx_runtime.jsx)(Modals_ErrorModal, {}), newFileModalShowing && /*#__PURE__*/(0,jsx_runtime.jsx)(Modals_NewFileModal, {})
|
|
385901
|
+
}), errorModalShowing && /*#__PURE__*/(0,jsx_runtime.jsx)(Modals_ErrorModal, {}), newFileModalShowing && /*#__PURE__*/(0,jsx_runtime.jsx)(Modals_NewFileModal, {})]
|
|
385461
385902
|
})
|
|
385462
385903
|
})
|
|
385463
385904
|
});
|