UNPKG

@knapsack/app

Version:

Build Design Systems on top of knapsack, by Basalt

2 lines • 32.9 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~App-7KZ9F~user-page-DUsdt~9b1fde68"],{"../node_modules/@aws-amplify/ui/dist/aws-amplify-ui.js":function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n(1)),o(n(2)),o(n(3)),o(n(4)),o(n(5)),o(n(6)),o(n(7)),o(n(8)),o(n(9)),o(n(10)),o(n(11)),o(n(12)),o(n(13))},function(e,t,n){e.exports={a:"Anchor__a___1_Iz8"}},function(e,t,n){e.exports={button:"Button__button___vS7Mv",signInButton:"Button__signInButton___3bUH-",googleSignInButton:"Button__googleSignInButton___1YiCu",signInButtonIcon:"Button__signInButtonIcon___ihN75",auth0SignInButton:"Button__auth0SignInButton___znnCj",facebookSignInButton:"Button__facebookSignInButton___34Txh",amazonSignInButton:"Button__amazonSignInButton___2EMtl",oAuthSignInButton:"Button__oAuthSignInButton___3UGOl",signInButtonContent:"Button__signInButtonContent___xqTXJ"}},function(e,t,n){e.exports={formContainer:"Form__formContainer___1GA3x",formSection:"Form__formSection___1PPvW",formField:"Form__formField___38Ikl",formRow:"Form__formRow___2mwRs"}},function(e,t,n){e.exports={hint:"Hint__hint___2XngB"}},function(e,t,n){e.exports={input:"Input__input___3e_bf",inputLabel:"Input__inputLabel___3VF0S",label:"Input__label___23sO8",radio:"Input__radio___2hllK"}},function(e,t,n){e.exports={navBar:"Nav__navBar___xtCFA",navRight:"Nav__navRight___1QG2J",nav:"Nav__nav___2Dx2Y",navItem:"Nav__navItem___1LtFQ"}},function(e,t,n){e.exports={photoPickerButton:"PhotoPicker__photoPickerButton___2XdVn",photoPlaceholder:"PhotoPicker__photoPlaceholder___2JXO4",photoPlaceholderIcon:"PhotoPicker__photoPlaceholderIcon___3Et71"}},function(e,t,n){e.exports={container:"Section__container___3YYTG",actionRow:"Section__actionRow___2LWSU",sectionHeader:"Section__sectionHeader___2djyg",sectionHeaderHint:"Section__sectionHeaderHint___3Wxdc",sectionBody:"Section__sectionBody___ihqqd",sectionHeaderContent:"Section__sectionHeaderContent___1UCqa",sectionFooter:"Section__sectionFooter___1T54C",sectionFooterPrimaryContent:"Section__sectionFooterPrimaryContent___2r9ZX",sectionFooterSecondaryContent:"Section__sectionFooterSecondaryContent___Nj41Q"}},function(e,t,n){e.exports={selectInput:"SelectInput__selectInput___3efO4"}},function(e,t,n){e.exports={strike:"Strike__strike___1XV1b",strikeContent:"Strike__strikeContent___10gLb"}},function(e,t,n){e.exports={toast:"Toast__toast___XXr3v",toastClose:"Toast__toastClose___18lU4"}},function(e,t,n){e.exports={totpQrcode:"Totp__totpQrcode___1crLx"}},function(e,t,n){e.exports={sumerianSceneContainer:"XR__sumerianSceneContainer___3nVMt",sumerianScene:"XR__sumerianScene___2Tt7-",loadingOverlay:"XR__loadingOverlay___IbqcI",loadingContainer:"XR__loadingContainer___2Itxb",loadingLogo:"XR__loadingLogo___Ub7xQ",loadingSceneName:"XR__loadingSceneName___3__ne",loadingBar:"XR__loadingBar___2vcke",loadingBarFill:"XR__loadingBarFill___3M-D9",sceneErrorText:"XR__sceneErrorText___2y0tp",sceneBar:"XR__sceneBar___2ShrP",sceneName:"XR__sceneName___1ApHr",sceneActions:"XR__sceneActions___7plGs",actionButton:"XR__actionButton___2poIM",tooltip:"XR__tooltip___UYyhn",actionIcon:"XR__actionIcon___2qnd2",autoShowTooltip:"XR__autoShowTooltip___V1QH7"}}])},"../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js":function(e,t,n){function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return _inheritsLoose}))},"../node_modules/@babel/runtime/helpers/inheritsLoose.js":function(e,t){e.exports=function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},"../node_modules/css-loader/dist/runtime/api.js":function(e,t,n){e.exports=function(e){var t=[];return t.toString=function toString(){return this.map((function(t){var n=function cssWithMappingToString(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var r=function toComment(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}(o),a=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([r]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(r[i]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);o&&r[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},"../node_modules/gud/index.js":function(e,t,n){(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n("../node_modules/webpack/buildin/global.js"))},"../node_modules/history/esm/history.js":function(e,t,n){n.d(t,"a",(function(){return createBrowserHistory})),n.d(t,"b",(function(){return createHashHistory})),n.d(t,"d",(function(){return createMemoryHistory})),n.d(t,"c",(function(){return createLocation})),n.d(t,"f",(function(){return locationsAreEqual})),n.d(t,"e",(function(){return createPath}));var o=n("../node_modules/@babel/runtime/helpers/esm/extends.js");function isAbsolute(e){return"/"===e.charAt(0)}function spliceOne(e,t){for(var n=t,o=n+1,r=e.length;o<r;n+=1,o+=1)e[n]=e[o];e.pop()}var r=function resolvePathname(e,t){void 0===t&&(t="");var n,o=e&&e.split("/")||[],r=t&&t.split("/")||[],a=e&&isAbsolute(e),i=t&&isAbsolute(t),c=a||i;if(e&&isAbsolute(e)?r=o:o.length&&(r.pop(),r=r.concat(o)),!r.length)return"/";if(r.length){var s=r[r.length-1];n="."===s||".."===s||""===s}else n=!1;for(var u=0,l=r.length;l>=0;l--){var p=r[l];"."===p?spliceOne(r,l):".."===p?(spliceOne(r,l),u++):u&&(spliceOne(r,l),u--)}if(!c)for(;u--;u)r.unshift("..");!c||""===r[0]||r[0]&&isAbsolute(r[0])||r.unshift("");var f=r.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function value_equal_valueOf(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var a=function valueEqual(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every((function(e,n){return valueEqual(e,t[n])}));if("object"==typeof e||"object"==typeof t){var n=value_equal_valueOf(e),o=value_equal_valueOf(t);return n!==e||o!==t?valueEqual(n,o):Object.keys(Object.assign({},e,t)).every((function(n){return valueEqual(e[n],t[n])}))}return!1},i=n("../node_modules/tiny-invariant/dist/tiny-invariant.esm.js");function addLeadingSlash(e){return"/"===e.charAt(0)?e:"/"+e}function stripLeadingSlash(e){return"/"===e.charAt(0)?e.substr(1):e}function stripBasename(e,t){return function hasBasename(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function stripTrailingSlash(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function createPath(e){var t=e.pathname,n=e.search,o=e.hash,r=t||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),o&&"#"!==o&&(r+="#"===o.charAt(0)?o:"#"+o),r}function createLocation(e,t,n,a){var i;"string"==typeof e?(i=function parsePath(e){var t=e||"/",n="",o="",r=t.indexOf("#");-1!==r&&(o=t.substr(r),t=t.substr(0,r));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===o?"":o}}(e)).state=t:(void 0===(i=Object(o.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(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),a?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=r(i.pathname,a.pathname)):i.pathname=a.pathname:i.pathname||(i.pathname="/"),i}function locationsAreEqual(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&a(e.state,t.state)}function createTransitionManager(){var e=null;var t=[];return{setPrompt:function setPrompt(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function confirmTransitionTo(t,n,o,r){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof o?o(a,r):r(!0):r(!1!==a)}else r(!0)},appendListener:function appendListener(e){var n=!0;function listener(){n&&e.apply(void 0,arguments)}return t.push(listener),function(){n=!1,t=t.filter((function(e){return e!==listener}))}},notifyListeners:function notifyListeners(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t.forEach((function(e){return e.apply(void 0,n)}))}}}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);function getConfirmation(e,t){t(window.confirm(e))}var s="popstate",u="hashchange";function getHistoryState(){try{return window.history.state||{}}catch(e){return{}}}function createBrowserHistory(e){void 0===e&&(e={}),c||Object(i.a)(!1);var t=window.history,n=function supportsHistory(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),r=!function supportsPopStateOnHashChange(){return-1===window.navigator.userAgent.indexOf("Trident")}(),a=e,l=a.forceRefresh,p=void 0!==l&&l,f=a.getUserConfirmation,d=void 0===f?getConfirmation:f,h=a.keyLength,_=void 0===h?6:h,m=e.basename?stripTrailingSlash(addLeadingSlash(e.basename)):"";function getDOMLocation(e){var t=e||{},n=t.key,o=t.state,r=window.location,a=r.pathname+r.search+r.hash;return m&&(a=stripBasename(a,m)),createLocation(a,o,n)}function createKey(){return Math.random().toString(36).substr(2,_)}var v=createTransitionManager();function setState(e){Object(o.a)(P,e),P.length=t.length,v.notifyListeners(P.location,P.action)}function handlePopState(e){(function isExtraneousPopstateEvent(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||handlePop(getDOMLocation(e.state))}function handleHashChange(){handlePop(getDOMLocation(getHistoryState()))}var g=!1;function handlePop(e){if(g)g=!1,setState();else{v.confirmTransitionTo(e,"POP",d,(function(t){t?setState({action:"POP",location:e}):function revertPop(e){var t=P.location,n=b.indexOf(t.key);-1===n&&(n=0);var o=b.indexOf(e.key);-1===o&&(o=0);var r=n-o;r&&(g=!0,go(r))}(e)}))}}var y=getDOMLocation(getHistoryState()),b=[y.key];function createHref(e){return m+createPath(e)}function go(e){t.go(e)}var x=0;function checkDOMListeners(e){1===(x+=e)&&1===e?(window.addEventListener(s,handlePopState),r&&window.addEventListener(u,handleHashChange)):0===x&&(window.removeEventListener(s,handlePopState),r&&window.removeEventListener(u,handleHashChange))}var S=!1;var P={length:t.length,action:"POP",location:y,createHref:createHref,push:function push(e,o){var r=createLocation(e,o,createKey(),P.location);v.confirmTransitionTo(r,"PUSH",d,(function(e){if(e){var o=createHref(r),a=r.key,i=r.state;if(n)if(t.pushState({key:a,state:i},null,o),p)window.location.href=o;else{var c=b.indexOf(P.location.key),s=b.slice(0,c+1);s.push(r.key),b=s,setState({action:"PUSH",location:r})}else window.location.href=o}}))},replace:function replace(e,o){var r=createLocation(e,o,createKey(),P.location);v.confirmTransitionTo(r,"REPLACE",d,(function(e){if(e){var o=createHref(r),a=r.key,i=r.state;if(n)if(t.replaceState({key:a,state:i},null,o),p)window.location.replace(o);else{var c=b.indexOf(P.location.key);-1!==c&&(b[c]=r.key),setState({action:"REPLACE",location:r})}else window.location.replace(o)}}))},go:go,goBack:function goBack(){go(-1)},goForward:function goForward(){go(1)},block:function block(e){void 0===e&&(e=!1);var t=v.setPrompt(e);return S||(checkDOMListeners(1),S=!0),function(){return S&&(S=!1,checkDOMListeners(-1)),t()}},listen:function listen(e){var t=v.appendListener(e);return checkDOMListeners(1),function(){checkDOMListeners(-1),t()}}};return P}var l="hashchange",p={hashbang:{encodePath:function encodePath(e){return"!"===e.charAt(0)?e:"!/"+stripLeadingSlash(e)},decodePath:function decodePath(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:stripLeadingSlash,decodePath:addLeadingSlash},slash:{encodePath:addLeadingSlash,decodePath:addLeadingSlash}};function stripHash(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function getHashPath(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function replaceHashPath(e){window.location.replace(stripHash(window.location.href)+"#"+e)}function createHashHistory(e){void 0===e&&(e={}),c||Object(i.a)(!1);var t=window.history,n=(function supportsGoWithoutReloadUsingHash(){return-1===window.navigator.userAgent.indexOf("Firefox")}(),e),r=n.getUserConfirmation,a=void 0===r?getConfirmation:r,s=n.hashType,u=void 0===s?"slash":s,f=e.basename?stripTrailingSlash(addLeadingSlash(e.basename)):"",d=p[u],h=d.encodePath,_=d.decodePath;function getDOMLocation(){var e=_(getHashPath());return f&&(e=stripBasename(e,f)),createLocation(e)}var m=createTransitionManager();function setState(e){Object(o.a)(O,e),O.length=t.length,m.notifyListeners(O.location,O.action)}var v=!1,g=null;function handleHashChange(){var e=getHashPath(),t=h(e);if(e!==t)replaceHashPath(t);else{var n=getDOMLocation(),o=O.location;if(!v&&function locationsAreEqual$$1(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash}(o,n))return;if(g===createPath(n))return;g=null,function handlePop(e){if(v)v=!1,setState();else{m.confirmTransitionTo(e,"POP",a,(function(t){t?setState({action:"POP",location:e}):function revertPop(e){var t=O.location,n=S.lastIndexOf(createPath(t));-1===n&&(n=0);var o=S.lastIndexOf(createPath(e));-1===o&&(o=0);var r=n-o;r&&(v=!0,go(r))}(e)}))}}(n)}}var y=getHashPath(),b=h(y);y!==b&&replaceHashPath(b);var x=getDOMLocation(),S=[createPath(x)];function go(e){t.go(e)}var P=0;function checkDOMListeners(e){1===(P+=e)&&1===e?window.addEventListener(l,handleHashChange):0===P&&window.removeEventListener(l,handleHashChange)}var w=!1;var O={length:t.length,action:"POP",location:x,createHref:function createHref(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=stripHash(window.location.href)),n+"#"+h(f+createPath(e))},push:function push(e,t){var n=createLocation(e,void 0,void 0,O.location);m.confirmTransitionTo(n,"PUSH",a,(function(e){if(e){var t=createPath(n),o=h(f+t);if(getHashPath()!==o){g=t,function pushHashPath(e){window.location.hash=e}(o);var r=S.lastIndexOf(createPath(O.location)),a=S.slice(0,r+1);a.push(t),S=a,setState({action:"PUSH",location:n})}else setState()}}))},replace:function replace(e,t){var n=createLocation(e,void 0,void 0,O.location);m.confirmTransitionTo(n,"REPLACE",a,(function(e){if(e){var t=createPath(n),o=h(f+t);getHashPath()!==o&&(g=t,replaceHashPath(o));var r=S.indexOf(createPath(O.location));-1!==r&&(S[r]=t),setState({action:"REPLACE",location:n})}}))},go:go,goBack:function goBack(){go(-1)},goForward:function goForward(){go(1)},block:function block(e){void 0===e&&(e=!1);var t=m.setPrompt(e);return w||(checkDOMListeners(1),w=!0),function(){return w&&(w=!1,checkDOMListeners(-1)),t()}},listen:function listen(e){var t=m.appendListener(e);return checkDOMListeners(1),function(){checkDOMListeners(-1),t()}}};return O}function clamp(e,t,n){return Math.min(Math.max(e,t),n)}function createMemoryHistory(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,a=void 0===r?["/"]:r,i=t.initialIndex,c=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,l=createTransitionManager();function setState(e){Object(o.a)(h,e),h.length=h.entries.length,l.notifyListeners(h.location,h.action)}function createKey(){return Math.random().toString(36).substr(2,u)}var p=clamp(c,0,a.length-1),f=a.map((function(e){return createLocation(e,void 0,"string"==typeof e?createKey():e.key||createKey())})),d=createPath;function go(e){var t=clamp(h.index+e,0,h.entries.length-1),o=h.entries[t];l.confirmTransitionTo(o,"POP",n,(function(e){e?setState({action:"POP",location:o,index:t}):setState()}))}var h={length:f.length,action:"POP",location:f[p],index:p,entries:f,createHref:d,push:function push(e,t){var o=createLocation(e,t,createKey(),h.location);l.confirmTransitionTo(o,"PUSH",n,(function(e){if(e){var t=h.index+1,n=h.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),setState({action:"PUSH",location:o,index:t,entries:n})}}))},replace:function replace(e,t){var o=createLocation(e,t,createKey(),h.location);l.confirmTransitionTo(o,"REPLACE",n,(function(e){e&&(h.entries[h.index]=o,setState({action:"REPLACE",location:o}))}))},go:go,goBack:function goBack(){go(-1)},goForward:function goForward(){go(1)},canGo:function canGo(e){var t=h.index+e;return t>=0&&t<h.entries.length},block:function block(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function listen(e){return l.appendListener(e)}};return h}},"../node_modules/react-router/esm/react-router.js":function(e,t,n){n.d(t,"a",(function(){return Redirect})),n.d(t,"b",(function(){return j})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return R})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return matchPath})),n.d(t,"g",(function(){return useHistory})),n.d(t,"h",(function(){return useLocation}));var o=n("../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"),r=n("react"),a=n.n(r),i=n("../node_modules/prop-types/index.js"),c=n.n(i),s=n("../node_modules/history/esm/history.js"),u=n("../node_modules/@babel/runtime/helpers/inheritsLoose.js"),l=n.n(u),p=n("../node_modules/gud/index.js"),f=n.n(p),d=1073741823;var h=a.a.createContext||function createReactContext(e,t){var n,o,a="__create-react-context-"+f()()+"__",i=function(e){function Provider(){var t;return(t=e.apply(this,arguments)||this).emitter=function createEventEmitter(e){var t=[];return{on:function on(e){t.push(e)},off:function off(e){t=t.filter((function(t){return t!==e}))},get:function get(){return e},set:function set(n,o){e=n,t.forEach((function(t){return t(e,o)}))}}}(t.props.value),t}l()(Provider,e);var n=Provider.prototype;return n.getChildContext=function getChildContext(){var e;return(e={})[a]=this.emitter,e},n.componentWillReceiveProps=function componentWillReceiveProps(e){if(this.props.value!==e.value){var n,o=this.props.value,r=e.value;!function objectIs(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(o,r)?(n="function"==typeof t?t(o,r):d,0!==(n|=0)&&this.emitter.set(e.value,n)):n=0}},n.render=function render(){return this.props.children},Provider}(r.Component);i.childContextTypes=((n={})[a]=c.a.object.isRequired,n);var s=function(t){function Consumer(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}l()(Consumer,t);var n=Consumer.prototype;return n.componentWillReceiveProps=function componentWillReceiveProps(e){var t=e.observedBits;this.observedBits=null==t?d:t},n.componentDidMount=function componentDidMount(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?d:e},n.componentWillUnmount=function componentWillUnmount(){this.context[a]&&this.context[a].off(this.onUpdate)},n.getValue=function getValue(){return this.context[a]?this.context[a].get():e},n.render=function render(){return function onlyChild(e){return Array.isArray(e)?e[0]:e}(this.props.children)(this.state.value)},Consumer}(r.Component);return s.contextTypes=((o={})[a]=c.a.object,o),{Provider:i,Consumer:s}},_=n("../node_modules/tiny-invariant/dist/tiny-invariant.esm.js"),m=n("../node_modules/@babel/runtime/helpers/esm/extends.js"),v=n("../node_modules/react-router/node_modules/path-to-regexp/index.js"),g=n.n(v),y=(n("../node_modules/react-is/index.js"),n("../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js")),b=(n("../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),function createNamedContext(e){var t=h();return t.displayName=e,t}("Router")),x=function(e){function Router(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(o.a)(Router,e),Router.computeRootMatch=function computeRootMatch(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var t=Router.prototype;return t.componentDidMount=function componentDidMount(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},t.componentWillUnmount=function componentWillUnmount(){this.unlisten&&this.unlisten()},t.render=function render(){return a.a.createElement(b.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:Router.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},Router}(a.a.Component);a.a.Component;var S=function(e){function Lifecycle(){return e.apply(this,arguments)||this}Object(o.a)(Lifecycle,e);var t=Lifecycle.prototype;return t.componentDidMount=function componentDidMount(){this.props.onMount&&this.props.onMount.call(this,this)},t.componentDidUpdate=function componentDidUpdate(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},t.componentWillUnmount=function componentWillUnmount(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},t.render=function render(){return null},Lifecycle}(a.a.Component);var P={},w=1e4,O=0;function generatePath(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function compilePath(e){if(P[e])return P[e];var t=g.a.compile(e);return O<w&&(P[e]=t,O++),t}(e)(t,{pretty:!0})}function Redirect(e){var t=e.computedMatch,n=e.to,o=e.push,r=void 0!==o&&o;return a.a.createElement(b.Consumer,null,(function(e){e||Object(_.a)(!1);var o=e.history,i=e.staticContext,c=r?o.push:o.replace,u=Object(s.c)(t?"string"==typeof n?generatePath(n,t.params):Object(m.a)({},n,{pathname:generatePath(n.pathname,t.params)}):n);return i?(c(u),null):a.a.createElement(S,{onMount:function onMount(){c(u)},onUpdate:function onUpdate(e,t){var n=Object(s.c)(t.to);Object(s.f)(n,Object(m.a)({},u,{key:n.key}))||c(u)},to:n})}))}var L={},C=1e4,T=0;function matchPath(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,o=n.path,r=n.exact,a=void 0!==r&&r,i=n.strict,c=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(o).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var o=function compilePath$1(e,t){var n=""+t.end+t.strict+t.sensitive,o=L[n]||(L[n]={});if(o[e])return o[e];var r=[],a={regexp:g()(e,r,t),keys:r};return T<C&&(o[e]=a,T++),a}(n,{end:a,strict:c,sensitive:u}),r=o.regexp,i=o.keys,s=r.exec(e);if(!s)return null;var l=s[0],p=s.slice(1),f=e===l;return a&&!f?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var j=function(e){function Route(){return e.apply(this,arguments)||this}return Object(o.a)(Route,e),Route.prototype.render=function render(){var e=this;return a.a.createElement(b.Consumer,null,(function(t){t||Object(_.a)(!1);var n=e.props.location||t.location,o=e.props.computedMatch?e.props.computedMatch:e.props.path?matchPath(n.pathname,e.props):t.match,r=Object(m.a)({},t,{location:n,match:o}),i=e.props,c=i.children,s=i.component,u=i.render;return Array.isArray(c)&&0===c.length&&(c=null),a.a.createElement(b.Provider,{value:r},r.match?c?"function"==typeof c?c(r):c:s?a.a.createElement(s,r):u?u(r):null:"function"==typeof c?c(r):null)}))},Route}(a.a.Component);function addLeadingSlash(e){return"/"===e.charAt(0)?e:"/"+e}function stripBasename(e,t){if(!e)return t;var n=addLeadingSlash(e);return 0!==t.pathname.indexOf(n)?t:Object(m.a)({},t,{pathname:t.pathname.substr(n.length)})}function createURL(e){return"string"==typeof e?e:Object(s.e)(e)}function staticHandler(e){return function(){Object(_.a)(!1)}}function noop(){}a.a.Component;var R=function(e){function Switch(){return e.apply(this,arguments)||this}return Object(o.a)(Switch,e),Switch.prototype.render=function render(){var e=this;return a.a.createElement(b.Consumer,null,(function(t){t||Object(_.a)(!1);var n,o,r=e.props.location||t.location;return a.a.Children.forEach(e.props.children,(function(e){if(null==o&&a.a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;o=i?matchPath(r.pathname,Object(m.a)({},e.props,{path:i})):t.match}})),o?a.a.cloneElement(n,{location:r,computedMatch:o}):null}))},Switch}(a.a.Component);var E=a.a.useContext;function useHistory(){return E(b).history}function useLocation(){return E(b).location}},"../node_modules/react-router/node_modules/isarray/index.js":function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},"../node_modules/react-router/node_modules/path-to-regexp/index.js":function(e,t,n){var o=n("../node_modules/react-router/node_modules/isarray/index.js");e.exports=pathToRegexp,e.exports.parse=parse,e.exports.compile=function compile(e,t){return tokensToFunction(parse(e,t),t)},e.exports.tokensToFunction=tokensToFunction,e.exports.tokensToRegExp=tokensToRegExp;var r=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse(e,t){for(var n,o=[],a=0,i=0,c="",s=t&&t.delimiter||"/";null!=(n=r.exec(e));){var u=n[0],l=n[1],p=n.index;if(c+=e.slice(i,p),i=p+u.length,l)c+=l[1];else{var f=e[i],d=n[2],h=n[3],_=n[4],m=n[5],v=n[6],g=n[7];c&&(o.push(c),c="");var y=null!=d&&null!=f&&f!==d,b="+"===v||"*"===v,x="?"===v||"*"===v,S=n[2]||s,P=_||m;o.push({name:h||a++,prefix:d||"",delimiter:S,optional:x,repeat:b,partial:y,asterisk:!!g,pattern:P?escapeGroup(P):g?".*":"[^"+escapeString(S)+"]+?"})}}return i<e.length&&(c+=e.substr(i)),c&&o.push(c),o}function encodeURIComponentPretty(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function tokensToFunction(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(n[r]=new RegExp("^(?:"+e[r].pattern+")$",flags(t)));return function(t,r){for(var a="",i=t||{},c=(r||{}).pretty?encodeURIComponentPretty:encodeURIComponent,s=0;s<e.length;s++){var u=e[s];if("string"!=typeof u){var l,p=i[u.name];if(null==p){if(u.optional){u.partial&&(a+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(o(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(l=c(p[f]),!n[s].test(l))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(l)+"`");a+=(0===f?u.prefix:u.delimiter)+l}}else{if(l=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(p),!n[s].test(l))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+l+'"');a+=u.prefix+l}}else a+=u}return a}}function escapeString(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function escapeGroup(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function attachKeys(e,t){return e.keys=t,e}function flags(e){return e&&e.sensitive?"":"i"}function tokensToRegExp(e,t,n){o(t)||(n=t||n,t=[]);for(var r=(n=n||{}).strict,a=!1!==n.end,i="",c=0;c<e.length;c++){var s=e[c];if("string"==typeof s)i+=escapeString(s);else{var u=escapeString(s.prefix),l="(?:"+s.pattern+")";t.push(s),s.repeat&&(l+="(?:"+u+l+")*"),i+=l=s.optional?s.partial?u+"("+l+")?":"(?:"+u+"("+l+"))?":u+"("+l+")"}}var p=escapeString(n.delimiter||"/"),f=i.slice(-p.length)===p;return r||(i=(f?i.slice(0,-p.length):i)+"(?:"+p+"(?=$))?"),i+=a?"$":r&&f?"":"(?="+p+"|$)",attachKeys(new RegExp("^"+i,flags(n)),t)}function pathToRegexp(e,t,n){return o(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function regexpToRegexp(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var o=0;o<n.length;o++)t.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return attachKeys(e,t)}(e,t):o(e)?function arrayToRegexp(e,t,n){for(var o=[],r=0;r<e.length;r++)o.push(pathToRegexp(e[r],t,n).source);return attachKeys(new RegExp("(?:"+o.join("|")+")",flags(n)),t)}(e,t,n):function stringToRegexp(e,t,n){return tokensToRegExp(parse(e,n),t,n)}(e,t,n)}},"../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":function(e,t,n){var o=function isOldIE(){var e;return function memorize(){return void 0===e&&(e=Boolean(window&&document&&document.all&&!window.atob)),e}}(),r=function getTarget(){var e={};return function memorize(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function getIndexByIdentifier(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function modulesToDom(e,t){for(var n={},o=[],r=0;r<e.length;r++){var i=e[r],c=t.base?i[0]+t.base:i[0],s=n[c]||0,u="".concat(c," ").concat(s);n[c]=s+1;var l=getIndexByIdentifier(u),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==l?(a[l].references++,a[l].updater(p)):a.push({identifier:u,updater:addStyle(p,t),references:1}),o.push(u)}return o}function insertStyleElement(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var a=n.nc;a&&(o.nonce=a)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var i=r(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var i=function replaceText(){var e=[];return function replace(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function applyToSingletonTag(e,t,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=i(t,r);else{var a=document.createTextNode(r),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}function applyToTag(e,t,n){var o=n.css,r=n.media,a=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),a&&btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var c=null,s=0;function addStyle(e,t){var n,o,r;if(t.singleton){var a=s++;n=c||(c=insertStyleElement(t)),o=applyToSingletonTag.bind(null,n,a,!1),r=applyToSingletonTag.bind(null,n,a,!0)}else n=insertStyleElement(t),o=applyToTag.bind(null,n,t),r=function remove(){!function removeStyleElement(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=modulesToDom(e=e||[],t);return function update(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var r=getIndexByIdentifier(n[o]);a[r].references--}for(var i=modulesToDom(e,t),c=0;c<n.length;c++){var s=getIndexByIdentifier(n[c]);0===a[s].references&&(a[s].updater(),a.splice(s,1))}n=i}}}},"../node_modules/tiny-invariant/dist/tiny-invariant.esm.js":function(e,t,n){var o=!0,r="Invariant failed";t.a=function invariant(e,t){if(!e)throw o?new Error(r):new Error(r+": "+(t||""))}}}]); //# sourceMappingURL=vendors~App-7KZ9F~user-page-DUsdt~9b1fde68.chunk.eaa5497fb7f7db0479e3.js.map