From dded38e42f7359c0ce413aeff350e2983e484dc9 Mon Sep 17 00:00:00 2001 From: Mike the Tike Date: Thu, 20 Jan 2022 14:08:48 +0200 Subject: [PATCH] fix(collectibles): fix setup and unlock --- .../build/static/js/2.bde91668.chunk.js | 3 + .../build/static/js/2.bde91668.chunk.js.map | 1 + .../build/static/js/main.765d8e32.chunk.js | 2 + .../static/js/main.765d8e32.chunk.js.map | 1 + .../web-app/package-lock.json | 22246 +++++++++++++++- .../tari_collectibles/web-app/src/App.js | 26 +- .../web-app/src/Dashboard.js | 1 + .../tari_collectibles/web-app/src/Setup.js | 32 +- 8 files changed, 22272 insertions(+), 40 deletions(-) create mode 100644 applications/tari_collectibles/web-app/build/static/js/2.bde91668.chunk.js create mode 100644 applications/tari_collectibles/web-app/build/static/js/2.bde91668.chunk.js.map create mode 100644 applications/tari_collectibles/web-app/build/static/js/main.765d8e32.chunk.js create mode 100644 applications/tari_collectibles/web-app/build/static/js/main.765d8e32.chunk.js.map diff --git a/applications/tari_collectibles/web-app/build/static/js/2.bde91668.chunk.js b/applications/tari_collectibles/web-app/build/static/js/2.bde91668.chunk.js new file mode 100644 index 0000000000..6ec092022d --- /dev/null +++ b/applications/tari_collectibles/web-app/build/static/js/2.bde91668.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.bde91668.chunk.js.LICENSE.txt */ +(this["webpackJsonptari-collectibles-web"]=this["webpackJsonptari-collectibles-web"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(155)},function(e,t,n){"use strict";e.exports=n(150)},function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return x})),n.d(t,"c",(function(){return k}));var r=n(19),o=n(2),i=n(4),a=n(85),c=n(229),u=n(215),s=n(137),l=["variant"];function d(e){return 0===e.length}function f(e){var t=e.variant,n=Object(i.a)(e,l),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?d(r)?e[t]:Object(s.a)(e[t]):"".concat(d(r)?t:Object(s.a)(t)).concat(Object(s.a)(e[t].toString()))})),r}var p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],h=["theme"],b=["theme"];function m(e){return 0===Object.keys(e).length}var v=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},y=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=f(e.props);r[t]=e.style})),r},g=function(e,t,n,r){var o,i,a=e.ownerState,c=void 0===a?{}:a,u=[],s=null==n||null==(o=n.components)||null==(i=o[r])?void 0:i.variants;return s&&s.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){c[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&u.push(t[f(n.props)])})),u};function O(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var j=Object(c.a)();var w=n(56),x=function(e){return O(e)&&"classes"!==e},k=O,S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?j:t,c=e.rootShouldForwardProp,s=void 0===c?O:c,l=e.slotShouldForwardProp,d=void 0===l?O:l;return function(e){var t,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=c.name,f=c.slot,j=c.skipVariantsResolver,w=c.skipSx,x=c.overridesResolver,k=Object(i.a)(c,p),S=void 0!==j?j:f&&"Root"!==f||!1,E=w||!1;var _=O;"Root"===f?_=s:f&&(_=d);var C=Object(a.a)(e,Object(o.a)({shouldForwardProp:_,label:t},k)),P=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),c=1;c0){var p=new Array(f).fill("");(d=[].concat(Object(r.a)(e),Object(r.a)(p))).raw=[].concat(Object(r.a)(e.raw),Object(r.a)(p))}else"function"===typeof e&&(d=function(t){var r=t.theme,a=Object(i.a)(t,b);return e(Object(o.a)({theme:m(r)?n:r},a))});var O=C.apply(void 0,[d].concat(Object(r.a)(s)));return O};return P}}({defaultTheme:w.a,rootShouldForwardProp:x});t.a=S},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3);function o(e){return Object(r.a)(this,void 0,void 0,(function(){return Object(r.b)(this,(function(t){return[2,Object(r.e)("tauri",e)]}))}))}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"===typeof e||"number"===typeof e)o+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r)),r}t.a=function(e){var t=e.prop,n=e.cssProperty,u=void 0===n?e.prop:n,s=e.themeKey,l=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=a(e.theme,s)||{};return Object(i.b)(e,n,(function(e){var n=c(d,l,e);return e===n&&"string"===typeof e&&(n=c(d,l,"".concat(t).concat("default"===e?"":Object(o.a)(e)),e)),!1===u?n:Object(r.a)({},u,n)}))};return d.propTypes={},d.filterProps=[t],d}},function(e,t,n){e.exports=n(156)()},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(127);var o=n(81),i=n(128);function a(e,t){return Object(r.a)(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||Object(o.a)(e,t)||Object(i.a)()}},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,u,"next",e)}function u(e){r(a,o,i,c,u,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(183);t.a=r.a},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(74);var o=n(129),i=n(81);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(o.a)(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return _})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return A})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return E})),n.d(t,"g",(function(){return z})),n.d(t,"h",(function(){return I})),n.d(t,"i",(function(){return N}));var r=n(26),o=n(1),i=n.n(o),a=(n(14),n(32)),c=n(131),u=n(37),s=n(2),l=n(109),d=n.n(l),f=(n(114),n(4)),p=n(73),h=n.n(p),b=function(e){var t=Object(c.a)();return t.displayName=e,t},m=b("Router-History"),v=b("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return i.a.createElement(v.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.a.Component);i.a.Component;var g=function(e){function t(){return e.apply(this,arguments)||this}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i.a.Component);var O={},j=0;function w(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(O[e])return O[e];var t=d.a.compile(e);return j<1e4&&(O[e]=t,j++),t}(e)(t,{pretty:!0})}function x(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i.a.createElement(v.Consumer,null,(function(e){e||Object(u.a)(!1);var r=e.history,c=e.staticContext,l=o?r.push:r.replace,d=Object(a.c)(t?"string"===typeof n?w(n,t.params):Object(s.a)({},n,{pathname:w(n.pathname,t.params)}):n);return c?(l(d),null):i.a.createElement(g,{onMount:function(){l(d)},onUpdate:function(e,t){var n=Object(a.c)(t.to);Object(a.f)(n,Object(s.a)({},d,{key:n.key}))||l(d)},to:n})}))}var k={},S=0;function E(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,c=void 0!==a&&a,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=k[n]||(k[n]={});if(r[e])return r[e];var o=[],i={regexp:d()(e,o,t),keys:o};return S<1e4&&(r[e]=i,S++),i}(n,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(e);if(!u)return null;var l=u[0],f=u.slice(1),p=e===l;return i&&!p?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var _=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(u.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?E(n.pathname,e.props):t.match,o=Object(s.a)({},t,{location:n,match:r}),a=e.props,c=a.children,l=a.component,d=a.render;return Array.isArray(c)&&function(e){return 0===i.a.Children.count(e)}(c)&&(c=null),i.a.createElement(v.Provider,{value:o},o.match?c?"function"===typeof c?c(o):c:l?i.a.createElement(l,o):d?d(o):null:"function"===typeof c?c(o):null)}))},t}(i.a.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function P(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:Object(s.a)({},t,{pathname:t.pathname.substr(n.length)})}function R(e){return"string"===typeof e?e:Object(a.e)(e)}function M(e){return function(){Object(u.a)(!1)}}function T(){}i.a.Component;var A=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(u.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?E(o.pathname,Object(s.a)({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);function N(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=Object(f.a)(t,["wrappedComponentRef"]);return i.a.createElement(v.Consumer,null,(function(t){return t||Object(u.a)(!1),i.a.createElement(e,Object(s.a)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}var L=i.a.useContext;function z(){return L(m)}function I(){var e=L(v).match;return e?e.params:{}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u}));n(19),n(2),n(14),n(110),n(48);var r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(r[e],"px)")}};function i(e,t,n){var i=e.theme||{};if(Array.isArray(t)){var a=i.breakpoints||o;return t.reduce((function(e,r,o){return e[a.up(a.keys[o])]=n(t[o]),e}),{})}if("object"===typeof t){var c=i.breakpoints||o;return Object.keys(t).reduce((function(e,o){if(-1!==Object.keys(c.values||r).indexOf(o)){e[c.up(o)]=n(t[o],o)}else{var i=o;e[i]=t[i]}return e}),{})}return n(t)}function a(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null==t||null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{});return n||{}}function c(e,t){return e.reduce((function(e,t){var n=e[t];return 0===Object.keys(n).length&&delete e[t],e}),t)}function u(e){var t,n=e.values,r=e.base,o=Object.keys(r);return 0===o.length?n:o.reduce((function(e,r){return e[r]="object"===typeof n?null!=n[r]?n[r]:n[t]:n,t=r,e}),{})}},function(e,t,n){"use strict";var r=n(3);n.d(t,"a",(function(){return r.e}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r,o,i=n(3),a=n(6),c=n(35),u=function(e,t){this.type="Logical",this.width=e,this.height=t},s=function(){function e(e,t){this.type="Physical",this.width=e,this.height=t}return e.prototype.toLogical=function(e){return new u(this.width/e,this.height/e)},e}(),l=function(e,t){this.type="Logical",this.x=e,this.y=t},d=function(){function e(e,t){this.type="Physical",this.x=e,this.y=t}return e.prototype.toLogical=function(e){return new l(this.x/e,this.y/e)},e}();function f(){return window.__TAURI__.__windows.map((function(e){return new m(e.label,{skip:!0})}))}(o=r||(r={}))[o.Critical=1]="Critical",o[o.Informational=2]="Informational";var p=["tauri://created","tauri://error"],h=function(){function e(e){this.label=e,this.listeners=Object.create(null)}return e.prototype.listen=function(e,t){return Object(i.a)(this,void 0,void 0,(function(){var n=this;return Object(i.b)(this,(function(r){return this._handleTauriEvent(e,t)?[2,Promise.resolve((function(){var r=n.listeners[e];r.splice(r.indexOf(t),1)}))]:[2,Object(c.c)(e,t)]}))}))},e.prototype.once=function(e,t){return Object(i.a)(this,void 0,void 0,(function(){var n=this;return Object(i.b)(this,(function(r){return this._handleTauriEvent(e,t)?[2,Promise.resolve((function(){var r=n.listeners[e];r.splice(r.indexOf(t),1)}))]:[2,Object(c.d)(e,t)]}))}))},e.prototype.emit=function(e,t){return Object(i.a)(this,void 0,void 0,(function(){var n,r;return Object(i.b)(this,(function(o){if(p.includes(e)){for(n=0,r=this.listeners[e]||[];n0)t[o]=e(t[o]||{},n,r);else{var i=t[o];i&&(r=[].concat(i).concat(r)),t[o]=r}return t}(e,t=t.split("."),n)},Object.defineProperty(i,"decorateRoot",{get:function(){return a.decorated||(a.decorated=new(n(99)))}})},function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return m}));var r=n(16),o=n(21),i=n(13),a=n(48);var c={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!s[e])return[e];e=s[e]}var t=e.split(""),n=Object(r.a)(t,2),o=n[0],i=n[1],a=c[o],l=u[i]||"";return Array.isArray(l)?l.map((function(e){return a+e})):[a+l]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(d,f);function h(e,t,n,r){var o=Object(i.b)(e,t)||n;return"number"===typeof o?function(e){return"string"===typeof e?e:o*e}:Array.isArray(o)?function(e){return"string"===typeof e?e:o[e]}:"function"===typeof o?o:function(){}}function b(e){return h(e,"spacing",8)}function m(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function v(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=m(t,n),e}),{})}}(l(n),r),a=e[n];return Object(o.b)(e,a,i)}function y(e,t){var n=b(e.theme);return Object.keys(e).map((function(r){return v(e,t,r,n)})).reduce(a.a,{})}function g(e){return y(e,d)}function O(e){return y(e,f)}function j(e){return y(e,p)}g.propTypes={},g.filterProps=d,O.propTypes={},O.filterProps=f,j.propTypes={},j.filterProps=p;t.c=j},function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return d}));var r=n(1),o=n(103),i=n(2),a=n(72),c=(n(102),n(44)),u=n(53),s=Object.prototype.hasOwnProperty,l=Object(r.createContext)("undefined"!==typeof HTMLElement?Object(o.a)({key:"css"}):null);l.Provider;var d=function(e){return Object(r.forwardRef)((function(t,n){var o=Object(r.useContext)(l);return e(t,o,n)}))},f=Object(r.createContext)({});var p=Object(a.a)((function(e){return Object(a.a)((function(t){return function(e,t){return"function"===typeof t?t(e):Object(i.a)({},e,t)}(e,t)}))})),h=function(e){var t=Object(r.useContext)(f);return e.theme!==t&&(t=p(t)(e.theme)),Object(r.createElement)(f.Provider,{value:t},e.children)};var b="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[b]=e,n},v=d((function(e,t,n){var o=e.css;"string"===typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[b],a=[o],l="";"string"===typeof e.className?l=Object(c.a)(t.registered,a,e.className):null!=e.className&&(l=e.className+" ");var d=Object(u.a)(a,void 0,Object(r.useContext)(f));Object(c.b)(t,d,"string"===typeof i);l+=t.key+"-"+d.name;var p={};for(var h in e)s.call(e,h)&&"css"!==h&&h!==b&&(p[h]=e[h]);return p.ref=n,p.className=l,Object(r.createElement)(i,p)}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(2),o=n(1),i=n(4),a=(n(14),n(8)),c=n(213),u=n(12),s=n(10),l=n(5),d=n(180),f=n(214);function p(e){return Object(d.a)("MuiSvgIcon",e)}Object(f.a)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(0),b=["children","className","color","component","fontSize","htmlColor","titleAccess","viewBox"],m=Object(l.a)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat(Object(u.a)(n.color))],t["fontSize".concat(Object(u.a)(n.fontSize))]]}})((function(e){var t,n,r=e.theme,o=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:r.transitions.create("fill",{duration:r.transitions.duration.shorter}),fontSize:{inherit:"inherit",small:r.typography.pxToRem(20),medium:r.typography.pxToRem(24),large:r.typography.pxToRem(35)}[o.fontSize],color:null!=(t=null==(n=r.palette[o.color])?void 0:n.main)?t:{action:r.palette.action.active,disabled:r.palette.action.disabled,inherit:void 0}[o.color]}})),v=o.forwardRef((function(e,t){var n=Object(s.a)({props:e,name:"MuiSvgIcon"}),o=n.children,l=n.className,d=n.color,f=void 0===d?"inherit":d,v=n.component,y=void 0===v?"svg":v,g=n.fontSize,O=void 0===g?"medium":g,j=n.htmlColor,w=n.titleAccess,x=n.viewBox,k=void 0===x?"0 0 24 24":x,S=Object(i.a)(n,b),E=Object(r.a)({},n,{color:f,component:y,fontSize:O,viewBox:k}),_=function(e){var t=e.color,n=e.fontSize,r=e.classes,o={root:["root","inherit"!==t&&"color".concat(Object(u.a)(t)),"fontSize".concat(Object(u.a)(n))]};return Object(c.a)(o,p,r)}(E);return Object(h.jsxs)(m,Object(r.a)({as:y,className:Object(a.a)(_.root,l),ownerState:E,focusable:"false",viewBox:k,color:j,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:t},S,{children:[o,w?Object(h.jsx)("title",{children:w}):null]}))}));v.muiName="SvgIcon";var y=v;function g(e,t){var n=function(n,o){return Object(h.jsx)(y,Object(r.a)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))};return n.muiName=y.muiName,o.memo(o.forwardRef(n))}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0;f--){var p=a[f];"."===p?i(a,f):".."===p?(i(a,f),d++):d&&(i(a,f),d--)}if(!s)for(;d--;d)a.unshift("..");!s||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function c(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=c(t),o=c(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},s=n(37);function l(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function b(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(c){throw c instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):c}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function m(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=b(e,t,f(),O.location);l.confirmTransitionTo(o,r,n,(function(e){e&&(O.entries[O.index]=o,d({action:r,location:o}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=O.index+e;return t>=0&&t0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,c=void 0===a?n.standard:a,s=o.easing,l=void 0===s?t.easeInOut:s,d=o.delay,f=void 0===d?0:d;Object(r.a)(o,i);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof c?c:u(c)," ").concat(l," ").concat("string"===typeof f?f:u(f))})).join(",")}},e,{easing:t,duration:n})}},function(e,t,n){"use strict";var r="Invariant failed";t.a=function(e,t){if(!e)throw new Error(r)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),o=n(66);function i(){return r.useContext(o.a)}},function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function o(e){return o="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},o(e)}function i(e,t){return!t||"object"!==o(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function a(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var a=r(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return i(this,n)}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(1),o=r.createContext({});t.a=o},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var r=function(e){return e.scrollTop};function o(e,t){var n,r,o=e.timeout,i=e.easing,a=e.style,c=void 0===a?{}:a;return{duration:null!=(n=c.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=c.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:c.transitionDelay}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(7);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=200&&this.status<300,this.headers=e.headers,this.data=e.data},s=function(){function e(e){this.id=e}return e.prototype.drop=function(){return Object(i.a)(this,void 0,void 0,(function(){return Object(i.b)(this,(function(e){return[2,Object(a.a)({__tauriModule:"Http",message:{cmd:"dropClient",client:this.id}})]}))}))},e.prototype.request=function(e){return Object(i.a)(this,void 0,void 0,(function(){var t;return Object(i.b)(this,(function(n){return(t=!e.responseType||e.responseType===r.JSON)&&(e.responseType=r.Text),[2,Object(a.a)({__tauriModule:"Http",message:{cmd:"httpRequest",client:this.id,options:e}}).then((function(e){var n=new u(e);if(t){try{n.data=JSON.parse(n.data)}catch(t){if(n.ok)throw Error("Failed to parse response `"+n.data+"` as JSON: "+t+";\n try setting the `responseType` option to `ResponseType.Text` or `ResponseType.Binary` if the API does not return a JSON response.")}return n}return n}))]}))}))},e.prototype.get=function(e,t){return Object(i.a)(this,void 0,void 0,(function(){return Object(i.b)(this,(function(n){return[2,this.request(Object(i.c)({method:"GET",url:e},t))]}))}))},e.prototype.post=function(e,t,n){return Object(i.a)(this,void 0,void 0,(function(){return Object(i.b)(this,(function(r){return[2,this.request(Object(i.c)({method:"POST",url:e,body:t},n))]}))}))},e.prototype.put=function(e,t,n){return Object(i.a)(this,void 0,void 0,(function(){return Object(i.b)(this,(function(r){return[2,this.request(Object(i.c)({method:"PUT",url:e,body:t},n))]}))}))},e.prototype.patch=function(e,t){return Object(i.a)(this,void 0,void 0,(function(){return Object(i.b)(this,(function(n){return[2,this.request(Object(i.c)({method:"PATCH",url:e},t))]}))}))},e.prototype.delete=function(e,t){return Object(i.a)(this,void 0,void 0,(function(){return Object(i.b)(this,(function(n){return[2,this.request(Object(i.c)({method:"DELETE",url:e},t))]}))}))},e}();function l(e){return Object(i.a)(this,void 0,void 0,(function(){return Object(i.b)(this,(function(t){return[2,Object(a.a)({__tauriModule:"Http",message:{cmd:"createClient",options:e}}).then((function(e){return new s(e)}))]}))}))}var d=null;function f(e,t){var n;return Object(i.a)(this,void 0,void 0,(function(){return Object(i.b)(this,(function(r){switch(r.label){case 0:return null!==d?[3,2]:[4,l()];case 1:d=r.sent(),r.label=2;case 2:return[2,d.request(Object(i.c)({url:e,method:null!==(n=null==t?void 0:t.method)&&void 0!==n?n:"GET"},t))]}}))}))}Object.freeze({__proto__:null,getClient:l,fetch:f,Body:c,Client:s,Response:u,get ResponseType(){return r}})},function(e,t,n){"use strict";(function(e){var r=t;function o(e,t,n){for(var r=Object.keys(t),o=0;o0)},r.Buffer=function(){try{var e=r.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(t){return null}}(),r._Buffer_from=null,r._Buffer_allocUnsafe=null,r.newBuffer=function(e){return"number"===typeof e?r.Buffer?r._Buffer_allocUnsafe(e):new r.Array(e):r.Buffer?r._Buffer_from(e):"undefined"===typeof Uint8Array?e:new Uint8Array(e)},r.Array="undefined"!==typeof Uint8Array?Uint8Array:Array,r.Long=r.global.dcodeIO&&r.global.dcodeIO.Long||r.global.Long||r.inquire("long"),r.key2Re=/^true|false|0|1$/,r.key32Re=/^-?(?:0|[1-9][0-9]*)$/,r.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,r.longToHash=function(e){return e?r.LongBits.from(e).toHash():r.LongBits.zeroHash},r.longFromHash=function(e,t){var n=r.LongBits.fromHash(e);return r.Long?r.Long.fromBits(n.lo,n.hi,t):n.toNumber(Boolean(t))},r.merge=o,r.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},r.newError=i,r.ProtocolError=i("ProtocolError"),r.oneOfGetter=function(e){for(var t={},n=0;n-1;--n)if(1===t[e[n]]&&void 0!==this[e[n]]&&null!==this[e[n]])return e[n]}},r.oneOfSetter=function(e){return function(t){for(var n=0;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(71),a=/[A-Z]|^ms/g,c=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},s=function(e){return null!=e&&"boolean"!==typeof e},l=Object(i.a)((function(e){return u(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(c,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||u(e)||"number"!==typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;at)return!0;return!1},d.isReservedName=function(e,t){if(e)for(var n=0;n0;){var r=e.shift();if(n.nested&&n.nested[r]){if(!((n=n.nested[r])instanceof d))throw Error("path conflicts with non-namespace objects")}else n.add(n=new d(r))}return t&&n.addJSON(t),n},d.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t-1)return r}else if(r instanceof d&&(r=r.lookup(e.slice(1),t,!0)))return r}else for(var o=0;o-1&&this.oneof.splice(t,1),e.partOf=null,this},a.prototype.onAdd=function(e){r.prototype.onAdd.call(this,e);for(var t=0;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}({});try{regeneratorRuntime=t}catch(e){"object"===("undefined"==typeof globalThis?"undefined":m(globalThis))?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}();i.e},function(e,t,n){"use strict";var r=n(229),o=n(1);var i=o.createContext(null);function a(){return o.useContext(i)}function c(e){return 0===Object.keys(e).length}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=a();return!t||c(t)?e:t},s=Object(r.a)();t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;return u(e)}},,function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(126)},function(e,t,n){"use strict";var r=n(1),o=!0,i=!1,a=null,c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function s(){o=!1}function l(){"hidden"===this.visibilityState&&i&&(o=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return o||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!c[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}t.a=function(){var e=r.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",s,!0),t.addEventListener("pointerdown",s,!0),t.addEventListener("touchstart",s,!0),t.addEventListener("visibilitychange",l,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(i=!0,window.clearTimeout(a),a=window.setTimeout((function(){i=!1}),100),t.current=!1,!0)},ref:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(74);function o(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t96?d:f},h=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},b=function e(t,n){var o,i,a=t.__emotion_real===t,d=a&&t.__emotion_base||t;void 0!==n&&(o=n.label,i=n.target);var f=h(t,n,a),b=f||p(d),m=!b("as");return function(){var v=arguments,y=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&y.push("label:"+o+";"),null==v[0]||void 0===v[0].raw)y.push.apply(y,v);else{0,y.push(v[0][0]);for(var g=v.length,O=1;O>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[n++]=127&e.lo|128,e.lo=e.lo>>>7;t[n++]=e.lo}function m(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}d.create=f(),d.alloc=function(e){return new o.Array(e)},o.Array!==Array&&(d.alloc=o.pool(d.alloc,o.Array.prototype.subarray)),d.prototype._push=function(e,t,n){return this.tail=this.tail.next=new u(e,t,n),this.len+=t,this},h.prototype=Object.create(u.prototype),h.prototype.fn=function(e,t,n){for(;e>127;)t[n++]=127&e|128,e>>>=7;t[n]=e},d.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new h((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},d.prototype.int32=function(e){return e<0?this._push(b,10,i.fromNumber(e)):this.uint32(e)},d.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},d.prototype.uint64=function(e){var t=i.from(e);return this._push(b,t.length(),t)},d.prototype.int64=d.prototype.uint64,d.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(b,t.length(),t)},d.prototype.bool=function(e){return this._push(p,1,e?1:0)},d.prototype.fixed32=function(e){return this._push(m,4,e>>>0)},d.prototype.sfixed32=d.prototype.fixed32,d.prototype.fixed64=function(e){var t=i.from(e);return this._push(m,4,t.lo)._push(m,4,t.hi)},d.prototype.sfixed64=d.prototype.fixed64,d.prototype.float=function(e){return this._push(o.float.writeFloatLE,4,e)},d.prototype.double=function(e){return this._push(o.float.writeDoubleLE,8,e)};var v=o.Array.prototype.set?function(e,t,n){t.set(e,n)}:function(e,t,n){for(var r=0;r>>0;if(!t)return this._push(p,1,0);if(o.isString(e)){var n=d.alloc(t=a.length(e));a.decode(e,n,0),e=n}return this.uint32(t)._push(v,t,e)},d.prototype.string=function(e){var t=c.length(e);return t?this.uint32(t)._push(c.write,t,e):this._push(p,1,0)},d.prototype.fork=function(){return this.states=new l(this),this.head=this.tail=new u(s,0,0),this.len=0,this},d.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new u(s,0,0),this.len=0),this},d.prototype.ldelim=function(){var e=this.head,t=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=t,this.len+=n),this},d.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,t,n),n+=e.len,e=e.next;return t},d._configure=function(e){r=e,d.create=f(),r._configure()}},function(e,t,n){"use strict";e.exports=u;var r,o=n(52),i=o.LongBits,a=o.utf8;function c(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function u(e){this.buf=e,this.pos=0,this.len=e.length}var s="undefined"!==typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new u(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new u(e);throw Error("illegal buffer")},l=function(){return o.Buffer?function(e){return(u.create=function(e){return o.Buffer.isBuffer(e)?new r(e):s(e)})(e)}:s};function d(){var e=new i(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw c(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw c(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function f(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function p(){if(this.pos+8>this.len)throw c(this,8);return new i(f(this.buf,this.pos+=4),f(this.buf,this.pos+=4))}u.create=l(),u.prototype._slice=o.Array.prototype.subarray||o.Array.prototype.slice,u.prototype.uint32=function(){var e=4294967295;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return e;if((this.pos+=5)>this.len)throw this.pos=this.len,c(this,10);return e}}(),u.prototype.int32=function(){return 0|this.uint32()},u.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},u.prototype.bool=function(){return 0!==this.uint32()},u.prototype.fixed32=function(){if(this.pos+4>this.len)throw c(this,4);return f(this.buf,this.pos+=4)},u.prototype.sfixed32=function(){if(this.pos+4>this.len)throw c(this,4);return 0|f(this.buf,this.pos+=4)},u.prototype.float=function(){if(this.pos+4>this.len)throw c(this,4);var e=o.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},u.prototype.double=function(){if(this.pos+8>this.len)throw c(this,4);var e=o.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},u.prototype.bytes=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw c(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,n):t===n?new this.buf.constructor(0):this._slice.call(this.buf,t,n)},u.prototype.string=function(){var e=this.bytes();return a.read(e,0,e.length)},u.prototype.skip=function(e){if("number"===typeof e){if(this.pos+e>this.len)throw c(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw c(this)}while(128&this.buf[this.pos++]);return this},u.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!==(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},u._configure=function(e){r=e,u.create=l(),r._configure();var t=o.Long?"toLong":"toNumber";o.merge(u.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return p.call(this)[t](!0)},sfixed64:function(){return p.call(this)[t](!1)}})}},function(e,t,n){"use strict";e.exports=y;var r=n(69);((y.prototype=Object.create(r.prototype)).constructor=y).className="Type";var o=n(45),i=n(70),a=n(60),c=n(95),u=n(96),s=n(98),l=n(93),d=n(92),f=n(25),p=n(120),h=n(121),b=n(122),m=n(123),v=n(124);function y(e,t){r.call(this,e,t),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function g(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}Object.defineProperties(y.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t-1){var n=e.substring(t);if(n in a)return n}return null}function d(e,t){try{if(l.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),l.isString(t)){i.filename=e;var r,a=i(t,o,n),d=0;if(a.imports)for(;d-1))if(o.files.push(e),e in a)c?d(e,a[e]):(++h,setTimeout((function(){--h,d(e,a[e])})));else if(c){var n;try{n=l.fs.readFileSync(e).toString("utf8")}catch(i){return void(t||u(i))}d(e,n)}else++h,o.fetch(e,(function(n,i){--h,r&&(n?t?h||u(null,o):u(n):d(e,i))}))}var h=0;l.isString(t)&&(t=[t]);for(var b,m=0;m-1&&this.deferred.splice(t,1)}}else if(e instanceof u)p.test(e.name)&&delete e.parent[e.name];else if(e instanceof r){for(var n=0;n0?b(E,--k):0,w--,10===S&&(w=1,j--),S}function R(){return S=k2||N(S)>3?"":" "}function D(e,t){for(;--t&&R()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return A(e,T()+(t<6&&32==M()&&32==R()))}function B(e){for(;R();)switch(S){case e:return k;case 34:case 39:return B(34===e||39===e?e:S);case 40:41===e&&B(e);break;case 92:R()}return k}function W(e,t){for(;R()&&e+S!==57&&(e+S!==84||47!==M()););return"/*"+A(t,k-1)+"*"+d(47===e?e:R())}function U(e){for(;!N(M());)R();return A(e,k)}function V(e){return z($("",null,null,null,[""],e=L(e),0,[0],e))}function $(e,t,n,r,o,i,a,c,u){for(var s=0,l=0,f=a,h=0,b=0,m=0,y=1,O=1,j=1,w=0,x="",k=o,S=i,E=r,_=x;O;)switch(m=w,w=R()){case 34:case 39:case 91:case 40:_+=I(w);break;case 9:case 10:case 13:case 32:_+=F(m);break;case 92:_+=D(T()-1,7);continue;case 47:switch(M()){case 42:case 47:g(q(W(R(),T()),t,n),u);break;default:_+="/"}break;case 123*y:c[s++]=v(_)*j;case 125*y:case 59:case 0:switch(w){case 0:case 125:O=0;case 59+l:b>0&&v(_)-f&&g(b>32?G(_+";",r,n,f-1):G(p(_," ","")+";",r,n,f-2),u);break;case 59:_+=";";default:if(g(E=H(_,t,n,s,l,o,c,x,k=[],S=[],f),i),123===w)if(0===l)$(_,t,E,E,k,i,f,c,S);else switch(h){case 100:case 109:case 115:$(e,E,E,r&&g(H(e,E,E,0,0,o,c,x,o,k=[],f),S),o,S,f,c,r?k:S);break;default:$(_,E,E,E,[""],S,f,c,S)}}s=l=b=0,y=j=1,x=_="",f=a;break;case 58:f=1+v(_),b=m;default:if(y<1)if(123==w)--y;else if(125==w&&0==y++&&125==P())continue;switch(_+=d(w),w*y){case 38:j=l>0?1:(_+="\f",-1);break;case 44:c[s++]=(v(_)-1)*j,j=1;break;case 64:45===M()&&(_+=I(R())),h=M(),l=v(x=_+=U(T())),w++;break;case 45:45===m&&2==v(_)&&(y=0)}}return i}function H(e,t,n,r,o,i,a,c,s,d,h){for(var b=o-1,v=0===o?i:[""],g=y(v),O=0,j=0,w=0;O0?v[x]+" "+k:p(k,/&\f/g,v[x])))&&(s[w++]=S);return _(e,t,n,0===o?u:c,s,d,h)}function q(e,t,n){return _(e,t,n,c,d(S),m(e,2,-2),0)}function G(e,t,n,r){return _(e,t,n,s,m(e,0,r),m(e,r+1,-1),r)}function K(e,t){switch(function(e,t){return(((t<<2^b(e,0))<<2^b(e,1))<<2^b(e,2))<<2^b(e,3)}(e,t)){case 5103:return a+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+i+e+o+e+e;case 6828:case 4268:return a+e+o+e+e;case 6165:return a+e+o+"flex-"+e+e;case 5187:return a+e+p(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+o+"flex-$1$2")+e;case 5443:return a+e+o+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return a+e+o+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return a+e+o+p(e,"shrink","negative")+e;case 5292:return a+e+o+p(e,"basis","preferred-size")+e;case 6060:return a+"box-"+p(e,"-grow","")+a+e+o+p(e,"grow","positive")+e;case 4554:return a+p(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+o+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,a+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(v(e)-1-t>6)switch(b(e,t+1)){case 109:if(45!==b(e,t+4))break;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+i+(108==b(e,t+3)?"$3":"$2-$3"))+e;case 115:return~h(e,"stretch")?K(p(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==b(e,t+1))break;case 6444:switch(b(e,v(e)-3-(~h(e,"!important")&&10))){case 107:return p(e,":",":"+a)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===b(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+o+"$2box$3")+e}break;case 5936:switch(b(e,t+11)){case 114:return a+e+o+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+o+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+o+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a+e+o+e+e}return e}function J(e,t){for(var n="",r=y(e),o=0;o2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=n.clone?Object(r.a)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?a[r]=i(e[r],t[r],n):a[r]=t[r])})),a}},,,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t>>0,8|o.mapKey[s.keyType],s.keyType),void 0===f?n("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",l,t):n(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|f,d,t),n("}")("}")):s.repeated?(n("if(%s!=null&&%s.length){",t,t),s.packed&&void 0!==o.packed[d]?n("w.uint32(%i).fork()",(s.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",t)("w.%s(%s[i])",d,t)("w.ldelim()"):(n("for(var i=0;i<%s.length;++i)",t),void 0===f?a(n,s,l,t+"[i]"):n("w.uint32(%i).%s(%s[i])",(s.id<<3|f)>>>0,d,t)),n("}")):(s.optional&&n("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",t,s.name),void 0===f?a(n,s,l,t):n("w.uint32(%i).%s(%s)",(s.id<<3|f)>>>0,d,t))}return n("return w")};var r=n(45),o=n(64),i=n(25);function a(e,t,n,r){return t.resolvedType.group?e("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",n,r,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",n,r,(t.id<<3|2)>>>0)}},function(e,t,n){"use strict";e.exports=function(e){var t=i.codegen(["r","l"],e.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(e.fieldsArray.filter((function(e){return e.map})).length?",k,value":""))("while(r.pos>>3){");for(var n=0;n>>3){")("case 1: k=r.%s(); break",c.keyType)("case 2:"),void 0===o.basic[u]?t("value=types[%i].decode(r,r.uint32())",n):t("value=r.%s()",u),t("break")("default:")("r.skipType(tag2&7)")("break")("}")("}"),void 0!==o.long[c.keyType]?t('%s[typeof k==="object"?util.longToHash(k):k]=value',s):t("%s[k]=value",s)):c.repeated?(t("if(!(%s&&%s.length))",s,s)("%s=[]",s),void 0!==o.packed[u]&&t("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos>>0",r,r);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",r,r);break;case"uint64":u=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",r,r,u)('else if(typeof d%s==="string")',r)("m%s=parseInt(d%s,10)",r,r)('else if(typeof d%s==="number")',r)("m%s=d%s",r,r)('else if(typeof d%s==="object")',r)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",r,r,r,u?"true":"");break;case"bytes":e('if(typeof d%s==="string")',r)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",r,r,r)("else if(d%s.length)",r)("m%s=d%s",r,r);break;case"string":e("m%s=String(d%s)",r,r);break;case"bool":e("m%s=Boolean(d%s)",r,r)}}return e}function c(e,t,n,r){if(t.resolvedType)t.resolvedType instanceof o?e("d%s=o.enums===String?types[%i].values[m%s]:m%s",r,n,r,r):e("d%s=types[%i].toObject(m%s,o)",r,n,r);else{var i=!1;switch(t.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",r,r,r,r);break;case"uint64":i=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',r)("d%s=o.longs===String?String(m%s):m%s",r,r,r)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",r,r,r,r,i?"true":"",r);break;case"bytes":e("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",r,r,r,r,r);break;default:e("d%s=m%s",r,r)}}return e}r.fromObject=function(e){var t=e.fieldsArray,n=i.codegen(["d"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!t.length)return n("return new this.ctor");n("var m=new this.ctor");for(var r=0;r]/g,o=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,i=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,a=/^ *[*/]+ */,c=/^\s*\*?\/*/,u=/\n/g,s=/\s/,l=/\\(.?)/g,d={0:"\0",r:"\r",n:"\n",t:"\t"};function f(e){return e.replace(l,(function(e,t){switch(t){case"\\":case"":return t;default:return d[t]||""}}))}function p(e,t){e=e.toString();var n=0,l=e.length,d=1,p=null,h=null,b=0,m=!1,v=!1,y=[],g=null;function O(e){return Error("illegal "+e+" (line "+d+")")}function j(t){return e.charAt(t)}function w(n,r,o){p=e.charAt(n++),b=d,m=!1,v=o;var i,s=n-(t?2:3);do{if(--s<0||"\n"===(i=e.charAt(s))){m=!0;break}}while(" "===i||"\t"===i);for(var l=e.substring(n,r).split(u),f=0;f0)return y.shift();if(g)return function(){var t="'"===g?i:o;t.lastIndex=n-1;var r=t.exec(e);if(!r)throw O("string");return n=t.lastIndex,E(g),g=null,f(r[1])}();var a,c,u,p,h,b=0===n;do{if(n===l)return null;for(a=!1;s.test(u=j(n));)if("\n"===u&&(b=!0,++d),++n===l)return null;if("/"===j(n)){if(++n===l)throw O("comment");if("/"===j(n))if(t){if(p=n,h=!1,x(n)){h=!0;do{if((n=k(n))===l)break;n++}while(x(n))}else n=Math.min(l,k(n)+1);h&&w(p,n,b),d++,a=!0}else{for(h="/"===j(p=n+1);"\n"!==j(++n);)if(n===l)return null;++n,h&&w(p,n-1,b),++d,a=!0}else{if("*"!==(u=j(n)))return"/";p=n+1,h=t||"*"===j(p);do{if("\n"===u&&++d,++n===l)throw O("comment");c=u,u=j(n)}while("*"!==c||"/"!==u);++n,h&&w(p,n-2,b),a=!0}}}while(a);var m=n;if(r.lastIndex=0,!r.test(j(m++)))for(;m0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(n),E=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(n),_=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(n),C=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(n),P=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[400],light:y[300],dark:y[700]}:{main:y[800],light:y[500],dark:y[900]}}(n),R=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:"#ED6C02",light:b[500],dark:b[900]}}(n);function M(e){return Object(l.c)(e,j.text.primary)>=c?j.text.primary:O.text.primary}var T=function(e){var t=e.color,n=e.name,r=e.mainShade,i=void 0===r?500:r,a=e.lightShade,c=void 0===a?300:a,u=e.darkShade,l=void 0===u?700:u;if(!(t=Object(o.a)({},t)).main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw new Error(Object(s.a)(11,n?" (".concat(n,")"):"",i));if("string"!==typeof t.main)throw new Error(Object(s.a)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return w(t,"light",c,x),w(t,"dark",l,x),t.contrastText||(t.contrastText=M(t.main)),t},A={dark:j,light:O};return Object(a.a)(Object(o.a)({common:d,mode:n,primary:T({color:S,name:"primary"}),secondary:T({color:E,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:T({color:_,name:"error"}),warning:T({color:R,name:"warning"}),info:T({color:C,name:"info"}),success:T({color:P,name:"success"}),grey:f,contrastThreshold:c,getContrastText:M,augmentColor:T,tonalOffset:x},A[n]),k)}var k=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var S={textTransform:"uppercase"},E='"Roboto", "Helvetica", "Arial", sans-serif';function _(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,c=void 0===r?E:r,u=n.fontSize,s=void 0===u?14:u,l=n.fontWeightLight,d=void 0===l?300:l,f=n.fontWeightRegular,p=void 0===f?400:f,h=n.fontWeightMedium,b=void 0===h?500:h,m=n.fontWeightBold,v=void 0===m?700:m,y=n.htmlFontSize,g=void 0===y?16:y,O=n.allVariants,j=n.pxToRem,w=Object(i.a)(n,k);var x=s/14,_=j||function(e){return"".concat(e/g*x,"rem")},C=function(e,t,n,r,i){return Object(o.a)({fontFamily:c,fontWeight:e,fontSize:_(t),lineHeight:n},c===E?{letterSpacing:"".concat((a=r/t,Math.round(1e5*a)/1e5),"em")}:{},i,O);var a},P={h1:C(d,96,1.167,-1.5),h2:C(d,60,1.2,-.5),h3:C(p,48,1.167,0),h4:C(p,34,1.235,.25),h5:C(p,24,1.334,0),h6:C(b,20,1.6,.15),subtitle1:C(p,16,1.75,.15),subtitle2:C(b,14,1.57,.1),body1:C(p,16,1.5,.15),body2:C(p,14,1.43,.15),button:C(b,14,1.75,.4,S),caption:C(p,12,1.66,.4),overline:C(p,12,2.66,1,S)};return Object(a.a)(Object(o.a)({htmlFontSize:g,pxToRem:_,fontFamily:c,fontSize:s,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:b,fontWeightBold:v},P),w,{clone:!1})}function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var P=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],R=n(36),M={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},T=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,r=e.palette,s=void 0===r?{}:r,l=e.transitions,d=void 0===l?{}:l,f=e.typography,p=void 0===f?{}:f,h=Object(i.a)(e,T),b=x(s),m=Object(c.a)(e),v=Object(a.a)(m,{mixins:u(m.breakpoints,m.spacing,n),palette:b,shadows:P.slice(),typography:_(b,p),transitions:Object(R.a)(d),zIndex:Object(o.a)({},M)});v=Object(a.a)(v,h);for(var y=arguments.length,g=new Array(y>1?y-1:0),O=1;O