LavaPack.loadBundle([[956,{"./compose":953,"./style":967,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.justifySelf=r.justifyItems=r.alignSelf=r.flexShrink=r.flexGrow=r.flex=r.order=r.alignContent=r.alignItems=r.justifyContent=r.flexWrap=r.flexDirection=r.flexBasis=void 0;var n=i(e("./style")),a=i(e("./compose")),o=(0,n.default)({prop:"flexBasis"});r.flexBasis=o;var u=(0,n.default)({prop:"flexDirection"});r.flexDirection=u;var l=(0,n.default)({prop:"flexWrap"});r.flexWrap=l;var s=(0,n.default)({prop:"justifyContent"});r.justifyContent=s;var p=(0,n.default)({prop:"alignItems"});r.alignItems=p;var f=(0,n.default)({prop:"alignContent"});r.alignContent=f;var c=(0,n.default)({prop:"order"});r.order=c;var d=(0,n.default)({prop:"flex"});r.flex=d;var m=(0,n.default)({prop:"flexGrow"});r.flexGrow=m;var h=(0,n.default)({prop:"flexShrink"});r.flexShrink=h;var b=(0,n.default)({prop:"alignSelf"});r.alignSelf=b;var g=(0,n.default)({prop:"justifyItems"});r.justifyItems=g;var y=(0,n.default)({prop:"justifySelf"});r.justifySelf=y;var v=(0,a.default)(o,u,l,s,p,f,c,d,m,h,b,g,y);r.default=v}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/flexbox.js"}],[957,{"./compose":953,"./style":967,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.gridArea=r.gridTemplateAreas=r.gridTemplateRows=r.gridTemplateColumns=r.gridAutoRows=r.gridAutoColumns=r.gridAutoFlow=r.gridRow=r.gridColumn=r.gridRowGap=r.gridColumnGap=r.gridGap=void 0;var n=i(e("./style")),a=i(e("./compose")),o=(0,n.default)({prop:"gridGap"});r.gridGap=o;var u=(0,n.default)({prop:"gridColumnGap"});r.gridColumnGap=u;var l=(0,n.default)({prop:"gridRowGap"});r.gridRowGap=l;var s=(0,n.default)({prop:"gridColumn"});r.gridColumn=s;var p=(0,n.default)({prop:"gridRow"});r.gridRow=p;var f=(0,n.default)({prop:"gridAutoFlow"});r.gridAutoFlow=f;var c=(0,n.default)({prop:"gridAutoColumns"});r.gridAutoColumns=c;var d=(0,n.default)({prop:"gridAutoRows"});r.gridAutoRows=d;var m=(0,n.default)({prop:"gridTemplateColumns"});r.gridTemplateColumns=m;var h=(0,n.default)({prop:"gridTemplateRows"});r.gridTemplateRows=h;var b=(0,n.default)({prop:"gridTemplateAreas"});r.gridTemplateAreas=b;var g=(0,n.default)({prop:"gridArea"});r.gridArea=g;var y=(0,a.default)(o,u,l,s,p,f,c,d,m,h,b,g);r.default=y}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/grid.js"}],[958,{"./borders":951,"./breakpoints":952,"./compose":953,"./css":954,"./display":955,"./flexbox":956,"./grid":957,"./palette":961,"./positions":962,"./shadows":964,"./sizing":965,"./spacing":966,"./style":967,"./typography":968,"@babel/runtime/helpers/interopRequireDefault":186,"@babel/runtime/helpers/interopRequireWildcard":187},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault"),n=e("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(r,"__esModule",{value:!0});var a={borders:!0,breakpoints:!0,compose:!0,css:!0,display:!0,flexbox:!0,grid:!0,palette:!0,positions:!0,shadows:!0,sizing:!0,spacing:!0,style:!0,typography:!0};Object.defineProperty(r,"borders",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"breakpoints",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"compose",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"css",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"display",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"flexbox",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(r,"grid",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"palette",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(r,"positions",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"shadows",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(r,"sizing",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(r,"spacing",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(r,"style",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(r,"typography",{enumerable:!0,get:function(){return v.default}});var o=n(e("./borders"));Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))}));var u=i(e("./breakpoints")),l=i(e("./compose")),s=i(e("./css")),p=i(e("./display")),f=n(e("./flexbox"));Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return f[e]}}))}));var c=n(e("./grid"));Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return c[e]}}))}));var d=n(e("./palette"));Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return d[e]}}))}));var m=n(e("./positions"));Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return m[e]}}))}));var h=i(e("./shadows")),b=n(e("./sizing"));Object.keys(b).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return b[e]}}))}));var g=n(e("./spacing"));Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return g[e]}}))}));var y=i(e("./style")),v=n(e("./typography"));Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return v[e]}}))}))}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/index.js"}],[959,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t={};return function(r){return t[r]===undefined&&(t[r]=e(r)),t[r]}}}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/memoize.js"}],[960,{"@material-ui/utils":977},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=e("@material-ui/utils");var n=function(e,t){return t?(0,i.deepmerge)(e,t,{clone:!1}):e};r.default=n}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/merge.js"}],[961,{"./compose":953,"./style":967,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.bgcolor=r.color=void 0;var n=i(e("./style")),a=i(e("./compose")),o=(0,n.default)({prop:"color",themeKey:"palette"});r.color=o;var u=(0,n.default)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"});r.bgcolor=u;var l=(0,a.default)(o,u);r.default=l}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/palette.js"}],[962,{"./compose":953,"./style":967,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.left=r.bottom=r.right=r.top=r.zIndex=r.position=void 0;var n=i(e("./style")),a=i(e("./compose")),o=(0,n.default)({prop:"position"});r.position=o;var u=(0,n.default)({prop:"zIndex",themeKey:"zIndex"});r.zIndex=u;var l=(0,n.default)({prop:"top"});r.top=l;var s=(0,n.default)({prop:"right"});r.right=s;var p=(0,n.default)({prop:"bottom"});r.bottom=p;var f=(0,n.default)({prop:"left"});r.left=f;var c=(0,a.default)(o,u,l,s,p,f);r.default=c}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/positions.js"}],[963,{"@babel/runtime/helpers/interopRequireDefault":186,"prop-types":3032},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;i(e("prop-types"));var n={};r.default=n}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/responsivePropType.js"}],[964,{"./style":967,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=(0,i(e("./style")).default)({prop:"boxShadow",themeKey:"shadows"});r.default=n}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/shadows.js"}],[965,{"./compose":953,"./style":967,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.boxSizing=r.sizeHeight=r.sizeWidth=r.minHeight=r.maxHeight=r.height=r.minWidth=r.maxWidth=r.width=void 0;var n=i(e("./style")),a=i(e("./compose"));function o(e){return e<=1?"".concat(100*e,"%"):e}var u=(0,n.default)({prop:"width",transform:o});r.width=u;var l=(0,n.default)({prop:"maxWidth",transform:o});r.maxWidth=l;var s=(0,n.default)({prop:"minWidth",transform:o});r.minWidth=s;var p=(0,n.default)({prop:"height",transform:o});r.height=p;var f=(0,n.default)({prop:"maxHeight",transform:o});r.maxHeight=f;var c=(0,n.default)({prop:"minHeight",transform:o});r.minHeight=c;var d=(0,n.default)({prop:"size",cssProperty:"width",transform:o});r.sizeWidth=d;var m=(0,n.default)({prop:"size",cssProperty:"height",transform:o});r.sizeHeight=m;var h=(0,n.default)({prop:"boxSizing"});r.boxSizing=h;var b=(0,a.default)(u,l,s,p,f,c,h);r.default=b}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/sizing.js"}],[966,{"./breakpoints":952,"./memoize":959,"./merge":960,"./responsivePropType":963,"@babel/runtime/helpers/interopRequireDefault":186,"@babel/runtime/helpers/slicedToArray":199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.createUnarySpacing=d,r.default=void 0;var n=i(e("@babel/runtime/helpers/slicedToArray")),a=(i(e("./responsivePropType")),e("./breakpoints")),o=i(e("./merge")),u=i(e("./memoize")),l={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},p={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},f=(0,u.default)((function(e){if(e.length>2){if(!p[e])return[e];e=p[e]}var t=e.split(""),r=(0,n.default)(t,2),i=r[0],a=r[1],o=l[i],u=s[a]||"";return Array.isArray(u)?u.map((function(e){return o+e})):[o+u]})),c=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function d(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){return undefined}}function m(e,t){return function(r){return e.reduce((function(e,i){return e[i]=function(e,t){if("string"==typeof t)return t;var r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:"-".concat(r)}(t,r),e}),{})}}function h(e){var t=d(e.theme);return Object.keys(e).map((function(r){if(-1===c.indexOf(r))return null;var i=m(f(r),t),n=e[r];return(0,a.handleBreakpoints)(e,n,i)})).reduce(o.default,{})}h.propTypes={},h.filterProps=c;var b=h;r.default=b}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/spacing.js"}],[967,{"./breakpoints":952,"./responsivePropType":963,"@babel/runtime/helpers/defineProperty":181,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("@babel/runtime/helpers/defineProperty")),a=(i(e("./responsivePropType")),e("./breakpoints"));function o(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}var u=function(e){var t=e.prop,r=e.cssProperty,i=void 0===r?e.prop:r,u=e.themeKey,l=e.transform,s=function(e){if(null==e[t])return null;var r=e[t],s=o(e.theme,u)||{};return(0,a.handleBreakpoints)(e,r,(function(e){var t;return"function"==typeof s?t=s(e):Array.isArray(s)?t=s[e]||e:(t=o(s,e)||e,l&&(t=l(t))),!1===i?t:(0,n.default)({},i,t)}))};return s.propTypes={},s.filterProps=[t],s};r.default=u}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/style.js"}],[968,{"./compose":953,"./style":967,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.textAlign=r.lineHeight=r.letterSpacing=r.fontWeight=r.fontStyle=r.fontSize=r.fontFamily=void 0;var n=i(e("./style")),a=i(e("./compose")),o=(0,n.default)({prop:"fontFamily",themeKey:"typography"});r.fontFamily=o;var u=(0,n.default)({prop:"fontSize",themeKey:"typography"});r.fontSize=u;var l=(0,n.default)({prop:"fontStyle",themeKey:"typography"});r.fontStyle=l;var s=(0,n.default)({prop:"fontWeight",themeKey:"typography"});r.fontWeight=s;var p=(0,n.default)({prop:"letterSpacing"});r.letterSpacing=p;var f=(0,n.default)({prop:"lineHeight"});r.lineHeight=f;var c=(0,n.default)({prop:"textAlign"});r.textAlign=c;var d=(0,a.default)(o,u,l,s,p,f,c);r.default=d}}},{package:"@material-ui/core>@material-ui/system",file:"node_modules/@material-ui/system/typography.js"}],[969,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r,i,n){return null;var a=e[t],o=n||t;if(null==a)return null;if(a&&1!==a.nodeType)return new Error("Invalid ".concat(i," `").concat(o,"` supplied to `").concat(r,"`. ")+"Expected an HTMLElement.");return null}}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/HTMLElementType.js"}],[970,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){return function(){return null};return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/chainPropTypes.js"}],[971,{"@babel/runtime/helpers/extends":182,"@babel/runtime/helpers/interopRequireDefault":186,"@babel/runtime/helpers/typeof":202},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.isPlainObject=o,r.default=function e(t,r){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{clone:!0},a=i.clone?(0,n.default)({},t):t;o(t)&&o(r)&&Object.keys(r).forEach((function(n){"__proto__"!==n&&(o(r[n])&&n in t?a[n]=e(t[n],r[n],i):a[n]=r[n])}));return a};var n=i(e("@babel/runtime/helpers/extends")),a=i(e("@babel/runtime/helpers/typeof"));function o(e){return e&&"object"===(0,a.default)(e)&&e.constructor===Object}}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/deepmerge.js"}],[972,{"./chainPropTypes":970,"@babel/runtime/helpers/interopRequireDefault":186,"prop-types":3032},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("prop-types")),a=i(e("./chainPropTypes"));function o(e,t,r,i,n){var a,o=e[t],u=n||t;if(null==o)return null;var l=o.type;return"function"!=typeof l||function(e){var t=e.prototype;return Boolean((void 0===t?{}:t).isReactComponent)}(l)||(a="Did you accidentally use a plain function component for an element instead?"),a!==undefined?new Error("Invalid ".concat(i," `").concat(u,"` supplied to `").concat(r,"`. ")+"Expected an element that can hold a ref. ".concat(a," ")+"For more information see https://material-ui.com/r/caveat-with-refs-guide"):null}var u=(0,a.default)(n.default.element,o);u.isRequired=(0,a.default)(n.default.element.isRequired,o);var l=u;r.default=l}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/elementAcceptingRef.js"}],[973,{"./chainPropTypes":970,"@babel/runtime/helpers/interopRequireDefault":186,"@babel/runtime/helpers/interopRequireWildcard":187,"prop-types":3032},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault"),n=e("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=n(e("prop-types"));var o=(0,i(e("./chainPropTypes")).default)(a.elementType,(function(e,t,r,i,n){var a,o,u=e[t],l=n||t;return null==u?null:("function"!=typeof u||(o=u.prototype,Boolean((void 0===o?{}:o).isReactComponent))||(a="Did you accidentally provide a plain function component instead?"),a!==undefined?new Error("Invalid ".concat(i," `").concat(l,"` supplied to `").concat(r,"`. ")+"Expected an element type that can hold a ref. ".concat(a," ")+"For more information see https://material-ui.com/r/caveat-with-refs-guide"):null)}));r.default=o}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/elementTypeAcceptingRef.js"}],[974,{"@babel/runtime/helpers/defineProperty":181,"@babel/runtime/helpers/extends":182,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return e;return(0,a.default)({},e,(0,n.default)({},o,(function(t){var r=Object.keys(t).filter((function(t){return!e.hasOwnProperty(t)}));return r.length>0?new Error("The following props are not supported: ".concat(r.map((function(e){return"`".concat(e,"`")})).join(", "),". Please remove them.")):null})))},r.specialProperty=void 0;var n=i(e("@babel/runtime/helpers/defineProperty")),a=i(e("@babel/runtime/helpers/extends")),o="exact-prop: ​";r.specialProperty=o}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/exactProp.js"}],[975,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){for(var t="https://material-ui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/formatMuiErrorMessage.js"}],[976,{"@babel/runtime/helpers/interopRequireDefault":186,"@babel/runtime/helpers/typeof":202,"react-is":3109},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.getFunctionName=u,r.default=function(e){if(null==e)return undefined;if("string"==typeof e)return e;if("function"==typeof e)return l(e,"Component");if("object"===(0,n.default)(e))switch(e.$$typeof){case a.ForwardRef:return s(e,e.render,"ForwardRef");case a.Memo:return s(e,e.type,"memo");default:return undefined}return undefined};var n=i(e("@babel/runtime/helpers/typeof")),a=e("react-is"),o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function u(e){var t="".concat(e).match(o);return t&&t[1]||""}function l(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";return e.displayName||e.name||u(e)||t}function s(e,t,r){var i=l(t);return e.displayName||(""!==i?"".concat(r,"(").concat(i,")"):r)}}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/getDisplayName.js"}],[977,{"./HTMLElementType":969,"./chainPropTypes":970,"./deepmerge":971,"./elementAcceptingRef":972,"./elementTypeAcceptingRef":973,"./exactProp":974,"./formatMuiErrorMessage":975,"./getDisplayName":976,"./ponyfillGlobal":978,"./refType":979,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"chainPropTypes",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"deepmerge",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"elementAcceptingRef",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"elementTypeAcceptingRef",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"exactProp",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"formatMuiErrorMessage",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"getDisplayName",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"HTMLElementType",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(r,"ponyfillGlobal",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"refType",{enumerable:!0,get:function(){return d.default}});var n=i(e("./chainPropTypes")),a=i(e("./deepmerge")),o=i(e("./elementAcceptingRef")),u=i(e("./elementTypeAcceptingRef")),l=i(e("./exactProp")),s=i(e("./formatMuiErrorMessage")),p=i(e("./getDisplayName")),f=i(e("./HTMLElementType")),c=i(e("./ponyfillGlobal")),d=i(e("./refType"))}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/index.js"}],[978,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();r.default=i}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/ponyfillGlobal.js"}],[979,{"@babel/runtime/helpers/interopRequireDefault":186,"prop-types":3032},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("prop-types")),a=n.default.oneOfType([n.default.func,n.default.object]);r.default=a}}},{package:"@material-ui/core>@material-ui/utils",file:"node_modules/@material-ui/utils/refType.js"}],[170,{"../../shared/constants/app":3401,"../../shared/lib/error-utils":3418,"../../shared/lib/ui-utils":3426,"../../shared/modules/browser-runtime.utils":3428,"../../shared/modules/mv3.utils":3436,"../../ui":4152,"./lib/metaRPCClientFactory":59,"./lib/stream-utils":81,"./lib/util":82,"./platforms/extension":169,"@formatjs/intl-relativetimeformat/polyfill":511,"eth-query":2166,ethjs:2280,"extension-port-stream":2287,loglevel:2944,"react-devtools":1941,"web3-stream-provider":3377,"webextension-polyfill":3385},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("@formatjs/intl-relativetimeformat/polyfill"),e("react-devtools");var i=w(e("extension-port-stream")),n=w(e("webextension-polyfill")),a=w(e("ethjs")),o=w(e("eth-query")),u=w(e("web3-stream-provider")),l=w(e("loglevel")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=v(t);if(r&&r.has(e))return r.get(e);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(i,a,o):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(e("../../ui")),p=e("../../shared/constants/app"),f=e("../../shared/modules/mv3.utils"),c=e("../../shared/modules/browser-runtime.utils"),d=e("../../shared/lib/ui-utils"),m=e("../../shared/lib/error-utils"),h=w(e("./platforms/extension")),b=e("./lib/stream-utils"),g=e("./lib/util"),y=w(e("./lib/metaRPCClientFactory"));function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(v=function(e){return e?r:t})(e)}function w(e){return e&&e.__esModule?e:{default:e}}const j=document.getElementById("app-content"),P="WORKER_KEEP_ALIVE_MESSAGE",T="phishing-warning-sw-registered";let _,O,R=Date.now();if(f.isManifestV3){const e=e=>{"ACK_KEEP_ALIVE_MESSAGE"===e.name&&(R=Date.now(),clearTimeout(O))},t=setInterval((()=>{n.default.runtime.sendMessage({name:P}),null!==_&&_!==undefined&&(_.postMessage({name:P}),!1===_.onMessage.hasListener(e)&&_.onMessage.addListener(e)),O=setTimeout((()=>{Date.now()-R>6e4&&(clearInterval(t),x("somethingIsWrong",new Error("Something's gone wrong. Try reloading the page.")))}),6e4)}),1e3)}async function x(e,t,r){const i=await(0,m.getErrorHtml)(e,d.SUPPORT_LINK,r);j.innerHTML=i;const a=document.getElementById("critical-error-button");throw null==a||a.addEventListener("click",(e=>{n.default.runtime.reload()})),l.default.error(t.stack),t}function M(e,t){const r=(0,b.setupMultiplex)(e);!function(e,t){const r=(0,y.default)(e);t(null,r)}(r.createStream("controller"),t),function(e){const t=new u.default;t.pipe(e).pipe(t),e.on("error",console.error.bind(console)),t.on("error",console.error.bind(console)),global.ethereumProvider=t,global.ethQuery=new o.default(t),global.eth=new a.default(t)}(r.createStream("provider"))}(async function(){global.platform=new h.default;const e=(0,g.getEnvironmentType)();let t=!1;_=n.default.runtime.connect({name:e});let r=new i.default(_);const a=await async function(e){if(e!==p.ENVIRONMENT_TYPE_POPUP)return{};const t=await n.default.tabs.query({active:!0,currentWindow:!0}).catch((e=>{(0,c.checkForLastErrorAndLog)()||l.default.error(e)})),[r]=t,{id:i,title:a,url:o}=r,{origin:u,protocol:s}=o?new URL(o):{};if(!u||"null"===u)return{};return{id:i,title:a,origin:u,protocol:s,url:o}}(e);let o;if(f.isManifestV3){const l=async e=>{var i;"startUISync"===(null==e||null===(i=e.data)||void 0===i?void 0:i.method)&&(t?M(r,((e,t)=>{e?x("troubleStarting",e):(0,s.updateBackgroundConnection)(t)})):u(a),await o())};class f extends Error{constructor(){super("Timeout failed")}}o=async function(){if((await n.default.storage.session.get(T))[T])return;const e=(0,g.getPlatform)();let t;try{const r=new URL("https://metamask.github.io/phishing-warning/v2.1.0/");let i,a;r.hash="#extensionStartup",t=window.document.createElement("iframe"),t.setAttribute("src",r.href),t.setAttribute("sandbox","allow-scripts allow-same-origin");const o=new Promise(((e,t)=>{i=e,a=t}));t.addEventListener("load",i),window.document.body.appendChild(t),setTimeout((()=>a(new f)),1e3),await o,e===p.PLATFORM_FIREFOX?console.error("Firefox does not support required MV3 APIs: Phishing warning page iframe and service worker will reload each page refresh"):n.default.storage.session.set({[T]:!0})}catch(e){e instanceof f?console.warn("Phishing warning page timeout; page not guaranteed to work offline."):console.error("Failed to initialize phishing warning page",e)}finally{t&&t.remove()}};const c=()=>{_.onMessage.removeListener(l),_.onDisconnect.removeListener(c),n.default.runtime.sendMessage({name:P}),_=n.default.runtime.connect({name:e}),r=new i.default(_),_.onMessage.addListener(l),_.onDisconnect.addListener(c)};_.onMessage.addListener(l),_.onDisconnect.addListener(c)}else u(a);function u(i){!function(e,t,r){M(t,((t,i)=>{t?r(t,null):(0,s.default)({activeTab:e,container:j,backgroundConnection:i},r)}))}(i,r,((r,i)=>{if(r)return void x("troubleStarting",r,i);t=!0;const n=i.getState(),{metamask:{completedOnboarding:a}={}}=n;a||e===p.ENVIRONMENT_TYPE_FULLSCREEN||global.platform.openExtensionInBrowser()}))}})().catch(l.default.error)}}},{package:"$root$",file:"app/scripts/ui.js"}]],[170],{});