@dccs/react-autocomplete-mui
Version:
React-Autocomplete without the tears
2 lines • 1.22 MB
JavaScript
/*! For license information please see vendors~main.349b4f2b0ad243ac8d6f.bundle.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(779)},function(module,__webpack_exports__,__webpack_require__){"use strict";function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}).apply(this,arguments)}__webpack_require__.d(__webpack_exports__,"a",(function(){return _extends}))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return _objectWithoutProperties}));var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(65);function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__.a)(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}},function(module,exports,__webpack_require__){module.exports=__webpack_require__(805)()},function(module,__webpack_exports__,__webpack_require__){"use strict";function toVal(mix){var k,y,str="";if(mix)if("object"==typeof mix)if(mix.push)for(k=0;k<mix.length;k++)mix[k]&&(y=toVal(mix[k]))&&(str&&(str+=" "),str+=y);else for(k in mix)mix[k]&&(y=toVal(k))&&(str&&(str+=" "),str+=y);else"boolean"==typeof mix||mix.call||(str&&(str+=" "),str+=mix);return str}__webpack_exports__.a=function(){for(var x,i=0,str="";i<arguments.length;)(x=toVal(arguments[i++]))&&(str&&(str+=" "),str+=x);return str}},function(module,__webpack_exports__,__webpack_require__){"use strict";var esm_extends=__webpack_require__(1),objectWithoutProperties=__webpack_require__(2),react=__webpack_require__(0),react_default=__webpack_require__.n(react),hoist_non_react_statics_cjs=(__webpack_require__(3),__webpack_require__(340)),hoist_non_react_statics_cjs_default=__webpack_require__.n(hoist_non_react_statics_cjs),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},dist_module="object"===("undefined"==typeof window?"undefined":_typeof(window))&&"object"===("undefined"==typeof document?"undefined":_typeof(document))&&9===document.nodeType;var createClass=__webpack_require__(89),inheritsLoose=__webpack_require__(73),assertThisInitialized=__webpack_require__(90),objectWithoutPropertiesLoose=__webpack_require__(65),plainObjectConstrurctor={}.constructor;function cloneStyle(style){if(null==style||"object"!=typeof style)return style;if(Array.isArray(style))return style.map(cloneStyle);if(style.constructor!==plainObjectConstrurctor)return style;var newStyle={};for(var name in style)newStyle[name]=cloneStyle(style[name]);return newStyle}function createRule(name,decl,options){void 0===name&&(name="unnamed");var jss=options.jss,declCopy=cloneStyle(decl),rule=jss.plugins.onCreateRule(name,declCopy,options);return rule||(name[0],null)}var join=function join(value,by){for(var result="",i=0;i<value.length&&"!important"!==value[i];i++)result&&(result+=by),result+=value[i];return result};function toCssValue(value,ignoreImportant){if(void 0===ignoreImportant&&(ignoreImportant=!1),!Array.isArray(value))return value;var cssValue="";if(Array.isArray(value[0]))for(var i=0;i<value.length&&"!important"!==value[i];i++)cssValue&&(cssValue+=", "),cssValue+=join(value[i]," ");else cssValue=join(value,", ");return ignoreImportant||"!important"!==value[value.length-1]||(cssValue+=" !important"),cssValue}function indentStr(str,indent){for(var result="",index=0;index<indent;index++)result+=" ";return result+str}function toCss(selector,style,options){void 0===options&&(options={});var result="";if(!style)return result;var _options$indent=options.indent,indent=void 0===_options$indent?0:_options$indent,fallbacks=style.fallbacks;if(selector&&indent++,fallbacks)if(Array.isArray(fallbacks))for(var index=0;index<fallbacks.length;index++){var fallback=fallbacks[index];for(var prop in fallback){var value=fallback[prop];null!=value&&(result&&(result+="\n"),result+=""+indentStr(prop+": "+toCssValue(value)+";",indent))}}else for(var _prop in fallbacks){var _value=fallbacks[_prop];null!=_value&&(result&&(result+="\n"),result+=""+indentStr(_prop+": "+toCssValue(_value)+";",indent))}for(var _prop2 in style){var _value2=style[_prop2];null!=_value2&&"fallbacks"!==_prop2&&(result&&(result+="\n"),result+=""+indentStr(_prop2+": "+toCssValue(_value2)+";",indent))}return(result||options.allowEmpty)&&selector?(result&&(result="\n"+result+"\n"),indentStr(selector+" {"+result,--indent)+indentStr("}",indent)):result}var escapeRegex=/([[\].#*$><+~=|^:(),"'`\s])/g,nativeEscape="undefined"!=typeof CSS&&CSS.escape,jss_esm_escape=function(str){return nativeEscape?nativeEscape(str):str.replace(escapeRegex,"\\$1")},BaseStyleRule=function(){function BaseStyleRule(key,style,options){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var sheet=options.sheet,Renderer=options.Renderer;this.key=key,this.options=options,this.style=style,sheet?this.renderer=sheet.renderer:Renderer&&(this.renderer=new Renderer)}return BaseStyleRule.prototype.prop=function prop(name,value,options){if(void 0===value)return this.style[name];var force=!!options&&options.force;if(!force&&this.style[name]===value)return this;var newValue=value;options&&!1===options.process||(newValue=this.options.jss.plugins.onChangeValue(value,name,this));var isEmpty=null==newValue||!1===newValue,isDefined=name in this.style;if(isEmpty&&!isDefined&&!force)return this;var remove=isEmpty&&isDefined;if(remove?delete this.style[name]:this.style[name]=newValue,this.renderable&&this.renderer)return remove?this.renderer.removeProperty(this.renderable,name):this.renderer.setProperty(this.renderable,name,newValue),this;var sheet=this.options.sheet;return sheet&&sheet.attached,this},BaseStyleRule}(),jss_esm_StyleRule=function(_BaseStyleRule){function StyleRule(key,style,options){var _this;(_this=_BaseStyleRule.call(this,key,style,options)||this).selectorText=void 0,_this.id=void 0,_this.renderable=void 0;var selector=options.selector,scoped=options.scoped,sheet=options.sheet,generateId=options.generateId;return selector?_this.selectorText=selector:!1!==scoped&&(_this.id=generateId(Object(assertThisInitialized.a)(Object(assertThisInitialized.a)(_this)),sheet),_this.selectorText="."+jss_esm_escape(_this.id)),_this}Object(inheritsLoose.a)(StyleRule,_BaseStyleRule);var _proto2=StyleRule.prototype;return _proto2.applyTo=function applyTo(renderable){var renderer=this.renderer;if(renderer){var json=this.toJSON();for(var prop in json)renderer.setProperty(renderable,prop,json[prop])}return this},_proto2.toJSON=function toJSON(){var json={};for(var prop in this.style){var value=this.style[prop];"object"!=typeof value?json[prop]=value:Array.isArray(value)&&(json[prop]=toCssValue(value))}return json},_proto2.toString=function toString(options){var sheet=this.options.sheet,opts=!!sheet&&sheet.options.link?Object(esm_extends.a)({},options,{allowEmpty:!0}):options;return toCss(this.selectorText,this.style,opts)},Object(createClass.a)(StyleRule,[{key:"selector",set:function set(selector){if(selector!==this.selectorText){this.selectorText=selector;var renderer=this.renderer,renderable=this.renderable;if(renderable&&renderer)renderer.setSelector(renderable,selector)||renderer.replaceRule(renderable,this)}},get:function get(){return this.selectorText}}]),StyleRule}(BaseStyleRule),pluginStyleRule={onCreateRule:function onCreateRule(name,style,options){return"@"===name[0]||options.parent&&"keyframes"===options.parent.type?null:new jss_esm_StyleRule(name,style,options)}},defaultToStringOptions={indent:1,children:!0},atRegExp=/@([\w-]+)/,jss_esm_ConditionalRule=function(){function ConditionalRule(key,styles,options){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=key,this.query=options.name;var atMatch=key.match(atRegExp);for(var name in this.at=atMatch?atMatch[1]:"unknown",this.options=options,this.rules=new jss_esm_RuleList(Object(esm_extends.a)({},options,{parent:this})),styles)this.rules.add(name,styles[name]);this.rules.process()}var _proto=ConditionalRule.prototype;return _proto.getRule=function getRule(name){return this.rules.get(name)},_proto.indexOf=function indexOf(rule){return this.rules.indexOf(rule)},_proto.addRule=function addRule(name,style,options){var rule=this.rules.add(name,style,options);return rule?(this.options.jss.plugins.onProcessRule(rule),rule):null},_proto.toString=function toString(options){if(void 0===options&&(options=defaultToStringOptions),null==options.indent&&(options.indent=defaultToStringOptions.indent),null==options.children&&(options.children=defaultToStringOptions.children),!1===options.children)return this.query+" {}";var children=this.rules.toString(options);return children?this.query+" {\n"+children+"\n}":""},ConditionalRule}(),keyRegExp=/@media|@supports\s+/,pluginConditionalRule={onCreateRule:function onCreateRule(key,styles,options){return keyRegExp.test(key)?new jss_esm_ConditionalRule(key,styles,options):null}},defaultToStringOptions$1={indent:1,children:!0},nameRegExp=/@keyframes\s+([\w-]+)/,jss_esm_KeyframesRule=function(){function KeyframesRule(key,frames,options){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var nameMatch=key.match(nameRegExp);nameMatch&&nameMatch[1]?this.name=nameMatch[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=options;var scoped=options.scoped,sheet=options.sheet,generateId=options.generateId;for(var name in this.id=!1===scoped?this.name:jss_esm_escape(generateId(this,sheet)),this.rules=new jss_esm_RuleList(Object(esm_extends.a)({},options,{parent:this})),frames)this.rules.add(name,frames[name],Object(esm_extends.a)({},options,{parent:this}));this.rules.process()}return KeyframesRule.prototype.toString=function toString(options){if(void 0===options&&(options=defaultToStringOptions$1),null==options.indent&&(options.indent=defaultToStringOptions$1.indent),null==options.children&&(options.children=defaultToStringOptions$1.children),!1===options.children)return this.at+" "+this.id+" {}";var children=this.rules.toString(options);return children&&(children="\n"+children+"\n"),this.at+" "+this.id+" {"+children+"}"},KeyframesRule}(),keyRegExp$1=/@keyframes\s+/,refRegExp=/\$([\w-]+)/g,findReferencedKeyframe=function findReferencedKeyframe(val,keyframes){return"string"==typeof val?val.replace(refRegExp,(function(match,name){return name in keyframes?keyframes[name]:match})):val},jss_esm_replaceRef=function replaceRef(style,prop,keyframes){var value=style[prop],refKeyframe=findReferencedKeyframe(value,keyframes);refKeyframe!==value&&(style[prop]=refKeyframe)},jss_esm_plugin={onCreateRule:function onCreateRule(key,frames,options){return"string"==typeof key&&keyRegExp$1.test(key)?new jss_esm_KeyframesRule(key,frames,options):null},onProcessStyle:function onProcessStyle(style,rule,sheet){return"style"===rule.type&&sheet?("animation-name"in style&&jss_esm_replaceRef(style,"animation-name",sheet.keyframes),"animation"in style&&jss_esm_replaceRef(style,"animation",sheet.keyframes),style):style},onChangeValue:function onChangeValue(val,prop,rule){var sheet=rule.options.sheet;if(!sheet)return val;switch(prop){case"animation":case"animation-name":return findReferencedKeyframe(val,sheet.keyframes);default:return val}}},jss_esm_KeyframeRule=function(_BaseStyleRule){function KeyframeRule(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_BaseStyleRule.call.apply(_BaseStyleRule,[this].concat(args))||this).renderable=void 0,_this}return Object(inheritsLoose.a)(KeyframeRule,_BaseStyleRule),KeyframeRule.prototype.toString=function toString(options){var sheet=this.options.sheet,opts=!!sheet&&sheet.options.link?Object(esm_extends.a)({},options,{allowEmpty:!0}):options;return toCss(this.key,this.style,opts)},KeyframeRule}(BaseStyleRule),pluginKeyframeRule={onCreateRule:function onCreateRule(key,style,options){return options.parent&&"keyframes"===options.parent.type?new jss_esm_KeyframeRule(key,style,options):null}},FontFaceRule=function(){function FontFaceRule(key,style,options){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=key,this.style=style,this.options=options}return FontFaceRule.prototype.toString=function toString(options){if(Array.isArray(this.style)){for(var str="",index=0;index<this.style.length;index++)str+=toCss(this.key,this.style[index]),this.style[index+1]&&(str+="\n");return str}return toCss(this.key,this.style,options)},FontFaceRule}(),pluginFontFaceRule={onCreateRule:function onCreateRule(key,style,options){return"@font-face"===key?new FontFaceRule(key,style,options):null}},ViewportRule=function(){function ViewportRule(key,style,options){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=key,this.style=style,this.options=options}return ViewportRule.prototype.toString=function toString(options){return toCss(this.key,this.style,options)},ViewportRule}(),pluginViewportRule={onCreateRule:function onCreateRule(key,style,options){return"@viewport"===key||"@-ms-viewport"===key?new ViewportRule(key,style,options):null}},SimpleRule=function(){function SimpleRule(key,value,options){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=key,this.value=value,this.options=options}return SimpleRule.prototype.toString=function toString(options){if(Array.isArray(this.value)){for(var str="",index=0;index<this.value.length;index++)str+=this.key+" "+this.value[index]+";",this.value[index+1]&&(str+="\n");return str}return this.key+" "+this.value+";"},SimpleRule}(),keysMap={"@charset":!0,"@import":!0,"@namespace":!0},plugins=[pluginStyleRule,pluginConditionalRule,jss_esm_plugin,pluginKeyframeRule,pluginFontFaceRule,pluginViewportRule,{onCreateRule:function onCreateRule(key,value,options){return key in keysMap?new SimpleRule(key,value,options):null}}],defaultUpdateOptions={process:!0},forceUpdateOptions={force:!0,process:!0},jss_esm_RuleList=function(){function RuleList(options){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=options,this.classes=options.classes,this.keyframes=options.keyframes}var _proto=RuleList.prototype;return _proto.add=function add(name,decl,ruleOptions){var _this$options=this.options,parent=_this$options.parent,sheet=_this$options.sheet,jss=_this$options.jss,Renderer=_this$options.Renderer,generateId=_this$options.generateId,scoped=_this$options.scoped,options=Object(esm_extends.a)({classes:this.classes,parent:parent,sheet:sheet,jss:jss,Renderer:Renderer,generateId:generateId,scoped:scoped,name:name},ruleOptions),key=name;name in this.raw&&(key=name+"-d"+this.counter++),this.raw[key]=decl,key in this.classes&&(options.selector="."+jss_esm_escape(this.classes[key]));var rule=createRule(key,decl,options);if(!rule)return null;this.register(rule);var index=void 0===options.index?this.index.length:options.index;return this.index.splice(index,0,rule),rule},_proto.get=function get(name){return this.map[name]},_proto.remove=function remove(rule){this.unregister(rule),delete this.raw[rule.key],this.index.splice(this.index.indexOf(rule),1)},_proto.indexOf=function indexOf(rule){return this.index.indexOf(rule)},_proto.process=function process(){var plugins$$1=this.options.jss.plugins;this.index.slice(0).forEach(plugins$$1.onProcessRule,plugins$$1)},_proto.register=function register(rule){this.map[rule.key]=rule,rule instanceof jss_esm_StyleRule?(this.map[rule.selector]=rule,rule.id&&(this.classes[rule.key]=rule.id)):rule instanceof jss_esm_KeyframesRule&&this.keyframes&&(this.keyframes[rule.name]=rule.id)},_proto.unregister=function unregister(rule){delete this.map[rule.key],rule instanceof jss_esm_StyleRule?(delete this.map[rule.selector],delete this.classes[rule.key]):rule instanceof jss_esm_KeyframesRule&&delete this.keyframes[rule.name]},_proto.update=function update(){var name,data,options;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(name=arguments.length<=0?void 0:arguments[0],data=arguments.length<=1?void 0:arguments[1],options=arguments.length<=2?void 0:arguments[2]):(data=arguments.length<=0?void 0:arguments[0],options=arguments.length<=1?void 0:arguments[1],name=null),name)this.updateOne(this.map[name],data,options);else for(var index=0;index<this.index.length;index++)this.updateOne(this.index[index],data,options)},_proto.updateOne=function updateOne(rule,data,options){void 0===options&&(options=defaultUpdateOptions);var _this$options2=this.options,plugins$$1=_this$options2.jss.plugins,sheet=_this$options2.sheet;if(rule.rules instanceof RuleList)rule.rules.update(data,options);else{var styleRule=rule,style=styleRule.style;if(plugins$$1.onUpdate(data,rule,sheet,options),options.process&&style&&style!==styleRule.style){for(var prop in plugins$$1.onProcessStyle(styleRule.style,styleRule,sheet),styleRule.style){var nextValue=styleRule.style[prop];nextValue!==style[prop]&&styleRule.prop(prop,nextValue,forceUpdateOptions)}for(var _prop in style){var _nextValue=styleRule.style[_prop],_prevValue=style[_prop];null==_nextValue&&_nextValue!==_prevValue&&styleRule.prop(_prop,null,forceUpdateOptions)}}}},_proto.toString=function toString(options){for(var str="",sheet=this.options.sheet,link=!!sheet&&sheet.options.link,index=0;index<this.index.length;index++){var css=this.index[index].toString(options);(css||link)&&(str&&(str+="\n"),str+=css)}return str},RuleList}(),jss_esm_StyleSheet=function(){function StyleSheet(styles,options){for(var name in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(esm_extends.a)({},options,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),options.Renderer&&(this.renderer=new options.Renderer(this)),this.rules=new jss_esm_RuleList(this.options),styles)this.rules.add(name,styles[name]);this.rules.process()}var _proto=StyleSheet.prototype;return _proto.attach=function attach(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},_proto.detach=function detach(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},_proto.addRule=function addRule(name,decl,options){var queue=this.queue;this.attached&&!queue&&(this.queue=[]);var rule=this.rules.add(name,decl,options);return rule?(this.options.jss.plugins.onProcessRule(rule),this.attached?this.deployed?(queue?queue.push(rule):(this.insertRule(rule),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),rule):rule:(this.deployed=!1,rule)):null},_proto.insertRule=function insertRule(rule){this.renderer&&this.renderer.insertRule(rule)},_proto.addRules=function addRules(styles,options){var added=[];for(var name in styles){var rule=this.addRule(name,styles[name],options);rule&&added.push(rule)}return added},_proto.getRule=function getRule(name){return this.rules.get(name)},_proto.deleteRule=function deleteRule(name){var rule="object"==typeof name?name:this.rules.get(name);return!!rule&&(this.rules.remove(rule),!(this.attached&&rule.renderable&&this.renderer)||this.renderer.deleteRule(rule.renderable))},_proto.indexOf=function indexOf(rule){return this.rules.indexOf(rule)},_proto.deploy=function deploy(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},_proto.update=function update(){var _this$rules;return(_this$rules=this.rules).update.apply(_this$rules,arguments),this},_proto.updateOne=function updateOne(rule,data,options){return this.rules.updateOne(rule,data,options),this},_proto.toString=function toString(options){return this.rules.toString(options)},StyleSheet}(),PluginsRegistry=function(){function PluginsRegistry(){this.plugins={internal:[],external:[]},this.registry=void 0}var _proto=PluginsRegistry.prototype;return _proto.onCreateRule=function onCreateRule(name,decl,options){for(var i=0;i<this.registry.onCreateRule.length;i++){var rule=this.registry.onCreateRule[i](name,decl,options);if(rule)return rule}return null},_proto.onProcessRule=function onProcessRule(rule){if(!rule.isProcessed){for(var sheet=rule.options.sheet,i=0;i<this.registry.onProcessRule.length;i++)this.registry.onProcessRule[i](rule,sheet);rule.style&&this.onProcessStyle(rule.style,rule,sheet),rule.isProcessed=!0}},_proto.onProcessStyle=function onProcessStyle(style,rule,sheet){for(var i=0;i<this.registry.onProcessStyle.length;i++)rule.style=this.registry.onProcessStyle[i](rule.style,rule,sheet)},_proto.onProcessSheet=function onProcessSheet(sheet){for(var i=0;i<this.registry.onProcessSheet.length;i++)this.registry.onProcessSheet[i](sheet)},_proto.onUpdate=function onUpdate(data,rule,sheet,options){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](data,rule,sheet,options)},_proto.onChangeValue=function onChangeValue(value,prop,rule){for(var processedValue=value,i=0;i<this.registry.onChangeValue.length;i++)processedValue=this.registry.onChangeValue[i](processedValue,prop,rule);return processedValue},_proto.use=function use(newPlugin,options){void 0===options&&(options={queue:"external"});var plugins=this.plugins[options.queue];-1===plugins.indexOf(newPlugin)&&(plugins.push(newPlugin),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(registry,plugin){for(var name in plugin)name in registry&®istry[name].push(plugin[name]);return registry}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},PluginsRegistry}(),sheets=new(function(){function SheetsRegistry(){this.registry=[]}var _proto=SheetsRegistry.prototype;return _proto.add=function add(sheet){var registry=this.registry,index=sheet.options.index;if(-1===registry.indexOf(sheet))if(0===registry.length||index>=this.index)registry.push(sheet);else for(var i=0;i<registry.length;i++)if(registry[i].options.index>index)return void registry.splice(i,0,sheet)},_proto.reset=function reset(){this.registry=[]},_proto.remove=function remove(sheet){var index=this.registry.indexOf(sheet);this.registry.splice(index,1)},_proto.toString=function toString(_temp){for(var _ref=void 0===_temp?{}:_temp,attached=_ref.attached,options=Object(objectWithoutPropertiesLoose.a)(_ref,["attached"]),css="",i=0;i<this.registry.length;i++){var sheet=this.registry[i];null!=attached&&sheet.attached!==attached||(css&&(css+="\n"),css+=sheet.toString(options))}return css},Object(createClass.a)(SheetsRegistry,[{key:"index",get:function get(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),SheetsRegistry}()),globalThis="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),ns="2f1acc6c3a606b082e5eef5e54414ffb";null==globalThis[ns]&&(globalThis[ns]=0);var moduleId=globalThis[ns]++,createGenerateId=function createGenerateId(options){void 0===options&&(options={});var ruleCounter=0;return function(rule,sheet){ruleCounter+=1;var jssId="",prefix="";return sheet&&(sheet.options.classNamePrefix&&(prefix=sheet.options.classNamePrefix),null!=sheet.options.jss.id&&(jssId=String(sheet.options.jss.id))),options.minify?""+(prefix||"c")+moduleId+jssId+ruleCounter:prefix+rule.key+"-"+moduleId+(jssId?"-"+jssId:"")+"-"+ruleCounter}},memoize=function memoize(fn){var value;return function(){return value||(value=fn()),value}};function getPropertyValue(cssRule,prop){try{return cssRule.attributeStyleMap?cssRule.attributeStyleMap.get(prop):cssRule.style.getPropertyValue(prop)}catch(err){return""}}function setProperty(cssRule,prop,value){try{var cssValue=value;if(Array.isArray(value)&&(cssValue=toCssValue(value,!0),"!important"===value[value.length-1]))return cssRule.style.setProperty(prop,cssValue,"important"),!0;cssRule.attributeStyleMap?cssRule.attributeStyleMap.set(prop,cssValue):cssRule.style.setProperty(prop,cssValue)}catch(err){return!1}return!0}function removeProperty(cssRule,prop){try{cssRule.attributeStyleMap?cssRule.attributeStyleMap.delete(prop):cssRule.style.removeProperty(prop)}catch(err){}}function setSelector(cssRule,selectorText){return cssRule.selectorText=selectorText,cssRule.selectorText===selectorText}var getHead=memoize((function(){return document.querySelector("head")}));function findPrevNode(options){var registry=sheets.registry;if(registry.length>0){var sheet=function findHigherSheet(registry,options){for(var i=0;i<registry.length;i++){var sheet=registry[i];if(sheet.attached&&sheet.options.index>options.index&&sheet.options.insertionPoint===options.insertionPoint)return sheet}return null}(registry,options);if(sheet&&sheet.renderer)return{parent:sheet.renderer.element.parentNode,node:sheet.renderer.element};if((sheet=function findHighestSheet(registry,options){for(var i=registry.length-1;i>=0;i--){var sheet=registry[i];if(sheet.attached&&sheet.options.insertionPoint===options.insertionPoint)return sheet}return null}(registry,options))&&sheet.renderer)return{parent:sheet.renderer.element.parentNode,node:sheet.renderer.element.nextSibling}}var insertionPoint=options.insertionPoint;if(insertionPoint&&"string"==typeof insertionPoint){var comment=function findCommentNode(text){for(var head=getHead(),i=0;i<head.childNodes.length;i++){var node=head.childNodes[i];if(8===node.nodeType&&node.nodeValue.trim()===text)return node}return null}(insertionPoint);if(comment)return{parent:comment.parentNode,node:comment.nextSibling}}return!1}var getNonce=memoize((function(){var node=document.querySelector('meta[property="csp-nonce"]');return node?node.getAttribute("content"):null})),_insertRule=function insertRule(container,rule,index){var maxIndex=container.cssRules.length;(void 0===index||index>maxIndex)&&(index=maxIndex);try{if("insertRule"in container)container.insertRule(rule,index);else if("appendRule"in container){container.appendRule(rule)}}catch(err){return!1}return container.cssRules[index]},DomRenderer=function(){function DomRenderer(sheet){this.getPropertyValue=getPropertyValue,this.setProperty=setProperty,this.removeProperty=removeProperty,this.setSelector=setSelector,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,sheet&&sheets.add(sheet),this.sheet=sheet;var _ref=this.sheet?this.sheet.options:{},media=_ref.media,meta=_ref.meta,element=_ref.element;this.element=element||function createStyle(){var el=document.createElement("style");return el.textContent="\n",el}(),this.element.setAttribute("data-jss",""),media&&this.element.setAttribute("media",media),meta&&this.element.setAttribute("data-meta",meta);var nonce=getNonce();nonce&&this.element.setAttribute("nonce",nonce)}var _proto=DomRenderer.prototype;return _proto.attach=function attach(){if(!this.element.parentNode&&this.sheet){!function insertStyle(style,options){var insertionPoint=options.insertionPoint,nextNode=findPrevNode(options);if(!1!==nextNode&&nextNode.parent)nextNode.parent.insertBefore(style,nextNode.node);else if(insertionPoint&&"number"==typeof insertionPoint.nodeType){var insertionPointElement=insertionPoint,parentNode=insertionPointElement.parentNode;parentNode&&parentNode.insertBefore(style,insertionPointElement.nextSibling)}else getHead().appendChild(style)}(this.element,this.sheet.options);var deployed=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&deployed&&(this.hasInsertedRules=!1,this.deploy())}},_proto.detach=function detach(){var parentNode=this.element.parentNode;parentNode&&parentNode.removeChild(this.element)},_proto.deploy=function deploy(){var sheet=this.sheet;sheet&&(sheet.options.link?this.insertRules(sheet.rules):this.element.textContent="\n"+sheet.toString()+"\n")},_proto.insertRules=function insertRules(rules,nativeParent){for(var i=0;i<rules.index.length;i++)this.insertRule(rules.index[i],i,nativeParent)},_proto.insertRule=function insertRule(rule,index,nativeParent){if(void 0===nativeParent&&(nativeParent=this.element.sheet),rule.rules){var parent=rule,latestNativeParent=nativeParent;return("conditional"!==rule.type&&"keyframes"!==rule.type||!1!==(latestNativeParent=_insertRule(nativeParent,parent.toString({children:!1}),index)))&&(this.insertRules(parent.rules,latestNativeParent),latestNativeParent)}if(rule.renderable&&rule.renderable.parentStyleSheet===this.element.sheet)return rule.renderable;var ruleStr=rule.toString();if(!ruleStr)return!1;var nativeRule=_insertRule(nativeParent,ruleStr,index);return!1!==nativeRule&&(this.hasInsertedRules=!0,rule.renderable=nativeRule,nativeRule)},_proto.deleteRule=function deleteRule(cssRule){var sheet=this.element.sheet,index=this.indexOf(cssRule);return-1!==index&&(sheet.deleteRule(index),!0)},_proto.indexOf=function indexOf(cssRule){for(var cssRules=this.element.sheet.cssRules,index=0;index<cssRules.length;index++)if(cssRule===cssRules[index])return index;return-1},_proto.replaceRule=function replaceRule(cssRule,rule){var index=this.indexOf(cssRule);return-1!==index&&(this.element.sheet.deleteRule(index),this.insertRule(rule,index))},_proto.getRules=function getRules(){return this.element.sheet.cssRules},DomRenderer}(),instanceCounter=0,jss_esm_Jss=function(){function Jss(options){this.id=instanceCounter++,this.version="10.0.3",this.plugins=new PluginsRegistry,this.options={id:{minify:!1},createGenerateId:createGenerateId,Renderer:dist_module?DomRenderer:null,plugins:[]},this.generateId=createGenerateId({minify:!1});for(var i=0;i<plugins.length;i++)this.plugins.use(plugins[i],{queue:"internal"});this.setup(options)}var _proto=Jss.prototype;return _proto.setup=function setup(options){return void 0===options&&(options={}),options.createGenerateId&&(this.options.createGenerateId=options.createGenerateId),options.id&&(this.options.id=Object(esm_extends.a)({},this.options.id,options.id)),(options.createGenerateId||options.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=options.insertionPoint&&(this.options.insertionPoint=options.insertionPoint),"Renderer"in options&&(this.options.Renderer=options.Renderer),options.plugins&&this.use.apply(this,options.plugins),this},_proto.createStyleSheet=function createStyleSheet(styles,options){void 0===options&&(options={});var index=options.index;"number"!=typeof index&&(index=0===sheets.index?0:sheets.index+1);var sheet=new jss_esm_StyleSheet(styles,Object(esm_extends.a)({},options,{jss:this,generateId:options.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:index}));return this.plugins.onProcessSheet(sheet),sheet},_proto.removeStyleSheet=function removeStyleSheet(sheet){return sheet.detach(),sheets.remove(sheet),this},_proto.createRule=function createRule$$1(name,style,options){if(void 0===style&&(style={}),void 0===options&&(options={}),"object"==typeof name)return this.createRule(void 0,name,style);var ruleOptions=Object(esm_extends.a)({},options,{name:name,jss:this,Renderer:this.options.Renderer});ruleOptions.generateId||(ruleOptions.generateId=this.generateId),ruleOptions.classes||(ruleOptions.classes={}),ruleOptions.keyframes||(ruleOptions.keyframes={});var rule=createRule(name,style,ruleOptions);return rule&&this.plugins.onProcessRule(rule),rule},_proto.use=function use(){for(var _this=this,_len=arguments.length,plugins$$1=new Array(_len),_key=0;_key<_len;_key++)plugins$$1[_key]=arguments[_key];return plugins$$1.forEach((function(plugin){_this.plugins.use(plugin)})),this},Jss}();var hasCSSTOMSupport="undefined"!=typeof CSS&&CSS&&"number"in CSS,jss_esm_create=function create(options){return new jss_esm_Jss(options)},mergeClasses=(jss_esm_create(),__webpack_require__(838)),makeStyles_multiKeyStore={set:function set(cache,key1,key2,value){var subCache=cache.get(key1);subCache||(subCache=new Map,cache.set(key1,subCache)),subCache.set(key2,value)},get:function get(cache,key1,key2){var subCache=cache.get(key1);return subCache?subCache.get(key2):void 0},delete:function _delete(cache,key1,key2){cache.get(key1).delete(key2)}},useTheme=__webpack_require__(846),nested="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",pseudoClasses=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var now=Date.now(),fnValuesNs="fnValues"+now,fnRuleNs="fnStyle"+ ++now;var jss_plugin_rule_value_function_esm=function functionPlugin(){return{onCreateRule:function onCreateRule(name,decl,options){if("function"!=typeof decl)return null;var rule=createRule(name,{},options);return rule[fnRuleNs]=decl,rule},onProcessStyle:function onProcessStyle(style,rule){if(fnValuesNs in rule||fnRuleNs in rule)return style;var fnValues={};for(var prop in style){var value=style[prop];"function"==typeof value&&(delete style[prop],fnValues[prop]=value)}return rule[fnValuesNs]=fnValues,style},onUpdate:function onUpdate(data,rule,sheet,options){var styleRule=rule,fnRule=styleRule[fnRuleNs];fnRule&&(styleRule.style=fnRule(data)||{});var fnValues=styleRule[fnValuesNs];if(fnValues)for(var prop in fnValues)styleRule.prop(prop,fnValues[prop](data),options)}}},at="@global",jss_plugin_global_esm_GlobalContainerRule=function(){function GlobalContainerRule(key,styles,options){for(var selector in this.type="global",this.at=at,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=key,this.options=options,this.rules=new jss_esm_RuleList(Object(esm_extends.a)({},options,{parent:this})),styles)this.rules.add(selector,styles[selector]);this.rules.process()}var _proto=GlobalContainerRule.prototype;return _proto.getRule=function getRule(name){return this.rules.get(name)},_proto.addRule=function addRule(name,style,options){var rule=this.rules.add(name,style,options);return this.options.jss.plugins.onProcessRule(rule),rule},_proto.indexOf=function indexOf(rule){return this.rules.indexOf(rule)},_proto.toString=function toString(){return this.rules.toString()},GlobalContainerRule}(),jss_plugin_global_esm_GlobalPrefixedRule=function(){function GlobalPrefixedRule(key,style,options){this.type="global",this.at=at,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=key,this.options=options;var selector=key.substr("@global ".length);this.rule=options.jss.createRule(selector,style,Object(esm_extends.a)({},options,{parent:this}))}return GlobalPrefixedRule.prototype.toString=function toString(options){return this.rule?this.rule.toString(options):""},GlobalPrefixedRule}(),separatorRegExp=/\s*,\s*/g;function addScope(selector,scope){for(var parts=selector.split(separatorRegExp),scoped="",i=0;i<parts.length;i++)scoped+=scope+" "+parts[i].trim(),parts[i+1]&&(scoped+=", ");return scoped}var jss_plugin_global_esm=function jssGlobal(){return{onCreateRule:function onCreateRule(name,styles,options){if(!name)return null;if(name===at)return new jss_plugin_global_esm_GlobalContainerRule(name,styles,options);if("@"===name[0]&&"@global "===name.substr(0,"@global ".length))return new jss_plugin_global_esm_GlobalPrefixedRule(name,styles,options);var parent=options.parent;return parent&&("global"===parent.type||parent.options.parent&&"global"===parent.options.parent.type)&&(options.scoped=!1),!1===options.scoped&&(options.selector=name),null},onProcessRule:function onProcessRule(rule){"style"===rule.type&&(!function handleNestedGlobalContainerRule(rule){var options=rule.options,style=rule.style,rules=style?style[at]:null;if(rules){for(var name in rules)options.sheet.addRule(name,rules[name],Object(esm_extends.a)({},options,{selector:addScope(name,rule.selector)}));delete style[at]}}(rule),function handlePrefixedGlobalRule(rule){var options=rule.options,style=rule.style;for(var prop in style)if("@"===prop[0]&&prop.substr(0,at.length)===at){var selector=addScope(prop.substr(at.length),rule.selector);options.sheet.addRule(selector,style[prop],Object(esm_extends.a)({},options,{selector:selector})),delete style[prop]}}(rule))}}},jss_plugin_nested_esm_separatorRegExp=/\s*,\s*/g,parentRegExp=/&/g,jss_plugin_nested_esm_refRegExp=/\$([\w-]+)/g;var jss_plugin_nested_esm=function jssNested(){function getReplaceRef(container,sheet){return function(match,key){var rule=container.getRule(key)||sheet&&sheet.getRule(key);return rule?(rule=rule).selector:key}}function replaceParentRefs(nestedProp,parentProp){for(var parentSelectors=parentProp.split(jss_plugin_nested_esm_separatorRegExp),nestedSelectors=nestedProp.split(jss_plugin_nested_esm_separatorRegExp),result="",i=0;i<parentSelectors.length;i++)for(var parent=parentSelectors[i],j=0;j<nestedSelectors.length;j++){var nested=nestedSelectors[j];result&&(result+=", "),result+=-1!==nested.indexOf("&")?nested.replace(parentRegExp,parent):parent+" "+nested}return result}function getOptions(rule,container,prevOptions){if(prevOptions)return Object(esm_extends.a)({},prevOptions,{index:prevOptions.index+1});var nestingLevel=rule.options.nestingLevel;nestingLevel=void 0===nestingLevel?1:nestingLevel+1;var options=Object(esm_extends.a)({},rule.options,{nestingLevel:nestingLevel,index:container.indexOf(rule)+1});return delete options.name,options}return{onProcessStyle:function onProcessStyle(style,rule,sheet){if("style"!==rule.type)return style;var options,replaceRef,styleRule=rule,container=styleRule.options.parent;for(var prop in style){var isNested=-1!==prop.indexOf("&"),isNestedConditional="@"===prop[0];if(isNested||isNestedConditional){if(options=getOptions(styleRule,container,options),isNested){var selector=replaceParentRefs(prop,styleRule.selector);replaceRef||(replaceRef=getReplaceRef(container,sheet)),selector=selector.replace(jss_plugin_nested_esm_refRegExp,replaceRef),container.addRule(selector,style[prop],Object(esm_extends.a)({},options,{selector:selector}))}else isNestedConditional&&container.addRule(prop,{},options).addRule(styleRule.key,style[prop],{selector:styleRule.selector});delete style[prop]}}return style}}},uppercasePattern=/[A-Z]/g,msPattern=/^ms-/,cache={};function toHyphenLower(match){return"-"+match.toLowerCase()}var hyphenate_style_name=function hyphenateStyleName(name){if(cache.hasOwnProperty(name))return cache[name];var hName=name.replace(uppercasePattern,toHyphenLower);return cache[name]=msPattern.test(hName)?"-"+hName:hName};function convertCase(style){var converted={};for(var prop in style){converted[0===prop.indexOf("--")?prop:hyphenate_style_name(prop)]=style[prop]}return style.fallbacks&&(Array.isArray(style.fallbacks)?converted.fallbacks=style.fallbacks.map(convertCase):converted.fallbacks=convertCase(style.fallbacks)),converted}var jss_plugin_camel_case_esm=function camelCase(){return{onProcessStyle:function onProcessStyle(style){if(Array.isArray(style)){for(var index=0;index<style.length;index++)style[index]=convertCase(style[index]);return style}return convertCase(style)},onChangeValue:function onChangeValue(value,prop,rule){if(0===prop.indexOf("--"))return value;var hyphenatedProp=hyphenate_style_name(prop);return prop===hyphenatedProp?value:(rule.prop(hyphenatedProp,value),null)}}},px=hasCSSTOMSupport&&CSS?CSS.px:"px",ms=hasCSSTOMSupport&&CSS?CSS.ms:"ms",percent=hasCSSTOMSupport&&CSS?CSS.percent:"%";function addCamelCasedVersion(obj){var regExp=/(-[a-z])/g,replace=function replace(str){return str[1].toUpperCase()},newObj={};for(var _key in obj)newObj[_key]=obj[_key],newObj[_key.replace(regExp,replace)]=obj[_key];return newObj}var units=addCamelCasedVersion({"animation-delay":ms,"animation-duration":ms,"background-position":px,"background-position-x":px,"background-position-y":px,"background-size":px,border:px,"border-bottom":px,"border-bottom-left-radius":px,"border-bottom-right-radius":px,"border-bottom-width":px,"border-left":px,"border-left-width":px,"border-radius":px,"border-right":px,"border-right-width":px,"border-top":px,"border-top-left-radius":px,"border-top-right-radius":px,"border-top-width":px,"border-width":px,margin:px,"margin-bottom":px,"margin-left":px,"margin-right":px,"margin-top":px,padding:px,"padding-bottom":px,"padding-left":px,"padding-right":px,"padding-top":px,"mask-position-x":px,"mask-position-y":px,"mask-size":px,height:px,width:px,"min-height":px,"max-height":px,"min-width":px,"max-width":px,bottom:px,left:px,top:px,right:px,"box-shadow":px,"text-shadow":px,"column-gap":px,"column-rule":px,"column-rule-width":px,"column-width":px,"font-size":px,"font-size-delta":px,"letter-spacing":px,"text-indent":px,"text-stroke":px,"text-stroke-width":px,"word-spacing":px,motion:px,"motion-offset":px,outline:px,"outline-offset":px,"outline-width":px,perspective:px,"perspective-origin-x":percent,"perspective-origin-y":percent,"transform-origin":percent,"transform-origin-x":percent,"transform-origin-y":percent,"transform-origin-z":percent,"transition-delay":ms,"transition-duration":ms,"vertical-align":px,"flex-basis":px,"shape-margin":px,size:px,grid:px,"grid-gap":px,"grid-row-gap":px,"grid-column-gap":px,"grid-template-rows":px,"grid-template-columns":px,"grid-auto-rows":px,"grid-auto-columns":px,"box-shadow-x":px,"box-shadow-y":px,"box-shadow-blur":px,"box-shadow-spread":px,"font-line-height":px,"text-shadow-x":px,"text-shadow-y":px,"text-shadow-blur":px});function iterate(prop,value,options){if(!value)return value;if(Array.isArray(value))for(var i=0;i<value.length;i++)value[i]=iterate(prop,value[i],options);else if("object"==typeof value)if("fallbacks"===prop)for(var innerProp in value)value[innerProp]=iterate(innerProp,value[innerProp],options);else for(var _innerProp in value)value[_innerProp]=iterate(prop+"-"+_innerProp,value[_innerProp],options);else if("number"==typeof value)return options[prop]?""+value+options[prop]:units[prop]?"function"==typeof units[prop]?units[prop](value).toString():""+value+units[prop]:value.toString();return value}var jss_plugin_default_unit_esm=function defaultUnit(options){void 0===options&&(options={});var camelCasedOptions=addCamelCasedVersion(options);return{onProcessStyle:function onProcessStyle(style,rule){if("style"!==rule.type)return style;for(var prop in style)style[prop]=iterate(prop,style[prop],camelCasedOptions);return style},onChangeValue:function onChangeValue(value,prop){return iterate(prop,value,camelCasedOptions)}}},toConsumableArray=__webpack_require__(31),js="",css_vendor_esm_css="",vendor="",isTouch=dist_module&&"ontouchstart"in document.documentElement;if(dist_module){var jsCssMap={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},css_vendor_esm_style=document.createElement("p").style;for(var css_vendor_esm_key in jsCssMap)if(css_vendor_esm_key+"Transform"in css_vendor_esm_style){js=css_vendor_esm_key,css_vendor_esm_css=jsCssMap[css_vendor_esm_key];break}"Webkit"===js&&"msHyphens"in css_vendor_esm_style&&(js="ms",css_vendor_esm_css=jsCssMap.ms,"edge"),"Webkit"===js&&"-apple-trailing-word"in css_vendor_esm_style&&(vendor="apple")}var css_vendor_esm_prefix_js=js,css_vendor_esm_prefix_css=css_vendor_esm_css,css_vendor_esm_prefix_vendor=vendor,css_vendor_esm_prefix_isTouch=isTouch;var appearence={noPrefill:["appearance"],supportedProperty:function supportedProperty(prop){return"appearance"===prop&&("ms"===css_vendor_esm_prefix_js?"-webkit-"+prop:css_vendor_esm_prefix_css+prop)}},colorAdjust={noPrefill:["color-adjust"],supportedProperty:function supportedProperty(prop){return"color-adjust"===prop&&("Webkit"===css_vendor_esm_prefix_js?css_vendor_esm_prefix_css+"print-"+prop:prop)}},regExp=/[-\s]+(.)?/g;function toUpper(match,c){return c?c.toUpperCase():""}function camelize(str){return str.replace(regExp,toUpper)}function pascalize(str){return camelize("-"+str)}var el,mask={noPrefill:["mask"],supportedProperty:function supportedProperty(prop,style){if(!/^mask/.test(prop))return!1;if("Webkit"===css_vendor_esm_prefix_js){if(camelize("mask-image")in style)return prop;if(css_vendor_esm_prefix_js+pascalize("mask-image")in style)return css_vendor_esm_prefix_css+prop}return prop}},textOrientation={noPrefill:["text-orientation"],supportedProperty:function supportedProperty(prop){return"text-orientation"===prop&&("apple"!==css_vendor_esm_prefix_vendor||css_vendor_esm_prefix_isTouch?prop:css_vendor_esm_prefix_css+prop)}},transform={noPrefill:["transform"],supportedProperty:function supportedProperty(prop,style,options){return"transform"===prop&&(options.transform?prop:css_vendor_esm_prefix_css+prop)}},transition={noPrefill:["transition"],supportedProperty:function supportedProperty(prop,style,options){return"transition"===prop&&(options.transition?prop:css_vendor_esm_prefix_css+prop)}},writingMode={noPrefill:["writing-mode"],supportedProperty:function supportedProperty(prop){return"writing-mode"===prop&&("Webkit"===css_vendor_esm_prefix_js||"ms"===css_vendor_esm_prefix_js?css_vendor_esm_prefix_css+prop:prop)}},userSelect={noPrefill:["user-select"],supportedProperty:function supportedProperty(prop){return"user-select"===prop&&("Moz"===css_vendor_esm_prefix_js||"ms"===css_vendor_esm_prefix_js||"apple"===css_vendor_esm_prefix_vendor?css_vendor_esm_prefix_css+prop:prop)}},breakPropsOld={supportedProperty:function supportedProperty(prop,style){return!!/^break-/.test(prop)&&("Webkit"===css_vendor_esm_prefix_js?"WebkitColumn"+pascalize(prop)in style&&css_vendor_esm_prefix_css+"column-"+prop:"Moz"===css_vendor_esm_prefix_js&&("page"+pascalize(prop)in style&&"page-"+prop))}},inlineLogicalOld={supportedProperty:function supportedProperty(prop,style){if(!/^(border|margin|padding)-inline/.test(prop))return!1;if("Moz"===css_vendor_esm_prefix_js)return prop;var newProp=prop.replace("-inline","");return css_vendor_esm_prefix_js+pascalize(newProp)in style&&css_vendor_esm_prefix_css+newProp}},unprefixed={supportedProperty:function supportedProperty(prop,style){return camelize(prop)in style&&prop}},prefixed={supportedProperty:function supportedProperty(prop,style){var pascalized=pascalize(prop);return"-"===prop[0]||"-"===prop[0]&&"-"===prop[1]?prop:css_vendor_esm_prefix_js+pascalized in style?css_vendor_esm_prefix_css+prop:"Webkit"!==css_vendor_esm_prefix_js&&"Webkit"+pascalized in style&&"-webkit-"+prop}},scrollSnap={supportedProperty:function supportedProperty(prop){return"scroll-snap"===prop.substring(0,11)&&("ms"===css_vendor_esm_prefix_js?""+css_vendor_esm_prefix_css+prop:prop)}},overscrollBehavior={supportedProperty:function supportedProperty(prop){return"overscroll-behavior"===prop&&("ms"===css_vendor_esm_prefix_js?css_vendor_esm_prefix_css+"scroll-chaining":prop)}},propMap={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},flex2012={supportedProperty:function supportedProperty(prop,style){var newProp=propMap[prop];return!!newProp&&(css_vendor_esm_prefix_js+pascalize(newProp)in style&&css_vendor_esm_prefix_css+newProp)}},propMap$1={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},propKeys=Object.keys(propMap$1),prefixCss=function prefixCss(p){return css_vendor_esm_prefix_css+p},css_vendor_esm_plugins=[appearence,colorAdjust,mask,textOrientation,transform,transition,writingMode,userSelect,breakPropsOld,inlineLogicalOld,unprefixed,prefixed,scrollSnap,overscrollBehavior,flex2012,{supportedProperty:function supportedProperty(prop,style,_ref){var multiple=_ref.multiple;if(propKeys.indexOf(prop)>-1){var newProp=propMap$1[prop];if(!Array.isArray(newProp))return css_vendor_esm_prefix_js+pascalize(newProp)in style&&css_vendor_esm_prefix_css+newProp;if(!multiple)return!1;for(var i=0;i<newProp.length;i++)if(!(css_vendor_esm_prefix_js+pascalize(newProp[0])in style))return!1;return newProp.map(prefixCss)}return!1}}],propertyDetectors=css_vendor_esm_plugins.filter((function(p){return p.supportedProperty})).map((function(p){return p.supportedProperty})),noPrefill=css_vendor_esm_plugins.filter((function(p){return p.noPrefill})).reduce((function(a,p){return a.push.apply(a,Object(toConsumableArray.a)(p.noPrefill)),a}),[]),css_vendor_esm_cache={};if(dist_module){el=document.createElement("p");var computed=window.getComputedStyle(document.documentElement,"");for(var key$1 in computed)isNaN(key$1)||(css_vendor_esm_cache[computed[key$1]]=computed[key$1]);noPrefill.forEach((function(x){return delete css_vendor_esm_cache[x]}))}function supportedProperty(prop,options){if(void 0===options&&(options={}),!el)return prop;if(null!=css_vendor_esm_cache[prop])return css_vendor_esm_cache[prop];"transition"!==prop&&"transform"!==prop||(options[prop]=prop in el.style);for(var i=0;i<propertyDetectors.length&&(css_vendor_esm_cache[prop]=propertyDetectors[i](prop,el.style,options),!css_vendor_esm_cache[prop]);i++);try{el.style[prop]=""}catch(err){return!1}return css_vendor_esm