@fluent-windows/styles
Version:
Fluent-Windows React styles.
1 lines • 77.5 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e=e||self).FluentUIStyles={},e.React)}(this,(function(e,t){"use strict";var r="default"in t?t.default:t;function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e,t){return e(t={exports:{}},t.exports),t.exports}var l=a((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,c=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case d:case c:case o:case a:case s:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case l:return e;default:return t}}case y:case g:case i:return t}}}function x(e){return b(e)===c}t.typeOf=b,t.AsyncMode=d,t.ConcurrentMode=c,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=f,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===a||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===m||e.$$typeof===v)},t.isAsyncMode=function(e){return x(e)||b(e)===d},t.isConcurrentMode=x,t.isContextConsumer=function(e){return b(e)===u},t.isContextProvider=function(e){return b(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return b(e)===p},t.isFragment=function(e){return b(e)===o},t.isLazy=function(e){return b(e)===y},t.isMemo=function(e){return b(e)===g},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===a},t.isStrictMode=function(e){return b(e)===s},t.isSuspense=function(e){return b(e)===f}}));s(l);l.typeOf,l.AsyncMode,l.ConcurrentMode,l.ContextConsumer,l.ContextProvider,l.Element,l.ForwardRef,l.Fragment,l.Lazy,l.Memo,l.Portal,l.Profiler,l.StrictMode,l.Suspense,l.isValidElementType,l.isAsyncMode,l.isConcurrentMode,l.isContextConsumer,l.isContextProvider,l.isElement,l.isForwardRef,l.isFragment,l.isLazy,l.isMemo,l.isPortal,l.isProfiler,l.isStrictMode,l.isSuspense;var u=a((function(e,t){}));s(u);u.typeOf,u.AsyncMode,u.ConcurrentMode,u.ContextConsumer,u.ContextProvider,u.Element,u.ForwardRef,u.Fragment,u.Lazy,u.Memo,u.Portal,u.Profiler,u.StrictMode,u.Suspense,u.isValidElementType,u.isAsyncMode,u.isConcurrentMode,u.isContextConsumer,u.isContextProvider,u.isElement,u.isForwardRef,u.isFragment,u.isLazy,u.isMemo,u.isPortal,u.isProfiler,u.isStrictMode,u.isSuspense;var d=a((function(e){e.exports=l})),c=(d.ForwardRef,d.isLazy,d.isMemo,d.isValidElementType,d.isElement,{childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0}),p={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},h={};function g(e){return d.isMemo(e)?f:h[e.$$typeof]||c}h[d.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var y=Object.defineProperty,m=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,b=Object.getOwnPropertyDescriptor,x=Object.getPrototypeOf,S=Object.prototype;var w=function e(t,r,n){if("string"!=typeof r){if(S){var i=x(r);i&&i!==S&&e(t,i,n)}var o=m(r);v&&(o=o.concat(v(r)));for(var s=g(t),a=g(r),l=0;l<o.length;++l){var u=o[l];if(!(p[u]||n&&n[u]||a&&a[u]||s&&s[u])){var d=b(r,u);try{y(t,u,d)}catch(e){}}}return t}return t},k=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;function C(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var j=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,n,i=C(e),o=1;o<arguments.length;o++){for(var s in r=Object(arguments[o]))R.call(r,s)&&(i[s]=r[s]);if(k){n=k(r);for(var a=0;a<n.length;a++)P.call(r,n[a])&&(i[n[a]]=r[n[a]])}}return i},O="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Function.call.bind(Object.prototype.hasOwnProperty);function T(){}function A(){}A.resetWarningCache=T;var z=a((function(e){e.exports=function(){function e(e,t,r,n,i,o){if(o!==O){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:A,resetWarningCache:T};return r.PropTypes=r,r}()}));function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(e){return function(t){var n,i;function o(){for(var n,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return E(L(L(n=t.call.apply(t,[this].concat(o))||this)),"cachedTheme",void 0),E(L(L(n)),"lastOuterTheme",void 0),E(L(L(n)),"lastTheme",void 0),E(L(L(n)),"renderProvider",(function(t){var i=n.props.children;return r.createElement(e.Provider,{value:n.getTheme(t)},i)})),n}i=t,(n=o).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var s=o.prototype;return s.getTheme=function(e){if(this.props.theme!==this.lastTheme||e!==this.lastOuterTheme||!this.cachedTheme)if(this.lastOuterTheme=e,this.lastTheme=this.props.theme,"function"==typeof this.lastTheme){var t=this.props.theme;this.cachedTheme=t(e)}else{var r=this.props.theme;this.cachedTheme=e?I({},e,r):r}return this.cachedTheme},s.render=function(){return this.props.children?r.createElement(e.Consumer,null,this.renderProvider):null},o}(r.Component)}function M(e){return function(t){var n=r.forwardRef((function(n,i){return r.createElement(e.Consumer,null,(function(e){return r.createElement(t,I({theme:e,ref:i},n))}))}));return w(n,t),n}}function B(e){return function(){return r.useContext(e)}}s(a((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}})));var N=t.createContext();function F(e){return{context:e,withTheme:M(e),useTheme:B(e),ThemeProvider:W(e)}}var G=F(N),_=G.withTheme,$=G.ThemeProvider,H=G.useTheme,U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V="object"===("undefined"==typeof window?"undefined":U(window))&&"object"===("undefined"==typeof document?"undefined":U(document))&&9===document.nodeType;function D(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q(e,t,r){return t&&D(e.prototype,t),r&&D(e,r),e}function X(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Y={}.constructor;function J(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(J);if(e.constructor!==Y)return e;var t={};for(var r in e)t[r]=J(e[r]);return t}function Z(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,i=J(t),o=n.plugins.onCreateRule(e,i,r);return o||(e[0],null)}var K=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r};function Q(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var r="";if(Array.isArray(e[0]))for(var n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=", "),r+=K(e[n]," ");else r=K(e,", ");return t||"!important"!==e[e.length-1]||(r+=" !important"),r}function ee(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function te(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var i=r.indent,o=void 0===i?0:i,s=t.fallbacks;if(e&&o++,s)if(Array.isArray(s))for(var a=0;a<s.length;a++){var l=s[a];for(var u in l){var d=l[u];null!=d&&(n&&(n+="\n"),n+=""+ee(u+": "+Q(d)+";",o))}}else for(var c in s){var p=s[c];null!=p&&(n&&(n+="\n"),n+=""+ee(c+": "+Q(p)+";",o))}for(var f in t){var h=t[f];null!=h&&"fallbacks"!==f&&(n&&(n+="\n"),n+=""+ee(f+": "+Q(h)+";",o))}return(n||r.allowEmpty)&&e?(n&&(n="\n"+n+"\n"),ee(e+" {"+n,--o)+ee("}",o)):n}var re=/([[\].#*$><+~=|^:(),"'`\s])/g,ne="undefined"!=typeof CSS&&CSS.escape,ie=function(e){return ne?ne(e):e.replace(re,"\\$1")},oe=function(){function e(e,t,r){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 n=r.sheet,i=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var i=t;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,s=e in this.style;if(o&&!s&&!n)return this;var a=o&&s;if(a?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return a?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),se=function(e){function t(t,r,n){var i;(i=e.call(this,t,r,n)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=n.selector,s=n.scoped,a=n.sheet,l=n.generateId;return o?i.selectorText=o:!1!==s&&(i.id=l(X(X(i)),a),i.selectorText="."+ie(i.id)),i}i(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=Q(r))}return e},r.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?n({},e,{allowEmpty:!0}):e;return te(this.selectorText,this.style,r)},q(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;if(r&&t)t.setSelector(r,e)||t.replaceRule(r,this)}},get:function(){return this.selectorText}}]),t}(oe),ae={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new se(e,t,r)}},le={indent:1,children:!0},ue=/@([\w-]+)/,de=function(){function e(e,t,r){this.type="conditional",this.at=void 0,this.key=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var i=e.match(ue);for(var o in this.at=i?i[1]:"unknown",this.options=r,this.rules=new Ee(n({},r,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.toString=function(e){if(void 0===e&&(e=le),null==e.indent&&(e.indent=le.indent),null==e.children&&(e.children=le.children),!1===e.children)return this.key+" {}";var t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""},e}(),ce=/@media|@supports\s+/,pe={onCreateRule:function(e,t,r){return ce.test(e)?new de(e,t,r):null}},fe={indent:1,children:!0},he=/@keyframes\s+([\w-]+)/,ge=function(){function e(e,t,r){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 i=e.match(he);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var o=r.scoped,s=r.sheet,a=r.generateId;for(var l in this.id=!1===o?this.name:ie(a(this,s)),this.rules=new Ee(n({},r,{parent:this})),t)this.rules.add(l,t[l],n({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=fe),null==e.indent&&(e.indent=fe.indent),null==e.children&&(e.children=fe.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),ye=/@keyframes\s+/,me=/\$([\w-]+)/g,ve=function(e,t){return"string"==typeof e?e.replace(me,(function(e,r){return r in t?t[r]:e})):e},be=function(e,t,r){var n=e[t],i=ve(n,r);i!==n&&(e[t]=i)},xe={onCreateRule:function(e,t,r){return"string"==typeof e&&ye.test(e)?new ge(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&be(e,"animation-name",r.keyframes),"animation"in e&&be(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return ve(e,n.keyframes);default:return e}}},Se=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).renderable=void 0,t}return i(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?n({},e,{allowEmpty:!0}):e;return te(this.key,this.style,r)},t}(oe),we={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new Se(e,t,r):null}},ke=function(){function e(e,t,r){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=e,this.style=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",r=0;r<this.style.length;r++)t+=te(this.key,this.style[r]),this.style[r+1]&&(t+="\n");return t}return te(this.key,this.style,e)},e}(),Re={onCreateRule:function(e,t,r){return"@font-face"===e?new ke(e,t,r):null}},Pe=function(){function e(e,t,r){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=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return te(this.key,this.style,e)},e}(),Ce={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new Pe(e,t,r):null}},je=function(){function e(e,t,r){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),Oe={"@charset":!0,"@import":!0,"@namespace":!0},Te=[ae,pe,xe,we,Re,Ce,{onCreateRule:function(e,t,r){return e in Oe?new je(e,t,r):null}}],Ae={process:!0},ze={force:!0,process:!0},Ee=function(){function e(e){this.map={},this.raw={},this.index=[],this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var i=this.options,o=i.parent,s=i.sheet,a=i.jss,l=i.Renderer,u=i.generateId,d=i.scoped,c=n({classes:this.classes,parent:o,sheet:s,jss:a,Renderer:l,generateId:u,scoped:d},r);this.raw[e]=t,e in this.classes&&(c.selector="."+ie(this.classes[e]));var p=Z(e,t,c);if(!p)return null;this.register(p);var f=void 0===c.index?this.index.length:c.index;return this.index.splice(f,0,p),p},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof se?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof ge&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof se?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof ge&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.onUpdate(t,this.get(e),r);else for(var n=0;n<this.index.length;n++)this.onUpdate(t,this.index[n],r)},t.onUpdate=function(t,r,n){void 0===n&&(n=Ae);var i=this.options,o=i.jss.plugins,s=i.sheet;if(r.rules instanceof e)r.rules.update(t,n);else{var a=r,l=a.style;if(o.onUpdate(t,r,s,n),n.process&&l&&l!==a.style){for(var u in o.onProcessStyle(a.style,a,s),a.style){var d=a.style[u];d!==l[u]&&a.prop(u,d,ze)}for(var c in l){var p=a.style[c],f=l[c];null==p&&p!==f&&a.prop(c,null,ze)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(e);(o||n)&&(t&&(t+="\n"),t+=o)}return t},e}(),Ie=function(){function e(e,t){for(var r 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=n({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Ee(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(e,t,r);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(n?n.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var i=this.addRule(n,e[n],t);i&&r.push(i)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.toString=function(e){return this.rules.toString(e)},e}(),Le=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](e,t,r);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),We=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=o(t,["attached"]),i="",s=0;s<this.registry.length;s++){var a=this.registry[s];null!=r&&a.attached!==r||(i&&(i+="\n"),i+=a.toString(n))}return i},q(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),Me=new We,Be="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Ne="2f1acc6c3a606b082e5eef5e54414ffb";null==Be[Ne]&&(Be[Ne]=0);var Fe=Be[Ne]++,Ge=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var i="",o="";return n&&(n.options.classNamePrefix&&(o=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),e.minify?""+(o||"c")+Fe+i+t:o+r.key+"-"+Fe+(i?"-"+i:"")+"-"+t}},_e=function(e){var t;return function(){return t||(t=e()),t}};function $e(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}}function He(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=Q(r,!0),"!important"===r[r.length-1]))return e.style.setProperty(t,n,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,n):e.style.setProperty(t,n)}catch(e){return!1}return!0}function Ue(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}}function Ve(e,t){return e.selectorText=t,e.selectorText===t}var De=_e((function(){return document.querySelector("head")}));function qe(e){var t=Me.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if((r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e))&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var i=function(e){for(var t=De(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var Xe=_e((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Ye=function(e,t,r){var n=e.cssRules.length;(void 0===r||r>n)&&(r=n);try{if("insertRule"in e)e.insertRule(t,r);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[r]},Je=function(){var e=document.createElement("style");return e.textContent="\n",e},Ze=function(){function e(e){this.getPropertyValue=$e,this.setProperty=He,this.removeProperty=Ue,this.setSelector=Ve,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&Me.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},r=t.media,n=t.meta,i=t.element;this.element=i||Je(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),n&&this.element.setAttribute("data-meta",n);var o=Xe();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=qe(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var i=r,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else De().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,i=r;return("conditional"!==e.type&&"keyframes"!==e.type||!1!==(i=Ye(r,n.toString({children:!1}),t)))&&(this.insertRules(n.rules,i),i)}if(e.renderable&&e.renderable.parentStyleSheet===this.element.sheet)return e.renderable;var o=e.toString();if(!o)return!1;var s=Ye(r,o,t);return!1!==s&&(this.hasInsertedRules=!0,e.renderable=s,s)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),!0)},t.indexOf=function(e){for(var t=this.element.sheet.cssRules,r=0;r<t.length;r++)if(e===t[r])return r;return-1},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Ke=0,Qe=function(){function e(e){this.id=Ke++,this.version="10.0.0",this.plugins=new Le,this.options={id:{minify:!1},createGenerateId:Ge,Renderer:V?Ze:null,plugins:[]},this.generateId=Ge({minify:!1});for(var t=0;t<Te.length;t++)this.plugins.use(Te[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=n({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===Me.index?0:Me.index+1);var i=new Ie(e,n({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(i),i},t.removeStyleSheet=function(e){return e.detach(),Me.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var i=n({},r,{jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var o=Z(e,t,i);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}();var et=function(){function e(){this.length=0,this.sheets=new WeakMap}var t=e.prototype;return t.get=function(e){var t=this.sheets.get(e);return t&&t.sheet},t.add=function(e,t){this.sheets.has(e)||(this.length++,this.sheets.set(e,{sheet:t,refs:0}))},t.manage=function(e){var t=this.sheets.get(e);if(t)return 0===t.refs&&t.sheet.attach(),t.refs++,t.sheet},t.unmanage=function(e){var t=this.sheets.get(e);t&&t.refs>0&&(t.refs--,0===t.refs&&t.sheet.detach())},q(e,[{key:"size",get:function(){return this.length}}]),e}(),tt="undefined"!=typeof CSS&&CSS&&"number"in CSS,rt=function(e){return new Qe(e)},nt=rt(),it=Date.now(),ot="fnValues"+it,st="fnStyle"+ ++it;var at=function(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")()),lt=function(e){return e&&e[at]&&e===e[at]()};var ut=/;\n/,dt=function(e){"string"==typeof e.style&&(e.style=function(e){for(var t={},r=e.split(ut),n=0;n<r.length;n++){var i=(r[n]||"").trim();if(i){var o=i.indexOf(":");if(-1!==o){var s=i.substr(0,o).trim(),a=i.substr(o+1).trim();t[s]=a}}}return t}(e.style))};var ct="@global",pt="@global ",ft=function(){function e(e,t,r){for(var i in this.type="global",this.at=ct,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new Ee(n({},r,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),ht=function(){function e(e,t,r){this.type="global",this.at=ct,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=r;var i=e.substr(pt.length);this.rule=r.jss.createRule(i,t,n({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),gt=/\s*,\s*/g;function yt(e,t){for(var r=e.split(gt),n="",i=0;i<r.length;i++)n+=t+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}function mt(){return{onCreateRule:function(e,t,r){if(!e)return null;if(e===ct)return new ft(e,t,r);if("@"===e[0]&&e.substr(0,pt.length)===pt)return new ht(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),!1===r.scoped&&(r.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,r=e.style,i=r?r[ct]:null;if(i){for(var o in i)t.sheet.addRule(o,i[o],n({},t,{selector:yt(o,e.selector)}));delete r[ct]}}(e),function(e){var t=e.options,r=e.style;for(var i in r)if("@"===i[0]&&i.substr(0,ct.length)===ct){var o=yt(i.substr(ct.length),e.selector);t.sheet.addRule(o,r[i],n({},t,{selector:o})),delete r[i]}}(e))}}}var vt=function(e){return e&&"object"==typeof e&&!Array.isArray(e)},bt="extendCurrValue"+Date.now();function xt(e,t,r,n){return void 0===n&&(n={}),function(e,t,r,n){if("string"!==typeof e.extend)if(Array.isArray(e.extend))for(var i=0;i<e.extend.length;i++)xt(e.extend[i],t,r,n);else for(var o in e.extend)"extend"!==o?vt(e.extend[o])?(o in n||(n[o]={}),xt(e.extend[o],t,r,n[o])):n[o]=e.extend[o]:xt(e.extend.extend,t,r,n);else{if(!r)return;var s=r.getRule(e.extend);if(!s)return;if(s===t)return;var a=s.options.parent;a&&xt(a.rules.raw[e.extend],t,r,n)}}(e,t,r,n),function(e,t,r,n){for(var i in e)"extend"!==i&&(vt(n[i])&&vt(e[i])?xt(e[i],t,r,n[i]):vt(e[i])?n[i]=xt(e[i],t,r):n[i]=e[i])}(e,t,r,n),n}var St=/\s*,\s*/g,wt=/&/g,kt=/\$([\w-]+)/g;function Rt(){function e(e,t){return function(r,n){var i=e.getRule(n)||t&&t.getRule(n);return i?(i=i).selector:n}}function t(e,t){for(var r=t.split(St),n=e.split(St),i="",o=0;o<r.length;o++)for(var s=r[o],a=0;a<n.length;a++){var l=n[a];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(wt,s):s+" "+l}return i}function r(e,t,r){if(r)return n({},r,{index:r.index+1});var i=e.options.nestingLevel;return i=void 0===i?1:i+1,n({},e.options,{nestingLevel:i,index:t.indexOf(e)+1})}return{onProcessStyle:function(i,o,s){if("style"!==o.type)return i;var a,l,u=o,d=u.options.parent;for(var c in i){var p=-1!==c.indexOf("&"),f="@"===c[0];if(p||f){if(a=r(u,d,a),p){var h=t(c,u.selector);l||(l=e(d,s)),h=h.replace(kt,l),d.addRule(h,i[c],n({},a,{selector:h}))}else f&&d.addRule(c,{},a).addRule(u.key,i[c],{selector:u.selector});delete i[c]}}return i}}}function Pt(){return{onProcessStyle:function(e,t){return"composes"in e?(function e(t,r){if(!r)return!0;if(Array.isArray(r)){for(var n=0;n<r.length;n++){if(!e(t,r[n]))return!1}return!0}if(r.indexOf(" ")>-1)return e(t,r.split(" "));var i=t.options.parent;if("$"===r[0]){var o=i.getRule(r.substr(1));return!!o&&(o!==t&&(i.classes[t.key]+=" "+i.classes[o.key],!0))}return i.classes[t.key]+=" "+r,!0}(t,e.composes),delete e.composes,e):e}}}var Ct=/[A-Z]/g,jt=/^ms-/,Ot={};function Tt(e){return"-"+e.toLowerCase()}function At(e){if(Ot.hasOwnProperty(e))return Ot[e];var t=e.replace(Ct,Tt);return Ot[e]=jt.test(t)?"-"+t:t}function zt(e){var t={};for(var r in e){t[0===r.indexOf("--")?r:At(r)]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(zt):t.fallbacks=zt(e.fallbacks)),t}var Et=tt&&CSS?CSS.px:"px",It=tt&&CSS?CSS.ms:"ms",Lt=tt&&CSS?CSS.percent:"%";function Wt(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var i in e)n[i]=e[i],n[i.replace(t,r)]=e[i];return n}var Mt=Wt({"animation-delay":It,"animation-duration":It,"background-position":Et,"background-position-x":Et,"background-position-y":Et,"background-size":Et,border:Et,"border-bottom":Et,"border-bottom-left-radius":Et,"border-bottom-right-radius":Et,"border-bottom-width":Et,"border-left":Et,"border-left-width":Et,"border-radius":Et,"border-right":Et,"border-right-width":Et,"border-top":Et,"border-top-left-radius":Et,"border-top-right-radius":Et,"border-top-width":Et,"border-width":Et,margin:Et,"margin-bottom":Et,"margin-left":Et,"margin-right":Et,"margin-top":Et,padding:Et,"padding-bottom":Et,"padding-left":Et,"padding-right":Et,"padding-top":Et,"mask-position-x":Et,"mask-position-y":Et,"mask-size":Et,height:Et,width:Et,"min-height":Et,"max-height":Et,"min-width":Et,"max-width":Et,bottom:Et,left:Et,top:Et,right:Et,"box-shadow":Et,"text-shadow":Et,"column-gap":Et,"column-rule":Et,"column-rule-width":Et,"column-width":Et,"font-size":Et,"font-size-delta":Et,"letter-spacing":Et,"text-indent":Et,"text-stroke":Et,"text-stroke-width":Et,"word-spacing":Et,motion:Et,"motion-offset":Et,outline:Et,"outline-offset":Et,"outline-width":Et,perspective:Et,"perspective-origin-x":Lt,"perspective-origin-y":Lt,"transform-origin":Lt,"transform-origin-x":Lt,"transform-origin-y":Lt,"transform-origin-z":Lt,"transition-delay":It,"transition-duration":It,"vertical-align":Et,"flex-basis":Et,"shape-margin":Et,size:Et,grid:Et,"grid-gap":Et,"grid-row-gap":Et,"grid-column-gap":Et,"grid-template-rows":Et,"grid-template-columns":Et,"grid-auto-rows":Et,"grid-auto-columns":Et,"box-shadow-x":Et,"box-shadow-y":Et,"box-shadow-blur":Et,"box-shadow-spread":Et,"font-line-height":Et,"text-shadow-x":Et,"text-shadow-y":Et,"text-shadow-blur":Et});function Bt(e,t,r){if(!t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=Bt(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=Bt(i,t[i],r);else for(var o in t)t[o]=Bt(e+"-"+o,t[o],r);else if("number"==typeof t)return r[e]?""+t+r[e]:Mt[e]?"function"==typeof Mt[e]?Mt[e](t).toString():""+t+Mt[e]:t.toString();return t}function Nt(e){void 0===e&&(e={});var t=Wt(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=Bt(n,e[n],t);return e},onChangeValue:function(e,r){return Bt(r,e,t)}}}var Ft={"background-size":!0,"background-position":!0,border:!0,"border-bottom":!0,"border-left":!0,"border-top":!0,"border-right":!0,"border-radius":!0,"border-image":!0,"border-width":!0,"border-style":!0,"border-color":!0,"box-shadow":!0,flex:!0,margin:!0,padding:!0,outline:!0,"transform-origin":!0,transform:!0,transition:!0},Gt={position:!0,size:!0},_t={padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},background:{attachment:null,color:null,image:null,position:null,repeat:null},border:{width:null,style:null,color:null},"border-top":{width:null,style:null,color:null},"border-right":{width:null,style:null,color:null},"border-bottom":{width:null,style:null,color:null},"border-left":{width:null,style:null,color:null},outline:{width:null,style:null,color:null},"list-style":{type:null,position:null,image:null},transition:{property:null,duration:null,"timing-function":null,timingFunction:null,delay:null},animation:{name:null,duration:null,"timing-function":null,timingFunction:null,delay:null,"iteration-count":null,iterationCount:null,direction:null,"fill-mode":null,fillMode:null,"play-state":null,playState:null},"box-shadow":{x:0,y:0,blur:0,spread:0,color:null,inset:null},"text-shadow":{x:0,y:0,blur:null,color:null}},$t={border:{radius:"border-radius",image:"border-image",width:"border-width",style:"border-style",color:"border-color"},"border-bottom":{width:"border-bottom-width",style:"border-bottom-style",color:"border-bottom-color"},"border-top":{width:"border-top-width",style:"border-top-style",color:"border-top-color"},"border-left":{width:"border-left-width",style:"border-left-style",color:"border-left-color"},"border-right":{width:"border-right-width",style:"border-right-style",color:"border-right-color"},background:{size:"background-size",image:"background-image"},font:{style:"font-style",variant:"font-variant",weight:"font-weight",stretch:"font-stretch",size:"font-size",family:"font-family",lineHeight:"line-height","line-height":"line-height"},flex:{grow:"flex-grow",basis:"flex-basis",direction:"flex-direction",wrap:"flex-wrap",flow:"flex-flow",shrink:"flex-shrink"},align:{self:"align-self",items:"align-items",content:"align-content"},grid:{"template-columns":"grid-template-columns",templateColumns:"grid-template-columns","template-rows":"grid-template-rows",templateRows:"grid-template-rows","template-areas":"grid-template-areas",templateAreas:"grid-template-areas",template:"grid-template","auto-columns":"grid-auto-columns",autoColumns:"grid-auto-columns","auto-rows":"grid-auto-rows",autoRows:"grid-auto-rows","auto-flow":"grid-auto-flow",autoFlow:"grid-auto-flow",row:"grid-row",column:"grid-column","row-start":"grid-row-start",rowStart:"grid-row-start","row-end":"grid-row-end",rowEnd:"grid-row-end","column-start":"grid-column-start",columnStart:"grid-column-start","column-end":"grid-column-end",columnEnd:"grid-column-end",area:"grid-area",gap:"grid-gap","row-gap":"grid-row-gap",rowGap:"grid-row-gap","column-gap":"grid-column-gap",columnGap:"grid-column-gap"}};function Ht(e,t,r,n){return null==r[t]?e:0===e.length?[]:Array.isArray(e[0])?Ht(e[0],t,r,n):"object"==typeof e[0]?function(e,t,r){return e.map((function(e){return Ut(e,t,r,!1,!0)}))}(e,t,n):[e]}function Ut(e,t,r,n,i){if(!_t[t]&&!$t[t])return[];var o=[];if($t[t]&&(e=function(e,t,r,n){for(var i in r){var o=r[i];if(void 0!==e[i]&&(n||!t.prop(o))){var s,a=Vt((s={},s[o]=e[i],s),t)[o];n?t.style.fallbacks[o]=a:t.style[o]=a}delete e[i]}return e}(e,r,$t[t],n)),Object.keys(e).length)for(var s in _t[t])e[s]?Array.isArray(e[s])?o.push(null===Gt[s]?e[s]:e[s].join(" ")):o.push(e[s]):null!=_t[t][s]&&o.push(_t[t][s]);return!o.length||i?o:[o]}function Vt(e,t,r){for(var n in e){var i=e[n];if(Array.isArray(i)){if(!Array.isArray(i[0])){if("fallbacks"===n){for(var o=0;o<e.fallbacks.length;o++)e.fallbacks[o]=Vt(e.fallbacks[o],t,!0);continue}e[n]=Ht(i,n,Ft,t),e[n].length||delete e[n]}}else if("object"==typeof i){if("fallbacks"===n){e.fallbacks=Vt(e.fallbacks,t,!0);continue}e[n]=Ut(i,n,t,r),e[n].length||delete e[n]}else""===e[n]&&delete e[n]}return e}function Dt(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var qt="",Xt="",Yt="",Jt="",Zt=V&&"ontouchstart"in document.documentElement;if(V){var Kt={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Qt=document.createElement("p").style;for(var er in Kt)if(er+"Transform"in Qt){qt=er,Xt=Kt[er];break}"Webkit"===qt&&"msHyphens"in Qt&&(qt="ms",Xt=Kt.ms,Jt="edge"),"Webkit"===qt&&"-apple-trailing-word"in Qt&&(Yt="apple")}var tr={js:qt,css:Xt,vendor:Yt,browser:Jt,isTouch:Zt};var rr={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===tr.js?"-webkit-"+e:tr.css+e)}},nr=/[-\s]+(.)?/g;function ir(e,t){return t?t.toUpperCase():""}function or(e){return e.replace(nr,ir)}function sr(e){return or("-"+e)}var ar,lr={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===tr.js?"WebkitColumn"+sr(e)in t&&tr.css+"column-"+e:"Moz"===tr.js&&("page"+sr(e)in t&&"page-"+e))}},ur={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===tr.js?tr.css+"print-"+e:e)}},dr={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"},cr=Object.keys(dr),pr=function(e){return tr.css+e},fr={"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"},hr=[rr,ur,{noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===tr.js){if(or("mask-image")in t)return e;if(tr.js+sr("mask-image")in t)return tr.css+e}return e}},{noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==tr.vendor||tr.isTouch?e:tr.css+e)}},{noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:tr.css+e)}},{noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:tr.css+e)}},{noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===tr.js||"ms"===tr.js?tr.css+e:e)}},lr,{supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===tr.js)return e;var r=e.replace("-inline","");return tr.js+sr(r)in t&&tr.css+r}},{supportedProperty:function(e,t){return or(e)in t&&e}},{supportedProperty:function(e,t){var r=sr(e);return"-"===e[0]?e:"-"===e[0]&&"-"===e[1]?e:tr.js+r in t?tr.css+e:"Webkit"!==tr.js&&"Webkit"+r in t&&"-webkit-"+e}},{supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===tr.js?""+tr.css+e:e)}},{supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===tr.js?tr.css+"scroll-chaining":e)}},{supportedProperty:function(e,t){var r=fr[e];return!!r&&(tr.js+sr(r)in t&&tr.css+r)}},{supportedProperty:function(e,t,r){var n=r.multiple;if(cr.indexOf(e)>-1){var i=dr[e];if(!Array.isArray(i))return tr.js+sr(i)in t&&tr.css+i;if(!n)return!1;for(var o=0;o<i.length;o++)if(!(tr.js+sr(i[0])in t))return!1;return i.map(pr)}return!1}}],gr=hr.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),yr=hr.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Dt(t.noPrefill)),e}),[]),mr={};if(V){ar=document.createElement("p");var vr=window.getComputedStyle(document.documentElement,"");for(var br in vr)isNaN(br)||(mr[vr[br]]=vr[br]);yr.forEach((function(e){return delete mr[e]}))}function xr(e,t){if(void 0===t&&(t={}),!ar)return e;if(null!=mr[e])return mr[e];"transition"!==e&&"transform"!==e||(t[e]=e in ar.style);for(var r=0;r<gr.length&&(mr[e]=gr[r](e,ar.style,t),!mr[e]);r++);try{ar.style[e]=""}catch(e){return!1}return mr[e]}var Sr,wr={},kr={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Rr=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Pr(e,t,r){return"var"===t?"var":"all"===t?"all":"all"===r?", all":t?xr(t):", "+xr(r)}function Cr(e,t){var r=t;if(!Sr||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=wr[n])return wr[n];try{Sr.style[e]=r}catch(e){return wr[n]=!1,!1}if(kr[e])r=r.replace(Rr,Pr);else if(""===Sr.style[e]&&("-ms-flex"===(r=tr.css+r)&&(Sr.style[e]="-ms-flexbox"),Sr.style[e]=r,""===Sr.style[e]))return wr[n]=!1,!1;return Sr.style[e]="",wr[n]=r,wr[n]}function jr(){function e(t){for(var r in t){var n=t[r];if("fallbacks"===r&&Array.isArray(n))t[r]=n.map(e);else{var i=!1,o=xr(r);o&&o!==r&&(i=!0);var s=!1,a=Cr(o,Q(n));a&&a!==n&&(s=!0),(i||s)&&(i&&delete t[r],t[o||r]=a||n)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]?e:"ms"===tr.js?e:"@"+tr.css+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Cr(t,Q(e))||e}}}function Or(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)n[i[o]]=t[i[o]];return n}}}V&&(Sr=document.createElement("p"));var Tr=function(e){return void 0===e&&(e={}),{plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var n=Z(e,{},r);return n[st]=t,n},onProcessStyle:function(e,t){if(ot in t||st in t)return e;var r={};for(var n in e){var i=e[n];"function"==typeof i&&(delete e[n],r[n]=i)}return t[ot]=r,e},onUpdate:function(e,t,r,n){var i=t,o=i[st];o&&(i.style=o(e)||{});var s=i[ot];if(s)for(var a in s)i.prop(a,s[a](e),n)}},(t=e.observable,{onCreateRule:function(e,r,n){if(!lt(r))return null;var i=r,o=Z(e,{},n);return i.subscribe((function(e){for(var r in e)o.prop(r,e[r],t)})),o},onProcessRule:function(e){if(!e||"style"===e.type){var r=e,n=r.style,i=function(e){var i=n[e];if(!lt(i))return"continue";delete n[e],i.subscribe({next:function(n){r.prop(e,n,t)}})};for(var o in n)i(o)}}}),{onProcessRule:dt},mt(),{onProcessStyle:function(e,t,r){return"extend"in e?xt(e,t,r):e},onChangeValue:function(e,t,r){if("extend"!==t)return e;if(null==e||!1===e){for(var n in r[bt])r.prop(n,null);return r[bt]=null,null}if("object"==typeof e){for(var i in e)r.prop(i,e[i]);r[bt]=e}return null}},Rt(),Pt(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=zt(e[t]);return e}return zt(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=At(t);return t===n?e:(r.prop(n,e),null)}},Nt(e.defaultUnit),{onProcessStyle:function(e,t){if(!e||"style"!==t.type)return e;if(Array.isArray(e)){for(var r=0;r<e.length;r++)e[r]=Vt(e[r],t);return e}return Vt(e,t)}},jr(),Or()]};var t};var Ar=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k