mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
14 KiB
JSON
1 line
14 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 scale = core_1.keyframes(templateObject_1 || (templateObject_1 = __makeTemplateObject([\"\\n 0% {transform: scaley(1.0)}\\n 50% {transform: scaley(0.4)}\\n 100% {transform: scaley(1.0)}\\n\"], [\"\\n 0% {transform: scaley(1.0)}\\n 50% {transform: scaley(0.4)}\\n 100% {transform: scaley(1.0)}\\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 (i) {\n var _a = _this.props,\n color = _a.color,\n width = _a.width,\n height = _a.height,\n margin = _a.margin,\n radius = _a.radius;\n return core_1.css(templateObject_2 || (templateObject_2 = __makeTemplateObject([\"\\n background-color: \", \";\\n width: \", \";\\n height: \", \";\\n margin: \", \";\\n border-radius: \", \";\\n display: inline-block;\\n animation: \", \" 1s \", \"s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\\n animation-fill-mode: both;\\n \"], [\"\\n background-color: \", \";\\n width: \", \";\\n height: \", \";\\n margin: \", \";\\n border-radius: \", \";\\n display: inline-block;\\n animation: \", \" 1s \", \"s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\\n animation-fill-mode: both;\\n \"])), color, helpers_1.cssValue(width || Loader.defaultProps.width), helpers_1.cssValue(height || Loader.defaultProps.height), helpers_1.cssValue(margin || Loader.defaultProps.margin), helpers_1.cssValue(radius || Loader.defaultProps.radius), scale, i * 0.1);\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: [css]\n }, core_1.jsx(\"span\", {\n css: this.style(1)\n }), core_1.jsx(\"span\", {\n css: this.style(2)\n }), core_1.jsx(\"span\", {\n css: this.style(3)\n }), core_1.jsx(\"span\", {\n css: this.style(4)\n }), core_1.jsx(\"span\", {\n css: this.style(5)\n })) : null;\n };\n\n Loader.defaultProps = helpers_1.heightWidthRadiusDefaults(35, 4, 2);\n return Loader;\n}(React.PureComponent);\n\nexports.default = Loader;\nvar templateObject_1, templateObject_2;","map":{"version":3,"sources":["/app/node_modules/react-spinners/ScaleLoader.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","scale","keyframes","templateObject_1","Loader","_super","_this","apply","arguments","style","i","_a","props","color","width","height","margin","radius","css","templateObject_2","cssValue","defaultProps","render","loading","jsx","heightWidthRadiusDefaults","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,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AAS,CAACyB,yBAAV,CAAoC,EAApC,EAAwC,CAAxC,EAA2C,CAA3C,CAAtB;AACA,SAAOrB,MAAP;AACH,CArB2B,CAqB1BP,KAAK,CAAC6B,aArBoB,CAA5B;;AAsBA9B,OAAO,CAAC+B,OAAR,GAAkBvB,MAAlB;AACA,IAAID,gBAAJ,EAAsBgB,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 scale = core_1.keyframes(templateObject_1 || (templateObject_1 = __makeTemplateObject([\"\\n 0% {transform: scaley(1.0)}\\n 50% {transform: scaley(0.4)}\\n 100% {transform: scaley(1.0)}\\n\"], [\"\\n 0% {transform: scaley(1.0)}\\n 50% {transform: scaley(0.4)}\\n 100% {transform: scaley(1.0)}\\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 (i) {\n var _a = _this.props, color = _a.color, width = _a.width, height = _a.height, margin = _a.margin, radius = _a.radius;\n return core_1.css(templateObject_2 || (templateObject_2 = __makeTemplateObject([\"\\n background-color: \", \";\\n width: \", \";\\n height: \", \";\\n margin: \", \";\\n border-radius: \", \";\\n display: inline-block;\\n animation: \", \" 1s \", \"s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\\n animation-fill-mode: both;\\n \"], [\"\\n background-color: \", \";\\n width: \", \";\\n height: \", \";\\n margin: \", \";\\n border-radius: \", \";\\n display: inline-block;\\n animation: \", \" 1s \", \"s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\\n animation-fill-mode: both;\\n \"])), color, helpers_1.cssValue(width || Loader.defaultProps.width), helpers_1.cssValue(height || Loader.defaultProps.height), helpers_1.cssValue(margin || Loader.defaultProps.margin), helpers_1.cssValue(radius || Loader.defaultProps.radius), scale, i * 0.1);\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: [css] },\n core_1.jsx(\"span\", { css: this.style(1) }),\n core_1.jsx(\"span\", { css: this.style(2) }),\n core_1.jsx(\"span\", { css: this.style(3) }),\n core_1.jsx(\"span\", { css: this.style(4) }),\n core_1.jsx(\"span\", { css: this.style(5) }))) : null;\n };\n Loader.defaultProps = helpers_1.heightWidthRadiusDefaults(35, 4, 2);\n return Loader;\n}(React.PureComponent));\nexports.default = Loader;\nvar templateObject_1, templateObject_2;\n"]},"metadata":{},"sourceType":"script"} |