mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 03:15:16 +00:00
1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"ast":null,"code":"\"use strict\";\n\nvar __makeTemplateObject = this && this.__makeTemplateObject || function (cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n\n return cooked;\n};\n\nvar __extends = this && this.__extends || function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n };\n\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\n\nvar __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function () {\n return m[k];\n }\n });\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nvar __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function (o, v) {\n o[\"default\"] = v;\n});\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n\n __setModuleDefault(result, mod);\n\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/** @jsx jsx */\n\nvar React = __importStar(require(\"react\"));\n\nvar core_1 = require(\"@emotion/core\");\n\nvar helpers_1 = require(\"./helpers\");\n\nvar clip = core_1.keyframes(templateObject_1 || (templateObject_1 = __makeTemplateObject([\"\\n 0% {transform: rotate(0deg) scale(1)}\\n 50% {transform: rotate(180deg) scale(0.8)}\\n 100% {transform: rotate(360deg) scale(1)}\\n\"], [\"\\n 0% {transform: rotate(0deg) scale(1)}\\n 50% {transform: rotate(180deg) scale(0.8)}\\n 100% {transform: rotate(360deg) scale(1)}\\n\"])));\n\nvar Loader = function (_super) {\n __extends(Loader, _super);\n\n function Loader() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.style = function () {\n var _a = _this.props,\n size = _a.size,\n color = _a.color;\n return core_1.css(templateObject_2 || (templateObject_2 = __makeTemplateObject([\"\\n background: transparent !important;\\n width: \", \";\\n height: \", \";\\n border-radius: 100%;\\n border: 2px solid;\\n border-color: \", \";\\n border-bottom-color: transparent;\\n display: inline-block;\\n animation: \", \" 0.75s 0s infinite linear;\\n animation-fill-mode: both;\\n \"], [\"\\n background: transparent !important;\\n width: \", \";\\n height: \", \";\\n border-radius: 100%;\\n border: 2px solid;\\n border-color: \", \";\\n border-bottom-color: transparent;\\n display: inline-block;\\n animation: \", \" 0.75s 0s infinite linear;\\n animation-fill-mode: both;\\n \"])), helpers_1.cssValue(size || Loader.defaultProps.size), helpers_1.cssValue(size || Loader.defaultProps.size), color, clip);\n };\n\n return _this;\n }\n\n Loader.prototype.render = function () {\n var _a = this.props,\n loading = _a.loading,\n css = _a.css;\n return loading ? core_1.jsx(\"span\", {\n css: [this.style(), css]\n }) : null;\n };\n\n Loader.defaultProps = helpers_1.sizeDefaults(35);\n return Loader;\n}(React.PureComponent);\n\nexports.default = Loader;\nvar templateObject_1, templateObject_2;","map":{"version":3,"sources":["/app/node_modules/react-spinners/ClipLoader.js"],"names":["__makeTemplateObject","cooked","raw","Object","defineProperty","value","__extends","extendStatics","d","b","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__","constructor","create","__createBinding","o","m","k","k2","undefined","enumerable","get","__setModuleDefault","v","__importStar","mod","__esModule","result","exports","React","require","core_1","helpers_1","clip","keyframes","templateObject_1","Loader","_super","_this","apply","arguments","style","_a","props","size","color","css","templateObject_2","cssValue","defaultProps","render","loading","jsx","sizeDefaults","PureComponent","default"],"mappings":"AAAA;;AACA,IAAIA,oBAAoB,GAAI,QAAQ,KAAKA,oBAAd,IAAuC,UAAUC,MAAV,EAAkBC,GAAlB,EAAuB;AACrF,MAAIC,MAAM,CAACC,cAAX,EAA2B;AAAED,IAAAA,MAAM,CAACC,cAAP,CAAsBH,MAAtB,EAA8B,KAA9B,EAAqC;AAAEI,MAAAA,KAAK,EAAEH;AAAT,KAArC;AAAuD,GAApF,MAA0F;AAAED,IAAAA,MAAM,CAACC,GAAP,GAAaA,GAAb;AAAmB;;AAC/G,SAAOD,MAAP;AACH,CAHD;;AAIA,IAAIK,SAAS,GAAI,QAAQ,KAAKA,SAAd,IAA6B,YAAY;AACrD,MAAIC,aAAa,GAAG,UAAUC,CAAV,EAAaC,CAAb,EAAgB;AAChCF,IAAAA,aAAa,GAAGJ,MAAM,CAACO,cAAP,IACX;AAAEC,MAAAA,SAAS,EAAE;AAAb,iBAA6BC,KAA7B,IAAsC,UAAUJ,CAAV,EAAaC,CAAb,EAAgB;AAAED,MAAAA,CAAC,CAACG,SAAF,GAAcF,CAAd;AAAkB,KAD/D,IAEZ,UAAUD,CAAV,EAAaC,CAAb,EAAgB;AAAE,WAAK,IAAII,CAAT,IAAcJ,CAAd,EAAiB,IAAIN,MAAM,CAACW,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCP,CAArC,EAAwCI,CAAxC,CAAJ,EAAgDL,CAAC,CAACK,CAAD,CAAD,GAAOJ,CAAC,CAACI,CAAD,CAAR;AAAc,KAFrG;;AAGA,WAAON,aAAa,CAACC,CAAD,EAAIC,CAAJ,CAApB;AACH,GALD;;AAMA,SAAO,UAAUD,CAAV,EAAaC,CAAb,EAAgB;AACnBF,IAAAA,aAAa,CAACC,CAAD,EAAIC,CAAJ,CAAb;;AACA,aAASQ,EAAT,GAAc;AAAE,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;AACH,CAhB2B,CAgB1BP,KAAK,CAACyB,aAhBoB,CAA5B;;AAiBA1B,OAAO,CAAC2B,OAAR,GAAkBnB,MAAlB;AACA,IAAID,gBAAJ,EAAsBY,gBAAtB","sourcesContent":["\"use strict\";\nvar __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/** @jsx jsx */\nvar React = __importStar(require(\"react\"));\nvar core_1 = require(\"@emotion/core\");\nvar helpers_1 = require(\"./helpers\");\nvar clip = core_1.keyframes(templateObject_1 || (templateObject_1 = __makeTemplateObject([\"\\n 0% {transform: rotate(0deg) scale(1)}\\n 50% {transform: rotate(180deg) scale(0.8)}\\n 100% {transform: rotate(360deg) scale(1)}\\n\"], [\"\\n 0% {transform: rotate(0deg) scale(1)}\\n 50% {transform: rotate(180deg) scale(0.8)}\\n 100% {transform: rotate(360deg) scale(1)}\\n\"])));\nvar Loader = /** @class */ (function (_super) {\n __extends(Loader, _super);\n function Loader() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.style = function () {\n var _a = _this.props, size = _a.size, color = _a.color;\n return core_1.css(templateObject_2 || (templateObject_2 = __makeTemplateObject([\"\\n background: transparent !important;\\n width: \", \";\\n height: \", \";\\n border-radius: 100%;\\n border: 2px solid;\\n border-color: \", \";\\n border-bottom-color: transparent;\\n display: inline-block;\\n animation: \", \" 0.75s 0s infinite linear;\\n animation-fill-mode: both;\\n \"], [\"\\n background: transparent !important;\\n width: \", \";\\n height: \", \";\\n border-radius: 100%;\\n border: 2px solid;\\n border-color: \", \";\\n border-bottom-color: transparent;\\n display: inline-block;\\n animation: \", \" 0.75s 0s infinite linear;\\n animation-fill-mode: both;\\n \"])), helpers_1.cssValue(size || Loader.defaultProps.size), helpers_1.cssValue(size || Loader.defaultProps.size), color, clip);\n };\n return _this;\n }\n Loader.prototype.render = function () {\n var _a = this.props, loading = _a.loading, css = _a.css;\n return loading ? core_1.jsx(\"span\", { css: [this.style(), css] }) : null;\n };\n Loader.defaultProps = helpers_1.sizeDefaults(35);\n return Loader;\n}(React.PureComponent));\nexports.default = Loader;\nvar templateObject_1, templateObject_2;\n"]},"metadata":{},"sourceType":"script"} |