mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
1 line
2.2 KiB
JSON
1 line
2.2 KiB
JSON
{"ast":null,"code":"export default function deprecatedPropType(validator, reason) {\n if (process.env.NODE_ENV === 'production') {\n return function () {\n return null;\n };\n }\n\n return function (props, propName, componentName, location, propFullName) {\n var componentNameSafe = componentName || '<<anonymous>>';\n var propFullNameSafe = propFullName || propName;\n\n if (typeof props[propName] !== 'undefined') {\n return new Error(\"The \".concat(location, \" `\").concat(propFullNameSafe, \"` of \") + \"`\".concat(componentNameSafe, \"` is deprecated. \").concat(reason));\n }\n\n return null;\n };\n}","map":{"version":3,"sources":["/app/node_modules/@material-ui/core/esm/utils/deprecatedPropType.js"],"names":["deprecatedPropType","validator","reason","process","env","NODE_ENV","props","propName","componentName","location","propFullName","componentNameSafe","propFullNameSafe","Error","concat"],"mappings":"AAAA,eAAe,SAASA,kBAAT,CAA4BC,SAA5B,EAAuCC,MAAvC,EAA+C;AAC5D,MAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,YAA7B,EAA2C;AACzC,WAAO,YAAY;AACjB,aAAO,IAAP;AACD,KAFD;AAGD;;AAED,SAAO,UAAUC,KAAV,EAAiBC,QAAjB,EAA2BC,aAA3B,EAA0CC,QAA1C,EAAoDC,YAApD,EAAkE;AACvE,QAAIC,iBAAiB,GAAGH,aAAa,IAAI,eAAzC;AACA,QAAII,gBAAgB,GAAGF,YAAY,IAAIH,QAAvC;;AAEA,QAAI,OAAOD,KAAK,CAACC,QAAD,CAAZ,KAA2B,WAA/B,EAA4C;AAC1C,aAAO,IAAIM,KAAJ,CAAU,OAAOC,MAAP,CAAcL,QAAd,EAAwB,IAAxB,EAA8BK,MAA9B,CAAqCF,gBAArC,EAAuD,OAAvD,IAAkE,IAAIE,MAAJ,CAAWH,iBAAX,EAA8B,mBAA9B,EAAmDG,MAAnD,CAA0DZ,MAA1D,CAA5E,CAAP;AACD;;AAED,WAAO,IAAP;AACD,GATD;AAUD","sourcesContent":["export default function deprecatedPropType(validator, reason) {\n if (process.env.NODE_ENV === 'production') {\n return function () {\n return null;\n };\n }\n\n return function (props, propName, componentName, location, propFullName) {\n var componentNameSafe = componentName || '<<anonymous>>';\n var propFullNameSafe = propFullName || propName;\n\n if (typeof props[propName] !== 'undefined') {\n return new Error(\"The \".concat(location, \" `\").concat(propFullNameSafe, \"` of \") + \"`\".concat(componentNameSafe, \"` is deprecated. \").concat(reason));\n }\n\n return null;\n };\n}"]},"metadata":{},"sourceType":"module"} |