{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap","webpack:///external {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\",\"umd\":\"react\"}","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/@aarhus-university/au-lib-react-components/src/lib/i18n.js","webpack:///./node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///./node_modules/@aarhus-university/au-lib-react-components/src/components/password/AUPasswordActions.js","webpack:///./node_modules/@aarhus-university/au-lib-react-components/src/lib/validation.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///./node_modules/redux/es/redux.js","webpack:///./node_modules/invariant/browser.js","webpack:///external {\"root\":\"ReactDOM\",\"commonjs2\":\"react-dom\",\"commonjs\":\"react-dom\",\"amd\":\"react-dom\",\"umd\":\"react-dom\"}","webpack:///./src/actions/const.js","webpack:///./node_modules/react-redux/es/components/Context.js","webpack:///./node_modules/react-redux/es/utils/batch.js","webpack:///./node_modules/react-redux/es/utils/Subscription.js","webpack:///./node_modules/react-redux/es/components/Provider.js","webpack:///./node_modules/react-redux/es/components/connectAdvanced.js","webpack:///./node_modules/react-redux/es/utils/shallowEqual.js","webpack:///./node_modules/react-redux/es/connect/wrapMapToProps.js","webpack:///./node_modules/react-redux/es/connect/mapDispatchToProps.js","webpack:///./node_modules/react-redux/es/connect/mapStateToProps.js","webpack:///./node_modules/react-redux/es/connect/mergeProps.js","webpack:///./node_modules/react-redux/es/connect/selectorFactory.js","webpack:///./node_modules/react-redux/es/connect/connect.js","webpack:///./node_modules/react-redux/es/hooks/useReduxContext.js","webpack:///./node_modules/react-redux/es/hooks/useStore.js","webpack:///./node_modules/react-redux/es/hooks/useDispatch.js","webpack:///./node_modules/react-redux/es/hooks/useSelector.js","webpack:///./node_modules/react-redux/es/index.js","webpack:///./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///./node_modules/@aarhus-university/au-lib-react-components/src/components/form/AUReceiptComponent.js","webpack:///./node_modules/symbol-observable/es/index.js","webpack:///./node_modules/react-redux/node_modules/react-is/index.js","webpack:///./node_modules/symbol-observable/es/ponyfill.js","webpack:///./src/components/MailSentReceiptComponent.js","webpack:///./src/actions/password/index.js","webpack:///./node_modules/@aarhus-university/au-lib-react-components/src/components/delphinus/AUToastComponent.js","webpack:///./node_modules/redux-thunk/es/index.js","webpack:///./node_modules/@aarhus-university/au-lib-react-components/src/components/password/AUPasswordReducer.js","webpack:///./src/reducers/password.js","webpack:///./src/reducers/index.js","webpack:///./src/store/configureStore.js","webpack:///./node_modules/react-is/index.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./node_modules/react-is/cjs/react-is.production.min.js","webpack:///./node_modules/react-redux/node_modules/react-is/cjs/react-is.production.min.js","webpack:///(webpack)/buildin/harmony-module.js","webpack:///./src/components/UsernameForgetComponent.js","webpack:///./src/app-user.js"],"names":["root","factory","exports","module","require","define","amd","a","i","window","__WEBPACK_EXTERNAL_MODULE__0__","__WEBPACK_EXTERNAL_MODULE__9__","installedModules","__webpack_require__","moduleId","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","passwordLabels","da","currentPassword","changePassword","changePasswordInfo","newPassword","newPasswordInfo","repeatPassword","receipt","goto","requirementsHeader","requirement1","requirement2","requirement3","requirement4","rules","lowerupper","loweruppernumbers","lowerupperspecial","loweruppernumbersspecial","lowernumbers","lowernumbersspecial","lowerspecial","uppernumbers","uppernumbersspecial","upperspecial","numbersspecial","invalid","length","spaces","specialchars","allRequirements","passwordsEqual","passwordsNotEqual","typeNew","repeatNew","privateMail","privateMailHint","privateMailHint2","mailReceiptHeader","mailReceiptParagraph","mailReceiptHeader2","mailReceiptHelp","mailReceiptHelp2","mailReceiptHelp3","mailReceiptLink","forgotPassword","forgotPasswordParagraph","forgotUsername","forgotUsernameParagraph","allGood","validInput","sendBtnPassword","sendBtnUsername","expiredHeader","expiredText","expiredLink","goBack","supportHeader","supportStudentLink","supportStudentText","supportStaffLink","supportStaffText","pwned","en","_extends","assign","target","arguments","source","apply","this","PATCH_PASSWORD","SAVING_PASSWORD","DISMISS_MESSAGES","SET_SAVED","SENDING_MAIL","SEND_MAIL","GET_TOKEN_STATUS","getActionCreators","clear","dispatch","type","dismissMessages","patchPassword","data","callback","lang","async","ok","status","json","result","password","error","patchPasswordAnonymous","endpoint","userToken","actionType","sendMail","checkUserTokenIsValid","token","emailRegex","studentRegistrationNumberRegex","auIdRegex","renderValidation","messages","map","message","className","validateForm","fieldValue","rulesAndMessages","valid","validationMessages","forEach","rm","rule","push","validatePassword","confirmPassword","blur","submit","onSubmit","onSubmitValidationErrorMessage","lowerLetters","upperLetters","invalidLetters","numbers","special","all","RegExp","newPasswordValid","newPasswordMessages","confirmPasswordValid","confirmPasswordMessages","Map","entries","label","set","replace","match","invalidSpecialFound","split","char","cases","console","log","mapKey","oldPassword","isPwned","url","isPnwedUri","response","fetch","method","headers","body","JSON","stringify","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","indexOf","randomString","Math","random","toString","substring","join","ActionTypes","INIT","REPLACE","PROBE_UNKNOWN_ACTION","isPlainObject","obj","proto","getPrototypeOf","createStore","reducer","preloadedState","enhancer","_ref2","Error","undefined","currentReducer","currentState","currentListeners","nextListeners","isDispatching","ensureCanMutateNextListeners","slice","getState","subscribe","listener","isSubscribed","index","splice","action","listeners","replaceReducer","nextReducer","observable","_ref","outerSubscribe","observer","TypeError","observeState","next","unsubscribe","getUndefinedStateErrorMessage","String","combineReducers","reducers","reducerKeys","finalReducers","shapeAssertionError","finalReducerKeys","assertReducerShape","e","state","hasChanged","nextState","_i","_key","previousStateForKey","nextStateForKey","errorMessage","bindActionCreator","actionCreator","bindActionCreators","actionCreators","boundActionCreators","_defineProperty","configurable","writable","_objectSpread","ownKeys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","compose","_len","funcs","Array","arg","reduce","b","applyMiddleware","middlewares","store","_dispatch","middlewareAPI","chain","middleware","condition","format","f","args","argIndex","framesToPop","GET_CONTEXT","ACTIVATE_PASSWORD","ReactReduxContext","createContext","nullListeners","notify","createListenerCollection","batch","current","Subscription","parentSub","handleChangeWrapper","_proto","addNestedSub","trySubscribe","notifyNestedSubs","onStateChange","Boolean","tryUnsubscribe","Provider","context","children","contextValue","subscription","previousState","Context","createElement","propTypes","shape","func","isRequired","any","EMPTY_ARRAY","NO_SUBSCRIPTION_ARRAY","storeStateUpdatesReducer","updateCount","payload","initStateUpdates","useIsomorphicLayoutEffect","document","connectAdvanced","selectorFactory","_ref2$getDisplayName","getDisplayName","_ref2$methodName","methodName","_ref2$renderCountProp","renderCountProp","_ref2$shouldHandleSta","shouldHandleStateChanges","_ref2$storeKey","storeKey","_ref2$withRef","withRef","_ref2$forwardRef","forwardRef","_ref2$context","connectOptions","WrappedComponent","wrappedComponentName","displayName","selectorFactoryOptions","pure","usePureOnlyMemo","ConnectFunction","props","_useMemo","forwardedRef","wrapperProps","propsContext","ContextToUse","Consumer","didStoreComeFromProps","didStoreComeFromContext","childPropsSelector","createChildSelector","_useMemo2","overriddenContextValue","_useReducer","previousStateUpdateResult","forceComponentUpdateDispatch","lastChildProps","lastWrapperProps","childPropsFromStoreUpdate","renderIsScheduled","actualChildProps","didUnsubscribe","lastThrownError","checkForUpdates","newChildProps","latestStoreState","renderedWrappedComponent","ref","Connect","memo","forwarded","hasOwn","is","x","y","shallowEqual","objA","objB","keysA","keysB","wrapMapToPropsConstant","getConstant","options","constant","constantSelector","dependsOnOwnProps","getDependsOnOwnProps","mapToProps","wrapMapToPropsFunc","proxy","stateOrDispatch","ownProps","mapDispatchToProps","mapStateToProps","defaultMergeProps","stateProps","dispatchProps","mergeProps","mergedProps","areMergedPropsEqual","hasRunOnce","nextMergedProps","wrapMergePropsFunc","impureFinalPropsSelectorFactory","pureFinalPropsSelectorFactory","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","hasRunAtLeastOnce","handleSubsequentCalls","nextOwnProps","nextStateProps","statePropsChanged","propsChanged","stateChanged","finalPropsSelectorFactory","initMapStateToProps","initMapDispatchToProps","initMergeProps","factories","strictEqual","_temp","_ref$connectHOC","connectHOC","_ref$mapStateToPropsF","mapStateToPropsFactories","_ref$mapDispatchToPro","mapDispatchToPropsFactories","_ref$mergePropsFactor","mergePropsFactories","_ref$selectorFactory","_ref3","_ref3$pure","_ref3$areStatesEqual","_ref3$areOwnPropsEqua","_ref3$areStatePropsEq","_ref3$areMergedPropsE","extraOptions","createStoreHook","useReduxContext","useStore","createDispatchHook","refEquality","createSelectorHook","newBatch","ReactIs","REACT_STATICS","childContextTypes","contextType","contextTypes","defaultProps","getDefaultProps","getDerivedStateFromError","getDerivedStateFromProps","mixins","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","compare","TYPE_STATICS","getStatics","component","isMemo","ForwardRef","render","getOwnPropertyNames","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","targetStatics","sourceStatics","descriptor","AUReceiptComponent","receiptText","helpText","showGoTo","buttons","renderButtons","btn","gotoLink","href","gotoText","data-icon","dangerouslySetInnerHTML","__html","PropTypes","string","element","bool","arrayOf","self","global","symbolObservablePonyfill","MailSentReceiptComponent","goBackLink","appLang","getContext","userRegistrationApiUri","timeoutId","AUToastComponent","pMessage","dismiss","onOpen","toastRef","useRef","persistent","moveOut","classList","add","moveOutElement","querySelector","addEventListener","useEffect","useLayoutEffect","focus","setTimeout","clearTimeout","onClick","createThunkMiddleware","extraArgument","thunk","withExtraArgument","initialState","saving","saved","validToken","merge","passwordState","prevPassword","errorType","errorMessageDa","errorMessageEn","passwordReducer","configureStore","enhancers","rootReducer","g","Function","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes","array","number","symbol","elementType","instanceOf","node","objectOf","oneOf","oneOfType","exact","checkPropTypes","for","h","k","q","u","$$typeof","v","typeOf","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","isValidElementType","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","w","z","originalModule","webpackPolyfill","UsernameForgotComponent","onSendAction","privateMailAddress","setPrivateMailAddress","useState","privateMailValidationMessages","setPrivateMailValidationMessages","isPrivateMailValid","setIsPrivateMailValid","validationRules","trimmed","trim","renderMessages","validatePrivateMail","alert","vMessages","privateMailValidationClassName","noValidate","preventDefault","htmlFor","id","onChange","onKeyUp","disabled","ReactDOM","createPortal","connect","initialReduxState","rootElement","UsernameForgetComponent"],"mappings":"CAAA,SAA2CA,EAAMC,GAChD,GAAsB,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,SAAUA,QAAQ,mBAC/C,GAAqB,mBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,CAAC,QAAS,aAAcJ,OAC3B,CACJ,IAAIM,EAAuB,iBAAZL,QAAuBD,EAAQG,QAAQ,SAAUA,QAAQ,cAAgBH,EAAQD,EAAY,MAAGA,EAAe,UAC9H,IAAI,IAAIQ,KAAKD,GAAuB,iBAAZL,QAAuBA,QAAUF,GAAMQ,GAAKD,EAAEC,IAPxE,CASGC,QAAQ,SAASC,EAAgCC,GACpD,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUZ,QAGnC,IAAIC,EAASS,EAAiBE,GAAY,CACzCN,EAAGM,EACHC,GAAG,EACHb,QAAS,IAUV,OANAc,EAAQF,GAAUG,KAAKd,EAAOD,QAASC,EAAQA,EAAOD,QAAS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AO,KACN8D,EAAShE,KACZE,QAAa8D,EAAS9D,QAExBL,EAASmE,EAAShE,GAAIgE,EAAS/D,OAAQC,KAI3Csf,EAAwB9S,UAAY,CAClCtM,SAAUkY,IAAU3L,MAAM,IAAIE,WAC9B5L,SAAUqX,IAAU3L,MAAM,IAAIE,WAC9BnM,SAAU4X,IAAU1L,KAAKC,WACzBnN,gBAAiB4Y,IAAU1L,KAAKC,WAChC4S,aAAcnH,IAAU1L,MAG1B4S,EAAwB7Q,YAAc,0BAEvBuS,kBACZ9Y,GAAUA,EAAMhI,SAChBZ,GAAasJ,YAAmBC,IAAgBvJ,GAFpC0hB,CAGb1B,GC9LF,MAAM7E,EAAeziB,OAAOipB,kBACtB/W,EAAQkR,YAAeX,GAEvByG,EAAc9T,SAASyM,cAAc,QAC3CiH,IAASlK,OACP,kBAAC,IAAD,CAAU1M,MAAOA,GACf,kBAACiX,EAAD,OAEFD","file":"user.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\"], factory);\n\telse {\n\t\tvar a = typeof exports === 'object' ? factory(require(\"react\"), require(\"react-dom\")) : factory(root[\"React\"], root[\"ReactDOM\"]);\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(window, function(__WEBPACK_EXTERNAL_MODULE__0__, __WEBPACK_EXTERNAL_MODULE__9__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 37);\n","module.exports = __WEBPACK_EXTERNAL_MODULE__0__;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","const flowboxLabels = {\r\n da: {\r\n select: 'Vælg',\r\n back: 'Tilbage',\r\n building: 'Bygning',\r\n office: 'Kontor',\r\n },\r\n en: {\r\n select: 'Select',\r\n back: 'Back',\r\n building: 'Building',\r\n office: 'Office',\r\n },\r\n};\r\n\r\nconst newsLabels = {\r\n da: {\r\n news: {\r\n listLoadMore: 'Indlæs flere',\r\n eventDate: 'Dato',\r\n eventTime: 'Tid',\r\n eventWhere: 'Sted',\r\n eventRegistration: 'Tilmelding',\r\n weekdays: ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'],\r\n weekdaysShort: ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'],\r\n months: ['januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'december'],\r\n monthsShort: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],\r\n readMore: 'Læs mere',\r\n rssAdd: 'Klik på RSS-ikonet for at abonnere på listen i din RSS-læser.',\r\n rssCopy: 'Kopier linket til RSS-feedet fra tekstfeltet herunder.',\r\n },\r\n share: {\r\n facebook: 'Del på Facebook',\r\n twitter: 'Del på Twitter',\r\n linkedin: 'Del på LinkedIn',\r\n mail: 'Send til en ven',\r\n mailLabelLong: 'Send via e-mailklienten på din computer',\r\n mailLabelShort: 'E-mail',\r\n gmailLabelLong: 'Send via Gmail',\r\n gmailLabelShort: 'Gmail',\r\n yahooLabelLong: 'Send via Yahoo Mail',\r\n yahooLabelShort: 'Yahoo Mail',\r\n outlookLabelLong: 'Send via outlook.com',\r\n outlookLabelShort: 'Outlook.com',\r\n },\r\n },\r\n en: {\r\n news: {\r\n listLoadMore: 'Load more',\r\n eventDate: 'Date',\r\n eventTime: 'Time',\r\n eventWhere: 'Location',\r\n eventRegistration: 'Registration',\r\n weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\r\n weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\r\n months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\r\n monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\r\n readMore: 'Read more',\r\n rssAdd: 'Click the RSS icon to subscribe to the list in your RSS reader.',\r\n rssCopy: 'Copy the link to the RSS feed from the textfield below.',\r\n },\r\n share: {\r\n facebook: 'Facebook share',\r\n twitter: 'Twitter share',\r\n linkedin: 'LinkedIn share',\r\n mail: 'Send to a friend',\r\n mailLabelLong: 'Send via the email client on your computer',\r\n mailLabelShort: 'E-mail',\r\n gmailLabelLong: 'Send via Gmail',\r\n gmailLabelShort: 'Gmail',\r\n yahooLabelLong: 'Send via Yahoo Mail',\r\n yahooLabelShort: 'Yahoo Mail',\r\n outlookLabelLong: 'Send via outlook.com',\r\n outlookLabelShort: 'Outlook.com',\r\n },\r\n },\r\n};\r\n\r\nconst universeLabels = {\r\n da: {\r\n staffTitleLink: 'medarbejdere.au.dk',\r\n studentTitleLink: 'studerende.au.dk',\r\n mainPageLink: 'au.dk',\r\n iconSystems: 'Systemer',\r\n iconPin: 'Personer og bygninger',\r\n iconBurger: 'Menu',\r\n mitstudieText: 'mitstudie',\r\n mitstudieUrl: 'https://mitstudie.au.dk',\r\n },\r\n en: {\r\n staffTitleLink: 'staff.au.dk',\r\n studentTitleLink: 'students.au.dk',\r\n mainPageLink: 'au.dk',\r\n iconSystems: 'Systems',\r\n iconPin: 'Persons and buildings',\r\n iconBurger: 'Menu',\r\n mitstudieText: 'mystudies.au.dk',\r\n mitstudieUrl: 'https://mystudies.au.dk/',\r\n },\r\n};\r\n\r\nconst profileLabels = {\r\n da: {\r\n login: 'Log ind',\r\n logout: 'Log ud',\r\n edit: 'Ret',\r\n auId: 'AU-id',\r\n studentNumber: 'Studienummer',\r\n changeLanguage: 'Change language',\r\n headerContainer: 'Profilindstillinger',\r\n headerName: 'Profilnavn',\r\n headerMail: 'Mailadresser',\r\n headerMobile: 'Privat mobilnummer',\r\n headerLanguage: 'Sprog i systemer',\r\n headerNextOfKin: 'Pårørende',\r\n otherMail: 'Se øvrige AU-mailadresser',\r\n languageIn: 'Du har valgt dansk som standardsprog',\r\n legendName: 'Vælg dit profilnavn til universitetets systemer',\r\n legendNameHint: 'Vær opmærksom på, at ændringer ikke slår igennem i alle systemer.',\r\n formNameHint: 'Dit navn fra CPR-registeret',\r\n formNameDisplayName: 'Skriv et andet navn',\r\n firstName: 'Fornavn',\r\n firstNameHint: 'Undlad mellemnavne, hvis du kun vil vises med ét fornavn',\r\n lastName: 'Efternavn',\r\n workMail: 'AU-mailadresse',\r\n workMailHint: 'Ændringer i din medarbejder-mailadresse skal afspejle dit navn',\r\n workMailScreenreader: 'Din medarbejder-mailadresse er ###MAIL###. Du kan kun rette den del, der kommer før @.',\r\n studentMail: 'Studie-mailadresse',\r\n studentMailScreenreader: 'Din studie-mailadresse er ###MAIL###. Du kan kun rette den del, der kommer før @.',\r\n privateMail: 'Privat mailadresse',\r\n privateMailHint: 'Vi sender en mail til din private mailadresse, hvis du glemmer dit brugernavn eller adgangskode til universitetets systemer.',\r\n countryCode: 'Landekode',\r\n number: 'Nummer',\r\n languageLegend: 'Vælg dit foretrukne sprog til universitetets systemer ',\r\n danish: 'Dansk',\r\n english: 'Engelsk',\r\n nextOfKinParagraph: 'Du kan oplyse navn og telefonnummer på en pårørende, så universitetet kan kontakte vedkommende i et nødstilfælde.',\r\n nextOfKinName: 'Navn',\r\n nextOfKinTelephone: 'Telefonnummer',\r\n headerPassword: 'Skift adgangskode',\r\n save: 'Gem',\r\n saved: 'Dine ændringer er blevet gemt.',\r\n mailNotice: 'Vær opmærksom på, at der kan gå op til 15 minutter, før ændringer til din e-mailadresse slår igennem.',\r\n cancel: 'Annuller',\r\n validMail: 'Mailadressen du har skrevet er ikke gyldig.',\r\n validMailPrivate: 'Mailadressen du har skrevet er ikke gyldig, eller du har forsøgt at benytte din AU-mailadresse som privat mailadresse.',\r\n validMobile: 'Telefonnummeret du har skrevet er ikke gyldigt.',\r\n validName: 'Skriv et navn.',\r\n validFirstName: 'Skriv et fornavn.',\r\n validLastName: 'Skriv et efternavn.',\r\n emptyMail: 'Du har endnu ikke tilføjet en privat mailadresse',\r\n emptyMobile: 'Du har endnu ikke tilføjet et mobilnummer',\r\n emptyNok: 'Du har endnu ikke tilføjet en pårørende',\r\n copyAuid: 'Kopiér dit AU-id',\r\n copyStudentNumber: 'Kopiér dit studienummer',\r\n headerVacationAbsence: 'Ferie og fravær',\r\n myProfile: 'Min profil',\r\n helpModalHeader: 'Nyt: Medarbejderprofil',\r\n helpModalText: 'Nu kan du rette dine profiloplysninger, skifte adgangskode og se din ferie- og fraværsoversigt på medarbejdere.au.dk. Klik på \"Min profil\" for at logge ind og se din medarbejderprofil.',\r\n helpModalBtn: 'Ok, vis ikke igen',\r\n profileFor: 'Profilmenu for',\r\n changeLanguageButton: 'Switch to English',\r\n },\r\n en: {\r\n login: 'Sign in',\r\n logout: 'Sign out',\r\n edit: 'Edit',\r\n auId: 'AU ID',\r\n studentNumber: 'Student registration number',\r\n changeLanguage: 'Skift sprog',\r\n headerContainer: 'Profile settings',\r\n headerName: 'Profile name',\r\n headerMail: 'Email addresses',\r\n headerMobile: 'Private mobile phone number',\r\n headerLanguage: 'System language',\r\n headerNextOfKin: 'Relatives',\r\n otherMail: 'See other AU email addresses',\r\n languageIn: 'You have selected English as the standard language',\r\n legendName: 'Select your profile name for the university\\'s systems',\r\n legendNameHint: 'Please note that changes will not take effect in all systems.',\r\n formNameHint: 'Your name from the CPR (civil registration number) register',\r\n formNameDisplayName: 'Enter another name',\r\n firstName: 'First name',\r\n firstNameHint: 'Omit any middle names if you only want one first name to be displayed.',\r\n lastName: 'Last name',\r\n workMail: 'AU email address',\r\n workMailHint: 'Changes to your work mail must reflect your name',\r\n workMailScreenreader: 'Your work mail is ###MAIL###. You are only able to edit the part before the @.',\r\n studentMail: 'Student mail address',\r\n studentMailScreenreader: 'Your student mail address is ###MAIL###. You are only able to edit the part before the @.',\r\n privateMail: 'Private mail address',\r\n privateMailHint: 'If you forget your username or password for the university’s systems, we will send an email to your private email address.',\r\n countryCode: 'Country code',\r\n number: 'Number',\r\n languageLegend: 'Select your preferred language for the university’s systems.',\r\n danish: 'Danish',\r\n english: 'English',\r\n nextOfKinParagraph: 'State the name and phone number of a relative so the university can contact the person in question in case of an emergency.',\r\n nextOfKinName: 'Name',\r\n nextOfKinTelephone: 'Telephone number',\r\n headerPassword: 'Change password',\r\n save: 'Save',\r\n saved: 'Your changes have been saved',\r\n mailNotice: 'Please note that it may take up to 15 minutes for changes to your email address to take effect.',\r\n cancel: 'Cancel',\r\n validMail: 'The email address you have entered is not valid.',\r\n validMailPrivate: 'The email address you have entered is not valid, or you have tried to use your AU email address as your private email address.',\r\n validMobile: 'The phone number you have entered is not valid.',\r\n validName: 'Enter a name.',\r\n validFirstName: 'Enter a first name.',\r\n validLastName: 'Enter a last name.',\r\n emptyMail: 'You have not yet added a private email address',\r\n emptyMobile: 'You have not yet added a mobile number',\r\n emptyNok: 'You have not yet added information about a relative ',\r\n copyAuid: 'Copy your AU ID',\r\n copyStudentNumber: 'Copy your student registration number',\r\n headerVacationAbsence: 'Holiday and absence',\r\n myProfile: 'My profile',\r\n helpModalHeader: 'New features at staff.au.dk',\r\n helpModalText: 'You can now edit your profile settings, change your password and see your holiday and absence overview at staff.au.dk. Click \"My profile\" to log in and see your staff profile.',\r\n helpModalBtn: 'OK, don\\'t show again',\r\n profileFor: 'Profile menu for',\r\n changeLanguageButton: 'Skift til dansk',\r\n },\r\n};\r\n\r\nconst passwordLabels = {\r\n da: {\r\n currentPassword: 'Skriv din nuværende adgangskode',\r\n changePassword: 'Skift adgangskode',\r\n changePasswordInfo: 'Vær opmærksom på, at når du skifter din adgangskode, gælder det alle universitetets systemer.',\r\n newPassword: 'Skriv en ny adgangskode',\r\n newPasswordInfo: 'Af sikkerhedsmæssige årsager må du ikke have anvendt din adgangskode tidligere, og den må ikke indeholde personlige oplysninger.',\r\n repeatPassword: 'Skriv din nye adgangskode igen',\r\n receipt: 'Godt gået! Din adgangskode er nu skiftet',\r\n goto: 'Gå til forsiden',\r\n requirementsHeader: 'Din nye adgangskode skal indholde:',\r\n requirement1: 'Mindst 12 tegn',\r\n requirement2: 'Ingen æ, ø, å eller Æ, Ø, Å',\r\n requirement3: 'Ingen mellemrum',\r\n requirement4: 'En kombination af bogstaver, tal og disse specialtegn:',\r\n rules: {\r\n lowerupper: 'Tilføj et lille bogstav eller et stort bogstav.',\r\n loweruppernumbers: 'Tilføj en kombination af små bogstaver, store bogstaver og tal.',\r\n lowerupperspecial: 'Tilføj en kombination af små bogstaver, store bogstaver og specialtegn.',\r\n loweruppernumbersspecial: 'Din adgangskode skal indeholde en kombination af bogstaver, tal og specialtegn.',\r\n lowernumbers: 'Tilføj et lille bogstav eller et tal.',\r\n lowernumbersspecial: 'Tilføj en kombination af små bogstaver, tal og specialtegn.',\r\n lowerspecial: 'Tilføj et lille bogstav eller et specialtegn.',\r\n uppernumbers: 'Tilføj et stort bogstav eller et tal.',\r\n uppernumbersspecial: 'Tilføj en kombination af store bogstaver, tal og specialtegn.',\r\n upperspecial: 'Tilføj et stort bogstav eller et specialtegn.',\r\n numbersspecial: 'Tilføj et tal eller et specialtegn.',\r\n invalid: 'Din adgangskode må ikke indeholde æ, ø, å eller Æ, Ø, Å.',\r\n length: 'Din adgangskode skal være på mindst ###LENGTH### tegn.',\r\n spaces: 'Din adgangskode må ikke indeholde mellemrum.',\r\n specialchars: 'Din adgangskode indholder et specieltegn, som ikke er tilladt.',\r\n },\r\n allRequirements: 'Din nye adgangskode opfylder alle krav.',\r\n passwordsEqual: 'De to adgangskoder er ens',\r\n passwordsNotEqual: 'Hov, du har skrevet to forskellige adgangskoder. Prøv igen.',\r\n typeNew: 'Skriv en ny adgangskode',\r\n repeatNew: 'Skriv din nye adgangskode igen',\r\n privateMail: 'Privat mailadresse',\r\n privateMailHint: 'Hvis du ikke har registreret din private mailadresse på Aarhus Universitet, kan du skrive din AU-mailadresse, dit AU-id eller dit studienummer.',\r\n privateMailHint2: 'Hvis du ikke har registreret din private mailadresse på Aarhus Universitet, kan du skrive din AU-mailadresse.',\r\n mailReceiptHeader: 'Vi har sendt et link til din mailadresse',\r\n mailReceiptParagraph: 'Brug linket til at skifte din adgangskode.',\r\n mailReceiptHeader2: 'Vi har sendt dit AU-brugernavn til din mail',\r\n mailReceiptHelp: 'Har du ikke modtaget en mail fra os?',\r\n mailReceiptHelp2: 'Det kan skyldes, at du har indtastet en forkert mailadresse, AU-id eller studienummer.',\r\n mailReceiptHelp3: 'Det kan skyldes, at du har indtastet en forkert mailadresse.',\r\n mailReceiptLink: 'Gå tilbage og prøv igen',\r\n forgotPassword: 'Glemt adgangskode',\r\n forgotPasswordParagraph: 'Skriv din mailadresse, så sender vi et link, som du kan bruge til at skifte din adgangskode.',\r\n forgotUsername: 'Glemt brugernavn',\r\n forgotUsernameParagraph: 'Skriv din mailadresse, så sender vi en mail med dit brugernavn.',\r\n allGood: 'Perfekt',\r\n validInput: 'Du har ikke skrevet gyldig mailadresse, AU-id eller studienummer.',\r\n sendBtnPassword: 'Næste',\r\n sendBtnUsername: 'Send mit brugernavn',\r\n expiredHeader: 'Linket er desværre udløbet.',\r\n expiredText: 'Vær opmærksom på, at linket kun er aktivt i 24 timer.',\r\n expiredLink: 'Prøv igen',\r\n goBack: 'Gå tilbage',\r\n supportHeader: 'Har du brug for hjælp?',\r\n supportStudentLink: 'https://studerende.au.dk/it-support/',\r\n supportStudentText: 'Support til studerende',\r\n supportStaffLink: 'https://medarbejdere.au.dk/administration/it/',\r\n supportStaffText: 'Support til medarbejdere og andre',\r\n pwned: 'Adgangskoden kan ikke bruges, da den tidligere har været brugt på andre hjemmesider, som er blevet hacket. Prøv med en anden.',\r\n },\r\n en: {\r\n currentPassword: 'Enter your current password',\r\n changePassword: 'Change password',\r\n changePasswordInfo: 'Please note that when you change your password, the change will apply to all the university’s systems.',\r\n newPassword: 'Enter a new password',\r\n newPasswordInfo: 'For security reasons, you cannot use a password that you have used before, and the password may not contain personal information.',\r\n repeatPassword: 'Re-enter your new password',\r\n receipt: 'Well done! Your password has now been changed',\r\n goto: 'Go to the front page',\r\n requirementsHeader: 'Your new password must contain:',\r\n requirement1: 'At least 12 characters',\r\n requirement2: 'No \\'æ\\', \\'ø\\', \\'å\\' or \\'Æ\\', \\'Ø\\', \\'Å\\'',\r\n requirement3: 'No spaces',\r\n requirement4: 'A combination of letters, numbers and these special characters:',\r\n rules: {\r\n lowerupper: 'Add a lower-case letter or an upper-case letter.',\r\n loweruppernumbers: 'Add a combination of lower-case letters, upper-case letters and numbers.',\r\n lowerupperspecial: 'Add a combination of lower-case letters, upper-case letters and special characters.',\r\n loweruppernumbersspecial: 'Your password must contain a combination of letters, numbers and special characters.',\r\n lowernumbers: 'Add a lower-case letter or a number.',\r\n lowernumbersspecial: 'Add a combination of lower-case letters, numbers and special characters.',\r\n lowerspecial: 'Add a lower-case letter or a special character.',\r\n uppernumbers: 'Add an upper-case letter or a number.',\r\n uppernumbersspecial: 'Add a combination of upper-case letters, numbers and special characters.',\r\n upperspecial: 'Add an upper-case letter or a special character.',\r\n numbersspecial: 'Add a number or a special charactern',\r\n invalid: 'Your password may not contain the letters \\'æ\\', \\'ø\\', \\'å\\' or \\'Æ\\', \\'Ø\\', \\'Å\\'.',\r\n length: 'Your password must consist of at least ###LENGTH### characters.',\r\n spaces: 'Your password may not contain spaces.',\r\n specialchars: 'Your password contains a special character which is not permitted.',\r\n },\r\n allRequirements: 'Your new password meets all requirements.',\r\n passwordsEqual: 'The passwords match',\r\n passwordsNotEqual: 'Ups. You have written two different passwords. Please try again.',\r\n typeNew: 'Enter a new password',\r\n repeatNew: 'Re-enter your new password',\r\n privateMail: 'Private email address',\r\n privateMailHint: 'If you have not registered your private email address at Aarhus University, you can write your AU email address, your AU ID or your student registration number.',\r\n privateMailHint2: 'If you have not registered your private email address at Aarhus University, you can write your AU email address.',\r\n mailReceiptHeader: 'We have sent a link to your email address registered',\r\n mailReceiptParagraph: 'Use the link to change your password.',\r\n mailReceiptHeader2: 'We have sent an email with your username to your email address',\r\n mailReceiptHelp: 'Haven’t you received an email from us?',\r\n mailReceiptHelp2: 'Maybe you have entered the wrong email address, AU ID or student registration number.',\r\n mailReceiptHelp3: 'Maybe you have entered the wrong email address.',\r\n mailReceiptLink: 'Please go back and try again',\r\n forgotPassword: 'Forgot your password?',\r\n forgotPasswordParagraph: 'Enter your email address. We will then send you a link which you can use to reset your password.',\r\n forgotUsername: 'Forgot your username?',\r\n forgotUsernameParagraph: 'Enter your email address. We will then send you an email with your username.',\r\n allGood: 'Perfect',\r\n validInput: 'You have not entered a valid email address, AU ID or student registration number.',\r\n sendBtnPassword: 'Next',\r\n sendBtnUsername: 'Send my username',\r\n expiredHeader: 'Unfortunately, the link has expired.',\r\n expiredText: 'Please note that the link is only active for 24 hours.',\r\n expiredLink: 'Try again',\r\n goBack: 'Go back',\r\n supportHeader: 'Need help?',\r\n supportStudentLink: 'https://studerende.au.dk/en/it-support/',\r\n supportStudentText: 'Support for students',\r\n supportStaffLink: 'https://medarbejdere.au.dk/en/administration/it/',\r\n supportStaffText: 'Support for staff and others',\r\n pwned: 'The password cannot be used because it has been used before on other websites that have been hacked. Please try a different password.',\r\n },\r\n};\r\n\r\nconst countryCodes = [\r\n { da: 'Afghanistan', en: 'Afghanistan', code: 93 },\r\n { da: 'Albanien', en: 'Albania', code: 355 },\r\n { da: 'Algeriet', en: 'Algeria', code: 213 },\r\n { da: 'Amerikansk Samoa', en: 'American Samoa', code: 684 },\r\n { da: 'Andorra', en: 'Andorra', code: 376 },\r\n { da: 'Angola', en: 'Angola', code: 244 },\r\n { da: 'Anguilla', en: 'Anguilla', code: 1264 },\r\n { da: 'Antigua og Barbuda', en: 'Antigua and Barbuda', code: 1268 },\r\n { da: 'Argentina', en: 'Argentina', code: 54 },\r\n { da: 'Armenien', en: 'Armenia', code: 374 },\r\n { da: 'Aruba', en: 'Aruba', code: 297 },\r\n { da: 'Ascension', en: 'Ascension', code: 247 },\r\n { da: 'Aserbajdsjan', en: 'Azerbaijan', code: 994 },\r\n { da: 'Australien', en: 'Australia', code: 61 },\r\n { da: 'Bahamas', en: 'Bahamas', code: 1242 },\r\n { da: 'Bahrain', en: 'Bahrain', code: 973 },\r\n { da: 'Bangladesh', en: 'Bangladesh', code: 880 },\r\n { da: 'Barbados', en: 'Barbados', code: 1246 },\r\n { da: 'Belgien', en: 'Belgium', code: 32 },\r\n { da: 'Belize', en: 'Belize', code: 501 },\r\n { da: 'Benin', en: 'Benin', code: 229 },\r\n { da: 'Bermuda', en: 'Bermuda', code: 1441 },\r\n { da: 'Bhutan', en: 'Bhutan', code: 975 },\r\n { da: 'Bolivia', en: 'Bolivia', code: 591 },\r\n { da: 'Bosnien-Hercegovina', en: 'Bosnia Herzegovina', code: 387 },\r\n { da: 'Botswana', en: 'Botswana', code: 267 },\r\n { da: 'Brasilien', en: 'Brazil', code: 55 },\r\n { da: 'Britiske Jomfruøer', en: 'British Virgin Islands', code: 1284 },\r\n { da: 'Brunei', en: 'Brunei', code: 673 },\r\n { da: 'Bulgarien', en: 'Bulgaria', code: 359 },\r\n { da: 'Burkina Faso', en: 'Burkina Faso', code: 226 },\r\n { da: 'Burma', en: 'Burma', code: 95 },\r\n { da: 'Burundi', en: 'Burundi', code: 257 },\r\n { da: 'Cambodja', en: 'Cambodia', code: 855 },\r\n { da: 'Cameroun', en: 'Cameroon', code: 237 },\r\n { da: 'Canada', en: 'Canada', code: 1 },\r\n { da: 'Caymanøerne', en: 'Cayman Islands', code: 1345 },\r\n { da: 'Centralafrikanske Republik', en: 'Centralafrican Republic', code: 236 },\r\n { da: 'Chile', en: 'Chile', code: 56 },\r\n { da: 'Cocosøerne', en: 'Cocos', code: 619162 },\r\n { da: 'Colombia', en: 'Colombia', code: 57 },\r\n { da: 'Comorerne', en: 'Comoros', code: 269 },\r\n { da: 'Cook-øerne', en: 'Cook Islands', code: 682 },\r\n { da: 'Costa Rica', en: 'Costa Rica', code: 506 },\r\n { da: 'Cuba', en: 'Cuba', code: 53 },\r\n { da: 'Cypern', en: 'Cyprus', code: 357 },\r\n {\r\n da: 'Danmark',\r\n en: 'Denmark',\r\n code: 45,\r\n important: true,\r\n },\r\n { da: 'Demokratiske Republik Congo', en: 'Democratic Republic of Congo', code: 243 },\r\n { da: 'Diego Garcia', en: 'Diego Garcia', code: 246 },\r\n { da: 'Djibouti', en: 'Djibouti', code: 253 },\r\n { da: 'Dominica', en: 'Dominica', code: 1767 },\r\n { da: 'Dominikanske Republik', en: 'Dominican Republic', code: 1809 },\r\n { da: 'Ecuador', en: 'Ecuador', code: 593 },\r\n { da: 'Egypten', en: 'Egypt', code: 20 },\r\n { da: 'El Salvador', en: 'El Salvador', code: 503 },\r\n { da: 'Elfenbenskysten', en: 'Ivory Coast', code: 225 },\r\n { da: 'Eritrea', en: 'Eritrea', code: 291 },\r\n { da: 'Estland', en: 'Estonia', code: 372 },\r\n { da: 'Etiopien', en: 'Ethiopia', code: 251 },\r\n { da: 'Falklandsøerne', en: 'Falklands', code: 500 },\r\n { da: 'Fiji', en: 'Fiji', code: 679 },\r\n { da: 'Filippinerne', en: 'Phillipines', code: 63 },\r\n { da: 'Finland', en: 'Finland', code: 358 },\r\n { da: 'Forenede Arabiske Emirater', en: 'United Arab Emirates', code: 971 },\r\n { da: 'Frankrig', en: 'France', code: 33 },\r\n { da: 'Fransk Guyana', en: 'French Guiana', code: 594 },\r\n { da: 'Fransk Polynesien', en: 'French Polynesia', code: 689 },\r\n { da: 'Færøerne', en: 'Faroe Islands', code: 298 },\r\n { da: 'Gabon', en: 'Gabon', code: 241 },\r\n { da: 'Gambia', en: 'Gambia', code: 220 },\r\n { da: 'Georgien', en: 'Georgia', code: 995 },\r\n { da: 'Ghana', en: 'Ghana', code: 233 },\r\n { da: 'Gibraltar', en: 'Gibraltar', code: 350 },\r\n { da: 'Grenada', en: 'Grenada', code: 1473 },\r\n { da: 'Grækenland', en: 'Greece', code: 30 },\r\n { da: 'Grønland', en: 'Greenland', code: 299 },\r\n { da: 'Guadeloupe', en: 'Guadeloupe', code: 590 },\r\n { da: 'Guam', en: 'Guam', code: 1671 },\r\n { da: 'Guatemala', en: 'Guatemala', code: 502 },\r\n { da: 'Guinea', en: 'Guinea', code: 224 },\r\n { da: 'Guinea-Bissau', en: 'Guinea-Bissau', code: 245 },\r\n { da: 'Guyana', en: 'Guyana', code: 592 },\r\n { da: 'Haiti', en: 'Haiti', code: 509 },\r\n { da: 'Honduras', en: 'Honduras', code: 504 },\r\n { da: 'Hong Kong', en: 'Hong Kong', code: 852 },\r\n { da: 'Hviderusland', en: 'Belarus', code: 375 },\r\n { da: 'Indien', en: 'India', code: 91 },\r\n { da: 'Indonesien', en: 'Indonesia', code: 62 },\r\n { da: 'Irak', en: 'Iraq', code: 964 },\r\n { da: 'Iran', en: 'Iran', code: 98 },\r\n { da: 'Irland', en: 'Ireland', code: 353 },\r\n { da: 'Island', en: 'Iceland', code: 354 },\r\n { da: 'Israel', en: 'Israel', code: 972 },\r\n { da: 'Italien', en: 'Italy', code: 39 },\r\n { da: 'Jamaica', en: 'Jamaica', code: 1876 },\r\n { da: 'Japan', en: 'Japan', code: 81 },\r\n { da: 'Jomfruøerne', en: 'Virgin Islands', code: 1340 },\r\n { da: 'Jordan', en: 'Jordan', code: 962 },\r\n { da: 'Juleøen', en: 'Christmas Island', code: 619164 },\r\n { da: 'Kap Verde', en: 'Cape Verde', code: 238 },\r\n { da: 'Kasakhstan', en: 'Kazakhstan', code: 7 },\r\n { da: 'Kenya', en: 'Kenya', code: 254 },\r\n { da: 'Kina', en: 'China', code: 86 },\r\n { da: 'Kirgisistan', en: 'Kyrgyzstan', code: 996 },\r\n { da: 'Kiribati', en: 'Kiribati', code: 686 },\r\n { da: 'Kroatien', en: 'Croatia', code: 385 },\r\n { da: 'Kuwait', en: 'Kuwait', code: 965 },\r\n { da: 'Laos', en: 'Laos', code: 856 },\r\n { da: 'Lesotho', en: 'Lesotho', code: 266 },\r\n { da: 'Letland', en: 'Latvia', code: 371 },\r\n { da: 'Libanon', en: 'Lebanon', code: 961 },\r\n { da: 'Liberia', en: 'Liberia', code: 231 },\r\n { da: 'Libyen', en: 'Libya', code: 218 },\r\n { da: 'Liechtenstein', en: 'Liechtenstein', code: 423 },\r\n { da: 'Litauen', en: 'Lithuania', code: 370 },\r\n { da: 'Luxemburg', en: 'Luxemburg', code: 352 },\r\n { da: 'Macau', en: 'Macau', code: 853 },\r\n { da: 'Madagaskar', en: 'Madagascar', code: 261 },\r\n { da: 'Makedonien', en: 'Macedonia', code: 389 },\r\n { da: 'Malawi', en: 'Malawi', code: 265 },\r\n { da: 'Malaysia', en: 'Malaysia', code: 60 },\r\n { da: 'Maldiverne', en: 'Maldives', code: 960 },\r\n { da: 'Mali', en: 'Mali', code: 223 },\r\n { da: 'Malta', en: 'Malta', code: 356 },\r\n { da: 'Marokko', en: 'Morocco', code: 212 },\r\n { da: 'Marshalløerne', en: 'Marshall Islands', code: 692 },\r\n { da: 'Martinique', en: 'Martinique', code: 596 },\r\n { da: 'Mauretanien', en: 'Mauritania', code: 222 },\r\n { da: 'Mauritius', en: 'Mauritius', code: 230 },\r\n { da: 'Mayotte', en: 'Mayotte', code: 262 },\r\n { da: 'Mexico', en: 'Mexico', code: 52 },\r\n { da: 'Mikronesien', en: 'Micronesia', code: 691 },\r\n { da: 'Moldova', en: 'Moldova', code: 373 },\r\n { da: 'Monaco', en: 'Monaco', code: 377 },\r\n { da: 'Mongoliet', en: 'Mongolia', code: 976 },\r\n { da: 'Montenegro', en: 'Montenegro', code: 382 },\r\n { da: 'Montserrat', en: 'Montserrat', code: 1664 },\r\n { da: 'Mozambique', en: 'Mozambique', code: 258 },\r\n { da: 'Namibia', en: 'Namibia', code: 264 },\r\n { da: 'Nauru', en: 'Nauru', code: 674 },\r\n { da: 'Nederlandene', en: 'Netherlands', code: 31 },\r\n { da: 'Nederlandske Antiller', en: 'Netherlands Antilles', code: 599 },\r\n { da: 'Nepal', en: 'Nepal', code: 977 },\r\n { da: 'New Zealand', en: 'New Zealand', code: 64 },\r\n { da: 'Nicaragua', en: 'Nicaragua', code: 505 },\r\n { da: 'Niger', en: 'Niger', code: 227 },\r\n { da: 'Nigeria', en: 'Nigeria', code: 234 },\r\n { da: 'Niue', en: 'Niue', code: 683 },\r\n { da: 'Nordirland', en: 'Northern Ireland', code: 44 },\r\n { da: 'Nordkorea', en: 'North Korea', code: 850 },\r\n { da: 'Norfolk', en: 'Norfolk', code: 672 },\r\n { da: 'Norge', en: 'Norway', code: 47 },\r\n { da: 'Ny Caledonien', en: 'New Caledonia', code: 687 },\r\n { da: 'Oman', en: 'Oman', code: 968 },\r\n { da: 'Pakistan', en: 'Pakistan', code: 92 },\r\n { da: 'Panama', en: 'Panama', code: 507 },\r\n { da: 'Papua Ny Guinea', en: 'Papua New Guinea', code: 675 },\r\n { da: 'Paraguay', en: 'Paraguay', code: 595 },\r\n { da: 'Peru', en: 'Peru', code: 51 },\r\n { da: 'Polen', en: 'Poland', code: 48 },\r\n { da: 'Portugal', en: 'Portugal', code: 351 },\r\n { da: 'Puerto Rico', en: 'Puerto Rico', code: 1787 },\r\n { da: 'Qatar', en: 'Qatar', code: 974 },\r\n { da: 'Republikken Congo', en: 'Republic of the Congo', code: 242 },\r\n { da: 'Réunion', en: 'Reunion', code: 262 },\r\n { da: 'Rumænien', en: 'Romania', code: 40 },\r\n { da: 'Rusland', en: 'Russia', code: 7 },\r\n { da: 'Rwanda', en: 'Rwanda', code: 250 },\r\n { da: 'Saint Helena', en: 'Saint Helena', code: 290 },\r\n { da: 'Saint Kitts og Nevis', en: 'Saint Kitts and Nevis', code: 1869 },\r\n { da: 'Saint Lucia', en: 'Saint Lucia', code: 1758 },\r\n { da: 'Saint Pierre og Miquelon', en: 'Saint Pierre and Miquelon', code: 508 },\r\n { da: 'Saint Vincent og Grenadinerne', en: 'Saint Vincent and the Grenadines', code: 1784 },\r\n { da: 'Salomonøerne', en: 'Solomons', code: 677 },\r\n { da: 'San Marino', en: 'San Marino', code: 378 },\r\n { da: 'Sao Tomé og Principe', en: 'Sao Tome and Principe', code: 239 },\r\n { da: 'Saudi-Arabien', en: 'Saudi Arabia', code: 966 },\r\n { da: 'Schweiz', en: 'Switzerland', code: 41 },\r\n { da: 'Senegal', en: 'Senegal', code: 221 },\r\n { da: 'Serbien', en: 'Serbia', code: 381 },\r\n { da: 'Seychellerne', en: 'Seychelles', code: 248 },\r\n { da: 'Sierra Leone', en: 'Sierra Leone', code: 232 },\r\n { da: 'Singapore', en: 'Singapore', code: 65 },\r\n { da: 'Slovakiet', en: 'Slovakia', code: 421 },\r\n { da: 'Slovenien', en: 'Slovenia', code: 386 },\r\n { da: 'Somalia', en: 'Somalia', code: 252 },\r\n { da: 'Spanien', en: 'Spain', code: 34 },\r\n { da: 'Sri Lanka', en: 'Sri Lanka', code: 94 },\r\n { da: 'Storbritannien', en: 'United Kingdom', code: 44 },\r\n { da: 'Sudan', en: 'Sudan', code: 249 },\r\n { da: 'Surinam', en: 'Suriname', code: 597 },\r\n { da: 'Sverige', en: 'Sweden', code: 46 },\r\n { da: 'Swaziland', en: 'Swaziland', code: 268 },\r\n { da: 'Sydafrika', en: 'South Africa', code: 27 },\r\n { da: 'Sydkorea', en: 'South Korea', code: 82 },\r\n { da: 'Sydsudan', en: 'South Sudan', code: 211 },\r\n { da: 'Syrien', en: 'Syria', code: 963 },\r\n { da: 'Tadsjikistan', en: 'Tajikistan', code: 992 },\r\n { da: 'Taiwan', en: 'Taiwan', code: 886 },\r\n { da: 'Tanzania', en: 'Tanzania', code: 255 },\r\n { da: 'Tchad', en: 'Chad', code: 235 },\r\n { da: 'Thailand', en: 'Thailand', code: 66 },\r\n { da: 'Tjekkiet', en: 'Czech republic', code: 420 },\r\n { da: 'Togo', en: 'Togo', code: 228 },\r\n { da: 'Tonga', en: 'Tonga', code: 676 },\r\n { da: 'Trinidad og Tobago', en: 'Trinidad and Tobago', code: 1868 },\r\n { da: 'Tunesien', en: 'Tunisia', code: 216 },\r\n { da: 'Turkmenistan', en: 'Turkmenistan', code: 993 },\r\n { da: 'Turks- og Caicosøerne', en: 'Turks and Caicos Islands', code: 1649 },\r\n { da: 'Tuvalu', en: 'Tuvalu', code: 688 },\r\n { da: 'Tyrkiet', en: 'Turkey', code: 90 },\r\n { da: 'Tyskland', en: 'Germany', code: 49 },\r\n { da: 'Uganda', en: 'Uganda', code: 256 },\r\n { da: 'Ukraine', en: 'Ukraine', code: 380 },\r\n { da: 'Ungarn', en: 'Hungary', code: 36 },\r\n { da: 'Uruguay', en: 'Uruguay', code: 598 },\r\n { da: 'USA', en: 'USA', code: 1 },\r\n { da: 'Usbekistan', en: 'Uzbekistan', code: 998 },\r\n { da: 'Vanuatu', en: 'Vanuatu', code: 678 },\r\n { da: 'Venezuela', en: 'Venezuela', code: 58 },\r\n { da: 'Vest Samoa', en: 'West Samoa', code: 685 },\r\n { da: 'Vietnam', en: 'Vietnam', code: 84 },\r\n { da: 'Yemen', en: 'Yemen', code: 967 },\r\n { da: 'Zambia', en: 'Zambia', code: 260 },\r\n { da: 'Zimbabwe', en: 'Zimbabwe', code: 263 },\r\n { da: 'Ækvatorialguinea', en: 'Equatorial Guinea', code: 240 },\r\n { da: 'Østrig', en: 'Austria', code: 43 },\r\n];\r\n\r\n\r\nexport {\r\n flowboxLabels,\r\n newsLabels,\r\n universeLabels,\r\n profileLabels,\r\n passwordLabels,\r\n countryCodes,\r\n};\r\n","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","/* eslint-disable import/prefer-default-export */\r\nexport const PATCH_PASSWORD = 'PATCH_PASSWORD';\r\nexport const SAVING_PASSWORD = 'SAVING_PASSWORD';\r\nexport const DISMISS_MESSAGES = 'DISMISS_MESSAGES';\r\nexport const SET_SAVED = 'SET_SAVED';\r\nexport const SENDING_MAIL = 'SENDING_MAIL';\r\nexport const SEND_MAIL = 'SEND_MAIL';\r\nexport const GETTING_TOKEN_STATUS = 'GETTING_TOKEN_STATUS';\r\nexport const GET_TOKEN_STATUS = 'GET_TOKEN_STATUS';\r\n\r\nexport const getActionCreators = () => {\r\n const actionCreators = {\r\n clear: () => (dispatch) => {\r\n dispatch({\r\n type: SET_SAVED,\r\n });\r\n },\r\n dismissMessages: () => (dispatch) => {\r\n dispatch({\r\n type: DISMISS_MESSAGES,\r\n });\r\n },\r\n patchPassword: (data, callback, lang = 'da') => async (dispatch) => {\r\n dispatch({\r\n type: SAVING_PASSWORD,\r\n });\r\n\r\n callback(data, (ok, status, json) => {\r\n const result = {};\r\n if (ok) {\r\n result.password = true;\r\n } else {\r\n result.error = json;\r\n result.error.lang = lang;\r\n }\r\n result.status = status;\r\n dispatch({\r\n type: PATCH_PASSWORD,\r\n result,\r\n });\r\n });\r\n },\r\n patchPasswordAnonymous: (endpoint, type, userToken, data, callback, lang = 'da') => async (dispatch) => {\r\n dispatch({\r\n type: SAVING_PASSWORD,\r\n });\r\n\r\n callback(endpoint, type, userToken, data, (ok, status, json, actionType) => {\r\n const result = {};\r\n if (ok) {\r\n result.password = json;\r\n } else {\r\n result.error = json;\r\n result.error.lang = lang;\r\n }\r\n result.status = status;\r\n dispatch({\r\n type: actionType,\r\n result,\r\n });\r\n });\r\n },\r\n sendMail: (data, callback, lang = 'da') => async (dispatch) => {\r\n dispatch({\r\n type: SENDING_MAIL,\r\n });\r\n\r\n callback(data, (ok, status, json) => {\r\n const result = {};\r\n if (ok) {\r\n result.password = true;\r\n } else {\r\n result.error = json;\r\n result.error.lang = lang;\r\n }\r\n result.status = status;\r\n dispatch({\r\n type: SEND_MAIL,\r\n result,\r\n });\r\n });\r\n },\r\n checkUserTokenIsValid: (userToken, callback) => async (dispatch) => {\r\n dispatch({\r\n type: GETTING_TOKEN_STATUS,\r\n });\r\n\r\n callback(userToken, (ok, status) => {\r\n const result = {};\r\n result.token = ok;\r\n result.status = status;\r\n dispatch({\r\n type: GET_TOKEN_STATUS,\r\n result,\r\n });\r\n });\r\n },\r\n };\r\n\r\n return actionCreators;\r\n};\r\n","import React from 'react';\r\nimport { passwordLabels } from './i18n';\r\n\r\nconst emailRegex = /^(?=.{6,320}$)([0-9A-Za-z]([0-9A-Za-z\\x21\\x23\\x24\\x25\\x26\\x27\\x2a\\x2b\\x2f\\x3d\\x3f\\x5e\\x5f\\x60\\x7b\\x7c\\x7d\\x7e\\x2d\\x2e]{0,62}[0-9A-Za-z])?\\x40(?=.{4,255}$)(([0-9A-Za-z]([0-9A-Za-z\\x2d]{0,254}[0-9A-Za-z])?\\x2e)+[0-9A-Za-z]([0-9A-Za-z\\x2d]{0,254}[0-9A-Za-z])?))$/;\r\nconst studentRegistrationNumberRegex = /^[a-zA-Z0-9]{3,12}$/;\r\nconst auIdRegex = /^au[1-9]([0-9]{0,8})$/;\r\n\r\nconst renderValidation = (messages) => messages.map(\r\n (message) => {message},\r\n);\r\n\r\nconst validateForm = (lang, fieldValue, rulesAndMessages = []) => {\r\n let valid = true;\r\n const validationMessages = [];\r\n rulesAndMessages.forEach((rm) => {\r\n if (!rm.rule(fieldValue)) {\r\n valid = false;\r\n validationMessages.push(rm.message);\r\n }\r\n });\r\n\r\n if (valid) {\r\n validationMessages.push(passwordLabels[lang].allGood);\r\n }\r\n\r\n return [valid, validationMessages];\r\n};\r\n\r\nconst validatePassword = async (\r\n lang,\r\n newPassword,\r\n confirmPassword,\r\n blur = false,\r\n submit = false,\r\n onSubmit = null,\r\n onSubmitValidationErrorMessage = '',\r\n) => {\r\n const length = 12;\r\n const lowerLetters = /([a-z])/g;\r\n const upperLetters = /([A-Z])/g;\r\n const invalidLetters = /([æøåÆØÅ])/g;\r\n const numbers = /([0-9])/g;\r\n const special = /~|!|@|#|\\$|%|\\^|&|\\*|_|-|\\+|=|`|\\||\\(|\\)|{|}|\\[|\\]|:|;|\"|'|<|>|,|\\.|\\?|\\//g;\r\n const spaces = /\\s/g;\r\n const all = new RegExp(`${lowerLetters.source}|${upperLetters.source}|${invalidLetters.source}|${numbers.source}|${special.source}|${spaces.source}`);\r\n\r\n let newPasswordValid = false;\r\n const newPasswordMessages = [];\r\n let confirmPasswordValid = false;\r\n let confirmPasswordMessages = [];\r\n\r\n const map = new Map();\r\n Object.entries(passwordLabels[lang].rules).forEach((label) => {\r\n map.set(label[0], label[1].replace('###LENGTH###', length));\r\n });\r\n\r\n let key = '';\r\n\r\n if (newPassword.length > 0) {\r\n if (newPassword.length >= length || blur) {\r\n newPasswordValid = true;\r\n if (newPassword.match(invalidLetters)) {\r\n newPasswordMessages.push(map.get('invalid'));\r\n newPasswordValid = false;\r\n }\r\n\r\n if (newPassword.match(spaces)) {\r\n newPasswordMessages.push(map.get('spaces'));\r\n newPasswordValid = false;\r\n }\r\n\r\n let invalidSpecialFound = false;\r\n newPassword.split('').forEach((char) => {\r\n if (!char.match(all)) {\r\n invalidSpecialFound = true;\r\n }\r\n });\r\n\r\n if (invalidSpecialFound) {\r\n newPasswordMessages.push(map.get('specialchars'));\r\n newPasswordValid = false;\r\n }\r\n\r\n let cases = 0;\r\n if (!newPassword.match(lowerLetters)) {\r\n key = `${key}lower`;\r\n cases += 1;\r\n }\r\n\r\n if (!newPassword.match(upperLetters)) {\r\n key = `${key}upper`;\r\n cases += 1;\r\n }\r\n\r\n if (!newPassword.match(numbers)) {\r\n key = `${key}numbers`;\r\n cases += 1;\r\n }\r\n\r\n if (!newPassword.match(special)) {\r\n key = `${key}special`;\r\n cases += 1;\r\n }\r\n\r\n if (cases > 1) {\r\n newPasswordValid = false;\r\n }\r\n\r\n if (newPassword.length < length) {\r\n newPasswordMessages.push(map.get('length'));\r\n newPasswordValid = false;\r\n }\r\n } else {\r\n if (newPassword.match(invalidLetters)) {\r\n newPasswordMessages.push(map.get('invalid'));\r\n newPasswordValid = false;\r\n }\r\n\r\n if (newPassword.match(spaces)) {\r\n newPasswordMessages.push(map.get('spaces'));\r\n newPasswordValid = false;\r\n }\r\n\r\n let invalidSpecialFound = false;\r\n newPassword.split('').forEach((char) => {\r\n if (!char.match(all)) {\r\n invalidSpecialFound = true;\r\n }\r\n });\r\n\r\n if (invalidSpecialFound) {\r\n newPasswordMessages.push(map.get('specialchars'));\r\n newPasswordValid = false;\r\n }\r\n\r\n if (newPassword.length < length && blur) {\r\n newPasswordMessages.push(map.get('length'));\r\n newPasswordValid = false;\r\n }\r\n }\r\n\r\n console.log(key);\r\n\r\n const mapKey = map.get(key);\r\n if (typeof mapKey !== 'undefined') {\r\n newPasswordMessages.push(mapKey);\r\n }\r\n\r\n if (confirmPassword.length >= newPassword.length\r\n || ((blur || submit) && confirmPassword.length > 0)) {\r\n if (confirmPassword === newPassword) {\r\n confirmPasswordMessages.push(passwordLabels[lang].passwordsEqual);\r\n confirmPasswordValid = true;\r\n } else {\r\n confirmPasswordMessages.push(passwordLabels[lang].passwordsNotEqual);\r\n }\r\n }\r\n }\r\n\r\n if (submit) {\r\n if (newPassword === '') {\r\n newPasswordValid = false;\r\n newPasswordMessages.push(passwordLabels[lang].typeNew);\r\n } else if (confirmPassword === '') {\r\n confirmPasswordValid = false;\r\n confirmPasswordMessages.push(passwordLabels[lang].repeatNew);\r\n }\r\n\r\n if (typeof onSubmit === 'function') {\r\n const result = await onSubmit({\r\n oldPassword: '',\r\n password: newPassword,\r\n });\r\n if (!result.valid) {\r\n newPasswordValid = false;\r\n newPasswordMessages.push(onSubmitValidationErrorMessage);\r\n confirmPasswordMessages = [];\r\n }\r\n }\r\n }\r\n\r\n if (newPasswordValid) {\r\n newPasswordMessages.push(passwordLabels[lang].allRequirements);\r\n } \r\n\r\n return {\r\n newPasswordValid,\r\n newPasswordMessages,\r\n confirmPasswordValid,\r\n confirmPasswordMessages,\r\n };\r\n};\r\n\r\nconst isPwned = async (data) => {\r\n const url = window.isPnwedUri;\r\n if (url) {\r\n const response = await fetch(url, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n body: JSON.stringify(data),\r\n });\r\n\r\n const result = await response.json();\r\n return result;\r\n }\r\n return false;\r\n};\r\n\r\nexport {\r\n emailRegex,\r\n studentRegistrationNumberRegex,\r\n auIdRegex,\r\n renderValidation,\r\n validatePassword,\r\n validateForm,\r\n isPwned,\r\n};\r\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","import $$observable from 'symbol-observable';\n\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\nvar randomString = function randomString() {\n return Math.random().toString(36).substring(7).split('').join('.');\n};\n\nvar ActionTypes = {\n INIT: \"@@redux/INIT\" + randomString(),\n REPLACE: \"@@redux/REPLACE\" + randomString(),\n PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {\n return \"@@redux/PROBE_UNKNOWN_ACTION\" + randomString();\n }\n};\n\n/**\n * @param {any} obj The object to inspect.\n * @returns {boolean} True if the argument appears to be a plain object.\n */\nfunction isPlainObject(obj) {\n if (typeof obj !== 'object' || obj === null) return false;\n var proto = obj;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(obj) === proto;\n}\n\n/**\n * Creates a Redux store that holds the state tree.\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [preloadedState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} [enhancer] The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\n\nfunction createStore(reducer, preloadedState, enhancer) {\n var _ref2;\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {\n throw new Error('It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function');\n }\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {\n enhancer = preloadedState;\n preloadedState = undefined;\n }\n\n if (typeof enhancer !== 'undefined') {\n if (typeof enhancer !== 'function') {\n throw new Error('Expected the enhancer to be a function.');\n }\n\n return enhancer(createStore)(reducer, preloadedState);\n }\n\n if (typeof reducer !== 'function') {\n throw new Error('Expected the reducer to be a function.');\n }\n\n var currentReducer = reducer;\n var currentState = preloadedState;\n var currentListeners = [];\n var nextListeners = currentListeners;\n var isDispatching = false;\n\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = currentListeners.slice();\n }\n }\n /**\n * Reads the state tree managed by the store.\n *\n * @returns {any} The current state tree of your application.\n */\n\n\n function getState() {\n if (isDispatching) {\n throw new Error('You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');\n }\n\n return currentState;\n }\n /**\n * Adds a change listener. It will be called any time an action is dispatched,\n * and some part of the state tree may potentially have changed. You may then\n * call `getState()` to read the current state tree inside the callback.\n *\n * You may call `dispatch()` from a change listener, with the following\n * caveats:\n *\n * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n * If you subscribe or unsubscribe while the listeners are being invoked, this\n * will not have any effect on the `dispatch()` that is currently in progress.\n * However, the next `dispatch()` call, whether nested or not, will use a more\n * recent snapshot of the subscription list.\n *\n * 2. The listener should not expect to see all state changes, as the state\n * might have been updated multiple times during a nested `dispatch()` before\n * the listener is called. It is, however, guaranteed that all subscribers\n * registered before the `dispatch()` started will be called with the latest\n * state by the time it exits.\n *\n * @param {Function} listener A callback to be invoked on every dispatch.\n * @returns {Function} A function to remove this change listener.\n */\n\n\n function subscribe(listener) {\n if (typeof listener !== 'function') {\n throw new Error('Expected the listener to be a function.');\n }\n\n if (isDispatching) {\n throw new Error('You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api-reference/store#subscribe(listener) for more details.');\n }\n\n var isSubscribed = true;\n ensureCanMutateNextListeners();\n nextListeners.push(listener);\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n if (isDispatching) {\n throw new Error('You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api-reference/store#subscribe(listener) for more details.');\n }\n\n isSubscribed = false;\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\n };\n }\n /**\n * Dispatches an action. It is the only way to trigger a state change.\n *\n * The `reducer` function, used to create the store, will be called with the\n * current state tree and the given `action`. Its return value will\n * be considered the **next** state of the tree, and the change listeners\n * will be notified.\n *\n * The base implementation only supports plain object actions. If you want to\n * dispatch a Promise, an Observable, a thunk, or something else, you need to\n * wrap your store creating function into the corresponding middleware. For\n * example, see the documentation for the `redux-thunk` package. Even the\n * middleware will eventually dispatch plain object actions using this method.\n *\n * @param {Object} action A plain object representing “what changed”. It is\n * a good idea to keep actions serializable so you can record and replay user\n * sessions, or use the time travelling `redux-devtools`. An action must have\n * a `type` property which may not be `undefined`. It is a good idea to use\n * string constants for action types.\n *\n * @returns {Object} For convenience, the same action object you dispatched.\n *\n * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n * return something else (for example, a Promise you can await).\n */\n\n\n function dispatch(action) {\n if (!isPlainObject(action)) {\n throw new Error('Actions must be plain objects. ' + 'Use custom middleware for async actions.');\n }\n\n if (typeof action.type === 'undefined') {\n throw new Error('Actions may not have an undefined \"type\" property. ' + 'Have you misspelled a constant?');\n }\n\n if (isDispatching) {\n throw new Error('Reducers may not dispatch actions.');\n }\n\n try {\n isDispatching = true;\n currentState = currentReducer(currentState, action);\n } finally {\n isDispatching = false;\n }\n\n var listeners = currentListeners = nextListeners;\n\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n listener();\n }\n\n return action;\n }\n /**\n * Replaces the reducer currently used by the store to calculate the state.\n *\n * You might need this if your app implements code splitting and you want to\n * load some of the reducers dynamically. You might also need this if you\n * implement a hot reloading mechanism for Redux.\n *\n * @param {Function} nextReducer The reducer for the store to use instead.\n * @returns {void}\n */\n\n\n function replaceReducer(nextReducer) {\n if (typeof nextReducer !== 'function') {\n throw new Error('Expected the nextReducer to be a function.');\n }\n\n currentReducer = nextReducer;\n dispatch({\n type: ActionTypes.REPLACE\n });\n }\n /**\n * Interoperability point for observable/reactive libraries.\n * @returns {observable} A minimal observable of state changes.\n * For more information, see the observable proposal:\n * https://github.com/tc39/proposal-observable\n */\n\n\n function observable() {\n var _ref;\n\n var outerSubscribe = subscribe;\n return _ref = {\n /**\n * The minimal observable subscription method.\n * @param {Object} observer Any object that can be used as an observer.\n * The observer object should have a `next` method.\n * @returns {subscription} An object with an `unsubscribe` method that can\n * be used to unsubscribe the observable from the store, and prevent further\n * emission of values from the observable.\n */\n subscribe: function subscribe(observer) {\n if (typeof observer !== 'object' || observer === null) {\n throw new TypeError('Expected the observer to be an object.');\n }\n\n function observeState() {\n if (observer.next) {\n observer.next(getState());\n }\n }\n\n observeState();\n var unsubscribe = outerSubscribe(observeState);\n return {\n unsubscribe: unsubscribe\n };\n }\n }, _ref[$$observable] = function () {\n return this;\n }, _ref;\n } // When a store is created, an \"INIT\" action is dispatched so that every\n // reducer returns their initial state. This effectively populates\n // the initial state tree.\n\n\n dispatch({\n type: ActionTypes.INIT\n });\n return _ref2 = {\n dispatch: dispatch,\n subscribe: subscribe,\n getState: getState,\n replaceReducer: replaceReducer\n }, _ref2[$$observable] = observable, _ref2;\n}\n\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n\n\n try {\n // This error was thrown as a convenience so that if you enable\n // \"break on all exceptions\" in your console,\n // it would pause the execution at this line.\n throw new Error(message);\n } catch (e) {} // eslint-disable-line no-empty\n\n}\n\nfunction getUndefinedStateErrorMessage(key, action) {\n var actionType = action && action.type;\n var actionDescription = actionType && \"action \\\"\" + String(actionType) + \"\\\"\" || 'an action';\n return \"Given \" + actionDescription + \", reducer \\\"\" + key + \"\\\" returned undefined. \" + \"To ignore an action, you must explicitly return the previous state. \" + \"If you want this reducer to hold no value, you can return null instead of undefined.\";\n}\n\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {\n var reducerKeys = Object.keys(reducers);\n var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';\n\n if (reducerKeys.length === 0) {\n return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';\n }\n\n if (!isPlainObject(inputState)) {\n return \"The \" + argumentName + \" has unexpected type of \\\"\" + {}.toString.call(inputState).match(/\\s([a-z|A-Z]+)/)[1] + \"\\\". Expected argument to be an object with the following \" + (\"keys: \\\"\" + reducerKeys.join('\", \"') + \"\\\"\");\n }\n\n var unexpectedKeys = Object.keys(inputState).filter(function (key) {\n return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];\n });\n unexpectedKeys.forEach(function (key) {\n unexpectedKeyCache[key] = true;\n });\n if (action && action.type === ActionTypes.REPLACE) return;\n\n if (unexpectedKeys.length > 0) {\n return \"Unexpected \" + (unexpectedKeys.length > 1 ? 'keys' : 'key') + \" \" + (\"\\\"\" + unexpectedKeys.join('\", \"') + \"\\\" found in \" + argumentName + \". \") + \"Expected to find one of the known reducer keys instead: \" + (\"\\\"\" + reducerKeys.join('\", \"') + \"\\\". Unexpected keys will be ignored.\");\n }\n}\n\nfunction assertReducerShape(reducers) {\n Object.keys(reducers).forEach(function (key) {\n var reducer = reducers[key];\n var initialState = reducer(undefined, {\n type: ActionTypes.INIT\n });\n\n if (typeof initialState === 'undefined') {\n throw new Error(\"Reducer \\\"\" + key + \"\\\" returned undefined during initialization. \" + \"If the state passed to the reducer is undefined, you must \" + \"explicitly return the initial state. The initial state may \" + \"not be undefined. If you don't want to set a value for this reducer, \" + \"you can use null instead of undefined.\");\n }\n\n if (typeof reducer(undefined, {\n type: ActionTypes.PROBE_UNKNOWN_ACTION()\n }) === 'undefined') {\n throw new Error(\"Reducer \\\"\" + key + \"\\\" returned undefined when probed with a random type. \" + (\"Don't try to handle \" + ActionTypes.INIT + \" or other actions in \\\"redux/*\\\" \") + \"namespace. They are considered private. Instead, you must return the \" + \"current state for any unknown actions, unless it is undefined, \" + \"in which case you must return the initial state, regardless of the \" + \"action type. The initial state may not be undefined, but can be null.\");\n }\n });\n}\n/**\n * Turns an object whose values are different reducer functions, into a single\n * reducer function. It will call every child reducer, and gather their results\n * into a single state object, whose keys correspond to the keys of the passed\n * reducer functions.\n *\n * @param {Object} reducers An object whose values correspond to different\n * reducer functions that need to be combined into one. One handy way to obtain\n * it is to use ES6 `import * as reducers` syntax. The reducers may never return\n * undefined for any action. Instead, they should return their initial state\n * if the state passed to them was undefined, and the current state for any\n * unrecognized action.\n *\n * @returns {Function} A reducer function that invokes every reducer inside the\n * passed object, and builds a state object with the same shape.\n */\n\n\nfunction combineReducers(reducers) {\n var reducerKeys = Object.keys(reducers);\n var finalReducers = {};\n\n for (var i = 0; i < reducerKeys.length; i++) {\n var key = reducerKeys[i];\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof reducers[key] === 'undefined') {\n warning(\"No reducer provided for key \\\"\" + key + \"\\\"\");\n }\n }\n\n if (typeof reducers[key] === 'function') {\n finalReducers[key] = reducers[key];\n }\n }\n\n var finalReducerKeys = Object.keys(finalReducers);\n var unexpectedKeyCache;\n\n if (process.env.NODE_ENV !== 'production') {\n unexpectedKeyCache = {};\n }\n\n var shapeAssertionError;\n\n try {\n assertReducerShape(finalReducers);\n } catch (e) {\n shapeAssertionError = e;\n }\n\n return function combination(state, action) {\n if (state === void 0) {\n state = {};\n }\n\n if (shapeAssertionError) {\n throw shapeAssertionError;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);\n\n if (warningMessage) {\n warning(warningMessage);\n }\n }\n\n var hasChanged = false;\n var nextState = {};\n\n for (var _i = 0; _i < finalReducerKeys.length; _i++) {\n var _key = finalReducerKeys[_i];\n var reducer = finalReducers[_key];\n var previousStateForKey = state[_key];\n var nextStateForKey = reducer(previousStateForKey, action);\n\n if (typeof nextStateForKey === 'undefined') {\n var errorMessage = getUndefinedStateErrorMessage(_key, action);\n throw new Error(errorMessage);\n }\n\n nextState[_key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n\n return hasChanged ? nextState : state;\n };\n}\n\nfunction bindActionCreator(actionCreator, dispatch) {\n return function () {\n return dispatch(actionCreator.apply(this, arguments));\n };\n}\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass a single function as the first argument,\n * and get a function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\n\n\nfunction bindActionCreators(actionCreators, dispatch) {\n if (typeof actionCreators === 'function') {\n return bindActionCreator(actionCreators, dispatch);\n }\n\n if (typeof actionCreators !== 'object' || actionCreators === null) {\n throw new Error(\"bindActionCreators expected an object or a function, instead received \" + (actionCreators === null ? 'null' : typeof actionCreators) + \". \" + \"Did you write \\\"import ActionCreators from\\\" instead of \\\"import * as ActionCreators from\\\"?\");\n }\n\n var keys = Object.keys(actionCreators);\n var boundActionCreators = {};\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var actionCreator = actionCreators[key];\n\n if (typeof actionCreator === 'function') {\n boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n }\n }\n\n return boundActionCreators;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\n}\n\n/**\n * Composes single-argument functions from right to left. The rightmost\n * function can take multiple arguments as it provides the signature for\n * the resulting composite function.\n *\n * @param {...Function} funcs The functions to compose.\n * @returns {Function} A function obtained by composing the argument functions\n * from right to left. For example, compose(f, g, h) is identical to doing\n * (...args) => f(g(h(...args))).\n */\nfunction compose() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n if (funcs.length === 0) {\n return function (arg) {\n return arg;\n };\n }\n\n if (funcs.length === 1) {\n return funcs[0];\n }\n\n return funcs.reduce(function (a, b) {\n return function () {\n return a(b.apply(void 0, arguments));\n };\n });\n}\n\n/**\n * Creates a store enhancer that applies middleware to the dispatch method\n * of the Redux store. This is handy for a variety of tasks, such as expressing\n * asynchronous actions in a concise manner, or logging every action payload.\n *\n * See `redux-thunk` package as an example of the Redux middleware.\n *\n * Because middleware is potentially asynchronous, this should be the first\n * store enhancer in the composition chain.\n *\n * Note that each middleware will be given the `dispatch` and `getState` functions\n * as named arguments.\n *\n * @param {...Function} middlewares The middleware chain to be applied.\n * @returns {Function} A store enhancer applying the middleware.\n */\n\nfunction applyMiddleware() {\n for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {\n middlewares[_key] = arguments[_key];\n }\n\n return function (createStore) {\n return function () {\n var store = createStore.apply(void 0, arguments);\n\n var _dispatch = function dispatch() {\n throw new Error(\"Dispatching while constructing your middleware is not allowed. \" + \"Other middleware would not be applied to this dispatch.\");\n };\n\n var middlewareAPI = {\n getState: store.getState,\n dispatch: function dispatch() {\n return _dispatch.apply(void 0, arguments);\n }\n };\n var chain = middlewares.map(function (middleware) {\n return middleware(middlewareAPI);\n });\n _dispatch = compose.apply(void 0, chain)(store.dispatch);\n return _objectSpread({}, store, {\n dispatch: _dispatch\n });\n };\n };\n}\n\n/*\n * This is a dummy function to check if the function name has been altered by minification.\n * If the function has been minified and NODE_ENV !== 'production', warn the user.\n */\n\nfunction isCrushed() {}\n\nif (process.env.NODE_ENV !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {\n warning('You are currently using minified code outside of NODE_ENV === \"production\". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');\n}\n\nexport { createStore, combineReducers, bindActionCreators, applyMiddleware, compose, ActionTypes as __DO_NOT_USE__ActionTypes };\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","module.exports = __WEBPACK_EXTERNAL_MODULE__9__;","/* eslint-disable import/prefer-default-export */\nexport const GET_CONTEXT = 'GET_CONTEXT';\nexport const ACTIVATE_PASSWORD = 'ACTIVATE_PASSWORD';\n","import React from 'react';\nexport var ReactReduxContext = React.createContext(null);\nexport default ReactReduxContext;","// Default to a dummy \"batch\" implementation that just runs the callback\nfunction defaultNoopBatch(callback) {\n callback();\n}\n\nvar batch = defaultNoopBatch; // Allow injecting another batching function later\n\nexport var setBatch = function setBatch(newBatch) {\n return batch = newBatch;\n}; // Supply a getter just to skip dealing with ESM bindings\n\nexport var getBatch = function getBatch() {\n return batch;\n};","import { getBatch } from './batch'; // encapsulates the subscription logic for connecting a component to the redux store, as\n// well as nesting subscriptions of descendant components, so that we can ensure the\n// ancestor components re-render before descendants\n\nvar CLEARED = null;\nvar nullListeners = {\n notify: function notify() {}\n};\n\nfunction createListenerCollection() {\n var batch = getBatch(); // the current/next pattern is copied from redux's createStore code.\n // TODO: refactor+expose that code to be reusable here?\n\n var current = [];\n var next = [];\n return {\n clear: function clear() {\n next = CLEARED;\n current = CLEARED;\n },\n notify: function notify() {\n var listeners = current = next;\n batch(function () {\n for (var i = 0; i < listeners.length; i++) {\n listeners[i]();\n }\n });\n },\n get: function get() {\n return next;\n },\n subscribe: function subscribe(listener) {\n var isSubscribed = true;\n if (next === current) next = current.slice();\n next.push(listener);\n return function unsubscribe() {\n if (!isSubscribed || current === CLEARED) return;\n isSubscribed = false;\n if (next === current) next = current.slice();\n next.splice(next.indexOf(listener), 1);\n };\n }\n };\n}\n\nvar Subscription =\n/*#__PURE__*/\nfunction () {\n function Subscription(store, parentSub) {\n this.store = store;\n this.parentSub = parentSub;\n this.unsubscribe = null;\n this.listeners = nullListeners;\n this.handleChangeWrapper = this.handleChangeWrapper.bind(this);\n }\n\n var _proto = Subscription.prototype;\n\n _proto.addNestedSub = function addNestedSub(listener) {\n this.trySubscribe();\n return this.listeners.subscribe(listener);\n };\n\n _proto.notifyNestedSubs = function notifyNestedSubs() {\n this.listeners.notify();\n };\n\n _proto.handleChangeWrapper = function handleChangeWrapper() {\n if (this.onStateChange) {\n this.onStateChange();\n }\n };\n\n _proto.isSubscribed = function isSubscribed() {\n return Boolean(this.unsubscribe);\n };\n\n _proto.trySubscribe = function trySubscribe() {\n if (!this.unsubscribe) {\n this.unsubscribe = this.parentSub ? this.parentSub.addNestedSub(this.handleChangeWrapper) : this.store.subscribe(this.handleChangeWrapper);\n this.listeners = createListenerCollection();\n }\n };\n\n _proto.tryUnsubscribe = function tryUnsubscribe() {\n if (this.unsubscribe) {\n this.unsubscribe();\n this.unsubscribe = null;\n this.listeners.clear();\n this.listeners = nullListeners;\n }\n };\n\n return Subscription;\n}();\n\nexport { Subscription as default };","import React, { useMemo, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { ReactReduxContext } from './Context';\nimport Subscription from '../utils/Subscription';\n\nfunction Provider(_ref) {\n var store = _ref.store,\n context = _ref.context,\n children = _ref.children;\n var contextValue = useMemo(function () {\n var subscription = new Subscription(store);\n subscription.onStateChange = subscription.notifyNestedSubs;\n return {\n store: store,\n subscription: subscription\n };\n }, [store]);\n var previousState = useMemo(function () {\n return store.getState();\n }, [store]);\n useEffect(function () {\n var subscription = contextValue.subscription;\n subscription.trySubscribe();\n\n if (previousState !== store.getState()) {\n subscription.notifyNestedSubs();\n }\n\n return function () {\n subscription.tryUnsubscribe();\n subscription.onStateChange = null;\n };\n }, [contextValue, previousState]);\n var Context = context || ReactReduxContext;\n return React.createElement(Context.Provider, {\n value: contextValue\n }, children);\n}\n\nProvider.propTypes = {\n store: PropTypes.shape({\n subscribe: PropTypes.func.isRequired,\n dispatch: PropTypes.func.isRequired,\n getState: PropTypes.func.isRequired\n }),\n context: PropTypes.object,\n children: PropTypes.any\n};\nexport default Provider;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport hoistStatics from 'hoist-non-react-statics';\nimport invariant from 'invariant';\nimport React, { useContext, useMemo, useEffect, useLayoutEffect, useRef, useReducer } from 'react';\nimport { isValidElementType, isContextConsumer } from 'react-is';\nimport Subscription from '../utils/Subscription';\nimport { ReactReduxContext } from './Context'; // Define some constant arrays just to avoid re-creating these\n\nvar EMPTY_ARRAY = [];\nvar NO_SUBSCRIPTION_ARRAY = [null, null];\n\nvar stringifyComponent = function stringifyComponent(Comp) {\n try {\n return JSON.stringify(Comp);\n } catch (err) {\n return String(Comp);\n }\n};\n\nfunction storeStateUpdatesReducer(state, action) {\n var updateCount = state[1];\n return [action.payload, updateCount + 1];\n}\n\nvar initStateUpdates = function initStateUpdates() {\n return [null, 0];\n}; // React currently throws a warning when using useLayoutEffect on the server.\n// To get around it, we can conditionally useEffect on the server (no-op) and\n// useLayoutEffect in the browser. We need useLayoutEffect because we want\n// `connect` to perform sync updates to a ref to save the latest props after\n// a render is actually committed to the DOM.\n\n\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? useLayoutEffect : useEffect;\nexport default function connectAdvanced(\n/*\n selectorFactory is a func that is responsible for returning the selector function used to\n compute new props from state, props, and dispatch. For example:\n export default connectAdvanced((dispatch, options) => (state, props) => ({\n thing: state.things[props.thingId],\n saveThing: fields => dispatch(actionCreators.saveThing(props.thingId, fields)),\n }))(YourComponent)\n Access to dispatch is provided to the factory so selectorFactories can bind actionCreators\n outside of their selector as an optimization. Options passed to connectAdvanced are passed to\n the selectorFactory, along with displayName and WrappedComponent, as the second argument.\n Note that selectorFactory is responsible for all caching/memoization of inbound and outbound\n props. Do not use connectAdvanced directly without memoizing results between calls to your\n selector, otherwise the Connect component will re-render on every state or props change.\n*/\nselectorFactory, // options object:\n_ref) {\n if (_ref === void 0) {\n _ref = {};\n }\n\n var _ref2 = _ref,\n _ref2$getDisplayName = _ref2.getDisplayName,\n getDisplayName = _ref2$getDisplayName === void 0 ? function (name) {\n return \"ConnectAdvanced(\" + name + \")\";\n } : _ref2$getDisplayName,\n _ref2$methodName = _ref2.methodName,\n methodName = _ref2$methodName === void 0 ? 'connectAdvanced' : _ref2$methodName,\n _ref2$renderCountProp = _ref2.renderCountProp,\n renderCountProp = _ref2$renderCountProp === void 0 ? undefined : _ref2$renderCountProp,\n _ref2$shouldHandleSta = _ref2.shouldHandleStateChanges,\n shouldHandleStateChanges = _ref2$shouldHandleSta === void 0 ? true : _ref2$shouldHandleSta,\n _ref2$storeKey = _ref2.storeKey,\n storeKey = _ref2$storeKey === void 0 ? 'store' : _ref2$storeKey,\n _ref2$withRef = _ref2.withRef,\n withRef = _ref2$withRef === void 0 ? false : _ref2$withRef,\n _ref2$forwardRef = _ref2.forwardRef,\n forwardRef = _ref2$forwardRef === void 0 ? false : _ref2$forwardRef,\n _ref2$context = _ref2.context,\n context = _ref2$context === void 0 ? ReactReduxContext : _ref2$context,\n connectOptions = _objectWithoutPropertiesLoose(_ref2, [\"getDisplayName\", \"methodName\", \"renderCountProp\", \"shouldHandleStateChanges\", \"storeKey\", \"withRef\", \"forwardRef\", \"context\"]);\n\n invariant(renderCountProp === undefined, \"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension\");\n invariant(!withRef, 'withRef is removed. To access the wrapped instance, use a ref on the connected component');\n var customStoreWarningMessage = 'To use a custom Redux store for specific components, create a custom React context with ' + \"React.createContext(), and pass the context object to React Redux's Provider and specific components\" + ' like: . ' + 'You may also pass a {context : MyContext} option to connect';\n invariant(storeKey === 'store', 'storeKey has been removed and does not do anything. ' + customStoreWarningMessage);\n var Context = context;\n return function wrapWithConnect(WrappedComponent) {\n if (process.env.NODE_ENV !== 'production') {\n invariant(isValidElementType(WrappedComponent), \"You must pass a component to the function returned by \" + (methodName + \". Instead received \" + stringifyComponent(WrappedComponent)));\n }\n\n var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';\n var displayName = getDisplayName(wrappedComponentName);\n\n var selectorFactoryOptions = _extends({}, connectOptions, {\n getDisplayName: getDisplayName,\n methodName: methodName,\n renderCountProp: renderCountProp,\n shouldHandleStateChanges: shouldHandleStateChanges,\n storeKey: storeKey,\n displayName: displayName,\n wrappedComponentName: wrappedComponentName,\n WrappedComponent: WrappedComponent\n });\n\n var pure = connectOptions.pure;\n\n function createChildSelector(store) {\n return selectorFactory(store.dispatch, selectorFactoryOptions);\n } // If we aren't running in \"pure\" mode, we don't want to memoize values.\n // To avoid conditionally calling hooks, we fall back to a tiny wrapper\n // that just executes the given callback immediately.\n\n\n var usePureOnlyMemo = pure ? useMemo : function (callback) {\n return callback();\n };\n\n function ConnectFunction(props) {\n var _useMemo = useMemo(function () {\n // Distinguish between actual \"data\" props that were passed to the wrapper component,\n // and values needed to control behavior (forwarded refs, alternate context instances).\n // To maintain the wrapperProps object reference, memoize this destructuring.\n var forwardedRef = props.forwardedRef,\n wrapperProps = _objectWithoutPropertiesLoose(props, [\"forwardedRef\"]);\n\n return [props.context, forwardedRef, wrapperProps];\n }, [props]),\n propsContext = _useMemo[0],\n forwardedRef = _useMemo[1],\n wrapperProps = _useMemo[2];\n\n var ContextToUse = useMemo(function () {\n // Users may optionally pass in a custom context instance to use instead of our ReactReduxContext.\n // Memoize the check that determines which context instance we should use.\n return propsContext && propsContext.Consumer && isContextConsumer(React.createElement(propsContext.Consumer, null)) ? propsContext : Context;\n }, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available\n\n var contextValue = useContext(ContextToUse); // The store _must_ exist as either a prop or in context\n\n var didStoreComeFromProps = Boolean(props.store);\n var didStoreComeFromContext = Boolean(contextValue) && Boolean(contextValue.store);\n invariant(didStoreComeFromProps || didStoreComeFromContext, \"Could not find \\\"store\\\" in the context of \" + (\"\\\"\" + displayName + \"\\\". Either wrap the root component in a , \") + \"or pass a custom React context provider to and the corresponding \" + (\"React context consumer to \" + displayName + \" in connect options.\"));\n var store = props.store || contextValue.store;\n var childPropsSelector = useMemo(function () {\n // The child props selector needs the store reference as an input.\n // Re-create this selector whenever the store changes.\n return createChildSelector(store);\n }, [store]);\n\n var _useMemo2 = useMemo(function () {\n if (!shouldHandleStateChanges) return NO_SUBSCRIPTION_ARRAY; // This Subscription's source should match where store came from: props vs. context. A component\n // connected to the store via props shouldn't use subscription from context, or vice versa.\n\n var subscription = new Subscription(store, didStoreComeFromProps ? null : contextValue.subscription); // `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in\n // the middle of the notification loop, where `subscription` will then be null. This can\n // probably be avoided if Subscription's listeners logic is changed to not call listeners\n // that have been unsubscribed in the middle of the notification loop.\n\n var notifyNestedSubs = subscription.notifyNestedSubs.bind(subscription);\n return [subscription, notifyNestedSubs];\n }, [store, didStoreComeFromProps, contextValue]),\n subscription = _useMemo2[0],\n notifyNestedSubs = _useMemo2[1]; // Determine what {store, subscription} value should be put into nested context, if necessary,\n // and memoize that value to avoid unnecessary context updates.\n\n\n var overriddenContextValue = useMemo(function () {\n if (didStoreComeFromProps) {\n // This component is directly subscribed to a store from props.\n // We don't want descendants reading from this store - pass down whatever\n // the existing context value is from the nearest connected ancestor.\n return contextValue;\n } // Otherwise, put this component's subscription instance into context, so that\n // connected descendants won't update until after this component is done\n\n\n return _extends({}, contextValue, {\n subscription: subscription\n });\n }, [didStoreComeFromProps, contextValue, subscription]); // We need to force this wrapper component to re-render whenever a Redux store update\n // causes a change to the calculated child component props (or we caught an error in mapState)\n\n var _useReducer = useReducer(storeStateUpdatesReducer, EMPTY_ARRAY, initStateUpdates),\n _useReducer$ = _useReducer[0],\n previousStateUpdateResult = _useReducer$[0],\n forceComponentUpdateDispatch = _useReducer[1]; // Propagate any mapState/mapDispatch errors upwards\n\n\n if (previousStateUpdateResult && previousStateUpdateResult.error) {\n throw previousStateUpdateResult.error;\n } // Set up refs to coordinate values between the subscription effect and the render logic\n\n\n var lastChildProps = useRef();\n var lastWrapperProps = useRef(wrapperProps);\n var childPropsFromStoreUpdate = useRef();\n var renderIsScheduled = useRef(false);\n var actualChildProps = usePureOnlyMemo(function () {\n // Tricky logic here:\n // - This render may have been triggered by a Redux store update that produced new child props\n // - However, we may have gotten new wrapper props after that\n // If we have new child props, and the same wrapper props, we know we should use the new child props as-is.\n // But, if we have new wrapper props, those might change the child props, so we have to recalculate things.\n // So, we'll use the child props from store update only if the wrapper props are the same as last time.\n if (childPropsFromStoreUpdate.current && wrapperProps === lastWrapperProps.current) {\n return childPropsFromStoreUpdate.current;\n } // TODO We're reading the store directly in render() here. Bad idea?\n // This will likely cause Bad Things (TM) to happen in Concurrent Mode.\n // Note that we do this because on renders _not_ caused by store updates, we need the latest store state\n // to determine what the child props should be.\n\n\n return childPropsSelector(store.getState(), wrapperProps);\n }, [store, previousStateUpdateResult, wrapperProps]); // We need this to execute synchronously every time we re-render. However, React warns\n // about useLayoutEffect in SSR, so we try to detect environment and fall back to\n // just useEffect instead to avoid the warning, since neither will run anyway.\n\n useIsomorphicLayoutEffect(function () {\n // We want to capture the wrapper props and child props we used for later comparisons\n lastWrapperProps.current = wrapperProps;\n lastChildProps.current = actualChildProps;\n renderIsScheduled.current = false; // If the render was from a store update, clear out that reference and cascade the subscriber update\n\n if (childPropsFromStoreUpdate.current) {\n childPropsFromStoreUpdate.current = null;\n notifyNestedSubs();\n }\n }); // Our re-subscribe logic only runs when the store/subscription setup changes\n\n useIsomorphicLayoutEffect(function () {\n // If we're not subscribed to the store, nothing to do here\n if (!shouldHandleStateChanges) return; // Capture values for checking if and when this component unmounts\n\n var didUnsubscribe = false;\n var lastThrownError = null; // We'll run this callback every time a store subscription update propagates to this component\n\n var checkForUpdates = function checkForUpdates() {\n if (didUnsubscribe) {\n // Don't run stale listeners.\n // Redux doesn't guarantee unsubscriptions happen until next dispatch.\n return;\n }\n\n var latestStoreState = store.getState();\n var newChildProps, error;\n\n try {\n // Actually run the selector with the most recent store state and wrapper props\n // to determine what the child props should be\n newChildProps = childPropsSelector(latestStoreState, lastWrapperProps.current);\n } catch (e) {\n error = e;\n lastThrownError = e;\n }\n\n if (!error) {\n lastThrownError = null;\n } // If the child props haven't changed, nothing to do here - cascade the subscription update\n\n\n if (newChildProps === lastChildProps.current) {\n if (!renderIsScheduled.current) {\n notifyNestedSubs();\n }\n } else {\n // Save references to the new child props. Note that we track the \"child props from store update\"\n // as a ref instead of a useState/useReducer because we need a way to determine if that value has\n // been processed. If this went into useState/useReducer, we couldn't clear out the value without\n // forcing another re-render, which we don't want.\n lastChildProps.current = newChildProps;\n childPropsFromStoreUpdate.current = newChildProps;\n renderIsScheduled.current = true; // If the child props _did_ change (or we caught an error), this wrapper component needs to re-render\n\n forceComponentUpdateDispatch({\n type: 'STORE_UPDATED',\n payload: {\n latestStoreState: latestStoreState,\n error: error\n }\n });\n }\n }; // Actually subscribe to the nearest connected ancestor (or store)\n\n\n subscription.onStateChange = checkForUpdates;\n subscription.trySubscribe(); // Pull data from the store after first render in case the store has\n // changed since we began.\n\n checkForUpdates();\n\n var unsubscribeWrapper = function unsubscribeWrapper() {\n didUnsubscribe = true;\n subscription.tryUnsubscribe();\n subscription.onStateChange = null;\n\n if (lastThrownError) {\n // It's possible that we caught an error due to a bad mapState function, but the\n // parent re-rendered without this component and we're about to unmount.\n // This shouldn't happen as long as we do top-down subscriptions correctly, but\n // if we ever do those wrong, this throw will surface the error in our tests.\n // In that case, throw the error from here so it doesn't get lost.\n throw lastThrownError;\n }\n };\n\n return unsubscribeWrapper;\n }, [store, subscription, childPropsSelector]); // Now that all that's done, we can finally try to actually render the child component.\n // We memoize the elements for the rendered child component as an optimization.\n\n var renderedWrappedComponent = useMemo(function () {\n return React.createElement(WrappedComponent, _extends({}, actualChildProps, {\n ref: forwardedRef\n }));\n }, [forwardedRef, WrappedComponent, actualChildProps]); // If React sees the exact same element reference as last time, it bails out of re-rendering\n // that child, same as if it was wrapped in React.memo() or returned false from shouldComponentUpdate.\n\n var renderedChild = useMemo(function () {\n if (shouldHandleStateChanges) {\n // If this component is subscribed to store updates, we need to pass its own\n // subscription instance down to our descendants. That means rendering the same\n // Context instance, and putting a different value into the context.\n return React.createElement(ContextToUse.Provider, {\n value: overriddenContextValue\n }, renderedWrappedComponent);\n }\n\n return renderedWrappedComponent;\n }, [ContextToUse, renderedWrappedComponent, overriddenContextValue]);\n return renderedChild;\n } // If we're in \"pure\" mode, ensure our wrapper component only re-renders when incoming props have changed.\n\n\n var Connect = pure ? React.memo(ConnectFunction) : ConnectFunction;\n Connect.WrappedComponent = WrappedComponent;\n Connect.displayName = displayName;\n\n if (forwardRef) {\n var forwarded = React.forwardRef(function forwardConnectRef(props, ref) {\n return React.createElement(Connect, _extends({}, props, {\n forwardedRef: ref\n }));\n });\n forwarded.displayName = displayName;\n forwarded.WrappedComponent = WrappedComponent;\n return hoistStatics(forwarded, WrappedComponent);\n }\n\n return hoistStatics(Connect, WrappedComponent);\n };\n}","var hasOwn = Object.prototype.hasOwnProperty;\n\nfunction is(x, y) {\n if (x === y) {\n return x !== 0 || y !== 0 || 1 / x === 1 / y;\n } else {\n return x !== x && y !== y;\n }\n}\n\nexport default function shallowEqual(objA, objB) {\n if (is(objA, objB)) return true;\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return false;\n\n for (var i = 0; i < keysA.length; i++) {\n if (!hasOwn.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n\n return true;\n}","import verifyPlainObject from '../utils/verifyPlainObject';\nexport function wrapMapToPropsConstant(getConstant) {\n return function initConstantSelector(dispatch, options) {\n var constant = getConstant(dispatch, options);\n\n function constantSelector() {\n return constant;\n }\n\n constantSelector.dependsOnOwnProps = false;\n return constantSelector;\n };\n} // dependsOnOwnProps is used by createMapToPropsProxy to determine whether to pass props as args\n// to the mapToProps function being wrapped. It is also used by makePurePropsSelector to determine\n// whether mapToProps needs to be invoked when props have changed.\n//\n// A length of one signals that mapToProps does not depend on props from the parent component.\n// A length of zero is assumed to mean mapToProps is getting args via arguments or ...args and\n// therefore not reporting its length accurately..\n\nexport function getDependsOnOwnProps(mapToProps) {\n return mapToProps.dependsOnOwnProps !== null && mapToProps.dependsOnOwnProps !== undefined ? Boolean(mapToProps.dependsOnOwnProps) : mapToProps.length !== 1;\n} // Used by whenMapStateToPropsIsFunction and whenMapDispatchToPropsIsFunction,\n// this function wraps mapToProps in a proxy function which does several things:\n//\n// * Detects whether the mapToProps function being called depends on props, which\n// is used by selectorFactory to decide if it should reinvoke on props changes.\n//\n// * On first call, handles mapToProps if returns another function, and treats that\n// new function as the true mapToProps for subsequent calls.\n//\n// * On first call, verifies the first result is a plain object, in order to warn\n// the developer that their mapToProps function is not returning a valid result.\n//\n\nexport function wrapMapToPropsFunc(mapToProps, methodName) {\n return function initProxySelector(dispatch, _ref) {\n var displayName = _ref.displayName;\n\n var proxy = function mapToPropsProxy(stateOrDispatch, ownProps) {\n return proxy.dependsOnOwnProps ? proxy.mapToProps(stateOrDispatch, ownProps) : proxy.mapToProps(stateOrDispatch);\n }; // allow detectFactoryAndVerify to get ownProps\n\n\n proxy.dependsOnOwnProps = true;\n\n proxy.mapToProps = function detectFactoryAndVerify(stateOrDispatch, ownProps) {\n proxy.mapToProps = mapToProps;\n proxy.dependsOnOwnProps = getDependsOnOwnProps(mapToProps);\n var props = proxy(stateOrDispatch, ownProps);\n\n if (typeof props === 'function') {\n proxy.mapToProps = props;\n proxy.dependsOnOwnProps = getDependsOnOwnProps(props);\n props = proxy(stateOrDispatch, ownProps);\n }\n\n if (process.env.NODE_ENV !== 'production') verifyPlainObject(props, displayName, methodName);\n return props;\n };\n\n return proxy;\n };\n}","import { bindActionCreators } from 'redux';\nimport { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps';\nexport function whenMapDispatchToPropsIsFunction(mapDispatchToProps) {\n return typeof mapDispatchToProps === 'function' ? wrapMapToPropsFunc(mapDispatchToProps, 'mapDispatchToProps') : undefined;\n}\nexport function whenMapDispatchToPropsIsMissing(mapDispatchToProps) {\n return !mapDispatchToProps ? wrapMapToPropsConstant(function (dispatch) {\n return {\n dispatch: dispatch\n };\n }) : undefined;\n}\nexport function whenMapDispatchToPropsIsObject(mapDispatchToProps) {\n return mapDispatchToProps && typeof mapDispatchToProps === 'object' ? wrapMapToPropsConstant(function (dispatch) {\n return bindActionCreators(mapDispatchToProps, dispatch);\n }) : undefined;\n}\nexport default [whenMapDispatchToPropsIsFunction, whenMapDispatchToPropsIsMissing, whenMapDispatchToPropsIsObject];","import { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps';\nexport function whenMapStateToPropsIsFunction(mapStateToProps) {\n return typeof mapStateToProps === 'function' ? wrapMapToPropsFunc(mapStateToProps, 'mapStateToProps') : undefined;\n}\nexport function whenMapStateToPropsIsMissing(mapStateToProps) {\n return !mapStateToProps ? wrapMapToPropsConstant(function () {\n return {};\n }) : undefined;\n}\nexport default [whenMapStateToPropsIsFunction, whenMapStateToPropsIsMissing];","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport verifyPlainObject from '../utils/verifyPlainObject';\nexport function defaultMergeProps(stateProps, dispatchProps, ownProps) {\n return _extends({}, ownProps, {}, stateProps, {}, dispatchProps);\n}\nexport function wrapMergePropsFunc(mergeProps) {\n return function initMergePropsProxy(dispatch, _ref) {\n var displayName = _ref.displayName,\n pure = _ref.pure,\n areMergedPropsEqual = _ref.areMergedPropsEqual;\n var hasRunOnce = false;\n var mergedProps;\n return function mergePropsProxy(stateProps, dispatchProps, ownProps) {\n var nextMergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n\n if (hasRunOnce) {\n if (!pure || !areMergedPropsEqual(nextMergedProps, mergedProps)) mergedProps = nextMergedProps;\n } else {\n hasRunOnce = true;\n mergedProps = nextMergedProps;\n if (process.env.NODE_ENV !== 'production') verifyPlainObject(mergedProps, displayName, 'mergeProps');\n }\n\n return mergedProps;\n };\n };\n}\nexport function whenMergePropsIsFunction(mergeProps) {\n return typeof mergeProps === 'function' ? wrapMergePropsFunc(mergeProps) : undefined;\n}\nexport function whenMergePropsIsOmitted(mergeProps) {\n return !mergeProps ? function () {\n return defaultMergeProps;\n } : undefined;\n}\nexport default [whenMergePropsIsFunction, whenMergePropsIsOmitted];","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport verifySubselectors from './verifySubselectors';\nexport function impureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch) {\n return function impureFinalPropsSelector(state, ownProps) {\n return mergeProps(mapStateToProps(state, ownProps), mapDispatchToProps(dispatch, ownProps), ownProps);\n };\n}\nexport function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, _ref) {\n var areStatesEqual = _ref.areStatesEqual,\n areOwnPropsEqual = _ref.areOwnPropsEqual,\n areStatePropsEqual = _ref.areStatePropsEqual;\n var hasRunAtLeastOnce = false;\n var state;\n var ownProps;\n var stateProps;\n var dispatchProps;\n var mergedProps;\n\n function handleFirstCall(firstState, firstOwnProps) {\n state = firstState;\n ownProps = firstOwnProps;\n stateProps = mapStateToProps(state, ownProps);\n dispatchProps = mapDispatchToProps(dispatch, ownProps);\n mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n hasRunAtLeastOnce = true;\n return mergedProps;\n }\n\n function handleNewPropsAndNewState() {\n stateProps = mapStateToProps(state, ownProps);\n if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps);\n mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n return mergedProps;\n }\n\n function handleNewProps() {\n if (mapStateToProps.dependsOnOwnProps) stateProps = mapStateToProps(state, ownProps);\n if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps);\n mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n return mergedProps;\n }\n\n function handleNewState() {\n var nextStateProps = mapStateToProps(state, ownProps);\n var statePropsChanged = !areStatePropsEqual(nextStateProps, stateProps);\n stateProps = nextStateProps;\n if (statePropsChanged) mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n return mergedProps;\n }\n\n function handleSubsequentCalls(nextState, nextOwnProps) {\n var propsChanged = !areOwnPropsEqual(nextOwnProps, ownProps);\n var stateChanged = !areStatesEqual(nextState, state);\n state = nextState;\n ownProps = nextOwnProps;\n if (propsChanged && stateChanged) return handleNewPropsAndNewState();\n if (propsChanged) return handleNewProps();\n if (stateChanged) return handleNewState();\n return mergedProps;\n }\n\n return function pureFinalPropsSelector(nextState, nextOwnProps) {\n return hasRunAtLeastOnce ? handleSubsequentCalls(nextState, nextOwnProps) : handleFirstCall(nextState, nextOwnProps);\n };\n} // TODO: Add more comments\n// If pure is true, the selector returned by selectorFactory will memoize its results,\n// allowing connectAdvanced's shouldComponentUpdate to return false if final\n// props have not changed. If false, the selector will always return a new\n// object and shouldComponentUpdate will always return true.\n\nexport default function finalPropsSelectorFactory(dispatch, _ref2) {\n var initMapStateToProps = _ref2.initMapStateToProps,\n initMapDispatchToProps = _ref2.initMapDispatchToProps,\n initMergeProps = _ref2.initMergeProps,\n options = _objectWithoutPropertiesLoose(_ref2, [\"initMapStateToProps\", \"initMapDispatchToProps\", \"initMergeProps\"]);\n\n var mapStateToProps = initMapStateToProps(dispatch, options);\n var mapDispatchToProps = initMapDispatchToProps(dispatch, options);\n var mergeProps = initMergeProps(dispatch, options);\n\n if (process.env.NODE_ENV !== 'production') {\n verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps, options.displayName);\n }\n\n var selectorFactory = options.pure ? pureFinalPropsSelectorFactory : impureFinalPropsSelectorFactory;\n return selectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport connectAdvanced from '../components/connectAdvanced';\nimport shallowEqual from '../utils/shallowEqual';\nimport defaultMapDispatchToPropsFactories from './mapDispatchToProps';\nimport defaultMapStateToPropsFactories from './mapStateToProps';\nimport defaultMergePropsFactories from './mergeProps';\nimport defaultSelectorFactory from './selectorFactory';\n/*\n connect is a facade over connectAdvanced. It turns its args into a compatible\n selectorFactory, which has the signature:\n\n (dispatch, options) => (nextState, nextOwnProps) => nextFinalProps\n \n connect passes its args to connectAdvanced as options, which will in turn pass them to\n selectorFactory each time a Connect component instance is instantiated or hot reloaded.\n\n selectorFactory returns a final props selector from its mapStateToProps,\n mapStateToPropsFactories, mapDispatchToProps, mapDispatchToPropsFactories, mergeProps,\n mergePropsFactories, and pure args.\n\n The resulting final props selector is called by the Connect component instance whenever\n it receives new props or store state.\n */\n\nfunction match(arg, factories, name) {\n for (var i = factories.length - 1; i >= 0; i--) {\n var result = factories[i](arg);\n if (result) return result;\n }\n\n return function (dispatch, options) {\n throw new Error(\"Invalid value of type \" + typeof arg + \" for \" + name + \" argument when connecting component \" + options.wrappedComponentName + \".\");\n };\n}\n\nfunction strictEqual(a, b) {\n return a === b;\n} // createConnect with default args builds the 'official' connect behavior. Calling it with\n// different options opens up some testing and extensibility scenarios\n\n\nexport function createConnect(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$connectHOC = _ref.connectHOC,\n connectHOC = _ref$connectHOC === void 0 ? connectAdvanced : _ref$connectHOC,\n _ref$mapStateToPropsF = _ref.mapStateToPropsFactories,\n mapStateToPropsFactories = _ref$mapStateToPropsF === void 0 ? defaultMapStateToPropsFactories : _ref$mapStateToPropsF,\n _ref$mapDispatchToPro = _ref.mapDispatchToPropsFactories,\n mapDispatchToPropsFactories = _ref$mapDispatchToPro === void 0 ? defaultMapDispatchToPropsFactories : _ref$mapDispatchToPro,\n _ref$mergePropsFactor = _ref.mergePropsFactories,\n mergePropsFactories = _ref$mergePropsFactor === void 0 ? defaultMergePropsFactories : _ref$mergePropsFactor,\n _ref$selectorFactory = _ref.selectorFactory,\n selectorFactory = _ref$selectorFactory === void 0 ? defaultSelectorFactory : _ref$selectorFactory;\n\n return function connect(mapStateToProps, mapDispatchToProps, mergeProps, _ref2) {\n if (_ref2 === void 0) {\n _ref2 = {};\n }\n\n var _ref3 = _ref2,\n _ref3$pure = _ref3.pure,\n pure = _ref3$pure === void 0 ? true : _ref3$pure,\n _ref3$areStatesEqual = _ref3.areStatesEqual,\n areStatesEqual = _ref3$areStatesEqual === void 0 ? strictEqual : _ref3$areStatesEqual,\n _ref3$areOwnPropsEqua = _ref3.areOwnPropsEqual,\n areOwnPropsEqual = _ref3$areOwnPropsEqua === void 0 ? shallowEqual : _ref3$areOwnPropsEqua,\n _ref3$areStatePropsEq = _ref3.areStatePropsEqual,\n areStatePropsEqual = _ref3$areStatePropsEq === void 0 ? shallowEqual : _ref3$areStatePropsEq,\n _ref3$areMergedPropsE = _ref3.areMergedPropsEqual,\n areMergedPropsEqual = _ref3$areMergedPropsE === void 0 ? shallowEqual : _ref3$areMergedPropsE,\n extraOptions = _objectWithoutPropertiesLoose(_ref3, [\"pure\", \"areStatesEqual\", \"areOwnPropsEqual\", \"areStatePropsEqual\", \"areMergedPropsEqual\"]);\n\n var initMapStateToProps = match(mapStateToProps, mapStateToPropsFactories, 'mapStateToProps');\n var initMapDispatchToProps = match(mapDispatchToProps, mapDispatchToPropsFactories, 'mapDispatchToProps');\n var initMergeProps = match(mergeProps, mergePropsFactories, 'mergeProps');\n return connectHOC(selectorFactory, _extends({\n // used in error messages\n methodName: 'connect',\n // used to compute Connect's displayName from the wrapped component's displayName.\n getDisplayName: function getDisplayName(name) {\n return \"Connect(\" + name + \")\";\n },\n // if mapStateToProps is falsy, the Connect component doesn't subscribe to store state changes\n shouldHandleStateChanges: Boolean(mapStateToProps),\n // passed through to selectorFactory\n initMapStateToProps: initMapStateToProps,\n initMapDispatchToProps: initMapDispatchToProps,\n initMergeProps: initMergeProps,\n pure: pure,\n areStatesEqual: areStatesEqual,\n areOwnPropsEqual: areOwnPropsEqual,\n areStatePropsEqual: areStatePropsEqual,\n areMergedPropsEqual: areMergedPropsEqual\n }, extraOptions));\n };\n}\nexport default createConnect();","import { useContext } from 'react';\nimport invariant from 'invariant';\nimport { ReactReduxContext } from '../components/Context';\n/**\n * A hook to access the value of the `ReactReduxContext`. This is a low-level\n * hook that you should usually not need to call directly.\n *\n * @returns {any} the value of the `ReactReduxContext`\n *\n * @example\n *\n * import React from 'react'\n * import { useReduxContext } from 'react-redux'\n *\n * export const CounterComponent = ({ value }) => {\n * const { store } = useReduxContext()\n * return
{store.getState()}
\n * }\n */\n\nexport function useReduxContext() {\n var contextValue = useContext(ReactReduxContext);\n invariant(contextValue, 'could not find react-redux context value; please ensure the component is wrapped in a ');\n return contextValue;\n}","import { useContext } from 'react';\nimport { ReactReduxContext } from '../components/Context';\nimport { useReduxContext as useDefaultReduxContext } from './useReduxContext';\n/**\n * Hook factory, which creates a `useStore` hook bound to a given context.\n *\n * @param {Function} [context=ReactReduxContext] Context passed to your ``.\n * @returns {Function} A `useStore` hook bound to the specified context.\n */\n\nexport function createStoreHook(context) {\n if (context === void 0) {\n context = ReactReduxContext;\n }\n\n var useReduxContext = context === ReactReduxContext ? useDefaultReduxContext : function () {\n return useContext(context);\n };\n return function useStore() {\n var _useReduxContext = useReduxContext(),\n store = _useReduxContext.store;\n\n return store;\n };\n}\n/**\n * A hook to access the redux store.\n *\n * @returns {any} the redux store\n *\n * @example\n *\n * import React from 'react'\n * import { useStore } from 'react-redux'\n *\n * export const ExampleComponent = () => {\n * const store = useStore()\n * return
{store.getState()}
\n * }\n */\n\nexport var useStore = createStoreHook();","import { ReactReduxContext } from '../components/Context';\nimport { useStore as useDefaultStore, createStoreHook } from './useStore';\n/**\n * Hook factory, which creates a `useDispatch` hook bound to a given context.\n *\n * @param {Function} [context=ReactReduxContext] Context passed to your ``.\n * @returns {Function} A `useDispatch` hook bound to the specified context.\n */\n\nexport function createDispatchHook(context) {\n if (context === void 0) {\n context = ReactReduxContext;\n }\n\n var useStore = context === ReactReduxContext ? useDefaultStore : createStoreHook(context);\n return function useDispatch() {\n var store = useStore();\n return store.dispatch;\n };\n}\n/**\n * A hook to access the redux `dispatch` function.\n *\n * @returns {any|function} redux store's `dispatch` function\n *\n * @example\n *\n * import React, { useCallback } from 'react'\n * import { useDispatch } from 'react-redux'\n *\n * export const CounterComponent = ({ value }) => {\n * const dispatch = useDispatch()\n * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])\n * return (\n *
\n * {value}\n * \n *
\n * )\n * }\n */\n\nexport var useDispatch = createDispatchHook();","import { useReducer, useRef, useEffect, useMemo, useLayoutEffect, useContext } from 'react';\nimport invariant from 'invariant';\nimport { useReduxContext as useDefaultReduxContext } from './useReduxContext';\nimport Subscription from '../utils/Subscription';\nimport { ReactReduxContext } from '../components/Context'; // React currently throws a warning when using useLayoutEffect on the server.\n// To get around it, we can conditionally useEffect on the server (no-op) and\n// useLayoutEffect in the browser. We need useLayoutEffect to ensure the store\n// subscription callback always has the selector from the latest render commit\n// available, otherwise a store update may happen between render and the effect,\n// which may cause missed updates; we also must ensure the store subscription\n// is created synchronously, otherwise a store update may occur before the\n// subscription is created and an inconsistent state may be observed\n\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\n\nvar refEquality = function refEquality(a, b) {\n return a === b;\n};\n\nfunction useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub) {\n var _useReducer = useReducer(function (s) {\n return s + 1;\n }, 0),\n forceRender = _useReducer[1];\n\n var subscription = useMemo(function () {\n return new Subscription(store, contextSub);\n }, [store, contextSub]);\n var latestSubscriptionCallbackError = useRef();\n var latestSelector = useRef();\n var latestSelectedState = useRef();\n var selectedState;\n\n try {\n if (selector !== latestSelector.current || latestSubscriptionCallbackError.current) {\n selectedState = selector(store.getState());\n } else {\n selectedState = latestSelectedState.current;\n }\n } catch (err) {\n var errorMessage = \"An error occured while selecting the store state: \" + err.message + \".\";\n\n if (latestSubscriptionCallbackError.current) {\n errorMessage += \"\\nThe error may be correlated with this previous error:\\n\" + latestSubscriptionCallbackError.current.stack + \"\\n\\nOriginal stack trace:\";\n }\n\n throw new Error(errorMessage);\n }\n\n useIsomorphicLayoutEffect(function () {\n latestSelector.current = selector;\n latestSelectedState.current = selectedState;\n latestSubscriptionCallbackError.current = undefined;\n });\n useIsomorphicLayoutEffect(function () {\n function checkForUpdates() {\n try {\n var newSelectedState = latestSelector.current(store.getState());\n\n if (equalityFn(newSelectedState, latestSelectedState.current)) {\n return;\n }\n\n latestSelectedState.current = newSelectedState;\n } catch (err) {\n // we ignore all errors here, since when the component\n // is re-rendered, the selectors are called again, and\n // will throw again, if neither props nor store state\n // changed\n latestSubscriptionCallbackError.current = err;\n }\n\n forceRender({});\n }\n\n subscription.onStateChange = checkForUpdates;\n subscription.trySubscribe();\n checkForUpdates();\n return function () {\n return subscription.tryUnsubscribe();\n };\n }, [store, subscription]);\n return selectedState;\n}\n/**\n * Hook factory, which creates a `useSelector` hook bound to a given context.\n *\n * @param {Function} [context=ReactReduxContext] Context passed to your ``.\n * @returns {Function} A `useSelector` hook bound to the specified context.\n */\n\n\nexport function createSelectorHook(context) {\n if (context === void 0) {\n context = ReactReduxContext;\n }\n\n var useReduxContext = context === ReactReduxContext ? useDefaultReduxContext : function () {\n return useContext(context);\n };\n return function useSelector(selector, equalityFn) {\n if (equalityFn === void 0) {\n equalityFn = refEquality;\n }\n\n invariant(selector, \"You must pass a selector to useSelectors\");\n\n var _useReduxContext = useReduxContext(),\n store = _useReduxContext.store,\n contextSub = _useReduxContext.subscription;\n\n return useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub);\n };\n}\n/**\n * A hook to access the redux store's state. This hook takes a selector function\n * as an argument. The selector is called with the store state.\n *\n * This hook takes an optional equality comparison function as the second parameter\n * that allows you to customize the way the selected state is compared to determine\n * whether the component needs to be re-rendered.\n *\n * @param {Function} selector the selector function\n * @param {Function=} equalityFn the function that will be used to determine equality\n *\n * @returns {any} the selected state\n *\n * @example\n *\n * import React from 'react'\n * import { useSelector } from 'react-redux'\n *\n * export const CounterComponent = () => {\n * const counter = useSelector(state => state.counter)\n * return
{counter}
\n * }\n */\n\nexport var useSelector = createSelectorHook();","import Provider from './components/Provider';\nimport connectAdvanced from './components/connectAdvanced';\nimport { ReactReduxContext } from './components/Context';\nimport connect from './connect/connect';\nimport { useDispatch, createDispatchHook } from './hooks/useDispatch';\nimport { useSelector, createSelectorHook } from './hooks/useSelector';\nimport { useStore, createStoreHook } from './hooks/useStore';\nimport { setBatch } from './utils/batch';\nimport { unstable_batchedUpdates as batch } from './utils/reactBatchedUpdates';\nimport shallowEqual from './utils/shallowEqual';\nsetBatch(batch);\nexport { Provider, connectAdvanced, ReactReduxContext, connect, batch, useDispatch, createDispatchHook, useSelector, createSelectorHook, useStore, createStoreHook, shallowEqual };","'use strict';\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar ReactIs = require('react-is');\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\n\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\n\nvar TYPE_STATICS = {};\nTYPE_STATICS[ReactIs.ForwardRef] = FORWARD_REF_STATICS;\n\nfunction getStatics(component) {\n if (ReactIs.isMemo(component)) {\n return MEMO_STATICS;\n }\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst AUReceiptComponent = ({\r\n receiptText,\r\n helpText,\r\n showGoTo,\r\n buttons,\r\n}) => {\r\n const renderButtons = buttons.map((btn) => {btn.gotoText});\r\n return (\r\n