mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
47 lines
2.6 KiB
JavaScript
47 lines
2.6 KiB
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: !0
|
||
|
});
|
||
|
|
||
|
var base_dist_reactSelect = require("./Select-fd7cb895.cjs.prod.js"), stateManager = require("./stateManager-799f6a0f.cjs.prod.js"), _classCallCheck = require("@babel/runtime/helpers/classCallCheck"), _createClass = require("@babel/runtime/helpers/createClass"), _inherits = require("@babel/runtime/helpers/inherits"), index$1 = require("./index-ea9e225d.cjs.prod.js"), React = require("react"), react = require("@emotion/react"), createCache = require("@emotion/cache"), memoizeOne = require("memoize-one");
|
||
|
|
||
|
function _interopDefault(e) {
|
||
|
return e && e.__esModule ? e : {
|
||
|
default: e
|
||
|
};
|
||
|
}
|
||
|
|
||
|
require("@babel/runtime/helpers/extends"), require("@babel/runtime/helpers/toConsumableArray"),
|
||
|
require("@babel/runtime/helpers/objectWithoutProperties"), require("@babel/runtime/helpers/taggedTemplateLiteral"),
|
||
|
require("@babel/runtime/helpers/typeof"), require("react-input-autosize"), require("@babel/runtime/helpers/defineProperty"),
|
||
|
require("react-dom");
|
||
|
|
||
|
var _classCallCheck__default = _interopDefault(_classCallCheck), _createClass__default = _interopDefault(_createClass), _inherits__default = _interopDefault(_inherits), React__default = _interopDefault(React), createCache__default = _interopDefault(createCache), memoizeOne__default = _interopDefault(memoizeOne), NonceProvider = function(_Component) {
|
||
|
_inherits__default.default(NonceProvider, _Component);
|
||
|
var _super = index$1._createSuper(NonceProvider);
|
||
|
function NonceProvider(props) {
|
||
|
var _this;
|
||
|
return _classCallCheck__default.default(this, NonceProvider), (_this = _super.call(this, props)).createEmotionCache = function(nonce, key) {
|
||
|
return createCache__default.default({
|
||
|
nonce: nonce,
|
||
|
key: key
|
||
|
});
|
||
|
}, _this.createEmotionCache = memoizeOne__default.default(_this.createEmotionCache),
|
||
|
_this;
|
||
|
}
|
||
|
return _createClass__default.default(NonceProvider, [ {
|
||
|
key: "render",
|
||
|
value: function() {
|
||
|
var emotionCache = this.createEmotionCache(this.props.nonce, this.props.cacheKey);
|
||
|
return React__default.default.createElement(react.CacheProvider, {
|
||
|
value: emotionCache
|
||
|
}, this.props.children);
|
||
|
}
|
||
|
} ]), NonceProvider;
|
||
|
}(React.Component), index = stateManager.manageState(base_dist_reactSelect.Select);
|
||
|
|
||
|
exports.createFilter = base_dist_reactSelect.createFilter, exports.defaultTheme = base_dist_reactSelect.defaultTheme,
|
||
|
exports.mergeStyles = base_dist_reactSelect.mergeStyles, exports.components = index$1.components,
|
||
|
exports.NonceProvider = NonceProvider, exports.default = index;
|