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QC,EAAM,EAANA,OAAQC,EAAO,EAAPA,QAC3DJ,EAAOD,GACPE,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAQL,EACV,GAEJ,ECNaM,EAAAA,WAAoB/qE,SAASgrE,eAAe,SACpDhmE,QACH,UAAC,aAAgB,WACf,UAAC,GAAG,OAORimE","sources":["../node_modules/process/browser.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/react-dom/client.js","../node_modules/react-dom/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js","../node_modules/react/jsx-runtime.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/index.js","../webpack/bootstrap","../webpack/runtime/create fake namespace object","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/publicPath","../webpack/runtime/jsonp chunk loading","../node_modules/@remix-run/router/history.ts","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","../node_modules/@babel/runtime/helpers/esm/createClass.js","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/inherits.js","../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/@babel/runtime/helpers/esm/createSuper.js","../node_modules/@babel/runtime/helpers/esm/construct.js","../node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","../node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","../node_modules/@remix-run/router/utils.ts","../node_modules/@remix-run/router/router.ts","../node_modules/react-router/lib/use-sync-external-store-shim/useSyncExternalStoreShimClient.ts","../node_modules/react-router/lib/use-sync-external-store-shim/index.ts","../node_modules/react-router/lib/context.ts","../node_modules/react-router/lib/hooks.tsx","../node_modules/react-router/lib/components.tsx","../node_modules/react-router-dom/index.tsx","webpack://bhg-frontend/./src/components/page-header/PageHeader.module.css?b0fd","components/page-header/PageHeader.tsx","../node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","config/Config.tsx","util/Util.tsx","api/UserApi.tsx","webpack://bhg-frontend/./src/components/login/Login.module.css?3966","components/login/Login.tsx","webpack://bhg-frontend/./src/containers/login-page/LoginPage.module.css?6cdd","containers/login-page/LoginPage.tsx","webpack://bhg-frontend/./src/components/reset-password/ResetPassword.module.css?b8c3","components/reset-password/ResetPassword.tsx","webpack://bhg-frontend/./src/containers/reset-password-page/ResetPasswordPage.module.css?cf77","containers/reset-password-page/ResetPasswordPage.tsx","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","api/VignetApi.tsx","components/key-value-pair/KeyValuePair.tsx","webpack://bhg-frontend/./src/components/button-next/ButtonNext.module.css?bfae","components/button-next/ButtonNext.tsx","webpack://bhg-frontend/./src/components/button-previous/ButtonPrevious.module.css?2f47","components/button-previous/ButtonPrevious.tsx","webpack://bhg-frontend/./src/containers/form-button-bar/FormButtonBar.module.css?ec74","containers/form-button-bar/FormButtonBar.tsx","webpack://bhg-frontend/./src/components/centered-form/CenteredForm.module.css?05b0","components/centered-form/CenteredForm.tsx","webpack://bhg-frontend/./src/components/key-value-pair/KeyValuePair.module.css?734c","components/alert-box/AlertBox.tsx","webpack://bhg-frontend/./src/containers/form-stepper/FormStepper.module.css?859a","containers/form-stepper/FormStepper.tsx","webpack://bhg-frontend/./src/containers/personal-info-page/PersonalInfoPage.module.css?f9f2","containers/personal-info-page/PersonalInfoPage.tsx","api/DataApi.tsx","webpack://bhg-frontend/./src/components/agreement-box/AgreementBox.module.css?b957","components/agreement-box/AgreementBox.tsx","webpack://bhg-frontend/./src/components/alert-box/AlertBox.module.css?54c1","containers/vignet-overview-page/VignetOverviewPage.tsx","webpack://bhg-frontend/./src/components/download-summary/DownloadSummaryButton.module.css?1c8e","components/download-summary/DownloadSummary.tsx","webpack://bhg-frontend/./src/components/upload-field/UploadField.module.css?04dd","components/upload-field/UploadField.tsx","webpack://bhg-frontend/./src/containers/vignet-overview-page/VignetOverviewPage.module.css?8aa8","containers/activate-vignet-page/ActivateVignetPage.tsx","webpack://bhg-frontend/./src/components/change-vignet-page-calculations/ChangeVignetPageCalculations.module.css?97ca","components/change-vignet-page-calculations/ChangeVignetPageCalculations.tsx","webpack://bhg-frontend/./src/components/change-vignet-page-payment-details/ChangeVignetPagePaymentDetails.module.css?65e9","components/change-vignet-page-payment-details/ChangeVignetPagePaymentDetails.tsx","webpack://bhg-frontend/./src/components/change-vignet-page-payment-terms/ChangeVignetPagePaymentTerms.module.css?3f8d","components/change-vignet-page-payment-terms/ChangeVignetPagePaymentTerms.tsx","webpack://bhg-frontend/./src/components/change-vignet-page-summary/ChangeVignetPageSummary.module.css?4c88","components/change-vignet-page-summary/ChangeVignetPageSummary.tsx","webpack://bhg-frontend/./src/containers/change-vignet-page/ChangeVignetPage.module.css?ccfc","containers/change-vignet-page/ChangeVignetPage.tsx","webpack://bhg-frontend/./src/components/cancel-vignet-page-summary/CancelVignetPageSummary.module.css?2233","components/cancel-vignet-page-summary/CancelVignetPageSummary.tsx","webpack://bhg-frontend/./src/containers/cancel-vignet-page/CancelVignetPage.module.css?8f08","containers/cancel-vignet-page/CancelVignetPage.tsx","webpack://bhg-frontend/./src/components/edit-header/EditHeader.module.css?d94c","components/edit-header/EditHeader.tsx","webpack://bhg-frontend/./src/components/labeled-input-field/LabeledInputField.module.css?e409","components/labeled-input-field/LabeledInputField.tsx","components/page-layout/TitleLineComponent.tsx","webpack://bhg-frontend/./src/containers/mooring-page/MooringPage.module.css?1cc9","webpack://bhg-frontend/./src/components/payment-type-selector/PaymentTypeSelector.module.css?ee88","components/payment-type-selector/PaymentTypeSelector.tsx","containers/mooring-page/MooringPage.tsx","webpack://bhg-frontend/./src/containers/mooring-done-page/MooringDonePage.module.css?3eaa","containers/mooring-done-page/MooringDonePage.tsx","webpack://bhg-frontend/./src/containers/change-vignet-done-page/ChangeVignetDonePage.module.css?9fbd","containers/change-vignet-done-page/ChangeVignetDonePage.tsx","webpack://bhg-frontend/./src/containers/cancel-vignet-done-page/CancelVignetDonePage.module.css?c944","containers/cancel-vignet-done-page/CancelVignetDonePage.tsx","webpack://bhg-frontend/./src/components/country-selection-field/CountrySelectionField.module.css?6ab2","components/country-selection-field/CountrySelectionField.tsx","webpack://bhg-frontend/./src/containers/activate-vignet-page/ActivateVignetPage.module.css?e951","containers/three-strikes-registration-page/ThreeStrikesRegistrationPage.tsx","components/redirector/Redirector.tsx","api/ThreeStrikesApi.tsx","webpack://bhg-frontend/./src/containers/three-strikes-registration-page/ThreeStrikesRegistrationPage.module.css?fedb","webpack://bhg-frontend/./src/containers/resend-sms-page/ResendSmsPage.module.css?21cc","containers/resend-sms-page/ResendSmsPage.tsx","components/external-redirect/index.tsx","App.tsx","reportWebVitals.ts","index.tsx"],"sourcesContent":["// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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 Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),ca=require(\"scheduler\");function p(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cb}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"\")&&(k=k.replace(\"\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e\"+b.valueOf().toString()+\"\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a>=g;e-=g;rg=1<<32-oc(b)+e|c<w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;ww?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&uh(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=sh(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Ah(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=yh(f.type,f.key,f.props,null,a.mode,h),h.ref=sh(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=zh(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);th(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=xh(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(a){if(a===Dh)throw Error(p(174));return a}function Ih(a,b){G(Gh,b);G(Fh,a);G(Eh,Dh);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a)}E(Eh);G(Eh,b)}function Jh(){E(Eh);E(Fh);E(Gh)}\nfunction Kh(a){Hh(Gh.current);var b=Hh(Eh.current);var c=lb(b,a.type);b!==c&&(G(Fh,a),G(Eh,c))}function Lh(a){Fh.current===a&&(E(Eh),E(Fh))}var M=Uf(0);\nfunction Mh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||\"$?\"===c.data||\"$!\"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Nh=[];\nfunction Oh(){for(var a=0;ac?c:4;a(!0);var d=Qh.transition;Qh.transition={};try{a(!1),b()}finally{C=c,Qh.transition=d}}function Fi(){return di().memoizedState}\nfunction Gi(a,b,c){var d=lh(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,c);else if(c=Yg(a,b,c,d),null!==c){var e=L();mh(c,a,d,e);Ji(c,b,d)}}\nfunction ri(a,b,c){var d=lh(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,Xg(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=Yg(a,b,e,d);null!==c&&(e=L(),mh(c,a,d,e),Ji(c,b,d))}}\nfunction Hi(a){var b=a.alternate;return a===N||null!==b&&b===N}function Ii(a,b){Th=Sh=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Ji(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(a,b){ci().memoizedState=[a,void 0===b?null:b];return a},useContext:Vg,useEffect:vi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ti(4194308,\n4,yi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ti(4194308,4,a,b)},useInsertionEffect:function(a,b){return ti(4,2,a,b)},useMemo:function(a,b){var c=ci();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=ci();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Gi.bind(null,N,a);return[d.memoizedState,a]},useRef:function(a){var b=\nci();a={current:a};return b.memoizedState=a},useState:qi,useDebugValue:Ai,useDeferredValue:function(a){return ci().memoizedState=a},useTransition:function(){var a=qi(!1),b=a[0];a=Ei.bind(null,a[1]);ci().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=N,e=ci();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===R)throw Error(p(349));0!==(Rh&30)||ni(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;vi(ki.bind(null,d,\nf,a),[a]);d.flags|=2048;li(9,mi.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=ci(),b=R.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Uh++;0\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;Aj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;eHj&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304)}else{if(!d)if(a=Mh(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Ej(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Hj&&1073741824!==c&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=M.current,G(M,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Ij(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(gj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Jj(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return Jh(),E(Wf),E(H),Oh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Lh(b),null;case 13:E(M);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(b.type._context),null;case 22:case 23:return Ij(),\nnull;case 24:return null;default:return null}}var Kj=!1,U=!1,Lj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Mj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Nj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Oj=!1;\nfunction Pj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Lg(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Oj;Oj=!1;return n}\nfunction Qj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Nj(b,c,f)}e=e.next}while(e!==d)}}function Rj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Sj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Tj(a){var b=a.alternate;null!==b&&(a.alternate=null,Tj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Uj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Vj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Uj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}\nfunction Xj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Xj(a,b,c),a=a.sibling;null!==a;)Xj(a,b,c),a=a.sibling}var X=null,Yj=!1;function Zj(a,b,c){for(c=c.child;null!==c;)ak(a,b,c),c=c.sibling}\nfunction ak(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Mj(c,b);case 6:var d=X,e=Yj;X=null;Zj(a,b,c);X=d;Yj=e;null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Yj;X=c.stateNode.containerInfo;Yj=!0;\nZj(a,b,c);X=d;Yj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Nj(c,b,g):0!==(f&4)&&Nj(c,b,g));e=e.next}while(e!==d)}Zj(a,b,c);break;case 1:if(!U&&(Mj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Zj(a,b,c);break;case 21:Zj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Zj(a,b,c),U=d):Zj(a,b,c);break;default:Zj(a,b,c)}}function bk(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Lj);b.forEach(function(b){var d=ck.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction dk(a,b){var c=b.deletions;if(null!==c)for(var d=0;de&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*mk(d/1960))-d;if(10a?16:a;if(null===xk)var d=!1;else{a=xk;xk=null;yk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;kB()-gk?Lk(a,0):sk|=c);Ek(a,b)}function Zk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=L();a=Zg(a,b);null!==a&&(Ac(a,b,c),Ek(a,c))}function vj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Zk(a,c)}\nfunction ck(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Zk(a,c)}var Wk;\nWk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)Ug=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return Ug=!1,zj(a,b,c);Ug=0!==(a.flags&131072)?!0:!1}else Ug=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;jj(a,b);a=b.pendingProps;var e=Yf(b,H.current);Tg(b,c);e=Xh(null,b,d,a,e,c);var f=bi();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,ah(b),e.updater=nh,b.stateNode=e,e._reactInternals=b,rh(b,d,a,c),b=kj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Yi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{jj(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=$k(d);a=Lg(d,a);switch(e){case 0:b=dj(null,b,d,a,c);break a;case 1:b=ij(null,b,d,a,c);break a;case 11:b=Zi(null,b,d,a,c);break a;case 14:b=aj(null,b,d,Lg(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),dj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),ij(a,b,d,e,c);case 3:a:{lj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;bh(a,b);gh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ki(Error(p(423)),b);b=mj(a,b,d,c,e);break a}else if(d!==e){e=Ki(Error(p(424)),b);b=mj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Ch(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=$i(a,b,c);break a}Yi(a,b,d,c)}b=b.child}return b;case 5:return Kh(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\nhj(a,b),Yi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return pj(a,b,c);case 4:return Ih(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Bh(b,null,d,c):Yi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),Zi(a,b,d,e,c);case 7:return Yi(a,b,b.pendingProps,c),b.child;case 8:return Yi(a,b,b.pendingProps.children,c),b.child;case 12:return Yi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Mg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=$i(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=ch(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);Sg(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);Sg(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Yi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,Tg(b,c),e=Vg(e),d=d(e),b.flags|=1,Yi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Lg(d,b.pendingProps),e=Lg(d.type,e),aj(a,b,d,e,c);case 15:return cj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),jj(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,Tg(b,c),ph(b,d,e),rh(b,d,e,c),kj(null,b,d,!0,a,c);case 19:return yj(a,b,c);case 22:return ej(a,b,c)}throw Error(p(156,b.tag));};function Gk(a,b){return ac(a,b)}\nfunction al(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new al(a,b,c,d)}function bj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction $k(a){if(\"function\"===typeof a)return bj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction wh(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction yh(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)bj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Ah(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return qj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Ah(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function qj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function xh(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction zh(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction bl(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function cl(a,b,c,d,e,f,g,h,k){a=new bl(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};ah(f);return a}function dl(a,b,c){var d=3>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + \"0dbfbf1b\" + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"bhg-frontend:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t};\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkbhg_frontend\"] = self[\"webpackChunkbhg_frontend\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","////////////////////////////////////////////////////////////////////////////////\n//#region Types and Constants\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Actions represent the type of change to a location value.\n */\nexport enum Action {\n /**\n * A POP indicates a change to an arbitrary index in the history stack, such\n * as a back or forward navigation. It does not describe the direction of the\n * navigation, only that the current index changed.\n *\n * Note: This is the default action for newly created history objects.\n */\n Pop = \"POP\",\n\n /**\n * A PUSH indicates a new entry being added to the history stack, such as when\n * a link is clicked and a new page loads. When this happens, all subsequent\n * entries in the stack are lost.\n */\n Push = \"PUSH\",\n\n /**\n * A REPLACE indicates the entry at the current index in the history stack\n * being replaced by a new one.\n */\n Replace = \"REPLACE\",\n}\n\n/**\n * The pathname, search, and hash values of a URL.\n */\nexport interface Path {\n /**\n * A URL pathname, beginning with a /.\n */\n pathname: string;\n\n /**\n * A URL search string, beginning with a ?.\n */\n search: string;\n\n /**\n * A URL fragment identifier, beginning with a #.\n */\n hash: string;\n}\n\n/**\n * An entry in a history stack. A location contains information about the\n * URL path, as well as possibly some arbitrary state and a key.\n */\nexport interface Location extends Path {\n /**\n * A value of arbitrary data associated with this location.\n */\n state: any;\n\n /**\n * A unique string associated with this location. May be used to safely store\n * and retrieve data in some other storage API, like `localStorage`.\n *\n * Note: This value is always \"default\" on the initial location.\n */\n key: string;\n}\n\n/**\n * A change to the current location.\n */\nexport interface Update {\n /**\n * The action that triggered the change.\n */\n action: Action;\n\n /**\n * The new location.\n */\n location: Location;\n}\n\n/**\n * A function that receives notifications about location changes.\n */\nexport interface Listener {\n (update: Update): void;\n}\n\n/**\n * Describes a location that is the destination of some navigation, either via\n * `history.push` or `history.replace`. May be either a URL or the pieces of a\n * URL path.\n */\nexport type To = string | Partial;\n\n/**\n * A history is an interface to the navigation stack. The history serves as the\n * source of truth for the current location, as well as provides a set of\n * methods that may be used to change it.\n *\n * It is similar to the DOM's `window.history` object, but with a smaller, more\n * focused API.\n */\nexport interface History {\n /**\n * The last action that modified the current location. This will always be\n * Action.Pop when a history instance is first created. This value is mutable.\n */\n readonly action: Action;\n\n /**\n * The current location. This value is mutable.\n */\n readonly location: Location;\n\n /**\n * Returns a valid href for the given `to` value that may be used as\n * the value of an attribute.\n *\n * @param to - The destination URL\n */\n createHref(to: To): string;\n\n /**\n * Encode a location the same way window.history would do (no-op for memory\n * history) so we ensure our PUSH/REPLAC e navigations for data routers\n * behave the same as POP\n *\n * @param location The incoming location from router.navigate()\n */\n encodeLocation(location: Location): Location;\n\n /**\n * Pushes a new location onto the history stack, increasing its length by one.\n * If there were any entries in the stack after the current one, they are\n * lost.\n *\n * @param to - The new URL\n * @param state - Data to associate with the new location\n */\n push(to: To, state?: any): void;\n\n /**\n * Replaces the current location in the history stack with a new one. The\n * location that was replaced will no longer be available.\n *\n * @param to - The new URL\n * @param state - Data to associate with the new location\n */\n replace(to: To, state?: any): void;\n\n /**\n * Navigates `n` entries backward/forward in the history stack relative to the\n * current index. For example, a \"back\" navigation would use go(-1).\n *\n * @param delta - The delta in the stack index\n */\n go(delta: number): void;\n\n /**\n * Sets up a listener that will be called whenever the current location\n * changes.\n *\n * @param listener - A function that will be called when the location changes\n * @returns unlisten - A function that may be used to stop listening\n */\n listen(listener: Listener): () => void;\n}\n\ntype HistoryState = {\n usr: any;\n key?: string;\n};\n\nconst PopStateEventType = \"popstate\";\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Memory History\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A user-supplied object that describes a location. Used when providing\n * entries to `createMemoryHistory` via its `initialEntries` option.\n */\nexport type InitialEntry = string | Partial;\n\nexport type MemoryHistoryOptions = {\n initialEntries?: InitialEntry[];\n initialIndex?: number;\n v5Compat?: boolean;\n};\n\n/**\n * A memory history stores locations in memory. This is useful in stateful\n * environments where there is no web browser, such as node tests or React\n * Native.\n */\nexport interface MemoryHistory extends History {\n /**\n * The current index in the history stack.\n */\n readonly index: number;\n}\n\n/**\n * Memory history stores the current location in memory. It is designed for use\n * in stateful non-browser environments like tests and React Native.\n */\nexport function createMemoryHistory(\n options: MemoryHistoryOptions = {}\n): MemoryHistory {\n let { initialEntries = [\"/\"], initialIndex, v5Compat = false } = options;\n let entries: Location[]; // Declare so we can access from createMemoryLocation\n entries = initialEntries.map((entry, index) =>\n createMemoryLocation(\n entry,\n typeof entry === \"string\" ? null : entry.state,\n index === 0 ? \"default\" : undefined\n )\n );\n let index = clampIndex(\n initialIndex == null ? entries.length - 1 : initialIndex\n );\n let action = Action.Pop;\n let listener: Listener | null = null;\n\n function clampIndex(n: number): number {\n return Math.min(Math.max(n, 0), entries.length - 1);\n }\n function getCurrentLocation(): Location {\n return entries[index];\n }\n function createMemoryLocation(\n to: To,\n state: any = null,\n key?: string\n ): Location {\n let location = createLocation(\n entries ? getCurrentLocation().pathname : \"/\",\n to,\n state,\n key\n );\n warning(\n location.pathname.charAt(0) === \"/\",\n `relative pathnames are not supported in memory history: ${JSON.stringify(\n to\n )}`\n );\n return location;\n }\n\n let history: MemoryHistory = {\n get index() {\n return index;\n },\n get action() {\n return action;\n },\n get location() {\n return getCurrentLocation();\n },\n createHref(to) {\n return typeof to === \"string\" ? to : createPath(to);\n },\n encodeLocation(location) {\n return location;\n },\n push(to, state) {\n action = Action.Push;\n let nextLocation = createMemoryLocation(to, state);\n index += 1;\n entries.splice(index, entries.length, nextLocation);\n if (v5Compat && listener) {\n listener({ action, location: nextLocation });\n }\n },\n replace(to, state) {\n action = Action.Replace;\n let nextLocation = createMemoryLocation(to, state);\n entries[index] = nextLocation;\n if (v5Compat && listener) {\n listener({ action, location: nextLocation });\n }\n },\n go(delta) {\n action = Action.Pop;\n index = clampIndex(index + delta);\n if (listener) {\n listener({ action, location: getCurrentLocation() });\n }\n },\n listen(fn: Listener) {\n listener = fn;\n return () => {\n listener = null;\n };\n },\n };\n\n return history;\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Browser History\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A browser history stores the current location in regular URLs in a web\n * browser environment. This is the standard for most web apps and provides the\n * cleanest URLs the browser's address bar.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#browserhistory\n */\nexport interface BrowserHistory extends UrlHistory {}\n\nexport type BrowserHistoryOptions = UrlHistoryOptions;\n\n/**\n * Browser history stores the location in regular URLs. This is the standard for\n * most web apps, but it requires some configuration on the server to ensure you\n * serve the same app at multiple URLs.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory\n */\nexport function createBrowserHistory(\n options: BrowserHistoryOptions = {}\n): BrowserHistory {\n function createBrowserLocation(\n window: Window,\n globalHistory: Window[\"history\"]\n ) {\n let { pathname, search, hash } = window.location;\n return createLocation(\n \"\",\n { pathname, search, hash },\n // state defaults to `null` because `window.history.state` does\n (globalHistory.state && globalHistory.state.usr) || null,\n (globalHistory.state && globalHistory.state.key) || \"default\"\n );\n }\n\n function createBrowserHref(window: Window, to: To) {\n return typeof to === \"string\" ? to : createPath(to);\n }\n\n return getUrlBasedHistory(\n createBrowserLocation,\n createBrowserHref,\n null,\n options\n );\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Hash History\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A hash history stores the current location in the fragment identifier portion\n * of the URL in a web browser environment.\n *\n * This is ideal for apps that do not control the server for some reason\n * (because the fragment identifier is never sent to the server), including some\n * shared hosting environments that do not provide fine-grained controls over\n * which pages are served at which URLs.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#hashhistory\n */\nexport interface HashHistory extends UrlHistory {}\n\nexport type HashHistoryOptions = UrlHistoryOptions;\n\n/**\n * Hash history stores the location in window.location.hash. This makes it ideal\n * for situations where you don't want to send the location to the server for\n * some reason, either because you do cannot configure it or the URL space is\n * reserved for something else.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory\n */\nexport function createHashHistory(\n options: HashHistoryOptions = {}\n): HashHistory {\n function createHashLocation(\n window: Window,\n globalHistory: Window[\"history\"]\n ) {\n let {\n pathname = \"/\",\n search = \"\",\n hash = \"\",\n } = parsePath(window.location.hash.substr(1));\n return createLocation(\n \"\",\n { pathname, search, hash },\n // state defaults to `null` because `window.history.state` does\n (globalHistory.state && globalHistory.state.usr) || null,\n (globalHistory.state && globalHistory.state.key) || \"default\"\n );\n }\n\n function createHashHref(window: Window, to: To) {\n let base = window.document.querySelector(\"base\");\n let href = \"\";\n\n if (base && base.getAttribute(\"href\")) {\n let url = window.location.href;\n let hashIndex = url.indexOf(\"#\");\n href = hashIndex === -1 ? url : url.slice(0, hashIndex);\n }\n\n return href + \"#\" + (typeof to === \"string\" ? to : createPath(to));\n }\n\n function validateHashLocation(location: Location, to: To) {\n warning(\n location.pathname.charAt(0) === \"/\",\n `relative pathnames are not supported in hash history.push(${JSON.stringify(\n to\n )})`\n );\n }\n\n return getUrlBasedHistory(\n createHashLocation,\n createHashHref,\n validateHashLocation,\n options\n );\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region UTILS\n////////////////////////////////////////////////////////////////////////////////\n\nfunction warning(cond: any, message: string) {\n if (!cond) {\n // eslint-disable-next-line no-console\n if (typeof console !== \"undefined\") console.warn(message);\n\n try {\n // Welcome to debugging history!\n //\n // This error is thrown as a convenience so you can more easily\n // find the source for a warning that appears in the console by\n // enabling \"pause on exceptions\" in your JavaScript debugger.\n throw new Error(message);\n // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n}\n\nfunction createKey() {\n return Math.random().toString(36).substr(2, 8);\n}\n\n/**\n * For browser-based histories, we combine the state and key into an object\n */\nfunction getHistoryState(location: Location): HistoryState {\n return {\n usr: location.state,\n key: location.key,\n };\n}\n\n/**\n * Creates a Location object with a unique key from the given Path\n */\nexport function createLocation(\n current: string | Location,\n to: To,\n state: any = null,\n key?: string\n): Readonly {\n let location: Readonly = {\n pathname: typeof current === \"string\" ? current : current.pathname,\n search: \"\",\n hash: \"\",\n ...(typeof to === \"string\" ? parsePath(to) : to),\n state,\n // TODO: This could be cleaned up. push/replace should probably just take\n // full Locations now and avoid the need to run through this flow at all\n // But that's a pretty big refactor to the current test suite so going to\n // keep as is for the time being and just let any incoming keys take precedence\n key: (to && (to as Location).key) || key || createKey(),\n };\n return location;\n}\n\n/**\n * Creates a string URL path from the given pathname, search, and hash components.\n */\nexport function createPath({\n pathname = \"/\",\n search = \"\",\n hash = \"\",\n}: Partial) {\n if (search && search !== \"?\")\n pathname += search.charAt(0) === \"?\" ? search : \"?\" + search;\n if (hash && hash !== \"#\")\n pathname += hash.charAt(0) === \"#\" ? hash : \"#\" + hash;\n return pathname;\n}\n\n/**\n * Parses a string URL path into its separate pathname, search, and hash components.\n */\nexport function parsePath(path: string): Partial {\n let parsedPath: Partial = {};\n\n if (path) {\n let hashIndex = path.indexOf(\"#\");\n if (hashIndex >= 0) {\n parsedPath.hash = path.substr(hashIndex);\n path = path.substr(0, hashIndex);\n }\n\n let searchIndex = path.indexOf(\"?\");\n if (searchIndex >= 0) {\n parsedPath.search = path.substr(searchIndex);\n path = path.substr(0, searchIndex);\n }\n\n if (path) {\n parsedPath.pathname = path;\n }\n }\n\n return parsedPath;\n}\n\nexport function createURL(location: Location | string): URL {\n // window.location.origin is \"null\" (the literal string value) in Firefox\n // under certain conditions, notably when serving from a local HTML file\n // See https://bugzilla.mozilla.org/show_bug.cgi?id=878297\n let base =\n typeof window !== \"undefined\" &&\n typeof window.location !== \"undefined\" &&\n window.location.origin !== \"null\"\n ? window.location.origin\n : \"unknown://unknown\";\n let href = typeof location === \"string\" ? location : createPath(location);\n return new URL(href, base);\n}\n\nexport interface UrlHistory extends History {}\n\nexport type UrlHistoryOptions = {\n window?: Window;\n v5Compat?: boolean;\n};\n\nfunction getUrlBasedHistory(\n getLocation: (window: Window, globalHistory: Window[\"history\"]) => Location,\n createHref: (window: Window, to: To) => string,\n validateLocation: ((location: Location, to: To) => void) | null,\n options: UrlHistoryOptions = {}\n): UrlHistory {\n let { window = document.defaultView!, v5Compat = false } = options;\n let globalHistory = window.history;\n let action = Action.Pop;\n let listener: Listener | null = null;\n\n function handlePop() {\n action = Action.Pop;\n if (listener) {\n listener({ action, location: history.location });\n }\n }\n\n function push(to: To, state?: any) {\n action = Action.Push;\n let location = createLocation(history.location, to, state);\n if (validateLocation) validateLocation(location, to);\n\n let historyState = getHistoryState(location);\n let url = history.createHref(location);\n\n // try...catch because iOS limits us to 100 pushState calls :/\n try {\n globalHistory.pushState(historyState, \"\", url);\n } catch (error) {\n // They are going to lose state here, but there is no real\n // way to warn them about it since the page will refresh...\n window.location.assign(url);\n }\n\n if (v5Compat && listener) {\n listener({ action, location: history.location });\n }\n }\n\n function replace(to: To, state?: any) {\n action = Action.Replace;\n let location = createLocation(history.location, to, state);\n if (validateLocation) validateLocation(location, to);\n\n let historyState = getHistoryState(location);\n let url = history.createHref(location);\n globalHistory.replaceState(historyState, \"\", url);\n\n if (v5Compat && listener) {\n listener({ action, location: history.location });\n }\n }\n\n let history: History = {\n get action() {\n return action;\n },\n get location() {\n return getLocation(window, globalHistory);\n },\n listen(fn: Listener) {\n if (listener) {\n throw new Error(\"A history only accepts one active listener\");\n }\n window.addEventListener(PopStateEventType, handlePop);\n listener = fn;\n\n return () => {\n window.removeEventListener(PopStateEventType, handlePop);\n listener = null;\n };\n },\n createHref(to) {\n return createHref(window, to);\n },\n encodeLocation(location) {\n // Encode a Location the same way window.location would\n let url = createURL(createPath(location));\n return {\n ...location,\n pathname: url.pathname,\n search: url.search,\n hash: url.hash,\n };\n },\n push,\n replace,\n go(n) {\n return globalHistory.go(n);\n },\n };\n\n return history;\n}\n\n//#endregion\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _s, _e;\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nexport default function _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct.bind();\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n return _construct.apply(null, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeFunction from \"./isNativeFunction.js\";\nimport construct from \"./construct.js\";\nexport default function _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n return _wrapNativeSuper(Class);\n}","export default function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}","import type { Location, Path, To } from \"./history\";\nimport { parsePath } from \"./history\";\n\n/**\n * Map of routeId -> data returned from a loader/action/error\n */\nexport interface RouteData {\n [routeId: string]: any;\n}\n\nexport enum ResultType {\n data = \"data\",\n deferred = \"deferred\",\n redirect = \"redirect\",\n error = \"error\",\n}\n\n/**\n * Successful result from a loader or action\n */\nexport interface SuccessResult {\n type: ResultType.data;\n data: any;\n statusCode?: number;\n headers?: Headers;\n}\n\n/**\n * Successful defer() result from a loader or action\n */\nexport interface DeferredResult {\n type: ResultType.deferred;\n deferredData: DeferredData;\n}\n\n/**\n * Redirect result from a loader or action\n */\nexport interface RedirectResult {\n type: ResultType.redirect;\n status: number;\n location: string;\n revalidate: boolean;\n}\n\n/**\n * Unsuccessful result from a loader or action\n */\nexport interface ErrorResult {\n type: ResultType.error;\n error: any;\n headers?: Headers;\n}\n\n/**\n * Result from a loader or action - potentially successful or unsuccessful\n */\nexport type DataResult =\n | SuccessResult\n | DeferredResult\n | RedirectResult\n | ErrorResult;\n\nexport type FormMethod = \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\";\nexport type FormEncType =\n | \"application/x-www-form-urlencoded\"\n | \"multipart/form-data\";\n\n/**\n * @private\n * Internal interface to pass around for action submissions, not intended for\n * external consumption\n */\nexport interface Submission {\n formMethod: Exclude;\n formAction: string;\n formEncType: FormEncType;\n formData: FormData;\n}\n\n/**\n * @private\n * Arguments passed to route loader/action functions. Same for now but we keep\n * this as a private implementation detail in case they diverge in the future.\n */\ninterface DataFunctionArgs {\n request: Request;\n params: Params;\n}\n\n/**\n * Arguments passed to loader functions\n */\nexport interface LoaderFunctionArgs extends DataFunctionArgs {}\n\n/**\n * Arguments passed to action functions\n */\nexport interface ActionFunctionArgs extends DataFunctionArgs {}\n\n/**\n * Route loader function signature\n */\nexport interface LoaderFunction {\n (args: LoaderFunctionArgs): Promise | Response | Promise | any;\n}\n\n/**\n * Route action function signature\n */\nexport interface ActionFunction {\n (args: ActionFunctionArgs): Promise | Response | Promise | any;\n}\n\n/**\n * Route shouldRevalidate function signature. This runs after any submission\n * (navigation or fetcher), so we flatten the navigation/fetcher submission\n * onto the arguments. It shouldn't matter whether it came from a navigation\n * or a fetcher, what really matters is the URLs and the formData since loaders\n * have to re-run based on the data models that were potentially mutated.\n */\nexport interface ShouldRevalidateFunction {\n (args: {\n currentUrl: URL;\n currentParams: AgnosticDataRouteMatch[\"params\"];\n nextUrl: URL;\n nextParams: AgnosticDataRouteMatch[\"params\"];\n formMethod?: Submission[\"formMethod\"];\n formAction?: Submission[\"formAction\"];\n formEncType?: Submission[\"formEncType\"];\n formData?: Submission[\"formData\"];\n actionResult?: DataResult;\n defaultShouldRevalidate: boolean;\n }): boolean;\n}\n\n/**\n * Base RouteObject with common props shared by all types of routes\n */\ntype AgnosticBaseRouteObject = {\n caseSensitive?: boolean;\n path?: string;\n id?: string;\n loader?: LoaderFunction;\n action?: ActionFunction;\n hasErrorBoundary?: boolean;\n shouldRevalidate?: ShouldRevalidateFunction;\n handle?: any;\n};\n\n/**\n * Index routes must not have children\n */\nexport type AgnosticIndexRouteObject = AgnosticBaseRouteObject & {\n children?: undefined;\n index: true;\n};\n\n/**\n * Non-index routes may have children, but cannot have index\n */\nexport type AgnosticNonIndexRouteObject = AgnosticBaseRouteObject & {\n children?: AgnosticRouteObject[];\n index?: false;\n};\n\n/**\n * A route object represents a logical route, with (optionally) its child\n * routes organized in a tree-like structure.\n */\nexport type AgnosticRouteObject =\n | AgnosticIndexRouteObject\n | AgnosticNonIndexRouteObject;\n\nexport type AgnosticDataIndexRouteObject = AgnosticIndexRouteObject & {\n id: string;\n};\n\nexport type AgnosticDataNonIndexRouteObject = AgnosticNonIndexRouteObject & {\n children?: AgnosticDataRouteObject[];\n id: string;\n};\n\n/**\n * A data route object, which is just a RouteObject with a required unique ID\n */\nexport type AgnosticDataRouteObject =\n | AgnosticDataIndexRouteObject\n | AgnosticDataNonIndexRouteObject;\n\n// Recursive helper for finding path parameters in the absence of wildcards\ntype _PathParam =\n // split path into individual path segments\n Path extends `${infer L}/${infer R}`\n ? _PathParam | _PathParam\n : // find params after `:`\n Path extends `${string}:${infer Param}`\n ? Param\n : // otherwise, there aren't any params present\n never;\n\n/**\n * Examples:\n * \"/a/b/*\" -> \"*\"\n * \":a\" -> \"a\"\n * \"/a/:b\" -> \"b\"\n * \"/a/blahblahblah:b\" -> \"b\"\n * \"/:a/:b\" -> \"a\" | \"b\"\n * \"/:a/b/:c/*\" -> \"a\" | \"c\" | \"*\"\n */\ntype PathParam =\n // check if path is just a wildcard\n Path extends \"*\"\n ? \"*\"\n : // look for wildcard at the end of the path\n Path extends `${infer Rest}/*`\n ? \"*\" | _PathParam\n : // look for params in the absence of wildcards\n _PathParam;\n\n// Attempt to parse the given string segment. If it fails, then just return the\n// plain string type as a default fallback. Otherwise return the union of the\n// parsed string literals that were referenced as dynamic segments in the route.\nexport type ParamParseKey =\n // if could not find path params, fallback to `string`\n [PathParam] extends [never] ? string : PathParam;\n\n/**\n * The parameters that were parsed from the URL path.\n */\nexport type Params = {\n readonly [key in Key]: string | undefined;\n};\n\n/**\n * A RouteMatch contains info about how a route matched a URL.\n */\nexport interface AgnosticRouteMatch<\n ParamKey extends string = string,\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n> {\n /**\n * The names and values of dynamic parameters in the URL.\n */\n params: Params;\n /**\n * The portion of the URL pathname that was matched.\n */\n pathname: string;\n /**\n * The portion of the URL pathname that was matched before child routes.\n */\n pathnameBase: string;\n /**\n * The route object that was used to match.\n */\n route: RouteObjectType;\n}\n\nexport interface AgnosticDataRouteMatch\n extends AgnosticRouteMatch {}\n\nfunction isIndexRoute(\n route: AgnosticRouteObject\n): route is AgnosticIndexRouteObject {\n return route.index === true;\n}\n\n// Walk the route tree generating unique IDs where necessary so we are working\n// solely with AgnosticDataRouteObject's within the Router\nexport function convertRoutesToDataRoutes(\n routes: AgnosticRouteObject[],\n parentPath: number[] = [],\n allIds: Set = new Set()\n): AgnosticDataRouteObject[] {\n return routes.map((route, index) => {\n let treePath = [...parentPath, index];\n let id = typeof route.id === \"string\" ? route.id : treePath.join(\"-\");\n invariant(\n route.index !== true || !route.children,\n `Cannot specify children on an index route`\n );\n invariant(\n !allIds.has(id),\n `Found a route id collision on id \"${id}\". Route ` +\n \"id's must be globally unique within Data Router usages\"\n );\n allIds.add(id);\n\n if (isIndexRoute(route)) {\n let indexRoute: AgnosticDataIndexRouteObject = { ...route, id };\n return indexRoute;\n } else {\n let pathOrLayoutRoute: AgnosticDataNonIndexRouteObject = {\n ...route,\n id,\n children: route.children\n ? convertRoutesToDataRoutes(route.children, treePath, allIds)\n : undefined,\n };\n return pathOrLayoutRoute;\n }\n });\n}\n\n/**\n * Matches the given routes to a location and returns the match data.\n *\n * @see https://reactrouter.com/docs/en/v6/utils/match-routes\n */\nexport function matchRoutes<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n>(\n routes: RouteObjectType[],\n locationArg: Partial | string,\n basename = \"/\"\n): AgnosticRouteMatch[] | null {\n let location =\n typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n\n let pathname = stripBasename(location.pathname || \"/\", basename);\n\n if (pathname == null) {\n return null;\n }\n\n let branches = flattenRoutes(routes);\n rankRouteBranches(branches);\n\n let matches = null;\n for (let i = 0; matches == null && i < branches.length; ++i) {\n matches = matchRouteBranch(\n branches[i],\n // Incoming pathnames are generally encoded from either window.location\n // or from router.navigate, but we want to match against the unencoded\n // paths in the route definitions. Memory router locations won't be\n // encoded here but there also shouldn't be anything to decode so this\n // should be a safe operation. This avoids needing matchRoutes to be\n // history-aware.\n safelyDecodeURI(pathname)\n );\n }\n\n return matches;\n}\n\ninterface RouteMeta<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n> {\n relativePath: string;\n caseSensitive: boolean;\n childrenIndex: number;\n route: RouteObjectType;\n}\n\ninterface RouteBranch<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n> {\n path: string;\n score: number;\n routesMeta: RouteMeta[];\n}\n\nfunction flattenRoutes<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n>(\n routes: RouteObjectType[],\n branches: RouteBranch[] = [],\n parentsMeta: RouteMeta[] = [],\n parentPath = \"\"\n): RouteBranch[] {\n routes.forEach((route, index) => {\n let meta: RouteMeta = {\n relativePath: route.path || \"\",\n caseSensitive: route.caseSensitive === true,\n childrenIndex: index,\n route,\n };\n\n if (meta.relativePath.startsWith(\"/\")) {\n invariant(\n meta.relativePath.startsWith(parentPath),\n `Absolute route path \"${meta.relativePath}\" nested under path ` +\n `\"${parentPath}\" is not valid. An absolute child route path ` +\n `must start with the combined path of all its parent routes.`\n );\n\n meta.relativePath = meta.relativePath.slice(parentPath.length);\n }\n\n let path = joinPaths([parentPath, meta.relativePath]);\n let routesMeta = parentsMeta.concat(meta);\n\n // Add the children before adding this route to the array so we traverse the\n // route tree depth-first and child routes appear before their parents in\n // the \"flattened\" version.\n if (route.children && route.children.length > 0) {\n invariant(\n // Our types know better, but runtime JS may not!\n // @ts-expect-error\n route.index !== true,\n `Index routes must not have child routes. Please remove ` +\n `all child routes from route path \"${path}\".`\n );\n\n flattenRoutes(route.children, branches, routesMeta, path);\n }\n\n // Routes without a path shouldn't ever match by themselves unless they are\n // index routes, so don't add them to the list of possible branches.\n if (route.path == null && !route.index) {\n return;\n }\n\n branches.push({ path, score: computeScore(path, route.index), routesMeta });\n });\n\n return branches;\n}\n\nfunction rankRouteBranches(branches: RouteBranch[]): void {\n branches.sort((a, b) =>\n a.score !== b.score\n ? b.score - a.score // Higher score first\n : compareIndexes(\n a.routesMeta.map((meta) => meta.childrenIndex),\n b.routesMeta.map((meta) => meta.childrenIndex)\n )\n );\n}\n\nconst paramRe = /^:\\w+$/;\nconst dynamicSegmentValue = 3;\nconst indexRouteValue = 2;\nconst emptySegmentValue = 1;\nconst staticSegmentValue = 10;\nconst splatPenalty = -2;\nconst isSplat = (s: string) => s === \"*\";\n\nfunction computeScore(path: string, index: boolean | undefined): number {\n let segments = path.split(\"/\");\n let initialScore = segments.length;\n if (segments.some(isSplat)) {\n initialScore += splatPenalty;\n }\n\n if (index) {\n initialScore += indexRouteValue;\n }\n\n return segments\n .filter((s) => !isSplat(s))\n .reduce(\n (score, segment) =>\n score +\n (paramRe.test(segment)\n ? dynamicSegmentValue\n : segment === \"\"\n ? emptySegmentValue\n : staticSegmentValue),\n initialScore\n );\n}\n\nfunction compareIndexes(a: number[], b: number[]): number {\n let siblings =\n a.length === b.length && a.slice(0, -1).every((n, i) => n === b[i]);\n\n return siblings\n ? // If two routes are siblings, we should try to match the earlier sibling\n // first. This allows people to have fine-grained control over the matching\n // behavior by simply putting routes with identical paths in the order they\n // want them tried.\n a[a.length - 1] - b[b.length - 1]\n : // Otherwise, it doesn't really make sense to rank non-siblings by index,\n // so they sort equally.\n 0;\n}\n\nfunction matchRouteBranch<\n ParamKey extends string = string,\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n>(\n branch: RouteBranch,\n pathname: string\n): AgnosticRouteMatch[] | null {\n let { routesMeta } = branch;\n\n let matchedParams = {};\n let matchedPathname = \"/\";\n let matches: AgnosticRouteMatch[] = [];\n for (let i = 0; i < routesMeta.length; ++i) {\n let meta = routesMeta[i];\n let end = i === routesMeta.length - 1;\n let remainingPathname =\n matchedPathname === \"/\"\n ? pathname\n : pathname.slice(matchedPathname.length) || \"/\";\n let match = matchPath(\n { path: meta.relativePath, caseSensitive: meta.caseSensitive, end },\n remainingPathname\n );\n\n if (!match) return null;\n\n Object.assign(matchedParams, match.params);\n\n let route = meta.route;\n\n matches.push({\n // TODO: Can this as be avoided?\n params: matchedParams as Params,\n pathname: joinPaths([matchedPathname, match.pathname]),\n pathnameBase: normalizePathname(\n joinPaths([matchedPathname, match.pathnameBase])\n ),\n route,\n });\n\n if (match.pathnameBase !== \"/\") {\n matchedPathname = joinPaths([matchedPathname, match.pathnameBase]);\n }\n }\n\n return matches;\n}\n\n/**\n * Returns a path with params interpolated.\n *\n * @see https://reactrouter.com/docs/en/v6/utils/generate-path\n */\nexport function generatePath(\n path: Path,\n params: {\n [key in PathParam]: string;\n } = {} as any\n): string {\n return path\n .replace(/:(\\w+)/g, (_, key: PathParam) => {\n invariant(params[key] != null, `Missing \":${key}\" param`);\n return params[key]!;\n })\n .replace(/(\\/?)\\*/, (_, prefix, __, str) => {\n const star = \"*\" as PathParam;\n\n if (params[star] == null) {\n // If no splat was provided, trim the trailing slash _unless_ it's\n // the entire path\n return str === \"/*\" ? \"/\" : \"\";\n }\n\n // Apply the splat\n return `${prefix}${params[star]}`;\n });\n}\n\n/**\n * A PathPattern is used to match on some portion of a URL pathname.\n */\nexport interface PathPattern {\n /**\n * A string to match against a URL pathname. May contain `:id`-style segments\n * to indicate placeholders for dynamic parameters. May also end with `/*` to\n * indicate matching the rest of the URL pathname.\n */\n path: Path;\n /**\n * Should be `true` if the static portions of the `path` should be matched in\n * the same case.\n */\n caseSensitive?: boolean;\n /**\n * Should be `true` if this pattern should match the entire URL pathname.\n */\n end?: boolean;\n}\n\n/**\n * A PathMatch contains info about how a PathPattern matched on a URL pathname.\n */\nexport interface PathMatch {\n /**\n * The names and values of dynamic parameters in the URL.\n */\n params: Params;\n /**\n * The portion of the URL pathname that was matched.\n */\n pathname: string;\n /**\n * The portion of the URL pathname that was matched before child routes.\n */\n pathnameBase: string;\n /**\n * The pattern that was used to match.\n */\n pattern: PathPattern;\n}\n\ntype Mutable = {\n -readonly [P in keyof T]: T[P];\n};\n\n/**\n * Performs pattern matching on a URL pathname and returns information about\n * the match.\n *\n * @see https://reactrouter.com/docs/en/v6/utils/match-path\n */\nexport function matchPath<\n ParamKey extends ParamParseKey,\n Path extends string\n>(\n pattern: PathPattern | Path,\n pathname: string\n): PathMatch | null {\n if (typeof pattern === \"string\") {\n pattern = { path: pattern, caseSensitive: false, end: true };\n }\n\n let [matcher, paramNames] = compilePath(\n pattern.path,\n pattern.caseSensitive,\n pattern.end\n );\n\n let match = pathname.match(matcher);\n if (!match) return null;\n\n let matchedPathname = match[0];\n let pathnameBase = matchedPathname.replace(/(.)\\/+$/, \"$1\");\n let captureGroups = match.slice(1);\n let params: Params = paramNames.reduce>(\n (memo, paramName, index) => {\n // We need to compute the pathnameBase here using the raw splat value\n // instead of using params[\"*\"] later because it will be decoded then\n if (paramName === \"*\") {\n let splatValue = captureGroups[index] || \"\";\n pathnameBase = matchedPathname\n .slice(0, matchedPathname.length - splatValue.length)\n .replace(/(.)\\/+$/, \"$1\");\n }\n\n memo[paramName] = safelyDecodeURIComponent(\n captureGroups[index] || \"\",\n paramName\n );\n return memo;\n },\n {}\n );\n\n return {\n params,\n pathname: matchedPathname,\n pathnameBase,\n pattern,\n };\n}\n\nfunction compilePath(\n path: string,\n caseSensitive = false,\n end = true\n): [RegExp, string[]] {\n warning(\n path === \"*\" || !path.endsWith(\"*\") || path.endsWith(\"/*\"),\n `Route path \"${path}\" will be treated as if it were ` +\n `\"${path.replace(/\\*$/, \"/*\")}\" because the \\`*\\` character must ` +\n `always follow a \\`/\\` in the pattern. To get rid of this warning, ` +\n `please change the route path to \"${path.replace(/\\*$/, \"/*\")}\".`\n );\n\n let paramNames: string[] = [];\n let regexpSource =\n \"^\" +\n path\n .replace(/\\/*\\*?$/, \"\") // Ignore trailing / and /*, we'll handle it below\n .replace(/^\\/*/, \"/\") // Make sure it has a leading /\n .replace(/[\\\\.*+^$?{}|()[\\]]/g, \"\\\\$&\") // Escape special regex chars\n .replace(/:(\\w+)/g, (_: string, paramName: string) => {\n paramNames.push(paramName);\n return \"([^\\\\/]+)\";\n });\n\n if (path.endsWith(\"*\")) {\n paramNames.push(\"*\");\n regexpSource +=\n path === \"*\" || path === \"/*\"\n ? \"(.*)$\" // Already matched the initial /, just match the rest\n : \"(?:\\\\/(.+)|\\\\/*)$\"; // Don't include the / in params[\"*\"]\n } else if (end) {\n // When matching to the end, ignore trailing slashes\n regexpSource += \"\\\\/*$\";\n } else if (path !== \"\" && path !== \"/\") {\n // If our path is non-empty and contains anything beyond an initial slash,\n // then we have _some_ form of path in our regex so we should expect to\n // match only if we find the end of this path segment. Look for an optional\n // non-captured trailing slash (to match a portion of the URL) or the end\n // of the path (if we've matched to the end). We used to do this with a\n // word boundary but that gives false positives on routes like\n // /user-preferences since `-` counts as a word boundary.\n regexpSource += \"(?:(?=\\\\/|$))\";\n } else {\n // Nothing to match for \"\" or \"/\"\n }\n\n let matcher = new RegExp(regexpSource, caseSensitive ? undefined : \"i\");\n\n return [matcher, paramNames];\n}\n\nfunction safelyDecodeURI(value: string) {\n try {\n return decodeURI(value);\n } catch (error) {\n warning(\n false,\n `The URL path \"${value}\" could not be decoded because it is is a ` +\n `malformed URL segment. This is probably due to a bad percent ` +\n `encoding (${error}).`\n );\n\n return value;\n }\n}\n\nfunction safelyDecodeURIComponent(value: string, paramName: string) {\n try {\n return decodeURIComponent(value);\n } catch (error) {\n warning(\n false,\n `The value for the URL param \"${paramName}\" will not be decoded because` +\n ` the string \"${value}\" is a malformed URL segment. This is probably` +\n ` due to a bad percent encoding (${error}).`\n );\n\n return value;\n }\n}\n\n/**\n * @private\n */\nexport function stripBasename(\n pathname: string,\n basename: string\n): string | null {\n if (basename === \"/\") return pathname;\n\n if (!pathname.toLowerCase().startsWith(basename.toLowerCase())) {\n return null;\n }\n\n // We want to leave trailing slash behavior in the user's control, so if they\n // specify a basename with a trailing slash, we should support it\n let startIndex = basename.endsWith(\"/\")\n ? basename.length - 1\n : basename.length;\n let nextChar = pathname.charAt(startIndex);\n if (nextChar && nextChar !== \"/\") {\n // pathname does not start with basename/\n return null;\n }\n\n return pathname.slice(startIndex) || \"/\";\n}\n\n/**\n * @private\n */\nexport function invariant(value: boolean, message?: string): asserts value;\nexport function invariant(\n value: T | null | undefined,\n message?: string\n): asserts value is T;\nexport function invariant(value: any, message?: string) {\n if (value === false || value === null || typeof value === \"undefined\") {\n throw new Error(message);\n }\n}\n\n/**\n * @private\n */\nexport function warning(cond: any, message: string): void {\n if (!cond) {\n // eslint-disable-next-line no-console\n if (typeof console !== \"undefined\") console.warn(message);\n\n try {\n // Welcome to debugging React Router!\n //\n // This error is thrown as a convenience so you can more easily\n // find the source for a warning that appears in the console by\n // enabling \"pause on exceptions\" in your JavaScript debugger.\n throw new Error(message);\n // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n}\n\n/**\n * Returns a resolved path object relative to the given pathname.\n *\n * @see https://reactrouter.com/docs/en/v6/utils/resolve-path\n */\nexport function resolvePath(to: To, fromPathname = \"/\"): Path {\n let {\n pathname: toPathname,\n search = \"\",\n hash = \"\",\n } = typeof to === \"string\" ? parsePath(to) : to;\n\n let pathname = toPathname\n ? toPathname.startsWith(\"/\")\n ? toPathname\n : resolvePathname(toPathname, fromPathname)\n : fromPathname;\n\n return {\n pathname,\n search: normalizeSearch(search),\n hash: normalizeHash(hash),\n };\n}\n\nfunction resolvePathname(relativePath: string, fromPathname: string): string {\n let segments = fromPathname.replace(/\\/+$/, \"\").split(\"/\");\n let relativeSegments = relativePath.split(\"/\");\n\n relativeSegments.forEach((segment) => {\n if (segment === \"..\") {\n // Keep the root \"\" segment so the pathname starts at /\n if (segments.length > 1) segments.pop();\n } else if (segment !== \".\") {\n segments.push(segment);\n }\n });\n\n return segments.length > 1 ? segments.join(\"/\") : \"/\";\n}\n\nfunction getInvalidPathError(\n char: string,\n field: string,\n dest: string,\n path: Partial\n) {\n return (\n `Cannot include a '${char}' character in a manually specified ` +\n `\\`to.${field}\\` field [${JSON.stringify(\n path\n )}]. Please separate it out to the ` +\n `\\`to.${dest}\\` field. Alternatively you may provide the full path as ` +\n `a string in and the router will parse it for you.`\n );\n}\n\n/**\n * @private\n *\n * When processing relative navigation we want to ignore ancestor routes that\n * do not contribute to the path, such that index/pathless layout routes don't\n * interfere.\n *\n * For example, when moving a route element into an index route and/or a\n * pathless layout route, relative link behavior contained within should stay\n * the same. Both of the following examples should link back to the root:\n *\n * \n * \n * \n *\n * \n * \n * }> // <-- Does not contribute\n * // <-- Does not contribute\n * \n * \n */\nexport function getPathContributingMatches<\n T extends AgnosticRouteMatch = AgnosticRouteMatch\n>(matches: T[]) {\n return matches.filter(\n (match, index) =>\n index === 0 || (match.route.path && match.route.path.length > 0)\n );\n}\n\n/**\n * @private\n */\nexport function resolveTo(\n toArg: To,\n routePathnames: string[],\n locationPathname: string,\n isPathRelative = false\n): Path {\n let to: Partial;\n if (typeof toArg === \"string\") {\n to = parsePath(toArg);\n } else {\n to = { ...toArg };\n\n invariant(\n !to.pathname || !to.pathname.includes(\"?\"),\n getInvalidPathError(\"?\", \"pathname\", \"search\", to)\n );\n invariant(\n !to.pathname || !to.pathname.includes(\"#\"),\n getInvalidPathError(\"#\", \"pathname\", \"hash\", to)\n );\n invariant(\n !to.search || !to.search.includes(\"#\"),\n getInvalidPathError(\"#\", \"search\", \"hash\", to)\n );\n }\n\n let isEmptyPath = toArg === \"\" || to.pathname === \"\";\n let toPathname = isEmptyPath ? \"/\" : to.pathname;\n\n let from: string;\n\n // Routing is relative to the current pathname if explicitly requested.\n //\n // If a pathname is explicitly provided in `to`, it should be relative to the\n // route context. This is explained in `Note on `` values` in our\n // migration guide from v5 as a means of disambiguation between `to` values\n // that begin with `/` and those that do not. However, this is problematic for\n // `to` values that do not provide a pathname. `to` can simply be a search or\n // hash string, in which case we should assume that the navigation is relative\n // to the current location's pathname and *not* the route pathname.\n if (isPathRelative || toPathname == null) {\n from = locationPathname;\n } else {\n let routePathnameIndex = routePathnames.length - 1;\n\n if (toPathname.startsWith(\"..\")) {\n let toSegments = toPathname.split(\"/\");\n\n // Each leading .. segment means \"go up one route\" instead of \"go up one\n // URL segment\". This is a key difference from how works and a\n // major reason we call this a \"to\" value instead of a \"href\".\n while (toSegments[0] === \"..\") {\n toSegments.shift();\n routePathnameIndex -= 1;\n }\n\n to.pathname = toSegments.join(\"/\");\n }\n\n // If there are more \"..\" segments than parent routes, resolve relative to\n // the root / URL.\n from = routePathnameIndex >= 0 ? routePathnames[routePathnameIndex] : \"/\";\n }\n\n let path = resolvePath(to, from);\n\n // Ensure the pathname has a trailing slash if the original \"to\" had one\n let hasExplicitTrailingSlash =\n toPathname && toPathname !== \"/\" && toPathname.endsWith(\"/\");\n // Or if this was a link to the current path which has a trailing slash\n let hasCurrentTrailingSlash =\n (isEmptyPath || toPathname === \".\") && locationPathname.endsWith(\"/\");\n if (\n !path.pathname.endsWith(\"/\") &&\n (hasExplicitTrailingSlash || hasCurrentTrailingSlash)\n ) {\n path.pathname += \"/\";\n }\n\n return path;\n}\n\n/**\n * @private\n */\nexport function getToPathname(to: To): string | undefined {\n // Empty strings should be treated the same as / paths\n return to === \"\" || (to as Path).pathname === \"\"\n ? \"/\"\n : typeof to === \"string\"\n ? parsePath(to).pathname\n : to.pathname;\n}\n\n/**\n * @private\n */\nexport const joinPaths = (paths: string[]): string =>\n paths.join(\"/\").replace(/\\/\\/+/g, \"/\");\n\n/**\n * @private\n */\nexport const normalizePathname = (pathname: string): string =>\n pathname.replace(/\\/+$/, \"\").replace(/^\\/*/, \"/\");\n\n/**\n * @private\n */\nexport const normalizeSearch = (search: string): string =>\n !search || search === \"?\"\n ? \"\"\n : search.startsWith(\"?\")\n ? search\n : \"?\" + search;\n\n/**\n * @private\n */\nexport const normalizeHash = (hash: string): string =>\n !hash || hash === \"#\" ? \"\" : hash.startsWith(\"#\") ? hash : \"#\" + hash;\n\nexport type JsonFunction = (\n data: Data,\n init?: number | ResponseInit\n) => Response;\n\n/**\n * This is a shortcut for creating `application/json` responses. Converts `data`\n * to JSON and sets the `Content-Type` header.\n */\nexport const json: JsonFunction = (data, init = {}) => {\n let responseInit = typeof init === \"number\" ? { status: init } : init;\n\n let headers = new Headers(responseInit.headers);\n if (!headers.has(\"Content-Type\")) {\n headers.set(\"Content-Type\", \"application/json; charset=utf-8\");\n }\n\n return new Response(JSON.stringify(data), {\n ...responseInit,\n headers,\n });\n};\n\nexport interface TrackedPromise extends Promise {\n _tracked?: boolean;\n _data?: any;\n _error?: any;\n}\n\nexport class AbortedDeferredError extends Error {}\n\nexport class DeferredData {\n private pendingKeys: Set = new Set();\n private controller: AbortController;\n private abortPromise: Promise;\n private unlistenAbortSignal: () => void;\n private subscriber?: (aborted: boolean) => void = undefined;\n data: Record;\n\n constructor(data: Record) {\n invariant(\n data && typeof data === \"object\" && !Array.isArray(data),\n \"defer() only accepts plain objects\"\n );\n\n // Set up an AbortController + Promise we can race against to exit early\n // cancellation\n let reject: (e: AbortedDeferredError) => void;\n this.abortPromise = new Promise((_, r) => (reject = r));\n this.controller = new AbortController();\n let onAbort = () =>\n reject(new AbortedDeferredError(\"Deferred data aborted\"));\n this.unlistenAbortSignal = () =>\n this.controller.signal.removeEventListener(\"abort\", onAbort);\n this.controller.signal.addEventListener(\"abort\", onAbort);\n\n this.data = Object.entries(data).reduce(\n (acc, [key, value]) =>\n Object.assign(acc, {\n [key]: this.trackPromise(key, value),\n }),\n {}\n );\n }\n\n private trackPromise(\n key: string | number,\n value: Promise | unknown\n ): TrackedPromise | unknown {\n if (!(value instanceof Promise)) {\n return value;\n }\n\n this.pendingKeys.add(key);\n\n // We store a little wrapper promise that will be extended with\n // _data/_error props upon resolve/reject\n let promise: TrackedPromise = Promise.race([value, this.abortPromise]).then(\n (data) => this.onSettle(promise, key, null, data as unknown),\n (error) => this.onSettle(promise, key, error as unknown)\n );\n\n // Register rejection listeners to avoid uncaught promise rejections on\n // errors or aborted deferred values\n promise.catch(() => {});\n\n Object.defineProperty(promise, \"_tracked\", { get: () => true });\n return promise;\n }\n\n private onSettle(\n promise: TrackedPromise,\n key: string | number,\n error: unknown,\n data?: unknown\n ): unknown {\n if (\n this.controller.signal.aborted &&\n error instanceof AbortedDeferredError\n ) {\n this.unlistenAbortSignal();\n Object.defineProperty(promise, \"_error\", { get: () => error });\n return Promise.reject(error);\n }\n\n this.pendingKeys.delete(key);\n\n if (this.done) {\n // Nothing left to abort!\n this.unlistenAbortSignal();\n }\n\n const subscriber = this.subscriber;\n if (error) {\n Object.defineProperty(promise, \"_error\", { get: () => error });\n subscriber && subscriber(false);\n return Promise.reject(error);\n }\n\n Object.defineProperty(promise, \"_data\", { get: () => data });\n subscriber && subscriber(false);\n return data;\n }\n\n subscribe(fn: (aborted: boolean) => void) {\n this.subscriber = fn;\n }\n\n cancel() {\n this.controller.abort();\n this.pendingKeys.forEach((v, k) => this.pendingKeys.delete(k));\n let subscriber = this.subscriber;\n subscriber && subscriber(true);\n }\n\n async resolveData(signal: AbortSignal) {\n let aborted = false;\n if (!this.done) {\n let onAbort = () => this.cancel();\n signal.addEventListener(\"abort\", onAbort);\n aborted = await new Promise((resolve) => {\n this.subscribe((aborted) => {\n signal.removeEventListener(\"abort\", onAbort);\n if (aborted || this.done) {\n resolve(aborted);\n }\n });\n });\n }\n return aborted;\n }\n\n get done() {\n return this.pendingKeys.size === 0;\n }\n\n get unwrappedData() {\n invariant(\n this.data !== null && this.done,\n \"Can only unwrap data on initialized and settled deferreds\"\n );\n\n return Object.entries(this.data).reduce(\n (acc, [key, value]) =>\n Object.assign(acc, {\n [key]: unwrapTrackedPromise(value),\n }),\n {}\n );\n }\n}\n\nfunction isTrackedPromise(value: any): value is TrackedPromise {\n return (\n value instanceof Promise && (value as TrackedPromise)._tracked === true\n );\n}\n\nfunction unwrapTrackedPromise(value: any) {\n if (!isTrackedPromise(value)) {\n return value;\n }\n\n if (value._error) {\n throw value._error;\n }\n return value._data;\n}\n\nexport function defer(data: Record) {\n return new DeferredData(data);\n}\n\nexport type RedirectFunction = (\n url: string,\n init?: number | ResponseInit\n) => Response;\n\n/**\n * A redirect response. Sets the status code and the `Location` header.\n * Defaults to \"302 Found\".\n */\nexport const redirect: RedirectFunction = (url, init = 302) => {\n let responseInit = init;\n if (typeof responseInit === \"number\") {\n responseInit = { status: responseInit };\n } else if (typeof responseInit.status === \"undefined\") {\n responseInit.status = 302;\n }\n\n let headers = new Headers(responseInit.headers);\n headers.set(\"Location\", url);\n\n return new Response(null, {\n ...responseInit,\n headers,\n });\n};\n\n/**\n * @private\n * Utility class we use to hold auto-unwrapped 4xx/5xx Response bodies\n */\nexport class ErrorResponse {\n status: number;\n statusText: string;\n data: any;\n\n constructor(status: number, statusText: string | undefined, data: any) {\n this.status = status;\n this.statusText = statusText || \"\";\n this.data = data;\n }\n}\n\n/**\n * Check if the given error is an ErrorResponse generated from a 4xx/5xx\n * Response throw from an action/loader\n */\nexport function isRouteErrorResponse(e: any): e is ErrorResponse {\n return e instanceof ErrorResponse;\n}\n","import type { History, Location, To } from \"./history\";\nimport {\n Action as HistoryAction,\n createLocation,\n createPath,\n createURL,\n parsePath,\n} from \"./history\";\nimport type {\n DataResult,\n AgnosticDataRouteMatch,\n AgnosticDataRouteObject,\n DeferredResult,\n ErrorResult,\n FormEncType,\n FormMethod,\n RedirectResult,\n RouteData,\n AgnosticRouteObject,\n Submission,\n SuccessResult,\n AgnosticRouteMatch,\n} from \"./utils\";\nimport {\n DeferredData,\n ErrorResponse,\n ResultType,\n convertRoutesToDataRoutes,\n getPathContributingMatches,\n invariant,\n isRouteErrorResponse,\n joinPaths,\n matchRoutes,\n resolveTo,\n} from \"./utils\";\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Types and Constants\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A Router instance manages all navigation and data loading/mutations\n */\nexport interface Router {\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the basename for the router\n */\n get basename(): RouterInit[\"basename\"];\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the current state of the router\n */\n get state(): RouterState;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the routes for this router instance\n */\n get routes(): AgnosticDataRouteObject[];\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Initialize the router, including adding history listeners and kicking off\n * initial data fetches. Returns a function to cleanup listeners and abort\n * any in-progress loads\n */\n initialize(): Router;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Subscribe to router.state updates\n *\n * @param fn function to call with the new state\n */\n subscribe(fn: RouterSubscriber): () => void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Enable scroll restoration behavior in the router\n *\n * @param savedScrollPositions Object that will manage positions, in case\n * it's being restored from sessionStorage\n * @param getScrollPosition Function to get the active Y scroll position\n * @param getKey Function to get the key to use for restoration\n */\n enableScrollRestoration(\n savedScrollPositions: Record,\n getScrollPosition: GetScrollPositionFunction,\n getKey?: GetScrollRestorationKeyFunction\n ): () => void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Navigate forward/backward in the history stack\n * @param to Delta to move in the history stack\n */\n navigate(to: number): void;\n\n /**\n * Navigate to the given path\n * @param to Path to navigate to\n * @param opts Navigation options (method, submission, etc.)\n */\n navigate(to: To, opts?: RouterNavigateOptions): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Trigger a fetcher load/submission\n *\n * @param key Fetcher key\n * @param routeId Route that owns the fetcher\n * @param href href to fetch\n * @param opts Fetcher options, (method, submission, etc.)\n */\n fetch(\n key: string,\n routeId: string,\n href: string,\n opts?: RouterNavigateOptions\n ): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Trigger a revalidation of all current route loaders and fetcher loads\n */\n revalidate(): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Utility function to create an href for the given location\n * @param location\n */\n createHref(location: Location | URL): string;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Get/create a fetcher for the given key\n * @param key\n */\n getFetcher(key?: string): Fetcher;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Delete the fetcher for a given key\n * @param key\n */\n deleteFetcher(key?: string): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Cleanup listeners and abort any in-progress loads\n */\n dispose(): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Internal fetch AbortControllers accessed by unit tests\n */\n _internalFetchControllers: Map;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Internal pending DeferredData instances accessed by unit tests\n */\n _internalActiveDeferreds: Map;\n}\n\n/**\n * State maintained internally by the router. During a navigation, all states\n * reflect the the \"old\" location unless otherwise noted.\n */\nexport interface RouterState {\n /**\n * The action of the most recent navigation\n */\n historyAction: HistoryAction;\n\n /**\n * The current location reflected by the router\n */\n location: Location;\n\n /**\n * The current set of route matches\n */\n matches: AgnosticDataRouteMatch[];\n\n /**\n * Tracks whether we've completed our initial data load\n */\n initialized: boolean;\n\n /**\n * Current scroll position we should start at for a new view\n * - number -> scroll position to restore to\n * - false -> do not restore scroll at all (used during submissions)\n * - null -> don't have a saved position, scroll to hash or top of page\n */\n restoreScrollPosition: number | false | null;\n\n /**\n * Indicate whether this navigation should skip resetting the scroll position\n * if we are unable to restore the scroll position\n */\n preventScrollReset: boolean;\n\n /**\n * Tracks the state of the current navigation\n */\n navigation: Navigation;\n\n /**\n * Tracks any in-progress revalidations\n */\n revalidation: RevalidationState;\n\n /**\n * Data from the loaders for the current matches\n */\n loaderData: RouteData;\n\n /**\n * Data from the action for the current matches\n */\n actionData: RouteData | null;\n\n /**\n * Errors caught from loaders for the current matches\n */\n errors: RouteData | null;\n\n /**\n * Map of current fetchers\n */\n fetchers: Map;\n}\n\n/**\n * Data that can be passed into hydrate a Router from SSR\n */\nexport type HydrationState = Partial<\n Pick\n>;\n\n/**\n * Initialization options for createRouter\n */\nexport interface RouterInit {\n basename?: string;\n routes: AgnosticRouteObject[];\n history: History;\n hydrationData?: HydrationState;\n}\n\n/**\n * State returned from a server-side query() call\n */\nexport interface StaticHandlerContext {\n location: RouterState[\"location\"];\n matches: RouterState[\"matches\"];\n loaderData: RouterState[\"loaderData\"];\n actionData: RouterState[\"actionData\"];\n errors: RouterState[\"errors\"];\n statusCode: number;\n loaderHeaders: Record;\n actionHeaders: Record;\n _deepestRenderedBoundaryId?: string | null;\n}\n\n/**\n * A StaticHandler instance manages a singular SSR navigation/fetch event\n */\nexport interface StaticHandler {\n dataRoutes: AgnosticDataRouteObject[];\n query(request: Request): Promise;\n queryRoute(request: Request, routeId?: string): Promise;\n}\n\n/**\n * Subscriber function signature for changes to router state\n */\nexport interface RouterSubscriber {\n (state: RouterState): void;\n}\n\ninterface UseMatchesMatch {\n id: string;\n pathname: string;\n params: AgnosticRouteMatch[\"params\"];\n data: unknown;\n handle: unknown;\n}\n\n/**\n * Function signature for determining the key to be used in scroll restoration\n * for a given location\n */\nexport interface GetScrollRestorationKeyFunction {\n (location: Location, matches: UseMatchesMatch[]): string | null;\n}\n\n/**\n * Function signature for determining the current scroll position\n */\nexport interface GetScrollPositionFunction {\n (): number;\n}\n\n/**\n * Options for a navigate() call for a Link navigation\n */\ntype LinkNavigateOptions = {\n replace?: boolean;\n state?: any;\n preventScrollReset?: boolean;\n};\n\n/**\n * Options for a navigate() call for a Form navigation\n */\ntype SubmissionNavigateOptions = {\n replace?: boolean;\n state?: any;\n formMethod?: FormMethod;\n formEncType?: FormEncType;\n formData: FormData;\n};\n\n/**\n * Options to pass to navigate() for either a Link or Form navigation\n */\nexport type RouterNavigateOptions =\n | LinkNavigateOptions\n | SubmissionNavigateOptions;\n\n/**\n * Options to pass to fetch()\n */\nexport type RouterFetchOptions =\n | Omit\n | Omit;\n\n/**\n * Potential states for state.navigation\n */\nexport type NavigationStates = {\n Idle: {\n state: \"idle\";\n location: undefined;\n formMethod: undefined;\n formAction: undefined;\n formEncType: undefined;\n formData: undefined;\n };\n Loading: {\n state: \"loading\";\n location: Location;\n formMethod: FormMethod | undefined;\n formAction: string | undefined;\n formEncType: FormEncType | undefined;\n formData: FormData | undefined;\n };\n Submitting: {\n state: \"submitting\";\n location: Location;\n formMethod: FormMethod;\n formAction: string;\n formEncType: FormEncType;\n formData: FormData;\n };\n};\n\nexport type Navigation = NavigationStates[keyof NavigationStates];\n\nexport type RevalidationState = \"idle\" | \"loading\";\n\n/**\n * Potential states for fetchers\n */\ntype FetcherStates = {\n Idle: {\n state: \"idle\";\n formMethod: undefined;\n formAction: undefined;\n formEncType: undefined;\n formData: undefined;\n data: TData | undefined;\n };\n Loading: {\n state: \"loading\";\n formMethod: FormMethod | undefined;\n formAction: string | undefined;\n formEncType: FormEncType | undefined;\n formData: FormData | undefined;\n data: TData | undefined;\n };\n Submitting: {\n state: \"submitting\";\n formMethod: FormMethod;\n formAction: string;\n formEncType: FormEncType;\n formData: FormData;\n data: TData | undefined;\n };\n};\n\nexport type Fetcher =\n FetcherStates[keyof FetcherStates];\n\ninterface ShortCircuitable {\n /**\n * startNavigation does not need to complete the navigation because we\n * redirected or got interrupted\n */\n shortCircuited?: boolean;\n}\n\ninterface HandleActionResult extends ShortCircuitable {\n /**\n * Error thrown from the current action, keyed by the route containing the\n * error boundary to render the error. To be committed to the state after\n * loaders have completed\n */\n pendingActionError?: RouteData;\n /**\n * Data returned from the current action, keyed by the route owning the action.\n * To be committed to the state after loaders have completed\n */\n pendingActionData?: RouteData;\n}\n\ninterface HandleLoadersResult extends ShortCircuitable {\n /**\n * loaderData returned from the current set of loaders\n */\n loaderData?: RouterState[\"loaderData\"];\n /**\n * errors thrown from the current set of loaders\n */\n errors?: RouterState[\"errors\"];\n}\n\n/**\n * Tuple of [key, href, DataRouteMatch, DataRouteMatch[]] for a revalidating\n * fetcher.load()\n */\ntype RevalidatingFetcher = [\n string,\n string,\n AgnosticDataRouteMatch,\n AgnosticDataRouteMatch[]\n];\n\n/**\n * Tuple of [href, DataRouteMatch, DataRouteMatch[]] for an active\n * fetcher.load()\n */\ntype FetchLoadMatch = [\n string,\n AgnosticDataRouteMatch,\n AgnosticDataRouteMatch[]\n];\n\n/**\n * Wrapper object to allow us to throw any response out from callLoaderOrAction\n * for queryRouter while preserving whether or not it was thrown or returned\n * from the loader/action\n */\ninterface QueryRouteResponse {\n type: ResultType.data | ResultType.error;\n response: Response;\n}\n\nexport const IDLE_NAVIGATION: NavigationStates[\"Idle\"] = {\n state: \"idle\",\n location: undefined,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n};\n\nexport const IDLE_FETCHER: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: undefined,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n};\n\nconst isBrowser =\n typeof window !== \"undefined\" &&\n typeof window.document !== \"undefined\" &&\n typeof window.document.createElement !== \"undefined\";\nconst isServer = !isBrowser;\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region createRouter\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Create a router and listen to history POP navigations\n */\nexport function createRouter(init: RouterInit): Router {\n invariant(\n init.routes.length > 0,\n \"You must provide a non-empty routes array to createRouter\"\n );\n\n let dataRoutes = convertRoutesToDataRoutes(init.routes);\n // Cleanup function for history\n let unlistenHistory: (() => void) | null = null;\n // Externally-provided functions to call on all state changes\n let subscribers = new Set();\n // Externally-provided object to hold scroll restoration locations during routing\n let savedScrollPositions: Record | null = null;\n // Externally-provided function to get scroll restoration keys\n let getScrollRestorationKey: GetScrollRestorationKeyFunction | null = null;\n // Externally-provided function to get current scroll position\n let getScrollPosition: GetScrollPositionFunction | null = null;\n // One-time flag to control the initial hydration scroll restoration. Because\n // we don't get the saved positions from until _after_\n // the initial render, we need to manually trigger a separate updateState to\n // send along the restoreScrollPosition\n let initialScrollRestored = false;\n\n let initialMatches = matchRoutes(\n dataRoutes,\n init.history.location,\n init.basename\n );\n let initialErrors: RouteData | null = null;\n\n if (initialMatches == null) {\n // If we do not match a user-provided-route, fall back to the root\n // to allow the error boundary to take over\n let { matches, route, error } = getNotFoundMatches(dataRoutes);\n initialMatches = matches;\n initialErrors = { [route.id]: error };\n }\n\n let initialized =\n !initialMatches.some((m) => m.route.loader) || init.hydrationData != null;\n\n let router: Router;\n let state: RouterState = {\n historyAction: init.history.action,\n location: init.history.location,\n matches: initialMatches,\n initialized,\n navigation: IDLE_NAVIGATION,\n restoreScrollPosition: null,\n preventScrollReset: false,\n revalidation: \"idle\",\n loaderData: (init.hydrationData && init.hydrationData.loaderData) || {},\n actionData: (init.hydrationData && init.hydrationData.actionData) || null,\n errors: (init.hydrationData && init.hydrationData.errors) || initialErrors,\n fetchers: new Map(),\n };\n\n // -- Stateful internal variables to manage navigations --\n // Current navigation in progress (to be committed in completeNavigation)\n let pendingAction: HistoryAction = HistoryAction.Pop;\n // Should the current navigation prevent the scroll reset if scroll cannot\n // be restored?\n let pendingPreventScrollReset = false;\n // AbortController for the active navigation\n let pendingNavigationController: AbortController | null;\n // We use this to avoid touching history in completeNavigation if a\n // revalidation is entirely uninterrupted\n let isUninterruptedRevalidation = false;\n // Use this internal flag to force revalidation of all loaders:\n // - submissions (completed or interrupted)\n // - useRevalidate()\n // - X-Remix-Revalidate (from redirect)\n let isRevalidationRequired = false;\n // Use this internal array to capture routes that require revalidation due\n // to a cancelled deferred on action submission\n let cancelledDeferredRoutes: string[] = [];\n // Use this internal array to capture fetcher loads that were cancelled by an\n // action navigation and require revalidation\n let cancelledFetcherLoads: string[] = [];\n // AbortControllers for any in-flight fetchers\n let fetchControllers = new Map();\n // Track loads based on the order in which they started\n let incrementingLoadId = 0;\n // Track the outstanding pending navigation data load to be compared against\n // the globally incrementing load when a fetcher load lands after a completed\n // navigation\n let pendingNavigationLoadId = -1;\n // Fetchers that triggered data reloads as a result of their actions\n let fetchReloadIds = new Map();\n // Fetchers that triggered redirect navigations from their actions\n let fetchRedirectIds = new Set();\n // Most recent href/match for fetcher.load calls for fetchers\n let fetchLoadMatches = new Map();\n // Store DeferredData instances for active route matches. When a\n // route loader returns defer() we stick one in here. Then, when a nested\n // promise resolves we update loaderData. If a new navigation starts we\n // cancel active deferreds for eliminated routes.\n let activeDeferreds = new Map();\n\n // Initialize the router, all side effects should be kicked off from here.\n // Implemented as a Fluent API for ease of:\n // let router = createRouter(init).initialize();\n function initialize() {\n // If history informs us of a POP navigation, start the navigation but do not update\n // state. We'll update our own state once the navigation completes\n unlistenHistory = init.history.listen(\n ({ action: historyAction, location }) =>\n startNavigation(historyAction, location)\n );\n\n // Kick off initial data load if needed. Use Pop to avoid modifying history\n if (!state.initialized) {\n startNavigation(HistoryAction.Pop, state.location);\n }\n\n return router;\n }\n\n // Clean up a router and it's side effects\n function dispose() {\n if (unlistenHistory) {\n unlistenHistory();\n }\n subscribers.clear();\n pendingNavigationController && pendingNavigationController.abort();\n state.fetchers.forEach((_, key) => deleteFetcher(key));\n }\n\n // Subscribe to state updates for the router\n function subscribe(fn: RouterSubscriber) {\n subscribers.add(fn);\n return () => subscribers.delete(fn);\n }\n\n // Update our state and notify the calling context of the change\n function updateState(newState: Partial): void {\n state = {\n ...state,\n ...newState,\n };\n subscribers.forEach((subscriber) => subscriber(state));\n }\n\n // Complete a navigation returning the state.navigation back to the IDLE_NAVIGATION\n // and setting state.[historyAction/location/matches] to the new route.\n // - Location is a required param\n // - Navigation will always be set to IDLE_NAVIGATION\n // - Can pass any other state in newState\n function completeNavigation(\n location: Location,\n newState: Partial>\n ): void {\n // Deduce if we're in a loading/actionReload state:\n // - We have committed actionData in the store\n // - The current navigation was a submission\n // - We're past the submitting state and into the loading state\n // - The location we've finished loading is different from the submission\n // location, indicating we redirected from the action (avoids false\n // positives for loading/submissionRedirect when actionData returned\n // on a prior submission)\n let isActionReload =\n state.actionData != null &&\n state.navigation.formMethod != null &&\n state.navigation.state === \"loading\" &&\n state.navigation.formAction?.split(\"?\")[0] === location.pathname;\n\n // Always preserve any existing loaderData from re-used routes\n let newLoaderData = newState.loaderData\n ? {\n loaderData: mergeLoaderData(\n state.loaderData,\n newState.loaderData,\n newState.matches || []\n ),\n }\n : {};\n\n updateState({\n // Clear existing actionData on any completed navigation beyond the original\n // action, unless we're currently finishing the loading/actionReload state.\n // Do this prior to spreading in newState in case we got back to back actions\n ...(isActionReload ? {} : { actionData: null }),\n ...newState,\n ...newLoaderData,\n historyAction: pendingAction,\n location,\n initialized: true,\n navigation: IDLE_NAVIGATION,\n revalidation: \"idle\",\n // Don't restore on submission navigations\n restoreScrollPosition: state.navigation.formData\n ? false\n : getSavedScrollPosition(location, newState.matches || state.matches),\n preventScrollReset: pendingPreventScrollReset,\n });\n\n if (isUninterruptedRevalidation) {\n // If this was an uninterrupted revalidation then do not touch history\n } else if (pendingAction === HistoryAction.Pop) {\n // Do nothing for POP - URL has already been updated\n } else if (pendingAction === HistoryAction.Push) {\n init.history.push(location, location.state);\n } else if (pendingAction === HistoryAction.Replace) {\n init.history.replace(location, location.state);\n }\n\n // Reset stateful navigation vars\n pendingAction = HistoryAction.Pop;\n pendingPreventScrollReset = false;\n isUninterruptedRevalidation = false;\n isRevalidationRequired = false;\n cancelledDeferredRoutes = [];\n cancelledFetcherLoads = [];\n }\n\n // Trigger a navigation event, which can either be a numerical POP or a PUSH\n // replace with an optional submission\n async function navigate(\n to: number | To,\n opts?: RouterNavigateOptions\n ): Promise {\n if (typeof to === \"number\") {\n init.history.go(to);\n return;\n }\n\n let { path, submission, error } = normalizeNavigateOptions(to, opts);\n\n let location = createLocation(state.location, path, opts && opts.state);\n\n // When using navigate as a PUSH/REPLACE we aren't reading an already-encoded\n // URL from window.location, so we need to encode it here so the behavior\n // remains the same as POP and non-data-router usages. new URL() does all\n // the same encoding we'd get from a history.pushState/window.location read\n // without having to touch history\n location = init.history.encodeLocation(location);\n\n let historyAction =\n (opts && opts.replace) === true || submission != null\n ? HistoryAction.Replace\n : HistoryAction.Push;\n let preventScrollReset =\n opts && \"preventScrollReset\" in opts\n ? opts.preventScrollReset === true\n : undefined;\n\n return await startNavigation(historyAction, location, {\n submission,\n // Send through the formData serialization error if we have one so we can\n // render at the right error boundary after we match routes\n pendingError: error,\n preventScrollReset,\n replace: opts && opts.replace,\n });\n }\n\n // Revalidate all current loaders. If a navigation is in progress or if this\n // is interrupted by a navigation, allow this to \"succeed\" by calling all\n // loaders during the next loader round\n function revalidate() {\n interruptActiveLoads();\n updateState({ revalidation: \"loading\" });\n\n // If we're currently submitting an action, we don't need to start a new\n // navigation, we'll just let the follow up loader execution call all loaders\n if (state.navigation.state === \"submitting\") {\n return;\n }\n\n // If we're currently in an idle state, start a new navigation for the current\n // action/location and mark it as uninterrupted, which will skip the history\n // update in completeNavigation\n if (state.navigation.state === \"idle\") {\n startNavigation(state.historyAction, state.location, {\n startUninterruptedRevalidation: true,\n });\n return;\n }\n\n // Otherwise, if we're currently in a loading state, just start a new\n // navigation to the navigation.location but do not trigger an uninterrupted\n // revalidation so that history correctly updates once the navigation completes\n startNavigation(\n pendingAction || state.historyAction,\n state.navigation.location,\n { overrideNavigation: state.navigation }\n );\n }\n\n // Start a navigation to the given action/location. Can optionally provide a\n // overrideNavigation which will override the normalLoad in the case of a redirect\n // navigation\n async function startNavigation(\n historyAction: HistoryAction,\n location: Location,\n opts?: {\n submission?: Submission;\n overrideNavigation?: Navigation;\n pendingError?: ErrorResponse;\n startUninterruptedRevalidation?: boolean;\n preventScrollReset?: boolean;\n replace?: boolean;\n }\n ): Promise {\n // Abort any in-progress navigations and start a new one. Unset any ongoing\n // uninterrupted revalidations unless told otherwise, since we want this\n // new navigation to update history normally\n pendingNavigationController && pendingNavigationController.abort();\n pendingNavigationController = null;\n pendingAction = historyAction;\n isUninterruptedRevalidation =\n (opts && opts.startUninterruptedRevalidation) === true;\n\n // Save the current scroll position every time we start a new navigation,\n // and track whether we should reset scroll on completion\n saveScrollPosition(state.location, state.matches);\n pendingPreventScrollReset = (opts && opts.preventScrollReset) === true;\n\n let loadingNavigation = opts && opts.overrideNavigation;\n let matches = matchRoutes(dataRoutes, location, init.basename);\n\n // Short circuit with a 404 on the root error boundary if we match nothing\n if (!matches) {\n let {\n matches: notFoundMatches,\n route,\n error,\n } = getNotFoundMatches(dataRoutes);\n // Cancel all pending deferred on 404s since we don't keep any routes\n cancelActiveDeferreds();\n completeNavigation(location, {\n matches: notFoundMatches,\n loaderData: {},\n errors: {\n [route.id]: error,\n },\n });\n return;\n }\n\n // Short circuit if it's only a hash change\n if (isHashChangeOnly(state.location, location)) {\n completeNavigation(location, { matches });\n return;\n }\n\n // Create a controller/Request for this navigation\n pendingNavigationController = new AbortController();\n let request = createRequest(\n location,\n pendingNavigationController.signal,\n opts && opts.submission\n );\n let pendingActionData: RouteData | undefined;\n let pendingError: RouteData | undefined;\n\n if (opts && opts.pendingError) {\n // If we have a pendingError, it means the user attempted a GET submission\n // with binary FormData so assign here and skip to handleLoaders. That\n // way we handle calling loaders above the boundary etc. It's not really\n // different from an actionError in that sense.\n pendingError = {\n [findNearestBoundary(matches).route.id]: opts.pendingError,\n };\n } else if (opts && opts.submission) {\n // Call action if we received an action submission\n let actionOutput = await handleAction(\n request,\n location,\n opts.submission,\n matches,\n { replace: opts.replace }\n );\n\n if (actionOutput.shortCircuited) {\n return;\n }\n\n pendingActionData = actionOutput.pendingActionData;\n pendingError = actionOutput.pendingActionError;\n\n let navigation: NavigationStates[\"Loading\"] = {\n state: \"loading\",\n location,\n ...opts.submission,\n };\n loadingNavigation = navigation;\n }\n\n // Call loaders\n let { shortCircuited, loaderData, errors } = await handleLoaders(\n request,\n location,\n matches,\n loadingNavigation,\n opts && opts.submission,\n opts && opts.replace,\n pendingActionData,\n pendingError\n );\n\n if (shortCircuited) {\n return;\n }\n\n // Clean up now that the action/loaders have completed. Don't clean up if\n // we short circuited because pendingNavigationController will have already\n // been assigned to a new controller for the next navigation\n pendingNavigationController = null;\n\n completeNavigation(location, {\n matches,\n loaderData,\n errors,\n });\n }\n\n // Call the action matched by the leaf route for this navigation and handle\n // redirects/errors\n async function handleAction(\n request: Request,\n location: Location,\n submission: Submission,\n matches: AgnosticDataRouteMatch[],\n opts?: { replace?: boolean }\n ): Promise {\n interruptActiveLoads();\n\n // Put us in a submitting state\n let navigation: NavigationStates[\"Submitting\"] = {\n state: \"submitting\",\n location,\n ...submission,\n };\n updateState({ navigation });\n\n // Call our action and get the result\n let result: DataResult;\n let actionMatch = getTargetMatch(matches, location);\n\n if (!actionMatch.route.action) {\n result = getMethodNotAllowedResult(location);\n } else {\n result = await callLoaderOrAction(\n \"action\",\n request,\n actionMatch,\n matches,\n router.basename\n );\n\n if (request.signal.aborted) {\n return { shortCircuited: true };\n }\n }\n\n if (isRedirectResult(result)) {\n let redirectNavigation: NavigationStates[\"Loading\"] = {\n state: \"loading\",\n location: createLocation(state.location, result.location),\n ...submission,\n };\n await startRedirectNavigation(\n result,\n redirectNavigation,\n opts && opts.replace\n );\n return { shortCircuited: true };\n }\n\n if (isErrorResult(result)) {\n // Store off the pending error - we use it to determine which loaders\n // to call and will commit it when we complete the navigation\n let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);\n\n // By default, all submissions are REPLACE navigations, but if the\n // action threw an error that'll be rendered in an errorElement, we fall\n // back to PUSH so that the user can use the back button to get back to\n // the pre-submission form location to try again\n if ((opts && opts.replace) !== true) {\n pendingAction = HistoryAction.Push;\n }\n\n return {\n pendingActionError: { [boundaryMatch.route.id]: result.error },\n };\n }\n\n if (isDeferredResult(result)) {\n throw new Error(\"defer() is not supported in actions\");\n }\n\n return {\n pendingActionData: { [actionMatch.route.id]: result.data },\n };\n }\n\n // Call all applicable loaders for the given matches, handling redirects,\n // errors, etc.\n async function handleLoaders(\n request: Request,\n location: Location,\n matches: AgnosticDataRouteMatch[],\n overrideNavigation?: Navigation,\n submission?: Submission,\n replace?: boolean,\n pendingActionData?: RouteData,\n pendingError?: RouteData\n ): Promise {\n // Figure out the right navigation we want to use for data loading\n let loadingNavigation = overrideNavigation;\n if (!loadingNavigation) {\n let navigation: NavigationStates[\"Loading\"] = {\n state: \"loading\",\n location,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n };\n loadingNavigation = navigation;\n }\n\n let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(\n state,\n matches,\n submission,\n location,\n isRevalidationRequired,\n cancelledDeferredRoutes,\n cancelledFetcherLoads,\n pendingActionData,\n pendingError,\n fetchLoadMatches\n );\n\n // Cancel pending deferreds for no-longer-matched routes or routes we're\n // about to reload. Note that if this is an action reload we would have\n // already cancelled all pending deferreds so this would be a no-op\n cancelActiveDeferreds(\n (routeId) =>\n !(matches && matches.some((m) => m.route.id === routeId)) ||\n (matchesToLoad && matchesToLoad.some((m) => m.route.id === routeId))\n );\n\n // Short circuit if we have no loaders to run\n if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) {\n completeNavigation(location, {\n matches,\n loaderData: mergeLoaderData(state.loaderData, {}, matches),\n // Commit pending error if we're short circuiting\n errors: pendingError || null,\n actionData: pendingActionData || null,\n });\n return { shortCircuited: true };\n }\n\n // If this is an uninterrupted revalidation, we remain in our current idle\n // state. If not, we need to switch to our loading state and load data,\n // preserving any new action data or existing action data (in the case of\n // a revalidation interrupting an actionReload)\n if (!isUninterruptedRevalidation) {\n revalidatingFetchers.forEach(([key]) => {\n let fetcher = state.fetchers.get(key);\n let revalidatingFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n data: fetcher && fetcher.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n };\n state.fetchers.set(key, revalidatingFetcher);\n });\n updateState({\n navigation: loadingNavigation,\n actionData: pendingActionData || state.actionData || null,\n ...(revalidatingFetchers.length > 0\n ? { fetchers: new Map(state.fetchers) }\n : {}),\n });\n }\n\n pendingNavigationLoadId = ++incrementingLoadId;\n revalidatingFetchers.forEach(([key]) =>\n fetchControllers.set(key, pendingNavigationController!)\n );\n\n let { results, loaderResults, fetcherResults } =\n await callLoadersAndMaybeResolveData(\n state.matches,\n matches,\n matchesToLoad,\n revalidatingFetchers,\n request\n );\n\n if (request.signal.aborted) {\n return { shortCircuited: true };\n }\n\n // Clean up _after_ loaders have completed. Don't clean up if we short\n // circuited because fetchControllers would have been aborted and\n // reassigned to new controllers for the next navigation\n revalidatingFetchers.forEach(([key]) => fetchControllers.delete(key));\n\n // If any loaders returned a redirect Response, start a new REPLACE navigation\n let redirect = findRedirect(results);\n if (redirect) {\n let redirectNavigation = getLoaderRedirect(state, redirect);\n await startRedirectNavigation(redirect, redirectNavigation, replace);\n return { shortCircuited: true };\n }\n\n // Process and commit output from loaders\n let { loaderData, errors } = processLoaderData(\n state,\n matches,\n matchesToLoad,\n loaderResults,\n pendingError,\n revalidatingFetchers,\n fetcherResults,\n activeDeferreds\n );\n\n // Wire up subscribers to update loaderData as promises settle\n activeDeferreds.forEach((deferredData, routeId) => {\n deferredData.subscribe((aborted) => {\n // Note: No need to updateState here since the TrackedPromise on\n // loaderData is stable across resolve/reject\n // Remove this instance if we were aborted or if promises have settled\n if (aborted || deferredData.done) {\n activeDeferreds.delete(routeId);\n }\n });\n });\n\n markFetchRedirectsDone();\n let didAbortFetchLoads = abortStaleFetchLoads(pendingNavigationLoadId);\n\n return {\n loaderData,\n errors,\n ...(didAbortFetchLoads || revalidatingFetchers.length > 0\n ? { fetchers: new Map(state.fetchers) }\n : {}),\n };\n }\n\n function getFetcher(key: string): Fetcher {\n return state.fetchers.get(key) || IDLE_FETCHER;\n }\n\n // Trigger a fetcher load/submit for the given fetcher key\n function fetch(\n key: string,\n routeId: string,\n href: string,\n opts?: RouterFetchOptions\n ) {\n if (isServer) {\n throw new Error(\n \"router.fetch() was called during the server render, but it shouldn't be. \" +\n \"You are likely calling a useFetcher() method in the body of your component. \" +\n \"Try moving it to a useEffect or a callback.\"\n );\n }\n\n if (fetchControllers.has(key)) abortFetcher(key);\n\n let matches = matchRoutes(dataRoutes, href, init.basename);\n if (!matches) {\n setFetcherError(key, routeId, new ErrorResponse(404, \"Not Found\", null));\n return;\n }\n\n let { path, submission } = normalizeNavigateOptions(href, opts, true);\n let match = getTargetMatch(matches, path);\n\n if (submission) {\n handleFetcherAction(key, routeId, path, match, matches, submission);\n return;\n }\n\n // Store off the match so we can call it's shouldRevalidate on subsequent\n // revalidations\n fetchLoadMatches.set(key, [path, match, matches]);\n handleFetcherLoader(key, routeId, path, match, matches);\n }\n\n // Call the action for the matched fetcher.submit(), and then handle redirects,\n // errors, and revalidation\n async function handleFetcherAction(\n key: string,\n routeId: string,\n path: string,\n match: AgnosticDataRouteMatch,\n requestMatches: AgnosticDataRouteMatch[],\n submission: Submission\n ) {\n interruptActiveLoads();\n fetchLoadMatches.delete(key);\n\n if (!match.route.action) {\n let { error } = getMethodNotAllowedResult(path);\n setFetcherError(key, routeId, error);\n return;\n }\n\n // Put this fetcher into it's submitting state\n let existingFetcher = state.fetchers.get(key);\n let fetcher: FetcherStates[\"Submitting\"] = {\n state: \"submitting\",\n ...submission,\n data: existingFetcher && existingFetcher.data,\n };\n state.fetchers.set(key, fetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n\n // Call the action for the fetcher\n let abortController = new AbortController();\n let fetchRequest = createRequest(path, abortController.signal, submission);\n fetchControllers.set(key, abortController);\n\n let actionResult = await callLoaderOrAction(\n \"action\",\n fetchRequest,\n match,\n requestMatches,\n router.basename\n );\n\n if (fetchRequest.signal.aborted) {\n // We can delete this so long as we weren't aborted by ou our own fetcher\n // re-submit which would have put _new_ controller is in fetchControllers\n if (fetchControllers.get(key) === abortController) {\n fetchControllers.delete(key);\n }\n return;\n }\n\n if (isRedirectResult(actionResult)) {\n fetchControllers.delete(key);\n fetchRedirectIds.add(key);\n let loadingFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n ...submission,\n data: undefined,\n };\n state.fetchers.set(key, loadingFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n\n let redirectNavigation: NavigationStates[\"Loading\"] = {\n state: \"loading\",\n location: createLocation(state.location, actionResult.location),\n ...submission,\n };\n await startRedirectNavigation(actionResult, redirectNavigation);\n return;\n }\n\n // Process any non-redirect errors thrown\n if (isErrorResult(actionResult)) {\n setFetcherError(key, routeId, actionResult.error);\n return;\n }\n\n if (isDeferredResult(actionResult)) {\n invariant(false, \"defer() is not supported in actions\");\n }\n\n // Start the data load for current matches, or the next location if we're\n // in the middle of a navigation\n let nextLocation = state.navigation.location || state.location;\n let revalidationRequest = createRequest(\n nextLocation,\n abortController.signal\n );\n let matches =\n state.navigation.state !== \"idle\"\n ? matchRoutes(dataRoutes, state.navigation.location, init.basename)\n : state.matches;\n\n invariant(matches, \"Didn't find any matches after fetcher action\");\n\n let loadId = ++incrementingLoadId;\n fetchReloadIds.set(key, loadId);\n\n let loadFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n data: actionResult.data,\n ...submission,\n };\n state.fetchers.set(key, loadFetcher);\n\n let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(\n state,\n matches,\n submission,\n nextLocation,\n isRevalidationRequired,\n cancelledDeferredRoutes,\n cancelledFetcherLoads,\n { [match.route.id]: actionResult.data },\n undefined, // No need to send through errors since we short circuit above\n fetchLoadMatches\n );\n\n // Put all revalidating fetchers into the loading state, except for the\n // current fetcher which we want to keep in it's current loading state which\n // contains it's action submission info + action data\n revalidatingFetchers\n .filter(([staleKey]) => staleKey !== key)\n .forEach(([staleKey]) => {\n let existingFetcher = state.fetchers.get(staleKey);\n let revalidatingFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n data: existingFetcher && existingFetcher.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n };\n state.fetchers.set(staleKey, revalidatingFetcher);\n fetchControllers.set(staleKey, abortController);\n });\n\n updateState({ fetchers: new Map(state.fetchers) });\n\n let { results, loaderResults, fetcherResults } =\n await callLoadersAndMaybeResolveData(\n state.matches,\n matches,\n matchesToLoad,\n revalidatingFetchers,\n revalidationRequest\n );\n\n if (abortController.signal.aborted) {\n return;\n }\n\n fetchReloadIds.delete(key);\n fetchControllers.delete(key);\n revalidatingFetchers.forEach(([staleKey]) =>\n fetchControllers.delete(staleKey)\n );\n\n let redirect = findRedirect(results);\n if (redirect) {\n let redirectNavigation = getLoaderRedirect(state, redirect);\n await startRedirectNavigation(redirect, redirectNavigation);\n return;\n }\n\n // Process and commit output from loaders\n let { loaderData, errors } = processLoaderData(\n state,\n state.matches,\n matchesToLoad,\n loaderResults,\n undefined,\n revalidatingFetchers,\n fetcherResults,\n activeDeferreds\n );\n\n let doneFetcher: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: actionResult.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n };\n state.fetchers.set(key, doneFetcher);\n\n let didAbortFetchLoads = abortStaleFetchLoads(loadId);\n\n // If we are currently in a navigation loading state and this fetcher is\n // more recent than the navigation, we want the newer data so abort the\n // navigation and complete it with the fetcher data\n if (\n state.navigation.state === \"loading\" &&\n loadId > pendingNavigationLoadId\n ) {\n invariant(pendingAction, \"Expected pending action\");\n pendingNavigationController && pendingNavigationController.abort();\n\n completeNavigation(state.navigation.location, {\n matches,\n loaderData,\n errors,\n fetchers: new Map(state.fetchers),\n });\n } else {\n // otherwise just update with the fetcher data, preserving any existing\n // loaderData for loaders that did not need to reload. We have to\n // manually merge here since we aren't going through completeNavigation\n updateState({\n errors,\n loaderData: mergeLoaderData(state.loaderData, loaderData, matches),\n ...(didAbortFetchLoads ? { fetchers: new Map(state.fetchers) } : {}),\n });\n isRevalidationRequired = false;\n }\n }\n\n // Call the matched loader for fetcher.load(), handling redirects, errors, etc.\n async function handleFetcherLoader(\n key: string,\n routeId: string,\n path: string,\n match: AgnosticDataRouteMatch,\n matches: AgnosticDataRouteMatch[]\n ) {\n let existingFetcher = state.fetchers.get(key);\n // Put this fetcher into it's loading state\n let loadingFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n data: existingFetcher && existingFetcher.data,\n };\n state.fetchers.set(key, loadingFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n\n // Call the loader for this fetcher route match\n let abortController = new AbortController();\n let fetchRequest = createRequest(path, abortController.signal);\n fetchControllers.set(key, abortController);\n let result: DataResult = await callLoaderOrAction(\n \"loader\",\n fetchRequest,\n match,\n matches,\n router.basename\n );\n\n // Deferred isn't supported or fetcher loads, await everything and treat it\n // as a normal load. resolveDeferredData will return undefined if this\n // fetcher gets aborted, so we just leave result untouched and short circuit\n // below if that happens\n if (isDeferredResult(result)) {\n result =\n (await resolveDeferredData(result, fetchRequest.signal, true)) ||\n result;\n }\n\n // We can delete this so long as we weren't aborted by ou our own fetcher\n // re-load which would have put _new_ controller is in fetchControllers\n if (fetchControllers.get(key) === abortController) {\n fetchControllers.delete(key);\n }\n\n if (fetchRequest.signal.aborted) {\n return;\n }\n\n // If the loader threw a redirect Response, start a new REPLACE navigation\n if (isRedirectResult(result)) {\n let redirectNavigation = getLoaderRedirect(state, result);\n await startRedirectNavigation(result, redirectNavigation);\n return;\n }\n\n // Process any non-redirect errors thrown\n if (isErrorResult(result)) {\n let boundaryMatch = findNearestBoundary(state.matches, routeId);\n state.fetchers.delete(key);\n // TODO: In remix, this would reset to IDLE_NAVIGATION if it was a catch -\n // do we need to behave any differently with our non-redirect errors?\n // What if it was a non-redirect Response?\n updateState({\n fetchers: new Map(state.fetchers),\n errors: {\n [boundaryMatch.route.id]: result.error,\n },\n });\n return;\n }\n\n invariant(!isDeferredResult(result), \"Unhandled fetcher deferred data\");\n\n // Put the fetcher back into an idle state\n let doneFetcher: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: result.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n };\n state.fetchers.set(key, doneFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n }\n\n /**\n * Utility function to handle redirects returned from an action or loader.\n * Normally, a redirect \"replaces\" the navigation that triggered it. So, for\n * example:\n *\n * - user is on /a\n * - user clicks a link to /b\n * - loader for /b redirects to /c\n *\n * In a non-JS app the browser would track the in-flight navigation to /b and\n * then replace it with /c when it encountered the redirect response. In\n * the end it would only ever update the URL bar with /c.\n *\n * In client-side routing using pushState/replaceState, we aim to emulate\n * this behavior and we also do not update history until the end of the\n * navigation (including processed redirects). This means that we never\n * actually touch history until we've processed redirects, so we just use\n * the history action from the original navigation (PUSH or REPLACE).\n */\n async function startRedirectNavigation(\n redirect: RedirectResult,\n navigation: Navigation,\n replace?: boolean\n ) {\n if (redirect.revalidate) {\n isRevalidationRequired = true;\n }\n invariant(\n navigation.location,\n \"Expected a location on the redirect navigation\"\n );\n // There's no need to abort on redirects, since we don't detect the\n // redirect until the action/loaders have settled\n pendingNavigationController = null;\n\n let redirectHistoryAction =\n replace === true ? HistoryAction.Replace : HistoryAction.Push;\n\n await startNavigation(redirectHistoryAction, navigation.location, {\n overrideNavigation: navigation,\n });\n }\n\n async function callLoadersAndMaybeResolveData(\n currentMatches: AgnosticDataRouteMatch[],\n matches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n fetchersToLoad: RevalidatingFetcher[],\n request: Request\n ) {\n // Call all navigation loaders and revalidating fetcher loaders in parallel,\n // then slice off the results into separate arrays so we can handle them\n // accordingly\n let results = await Promise.all([\n ...matchesToLoad.map((match) =>\n callLoaderOrAction(\"loader\", request, match, matches, router.basename)\n ),\n ...fetchersToLoad.map(([, href, match, fetchMatches]) =>\n callLoaderOrAction(\n \"loader\",\n createRequest(href, request.signal),\n match,\n fetchMatches,\n router.basename\n )\n ),\n ]);\n let loaderResults = results.slice(0, matchesToLoad.length);\n let fetcherResults = results.slice(matchesToLoad.length);\n\n await Promise.all([\n resolveDeferredResults(\n currentMatches,\n matchesToLoad,\n loaderResults,\n request.signal,\n false,\n state.loaderData\n ),\n resolveDeferredResults(\n currentMatches,\n fetchersToLoad.map(([, , match]) => match),\n fetcherResults,\n request.signal,\n true\n ),\n ]);\n\n return { results, loaderResults, fetcherResults };\n }\n\n function interruptActiveLoads() {\n // Every interruption triggers a revalidation\n isRevalidationRequired = true;\n\n // Cancel pending route-level deferreds and mark cancelled routes for\n // revalidation\n cancelledDeferredRoutes.push(...cancelActiveDeferreds());\n\n // Abort in-flight fetcher loads\n fetchLoadMatches.forEach((_, key) => {\n if (fetchControllers.has(key)) {\n cancelledFetcherLoads.push(key);\n abortFetcher(key);\n }\n });\n }\n\n function setFetcherError(key: string, routeId: string, error: any) {\n let boundaryMatch = findNearestBoundary(state.matches, routeId);\n deleteFetcher(key);\n updateState({\n errors: {\n [boundaryMatch.route.id]: error,\n },\n fetchers: new Map(state.fetchers),\n });\n }\n\n function deleteFetcher(key: string): void {\n if (fetchControllers.has(key)) abortFetcher(key);\n fetchLoadMatches.delete(key);\n fetchReloadIds.delete(key);\n fetchRedirectIds.delete(key);\n state.fetchers.delete(key);\n }\n\n function abortFetcher(key: string) {\n let controller = fetchControllers.get(key);\n invariant(controller, `Expected fetch controller: ${key}`);\n controller.abort();\n fetchControllers.delete(key);\n }\n\n function markFetchersDone(keys: string[]) {\n for (let key of keys) {\n let fetcher = getFetcher(key);\n let doneFetcher: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: fetcher.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n };\n state.fetchers.set(key, doneFetcher);\n }\n }\n\n function markFetchRedirectsDone(): void {\n let doneKeys = [];\n for (let key of fetchRedirectIds) {\n let fetcher = state.fetchers.get(key);\n invariant(fetcher, `Expected fetcher: ${key}`);\n if (fetcher.state === \"loading\") {\n fetchRedirectIds.delete(key);\n doneKeys.push(key);\n }\n }\n markFetchersDone(doneKeys);\n }\n\n function abortStaleFetchLoads(landedId: number): boolean {\n let yeetedKeys = [];\n for (let [key, id] of fetchReloadIds) {\n if (id < landedId) {\n let fetcher = state.fetchers.get(key);\n invariant(fetcher, `Expected fetcher: ${key}`);\n if (fetcher.state === \"loading\") {\n abortFetcher(key);\n fetchReloadIds.delete(key);\n yeetedKeys.push(key);\n }\n }\n }\n markFetchersDone(yeetedKeys);\n return yeetedKeys.length > 0;\n }\n\n function cancelActiveDeferreds(\n predicate?: (routeId: string) => boolean\n ): string[] {\n let cancelledRouteIds: string[] = [];\n activeDeferreds.forEach((dfd, routeId) => {\n if (!predicate || predicate(routeId)) {\n // Cancel the deferred - but do not remove from activeDeferreds here -\n // we rely on the subscribers to do that so our tests can assert proper\n // cleanup via _internalActiveDeferreds\n dfd.cancel();\n cancelledRouteIds.push(routeId);\n activeDeferreds.delete(routeId);\n }\n });\n return cancelledRouteIds;\n }\n\n // Opt in to capturing and reporting scroll positions during navigations,\n // used by the component\n function enableScrollRestoration(\n positions: Record,\n getPosition: GetScrollPositionFunction,\n getKey?: GetScrollRestorationKeyFunction\n ) {\n savedScrollPositions = positions;\n getScrollPosition = getPosition;\n getScrollRestorationKey = getKey || ((location) => location.key);\n\n // Perform initial hydration scroll restoration, since we miss the boat on\n // the initial updateState() because we've not yet rendered \n // and therefore have no savedScrollPositions available\n if (!initialScrollRestored && state.navigation === IDLE_NAVIGATION) {\n initialScrollRestored = true;\n let y = getSavedScrollPosition(state.location, state.matches);\n if (y != null) {\n updateState({ restoreScrollPosition: y });\n }\n }\n\n return () => {\n savedScrollPositions = null;\n getScrollPosition = null;\n getScrollRestorationKey = null;\n };\n }\n\n function saveScrollPosition(\n location: Location,\n matches: AgnosticDataRouteMatch[]\n ): void {\n if (savedScrollPositions && getScrollRestorationKey && getScrollPosition) {\n let userMatches = matches.map((m) =>\n createUseMatchesMatch(m, state.loaderData)\n );\n let key = getScrollRestorationKey(location, userMatches) || location.key;\n savedScrollPositions[key] = getScrollPosition();\n }\n }\n\n function getSavedScrollPosition(\n location: Location,\n matches: AgnosticDataRouteMatch[]\n ): number | null {\n if (savedScrollPositions && getScrollRestorationKey && getScrollPosition) {\n let userMatches = matches.map((m) =>\n createUseMatchesMatch(m, state.loaderData)\n );\n let key = getScrollRestorationKey(location, userMatches) || location.key;\n let y = savedScrollPositions[key];\n if (typeof y === \"number\") {\n return y;\n }\n }\n return null;\n }\n\n router = {\n get basename() {\n return init.basename;\n },\n get state() {\n return state;\n },\n get routes() {\n return dataRoutes;\n },\n initialize,\n subscribe,\n enableScrollRestoration,\n navigate,\n fetch,\n revalidate,\n // Passthrough to history-aware createHref used by useHref so we get proper\n // hash-aware URLs in DOM paths\n createHref: (to: To) => init.history.createHref(to),\n getFetcher,\n deleteFetcher,\n dispose,\n _internalFetchControllers: fetchControllers,\n _internalActiveDeferreds: activeDeferreds,\n };\n\n return router;\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region createStaticHandler\n////////////////////////////////////////////////////////////////////////////////\n\nconst validActionMethods = new Set([\"POST\", \"PUT\", \"PATCH\", \"DELETE\"]);\nconst validRequestMethods = new Set([\"GET\", \"HEAD\", ...validActionMethods]);\n\nexport function unstable_createStaticHandler(\n routes: AgnosticRouteObject[]\n): StaticHandler {\n invariant(\n routes.length > 0,\n \"You must provide a non-empty routes array to unstable_createStaticHandler\"\n );\n\n let dataRoutes = convertRoutesToDataRoutes(routes);\n\n /**\n * The query() method is intended for document requests, in which we want to\n * call an optional action and potentially multiple loaders for all nested\n * routes. It returns a StaticHandlerContext object, which is very similar\n * to the router state (location, loaderData, actionData, errors, etc.) and\n * also adds SSR-specific information such as the statusCode and headers\n * from action/loaders Responses.\n *\n * It _should_ never throw and should report all errors through the\n * returned context.errors object, properly associating errors to their error\n * boundary. Additionally, it tracks _deepestRenderedBoundaryId which can be\n * used to emulate React error boundaries during SSr by performing a second\n * pass only down to the boundaryId.\n *\n * The one exception where we do not return a StaticHandlerContext is when a\n * redirect response is returned or thrown from any action/loader. We\n * propagate that out and return the raw Response so the HTTP server can\n * return it directly.\n */\n async function query(\n request: Request\n ): Promise {\n let url = new URL(request.url);\n let location = createLocation(\"\", createPath(url), null, \"default\");\n let matches = matchRoutes(dataRoutes, location);\n\n if (!validRequestMethods.has(request.method)) {\n let {\n matches: methodNotAllowedMatches,\n route,\n error,\n } = getMethodNotAllowedMatches(dataRoutes);\n return {\n location,\n matches: methodNotAllowedMatches,\n loaderData: {},\n actionData: null,\n errors: {\n [route.id]: error,\n },\n statusCode: error.status,\n loaderHeaders: {},\n actionHeaders: {},\n };\n } else if (!matches) {\n let {\n matches: notFoundMatches,\n route,\n error,\n } = getNotFoundMatches(dataRoutes);\n return {\n location,\n matches: notFoundMatches,\n loaderData: {},\n actionData: null,\n errors: {\n [route.id]: error,\n },\n statusCode: error.status,\n loaderHeaders: {},\n actionHeaders: {},\n };\n }\n\n let result = await queryImpl(request, location, matches);\n if (result instanceof Response) {\n return result;\n }\n\n // When returning StaticHandlerContext, we patch back in the location here\n // since we need it for React Context. But this helps keep our submit and\n // loadRouteData operating on a Request instead of a Location\n return { location, ...result };\n }\n\n /**\n * The queryRoute() method is intended for targeted route requests, either\n * for fetch ?_data requests or resource route requests. In this case, we\n * are only ever calling a single action or loader, and we are returning the\n * returned value directly. In most cases, this will be a Response returned\n * from the action/loader, but it may be a primitive or other value as well -\n * and in such cases the calling context should handle that accordingly.\n *\n * We do respect the throw/return differentiation, so if an action/loader\n * throws, then this method will throw the value. This is important so we\n * can do proper boundary identification in Remix where a thrown Response\n * must go to the Catch Boundary but a returned Response is happy-path.\n *\n * One thing to note is that any Router-initiated thrown Response (such as a\n * 404 or 405) will have a custom X-Remix-Router-Error: \"yes\" header on it\n * in order to differentiate from responses thrown from user actions/loaders.\n */\n async function queryRoute(request: Request, routeId?: string): Promise {\n let url = new URL(request.url);\n let location = createLocation(\"\", createPath(url), null, \"default\");\n let matches = matchRoutes(dataRoutes, location);\n\n if (!validRequestMethods.has(request.method)) {\n throw createRouterErrorResponse(null, {\n status: 405,\n statusText: \"Method Not Allowed\",\n });\n } else if (!matches) {\n throw createRouterErrorResponse(null, {\n status: 404,\n statusText: \"Not Found\",\n });\n }\n\n let match = routeId\n ? matches.find((m) => m.route.id === routeId)\n : getTargetMatch(matches, location);\n\n if (!match) {\n throw createRouterErrorResponse(null, {\n status: 404,\n statusText: \"Not Found\",\n });\n }\n\n let result = await queryImpl(request, location, matches, match);\n if (result instanceof Response) {\n return result;\n }\n\n let error = result.errors ? Object.values(result.errors)[0] : undefined;\n if (error !== undefined) {\n // If we got back result.errors, that means the loader/action threw\n // _something_ that wasn't a Response, but it's not guaranteed/required\n // to be an `instanceof Error` either, so we have to use throw here to\n // preserve the \"error\" state outside of queryImpl.\n throw error;\n }\n\n // Pick off the right state value to return\n let routeData = [result.actionData, result.loaderData].find((v) => v);\n return Object.values(routeData || {})[0];\n }\n\n async function queryImpl(\n request: Request,\n location: Location,\n matches: AgnosticDataRouteMatch[],\n routeMatch?: AgnosticDataRouteMatch\n ): Promise | Response> {\n invariant(\n request.signal,\n \"query()/queryRoute() requests must contain an AbortController signal\"\n );\n\n try {\n if (validActionMethods.has(request.method)) {\n let result = await submit(\n request,\n matches,\n routeMatch || getTargetMatch(matches, location),\n routeMatch != null\n );\n return result;\n }\n\n let result = await loadRouteData(request, matches, routeMatch);\n return result instanceof Response\n ? result\n : {\n ...result,\n actionData: null,\n actionHeaders: {},\n };\n } catch (e) {\n // If the user threw/returned a Response in callLoaderOrAction, we throw\n // it to bail out and then return or throw here based on whether the user\n // returned or threw\n if (isQueryRouteResponse(e)) {\n if (e.type === ResultType.error && !isRedirectResponse(e.response)) {\n throw e.response;\n }\n return e.response;\n }\n // Redirects are always returned since they don't propagate to catch\n // boundaries\n if (isRedirectResponse(e)) {\n return e;\n }\n throw e;\n }\n }\n\n async function submit(\n request: Request,\n matches: AgnosticDataRouteMatch[],\n actionMatch: AgnosticDataRouteMatch,\n isRouteRequest: boolean\n ): Promise | Response> {\n let result: DataResult;\n if (!actionMatch.route.action) {\n if (isRouteRequest) {\n throw createRouterErrorResponse(null, {\n status: 405,\n statusText: \"Method Not Allowed\",\n });\n }\n result = getMethodNotAllowedResult(request.url);\n } else {\n result = await callLoaderOrAction(\n \"action\",\n request,\n actionMatch,\n matches,\n undefined, // Basename not currently supported in static handlers\n true,\n isRouteRequest\n );\n\n if (request.signal.aborted) {\n let method = isRouteRequest ? \"queryRoute\" : \"query\";\n throw new Error(`${method}() call aborted`);\n }\n }\n\n if (isRedirectResult(result)) {\n // Uhhhh - this should never happen, we should always throw these from\n // callLoaderOrAction, but the type narrowing here keeps TS happy and we\n // can get back on the \"throw all redirect responses\" train here should\n // this ever happen :/\n throw new Response(null, {\n status: result.status,\n headers: {\n Location: result.location,\n },\n });\n }\n\n if (isDeferredResult(result)) {\n throw new Error(\"defer() is not supported in actions\");\n }\n\n if (isRouteRequest) {\n // Note: This should only be non-Response values if we get here, since\n // isRouteRequest should throw any Response received in callLoaderOrAction\n if (isErrorResult(result)) {\n let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);\n return {\n matches: [actionMatch],\n loaderData: {},\n actionData: null,\n errors: {\n [boundaryMatch.route.id]: result.error,\n },\n // Note: statusCode + headers are unused here since queryRoute will\n // return the raw Response or value\n statusCode: 500,\n loaderHeaders: {},\n actionHeaders: {},\n };\n }\n\n return {\n matches: [actionMatch],\n loaderData: {},\n actionData: { [actionMatch.route.id]: result.data },\n errors: null,\n // Note: statusCode + headers are unused here since queryRoute will\n // return the raw Response or value\n statusCode: 200,\n loaderHeaders: {},\n actionHeaders: {},\n };\n }\n\n if (isErrorResult(result)) {\n // Store off the pending error - we use it to determine which loaders\n // to call and will commit it when we complete the navigation\n let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);\n let context = await loadRouteData(request, matches, undefined, {\n [boundaryMatch.route.id]: result.error,\n });\n\n // action status codes take precedence over loader status codes\n return {\n ...context,\n statusCode: isRouteErrorResponse(result.error)\n ? result.error.status\n : 500,\n actionData: null,\n actionHeaders: {\n ...(result.headers ? { [actionMatch.route.id]: result.headers } : {}),\n },\n };\n }\n\n let context = await loadRouteData(request, matches);\n\n return {\n ...context,\n // action status codes take precedence over loader status codes\n ...(result.statusCode ? { statusCode: result.statusCode } : {}),\n actionData: {\n [actionMatch.route.id]: result.data,\n },\n actionHeaders: {\n ...(result.headers ? { [actionMatch.route.id]: result.headers } : {}),\n },\n };\n }\n\n async function loadRouteData(\n request: Request,\n matches: AgnosticDataRouteMatch[],\n routeMatch?: AgnosticDataRouteMatch,\n pendingActionError?: RouteData\n ): Promise<\n | Omit\n | Response\n > {\n let isRouteRequest = routeMatch != null;\n let requestMatches = routeMatch\n ? [routeMatch]\n : getLoaderMatchesUntilBoundary(\n matches,\n Object.keys(pendingActionError || {})[0]\n );\n let matchesToLoad = requestMatches.filter((m) => m.route.loader);\n\n // Short circuit if we have no loaders to run\n if (matchesToLoad.length === 0) {\n return {\n matches,\n loaderData: {},\n errors: pendingActionError || null,\n statusCode: 200,\n loaderHeaders: {},\n };\n }\n\n let results = await Promise.all([\n ...matchesToLoad.map((match) =>\n callLoaderOrAction(\n \"loader\",\n request,\n match,\n matches,\n undefined, // Basename not currently supported in static handlers\n true,\n isRouteRequest\n )\n ),\n ]);\n\n if (request.signal.aborted) {\n let method = isRouteRequest ? \"queryRoute\" : \"query\";\n throw new Error(`${method}() call aborted`);\n }\n\n // Can't do anything with these without the Remix side of things, so just\n // cancel them for now\n results.forEach((result) => {\n if (isDeferredResult(result)) {\n result.deferredData.cancel();\n }\n });\n\n // Process and commit output from loaders\n let context = processRouteLoaderData(\n matches,\n matchesToLoad,\n results,\n pendingActionError\n );\n\n return {\n ...context,\n matches,\n };\n }\n\n function createRouterErrorResponse(\n body: BodyInit | null | undefined,\n init: ResponseInit\n ) {\n return new Response(body, {\n ...init,\n headers: {\n ...init.headers,\n \"X-Remix-Router-Error\": \"yes\",\n },\n });\n }\n\n return {\n dataRoutes,\n query,\n queryRoute,\n };\n}\n\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Helpers\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Given an existing StaticHandlerContext and an error thrown at render time,\n * provide an updated StaticHandlerContext suitable for a second SSR render\n */\nexport function getStaticContextFromError(\n routes: AgnosticDataRouteObject[],\n context: StaticHandlerContext,\n error: any\n) {\n let newContext: StaticHandlerContext = {\n ...context,\n statusCode: 500,\n errors: {\n [context._deepestRenderedBoundaryId || routes[0].id]: error,\n },\n };\n return newContext;\n}\n\n// Normalize navigation options by converting formMethod=GET formData objects to\n// URLSearchParams so they behave identically to links with query params\nfunction normalizeNavigateOptions(\n to: To,\n opts?: RouterNavigateOptions,\n isFetcher = false\n): {\n path: string;\n submission?: Submission;\n error?: ErrorResponse;\n} {\n let path = typeof to === \"string\" ? to : createPath(to);\n\n // Return location verbatim on non-submission navigations\n if (!opts || (!(\"formMethod\" in opts) && !(\"formData\" in opts))) {\n return { path };\n }\n\n // Create a Submission on non-GET navigations\n if (opts.formMethod != null && opts.formMethod !== \"get\") {\n return {\n path,\n submission: {\n formMethod: opts.formMethod,\n formAction: stripHashFromPath(path),\n formEncType:\n (opts && opts.formEncType) || \"application/x-www-form-urlencoded\",\n formData: opts.formData,\n },\n };\n }\n\n // No formData to flatten for GET submission\n if (!opts.formData) {\n return { path };\n }\n\n // Flatten submission onto URLSearchParams for GET submissions\n let parsedPath = parsePath(path);\n try {\n let searchParams = convertFormDataToSearchParams(opts.formData);\n // Since fetcher GET submissions only run a single loader (as opposed to\n // navigation GET submissions which run all loaders), we need to preserve\n // any incoming ?index params\n if (\n isFetcher &&\n parsedPath.search &&\n hasNakedIndexQuery(parsedPath.search)\n ) {\n searchParams.append(\"index\", \"\");\n }\n parsedPath.search = `?${searchParams}`;\n } catch (e) {\n return {\n path,\n error: new ErrorResponse(\n 400,\n \"Bad Request\",\n \"Cannot submit binary form data using GET\"\n ),\n };\n }\n\n return { path: createPath(parsedPath) };\n}\n\nfunction getLoaderRedirect(\n state: RouterState,\n redirect: RedirectResult\n): Navigation {\n let { formMethod, formAction, formEncType, formData } = state.navigation;\n let navigation: NavigationStates[\"Loading\"] = {\n state: \"loading\",\n location: createLocation(state.location, redirect.location),\n formMethod: formMethod || undefined,\n formAction: formAction || undefined,\n formEncType: formEncType || undefined,\n formData: formData || undefined,\n };\n return navigation;\n}\n\n// Filter out all routes below any caught error as they aren't going to\n// render so we don't need to load them\nfunction getLoaderMatchesUntilBoundary(\n matches: AgnosticDataRouteMatch[],\n boundaryId?: string\n) {\n let boundaryMatches = matches;\n if (boundaryId) {\n let index = matches.findIndex((m) => m.route.id === boundaryId);\n if (index >= 0) {\n boundaryMatches = matches.slice(0, index);\n }\n }\n return boundaryMatches;\n}\n\nfunction getMatchesToLoad(\n state: RouterState,\n matches: AgnosticDataRouteMatch[],\n submission: Submission | undefined,\n location: Location,\n isRevalidationRequired: boolean,\n cancelledDeferredRoutes: string[],\n cancelledFetcherLoads: string[],\n pendingActionData?: RouteData,\n pendingError?: RouteData,\n fetchLoadMatches?: Map\n): [AgnosticDataRouteMatch[], RevalidatingFetcher[]] {\n let actionResult = pendingError\n ? Object.values(pendingError)[0]\n : pendingActionData\n ? Object.values(pendingActionData)[0]\n : null;\n\n // Pick navigation matches that are net-new or qualify for revalidation\n let boundaryId = pendingError ? Object.keys(pendingError)[0] : undefined;\n let boundaryMatches = getLoaderMatchesUntilBoundary(matches, boundaryId);\n let navigationMatches = boundaryMatches.filter(\n (match, index) =>\n match.route.loader != null &&\n (isNewLoader(state.loaderData, state.matches[index], match) ||\n // If this route had a pending deferred cancelled it must be revalidated\n cancelledDeferredRoutes.some((id) => id === match.route.id) ||\n shouldRevalidateLoader(\n state.location,\n state.matches[index],\n submission,\n location,\n match,\n isRevalidationRequired,\n actionResult\n ))\n );\n\n // Pick fetcher.loads that need to be revalidated\n let revalidatingFetchers: RevalidatingFetcher[] = [];\n fetchLoadMatches &&\n fetchLoadMatches.forEach(([href, match, fetchMatches], key) => {\n // This fetcher was cancelled from a prior action submission - force reload\n if (cancelledFetcherLoads.includes(key)) {\n revalidatingFetchers.push([key, href, match, fetchMatches]);\n } else if (isRevalidationRequired) {\n let shouldRevalidate = shouldRevalidateLoader(\n href,\n match,\n submission,\n href,\n match,\n isRevalidationRequired,\n actionResult\n );\n if (shouldRevalidate) {\n revalidatingFetchers.push([key, href, match, fetchMatches]);\n }\n }\n });\n\n return [navigationMatches, revalidatingFetchers];\n}\n\nfunction isNewLoader(\n currentLoaderData: RouteData,\n currentMatch: AgnosticDataRouteMatch,\n match: AgnosticDataRouteMatch\n) {\n let isNew =\n // [a] -> [a, b]\n !currentMatch ||\n // [a, b] -> [a, c]\n match.route.id !== currentMatch.route.id;\n\n // Handle the case that we don't have data for a re-used route, potentially\n // from a prior error or from a cancelled pending deferred\n let isMissingData = currentLoaderData[match.route.id] === undefined;\n\n // Always load if this is a net-new route or we don't yet have data\n return isNew || isMissingData;\n}\n\nfunction isNewRouteInstance(\n currentMatch: AgnosticDataRouteMatch,\n match: AgnosticDataRouteMatch\n) {\n let currentPath = currentMatch.route.path;\n return (\n // param change for this match, /users/123 -> /users/456\n currentMatch.pathname !== match.pathname ||\n // splat param changed, which is not present in match.path\n // e.g. /files/images/avatar.jpg -> files/finances.xls\n (currentPath &&\n currentPath.endsWith(\"*\") &&\n currentMatch.params[\"*\"] !== match.params[\"*\"])\n );\n}\n\nfunction shouldRevalidateLoader(\n currentLocation: string | Location,\n currentMatch: AgnosticDataRouteMatch,\n submission: Submission | undefined,\n location: string | Location,\n match: AgnosticDataRouteMatch,\n isRevalidationRequired: boolean,\n actionResult: DataResult | undefined\n) {\n let currentUrl = createURL(currentLocation);\n let currentParams = currentMatch.params;\n let nextUrl = createURL(location);\n let nextParams = match.params;\n\n // This is the default implementation as to when we revalidate. If the route\n // provides it's own implementation, then we give them full control but\n // provide this value so they can leverage it if needed after they check\n // their own specific use cases\n // Note that fetchers always provide the same current/next locations so the\n // URL-based checks here don't apply to fetcher shouldRevalidate calls\n let defaultShouldRevalidate =\n isNewRouteInstance(currentMatch, match) ||\n // Clicked the same link, resubmitted a GET form\n currentUrl.toString() === nextUrl.toString() ||\n // Search params affect all loaders\n currentUrl.search !== nextUrl.search ||\n // Forced revalidation due to submission, useRevalidate, or X-Remix-Revalidate\n isRevalidationRequired;\n\n if (match.route.shouldRevalidate) {\n let routeChoice = match.route.shouldRevalidate({\n currentUrl,\n currentParams,\n nextUrl,\n nextParams,\n ...submission,\n actionResult,\n defaultShouldRevalidate,\n });\n if (typeof routeChoice === \"boolean\") {\n return routeChoice;\n }\n }\n\n return defaultShouldRevalidate;\n}\n\nasync function callLoaderOrAction(\n type: \"loader\" | \"action\",\n request: Request,\n match: AgnosticDataRouteMatch,\n matches: AgnosticDataRouteMatch[],\n basename: string | undefined,\n isStaticRequest: boolean = false,\n isRouteRequest: boolean = false\n): Promise {\n let resultType;\n let result;\n\n // Setup a promise we can race against so that abort signals short circuit\n let reject: () => void;\n let abortPromise = new Promise((_, r) => (reject = r));\n let onReject = () => reject();\n request.signal.addEventListener(\"abort\", onReject);\n\n try {\n let handler = match.route[type];\n invariant(\n handler,\n `Could not find the ${type} to run on the \"${match.route.id}\" route`\n );\n\n result = await Promise.race([\n handler({ request, params: match.params }),\n abortPromise,\n ]);\n } catch (e) {\n resultType = ResultType.error;\n result = e;\n } finally {\n request.signal.removeEventListener(\"abort\", onReject);\n }\n\n if (result instanceof Response) {\n let status = result.status;\n\n // Process redirects\n if (status >= 300 && status <= 399) {\n let location = result.headers.get(\"Location\");\n invariant(\n location,\n \"Redirects returned/thrown from loaders/actions must have a Location header\"\n );\n\n // Support relative routing in redirects\n let activeMatches = matches.slice(0, matches.indexOf(match) + 1);\n let routePathnames = getPathContributingMatches(activeMatches).map(\n (match) => match.pathnameBase\n );\n let requestPath = createURL(request.url).pathname;\n let resolvedLocation = resolveTo(location, routePathnames, requestPath);\n invariant(\n createPath(resolvedLocation),\n `Unable to resolve redirect location: ${result.headers.get(\"Location\")}`\n );\n\n // Prepend the basename to the redirect location if we have one\n if (basename) {\n let path = resolvedLocation.pathname;\n resolvedLocation.pathname =\n path === \"/\" ? basename : joinPaths([basename, path]);\n }\n\n location = createPath(resolvedLocation);\n\n // Don't process redirects in the router during static requests requests.\n // Instead, throw the Response and let the server handle it with an HTTP\n // redirect. We also update the Location header in place in this flow so\n // basename and relative routing is taken into account\n if (isStaticRequest) {\n result.headers.set(\"Location\", location);\n throw result;\n }\n\n return {\n type: ResultType.redirect,\n status,\n location,\n revalidate: result.headers.get(\"X-Remix-Revalidate\") !== null,\n };\n }\n\n // For SSR single-route requests, we want to hand Responses back directly\n // without unwrapping. We do this with the QueryRouteResponse wrapper\n // interface so we can know whether it was returned or thrown\n if (isRouteRequest) {\n // eslint-disable-next-line no-throw-literal\n throw {\n type: resultType || ResultType.data,\n response: result,\n };\n }\n\n let data: any;\n let contentType = result.headers.get(\"Content-Type\");\n if (contentType && contentType.startsWith(\"application/json\")) {\n data = await result.json();\n } else {\n data = await result.text();\n }\n\n if (resultType === ResultType.error) {\n return {\n type: resultType,\n error: new ErrorResponse(status, result.statusText, data),\n headers: result.headers,\n };\n }\n\n return {\n type: ResultType.data,\n data,\n statusCode: result.status,\n headers: result.headers,\n };\n }\n\n if (resultType === ResultType.error) {\n return { type: resultType, error: result };\n }\n\n if (result instanceof DeferredData) {\n return { type: ResultType.deferred, deferredData: result };\n }\n\n return { type: ResultType.data, data: result };\n}\n\nfunction createRequest(\n location: string | Location,\n signal: AbortSignal,\n submission?: Submission\n): Request {\n let url = createURL(stripHashFromPath(location)).toString();\n let init: RequestInit = { signal };\n\n if (submission) {\n let { formMethod, formEncType, formData } = submission;\n init.method = formMethod.toUpperCase();\n init.body =\n formEncType === \"application/x-www-form-urlencoded\"\n ? convertFormDataToSearchParams(formData)\n : formData;\n }\n\n // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request)\n return new Request(url, init);\n}\n\nfunction convertFormDataToSearchParams(formData: FormData): URLSearchParams {\n let searchParams = new URLSearchParams();\n\n for (let [key, value] of formData.entries()) {\n invariant(\n typeof value === \"string\",\n 'File inputs are not supported with encType \"application/x-www-form-urlencoded\", ' +\n 'please use \"multipart/form-data\" instead.'\n );\n searchParams.append(key, value);\n }\n\n return searchParams;\n}\n\nfunction processRouteLoaderData(\n matches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n results: DataResult[],\n pendingError: RouteData | undefined,\n activeDeferreds?: Map\n): {\n loaderData: RouterState[\"loaderData\"];\n errors: RouterState[\"errors\"] | null;\n statusCode: number;\n loaderHeaders: Record;\n} {\n // Fill in loaderData/errors from our loaders\n let loaderData: RouterState[\"loaderData\"] = {};\n let errors: RouterState[\"errors\"] | null = null;\n let statusCode: number | undefined;\n let foundError = false;\n let loaderHeaders: Record = {};\n\n // Process loader results into state.loaderData/state.errors\n results.forEach((result, index) => {\n let id = matchesToLoad[index].route.id;\n invariant(\n !isRedirectResult(result),\n \"Cannot handle redirect results in processLoaderData\"\n );\n if (isErrorResult(result)) {\n // Look upwards from the matched route for the closest ancestor\n // error boundary, defaulting to the root match\n let boundaryMatch = findNearestBoundary(matches, id);\n let error = result.error;\n // If we have a pending action error, we report it at the highest-route\n // that throws a loader error, and then clear it out to indicate that\n // it was consumed\n if (pendingError) {\n error = Object.values(pendingError)[0];\n pendingError = undefined;\n }\n errors = Object.assign(errors || {}, {\n [boundaryMatch.route.id]: error,\n });\n // Once we find our first (highest) error, we set the status code and\n // prevent deeper status codes from overriding\n if (!foundError) {\n foundError = true;\n statusCode = isRouteErrorResponse(result.error)\n ? result.error.status\n : 500;\n }\n if (result.headers) {\n loaderHeaders[id] = result.headers;\n }\n } else if (isDeferredResult(result)) {\n activeDeferreds && activeDeferreds.set(id, result.deferredData);\n loaderData[id] = result.deferredData.data;\n // TODO: Add statusCode/headers once we wire up streaming in Remix\n } else {\n loaderData[id] = result.data;\n // Error status codes always override success status codes, but if all\n // loaders are successful we take the deepest status code.\n if (\n result.statusCode != null &&\n result.statusCode !== 200 &&\n !foundError\n ) {\n statusCode = result.statusCode;\n }\n if (result.headers) {\n loaderHeaders[id] = result.headers;\n }\n }\n });\n\n // If we didn't consume the pending action error (i.e., all loaders\n // resolved), then consume it here\n if (pendingError) {\n errors = pendingError;\n }\n\n return {\n loaderData,\n errors,\n statusCode: statusCode || 200,\n loaderHeaders,\n };\n}\n\nfunction processLoaderData(\n state: RouterState,\n matches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n results: DataResult[],\n pendingError: RouteData | undefined,\n revalidatingFetchers: RevalidatingFetcher[],\n fetcherResults: DataResult[],\n activeDeferreds: Map\n): {\n loaderData: RouterState[\"loaderData\"];\n errors?: RouterState[\"errors\"];\n} {\n let { loaderData, errors } = processRouteLoaderData(\n matches,\n matchesToLoad,\n results,\n pendingError,\n activeDeferreds\n );\n\n // Process results from our revalidating fetchers\n for (let index = 0; index < revalidatingFetchers.length; index++) {\n let [key, , match] = revalidatingFetchers[index];\n invariant(\n fetcherResults !== undefined && fetcherResults[index] !== undefined,\n \"Did not find corresponding fetcher result\"\n );\n let result = fetcherResults[index];\n\n // Process fetcher non-redirect errors\n if (isErrorResult(result)) {\n let boundaryMatch = findNearestBoundary(state.matches, match.route.id);\n if (!(errors && errors[boundaryMatch.route.id])) {\n errors = {\n ...errors,\n [boundaryMatch.route.id]: result.error,\n };\n }\n state.fetchers.delete(key);\n } else if (isRedirectResult(result)) {\n // Should never get here, redirects should get processed above, but we\n // keep this to type narrow to a success result in the else\n throw new Error(\"Unhandled fetcher revalidation redirect\");\n } else if (isDeferredResult(result)) {\n // Should never get here, deferred data should be awaited for fetchers\n // in resolveDeferredResults\n throw new Error(\"Unhandled fetcher deferred data\");\n } else {\n let doneFetcher: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: result.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n };\n state.fetchers.set(key, doneFetcher);\n }\n }\n\n return { loaderData, errors };\n}\n\nfunction mergeLoaderData(\n loaderData: RouteData,\n newLoaderData: RouteData,\n matches: AgnosticDataRouteMatch[]\n): RouteData {\n let mergedLoaderData = { ...newLoaderData };\n matches.forEach((match) => {\n let id = match.route.id;\n if (newLoaderData[id] === undefined && loaderData[id] !== undefined) {\n mergedLoaderData[id] = loaderData[id];\n }\n });\n return mergedLoaderData;\n}\n\n// Find the nearest error boundary, looking upwards from the leaf route (or the\n// route specified by routeId) for the closest ancestor error boundary,\n// defaulting to the root match\nfunction findNearestBoundary(\n matches: AgnosticDataRouteMatch[],\n routeId?: string\n): AgnosticDataRouteMatch {\n let eligibleMatches = routeId\n ? matches.slice(0, matches.findIndex((m) => m.route.id === routeId) + 1)\n : [...matches];\n return (\n eligibleMatches.reverse().find((m) => m.route.hasErrorBoundary === true) ||\n matches[0]\n );\n}\n\nfunction getShortCircuitMatches(\n routes: AgnosticDataRouteObject[],\n status: number,\n statusText: string\n): {\n matches: AgnosticDataRouteMatch[];\n route: AgnosticDataRouteObject;\n error: ErrorResponse;\n} {\n // Prefer a root layout route if present, otherwise shim in a route object\n let route = routes.find((r) => r.index || !r.path || r.path === \"/\") || {\n id: `__shim-${status}-route__`,\n };\n\n return {\n matches: [\n {\n params: {},\n pathname: \"\",\n pathnameBase: \"\",\n route,\n },\n ],\n route,\n error: new ErrorResponse(status, statusText, null),\n };\n}\n\nfunction getNotFoundMatches(routes: AgnosticDataRouteObject[]) {\n return getShortCircuitMatches(routes, 404, \"Not Found\");\n}\n\nfunction getMethodNotAllowedMatches(routes: AgnosticDataRouteObject[]) {\n return getShortCircuitMatches(routes, 405, \"Method Not Allowed\");\n}\n\nfunction getMethodNotAllowedResult(path: Location | string): ErrorResult {\n let href = typeof path === \"string\" ? path : createPath(path);\n console.warn(\n \"You're trying to submit to a route that does not have an action. To \" +\n \"fix this, please add an `action` function to the route for \" +\n `[${href}]`\n );\n return {\n type: ResultType.error,\n error: new ErrorResponse(405, \"Method Not Allowed\", \"\"),\n };\n}\n\n// Find any returned redirect errors, starting from the lowest match\nfunction findRedirect(results: DataResult[]): RedirectResult | undefined {\n for (let i = results.length - 1; i >= 0; i--) {\n let result = results[i];\n if (isRedirectResult(result)) {\n return result;\n }\n }\n}\n\nfunction stripHashFromPath(path: To) {\n let parsedPath = typeof path === \"string\" ? parsePath(path) : path;\n return createPath({ ...parsedPath, hash: \"\" });\n}\n\nfunction isHashChangeOnly(a: Location, b: Location): boolean {\n return (\n a.pathname === b.pathname && a.search === b.search && a.hash !== b.hash\n );\n}\n\nfunction isDeferredResult(result: DataResult): result is DeferredResult {\n return result.type === ResultType.deferred;\n}\n\nfunction isErrorResult(result: DataResult): result is ErrorResult {\n return result.type === ResultType.error;\n}\n\nfunction isRedirectResult(result?: DataResult): result is RedirectResult {\n return (result && result.type) === ResultType.redirect;\n}\n\nfunction isRedirectResponse(result: any): result is Response {\n if (!(result instanceof Response)) {\n return false;\n }\n\n let status = result.status;\n let location = result.headers.get(\"Location\");\n return status >= 300 && status <= 399 && location != null;\n}\n\nfunction isQueryRouteResponse(obj: any): obj is QueryRouteResponse {\n return (\n obj &&\n obj.response instanceof Response &&\n (obj.type === ResultType.data || ResultType.error)\n );\n}\n\nasync function resolveDeferredResults(\n currentMatches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n results: DataResult[],\n signal: AbortSignal,\n isFetcher: boolean,\n currentLoaderData?: RouteData\n) {\n for (let index = 0; index < results.length; index++) {\n let result = results[index];\n let match = matchesToLoad[index];\n let currentMatch = currentMatches.find(\n (m) => m.route.id === match.route.id\n );\n let isRevalidatingLoader =\n currentMatch != null &&\n !isNewRouteInstance(currentMatch, match) &&\n (currentLoaderData && currentLoaderData[match.route.id]) !== undefined;\n\n if (isDeferredResult(result) && (isFetcher || isRevalidatingLoader)) {\n // Note: we do not have to touch activeDeferreds here since we race them\n // against the signal in resolveDeferredData and they'll get aborted\n // there if needed\n await resolveDeferredData(result, signal, isFetcher).then((result) => {\n if (result) {\n results[index] = result || results[index];\n }\n });\n }\n }\n}\n\nasync function resolveDeferredData(\n result: DeferredResult,\n signal: AbortSignal,\n unwrap = false\n): Promise {\n let aborted = await result.deferredData.resolveData(signal);\n if (aborted) {\n return;\n }\n\n if (unwrap) {\n try {\n return {\n type: ResultType.data,\n data: result.deferredData.unwrappedData,\n };\n } catch (e) {\n // Handle any TrackedPromise._error values encountered while unwrapping\n return {\n type: ResultType.error,\n error: e,\n };\n }\n }\n\n return {\n type: ResultType.data,\n data: result.deferredData.data,\n };\n}\n\nfunction hasNakedIndexQuery(search: string): boolean {\n return new URLSearchParams(search).getAll(\"index\").some((v) => v === \"\");\n}\n\n// Note: This should match the format exported by useMatches, so if you change\n// this please also change that :) Eventually we'll DRY this up\nfunction createUseMatchesMatch(\n match: AgnosticDataRouteMatch,\n loaderData: RouteData\n): UseMatchesMatch {\n let { route, pathname, params } = match;\n return {\n id: route.id,\n pathname,\n params,\n data: loaderData[route.id] as unknown,\n handle: route.handle as unknown,\n };\n}\n\nfunction getTargetMatch(\n matches: AgnosticDataRouteMatch[],\n location: Location | string\n) {\n let search =\n typeof location === \"string\" ? parsePath(location).search : location.search;\n if (\n matches[matches.length - 1].route.index &&\n hasNakedIndexQuery(search || \"\")\n ) {\n // Return the leaf index route when index is present\n return matches[matches.length - 1];\n }\n // Otherwise grab the deepest \"path contributing\" match (ignoring index and\n // pathless layout routes)\n let pathMatches = getPathContributingMatches(matches);\n return pathMatches[pathMatches.length - 1];\n}\n//#endregion\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\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\nimport * as React from \"react\";\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction isPolyfill(x: any, y: any) {\n return (\n (x === y && (x !== 0 || 1 / x === 1 / y)) || (x !== x && y !== y) // eslint-disable-line no-self-compare\n );\n}\n\nconst is: (x: any, y: any) => boolean =\n typeof Object.is === \"function\" ? Object.is : isPolyfill;\n\n// Intentionally not using named imports because Rollup uses dynamic\n// dispatch for CommonJS interop named imports.\nconst { useState, useEffect, useLayoutEffect, useDebugValue } = React;\n\nlet didWarnOld18Alpha = false;\nlet didWarnUncachedGetSnapshot = false;\n\n// Disclaimer: This shim breaks many of the rules of React, and only works\n// because of a very particular set of implementation details and assumptions\n// -- change any one of them and it will break. The most important assumption\n// is that updates are always synchronous, because concurrent rendering is\n// only available in versions of React that also have a built-in\n// useSyncExternalStore API. And we only use this shim when the built-in API\n// does not exist.\n//\n// Do not assume that the clever hacks used by this hook also work in general.\n// The point of this shim is to replace the need for hacks by other libraries.\nexport function useSyncExternalStore(\n subscribe: (fn: () => void) => () => void,\n getSnapshot: () => T,\n // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n // React do not expose a way to check if we're hydrating. So users of the shim\n // will need to track that themselves and return the correct value\n // from `getSnapshot`.\n getServerSnapshot?: () => T\n): T {\n if (__DEV__) {\n if (!didWarnOld18Alpha) {\n if (\"startTransition\" in React) {\n didWarnOld18Alpha = true;\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that \" +\n \"does not support useSyncExternalStore. The \" +\n \"use-sync-external-store shim will not work correctly. Upgrade \" +\n \"to a newer pre-release.\"\n );\n }\n }\n }\n\n // Read the current snapshot from the store on every render. Again, this\n // breaks the rules of React, and only works here because of specific\n // implementation details, most importantly that updates are\n // always synchronous.\n const value = getSnapshot();\n if (__DEV__) {\n if (!didWarnUncachedGetSnapshot) {\n const cachedValue = getSnapshot();\n if (!is(value, cachedValue)) {\n console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n );\n didWarnUncachedGetSnapshot = true;\n }\n }\n }\n\n // Because updates are synchronous, we don't queue them. Instead we force a\n // re-render whenever the subscribed state changes by updating an some\n // arbitrary useState hook. Then, during render, we call getSnapshot to read\n // the current value.\n //\n // Because we don't actually use the state returned by the useState hook, we\n // can save a bit of memory by storing other stuff in that slot.\n //\n // To implement the early bailout, we need to track some things on a mutable\n // object. Usually, we would put that in a useRef hook, but we can stash it in\n // our useState hook instead.\n //\n // To force a re-render, we call forceUpdate({inst}). That works because the\n // new object always fails an equality check.\n const [{ inst }, forceUpdate] = useState({ inst: { value, getSnapshot } });\n\n // Track the latest getSnapshot function with a ref. This needs to be updated\n // in the layout phase so we can access it during the tearing check that\n // happens on subscribe.\n useLayoutEffect(() => {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n\n // Whenever getSnapshot or subscribe changes, we need to check in the\n // commit phase if there was an interleaved mutation. In concurrent mode\n // this can happen all the time, but even in synchronous mode, an earlier\n // effect may have mutated the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({ inst });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [subscribe, value, getSnapshot]);\n\n useEffect(() => {\n // Check for changes right before subscribing. Subsequent changes will be\n // detected in the subscription handler.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({ inst });\n }\n const handleStoreChange = () => {\n // TODO: Because there is no cross-renderer API for batching updates, it's\n // up to the consumer of this library to wrap their subscription event\n // with unstable_batchedUpdates. Should we try to detect when this isn't\n // the case and print a warning in development?\n\n // The store changed. Check if the snapshot changed since the last time we\n // read from the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({ inst });\n }\n };\n // Subscribe to the store and return a clean-up function.\n return subscribe(handleStoreChange);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [subscribe]);\n\n useDebugValue(value);\n return value;\n}\n\nfunction checkIfSnapshotChanged(inst: any) {\n const latestGetSnapshot = inst.getSnapshot;\n const prevValue = inst.value;\n try {\n const nextValue = latestGetSnapshot();\n return !is(prevValue, nextValue);\n } catch (error) {\n return true;\n }\n}\n","/**\n * Inlined into the react-router repo since use-sync-external-store does not\n * provide a UMD-compatible package, so we need this to be able to distribute\n * UMD react-router bundles\n */\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\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 * @flow\n */\n\nimport * as React from \"react\";\n\nimport { useSyncExternalStore as client } from \"./useSyncExternalStoreShimClient\";\nimport { useSyncExternalStore as server } from \"./useSyncExternalStoreShimServer\";\n\nconst canUseDOM: boolean = !!(\n typeof window !== \"undefined\" &&\n typeof window.document !== \"undefined\" &&\n typeof window.document.createElement !== \"undefined\"\n);\nconst isServerEnvironment = !canUseDOM;\nconst shim = isServerEnvironment ? server : client;\n\nexport const useSyncExternalStore =\n \"useSyncExternalStore\" in React\n ? ((module) => module.useSyncExternalStore)(React)\n : shim;\n","import * as React from \"react\";\nimport type {\n AgnosticRouteMatch,\n AgnosticIndexRouteObject,\n AgnosticNonIndexRouteObject,\n History,\n Location,\n Router,\n StaticHandlerContext,\n To,\n TrackedPromise,\n} from \"@remix-run/router\";\nimport type { Action as NavigationType } from \"@remix-run/router\";\n\n// Create react-specific types from the agnostic types in @remix-run/router to\n// export from react-router\nexport interface IndexRouteObject {\n caseSensitive?: AgnosticIndexRouteObject[\"caseSensitive\"];\n path?: AgnosticIndexRouteObject[\"path\"];\n id?: AgnosticIndexRouteObject[\"id\"];\n loader?: AgnosticIndexRouteObject[\"loader\"];\n action?: AgnosticIndexRouteObject[\"action\"];\n hasErrorBoundary?: AgnosticIndexRouteObject[\"hasErrorBoundary\"];\n shouldRevalidate?: AgnosticIndexRouteObject[\"shouldRevalidate\"];\n handle?: AgnosticIndexRouteObject[\"handle\"];\n index: true;\n children?: undefined;\n element?: React.ReactNode | null;\n errorElement?: React.ReactNode | null;\n}\n\nexport interface NonIndexRouteObject {\n caseSensitive?: AgnosticNonIndexRouteObject[\"caseSensitive\"];\n path?: AgnosticNonIndexRouteObject[\"path\"];\n id?: AgnosticNonIndexRouteObject[\"id\"];\n loader?: AgnosticNonIndexRouteObject[\"loader\"];\n action?: AgnosticNonIndexRouteObject[\"action\"];\n hasErrorBoundary?: AgnosticNonIndexRouteObject[\"hasErrorBoundary\"];\n shouldRevalidate?: AgnosticNonIndexRouteObject[\"shouldRevalidate\"];\n handle?: AgnosticNonIndexRouteObject[\"handle\"];\n index?: false;\n children?: RouteObject[];\n element?: React.ReactNode | null;\n errorElement?: React.ReactNode | null;\n}\n\nexport type RouteObject = IndexRouteObject | NonIndexRouteObject;\n\nexport type DataRouteObject = RouteObject & {\n children?: DataRouteObject[];\n id: string;\n};\n\nexport interface RouteMatch<\n ParamKey extends string = string,\n RouteObjectType extends RouteObject = RouteObject\n> extends AgnosticRouteMatch {}\n\nexport interface DataRouteMatch extends RouteMatch {}\n\n// Contexts for data routers\nexport const DataStaticRouterContext =\n React.createContext(null);\nif (__DEV__) {\n DataStaticRouterContext.displayName = \"DataStaticRouterContext\";\n}\n\nexport interface DataRouterContextObject extends NavigationContextObject {\n router: Router;\n}\n\nexport const DataRouterContext =\n React.createContext(null);\nif (__DEV__) {\n DataRouterContext.displayName = \"DataRouter\";\n}\n\nexport const DataRouterStateContext = React.createContext<\n Router[\"state\"] | null\n>(null);\nif (__DEV__) {\n DataRouterStateContext.displayName = \"DataRouterState\";\n}\n\nexport const AwaitContext = React.createContext(null);\nif (__DEV__) {\n AwaitContext.displayName = \"Await\";\n}\n\nexport type RelativeRoutingType = \"route\" | \"path\";\n\nexport interface NavigateOptions {\n replace?: boolean;\n state?: any;\n preventScrollReset?: boolean;\n relative?: RelativeRoutingType;\n}\n\n/**\n * A Navigator is a \"location changer\"; it's how you get to different locations.\n *\n * Every history instance conforms to the Navigator interface, but the\n * distinction is useful primarily when it comes to the low-level API\n * where both the location and a navigator must be provided separately in order\n * to avoid \"tearing\" that may occur in a suspense-enabled app if the action\n * and/or location were to be read directly from the history instance.\n */\nexport interface Navigator {\n createHref: History[\"createHref\"];\n go: History[\"go\"];\n push(to: To, state?: any, opts?: NavigateOptions): void;\n replace(to: To, state?: any, opts?: NavigateOptions): void;\n}\n\ninterface NavigationContextObject {\n basename: string;\n navigator: Navigator;\n static: boolean;\n}\n\nexport const NavigationContext = React.createContext(\n null!\n);\n\nif (__DEV__) {\n NavigationContext.displayName = \"Navigation\";\n}\n\ninterface LocationContextObject {\n location: Location;\n navigationType: NavigationType;\n}\n\nexport const LocationContext = React.createContext(\n null!\n);\n\nif (__DEV__) {\n LocationContext.displayName = \"Location\";\n}\n\nexport interface RouteContextObject {\n outlet: React.ReactElement | null;\n matches: RouteMatch[];\n}\n\nexport const RouteContext = React.createContext({\n outlet: null,\n matches: [],\n});\n\nif (__DEV__) {\n RouteContext.displayName = \"Route\";\n}\n\nexport const RouteErrorContext = React.createContext(null);\n\nif (__DEV__) {\n RouteErrorContext.displayName = \"RouteError\";\n}\n","import * as React from \"react\";\nimport type {\n Location,\n ParamParseKey,\n Params,\n Path,\n PathMatch,\n PathPattern,\n Router as RemixRouter,\n To,\n} from \"@remix-run/router\";\nimport {\n Action as NavigationType,\n invariant,\n isRouteErrorResponse,\n joinPaths,\n matchPath,\n matchRoutes,\n parsePath,\n resolveTo,\n warning,\n UNSAFE_getPathContributingMatches as getPathContributingMatches,\n} from \"@remix-run/router\";\n\nimport type {\n NavigateOptions,\n RouteContextObject,\n RouteMatch,\n RouteObject,\n DataRouteMatch,\n RelativeRoutingType,\n} from \"./context\";\nimport {\n DataRouterContext,\n DataRouterStateContext,\n LocationContext,\n NavigationContext,\n RouteContext,\n RouteErrorContext,\n AwaitContext,\n DataStaticRouterContext,\n} from \"./context\";\n\n/**\n * Returns the full href for the given \"to\" value. This is useful for building\n * custom links that are also accessible and preserve right-click behavior.\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-href\n */\nexport function useHref(\n to: To,\n { relative }: { relative?: RelativeRoutingType } = {}\n): string {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useHref() may be used only in the context of a component.`\n );\n\n let { basename, navigator } = React.useContext(NavigationContext);\n let { hash, pathname, search } = useResolvedPath(to, { relative });\n\n let joinedPathname = pathname;\n\n // If we're operating within a basename, prepend it to the pathname prior\n // to creating the href. If this is a root navigation, then just use the raw\n // basename which allows the basename to have full control over the presence\n // of a trailing slash on root links\n if (basename !== \"/\") {\n joinedPathname =\n pathname === \"/\" ? basename : joinPaths([basename, pathname]);\n }\n\n return navigator.createHref({ pathname: joinedPathname, search, hash });\n}\n\n/**\n * Returns true if this component is a descendant of a .\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-in-router-context\n */\nexport function useInRouterContext(): boolean {\n return React.useContext(LocationContext) != null;\n}\n\n/**\n * Returns the current location object, which represents the current URL in web\n * browsers.\n *\n * Note: If you're using this it may mean you're doing some of your own\n * \"routing\" in your app, and we'd like to know what your use case is. We may\n * be able to provide something higher-level to better suit your needs.\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-location\n */\nexport function useLocation(): Location {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useLocation() may be used only in the context of a component.`\n );\n\n return React.useContext(LocationContext).location;\n}\n\n/**\n * Returns the current navigation action which describes how the router came to\n * the current location, either by a pop, push, or replace on the history stack.\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-navigation-type\n */\nexport function useNavigationType(): NavigationType {\n return React.useContext(LocationContext).navigationType;\n}\n\n/**\n * Returns true if the URL for the given \"to\" value matches the current URL.\n * This is useful for components that need to know \"active\" state, e.g.\n * .\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-match\n */\nexport function useMatch<\n ParamKey extends ParamParseKey,\n Path extends string\n>(pattern: PathPattern | Path): PathMatch | null {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useMatch() may be used only in the context of a component.`\n );\n\n let { pathname } = useLocation();\n return React.useMemo(\n () => matchPath(pattern, pathname),\n [pathname, pattern]\n );\n}\n\n/**\n * The interface for the navigate() function returned from useNavigate().\n */\nexport interface NavigateFunction {\n (to: To, options?: NavigateOptions): void;\n (delta: number): void;\n}\n\n/**\n * Returns an imperative method for changing the location. Used by s, but\n * may also be used by other elements to change the location.\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-navigate\n */\nexport function useNavigate(): NavigateFunction {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useNavigate() may be used only in the context of a component.`\n );\n\n let { basename, navigator } = React.useContext(NavigationContext);\n let { matches } = React.useContext(RouteContext);\n let { pathname: locationPathname } = useLocation();\n\n let routePathnamesJson = JSON.stringify(\n getPathContributingMatches(matches).map((match) => match.pathnameBase)\n );\n\n let activeRef = React.useRef(false);\n React.useEffect(() => {\n activeRef.current = true;\n });\n\n let navigate: NavigateFunction = React.useCallback(\n (to: To | number, options: NavigateOptions = {}) => {\n warning(\n activeRef.current,\n `You should call navigate() in a React.useEffect(), not when ` +\n `your component is first rendered.`\n );\n\n if (!activeRef.current) return;\n\n if (typeof to === \"number\") {\n navigator.go(to);\n return;\n }\n\n let path = resolveTo(\n to,\n JSON.parse(routePathnamesJson),\n locationPathname,\n options.relative === \"path\"\n );\n\n // If we're operating within a basename, prepend it to the pathname prior\n // to handing off to history. If this is a root navigation, then we\n // navigate to the raw basename which allows the basename to have full\n // control over the presence of a trailing slash on root links\n if (basename !== \"/\") {\n path.pathname =\n path.pathname === \"/\"\n ? basename\n : joinPaths([basename, path.pathname]);\n }\n\n (!!options.replace ? navigator.replace : navigator.push)(\n path,\n options.state,\n options\n );\n },\n [basename, navigator, routePathnamesJson, locationPathname]\n );\n\n return navigate;\n}\n\nconst OutletContext = React.createContext(null);\n\n/**\n * Returns the context (if provided) for the child route at this level of the route\n * hierarchy.\n * @see https://reactrouter.com/docs/en/v6/hooks/use-outlet-context\n */\nexport function useOutletContext(): Context {\n return React.useContext(OutletContext) as Context;\n}\n\n/**\n * Returns the element for the child route at this level of the route\n * hierarchy. Used internally by to render child routes.\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-outlet\n */\nexport function useOutlet(context?: unknown): React.ReactElement | null {\n let outlet = React.useContext(RouteContext).outlet;\n if (outlet) {\n return (\n {outlet}\n );\n }\n return outlet;\n}\n\n/**\n * Returns an object of key/value pairs of the dynamic params from the current\n * URL that were matched by the route path.\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-params\n */\nexport function useParams<\n ParamsOrKey extends string | Record = string\n>(): Readonly<\n [ParamsOrKey] extends [string] ? Params : Partial\n> {\n let { matches } = React.useContext(RouteContext);\n let routeMatch = matches[matches.length - 1];\n return routeMatch ? (routeMatch.params as any) : {};\n}\n\n/**\n * Resolves the pathname of the given `to` value against the current location.\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-resolved-path\n */\nexport function useResolvedPath(\n to: To,\n { relative }: { relative?: RelativeRoutingType } = {}\n): Path {\n let { matches } = React.useContext(RouteContext);\n let { pathname: locationPathname } = useLocation();\n\n let routePathnamesJson = JSON.stringify(\n getPathContributingMatches(matches).map((match) => match.pathnameBase)\n );\n\n return React.useMemo(\n () =>\n resolveTo(\n to,\n JSON.parse(routePathnamesJson),\n locationPathname,\n relative === \"path\"\n ),\n [to, routePathnamesJson, locationPathname, relative]\n );\n}\n\n/**\n * Returns the element of the route that matched the current location, prepared\n * with the correct context to render the remainder of the route tree. Route\n * elements in the tree must render an to render their child route's\n * element.\n *\n * @see https://reactrouter.com/docs/en/v6/hooks/use-routes\n */\nexport function useRoutes(\n routes: RouteObject[],\n locationArg?: Partial | string\n): React.ReactElement | null {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useRoutes() may be used only in the context of a component.`\n );\n\n let dataRouterStateContext = React.useContext(DataRouterStateContext);\n let { matches: parentMatches } = React.useContext(RouteContext);\n let routeMatch = parentMatches[parentMatches.length - 1];\n let parentParams = routeMatch ? routeMatch.params : {};\n let parentPathname = routeMatch ? routeMatch.pathname : \"/\";\n let parentPathnameBase = routeMatch ? routeMatch.pathnameBase : \"/\";\n let parentRoute = routeMatch && routeMatch.route;\n\n if (__DEV__) {\n // You won't get a warning about 2 different under a \n // without a trailing *, but this is a best-effort warning anyway since we\n // cannot even give the warning unless they land at the parent route.\n //\n // Example:\n //\n // \n // {/* This route path MUST end with /* because otherwise\n // it will never match /blog/post/123 */}\n // } />\n // } />\n // \n //\n // function Blog() {\n // return (\n // \n // } />\n // \n // );\n // }\n let parentPath = (parentRoute && parentRoute.path) || \"\";\n warningOnce(\n parentPathname,\n !parentRoute || parentPath.endsWith(\"*\"),\n `You rendered descendant (or called \\`useRoutes()\\`) at ` +\n `\"${parentPathname}\" (under ) but the ` +\n `parent route path has no trailing \"*\". This means if you navigate ` +\n `deeper, the parent won't match anymore and therefore the child ` +\n `routes will never render.\\n\\n` +\n `Please change the parent to .`\n );\n }\n\n let locationFromContext = useLocation();\n\n let location;\n if (locationArg) {\n let parsedLocationArg =\n typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n\n invariant(\n parentPathnameBase === \"/\" ||\n parsedLocationArg.pathname?.startsWith(parentPathnameBase),\n `When overriding the location using \\`\\` or \\`useRoutes(routes, location)\\`, ` +\n `the location pathname must begin with the portion of the URL pathname that was ` +\n `matched by all parent routes. The current pathname base is \"${parentPathnameBase}\" ` +\n `but pathname \"${parsedLocationArg.pathname}\" was given in the \\`location\\` prop.`\n );\n\n location = parsedLocationArg;\n } else {\n location = locationFromContext;\n }\n\n let pathname = location.pathname || \"/\";\n let remainingPathname =\n parentPathnameBase === \"/\"\n ? pathname\n : pathname.slice(parentPathnameBase.length) || \"/\";\n\n let matches = matchRoutes(routes, { pathname: remainingPathname });\n\n if (__DEV__) {\n warning(\n parentRoute || matches != null,\n `No routes matched location \"${location.pathname}${location.search}${location.hash}\" `\n );\n\n warning(\n matches == null ||\n matches[matches.length - 1].route.element !== undefined,\n `Matched leaf route at location \"${location.pathname}${location.search}${location.hash}\" does not have an element. ` +\n `This means it will render an with a null value by default resulting in an \"empty\" page.`\n );\n }\n\n let renderedMatches = _renderMatches(\n matches &&\n matches.map((match) =>\n Object.assign({}, match, {\n params: Object.assign({}, parentParams, match.params),\n pathname: joinPaths([parentPathnameBase, match.pathname]),\n pathnameBase:\n match.pathnameBase === \"/\"\n ? parentPathnameBase\n : joinPaths([parentPathnameBase, match.pathnameBase]),\n })\n ),\n parentMatches,\n dataRouterStateContext || undefined\n );\n\n // When a user passes in a `locationArg`, the associated routes need to\n // be wrapped in a new `LocationContext.Provider` in order for `useLocation`\n // to use the scoped location instead of the global location.\n if (locationArg && renderedMatches) {\n return (\n \n {renderedMatches}\n \n );\n }\n\n return renderedMatches;\n}\n\nfunction DefaultErrorElement() {\n let error = useRouteError();\n let message = isRouteErrorResponse(error)\n ? `${error.status} ${error.statusText}`\n : error instanceof Error\n ? error.message\n : JSON.stringify(error);\n let stack = error instanceof Error ? error.stack : null;\n let lightgrey = \"rgba(200,200,200, 0.5)\";\n let preStyles = { padding: \"0.5rem\", backgroundColor: lightgrey };\n let codeStyles = { padding: \"2px 4px\", backgroundColor: lightgrey };\n return (\n <>\n

Unhandled Thrown Error!

\n

{message}

\n {stack ?
{stack}
: null}\n

💿 Hey developer 👋

\n

\n You can provide a way better UX than this when your app throws errors by\n providing your own \n errorElement props on \n <Route>\n

\n \n );\n}\n\ntype RenderErrorBoundaryProps = React.PropsWithChildren<{\n location: Location;\n error: any;\n component: React.ReactNode;\n}>;\n\ntype RenderErrorBoundaryState = {\n location: Location;\n error: any;\n};\n\nexport class RenderErrorBoundary extends React.Component<\n RenderErrorBoundaryProps,\n RenderErrorBoundaryState\n> {\n constructor(props: RenderErrorBoundaryProps) {\n super(props);\n this.state = {\n location: props.location,\n error: props.error,\n };\n }\n\n static getDerivedStateFromError(error: any) {\n return { error: error };\n }\n\n static getDerivedStateFromProps(\n props: RenderErrorBoundaryProps,\n state: RenderErrorBoundaryState\n ) {\n // When we get into an error state, the user will likely click \"back\" to the\n // previous page that didn't have an error. Because this wraps the entire\n // application, that will have no effect--the error page continues to display.\n // This gives us a mechanism to recover from the error when the location changes.\n //\n // Whether we're in an error state or not, we update the location in state\n // so that when we are in an error state, it gets reset when a new location\n // comes in and the user recovers from the error.\n if (state.location !== props.location) {\n return {\n error: props.error,\n location: props.location,\n };\n }\n\n // If we're not changing locations, preserve the location but still surface\n // any new errors that may come through. We retain the existing error, we do\n // this because the error provided from the app state may be cleared without\n // the location changing.\n return {\n error: props.error || state.error,\n location: state.location,\n };\n }\n\n componentDidCatch(error: any, errorInfo: any) {\n console.error(\n \"React Router caught the following error during render\",\n error,\n errorInfo\n );\n }\n\n render() {\n return this.state.error ? (\n \n ) : (\n this.props.children\n );\n }\n}\n\ninterface RenderedRouteProps {\n routeContext: RouteContextObject;\n match: RouteMatch;\n children: React.ReactNode | null;\n}\n\nfunction RenderedRoute({ routeContext, match, children }: RenderedRouteProps) {\n let dataStaticRouterContext = React.useContext(DataStaticRouterContext);\n\n // Track how deep we got in our render pass to emulate SSR componentDidCatch\n // in a DataStaticRouter\n if (dataStaticRouterContext && match.route.errorElement) {\n dataStaticRouterContext._deepestRenderedBoundaryId = match.route.id;\n }\n\n return (\n \n {children}\n \n );\n}\n\nexport function _renderMatches(\n matches: RouteMatch[] | null,\n parentMatches: RouteMatch[] = [],\n dataRouterState?: RemixRouter[\"state\"]\n): React.ReactElement | null {\n if (matches == null) {\n if (dataRouterState?.errors) {\n // Don't bail if we have data router errors so we can render them in the\n // boundary. Use the pre-matched (or shimmed) matches\n matches = dataRouterState.matches as DataRouteMatch[];\n } else {\n return null;\n }\n }\n\n let renderedMatches = matches;\n\n // If we have data errors, trim matches to the highest error boundary\n let errors = dataRouterState?.errors;\n if (errors != null) {\n let errorIndex = renderedMatches.findIndex(\n (m) => m.route.id && errors?.[m.route.id]\n );\n invariant(\n errorIndex >= 0,\n `Could not find a matching route for the current errors: ${errors}`\n );\n renderedMatches = renderedMatches.slice(\n 0,\n Math.min(renderedMatches.length, errorIndex + 1)\n );\n }\n\n return renderedMatches.reduceRight((outlet, match, index) => {\n let error = match.route.id ? errors?.[match.route.id] : null;\n // Only data routers handle errors\n let errorElement = dataRouterState\n ? match.route.errorElement || \n : null;\n let getChildren = () => (\n \n {error\n ? errorElement\n : match.route.element !== undefined\n ? match.route.element\n : outlet}\n \n );\n // Only wrap in an error boundary within data router usages when we have an\n // errorElement on this route. Otherwise let it bubble up to an ancestor\n // errorElement\n return dataRouterState && (match.route.errorElement || index === 0) ? (\n \n ) : (\n getChildren()\n );\n }, null as React.ReactElement | null);\n}\n\nenum DataRouterHook {\n UseRevalidator = \"useRevalidator\",\n}\n\nenum DataRouterStateHook {\n UseLoaderData = \"useLoaderData\",\n UseActionData = \"useActionData\",\n UseRouteError = \"useRouteError\",\n UseNavigation = \"useNavigation\",\n UseRouteLoaderData = \"useRouteLoaderData\",\n UseMatches = \"useMatches\",\n UseRevalidator = \"useRevalidator\",\n}\n\nfunction getDataRouterConsoleError(\n hookName: DataRouterHook | DataRouterStateHook\n) {\n return `${hookName} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;\n}\n\nfunction useDataRouterContext(hookName: DataRouterHook) {\n let ctx = React.useContext(DataRouterContext);\n invariant(ctx, getDataRouterConsoleError(hookName));\n return ctx;\n}\n\nfunction useDataRouterState(hookName: DataRouterStateHook) {\n let state = React.useContext(DataRouterStateContext);\n invariant(state, getDataRouterConsoleError(hookName));\n return state;\n}\n\n/**\n * Returns the current navigation, defaulting to an \"idle\" navigation when\n * no navigation is in progress\n */\nexport function useNavigation() {\n let state = useDataRouterState(DataRouterStateHook.UseNavigation);\n return state.navigation;\n}\n\n/**\n * Returns a revalidate function for manually triggering revalidation, as well\n * as the current state of any manual revalidations\n */\nexport function useRevalidator() {\n let dataRouterContext = useDataRouterContext(DataRouterHook.UseRevalidator);\n let state = useDataRouterState(DataRouterStateHook.UseRevalidator);\n return {\n revalidate: dataRouterContext.router.revalidate,\n state: state.revalidation,\n };\n}\n\n/**\n * Returns the active route matches, useful for accessing loaderData for\n * parent/child routes or the route \"handle\" property\n */\nexport function useMatches() {\n let { matches, loaderData } = useDataRouterState(\n DataRouterStateHook.UseMatches\n );\n return React.useMemo(\n () =>\n matches.map((match) => {\n let { pathname, params } = match;\n // Note: This structure matches that created by createUseMatchesMatch\n // in the @remix-run/router , so if you change this please also change\n // that :) Eventually we'll DRY this up\n return {\n id: match.route.id,\n pathname,\n params,\n data: loaderData[match.route.id] as unknown,\n handle: match.route.handle as unknown,\n };\n }),\n [matches, loaderData]\n );\n}\n\n/**\n * Returns the loader data for the nearest ancestor Route loader\n */\nexport function useLoaderData(): unknown {\n let state = useDataRouterState(DataRouterStateHook.UseLoaderData);\n\n let route = React.useContext(RouteContext);\n invariant(route, `useLoaderData must be used inside a RouteContext`);\n\n let thisRoute = route.matches[route.matches.length - 1];\n invariant(\n thisRoute.route.id,\n `useLoaderData can only be used on routes that contain a unique \"id\"`\n );\n\n return state.loaderData[thisRoute.route.id];\n}\n\n/**\n * Returns the loaderData for the given routeId\n */\nexport function useRouteLoaderData(routeId: string): unknown {\n let state = useDataRouterState(DataRouterStateHook.UseRouteLoaderData);\n return state.loaderData[routeId];\n}\n\n/**\n * Returns the action data for the nearest ancestor Route action\n */\nexport function useActionData(): unknown {\n let state = useDataRouterState(DataRouterStateHook.UseActionData);\n\n let route = React.useContext(RouteContext);\n invariant(route, `useActionData must be used inside a RouteContext`);\n\n return Object.values(state?.actionData || {})[0];\n}\n\n/**\n * Returns the nearest ancestor Route error, which could be a loader/action\n * error or a render error. This is intended to be called from your\n * errorElement to display a proper error message.\n */\nexport function useRouteError(): unknown {\n let error = React.useContext(RouteErrorContext);\n let state = useDataRouterState(DataRouterStateHook.UseRouteError);\n let route = React.useContext(RouteContext);\n let thisRoute = route.matches[route.matches.length - 1];\n\n // If this was a render error, we put it in a RouteError context inside\n // of RenderErrorBoundary\n if (error) {\n return error;\n }\n\n invariant(route, `useRouteError must be used inside a RouteContext`);\n invariant(\n thisRoute.route.id,\n `useRouteError can only be used on routes that contain a unique \"id\"`\n );\n\n // Otherwise look for errors from our data router state\n return state.errors?.[thisRoute.route.id];\n}\n\n/**\n * Returns the happy-path data from the nearest ancestor value\n */\nexport function useAsyncValue(): unknown {\n let value = React.useContext(AwaitContext);\n return value?._data;\n}\n\n/**\n * Returns the error from the nearest ancestor value\n */\nexport function useAsyncError(): unknown {\n let value = React.useContext(AwaitContext);\n return value?._error;\n}\n\nconst alreadyWarned: Record = {};\n\nfunction warningOnce(key: string, cond: boolean, message: string) {\n if (!cond && !alreadyWarned[key]) {\n alreadyWarned[key] = true;\n warning(false, message);\n }\n}\n","import * as React from \"react\";\nimport type {\n TrackedPromise,\n InitialEntry,\n Location,\n MemoryHistory,\n Router as RemixRouter,\n RouterState,\n To,\n} from \"@remix-run/router\";\nimport {\n Action as NavigationType,\n AbortedDeferredError,\n createMemoryHistory,\n invariant,\n parsePath,\n stripBasename,\n warning,\n} from \"@remix-run/router\";\nimport { useSyncExternalStore as useSyncExternalStoreShim } from \"./use-sync-external-store-shim\";\n\nimport type {\n DataRouteObject,\n IndexRouteObject,\n RouteMatch,\n RouteObject,\n Navigator,\n NonIndexRouteObject,\n RelativeRoutingType,\n} from \"./context\";\nimport {\n LocationContext,\n NavigationContext,\n DataRouterContext,\n DataRouterStateContext,\n AwaitContext,\n} from \"./context\";\nimport {\n useAsyncValue,\n useInRouterContext,\n useNavigate,\n useOutlet,\n useRoutes,\n _renderMatches,\n} from \"./hooks\";\n\nexport interface RouterProviderProps {\n fallbackElement?: React.ReactNode;\n router: RemixRouter;\n}\n\n/**\n * Given a Remix Router instance, render the appropriate UI\n */\nexport function RouterProvider({\n fallbackElement,\n router,\n}: RouterProviderProps): React.ReactElement {\n // Sync router state to our component state to force re-renders\n let state: RouterState = useSyncExternalStoreShim(\n router.subscribe,\n () => router.state,\n // We have to provide this so React@18 doesn't complain during hydration,\n // but we pass our serialized hydration data into the router so state here\n // is already synced with what the server saw\n () => router.state\n );\n\n let navigator = React.useMemo((): Navigator => {\n return {\n createHref: router.createHref,\n go: (n) => router.navigate(n),\n push: (to, state, opts) =>\n router.navigate(to, {\n state,\n preventScrollReset: opts?.preventScrollReset,\n }),\n replace: (to, state, opts) =>\n router.navigate(to, {\n replace: true,\n state,\n preventScrollReset: opts?.preventScrollReset,\n }),\n };\n }, [router]);\n\n let basename = router.basename || \"/\";\n\n return (\n \n \n \n {router.state.initialized ? : fallbackElement}\n
\n \n \n );\n}\n\nexport interface MemoryRouterProps {\n basename?: string;\n children?: React.ReactNode;\n initialEntries?: InitialEntry[];\n initialIndex?: number;\n}\n\n/**\n * A that stores all entries in memory.\n *\n * @see https://reactrouter.com/docs/en/v6/routers/memory-router\n */\nexport function MemoryRouter({\n basename,\n children,\n initialEntries,\n initialIndex,\n}: MemoryRouterProps): React.ReactElement {\n let historyRef = React.useRef();\n if (historyRef.current == null) {\n historyRef.current = createMemoryHistory({\n initialEntries,\n initialIndex,\n v5Compat: true,\n });\n }\n\n let history = historyRef.current;\n let [state, setState] = React.useState({\n action: history.action,\n location: history.location,\n });\n\n React.useLayoutEffect(() => history.listen(setState), [history]);\n\n return (\n \n );\n}\n\nexport interface NavigateProps {\n to: To;\n replace?: boolean;\n state?: any;\n relative?: RelativeRoutingType;\n}\n\n/**\n * Changes the current location.\n *\n * Note: This API is mostly useful in React.Component subclasses that are not\n * able to use hooks. In functional components, we recommend you use the\n * `useNavigate` hook instead.\n *\n * @see https://reactrouter.com/docs/en/v6/components/navigate\n */\nexport function Navigate({\n to,\n replace,\n state,\n relative,\n}: NavigateProps): null {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of\n // the router loaded. We can help them understand how to avoid that.\n ` may be used only in the context of a component.`\n );\n\n warning(\n !React.useContext(NavigationContext).static,\n ` must not be used on the initial render in a . ` +\n `This is a no-op, but you should modify your code so the is ` +\n `only ever rendered in response to some user interaction or state change.`\n );\n\n let dataRouterState = React.useContext(DataRouterStateContext);\n let navigate = useNavigate();\n\n React.useEffect(() => {\n // Avoid kicking off multiple navigations if we're in the middle of a\n // data-router navigation, since components get re-rendered when we enter\n // a submitting/loading state\n if (dataRouterState && dataRouterState.navigation.state !== \"idle\") {\n return;\n }\n navigate(to, { replace, state, relative });\n });\n\n return null;\n}\n\nexport interface OutletProps {\n context?: unknown;\n}\n\n/**\n * Renders the child route's element, if there is one.\n *\n * @see https://reactrouter.com/docs/en/v6/components/outlet\n */\nexport function Outlet(props: OutletProps): React.ReactElement | null {\n return useOutlet(props.context);\n}\n\nexport interface PathRouteProps {\n caseSensitive?: NonIndexRouteObject[\"caseSensitive\"];\n path?: NonIndexRouteObject[\"path\"];\n id?: NonIndexRouteObject[\"id\"];\n loader?: NonIndexRouteObject[\"loader\"];\n action?: NonIndexRouteObject[\"action\"];\n hasErrorBoundary?: NonIndexRouteObject[\"hasErrorBoundary\"];\n shouldRevalidate?: NonIndexRouteObject[\"shouldRevalidate\"];\n handle?: NonIndexRouteObject[\"handle\"];\n index?: false;\n children?: React.ReactNode;\n element?: React.ReactNode | null;\n errorElement?: React.ReactNode | null;\n}\n\nexport interface LayoutRouteProps extends PathRouteProps {}\n\nexport interface IndexRouteProps {\n caseSensitive?: IndexRouteObject[\"caseSensitive\"];\n path?: IndexRouteObject[\"path\"];\n id?: IndexRouteObject[\"id\"];\n loader?: IndexRouteObject[\"loader\"];\n action?: IndexRouteObject[\"action\"];\n hasErrorBoundary?: IndexRouteObject[\"hasErrorBoundary\"];\n shouldRevalidate?: IndexRouteObject[\"shouldRevalidate\"];\n handle?: IndexRouteObject[\"handle\"];\n index: true;\n children?: undefined;\n element?: React.ReactNode | null;\n errorElement?: React.ReactNode | null;\n}\n\nexport type RouteProps = PathRouteProps | LayoutRouteProps | IndexRouteProps;\n\n/**\n * Declares an element that should be rendered at a certain URL path.\n *\n * @see https://reactrouter.com/docs/en/v6/components/route\n */\nexport function Route(_props: RouteProps): React.ReactElement | null {\n invariant(\n false,\n `A is only ever to be used as the child of element, ` +\n `never rendered directly. Please wrap your in a .`\n );\n}\n\nexport interface RouterProps {\n basename?: string;\n children?: React.ReactNode;\n location: Partial | string;\n navigationType?: NavigationType;\n navigator: Navigator;\n static?: boolean;\n}\n\n/**\n * Provides location context for the rest of the app.\n *\n * Note: You usually won't render a directly. Instead, you'll render a\n * router that is more specific to your environment such as a \n * in web browsers or a for server rendering.\n *\n * @see https://reactrouter.com/docs/en/v6/routers/router\n */\nexport function Router({\n basename: basenameProp = \"/\",\n children = null,\n location: locationProp,\n navigationType = NavigationType.Pop,\n navigator,\n static: staticProp = false,\n}: RouterProps): React.ReactElement | null {\n invariant(\n !useInRouterContext(),\n `You cannot render a inside another .` +\n ` You should never have more than one in your app.`\n );\n\n // Preserve trailing slashes on basename, so we can let the user control\n // the enforcement of trailing slashes throughout the app\n let basename = basenameProp.replace(/^\\/*/, \"/\");\n let navigationContext = React.useMemo(\n () => ({ basename, navigator, static: staticProp }),\n [basename, navigator, staticProp]\n );\n\n if (typeof locationProp === \"string\") {\n locationProp = parsePath(locationProp);\n }\n\n let {\n pathname = \"/\",\n search = \"\",\n hash = \"\",\n state = null,\n key = \"default\",\n } = locationProp;\n\n let location = React.useMemo(() => {\n let trailingPathname = stripBasename(pathname, basename);\n\n if (trailingPathname == null) {\n return null;\n }\n\n return {\n pathname: trailingPathname,\n search,\n hash,\n state,\n key,\n };\n }, [basename, pathname, search, hash, state, key]);\n\n warning(\n location != null,\n ` is not able to match the URL ` +\n `\"${pathname}${search}${hash}\" because it does not start with the ` +\n `basename, so the won't render anything.`\n );\n\n if (location == null) {\n return null;\n }\n\n return (\n \n \n \n );\n}\n\nexport interface RoutesProps {\n children?: React.ReactNode;\n location?: Partial | string;\n}\n\n/**\n * A container for a nested tree of elements that renders the branch\n * that best matches the current location.\n *\n * @see https://reactrouter.com/docs/en/v6/components/routes\n */\nexport function Routes({\n children,\n location,\n}: RoutesProps): React.ReactElement | null {\n let dataRouterContext = React.useContext(DataRouterContext);\n // When in a DataRouterContext _without_ children, we use the router routes\n // directly. If we have children, then we're in a descendant tree and we\n // need to use child routes.\n let routes =\n dataRouterContext && !children\n ? (dataRouterContext.router.routes as DataRouteObject[])\n : createRoutesFromChildren(children);\n return useRoutes(routes, location);\n}\n\nexport interface AwaitResolveRenderFunction {\n (data: Awaited): React.ReactElement;\n}\n\nexport interface AwaitProps {\n children: React.ReactNode | AwaitResolveRenderFunction;\n errorElement?: React.ReactNode;\n resolve: TrackedPromise | any;\n}\n\n/**\n * Component to use for rendering lazily loaded data from returning defer()\n * in a loader function\n */\nexport function Await({ children, errorElement, resolve }: AwaitProps) {\n return (\n \n {children}\n \n );\n}\n\ntype AwaitErrorBoundaryProps = React.PropsWithChildren<{\n errorElement?: React.ReactNode;\n resolve: TrackedPromise | any;\n}>;\n\ntype AwaitErrorBoundaryState = {\n error: any;\n};\n\nenum AwaitRenderStatus {\n pending,\n success,\n error,\n}\n\nconst neverSettledPromise = new Promise(() => {});\n\nclass AwaitErrorBoundary extends React.Component<\n AwaitErrorBoundaryProps,\n AwaitErrorBoundaryState\n> {\n constructor(props: AwaitErrorBoundaryProps) {\n super(props);\n this.state = { error: null };\n }\n\n static getDerivedStateFromError(error: any) {\n return { error };\n }\n\n componentDidCatch(error: any, errorInfo: any) {\n console.error(\n \" caught the following error during render\",\n error,\n errorInfo\n );\n }\n\n render() {\n let { children, errorElement, resolve } = this.props;\n\n let promise: TrackedPromise | null = null;\n let status: AwaitRenderStatus = AwaitRenderStatus.pending;\n\n if (!(resolve instanceof Promise)) {\n // Didn't get a promise - provide as a resolved promise\n status = AwaitRenderStatus.success;\n promise = Promise.resolve();\n Object.defineProperty(promise, \"_tracked\", { get: () => true });\n Object.defineProperty(promise, \"_data\", { get: () => resolve });\n } else if (this.state.error) {\n // Caught a render error, provide it as a rejected promise\n status = AwaitRenderStatus.error;\n let renderError = this.state.error;\n promise = Promise.reject().catch(() => {}); // Avoid unhandled rejection warnings\n Object.defineProperty(promise, \"_tracked\", { get: () => true });\n Object.defineProperty(promise, \"_error\", { get: () => renderError });\n } else if ((resolve as TrackedPromise)._tracked) {\n // Already tracked promise - check contents\n promise = resolve;\n status =\n promise._error !== undefined\n ? AwaitRenderStatus.error\n : promise._data !== undefined\n ? AwaitRenderStatus.success\n : AwaitRenderStatus.pending;\n } else {\n // Raw (untracked) promise - track it\n status = AwaitRenderStatus.pending;\n Object.defineProperty(resolve, \"_tracked\", { get: () => true });\n promise = resolve.then(\n (data: any) =>\n Object.defineProperty(resolve, \"_data\", { get: () => data }),\n (error: any) =>\n Object.defineProperty(resolve, \"_error\", { get: () => error })\n );\n }\n\n if (\n status === AwaitRenderStatus.error &&\n promise._error instanceof AbortedDeferredError\n ) {\n // Freeze the UI by throwing a never resolved promise\n throw neverSettledPromise;\n }\n\n if (status === AwaitRenderStatus.error && !errorElement) {\n // No errorElement, throw to the nearest route-level error boundary\n throw promise._error;\n }\n\n if (status === AwaitRenderStatus.error) {\n // Render via our errorElement\n return ;\n }\n\n if (status === AwaitRenderStatus.success) {\n // Render children with resolved value\n return ;\n }\n\n // Throw to the suspense boundary\n throw promise;\n }\n}\n\n/**\n * @private\n * Indirection to leverage useAsyncValue for a render-prop API on \n */\nfunction ResolveAwait({\n children,\n}: {\n children: React.ReactNode | AwaitResolveRenderFunction;\n}) {\n let data = useAsyncValue();\n if (typeof children === \"function\") {\n return children(data);\n }\n return <>{children};\n}\n\n///////////////////////////////////////////////////////////////////////////////\n// UTILS\n///////////////////////////////////////////////////////////////////////////////\n\n/**\n * Creates a route config from a React \"children\" object, which is usually\n * either a `` element or an array of them. Used internally by\n * `` to create a route config from its children.\n *\n * @see https://reactrouter.com/docs/en/v6/utils/create-routes-from-children\n */\nexport function createRoutesFromChildren(\n children: React.ReactNode,\n parentPath: number[] = []\n): RouteObject[] {\n let routes: RouteObject[] = [];\n\n React.Children.forEach(children, (element, index) => {\n if (!React.isValidElement(element)) {\n // Ignore non-elements. This allows people to more easily inline\n // conditionals in their route config.\n return;\n }\n\n if (element.type === React.Fragment) {\n // Transparently support React.Fragment and its children.\n routes.push.apply(\n routes,\n createRoutesFromChildren(element.props.children, parentPath)\n );\n return;\n }\n\n invariant(\n element.type === Route,\n `[${\n typeof element.type === \"string\" ? element.type : element.type.name\n }] is not a component. All component children of must be a or `\n );\n\n invariant(\n !element.props.index || !element.props.children,\n \"An index route cannot have child routes.\"\n );\n\n let treePath = [...parentPath, index];\n let route: RouteObject = {\n id: element.props.id || treePath.join(\"-\"),\n caseSensitive: element.props.caseSensitive,\n element: element.props.element,\n index: element.props.index,\n path: element.props.path,\n loader: element.props.loader,\n action: element.props.action,\n errorElement: element.props.errorElement,\n hasErrorBoundary: element.props.errorElement != null,\n shouldRevalidate: element.props.shouldRevalidate,\n handle: element.props.handle,\n };\n\n if (element.props.children) {\n route.children = createRoutesFromChildren(\n element.props.children,\n treePath\n );\n }\n\n routes.push(route);\n });\n\n return routes;\n}\n\n/**\n * Renders the result of `matchRoutes()` into a React element.\n */\nexport function renderMatches(\n matches: RouteMatch[] | null\n): React.ReactElement | null {\n return _renderMatches(matches);\n}\n\n/**\n * @private\n * Walk the route tree and add hasErrorBoundary if it's not provided, so that\n * users providing manual route arrays can just specify errorElement\n */\nexport function enhanceManualRouteObjects(\n routes: RouteObject[]\n): RouteObject[] {\n return routes.map((route) => {\n let routeClone = { ...route };\n if (routeClone.hasErrorBoundary == null) {\n routeClone.hasErrorBoundary = routeClone.errorElement != null;\n }\n if (routeClone.children) {\n routeClone.children = enhanceManualRouteObjects(routeClone.children);\n }\n return routeClone;\n });\n}\n","/**\n * NOTE: If you refactor this to split up the modules into separate files,\n * you'll need to update the rollup config for react-router-dom-v5-compat.\n */\nimport * as React from \"react\";\nimport type {\n NavigateOptions,\n RelativeRoutingType,\n RouteObject,\n To,\n} from \"react-router\";\nimport {\n Router,\n createPath,\n useHref,\n useLocation,\n useMatch,\n useMatches,\n useNavigate,\n useNavigation,\n useResolvedPath,\n UNSAFE_DataRouterContext as DataRouterContext,\n UNSAFE_DataRouterStateContext as DataRouterStateContext,\n UNSAFE_NavigationContext as NavigationContext,\n UNSAFE_RouteContext as RouteContext,\n UNSAFE_enhanceManualRouteObjects as enhanceManualRouteObjects,\n} from \"react-router\";\nimport type {\n BrowserHistory,\n Fetcher,\n FormEncType,\n FormMethod,\n GetScrollRestorationKeyFunction,\n HashHistory,\n History,\n HydrationState,\n Router as RemixRouter,\n} from \"@remix-run/router\";\nimport {\n createRouter,\n createBrowserHistory,\n createHashHistory,\n invariant,\n joinPaths,\n matchPath,\n} from \"@remix-run/router\";\n\nimport type {\n SubmitOptions,\n ParamKeyValuePair,\n URLSearchParamsInit,\n} from \"./dom\";\nimport {\n createSearchParams,\n defaultMethod,\n getFormSubmissionInfo,\n getSearchParamsForLocation,\n shouldProcessLinkClick,\n} from \"./dom\";\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Re-exports\n////////////////////////////////////////////////////////////////////////////////\n\nexport type {\n FormEncType,\n FormMethod,\n ParamKeyValuePair,\n SubmitOptions,\n URLSearchParamsInit,\n};\nexport { createSearchParams };\n\n// Note: Keep in sync with react-router exports!\nexport type {\n ActionFunction,\n ActionFunctionArgs,\n AwaitProps,\n DataRouteMatch,\n DataRouteObject,\n Fetcher,\n Hash,\n IndexRouteObject,\n IndexRouteProps,\n JsonFunction,\n LayoutRouteProps,\n LoaderFunction,\n LoaderFunctionArgs,\n Location,\n MemoryRouterProps,\n NavigateFunction,\n NavigateOptions,\n NavigateProps,\n Navigation,\n Navigator,\n NonIndexRouteObject,\n OutletProps,\n Params,\n ParamParseKey,\n Path,\n PathMatch,\n Pathname,\n PathPattern,\n PathRouteProps,\n RedirectFunction,\n RelativeRoutingType,\n RouteMatch,\n RouteObject,\n RouteProps,\n RouterProps,\n RouterProviderProps,\n RoutesProps,\n Search,\n ShouldRevalidateFunction,\n To,\n} from \"react-router\";\nexport {\n AbortedDeferredError,\n Await,\n MemoryRouter,\n Navigate,\n NavigationType,\n Outlet,\n Route,\n Router,\n RouterProvider,\n Routes,\n createMemoryRouter,\n createPath,\n createRoutesFromChildren,\n createRoutesFromElements,\n defer,\n isRouteErrorResponse,\n generatePath,\n json,\n matchPath,\n matchRoutes,\n parsePath,\n redirect,\n renderMatches,\n resolvePath,\n useActionData,\n useAsyncError,\n useAsyncValue,\n useHref,\n useInRouterContext,\n useLoaderData,\n useLocation,\n useMatch,\n useMatches,\n useNavigate,\n useNavigation,\n useNavigationType,\n useOutlet,\n useOutletContext,\n useParams,\n useResolvedPath,\n useRevalidator,\n useRouteError,\n useRouteLoaderData,\n useRoutes,\n} from \"react-router\";\n\n///////////////////////////////////////////////////////////////////////////////\n// DANGER! PLEASE READ ME!\n// We provide these exports as an escape hatch in the event that you need any\n// routing data that we don't provide an explicit API for. With that said, we\n// want to cover your use case if we can, so if you feel the need to use these\n// we want to hear from you. Let us know what you're building and we'll do our\n// best to make sure we can support you!\n//\n// We consider these exports an implementation detail and do not guarantee\n// against any breaking changes, regardless of the semver release. Use with\n// extreme caution and only if you understand the consequences. Godspeed.\n///////////////////////////////////////////////////////////////////////////////\n\n/** @internal */\nexport {\n UNSAFE_DataRouterContext,\n UNSAFE_DataRouterStateContext,\n UNSAFE_DataStaticRouterContext,\n UNSAFE_NavigationContext,\n UNSAFE_LocationContext,\n UNSAFE_RouteContext,\n UNSAFE_enhanceManualRouteObjects,\n} from \"react-router\";\n//#endregion\n\ndeclare global {\n var __staticRouterHydrationData: HydrationState | undefined;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Routers\n////////////////////////////////////////////////////////////////////////////////\n\nexport function createBrowserRouter(\n routes: RouteObject[],\n opts?: {\n basename?: string;\n hydrationData?: HydrationState;\n window?: Window;\n }\n): RemixRouter {\n return createRouter({\n basename: opts?.basename,\n history: createBrowserHistory({ window: opts?.window }),\n hydrationData: opts?.hydrationData || window?.__staticRouterHydrationData,\n routes: enhanceManualRouteObjects(routes),\n }).initialize();\n}\n\nexport function createHashRouter(\n routes: RouteObject[],\n opts?: {\n basename?: string;\n hydrationData?: HydrationState;\n window?: Window;\n }\n): RemixRouter {\n return createRouter({\n basename: opts?.basename,\n history: createHashHistory({ window: opts?.window }),\n hydrationData: opts?.hydrationData || window?.__staticRouterHydrationData,\n routes: enhanceManualRouteObjects(routes),\n }).initialize();\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Components\n////////////////////////////////////////////////////////////////////////////////\n\nexport interface BrowserRouterProps {\n basename?: string;\n children?: React.ReactNode;\n window?: Window;\n}\n\n/**\n * A `` for use in web browsers. Provides the cleanest URLs.\n */\nexport function BrowserRouter({\n basename,\n children,\n window,\n}: BrowserRouterProps) {\n let historyRef = React.useRef();\n if (historyRef.current == null) {\n historyRef.current = createBrowserHistory({ window, v5Compat: true });\n }\n\n let history = historyRef.current;\n let [state, setState] = React.useState({\n action: history.action,\n location: history.location,\n });\n\n React.useLayoutEffect(() => history.listen(setState), [history]);\n\n return (\n \n );\n}\n\nexport interface HashRouterProps {\n basename?: string;\n children?: React.ReactNode;\n window?: Window;\n}\n\n/**\n * A `` for use in web browsers. Stores the location in the hash\n * portion of the URL so it is not sent to the server.\n */\nexport function HashRouter({ basename, children, window }: HashRouterProps) {\n let historyRef = React.useRef();\n if (historyRef.current == null) {\n historyRef.current = createHashHistory({ window, v5Compat: true });\n }\n\n let history = historyRef.current;\n let [state, setState] = React.useState({\n action: history.action,\n location: history.location,\n });\n\n React.useLayoutEffect(() => history.listen(setState), [history]);\n\n return (\n \n );\n}\n\nexport interface HistoryRouterProps {\n basename?: string;\n children?: React.ReactNode;\n history: History;\n}\n\n/**\n * A `` that accepts a pre-instantiated history object. It's important\n * to note that using your own history object is highly discouraged and may add\n * two versions of the history library to your bundles unless you use the same\n * version of the history library that React Router uses internally.\n */\nfunction HistoryRouter({ basename, children, history }: HistoryRouterProps) {\n const [state, setState] = React.useState({\n action: history.action,\n location: history.location,\n });\n\n React.useLayoutEffect(() => history.listen(setState), [history]);\n\n return (\n \n );\n}\n\nif (__DEV__) {\n HistoryRouter.displayName = \"unstable_HistoryRouter\";\n}\n\nexport { HistoryRouter as unstable_HistoryRouter };\n\nexport interface LinkProps\n extends Omit, \"href\"> {\n reloadDocument?: boolean;\n replace?: boolean;\n state?: any;\n preventScrollReset?: boolean;\n relative?: RelativeRoutingType;\n to: To;\n}\n\n/**\n * The public API for rendering a history-aware
.\n */\nexport const Link = React.forwardRef(\n function LinkWithRef(\n {\n onClick,\n relative,\n reloadDocument,\n replace,\n state,\n target,\n to,\n preventScrollReset,\n ...rest\n },\n ref\n ) {\n let href = useHref(to, { relative });\n let internalOnClick = useLinkClickHandler(to, {\n replace,\n state,\n target,\n preventScrollReset,\n relative,\n });\n function handleClick(\n event: React.MouseEvent\n ) {\n if (onClick) onClick(event);\n if (!event.defaultPrevented) {\n internalOnClick(event);\n }\n }\n\n return (\n // eslint-disable-next-line jsx-a11y/anchor-has-content\n \n );\n }\n);\n\nif (__DEV__) {\n Link.displayName = \"Link\";\n}\n\nexport interface NavLinkProps\n extends Omit {\n children?:\n | React.ReactNode\n | ((props: { isActive: boolean; isPending: boolean }) => React.ReactNode);\n caseSensitive?: boolean;\n className?:\n | string\n | ((props: {\n isActive: boolean;\n isPending: boolean;\n }) => string | undefined);\n end?: boolean;\n style?:\n | React.CSSProperties\n | ((props: {\n isActive: boolean;\n isPending: boolean;\n }) => React.CSSProperties | undefined);\n}\n\n/**\n * A wrapper that knows if it's \"active\" or not.\n */\nexport const NavLink = React.forwardRef(\n function NavLinkWithRef(\n {\n \"aria-current\": ariaCurrentProp = \"page\",\n caseSensitive = false,\n className: classNameProp = \"\",\n end = false,\n style: styleProp,\n to,\n children,\n ...rest\n },\n ref\n ) {\n let path = useResolvedPath(to, { relative: rest.relative });\n let location = useLocation();\n let routerState = React.useContext(DataRouterStateContext);\n\n let toPathname = path.pathname;\n let locationPathname = location.pathname;\n let nextLocationPathname =\n routerState && routerState.navigation && routerState.navigation.location\n ? routerState.navigation.location.pathname\n : null;\n\n if (!caseSensitive) {\n locationPathname = locationPathname.toLowerCase();\n nextLocationPathname = nextLocationPathname\n ? nextLocationPathname.toLowerCase()\n : null;\n toPathname = toPathname.toLowerCase();\n }\n\n let isActive =\n locationPathname === toPathname ||\n (!end &&\n locationPathname.startsWith(toPathname) &&\n locationPathname.charAt(toPathname.length) === \"/\");\n\n let isPending =\n nextLocationPathname != null &&\n (nextLocationPathname === toPathname ||\n (!end &&\n nextLocationPathname.startsWith(toPathname) &&\n nextLocationPathname.charAt(toPathname.length) === \"/\"));\n\n let ariaCurrent = isActive ? ariaCurrentProp : undefined;\n\n let className: string | undefined;\n if (typeof classNameProp === \"function\") {\n className = classNameProp({ isActive, isPending });\n } else {\n // If the className prop is not a function, we use a default `active`\n // class for s that are active. In v5 `active` was the default\n // value for `activeClassName`, but we are removing that API and can still\n // use the old default behavior for a cleaner upgrade path and keep the\n // simple styling rules working as they currently do.\n className = [\n classNameProp,\n isActive ? \"active\" : null,\n isPending ? \"pending\" : null,\n ]\n .filter(Boolean)\n .join(\" \");\n }\n\n let style =\n typeof styleProp === \"function\"\n ? styleProp({ isActive, isPending })\n : styleProp;\n\n return (\n \n {typeof children === \"function\"\n ? children({ isActive, isPending })\n : children}\n \n );\n }\n);\n\nif (__DEV__) {\n NavLink.displayName = \"NavLink\";\n}\n\nexport interface FormProps extends React.FormHTMLAttributes {\n /**\n * The HTTP verb to use when the form is submit. Supports \"get\", \"post\",\n * \"put\", \"delete\", \"patch\".\n */\n method?: FormMethod;\n\n /**\n * Normal `
` but supports React Router's relative paths.\n */\n action?: string;\n\n /**\n * Forces a full document navigation instead of a fetch.\n */\n reloadDocument?: boolean;\n\n /**\n * Replaces the current entry in the browser history stack when the form\n * navigates. Use this if you don't want the user to be able to click \"back\"\n * to the page with the form on it.\n */\n replace?: boolean;\n\n /**\n * Determines whether the form action is relative to the route hierarchy or\n * the pathname. Use this if you want to opt out of navigating the route\n * hierarchy and want to instead route based on /-delimited URL segments\n */\n relative?: RelativeRoutingType;\n\n /**\n * A function to call when the form is submitted. If you call\n * `event.preventDefault()` then this form will not do anything.\n */\n onSubmit?: React.FormEventHandler;\n}\n\n/**\n * A `@remix-run/router`-aware ``. It behaves like a normal form except\n * that the interaction with the server is with `fetch` instead of new document\n * requests, allowing components to add nicer UX to the page as the form is\n * submitted and returns with data.\n */\nexport const Form = React.forwardRef(\n (props, ref) => {\n return ;\n }\n);\n\nif (__DEV__) {\n Form.displayName = \"Form\";\n}\n\ntype HTMLSubmitEvent = React.BaseSyntheticEvent<\n SubmitEvent,\n Event,\n HTMLFormElement\n>;\n\ntype HTMLFormSubmitter = HTMLButtonElement | HTMLInputElement;\n\ninterface FormImplProps extends FormProps {\n fetcherKey?: string;\n routeId?: string;\n}\n\nconst FormImpl = React.forwardRef(\n (\n {\n reloadDocument,\n replace,\n method = defaultMethod,\n action,\n onSubmit,\n fetcherKey,\n routeId,\n relative,\n ...props\n },\n forwardedRef\n ) => {\n let submit = useSubmitImpl(fetcherKey, routeId);\n let formMethod: FormMethod =\n method.toLowerCase() === \"get\" ? \"get\" : \"post\";\n let formAction = useFormAction(action, { relative });\n let submitHandler: React.FormEventHandler = (event) => {\n onSubmit && onSubmit(event);\n if (event.defaultPrevented) return;\n event.preventDefault();\n\n let submitter = (event as unknown as HTMLSubmitEvent).nativeEvent\n .submitter as HTMLFormSubmitter | null;\n\n submit(submitter || event.currentTarget, { method, replace, relative });\n };\n\n return (\n \n );\n }\n);\n\nif (__DEV__) {\n Form.displayName = \"Form\";\n}\n\ninterface ScrollRestorationProps {\n getKey?: GetScrollRestorationKeyFunction;\n storageKey?: string;\n}\n\n/**\n * This component will emulate the browser's scroll restoration on location\n * changes.\n */\nexport function ScrollRestoration({\n getKey,\n storageKey,\n}: ScrollRestorationProps) {\n useScrollRestoration({ getKey, storageKey });\n return null;\n}\n\nif (__DEV__) {\n ScrollRestoration.displayName = \"ScrollRestoration\";\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Hooks\n////////////////////////////////////////////////////////////////////////////////\n\nenum DataRouterHook {\n UseScrollRestoration = \"useScrollRestoration\",\n UseSubmitImpl = \"useSubmitImpl\",\n UseFetcher = \"useFetcher\",\n}\n\nenum DataRouterStateHook {\n UseFetchers = \"useFetchers\",\n UseScrollRestoration = \"useScrollRestoration\",\n}\n\nfunction getDataRouterConsoleError(\n hookName: DataRouterHook | DataRouterStateHook\n) {\n return `${hookName} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;\n}\n\nfunction useDataRouterContext(hookName: DataRouterHook) {\n let ctx = React.useContext(DataRouterContext);\n invariant(ctx, getDataRouterConsoleError(hookName));\n return ctx;\n}\n\nfunction useDataRouterState(hookName: DataRouterStateHook) {\n let state = React.useContext(DataRouterStateContext);\n invariant(state, getDataRouterConsoleError(hookName));\n return state;\n}\n\n/**\n * Handles the click behavior for router `` components. This is useful if\n * you need to create custom `` components with the same click behavior we\n * use in our exported ``.\n */\nexport function useLinkClickHandler(\n to: To,\n {\n target,\n replace: replaceProp,\n state,\n preventScrollReset,\n relative,\n }: {\n target?: React.HTMLAttributeAnchorTarget;\n replace?: boolean;\n state?: any;\n preventScrollReset?: boolean;\n relative?: RelativeRoutingType;\n } = {}\n): (event: React.MouseEvent) => void {\n let navigate = useNavigate();\n let location = useLocation();\n let path = useResolvedPath(to, { relative });\n\n return React.useCallback(\n (event: React.MouseEvent) => {\n if (shouldProcessLinkClick(event, target)) {\n event.preventDefault();\n\n // If the URL hasn't changed, a regular will do a replace instead of\n // a push, so do the same here unless the replace prop is explicitly set\n let replace =\n replaceProp !== undefined\n ? replaceProp\n : createPath(location) === createPath(path);\n\n navigate(to, { replace, state, preventScrollReset, relative });\n }\n },\n [\n location,\n navigate,\n path,\n replaceProp,\n state,\n target,\n to,\n preventScrollReset,\n relative,\n ]\n );\n}\n\n/**\n * A convenient wrapper for reading and writing search parameters via the\n * URLSearchParams interface.\n */\nexport function useSearchParams(\n defaultInit?: URLSearchParamsInit\n): [URLSearchParams, SetURLSearchParams] {\n warning(\n typeof URLSearchParams !== \"undefined\",\n `You cannot use the \\`useSearchParams\\` hook in a browser that does not ` +\n `support the URLSearchParams API. If you need to support Internet ` +\n `Explorer 11, we recommend you load a polyfill such as ` +\n `https://github.com/ungap/url-search-params\\n\\n` +\n `If you're unsure how to load polyfills, we recommend you check out ` +\n `https://polyfill.io/v3/ which provides some recommendations about how ` +\n `to load polyfills only for users that need them, instead of for every ` +\n `user.`\n );\n\n let defaultSearchParamsRef = React.useRef(createSearchParams(defaultInit));\n\n let location = useLocation();\n let searchParams = React.useMemo(\n () =>\n getSearchParamsForLocation(\n location.search,\n defaultSearchParamsRef.current\n ),\n [location.search]\n );\n\n let navigate = useNavigate();\n let setSearchParams = React.useCallback(\n (nextInit, navigateOptions) => {\n const newSearchParams = createSearchParams(\n typeof nextInit === \"function\" ? nextInit(searchParams) : nextInit\n );\n navigate(\"?\" + newSearchParams, navigateOptions);\n },\n [navigate, searchParams]\n );\n\n return [searchParams, setSearchParams];\n}\n\ntype SetURLSearchParams = (\n nextInit?:\n | URLSearchParamsInit\n | ((prev: URLSearchParams) => URLSearchParamsInit),\n navigateOpts?: NavigateOptions\n) => void;\n\ntype SubmitTarget =\n | HTMLFormElement\n | HTMLButtonElement\n | HTMLInputElement\n | FormData\n | URLSearchParams\n | { [name: string]: string }\n | null;\n\n/**\n * Submits a HTML `` to the server without reloading the page.\n */\nexport interface SubmitFunction {\n (\n /**\n * Specifies the `` to be submitted to the server, a specific\n * `\n \n );\n};\n\nexport default Login;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"LoginPage_container__wyZKW\",\"banner\":\"LoginPage_banner__czXw9\",\"pageHeader\":\"LoginPage_pageHeader__xzy+-\",\"loginPanel\":\"LoginPage_loginPanel__wOU0W\"};","import * as React from 'react';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport Login from '../../components/login/Login';\n\nimport style from './LoginPage.module.css';\n\nimport process from 'process';\n\nconst LoginPage = () => {\n return (\n
\n \n \n \n
\n );\n};\n\nexport default LoginPage;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"ResetPassword_container__WJT6R\",\"submitButton\":\"ResetPassword_submitButton__Fg4qC\",\"header\":\"ResetPassword_header__rb728\",\"description\":\"ResetPassword_description__wBUqb\",\"subHeader\":\"ResetPassword_subHeader__bP22U\",\"forgotPasswordContainer\":\"ResetPassword_forgotPasswordContainer__aGGse\",\"forgotPassword\":\"ResetPassword_forgotPassword__oScH9\",\"error\":\"ResetPassword_error__0slfX\",\"input\":\"ResetPassword_input__dfAvM\",\"invalid\":\"ResetPassword_invalid__HCsLQ\",\"invalidPasswordRule\":\"ResetPassword_invalidPasswordRule__hs-Z7\",\"validPasswordRule\":\"ResetPassword_validPasswordRule__Ox+C1\",\"label\":\"ResetPassword_label__RJHME\"};","import * as React from 'react';\nimport { useNavigate, useParams } from 'react-router';\nimport UserApi from '../../api/UserApi';\n\nimport style from './ResetPassword.module.css';\n\ntype TResetPassword = {\n className?: string;\n};\n\nconst ResetPassword = (props: TResetPassword) => {\n const [done, setDone] = React.useState(false);\n const [email, setEmail] = React.useState(undefined);\n const [error, setError] = React.useState(undefined);\n\n const [password, setPassword] = React.useState(undefined);\n const [repeatPassword, setRepeatPassword] = React.useState(undefined);\n\n const navigate = useNavigate();\n\n const params = useParams();\n\n const handleOnChange = (e: any) => {\n setEmail(e.target.value.trim());\n if (e.target.value.length <= 0) {\n setError('Het veld e-mailadres is niet ingevuld');\n return;\n }\n if (!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(e.target.value)) {\n setError('Het e-mailadres in het veld hierboven is onjuist ingevuld');\n return;\n }\n setError(undefined);\n };\n\n const handleOnClick = () => {\n if (!email || email.length <= 0) {\n setError('Het veld e-mailadres is niet ingevuld');\n return;\n }\n if (error) {\n return;\n }\n UserApi.sendForgotPassword(\n email as string,\n (json: any) => {\n setDone(true);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n };\n\n const eightCharacterCheck = () => {\n if (!password) {\n return false;\n }\n return password.length >= 8;\n };\n\n const maxLengthCheck = () => {\n if (!password) {\n return false;\n }\n return password.length <= 24;\n };\n\n const numberCheck = () => {\n if (!password) {\n return false;\n }\n return /\\d\\D*\\d/.test(password);\n };\n\n const capitalizedCheck = () => {\n if (!password) {\n return false;\n }\n return password !== password.toLowerCase();\n };\n\n const specialCharacterCheck = () => {\n if (!password) {\n return false;\n }\n return /[!@#$%^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?]+/.test(password);\n };\n\n const sendChangePasswordRequest = () => {\n if (password !== repeatPassword) {\n setError('Wachtwoorden komen niet overeen.');\n return;\n }\n\n if (\n !eightCharacterCheck() ||\n !numberCheck() ||\n !capitalizedCheck() ||\n !specialCharacterCheck() ||\n !maxLengthCheck()\n ) {\n setError('Uw wachtwoord voldoet niet aan de eisen.');\n return;\n }\n\n UserApi.changePassword(\n params.token || '',\n password || '',\n () => {\n setDone(true);\n },\n (error: Error) => {\n setError(error.message);\n },\n );\n };\n\n if (params.token) {\n if (done) {\n return (\n
\n
Wachtwoord herstellen
\n
Bedankt! U wachtwoord is veranderd.
\n
\n {\n navigate('/');\n }}\n >\n Terug naar inloggen\n
\n
\n \n );\n }\n\n return (\n
\n );\n }\n\n if (done) {\n return (\n
\n
Wachtwoord vergeten
\n
\n Bedankt! U ontvangt binnen enkele minuten een e-mail waarmee u een nieuw wachtwoord kunt\n aanmaken.\n
\n
\n {\n navigate('/');\n }}\n >\n Terug naar inloggen\n
\n
\n \n );\n }\n\n return (\n
\n
Wachtwoord vergeten
\n
\n Bent u uw wachtwoord vergeten? Vul dan hieronder uw e-mailadres in. U krijgt binnen enkele\n minuten een e-mail waarmee u een nieuw wachtwoord kunt aanmaken.\n
\n \n \n {error ?
{error}
: ''}\n {'< Vorige'}\n \n
\n );\n};\n\nexport default ResetPassword;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"ResetPasswordPage_container__XKkeo\",\"banner\":\"ResetPasswordPage_banner__mchh9\",\"pageHeader\":\"ResetPasswordPage_pageHeader__d4dSD\",\"loginPanel\":\"ResetPasswordPage_loginPanel__Uz9kH\"};","import * as React from 'react';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport Login from '../../components/login/Login';\nimport ResetPassword from '../../components/reset-password/ResetPassword';\n\nimport style from './ResetPasswordPage.module.css';\n\nconst ResetPasswordPage = () => {\n return (\n
\n \n \n \n
\n );\n};\n\nexport default ResetPasswordPage;\n","export default function _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 return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import Config from '../config/Config';\nimport Util from '../util/Util';\nimport { TPaymentType } from './DataApi';\n\ntype TVignet = {\n object_drive_type_id: string;\n object_length: string;\n object_marina: string;\n object_name: string;\n object_surface_area: string;\n object_width: string;\n vignet_cost: string;\n vignet_id: string;\n vignet_number: string;\n vignet_type: string;\n vignet_type_display_name: string;\n show_blue_btn: number;\n vignet_status: string;\n documents?: string[];\n};\n\ntype TCheckVignetField = {\n value: string;\n isEditable: boolean;\n};\n\ntype TCheckVignetFields = {\n [key: string]: TCheckVignetField;\n};\n\ntype TCheckVignet = {\n fields: TCheckVignetFields;\n access_token: string;\n vignet_type_id: string;\n photos_count: number;\n photos_required: boolean;\n};\n\nconst getVignet = (vignetID: string, onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n onFailure(new Error('No access token'));\n }\n\n fetch(Config.api.baseUrl + '/api-extend/get-vignet/nl', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({ vignet_id: vignetID }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst updateVignet = (\n vignetID: string,\n objectLength: string,\n objectWidth: string,\n objectMarina: string,\n objectDriveTypeID: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n onFailure(new Error('No access token'));\n }\n fetch(Config.api.baseUrl + '/api-extend/update-vignet', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n vignet_id: vignetID,\n object_length: objectLength,\n object_width: objectWidth,\n object_marina: objectMarina,\n object_drive_type_id: objectDriveTypeID,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getVignets = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n onFailure(new Error('No access token'));\n }\n fetch(Config.api.baseUrl + '/api-extend/get-vignets/nl', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst cancelVignet = (\n vignetID: string,\n reason: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n onFailure(new Error('No access token'));\n }\n fetch(Config.api.baseUrl + '/api-extend/cancel-vignet', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({ vignet_id: vignetID, reason: reason }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst extendVignet = (\n vignet: TVignet,\n paymentMethod: TPaymentType,\n iban: string | undefined,\n ibanHolder: string | undefined,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n onFailure(new Error('No access token'));\n }\n\n const urlEncodeData = urlEncodeExtendPageData(vignet, paymentMethod, iban, ibanHolder);\n console.log('Extend vignet redirect url:', Util.getPageUrl(true) + '/done');\n\n fetch(Config.api.baseUrl + '/api-extend/payment/nl', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n vignet_id: vignet.vignet_id,\n payment_type_id: paymentMethod.id,\n return_url_cancel: Util.getPageUrl() + '/' + urlEncodeData + '/cancel',\n return_url_reject: Util.getPageUrl() + '/' + urlEncodeData + '/reject',\n return_url_success: Util.getPageUrl(true) + '/done',\n return_url_error: Util.getPageUrl() + '/' + urlEncodeData + '/error',\n account_holder: ibanHolder,\n account_number: iban,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst sendRestitutionRequest = (\n VignetID: string,\n cancelationReasonID: string,\n data: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n onFailure(new Error('No access token'));\n }\n fetch(Config.api.baseUrl + '/api-cancellation/save', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n VignetID: VignetID,\n ReasonID: cancelationReasonID,\n document: data,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst sendMooringRequest = (\n initials: string,\n prefix: string,\n lastName: string,\n vignetID: string,\n phoneNumber: string,\n email: string,\n paymentTypeID: string,\n cardNumber: string,\n productID: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n onFailure(new Error('No access token'));\n }\n\n const body = {\n initials: initials,\n prefix: prefix,\n lastname: lastName,\n vignet: vignetID,\n phonenumber: phoneNumber,\n email: email,\n payment_type_id: paymentTypeID?.split(':')[1],\n card_service_code: cardNumber,\n product_id: productID,\n };\n\n const urlEncodeData = urlEncodeMooringPageData(\n initials,\n prefix,\n lastName,\n vignetID,\n phoneNumber,\n email,\n paymentTypeID,\n cardNumber,\n productID,\n );\n\n fetch(Config.api.baseUrl + '/api-mooring/payment-mooring/en', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n ...body,\n return_url_cancel: Util.getPageUrl() + '/' + urlEncodeData + '/cancel',\n return_url_reject: Util.getPageUrl() + '/' + urlEncodeData + '/reject',\n return_url_success: Util.getPageUrl() + '/done',\n return_url_error: Util.getPageUrl() + '/' + urlEncodeData + '/error',\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst urlEncodeExtendPageData = (\n vignet: TVignet,\n paymentMethod: TPaymentType,\n iban: string | undefined,\n ibanHolder: string | undefined,\n) => {\n const data = {\n vignetID: vignet.vignet_id,\n paymentMethodID: paymentMethod.id,\n iban: iban,\n ibanHolder: ibanHolder,\n };\n return window.btoa(JSON.stringify(data));\n};\n\nconst urlEncodeMooringPageData = (\n initials: string,\n prefix: string,\n lastName: string,\n vignetID: string,\n phoneNumber: string,\n email: string,\n paymentTypeID: string,\n cardNumber: string,\n productID: string,\n) => {\n const data = {\n firstName: initials,\n middleName: prefix,\n lastName: lastName,\n vignetNumber: vignetID,\n phoneNumber: phoneNumber,\n email: email,\n paymentTypeID: paymentTypeID,\n cardServiceCode: cardNumber,\n productID: productID,\n };\n return window.btoa(JSON.stringify(data));\n};\n\nconst urlEncodeTransitPageData = (\n initials: string,\n prefix: string,\n lastName: string,\n address: string,\n houseNumber: string,\n addition: string,\n zipcode: string,\n city: string,\n countryID: string,\n phoneNumber: string,\n email: string,\n company: string,\n kvk: string,\n vignetTypeID: string,\n deliveryTypeID: string,\n paymentTypeID: string,\n cardNumber: string,\n bsn: string,\n) => {\n const data = {\n initials: initials,\n middleName: prefix,\n lastName: lastName,\n address: address,\n houseNumber: houseNumber,\n addition: addition,\n zipcode: zipcode,\n city: city,\n countryID: countryID,\n phoneNumber: phoneNumber,\n email: email,\n company: company,\n kvk: kvk,\n vignetTypeID: vignetTypeID,\n deliveryTypeID: deliveryTypeID,\n paymentTypeID: paymentTypeID,\n cardServiceCode: cardNumber,\n bsn: bsn,\n };\n return window.btoa(JSON.stringify(data));\n};\n\nconst sendPassageRequest = (\n initials: string,\n prefix: string,\n lastName: string,\n address: string,\n houseNumber: string,\n addition: string,\n zipcode: string,\n city: string,\n countryID: string,\n phoneNumber: string,\n email: string,\n company: string,\n kvk: string,\n vignetTypeID: string,\n deliveryTypeID: string,\n paymentTypeID: string,\n cardNumber: string,\n bsn: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n onFailure(new Error('No access token'));\n }\n const body = {\n initials: initials,\n prefix: prefix,\n lastname: lastName,\n address: address,\n number: houseNumber,\n addition: addition,\n postcode: zipcode,\n city: city,\n country_id: countryID,\n phonenumber: phoneNumber,\n email: email,\n company: company,\n kvk: kvk,\n vignet_type_id: vignetTypeID,\n delivery_type_id: deliveryTypeID.split(':')[1],\n payment_type_id: paymentTypeID.split(':')[1],\n card_service_code: cardNumber,\n bsn: bsn,\n };\n\n const urlEncodeData = urlEncodeTransitPageData(\n initials,\n prefix,\n lastName,\n address,\n houseNumber,\n addition,\n zipcode,\n city,\n countryID,\n phoneNumber,\n email,\n company,\n kvk,\n vignetTypeID,\n deliveryTypeID,\n paymentTypeID,\n cardNumber,\n bsn,\n );\n\n fetch(Config.api.baseUrl + '/api-passage/payment-vignet', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n ...body,\n return_url_cancel: Util.getPageUrl() + '/' + urlEncodeData + '/cancel',\n return_url_reject: Util.getPageUrl() + '/' + urlEncodeData + '/reject',\n return_url_success: Util.getPageUrl() + '/done',\n return_url_error: Util.getPageUrl() + '/' + urlEncodeData + '/error',\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst validateMooringVignet = (vignetCode: string, onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n onFailure(new Error('No access token'));\n }\n fetch(Config.api.baseUrl + '/api-mooring/check-vignet/nl', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n vignet: vignetCode,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst activateVignet = (\n vignetCode: string,\n activationCode: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n fetch(Config.api.baseUrl + '/api-activate/check-vignet/nl', {\n method: 'POST',\n mode: 'cors',\n body: JSON.stringify({\n vignet_type: '1',\n vignet: vignetCode,\n pincode: activationCode,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst validateObject = (\n object_drive_type_id: string,\n object_width: string,\n object_length: string,\n object_name: string,\n object_type_id: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api-activate/validate-object/nl', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n object_drive_type_id: object_drive_type_id,\n object_width: object_width,\n object_length: object_length,\n object_name: object_name,\n object_type_id: object_type_id,\n }),\n })\n .then(async (response: Response) => {\n if (response.status < 200 || response.status >= 300) {\n throw new Error((await response.json()).errors.non_field_errors);\n }\n return true;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst validateOwner = (\n initials: string,\n prefix: string,\n last_name: string,\n email: string,\n confirmEmail: string,\n bsn: string,\n mobile_phone: string,\n vignet_type: string,\n country_id: string,\n address: string,\n addition: string,\n city: string,\n number: string,\n postcode: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api-activate/validate-owner/nl', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n initials: initials,\n prefix: prefix,\n last_name: last_name,\n email: email,\n confirmEmail: confirmEmail,\n bsn: bsn,\n mobile_phone: mobile_phone,\n vignet_type: vignet_type,\n country_id: country_id,\n address: address,\n addition: addition,\n city: city,\n number: number,\n postcode: postcode,\n company_name: '',\n }),\n })\n .then(async (response: Response) => {\n if (response.status < 200 || response.status >= 300) {\n throw new Error((await response.json()).errors.non_field_errors);\n }\n return true;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst saveData = (\n initials: string,\n prefix: string,\n last_name: string,\n email: string,\n confirmEmail: string,\n bsn: string,\n mobile_phone: string,\n vignet_type: string,\n country_id: string,\n address: string,\n addition: string,\n city: string,\n number: string,\n postcode: string,\n object_drive_type_id: string,\n object_type_id: string,\n object_length: string,\n object_width: string,\n object_name: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api-activate/save-data/nl', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n initials: initials,\n prefix: prefix,\n last_name: last_name,\n email: email,\n confirmEmail: confirmEmail,\n bsn: bsn,\n mobile_phone: mobile_phone,\n vignet_type: vignet_type,\n country_id: country_id,\n address: address,\n addition: addition,\n city: city,\n number: number,\n postcode: postcode,\n company_name: '',\n object_drive_type_id: object_drive_type_id,\n object_type_id: object_type_id,\n object_width: object_width,\n object_length: object_length,\n object_name: object_name,\n }),\n })\n .then(async (response: Response) => {\n if (response.status < 200 || response.status >= 300) {\n throw new Error((await response.json()).errors.non_field_errors);\n }\n return true;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst uploadPhotos = (files: any, onSuccess: Function, onFailure: Function) => {\n const formData = new FormData();\n files.forEach((file: any) => {\n if (file[0] && file[0].data) {\n console.log(file[0].native);\n formData.append('photos[]', file[0].native, file[0].name);\n }\n });\n formData.append('photos[]', 'Ontheffing');\n\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api-activate/upload', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: formData,\n })\n .then(async (response: Response) => {\n if (response.status < 200 || response.status >= 300) {\n throw new Error((await response.json()).errors.non_field_errors);\n }\n return true;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst VignetApi = {\n getVignet: getVignet,\n getVignets: getVignets,\n cancelVignet: cancelVignet,\n extendVignet: extendVignet,\n sendRestitutionRequest: sendRestitutionRequest,\n sendMooringRequest: sendMooringRequest,\n sendPassageRequest: sendPassageRequest,\n validateMooringVignet: validateMooringVignet,\n updateVignet: updateVignet,\n activateVignet: activateVignet,\n validateObject: validateObject,\n validateOwner: validateOwner,\n saveData: saveData,\n uploadPhotos: uploadPhotos,\n};\n\nexport default VignetApi;\nexport type { TVignet, TCheckVignet };\n","import * as React from 'react';\n\nimport style from './KeyValuePair.module.css';\n\nenum EEditMode {\n TEXT,\n DROPDOWN,\n RADIO,\n}\n\ntype TEditOption = {\n text: string;\n value: string;\n};\n\ntype TEditOptions = {\n mode: EEditMode;\n default?: number;\n options: TEditOption[];\n};\n\ntype TKeyValuePair = {\n label: string;\n value: string;\n className?: string;\n editable?: Function;\n inline?: boolean;\n horizontal?: boolean;\n onEnableEdit?: Function;\n editOptions?: TEditOptions;\n children?: any;\n};\n\nconst KeyValuePair = (props: TKeyValuePair) => {\n const [validity, setValidity] = React.useState(true);\n\n const getInputField = () => {\n if (props.editOptions?.mode === EEditMode.DROPDOWN) {\n return (\n {\n props.editable?.(e);\n }}\n >\n {props.editOptions.options.map((option: TEditOption, index: number) => {\n return (\n \n {option.text}\n \n );\n })}\n \n );\n }\n\n if (props.editOptions?.mode === EEditMode.RADIO) {\n return props.editOptions.options.map((option: TEditOption, index: number) => {\n return (\n \n {\n props.editable?.(e);\n }}\n >\n
{option.text}
\n \n );\n });\n }\n\n return (\n {\n setValidity(props.editable?.(e));\n }}\n >\n );\n };\n\n return (\n
\n
\n {props.label}\n {props.onEnableEdit ? (\n {\n props.onEnableEdit?.(e);\n }}\n >\n Wijzig\n
\n ) : (\n ''\n )}\n
\n {props.editable ? (\n getInputField()\n ) : (\n
\n {props.value} {props.children}\n
\n )}\n \n );\n};\n\nexport default KeyValuePair;\nexport { EEditMode };\nexport type { TKeyValuePair, TEditOptions, TEditOption };\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"ButtonNext_container__tJZzN\",\"arrowMode\":\"ButtonNext_arrowMode__WCre1\",\"squareMode\":\"ButtonNext_squareMode__8KMiL\",\"buttonBase\":\"ButtonNext_buttonBase__IXOMs\",\"arrowRight\":\"ButtonNext_arrowRight__0cOZ6\"};","import * as React from 'react';\n\nimport style from './ButtonNext.module.css';\n\ntype Props = {\n arrowMode?: boolean;\n children?: any;\n onClick: Function;\n};\n\nconst ButtonNext = (props: Props) => {\n const [loading, setLoading] = React.useState(false);\n const [backgroundColor, setBackgroundColor] = React.useState('#EC0000');\n\n const onMouseEnter = () => {\n setBackgroundColor('#B90000');\n };\n const onMouseLeave = () => {\n setBackgroundColor('#EC0000');\n };\n\n const arrow = props.arrowMode ? (\n {\n props.onClick(e, setLoading);\n }}\n onMouseEnter={onMouseEnter}\n onMouseLeave={onMouseLeave}\n className={style.arrowRight}\n >\n ) : (\n ''\n );\n const buttonMode = props.arrowMode ? style.arrowMode : style.squareMode;\n return (\n
\n {\n if (!loading) {\n props.onClick(e, setLoading);\n }\n }}\n style={{ backgroundColor: backgroundColor }}\n onMouseEnter={onMouseEnter}\n onMouseLeave={onMouseLeave}\n className={`${style.buttonBase} ${buttonMode}`}\n >\n {loading ? 'Bezig..' : props.children}\n
\n {arrow}\n \n );\n};\n\nexport default ButtonNext;\n","// extracted by mini-css-extract-plugin\nexport default {\"buttonBase\":\"ButtonPrevious_buttonBase__NvVNx\"};","import * as React from 'react';\n\nimport style from './ButtonPrevious.module.css';\n\ntype Props = {\n children?: any;\n onClick: Function;\n};\n\nconst ButtonPrevious = (props: Props) => {\n return (\n {\n props.onClick();\n }}\n >\n {props.children}\n \n );\n};\n\nexport default ButtonPrevious;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"FormButtonBar_container__b3WcA\"};","import * as React from 'react';\nimport ButtonNext from '../../components/button-next/ButtonNext';\nimport ButtonPrevious from '../../components/button-previous/ButtonPrevious';\n\nimport style from './FormButtonBar.module.css';\n\ntype TFormButtonBar = {\n onPrevious?: Function;\n onNext?: Function;\n locked?: boolean;\n onPreviousText?: string;\n onNextText?: string;\n};\n\nconst FormButtonBar = (props: TFormButtonBar) => {\n const handleOnNext = (e: any) => {\n if (props.locked) {\n return;\n }\n props.onNext?.(e);\n };\n\n const handleOnPrevious = (e: any) => {\n if (props.locked) {\n return;\n }\n props.onPrevious?.(e);\n };\n\n const previousButton = props.onPrevious ? (\n \n {props.onPreviousText ? props.onPreviousText : '< Vorige'}\n \n ) : (\n \n {props.onPreviousText ? props.onPreviousText : ''}\n \n );\n const nextButton = props.onNext ? (\n \n {props.locked ? 'Bezig..' : props.onNextText ? props.onNextText : 'Volgende'}\n \n ) : (\n ''\n );\n\n return (\n
\n {previousButton}\n {nextButton}\n
\n );\n};\n\nexport default FormButtonBar;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"CenteredForm_container__qy7Gx\",\"form\":\"CenteredForm_form__udypT\"};","import * as React from 'react';\nimport FormButtonBar from '../../containers/form-button-bar/FormButtonBar';\n\nimport style from './CenteredForm.module.css';\n\ntype TCenteredForm = {\n children?: JSX.Element | JSX.Element[];\n onNext?: Function;\n onPrevious?: Function;\n onPreviousText?: string;\n locked?: boolean;\n onNextText?: string;\n};\n\nconst CenteredForm = (props: TCenteredForm) => {\n return (\n
\n
\n {props.children}\n {props.onNext || props.onPrevious ? (\n \n ) : (\n \n )}\n
\n
\n );\n};\n\nexport default CenteredForm;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"KeyValuePair_container__IKKE6\",\"inlineContainer\":\"KeyValuePair_inlineContainer__gc19s\",\"key\":\"KeyValuePair_key__PhPkK\",\"horizontalKey\":\"KeyValuePair_horizontalKey__31Tus\",\"value\":\"KeyValuePair_value__ls1-+\",\"horizontalValue\":\"KeyValuePair_horizontalValue__7ZlTR\",\"editButton\":\"KeyValuePair_editButton__xzrZC\",\"select\":\"KeyValuePair_select__iuksq\",\"radioContainer\":\"KeyValuePair_radioContainer__Aym9c\",\"invalid\":\"KeyValuePair_invalid__Rn5IP\",\"valid\":\"KeyValuePair_valid__-idVM\"};","import * as React from 'react';\n\nimport style from './AlertBox.module.css';\n\nenum ESeverity {\n LOW,\n MEDIUM,\n HIGH,\n}\n\ntype TAlertBox = {\n header?: string;\n text: string;\n severity?: ESeverity;\n bold?: boolean;\n};\n\nconst AlertBox = (props: TAlertBox) => {\n const serverityStyling =\n props.severity === ESeverity.LOW\n ? style.low\n : props.severity === ESeverity.MEDIUM\n ? style.medium\n : props.severity === ESeverity.HIGH\n ? style.high\n : style.medium;\n return (\n
\n {props.header ? (\n
{props.header}
\n ) : (\n \n )}\n
{props.text}
\n
\n );\n};\n\nexport default AlertBox;\nexport { ESeverity };\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"FormStepper_container__R0DBF\",\"step\":\"FormStepper_step__VhR0c\",\"orbBlue\":\"FormStepper_orbBlue__sKwjY\",\"orbGrey\":\"FormStepper_orbGrey__Lz3nX\",\"currentOrb\":\"FormStepper_currentOrb__JlmQZ\",\"checkMark\":\"FormStepper_checkMark__epDOf\",\"textBlue\":\"FormStepper_textBlue__jm609\",\"textGrey\":\"FormStepper_textGrey__V8boB\",\"currentText\":\"FormStepper_currentText__-1AIi\",\"lineBlue\":\"FormStepper_lineBlue__j2crf\",\"lineGrey\":\"FormStepper_lineGrey__9iFiw\"};","import * as React from 'react';\n\nimport style from './FormStepper.module.css';\n\ntype TStep = {\n text: string;\n};\n\ntype TFormStepper = {\n steps: TStep[];\n currentStep: number;\n};\n\nconst FormStepper = (props: TFormStepper) => {\n const checkMark = (\n \n \n \n );\n return (\n
\n {props.steps.map((step: TStep, index: number) => {\n const orbStyling =\n props.currentStep === index\n ? style.currentOrb\n : props.currentStep >= index\n ? style.orbBlue\n : style.orbGrey;\n const textStyling =\n props.currentStep === index\n ? style.currentText\n : props.currentStep >= index\n ? style.textBlue\n : style.textGrey;\n return (\n
\n
\n {props.currentStep >= index ? checkMark : undefined}\n
\n
\n {step.text}\n
\n {index < props.steps.length - 1 ? (\n = index ? style.lineBlue : style.lineGrey}\n >
\n ) : (\n \n )}\n
\n );\n })}\n \n );\n};\n\nexport default FormStepper;\nexport type { TStep };\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"PersonalInfoPage_container__1ucCh\",\"header\":\"PersonalInfoPage_header__fRMmX\",\"subHeader\":\"PersonalInfoPage_subHeader__PBJ7Y\",\"pageError\":\"PersonalInfoPage_pageError__Us5Hh\",\"pageHeader\":\"PersonalInfoPage_pageHeader__GLDVS\",\"edit\":\"PersonalInfoPage_edit__TZ8L4\"};","import * as React from 'react';\nimport { useNavigate } from 'react-router';\nimport UserApi, { TOwner } from '../../api/UserApi';\nimport VignetApi, { TVignet } from '../../api/VignetApi';\nimport AgreementBox from '../../components/agreement-box/AgreementBox';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport KeyValuePair from '../../components/key-value-pair/KeyValuePair';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport FormStepper, { TStep } from '../form-stepper/FormStepper';\n\nimport style from './PersonalInfoPage.module.css';\n\nconst PersonalInfoPage = () => {\n const [repeatEmail, setRepeatEmail] = React.useState(undefined);\n\n const [pageError, setPageError] = React.useState(undefined);\n\n const [vignets, setVignets] = React.useState(() => {\n VignetApi.getVignets(\n (json: any) => {\n setVignets(json.vignets);\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n return undefined;\n });\n\n const [owner, setOwner] = React.useState(() => {\n UserApi.getOwner(\n (json: any) => {\n setOwner(json);\n setRepeatEmail(json.email);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n });\n\n const navigate = useNavigate();\n\n const [editable, setEditable] = React.useState(false);\n\n const [validity, setValidity] = React.useState(true);\n\n if (!owner) {\n return
Loading..
;\n }\n\n const steps: TStep[] = [\n { text: 'Uw gegevens' },\n { text: 'Vignetoverzicht' },\n { text: 'Uw vignet' },\n { text: 'Samenvatting' },\n { text: 'Bedankt' },\n ];\n\n const handleOnNext = () => {\n if (!vignets) {\n setPageError('Er is iets misgegaan bij het ophalen van uw vignets.');\n setValidity(false);\n return;\n }\n\n if (editable) {\n if (areFieldsValid()) {\n UserApi.updateOwner(\n owner.address,\n owner.number,\n owner.addition,\n owner.postcode,\n owner.city,\n owner.email,\n owner.mobilephone,\n owner.mobilephone,\n () => {\n navigate('/vignet-overview');\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n return;\n } else {\n setPageError('Vul alle velden geheel en correct in.');\n return;\n }\n }\n navigate('/vignet-overview');\n };\n\n const isPhoneNumber = (value: string) => {\n return /^\\+??\\d{3}?[-\\s\\.]?\\d{3}[-\\s\\.]?\\d{4,6}$/im.test(value);\n };\n\n const isEmail = (value: string) => {\n return /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(value);\n };\n\n const isZipCode = (value: string) => {\n return /^\\d{4}[A-Z]{2}$/.test(value);\n };\n\n const areFieldsValid = () => {\n let valid = true;\n if (owner.address.trim().length <= 0) {\n console.error('incorrect: Address ', owner.address);\n valid = false;\n }\n if (owner.number.trim().length <= 0) {\n console.error('incorrect: houseNumber ', owner.number);\n valid = false;\n }\n if (!isPhoneNumber(owner.mobilephone)) {\n console.error('incorrect: mobilePhone ', owner.mobilephone);\n valid = false;\n }\n if (!isZipCode(owner.postcode)) {\n console.error('incorrect: zipcode ', owner.postcode);\n valid = false;\n }\n if (owner.city.trim().length <= 0) {\n console.error('incorrect: city ', owner.city);\n valid = false;\n }\n if (!isEmail(owner.email)) {\n console.error('incorrect: email ', owner.email);\n valid = false;\n }\n if (owner.email !== repeatEmail) {\n console.error('missmatched emails: ', owner.email, repeatEmail);\n valid = false;\n }\n setValidity(valid);\n return valid;\n };\n\n const handleOnChangeAddress = (e: any) => {\n owner.address = e.target.value;\n return owner.address.trim().length > 0;\n };\n\n const handleOnChangeHouseNumber = (e: any) => {\n owner.number = e.target.value;\n return owner.number.trim().length > 0;\n };\n\n const handleOnChangeAddition = (e: any) => {\n owner.addition = e.target.value;\n return true;\n };\n\n const handleOnChangeZipcode = (e: any) => {\n owner.postcode = e.target.value;\n return isZipCode(owner.postcode);\n };\n\n const handleOnChangeCity = (e: any) => {\n owner.city = e.target.value;\n return owner.city.trim().length > 0;\n };\n\n const handleOnChangePhoneNumber = (e: any) => {\n owner.mobilephone = e.target.value;\n return isPhoneNumber(owner.mobilephone);\n };\n\n const handleOnChangeEmail = (e: any) => {\n owner.email = e.target.value;\n return owner.email === repeatEmail && isEmail(owner.email);\n };\n\n const handleOnChangeRepeatEmail = (e: any) => {\n setRepeatEmail(e.target.value);\n return owner.email === e.target.value && isEmail(e.target.value);\n };\n\n return (\n \n \n
\n \n {\n handleOnNext();\n }}\n >\n
Uw persoonlijke gegevens
\n
Dit zijn uw gegevens die bekend zijn in ons systeem.
\n \n \n \n \n \n

\n \n \n \n \n \n \n \n {pageError ? (\n
{pageError}
\n ) : (\n \n )}\n \n
\n
\n );\n};\n\nexport default PersonalInfoPage;\n","import Config from '../config/Config';\n\ntype TDriveType = {\n drive_type_id: string;\n drive_type_name: string;\n};\n\ntype TIssuer = {\n DebtorBankid: string;\n DebtorBankName: string;\n};\n\ntype TCard = {\n ServiceCode: string;\n CardName: string;\n};\n\ntype TPaymentType = {\n id: string;\n name: string;\n issuer_list?: TIssuer[];\n card_list?: TCard[];\n};\n\ntype TReason = {\n ReasonID: string;\n Name: string;\n RestitutionPossible: boolean;\n RequestPossible: boolean;\n ExplanationText: string;\n TextDocument: string;\n};\n\ntype TCancelationType = {\n cancellation: TReason[];\n change: TReason[];\n};\n\ntype TVignetType = {\n id: string;\n cost: string;\n name: string;\n displayName: string;\n description: string;\n};\n\ntype TCountry = {\n id: string;\n name: string;\n};\n\ntype TDeliveryType = {\n id: string;\n name: string;\n description: string;\n price: string;\n};\n\ntype TProductType = {\n ProductID: string;\n Name: string;\n Price: string;\n Description: string;\n};\n\ntype TPickupLocation = {\n Address: string;\n City: string;\n ExtraText: string;\n Latitude: string;\n Longitude: string;\n Name: string;\n Postcode: string;\n Website: string;\n lat?: number;\n lng?: number;\n};\n\nconst getCountries = (onSuccess: Function, onFailure: Function) => {\n fetch(Config.api.baseUrl + '/api-passage/get-countries', {\n method: 'GET',\n mode: 'cors',\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.countries);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getActivateDriveTypes = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n return;\n }\n fetch(Config.api.baseUrl + '/api-activate/get-drive-types/nl', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.drive_types);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getActivateObjectTypes = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n return;\n }\n fetch(Config.api.baseUrl + '/api-activate/get-object-types/nl', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.object_types);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getDriveTypes = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n return;\n }\n fetch(Config.api.baseUrl + '/api-extend/get-drive-types/nl', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.drive_types);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getPaymentTypes = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n return;\n }\n fetch(Config.api.baseUrl + '/api-extend/payment-types/nl', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.types);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getMooringPaymentTypes = (onSuccess: Function, onFailure: Function) => {\n fetch(Config.api.baseUrl + '/api-mooring/get-payment-types', {\n method: 'GET',\n mode: 'cors',\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.payment_types);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getCancelationTypes = (onSuccess: Function, onFailure: Function) => {\n fetch(Config.api.baseUrl + '/api-cancellation/reasons', {\n method: 'GET',\n mode: 'cors',\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getVignetTypes = (onSuccess: Function, onFailure: Function) => {\n fetch(Config.api.baseUrl + '/api-passage/get-vignet-types', {\n method: 'GET',\n mode: 'cors',\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.vignet_types);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getMooringTypes = (onSuccess: Function, onFailure: Function) => {\n fetch(Config.api.baseUrl + '/api-mooring/get-products', {\n method: 'GET',\n mode: 'cors',\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.products);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getDeliveryTypes = (countryID: string, onSuccess: Function, onFailure: Function) => {\n fetch(Config.api.baseUrl + '/api-passage/get-delivery-types/nl', {\n method: 'POST',\n mode: 'cors',\n body: JSON.stringify({\n country_id: countryID,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.delivery_types);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst uploadDocuments = (\n vignetID: string,\n documents: string[],\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n return;\n }\n fetch(Config.api.baseUrl + '/api-extend/upload-documents', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n documents: documents,\n vignet_id: vignetID,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.delivery_types);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getExtendSummary = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n return;\n }\n fetch(Config.api.baseUrl + '/api-extend/get-summary/nl', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getMooringSummary = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n return;\n }\n fetch(Config.api.baseUrl + '/api-mooring/get-summary/nl', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getPassageSummary = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n if (!accessToken) {\n return;\n }\n fetch(Config.api.baseUrl + '/api-passage/get-summary/nl', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getRestitutionSummary = (vignetId: string, onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api-cancellation/get-summary', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({ VignetID: vignetId }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getActivationSummary = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api-activate/get-summary', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getPickupLocations = (onSuccess: Function, onFailure: Function) => {\n fetch(Config.api.baseUrl + '/api-passage/get-pickup-locations/nl', {\n method: 'GET',\n mode: 'cors',\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (json.errors?.non_field_errors) {\n throw new Error(json.errors.non_field_errors);\n }\n return json.pickup_locations;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst DataApi = {\n getCountries: getCountries,\n getDriveTypes: getDriveTypes,\n getPaymentTypes: getPaymentTypes,\n getCancelationTypes: getCancelationTypes,\n getMooringPaymentTypes: getMooringPaymentTypes,\n getVignetTypes: getVignetTypes,\n getDeliveryTypes: getDeliveryTypes,\n getMooringTypes: getMooringTypes,\n uploadDocuments: uploadDocuments,\n getExtendSummary: getExtendSummary,\n getMooringSummary: getMooringSummary,\n getPassageSummary: getPassageSummary,\n getPickupLocations: getPickupLocations,\n getActivateDriveTypes: getActivateDriveTypes,\n getActivateObjectTypes: getActivateObjectTypes,\n getRestitutionSummary: getRestitutionSummary,\n getActivationSummary: getActivationSummary,\n};\n\nexport default DataApi;\nexport type {\n TDriveType,\n TPaymentType,\n TIssuer,\n TCard,\n TCancelationType,\n TVignetType,\n TCountry,\n TDeliveryType,\n TProductType,\n TReason,\n TPickupLocation,\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"AgreementBox_container__GACbK\",\"input\":\"AgreementBox_input__V-Fv9\",\"hiddenInput\":\"AgreementBox_hiddenInput__rooRY\",\"text\":\"AgreementBox_text__7xcw9\",\"errorText\":\"AgreementBox_errorText__aaQQt\",\"valid\":\"AgreementBox_valid__TW+OA\",\"invalid\":\"AgreementBox_invalid__yCsgy\"};","import * as React from 'react';\n\nimport style from './AgreementBox.module.css';\n\ntype TAgreementBox = {\n text: string;\n hideCheckBox?: boolean;\n onChange: Function;\n validity?: boolean;\n disabled?: boolean;\n children?: JSX.Element | JSX.Element[];\n defaultChecked?: boolean;\n};\n\nconst AgreementBox = (props: TAgreementBox) => {\n const [checked, setChecked] = React.useState(props.defaultChecked || false);\n\n const handleOnClick = (checked: boolean) => {\n if (props.hideCheckBox || props.disabled) {\n return;\n }\n props.onChange(checked);\n setChecked(checked);\n };\n\n return (\n {\n handleOnClick(!checked);\n }}\n >\n {\n handleOnClick(!checked);\n }}\n checked={checked}\n >\n
\n {props.text}\n {props.children}\n
\n \n );\n};\n\nexport default AgreementBox;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"AlertBox_container__TOrCk\",\"input\":\"AlertBox_input__npfTk\",\"hiddenInput\":\"AlertBox_hiddenInput__u1Bk5\",\"header\":\"AlertBox_header__h9vmZ\",\"low\":\"AlertBox_low__lduXl\",\"medium\":\"AlertBox_medium__MPwPM\",\"high\":\"AlertBox_high__apHZu\",\"boldText\":\"AlertBox_boldText__O97VO\"};","import * as React from 'react';\nimport { useNavigate } from 'react-router';\nimport DataApi, { TCancelationType, TReason, TVignetType } from '../../api/DataApi';\nimport UserApi, { TOwner } from '../../api/UserApi';\nimport VignetApi, { TVignet } from '../../api/VignetApi';\nimport AgreementBox from '../../components/agreement-box/AgreementBox';\nimport AlertBox from '../../components/alert-box/AlertBox';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport DownloadSummaryButton from '../../components/download-summary/DownloadSummary';\nimport EditHeader from '../../components/edit-header/EditHeader';\nimport InlineRadioSelectionField from '../../components/inline-radio-selection-field/InlineRadioSelectionField';\nimport KeyValuePair from '../../components/key-value-pair/KeyValuePair';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport UploadField from '../../components/upload-field/UploadField';\nimport FormStepper, { TStep } from '../form-stepper/FormStepper';\n\nimport style from './VignetOverviewPage.module.css';\n\nenum ECancelationSubType {\n CANCELATION,\n CHANGE,\n}\n\nconst VignetOverviewPage = () => {\n const [vignet, setVignet] = React.useState(undefined);\n const [progress, setProgress] = React.useState(0);\n\n const [actionType, setActionType] = React.useState(undefined);\n const [cancelationType, setCancelationType] = React.useState(undefined);\n const [cancelationSubType, setCancelationSubType] = React.useState<\n ECancelationSubType | undefined\n >(undefined);\n\n const [files, setFiles] = React.useState([]);\n\n const [debug, setDebug] = React.useState(true);\n const [debugOption, setDebugOption] = React.useState(undefined);\n\n const [hasAgreedTruthfully, setHasAgreedTruthfully] = React.useState(false);\n const [hasAgreedEndUser, setHasAgreedEndUser] = React.useState(false);\n\n const [hasPressedNext, setHasPressedNext] = React.useState(false);\n const [pageError, setPageError] = React.useState(undefined);\n\n const [working, setWorking] = React.useState(false);\n\n const [owner, setOwner] = React.useState(() => {\n UserApi.getOwner(\n (json: any) => {\n setOwner(json);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n });\n\n const [cancelationTypes, setCancelationTypes] = React.useState(\n () => {\n DataApi.getCancelationTypes(\n (cancelationTypes: TCancelationType) => {\n setCancelationTypes(cancelationTypes);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n },\n );\n\n const [vignets, setVignets] = React.useState(() => {\n VignetApi.getVignets(\n (json: any) => {\n setVignets(json.vignets);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n });\n\n const navigate = useNavigate();\n\n if (!vignets || !owner) {\n return
Loading..
;\n }\n\n const steps: TStep[] = [\n { text: 'Uw gegevens' },\n { text: 'Vignetoverzicht' },\n { text: vignet?.vignet_number || 'Uw vignet' },\n { text: 'Samenvatting' },\n { text: 'Bedankt' },\n ];\n\n const handleOnClickActionButton = (vignet: TVignet) => {\n setVignet(vignet);\n setProgress(progress + 1);\n };\n\n const handleOnChangeActionType = (e: any) => {\n setHasPressedNext(false);\n setPageError(undefined);\n setActionType(e.target.value);\n };\n\n const handleOnChangeCancelationType = (e: any) => {\n let cancelationSubType = undefined;\n let cancelationType = cancelationTypes?.cancellation.find((reason: TReason) => {\n return reason.ReasonID === e.target.value;\n });\n if (!cancelationType) {\n cancelationSubType = ECancelationSubType.CHANGE;\n cancelationType = cancelationTypes?.change.find((reason: TReason) => {\n return reason.ReasonID === e.target.value;\n });\n } else {\n cancelationSubType = ECancelationSubType.CANCELATION;\n }\n setHasPressedNext(false);\n setPageError(undefined);\n setCancelationType(cancelationType);\n setCancelationSubType(cancelationSubType);\n };\n\n const handleOnFileChange = (e: any) => {\n if (e.target.files && e.target.files[0]) {\n const files = [e.target.files[0]];\n setPageError(undefined);\n setFiles(files);\n return;\n }\n setFiles([]);\n };\n\n const processTextDocument = (textDocument: string) => {\n const links = textDocument.split('[/link]');\n\n return links.map((link: string, index: number) => {\n if (!link.includes('[link url=')) {\n return link;\n }\n const parts = link.split('[link url=');\n\n const rawLink = parts[1].split(']');\n return [\n parts[0],\n \n {rawLink[1]}\n ,\n ];\n });\n };\n\n const getCancelationDOM = () => {\n if (cancelationType) {\n if (cancelationType.RestitutionPossible) {\n return (\n \n \n
Document
\n
{processTextDocument(cancelationType.TextDocument)}
\n {\n setFiles([]);\n }}\n validity={!hasPressedNext || files.length > 0}\n onChange={handleOnFileChange}\n files={files}\n >\n
\n Ieder bestand mag niet groter zijn dan 200MB en moet een JPG-, JPEG- of pdf-bestand\n zijn.\n
\n {pageError ? (\n
{pageError}
\n ) : (\n \n )}\n
\n );\n }\n return ;\n }\n return ;\n };\n\n const getExtendedChangeDOM = () => {\n if (cancelationType) {\n if (cancelationType.RestitutionPossible) {\n return (\n \n \n
Document
\n
{cancelationType.TextDocument}
\n {\n setFiles([]);\n }}\n validity={!hasPressedNext || files.length > 0}\n onChange={handleOnFileChange}\n files={files}\n >\n
\n Ieder bestand mag niet groter zijn dan 200MB en moet een JPG-, JPEG- of pdf-bestand\n zijn.\n
\n {pageError ? (\n
{pageError}
\n ) : (\n \n )}\n
\n );\n }\n return ;\n }\n return ;\n };\n\n const getChangeDOM = () => {\n return (\n \n
Type wijziging
\n \n \n {cancelationTypes?.change?.map((cancelationType: TReason, index: number) => {\n return (\n \n );\n })}\n \n {getExtendedChangeDOM()}\n
\n );\n };\n\n const getCancelDOM = () => {\n return (\n \n
Reden van opzegging
\n \n \n {cancelationTypes?.cancellation?.map((cancelationType: TReason, index: number) => {\n return (\n \n );\n })}\n \n {getCancelationDOM()}\n
\n );\n };\n\n const handleOnPrevious = () => {\n setPageError(undefined);\n setHasPressedNext(false);\n if (progress < 0) {\n navigate('/');\n }\n setProgress(progress - 1);\n };\n\n const handleOnNext = () => {\n setHasPressedNext(true);\n if (progress === 1) {\n if (cancelationType?.RestitutionPossible) {\n if (!files || files.length <= 0) {\n setPageError('Voeg een bestand toe.');\n return;\n }\n }\n }\n if (actionType === 'change') {\n setProgress(progress + 1);\n }\n if (actionType === 'cancel') {\n setProgress(progress + 1);\n }\n setHasPressedNext(false);\n };\n\n const handleCancelation = () => {\n if (working) {\n return;\n }\n setWorking(true);\n\n setHasPressedNext(true);\n\n if (!vignet || !vignet.vignet_id || !cancelationType) {\n setWorking(false);\n return;\n }\n\n if (progress === 2) {\n if (!hasAgreedEndUser || !hasAgreedTruthfully) {\n setPageError('Ga akkoord met het bovenstaande om verder te gaan.');\n setWorking(false);\n return;\n }\n }\n\n setHasPressedNext(false);\n\n if (cancelationType?.RestitutionPossible) {\n const fileReader = new FileReader();\n fileReader.onload = () => {\n const data: string = (fileReader.result as string).split(';base64,', 2)[1];\n VignetApi.sendRestitutionRequest(\n vignet.vignet_id,\n cancelationType.ReasonID,\n data,\n () => {\n setProgress(progress + 1);\n setWorking(false);\n },\n () => {\n console.log('failed');\n setWorking(false);\n },\n );\n };\n fileReader.readAsDataURL(files[0]);\n } else {\n VignetApi.sendRestitutionRequest(\n vignet.vignet_id,\n cancelationType.ReasonID,\n '',\n () => {\n setProgress(progress + 1);\n setWorking(false);\n },\n () => {\n console.log('failed');\n setWorking(false);\n },\n );\n }\n };\n\n if (progress === 3) {\n const getThankYouHeader = () => {\n if (cancelationSubType === ECancelationSubType.CHANGE) {\n return (\n
\n Hartelijk dank voor uw verzoek tot wijziging. U krijgt per e-mail een bevestiging.\n Binnen 5 werkdagen ontvangt u ons besluit.\n
\n );\n }\n return (\n
\n Hartelijk dank voor uw verzoek tot opzegging. U krijgt per e-mail een bevestiging. Binnen\n 5 werkdagen ontvangt u ons besluit.\n
\n );\n };\n\n const getThankYouFooter = () => {\n return (\n
\n Kijk op amsterdam.nl/varen. Of stuur een e-mail\n naar vaarvignet@amsterdam.nl. Noteer in uw\n e-mail altijd het vignetnummer\n
\n );\n };\n\n const handleOnClick = () => {\n console.log('getting summary');\n DataApi.getRestitutionSummary(\n vignet?.vignet_id || '',\n (json: any) => {\n window.open(json.summary_link);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n };\n\n return (\n \n \n
\n {\n navigate('/redirect/vignet-overview');\n }}\n onPreviousText=\"< Terug naar vignetoverzicht\"\n >\n
Bedankt
\n {getThankYouHeader()}\n
Samenvatting
\n
\n \n
Vragen?
\n {getThankYouFooter()}\n \n
\n
\n );\n }\n\n if (progress === 2) {\n if (!vignet) {\n setProgress(0);\n return
Loading..
;\n }\n\n return (\n \n \n
\n \n {\n handleOnPrevious();\n }}\n locked={working}\n onNext={() => {\n handleCancelation();\n }}\n >\n
Samenvatting
\n
\n Hieronder staan uw gegevens van het{' '}\n {cancelationSubType === ECancelationSubType.CANCELATION ? 'opzeggen' : 'wijzigen'} van\n uw vignet.\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

\n\n {\n setHasAgreedTruthfully(checked);\n }}\n >\n {\n setHasAgreedEndUser(checked);\n }}\n >\n \n \"https://www.amsterdam.nl/parkeren-verkeer/varen-amsterdam/re-geling-verordeningen-water/\"{' '}\n \n
voor meer informatie.
\n \n\n {pageError ? (\n
{pageError}
\n ) : (\n \n )}\n \n
\n
\n );\n }\n\n if (progress === 1) {\n if (!vignet) {\n setProgress(0);\n return
Loading..
;\n }\n return (\n \n \n
\n \n \n
Wijzigen of opzeggen {vignet.vignet_number}
\n
\n Hieronder ziet u het vignet dat u wilt wijzigen of opzeggen.\n
\n \n \n
Vignet wijzigen of opzeggen
\n
\n \n
Wijzigen
\n
\n
\n \n
Opzeggen
\n
\n {actionType === 'change' ? getChangeDOM() : }\n {actionType === 'cancel' ? getCancelDOM() : }\n \n
\n
\n );\n }\n\n return (\n \n \n
\n \n {\n navigate('/personal-info');\n }}\n onNext={\n debug\n ? undefined\n : debugOption\n ? () => {\n if (debugOption) {\n console.log(debugOption);\n navigate(debugOption);\n }\n }\n : undefined\n }\n >\n
Vignetoverzicht
\n
\n U kunt per vignet aangeven of u wilt wijzigen of opzeggen. Hebt u meerdere vignetten?\n Doorloop de stappen dan per vignet.

\n

U ziet hieronder alleen uw huidige BHG-vignet of vignetten. Hebt u een\n Doorvaartvignet? En wilt u hiervan gegevens wijzigen? Stuur een e-mail naar{' '}\n vaarvignet@amsterdam.nl. Noteer in uw\n e-mail uw vignetnummer en wat u wilt wijzigen.

\n
\n
\n
\n
\n
Naam van uw boot
\n
Vignetnummer
\n
\n
\n
\n {vignets.map((vignet: TVignet, index: number) => {\n return (\n
\n
{vignet.object_name}
\n
{vignet.vignet_number}
\n
\n {vignet.vignet_status !== 'Extended' && vignet.show_blue_btn === 1 ? (\n {\n handleOnClickActionButton(vignet);\n }}\n >\n Wijzigen of opzeggen\n
\n ) : (\n \n )}\n
\n
\n );\n })}\n
\n
\n \n {/*
\n {setDebug(e.target.checked)}} style={{accentColor: 'red'}}>\n Debug mode: after 1 feb\n
*/}\n \n
\n );\n};\n\nexport default VignetOverviewPage;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"DownloadSummaryButton_container__4uswd\"};","import * as React from 'react';\n\nimport style from './DownloadSummaryButton.module.css';\n\ntype TDownloadSummaryButton = {\n onClick: Function;\n};\n\nconst DownloadSummaryButton = (props: TDownloadSummaryButton) => {\n return (\n {\n props.onClick();\n }}\n >\n Downloaden Samenvatting\n \n );\n};\n\nexport default DownloadSummaryButton;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"UploadField_container__ta4n1\",\"blue\":\"UploadField_blue__f69A3\",\"valid\":\"UploadField_valid__Kq2eO\",\"invalid\":\"UploadField_invalid__rrTHj\",\"fileListContainer\":\"UploadField_fileListContainer__6Gtyr\",\"fileContainer\":\"UploadField_fileContainer__zKJ5j\",\"file\":\"UploadField_file__npUkb\",\"remove\":\"UploadField_remove__X67Ms\"};","import * as React from 'react';\n\nimport style from './UploadField.module.css';\n\ntype TFile = {\n name: string;\n data: string;\n native?: any;\n};\n\ntype TFileList = {\n files: TFile[];\n removeFile?: Function;\n fileElement?: any;\n};\n\ntype TUploadField = {\n onChange: Function;\n validity: boolean;\n text?: string;\n files: TFile[];\n removeFile?: Function;\n singleFileText?: boolean;\n accept?: string;\n};\n\nconst FileList = (props: TFileList) => {\n return (\n
\n {props.files.map((file: TFile, index: number) => {\n return (\n
\n
{file.name}
\n {props.removeFile ? (\n {\n if (props.fileElement) {\n props.fileElement.value = null;\n }\n props.removeFile?.(index);\n }}\n >\n X Wissen\n
\n ) : (\n \n )}\n
\n );\n })}\n \n );\n};\n\nconst UploadField = (props: TUploadField) => {\n const [fileElement, setFileElement] = React.useState();\n\n return (\n \n
\n {props.text ? (\n
{props.text}
\n ) : props.singleFileText ? (\n
\n Sleep het bestand in dit vak of
selecteer het bestand
\n
\n ) : (\n
\n Sleep de bestanden in dit vak of
selecteer bestanden
\n
\n )}\n {\n setFileElement(e.target);\n props.onChange(e);\n }}\n >\n
\n \n
\n );\n};\n\nexport default UploadField;\nexport type { TUploadField, TFileList, TFile };\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"VignetOverviewPage_container__LLsdn\",\"header\":\"VignetOverviewPage_header__kbWZK\",\"subHeader\":\"VignetOverviewPage_subHeader__4LJF6\",\"pageError\":\"VignetOverviewPage_pageError__AzJTY\",\"pageHeader\":\"VignetOverviewPage_pageHeader__iHExJ\",\"option\":\"VignetOverviewPage_option__yJZUE\",\"vignetTable\":\"VignetOverviewPage_vignetTable__9KtPD\",\"vignetTableHeader\":\"VignetOverviewPage_vignetTableHeader__6nH-m\",\"actionButton\":\"VignetOverviewPage_actionButton__lIc7B\",\"vignetColumn\":\"VignetOverviewPage_vignetColumn__caE5H\",\"vignetTableRow\":\"VignetOverviewPage_vignetTableRow__tz60x\",\"vignetTableRowItem\":\"VignetOverviewPage_vignetTableRowItem__gJ2HL\",\"vignetTableRowItemCentered\":\"VignetOverviewPage_vignetTableRowItemCentered__ICyk7\",\"vignetTableSeparator\":\"VignetOverviewPage_vignetTableSeparator__6lLCz\",\"selectTypeContainer\":\"VignetOverviewPage_selectTypeContainer__8tEcG\",\"pageSubHeader\":\"VignetOverviewPage_pageSubHeader__5ifSp\",\"debugCheckBox\":\"VignetOverviewPage_debugCheckBox__jis3O\",\"spin\":\"VignetOverviewPage_spin__A7nkS\"};","import { upload } from '@testing-library/user-event/dist/upload';\nimport * as React from 'react';\nimport DataApi from '../../api/DataApi';\nimport VignetApi, { TCheckVignet } from '../../api/VignetApi';\nimport AgreementBox from '../../components/agreement-box/AgreementBox';\nimport AlertBox, { ESeverity } from '../../components/alert-box/AlertBox';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport CountrySelectionField from '../../components/country-selection-field/CountrySelectionField';\nimport DownloadSummaryButton from '../../components/download-summary/DownloadSummary';\nimport EditHeader from '../../components/edit-header/EditHeader';\nimport KeyValuePair from '../../components/key-value-pair/KeyValuePair';\nimport LabeledInputField from '../../components/labeled-input-field/LabeledInputField';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport TitleLineComponent from '../../components/page-layout/TitleLineComponent';\nimport UploadField, { TFile } from '../../components/upload-field/UploadField';\nimport FormStepper, { TStep } from '../form-stepper/FormStepper';\n\nimport style from './ActivateVignetPage.module.css';\n\nenum EProgress {\n VALIDATION,\n PERSONAL_DETAILS,\n OBJECT_DETAILS,\n SUMMARY,\n THANK_YOU,\n}\n\ntype TDriveType = {\n id: string;\n name: string;\n};\n\ntype TObjectType = {\n id: string;\n name: string;\n};\n\ntype TFormDataEntry = {\n value: string;\n validator?: Function;\n};\n\ntype TFormData = {\n [key: string]: TFormDataEntry;\n};\n\ntype TField = {\n value: string;\n isEditable: boolean;\n};\n\nconst ActivateVignetPage = () => {\n const [vignetCode, setVignetCode] = React.useState('');\n const [activationCode, setActivationCode] = React.useState('');\n\n const [progress, setProgress] = React.useState(EProgress.VALIDATION);\n\n const [pageError, setPageError] = React.useState(undefined);\n\n const [checkVignet, setCheckVignet] = React.useState(undefined);\n\n const [formData, setFormData] = React.useState({});\n const [predefinedData, setPredefinedData] = React.useState();\n\n const [country, setCountry] = React.useState();\n const [countryName, setCountryName] = React.useState();\n\n const [driveTypes, setDriveTypes] = React.useState(undefined);\n const [objectTypes, setObjectTypes] = React.useState(undefined);\n\n const [objectLength, setObjectLength] = React.useState({ value: '', isEditable: false });\n const [objectWidth, setObjectWidth] = React.useState({ value: '', isEditable: false });\n const [objectDriveType, setObjectDriveType] = React.useState({\n value: '',\n isEditable: false,\n });\n const [objectType, setObjectType] = React.useState({ value: '', isEditable: false });\n const [objectName, setObjectName] = React.useState({ value: '', isEditable: false });\n\n const [bsnRequired, setBsnRequired] = React.useState(false);\n\n const [fileUploadBoat, setFileUploadBoat] = React.useState([]);\n const [fileUploadVignet, setFileUploadVignet] = React.useState([]);\n\n const [fileCount, setFileCount] = React.useState(0);\n const [uploadRequired, setUploadRequired] = React.useState(false);\n\n const [action, setAction] = React.useState(0);\n\n const [isValid, setValid] = React.useState(false);\n\n const [hasAgreedTruthfully, setHasAgreedTruthfully] = React.useState(false);\n const [hasAgreedEndUser, setHasAgreedEndUser] = React.useState(false);\n\n const [working, setWorking] = React.useState(false);\n\n const steps: TStep[] = [\n { text: 'Nummer vignet invoeren' },\n { text: 'Uw gegevens' },\n { text: 'Gegevens van uw boot' },\n { text: 'Samenvatting van uw aanvraag' },\n { text: 'Bedankt' },\n ];\n\n const validateFormData = () => {\n let valid = true;\n\n for (const [key, value] of Object.entries(formData)) {\n const entry: TFormDataEntry = value as unknown as TFormDataEntry;\n if (key === 'bsn' && !bsnRequired) {\n continue;\n }\n if (key === 'repeatEmail' && predefinedData?.email?.isEditable === false) {\n continue;\n }\n if (!entry.validator) {\n continue;\n }\n if (!entry.validator()) {\n valid = false;\n console.log('failed:' + key);\n }\n }\n return valid;\n };\n\n const handleOnPrevious = () => {\n setPageError(undefined);\n setProgress(progress - 1);\n };\n\n const handleOnNext = () => {\n setPageError(undefined);\n if (progress === EProgress.VALIDATION) {\n if (!vignetCode) {\n setPageError('Vul uw vignetnummer in.');\n return;\n }\n if (!activationCode) {\n setPageError('Vul uw activatiecode in.');\n return;\n }\n if (activationCode.trim() === '0') {\n setPageError('Vul een valide activatiecode in.');\n return;\n }\n\n VignetApi.activateVignet(\n vignetCode,\n activationCode,\n (e: TCheckVignet) => {\n if (e.fields.email) {\n e.fields.repeatEmail = e.fields.email;\n }\n\n setProgress(EProgress.PERSONAL_DETAILS);\n window.localStorage.setItem('access_token', e.access_token);\n setCountry(e.fields.country_id.value);\n setPredefinedData(e.fields);\n setCheckVignet(e);\n DataApi.getActivateDriveTypes(\n (driveTypes: TDriveType[]) => {\n setDriveTypes(driveTypes);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n DataApi.getActivateObjectTypes(\n (objectTypes: TObjectType[]) => {\n setObjectTypes(objectTypes);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n\n setObjectLength(e?.fields?.object_length);\n setObjectWidth(e?.fields?.object_width);\n setObjectDriveType(e?.fields?.object_drive_type_id);\n setObjectType(e?.fields?.object_type_id);\n setObjectName(e?.fields?.object_name);\n\n setFileCount(e?.photos_count || 0);\n setUploadRequired(e?.photos_required || false);\n\n setValid(true);\n return undefined;\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n return;\n }\n if (progress === EProgress.PERSONAL_DETAILS) {\n if (!validateFormData()) {\n setPageError('U heeft één of meerdere van de velden niet correct ingevuld');\n setValid(false);\n return;\n }\n\n VignetApi.validateOwner(\n formData.initials.value,\n formData.prefix.value,\n formData.last_name.value,\n formData.email.value,\n predefinedData?.email?.isEditable ? formData?.repeatEmail?.value : formData?.email?.value,\n formData?.bsn?.value || '',\n formData.mobile_phone.value,\n checkVignet?.vignet_type_id || '',\n country || '',\n formData.address.value,\n formData.addition.value,\n formData.city.value,\n formData.number.value,\n formData.postcode.value,\n (json: any) => {\n setProgress(EProgress.OBJECT_DETAILS);\n setValid(true);\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n return;\n }\n if (progress === EProgress.OBJECT_DETAILS) {\n if (uploadRequired) {\n if (fileUploadBoat?.length <= 0) {\n setPageError(\"Voeg de ontbrekende foto's toe.\");\n setValid(false);\n return;\n }\n if (fileCount > 1 && fileUploadVignet?.length <= 0) {\n setPageError(\"Voeg de ontbrekende foto's toe.\");\n setValid(false);\n return;\n }\n }\n\n if (!objectName.value) {\n setPageError('Geef een naam voor uw boot op.');\n setValid(false);\n return;\n }\n\n if (!objectDriveType.value) {\n setPageError('Geef een soort motor op.');\n setValid(false);\n return;\n }\n\n if (!objectType.value) {\n setPageError('Geef het soort boot op.');\n setValid(false);\n return;\n }\n\n VignetApi.validateObject(\n objectDriveType.value,\n objectWidth.value,\n objectLength.value,\n objectName.value,\n objectType.value,\n (json: any) => {\n setProgress(EProgress.SUMMARY);\n setValid(true);\n },\n (error: Error) => {\n setPageError(error.message);\n setValid(false);\n },\n );\n return;\n }\n\n if (progress == EProgress.SUMMARY) {\n if (!hasAgreedEndUser || !hasAgreedTruthfully) {\n setPageError('Ga akkoord met het bovenstaande om verder te gaan.');\n setValid(false);\n return;\n }\n setWorking(true);\n if (!uploadRequired && fileUploadBoat.length <= 0 && fileUploadVignet.length <= 0) {\n VignetApi.saveData(\n formData.initials.value,\n formData.prefix.value,\n formData.last_name.value,\n formData.email.value,\n predefinedData?.email?.isEditable ? formData?.repeatEmail?.value : formData?.email?.value,\n formData?.bsn?.value,\n formData.mobile_phone.value,\n 'Doorvaart',\n country || '',\n formData.address.value,\n formData.addition.value,\n formData.city.value,\n formData.number.value,\n formData.postcode.value,\n objectDriveType.value,\n objectType.value,\n objectLength.value,\n objectWidth.value,\n objectName.value,\n (json: any) => {\n setWorking(false);\n setProgress(EProgress.THANK_YOU);\n setValid(true);\n },\n (error: Error) => {\n setWorking(false);\n setPageError(error.message);\n },\n );\n } else {\n VignetApi.uploadPhotos(\n [fileUploadBoat, fileUploadVignet],\n (json: any) => {\n VignetApi.saveData(\n formData.initials.value,\n formData.prefix.value,\n formData.last_name.value,\n formData.email.value,\n predefinedData?.email?.isEditable\n ? formData?.repeatEmail?.value\n : formData?.email?.value,\n formData?.bsn?.value,\n formData.mobile_phone.value,\n 'Doorvaart',\n country || '',\n formData.address.value,\n formData.addition.value,\n formData.city.value,\n formData.number.value,\n formData.postcode.value,\n objectDriveType.value,\n objectType.value,\n objectLength.value,\n objectWidth.value,\n objectName.value,\n (json: any) => {\n setWorking(false);\n setProgress(EProgress.THANK_YOU);\n setValid(true);\n },\n (error: Error) => {\n setWorking(false);\n setPageError(error.message);\n },\n );\n },\n (error: Error) => {\n setWorking(false);\n setPageError(error.message);\n },\n );\n }\n }\n };\n\n const handleOnChangeCountry = (country: string, index: number, name: string) => {\n setBsnRequired(index === 0);\n setCountry(country);\n setCountryName(name);\n };\n\n if (progress === EProgress.THANK_YOU) {\n const getThankYouHeader = () => {\n return (\n
\n U ontvangt een e-mail met een bevestiging van de activatie van uw vignet.

U kunt\n de samenvatting hieronder downloaden.\n
\n );\n };\n\n const getThankYouFooter = () => {\n return (\n
\n Bel het telefoonnummer 14 020, maandag tot en met vrijdag van 08.00 tot 18.00 uur. Of\n gebruik het contactformulier op de website.

\n Houd uw vignetnummer bij de hand.\n
\n );\n };\n\n const handleOnDownloadSummary = () => {\n DataApi.getActivationSummary(\n (json: any) => {\n window.open(json.summary_link);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n };\n\n return (\n \n \n
\n \n \n
Bedankt
\n {getThankYouHeader()}\n
Samenvatting
\n
\n \n
Vragen?
\n {getThankYouFooter()}\n
\n
\n
\n );\n }\n\n const getDriveTypeById = (id: string) => {\n return driveTypes?.find((driveType: TDriveType) => {\n return driveType.id === id;\n });\n };\n\n const getObjectTypeById = (id: string) => {\n return objectTypes?.find((objectType: TDriveType) => {\n return objectType.id === id;\n });\n };\n\n if (progress === EProgress.SUMMARY) {\n return (\n \n \n
\n \n {\n handleOnPrevious();\n }}\n onNext={() => {\n handleOnNext();\n }}\n locked={working}\n >\n \n
Samenvatting
\n

\n {\n setPageError(undefined);\n setProgress(EProgress.PERSONAL_DETAILS);\n }}\n hideEdit={predefinedData?.email?.isEditable === false}\n >\n {bsnRequired ? (\n \n ) : (\n \n )}\n \n \n \n \n \n \n \n \n \n \n \n {\n setPageError(undefined);\n setProgress(EProgress.OBJECT_DETAILS);\n }}\n >\n \n \n \n meter\n \n \n meter\n \n \n \n

\n\n {\n setHasAgreedTruthfully(checked);\n }}\n >\n {\n setHasAgreedEndUser(checked);\n }}\n >\n \n \"https://www.amsterdam.nl/varen\"{' '}\n \n
voor meer informatie.
\n \n\n {pageError ? (\n
{pageError}
\n ) : (\n \n )}\n \n
\n
\n );\n }\n\n const required = (value: string) => {\n setAction(action + 1);\n return value && value.trim().length > 0;\n };\n\n const isValidPhoneNumber = () => {\n setAction(action + 1);\n return /^\\+??\\d{3}?[-\\s\\.]?\\d{3}[-\\s\\.]?\\d{4,9}$/im.test(formData.mobile_phone.value);\n };\n\n const isSamePhoneNumber = () => {\n setAction(action + 1);\n if (formData.repeatPhoneNumber.value.length <= 0) {\n return false;\n }\n if (formData.phoneNumber.value === formData.repeatPhoneNumber.value) {\n setValid(true);\n }\n return formData.phoneNumber.value === formData.repeatPhoneNumber.value;\n };\n\n const isValidEmail = () => {\n setAction(action + 1);\n return /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(formData.email.value);\n };\n\n const isSameEmail = () => {\n setAction(action + 1);\n if (formData.repeatEmail.value.length <= 0) {\n return false;\n }\n if (formData.email.value === formData.repeatEmail.value) {\n setValid(true);\n }\n return formData.email.value === formData.repeatEmail.value;\n };\n\n const formatPostalCode = (value: string | React.ChangeEvent): string => {\n let formattedPostalCode = '';\n\n if (typeof value === 'string') {\n formattedPostalCode = value;\n } else {\n formattedPostalCode = value.target.value;\n }\n\n formattedPostalCode = formattedPostalCode.replace(\n /^(\\d{0,4})\\s*([a-zA-Z]{0,2}).*$/,\n (match, digits, letters) => {\n if (String(digits).length !== 4) {\n return digits;\n } else {\n return `${digits} ${letters.toUpperCase()}`;\n }\n },\n );\n formattedPostalCode = formattedPostalCode.replace(/[^a-zA-Z0-9]/g, '');\n\n if (formattedPostalCode.length <= 4) {\n formattedPostalCode = formattedPostalCode.slice(0, 4);\n } else {\n formattedPostalCode =\n formattedPostalCode.slice(0, 4) + ' ' + formattedPostalCode.slice(4, 6).toUpperCase();\n }\n\n if (typeof value !== 'string') {\n value.target.value = formattedPostalCode;\n }\n\n return formattedPostalCode;\n };\n\n const isDutchPostalCode = (postalCode: string): boolean => {\n const trimmedPostalCode = postalCode.trim();\n\n // Regular expression for Dutch postal codes (case-insensitive)\n const regex = /^[1-9][0-9]{3}\\s?[A-Z]{2}$/i;\n\n return regex.test(trimmedPostalCode);\n };\n\n // const isValidZipCode = () => {\n // setAction(action + 1);\n // return /^\\d{4}[a-z]{2}$/.test(formData.postcode.value.toLowerCase());\n // };\n\n const isValidHouseNumber = () => {\n setAction(action + 1);\n if (formData.number.value.toLowerCase().trim().length <= 0) {\n return false;\n }\n return /^[0-9]*$/.test(formData.number.value.toLowerCase());\n };\n\n const isBsnNumber = (value: string) => {\n setAction(action + 1);\n if (value.length < 8 || value.length > 9) {\n return false;\n }\n const numbers: string[] = value.split('');\n let factor: number = numbers.length;\n let total: number = 0;\n numbers.forEach((number: string) => {\n if (factor == 1) {\n factor = -1;\n }\n total += parseInt(number) * factor--;\n });\n\n const dividend = (total /= 11);\n\n if (dividend === 0 || Math.round(dividend) !== dividend) {\n return false;\n }\n setValid(true);\n return true;\n };\n\n const readFile = async (file: any) => {\n return await new Promise((resolve: any) => {\n const fileReader = new FileReader();\n fileReader.onload = () => {\n resolve({\n name: file.name,\n data: (fileReader.result as string).split(';base64,', 2)[1],\n native: file,\n });\n };\n fileReader.readAsDataURL(file);\n });\n };\n\n const handleOnChangeFileUploadBoat = async (e: any) => {\n const mimeType: string = e.target.files[0].type;\n if (!mimeType.startsWith('image')) {\n setPageError('Alleen bestanden van het type png en jpg zijn toegestaan.');\n return;\n }\n setPageError(undefined);\n const files: TFile[] = [];\n for (let i = 0; i < e.target.files.length; i++) {\n files.push((await readFile(e.target.files[i])) as TFile);\n }\n setAction(action + 1);\n setFileUploadBoat(files);\n setValid(true);\n };\n\n const handleOnChangeFileUploadVignet = async (e: any) => {\n const mimeType: string = e.target.files[0].type;\n if (!mimeType.startsWith('image')) {\n setPageError('Alleen bestanden van het type png en jpg zijn toegestaan.');\n return;\n }\n setPageError(undefined);\n const files: TFile[] = [];\n for (let i = 0; i < e.target.files.length; i++) {\n files.push((await readFile(e.target.files[i])) as TFile);\n }\n setFileUploadVignet(files);\n setValid(true);\n };\n\n if (progress === EProgress.OBJECT_DETAILS) {\n const buildFields = () => {\n if (!checkVignet) {\n return ;\n }\n const fields = [];\n for (const [key, value] of Object.entries(checkVignet.fields)) {\n formData[key as string] = value;\n fields.push(\n ,\n );\n }\n return fields;\n };\n\n return (\n \n \n
\n \n \n \n
Gegevens van uw boot
\n
Wij hebben de volgende informatie van u nodig:
\n
\n
\n Lengte boot \n
\n {\n setObjectLength({ value: e.target.value, isEditable: objectLength.isEditable });\n }}\n className={\n isValid || objectLength.value ? style.objectInputValid : style.objectInputInvalid\n }\n >\n
\n\n
\n
\n Breedte boot \n
\n {\n setObjectWidth({ value: e.target.value, isEditable: objectWidth.isEditable });\n }}\n className={\n isValid || objectWidth.value ? style.objectInputValid : style.objectInputInvalid\n }\n >\n
\n

\n
\n
Soort motor
\n {\n setObjectDriveType({\n value: e.target.value,\n isEditable: objectDriveType.isEditable,\n });\n }}\n className={\n isValid || objectDriveType.value\n ? style.objectInputLongValid\n : style.objectInputLongInvalid\n }\n >\n \n {driveTypes?.map((driveType: TDriveType, index: number) => {\n return (\n \n );\n })}\n \n
\n
\n
Soort boot
\n {\n setObjectType({ value: e.target.value, isEditable: objectType.isEditable });\n }}\n className={\n isValid || objectType.value\n ? style.objectInputLongValid\n : style.objectInputLongInvalid\n }\n >\n \n {objectTypes?.map((objectType: TObjectType, index: number) => {\n return (\n \n );\n })}\n \n
\n\n
\n
Naam boot
\n {\n setObjectName({ value: e.target.value, isEditable: objectName.isEditable });\n }}\n className={\n isValid || objectName.value\n ? style.objectInputLongValid\n : style.objectInputLongInvalid\n }\n >\n
\n\n
\n Voeg hier een foto toe waarop uw volledige boot zichtbaar is.\n
\n {\n setFileUploadBoat([]);\n }}\n onChange={handleOnChangeFileUploadBoat}\n validity={!uploadRequired || isValid || fileUploadBoat?.length > 0}\n files={fileUploadBoat}\n >\n\n {fileCount === 2 ? (\n
\n Voeg hier een foto toe van uw boot waarop het vignet zichtbaar is.\n
\n ) : (\n \n )}\n {fileCount === 2 ? (\n {\n setFileUploadVignet([]);\n }}\n onChange={handleOnChangeFileUploadVignet}\n validity={!uploadRequired || isValid || fileUploadVignet?.length > 0}\n files={fileUploadVignet}\n >\n ) : (\n \n )}\n\n
{pageError}
\n
\n
\n
\n );\n }\n\n if (progress === EProgress.PERSONAL_DETAILS) {\n return (\n \n \n
\n \n \n \n
Uw gegevens
\n
\n Dit zijn uw gegevens die bij ons bekend zijn.

\n Wij kunnen hiermee in geval van nood contact met u opnemen.

\n Wij gebruiken deze gegevens ook om u een bevestiging te sturen.\n
\n \n \n \n \n \n \n \n \n\n \n\n {bsnRequired ? (\n \n ) : (\n \n )}\n \n \n {predefinedData?.email?.isEditable ? (\n \n ) : (\n \n )}\n {!checkVignet?.photos_required ? (\n
Velden met * zijn verplicht.
\n ) : (\n \n )}\n
{pageError}
\n
\n
\n
\n );\n }\n\n if (progress === EProgress.VALIDATION) {\n return (\n \n \n
\n \n \n \n
Vignetnummer en activatiecode invullen
\n
\n Vul hieronder het nieuwe vignetnummer en de activatiecode in.

U vindt het\n vignetnummer op het fysieke vignet.

U hebt de activatiecode in een e-mail\n ontvangen.\n
\n\n
Vignetnummer
\n {\n setVignetCode(e.target.value);\n }}\n onKeyDown={(e: any) => {\n if (e.key === 'Enter') {\n handleOnNext();\n }\n }}\n >\n
Activatiecode
\n {\n setActivationCode(e.target.value);\n }}\n onKeyDown={(e: any) => {\n if (e.key === 'Enter') {\n handleOnNext();\n }\n }}\n >\n\n \n\n \n\n
{pageError}
\n\n
\n De gemeente Amsterdam gaat zorgvuldig en veilig met uw persoonsgegevens om. Wij houden\n ons daarbij aan de privacywetten en -regels. Dat betekent bijvoorbeeld dat wij uw\n gegevens alleen voor deze aanvraag gebruiken en niet voor iets anders. Meer informatie\n vindt u in de{' '}\n \n privacyverklaring Binnenhavengeld\n \n .\n
\n
\n
\n
\n );\n }\n\n return
403 Forbidden.
;\n};\n\nexport default ActivateVignetPage;\n","// extracted by mini-css-extract-plugin\nexport default {\"pageSubHeader\":\"ChangeVignetPageCalculations_pageSubHeader__EX8Zj\"};","import * as React from 'react';\nimport KeyValuePair from '../key-value-pair/KeyValuePair';\n\nimport style from './ChangeVignetPageCalculations.module.css';\n\ntype TChangeVignetPageCalculations = {\n vignetType: string;\n objectSurface: string;\n totalCost: string;\n};\n\nconst ChangeVignetPageCalculations = (props: TChangeVignetPageCalculations) => {\n return (\n \n
Vignet berekening
\n \n \n \n
\n );\n};\n\nexport default ChangeVignetPageCalculations;\n","// extracted by mini-css-extract-plugin\nexport default {\"label\":\"ChangeVignetPagePaymentDetails_label__t0jF+\",\"input\":\"ChangeVignetPagePaymentDetails_input__R3-hp\",\"valid\":\"ChangeVignetPagePaymentDetails_valid__YSOj8\",\"invalid\":\"ChangeVignetPagePaymentDetails_invalid__lHYNJ\"};","import * as React from 'react';\n\nimport style from './ChangeVignetPagePaymentDetails.module.css';\n\ntype TChangeVignetPagePaymentDetails = {\n onChangeIban: Function;\n onChangeIbanHolder: Function;\n disabled: boolean;\n validity: boolean;\n iban?: string;\n ibanHolder?: string;\n};\n\nconst ChangeVignetPagePaymentDetails = (props: TChangeVignetPagePaymentDetails) => {\n const [iban, setIban] = React.useState(props.iban || '');\n const [ibanHolder, setIbanHolder] = React.useState(props.ibanHolder || '');\n\n const handleOnChangeIban = (e: any) => {\n setIban(e.target.value);\n props.onChangeIban(e);\n };\n\n const handleOnChangeIbanHolder = (e: any) => {\n setIbanHolder(e.target.value);\n props.onChangeIbanHolder(e);\n };\n\n return (\n \n
Rekeningnummer
\n {\n handleOnChangeIban(e);\n }}\n >\n
Naam rekeninghouder
\n {\n handleOnChangeIbanHolder(e);\n }}\n >\n
\n );\n};\n\nexport default ChangeVignetPagePaymentDetails;\n","// extracted by mini-css-extract-plugin\nexport default {\"paymentTermSelection\":\"ChangeVignetPagePaymentTerms_paymentTermSelection__AvfL-\",\"paymentTermOption\":\"ChangeVignetPagePaymentTerms_paymentTermOption__zTCbN\",\"pageSubHeader\":\"ChangeVignetPagePaymentTerms_pageSubHeader__db6YV\",\"editButton\":\"ChangeVignetPagePaymentTerms_editButton__FZFqj\",\"text\":\"ChangeVignetPagePaymentTerms_text__oYr3-\",\"valid\":\"ChangeVignetPagePaymentTerms_valid__-Odny\",\"invalid\":\"ChangeVignetPagePaymentTerms_invalid__A8i-z\"};","import * as React from 'react';\nimport DataApi, { TPaymentType } from '../../api/DataApi';\nimport AgreementBox from '../agreement-box/AgreementBox';\nimport ChangeVignetPagePaymentDetails from '../change-vignet-page-payment-details/ChangeVignetPagePaymentDetails';\nimport KeyValuePair from '../key-value-pair/KeyValuePair';\n\nimport style from './ChangeVignetPagePaymentTerms.module.css';\n\ntype TChangeVignetPageSummary = {\n onChange: Function;\n validity: boolean;\n disabled: boolean;\n iban?: string;\n ibanHolder?: string;\n setExpansion: Function;\n expansion: number;\n setEditMode: Function;\n returnPaymentMethodID?: string;\n setPageError: Function;\n paymentMethod: TPaymentType | undefined;\n};\n\nconst ChangeVignetPagePaymentTerms = (props: TChangeVignetPageSummary) => {\n const [paymentTypes, setPaymentTypes] = React.useState(() => {\n DataApi.getPaymentTypes(\n (json: any) => {\n setPaymentTypes(json);\n if (props.returnPaymentMethodID) {\n const index = (json as TPaymentType[]).findIndex((paymentType: TPaymentType) => {\n return paymentType.id === props.returnPaymentMethodID;\n });\n const paymentType = (json as TPaymentType[])[index];\n handleOnChange(paymentType, index > 0);\n }\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n });\n\n const [paymentMethod, setPaymentMethod] = React.useState(\n props.paymentMethod,\n );\n const [showAdditionalFields, setShowAdditionalFields] = React.useState(\n props.paymentMethod?.id !== paymentTypes?.[0]?.id,\n );\n\n const [iban, setIban] = React.useState(props.iban);\n const [ibanHolder, setIbanHolder] = React.useState(props.ibanHolder);\n\n const [hasAgreed, setHasAgreed] = React.useState(false);\n\n const handleOnChange = (paymentType: TPaymentType, showAdditionalFields: boolean) => {\n props.onChange(paymentType, iban, ibanHolder, hasAgreed, showAdditionalFields);\n setShowAdditionalFields(showAdditionalFields);\n setPaymentMethod(paymentType);\n };\n\n const handleOnChangeIban = (e: any) => {\n props.onChange(paymentMethod, e.target.value, ibanHolder, hasAgreed, showAdditionalFields);\n setIban(e.target.value);\n };\n\n const handleOnChangeIbanHolder = (e: any) => {\n props.onChange(paymentMethod, iban, e.target.value, hasAgreed, showAdditionalFields);\n setIbanHolder(e.target.value);\n };\n\n const handleOnChangeAgreement = (checked: boolean) => {\n props.onChange(paymentMethod, iban, ibanHolder, checked, showAdditionalFields);\n setHasAgreed(checked);\n };\n\n return (\n \n
Betaalmethode
\n
\n U kunt het bedrag in 1 keer betalen via iDEAL of in 4 delen. Kiest u voor betalen in 4\n delen? Dan betaalt u via automatische incasso. Het eerste deel van het bedrag wordt binnen\n 48 uur van uw rekening afgeschreven. De volgende 3 betalingen volgen elke maand daarop.\n
\n
\n
\n Betalen\n {props.expansion !== 2 ? (\n {\n props.setExpansion(2);\n }}\n >\n Wijzig\n
\n ) : (\n \n )}\n
\n {paymentTypes?.map((paymentType: TPaymentType, index: number) => {\n return (\n \n {\n handleOnChange(paymentType, index > 0);\n }}\n >\n
{paymentType.name}
\n \n );\n })}\n\n {paymentMethod && paymentMethod?.id !== paymentTypes?.[0]?.id ? (\n \n \n \n \n ) : (\n ''\n )}\n \n
\n );\n};\n\nexport default ChangeVignetPagePaymentTerms;\n","// extracted by mini-css-extract-plugin\nexport default {\"paymentTermOption\":\"ChangeVignetPageSummary_paymentTermOption__wUFzZ\",\"pageHeader\":\"ChangeVignetPageSummary_pageHeader__RbSSH\",\"pageSubHeader\":\"ChangeVignetPageSummary_pageSubHeader__oMWbu\",\"text\":\"ChangeVignetPageSummary_text__Bo2ZL\"};","import * as React from 'react';\nimport DataApi, { TDriveType } from '../../api/DataApi';\nimport AgreementBox from '../agreement-box/AgreementBox';\nimport KeyValuePair from '../key-value-pair/KeyValuePair';\n\nimport style from './ChangeVignetPageSummary.module.css';\n\ntype TChangeVignetPageSummary = {\n bsn: string;\n initials: string;\n prefix: string;\n lastName: string;\n\n street: string;\n houseNumber: string;\n addition: string;\n zipCode: string;\n city: string;\n phoneNumber: string;\n email: string;\n\n vignetNumber: string;\n objectName: string;\n driveType: string;\n\n mooring: string;\n vignetType: string;\n\n totalCost: string;\n\n paymentType: string;\n\n setHasAgreedUserAgreement: Function;\n setHasAgreedDetailsCorrect: Function;\n setPageError: Function;\n\n defaultHasAgreedUserAgreement: boolean;\n defaultHasAgreedDetailsCorrect: boolean;\n\n validity: boolean;\n};\n\nconst ChangeVignetPageSummary = (props: TChangeVignetPageSummary) => {\n const [hasAgreedUserAgreement, setHasAgreedUserAgreement] = React.useState(\n props.defaultHasAgreedUserAgreement || false,\n );\n const [hasAgreedDetailsCorrect, setHasAgreedDetailsCorrect] = React.useState(\n props.defaultHasAgreedDetailsCorrect || false,\n );\n\n return (\n \n
Controleer uw gegevens
\n
\n Hieronder vindt u een overzicht van uw gegevens. Controleer de gegevens goed. U kunt nog\n wijzigingen doorvoeren als er iets niet klopt.\n
\n
Uw persoonlijke gegevens
\n \n \n \n \n
Uw contactgegevens
\n \n \n \n \n \n \n \n
Gegevens van uw boot
\n \n \n \n 0 ? 'Ja' : 'Nee'}\n >\n \n \n
Betaalmethode
\n \n {\n props.setHasAgreedUserAgreement(checked);\n setHasAgreedUserAgreement(checked);\n }}\n text={\n 'Ik heb alle gegevens correct en volledig ingevuld. Ik begrijp dat een aanvraag via internet dezelfde juridische status heeft als een aanvraag met een geschreven geldige handtekening.'\n }\n >\n {\n props.setHasAgreedDetailsCorrect(checked);\n setHasAgreedDetailsCorrect(checked);\n }}\n text={\n 'Ik ben op de hoogte van de regels die op het water van Amsterdam gelden, zoals ze staan beschreven in de Binnenhavengeldverordening Pleziervaart en de Verordening op het binnenwater (te vinden op '\n }\n >\n amsterdam.nl/varen\n ). Bij het wijzigen of opzeggen van mijn vignet ga ik met deze regels akkoord.\n \n
\n );\n};\n\nexport default ChangeVignetPageSummary;\nexport type { TChangeVignetPageSummary };\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"ChangeVignetPage_container__K2Q58\",\"header\":\"ChangeVignetPage_header__Px8Ft\",\"subHeader\":\"ChangeVignetPage_subHeader__E8pQe\",\"pageError\":\"ChangeVignetPage_pageError__QjNow\",\"pageHeader\":\"ChangeVignetPage_pageHeader__CpU9W\",\"pageSubHeader\":\"ChangeVignetPage_pageSubHeader__7OABI\",\"paymentSubHeader\":\"ChangeVignetPage_paymentSubHeader__8digd\",\"paymentTermSelection\":\"ChangeVignetPage_paymentTermSelection__-x2P7\",\"paymentTermOption\":\"ChangeVignetPage_paymentTermOption__sJ9DE\",\"editButton\":\"ChangeVignetPage_editButton__+VpuW\",\"invalid\":\"ChangeVignetPage_invalid__3Z0xA\",\"valid\":\"ChangeVignetPage_valid__E+N6m\",\"description\":\"ChangeVignetPage_description__izXR6\"};","import { stringify } from 'querystring';\nimport * as React from 'react';\nimport { useNavigate, useParams } from 'react-router';\nimport DataApi, { TDriveType, TPaymentType } from '../../api/DataApi';\nimport UserApi, { TOwner } from '../../api/UserApi';\nimport VignetApi, { TVignet } from '../../api/VignetApi';\nimport AlertBox, { ESeverity } from '../../components/alert-box/AlertBox';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport ChangeVignetPageCalculations from '../../components/change-vignet-page-calculations/ChangeVignetPageCalculations';\nimport ChangeVignetPagePaymentDetails from '../../components/change-vignet-page-payment-details/ChangeVignetPagePaymentDetails';\nimport ChangeVignetPagePaymentTerms from '../../components/change-vignet-page-payment-terms/ChangeVignetPagePaymentTerms';\nimport ChangeVignetPageSummary, {\n TChangeVignetPageSummary,\n} from '../../components/change-vignet-page-summary/ChangeVignetPageSummary';\nimport KeyValuePair, {\n EEditMode,\n TEditOptions,\n} from '../../components/key-value-pair/KeyValuePair';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport UploadField, { TFile } from '../../components/upload-field/UploadField';\nimport FormStepper, { TStep } from '../form-stepper/FormStepper';\n\nimport style from './ChangeVignetPage.module.css';\n\nconst ChangeVignetPage = () => {\n const navigate = useNavigate();\n const params = useParams();\n\n const [expansion, setExpansion] = React.useState(0);\n\n const [iban, setIban] = React.useState(undefined);\n const [ibanHolder, setIbanHolder] = React.useState(undefined);\n\n const [paymentMethod, setPaymentMethod] = React.useState(undefined);\n\n const [pageError, setPageError] = React.useState(undefined);\n\n const [fileUploadText, setfileUploadText] = React.useState(undefined);\n\n const [hasAgreedPaymentTerms, setHasAgreedPaymentTerms] = React.useState(\n undefined,\n );\n const [hasAdditionalFields, setHasAdditionalFields] = React.useState(false);\n\n const [validity, setValidity] = React.useState(true);\n\n const [hasAgreedDetailsCorrect, setHasAgreedDetailsCorrect] = React.useState(false);\n const [hasAgreedUserAgreement, setHasAgreedUserAgreement] = React.useState(false);\n\n const [editMode, setEditMode] = React.useState(false);\n\n const [fileUploadMarina, setFileUploadMarina] = React.useState([]);\n const [fileUploadBoat, setFileUploadBoat] = React.useState([]);\n\n const [uploadingFiles, setUploadingFiles] = React.useState(false);\n\n const [staticMode, setStaticMode] = React.useState(false);\n\n const [returnVignetID, setReturnVignetID] = React.useState(undefined);\n const [returnPaymentMethodID, setReturnPaymentMethodID] = React.useState(\n undefined,\n );\n\n const [locked, setLocked] = React.useState(false);\n\n const getVignet = (vignetID: string) => {\n VignetApi.getVignet(\n vignetID,\n (vignet: TVignet) => {\n setVignet(vignet);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n };\n\n const [vignet, setVignet] = React.useState(() => {\n if (params.vignetID) {\n getVignet(params.vignetID);\n }\n return undefined;\n });\n\n const [owner, setOwner] = React.useState(() => {\n UserApi.getOwner(\n (json: any) => {\n setOwner(json);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n });\n\n const [driveTypes, setDriveTypes] = React.useState(() => {\n DataApi.getDriveTypes(\n (driveTypes: TDriveType[]) => {\n setDriveTypes(driveTypes);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n });\n\n if (params.data && params.status && !returnVignetID) {\n const data = JSON.parse(window.atob(params.data));\n setReturnVignetID(data.vignetID);\n setReturnPaymentMethodID(data.paymentMethodID);\n setIban(data.iban);\n setIbanHolder(data.ibanHolder);\n setExpansion(3);\n getVignet(data.vignetID);\n setStaticMode(true);\n return
Redirecting..
;\n }\n\n if (!vignet || !owner) {\n return
Loading..
;\n }\n\n const handleOnNext = () => {\n setPageError(undefined);\n setValidity(true);\n\n if (expansion === 0) {\n if (areFieldsValid()) {\n VignetApi.updateVignet(\n vignet.vignet_id,\n vignet.object_length,\n vignet.object_width,\n vignet.object_marina,\n vignet.object_drive_type_id,\n () => {\n setEditMode(false);\n setValidity(true);\n VignetApi.getVignet(\n vignet.vignet_id,\n (vignet: TVignet) => {\n setVignet(vignet);\n setExpansion(expansion + 1);\n setPageError(undefined);\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n return;\n } else {\n setValidity(false);\n return;\n }\n }\n\n setEditMode(false);\n\n const isGreenVignet = vignet.vignet_type === 'Hybride' || vignet.vignet_type === 'Milieu';\n\n if (expansion === 1) {\n if (\n !isGreenVignet &&\n vignet.documents?.find((entry: string) => {\n return entry === 'Ligplaatsbewijs';\n }) &&\n !fileUploadMarina\n ) {\n setValidity(false);\n return;\n }\n if (parseInt(vignet.object_length) >= 10 && !fileUploadBoat) {\n setValidity(false);\n return;\n }\n }\n\n if (expansion === 2 && !paymentMethod) {\n setValidity(false);\n return;\n }\n\n if (expansion === 2 && hasAdditionalFields && (!iban || !ibanHolder)) {\n setValidity(false);\n return;\n }\n\n if (expansion === 2 && hasAdditionalFields && !hasAgreedPaymentTerms) {\n setValidity(false);\n return;\n }\n\n if (expansion <= 2) {\n setExpansion(expansion + 1);\n return;\n }\n\n if (expansion === 3) {\n if (!hasAgreedDetailsCorrect || !hasAgreedUserAgreement) {\n setPageError('Ga akkoord met het bovenstaande om verder te gaan.');\n setValidity(false);\n return;\n }\n if (parseInt(vignet.object_length) >= 10 && fileUploadBoat.length === 0) {\n setValidity(false);\n setPageError('U moet een bestand toevoegen.');\n return;\n }\n if (\n !isGreenVignet &&\n vignet.documents?.find((entry: string) => {\n return entry === 'Ligplaatsbewijs';\n }) &&\n fileUploadMarina.length === 0\n ) {\n setValidity(false);\n setPageError('U moet een bestand toevoegen.');\n return;\n }\n setPageError(undefined);\n }\n\n const documents: string[] = [];\n if (fileUploadBoat.length > 0) {\n fileUploadBoat.forEach((file: TFile) => {\n documents.push(file.data);\n });\n }\n if (fileUploadMarina.length > 0) {\n fileUploadMarina.forEach((file: TFile) => {\n documents.push(file.data);\n });\n }\n\n if (!vignet) {\n setPageError('Geen vignet.');\n return;\n }\n if (!paymentMethod) {\n setPageError('Geen betaalmethode.');\n return;\n }\n\n if (documents.length > 0) {\n setUploadingFiles(true);\n DataApi.uploadDocuments(\n params.vignetID || '',\n documents,\n () => {\n VignetApi.extendVignet(\n vignet,\n paymentMethod,\n iban,\n ibanHolder,\n (json: any) => {\n if (\n !json.redirect_url ||\n (json.redirect_url as string).endsWith(window.location.host + '/done')\n ) {\n navigate('done');\n } else {\n window.location = json.redirect_url;\n }\n },\n (error: Error) => {\n console.error(error.message);\n setPageError(error.message);\n setUploadingFiles(false);\n },\n );\n },\n (error: Error) => {\n console.log(error);\n setPageError(error.message);\n setUploadingFiles(false);\n },\n );\n } else {\n setLocked(true);\n VignetApi.extendVignet(\n vignet,\n paymentMethod,\n iban,\n ibanHolder,\n (json: any) => {\n if (\n !json.redirect_url ||\n (json.redirect_url as string).endsWith(window.location.host + '/done')\n ) {\n navigate('done');\n } else {\n window.location = json.redirect_url;\n }\n },\n (error: Error) => {\n console.log(error);\n setPageError(error.message);\n setUploadingFiles(false);\n setLocked(false);\n },\n );\n }\n };\n\n const handleOnPrevious = () => {\n if (expansion > 0) {\n setExpansion(expansion - 1);\n return;\n }\n navigate('/vignet-overview');\n };\n\n const getDriveTypeName = () => {\n return (\n driveTypes?.find((driveType: TDriveType) => {\n return driveType.drive_type_id === vignet.object_drive_type_id;\n })?.drive_type_name || ''\n );\n };\n\n const handleChangePaymentMethod = (\n paymentType: TPaymentType,\n iban: string | undefined,\n ibanHolder: string | undefined,\n hasAgreed: boolean,\n hasAdditionalFields: boolean,\n ) => {\n setHasAgreedPaymentTerms(hasAgreed);\n setHasAdditionalFields(hasAdditionalFields);\n setPaymentMethod(paymentType);\n setIban(iban);\n setIbanHolder(ibanHolder);\n };\n\n const getVignetCost = () => {\n return vignet.vignet_cost;\n };\n\n const getSummary = () => {\n const summary: TChangeVignetPageSummary = {\n bsn: owner.bsn,\n initials: owner.initials,\n prefix: owner.prefix,\n lastName: owner.lastname,\n street: owner.address,\n houseNumber: owner.number,\n addition: owner.addition,\n zipCode: owner.postcode,\n city: owner.city,\n phoneNumber: owner.mobilephone,\n email: owner.email,\n vignetNumber: vignet.vignet_number,\n objectName: vignet.object_name,\n driveType: getDriveTypeName(),\n mooring: vignet.object_marina,\n vignetType: vignet.vignet_type_display_name,\n totalCost: getVignetCost(),\n paymentType: paymentMethod?.name || '',\n setHasAgreedUserAgreement: setHasAgreedUserAgreement,\n setHasAgreedDetailsCorrect: setHasAgreedDetailsCorrect,\n setPageError: setPageError,\n defaultHasAgreedDetailsCorrect: hasAgreedDetailsCorrect,\n defaultHasAgreedUserAgreement: hasAgreedUserAgreement,\n validity: validity,\n };\n return summary;\n };\n\n console.log(vignet);\n\n const steps: TStep[] = [\n { text: 'Uw gegevens' },\n { text: 'Vignetoverzicht' },\n { text: 'Wijzigen ' + vignet.vignet_number || '' },\n { text: 'Bedankt' },\n ];\n\n const areFieldsValid = () => {\n let valid = true;\n if (vignet.object_length.length <= 0) {\n valid = false;\n }\n if (vignet.object_width.length <= 0) {\n valid = false;\n }\n if (vignet.object_drive_type_id.length <= 0) {\n valid = false;\n }\n if (vignet.object_marina.length <= 0) {\n valid = false;\n }\n return valid;\n };\n\n const handleOnChangeLength = (e: any) => {\n vignet.object_length = e.target.value;\n return vignet.object_length.length > 0;\n };\n\n const handleOnChangeWidth = (e: any) => {\n vignet.object_width = e.target.value;\n return vignet.object_width.length > 0;\n };\n\n const handleOnChangeDriveType = (e: any) => {\n vignet.object_drive_type_id = e.target.value;\n return vignet.object_drive_type_id.length > 0;\n };\n\n const handleOnChangeMarina = (e: any) => {\n vignet.object_marina = e.target.value;\n return vignet.object_marina.length > 0;\n };\n\n const buildDriveTypes = () => {\n return driveTypes?.map((driveType: TDriveType, index: number) => {\n return { text: driveType.drive_type_name, value: driveType.drive_type_id };\n });\n };\n\n const driveTypeEditOptions: TEditOptions = {\n mode: EEditMode.DROPDOWN,\n default: driveTypes?.findIndex((entry: TDriveType) => {\n return entry.drive_type_id === vignet.object_drive_type_id;\n }),\n options: buildDriveTypes() || [],\n };\n\n const marinaEditOptions: TEditOptions = {\n mode: EEditMode.RADIO,\n default: vignet.object_marina === '0' ? 0 : 1,\n options: [\n { text: 'Nee', value: '0' },\n { text: 'Ja', value: '1' },\n ],\n };\n\n const getPaymentStatusDOM = () => {\n switch (params.status) {\n case 'cancel':\n return (\n \n );\n case 'reject':\n return (\n \n );\n case 'success':\n return (\n \n ); // Unused.\n case 'error':\n return (\n \n );\n }\n return ;\n };\n\n const readFile = async (file: any) => {\n return await new Promise((resolve: any) => {\n const fileReader = new FileReader();\n fileReader.onload = () => {\n resolve({ name: file.name, data: (fileReader.result as string).split(';base64,', 2)[1] });\n };\n fileReader.readAsDataURL(file);\n });\n };\n\n const removeFile = (\n index: number,\n files: TFile[],\n setter: React.Dispatch>,\n ) => {\n files.splice(index, 1);\n setter([...files]);\n };\n\n const handleOnChangeFileUploadMarina = async (e: any) => {\n setPageError(undefined);\n const files: TFile[] = [...fileUploadMarina];\n for (let i = 0; i < e.target.files.length; i++) {\n files.push((await readFile(e.target.files[i])) as TFile);\n }\n setFileUploadMarina(files);\n setValidity(true);\n };\n\n const handleOnChangeFileUploadBoat = async (e: any) => {\n setPageError(undefined);\n const files: TFile[] = [...fileUploadBoat];\n for (let i = 0; i < e.target.files.length; i++) {\n files.push((await readFile(e.target.files[i])) as TFile);\n }\n setFileUploadBoat(files);\n setValidity(true);\n };\n\n const getVignetTypeWarningDOM = () => {\n // switch (vignet.vignet_type.toLocaleLowerCase()) {\n // case 'milieu':\n // return ;\n // case 'hybride':\n // return ;\n // case 'abonnement':\n // return ;\n // case 'regulier':\n // return ;\n // }\n return ;\n };\n\n const getFileUploadDOM = () => {\n const isGreenVignet = vignet.vignet_type === 'Hybride' || vignet.vignet_type === 'Milieu';\n return (\n \n {vignet.documents?.find((entry: string) => {\n return entry === 'Ligplaatsbewijs';\n }) && !isGreenVignet ? (\n
\n

Voeg hier uw documenten toe

\n
\n Ligt uw boot in een jachthaven? Upload de jachthavenfactuur. Op de factuur moet de\n naam en het adres van de jachthaven staan. En uw eigen adres moet op de factuur staan.\n

\n

\n Ligt uw boot in van de gemeente gepacht water in Amsterdam? Upload een geldig\n erfpachtcontract.\n

\n

\n Ligt uw boot buiten Amsterdam? Upload een foto van de ligplaats met de afgemeerde\n boot. Upload ook een kaart van de locatie.\n

\n

\n {fileUploadText}\n
\n {\n removeFile(index, fileUploadMarina, setFileUploadMarina);\n }}\n validity={validity || fileUploadMarina.length > 0}\n onChange={handleOnChangeFileUploadMarina}\n files={fileUploadMarina}\n >\n
\n ) : (\n \n )}\n

\n {parseInt(vignet.object_length) >= 10 ? (\n
\n

Voeg document ontheffing toe

\n
\n Is uw boot 10 meter of langer? Dan moet u hiervoor een ontheffing of vrijstelling\n hebben. Deze ontheffing moet u hier uploaden.\n
\n {\n removeFile(index, fileUploadBoat, setFileUploadBoat);\n }}\n validity={validity || fileUploadBoat.length > 0}\n onChange={handleOnChangeFileUploadBoat}\n files={fileUploadBoat}\n >\n
\n ) : (\n \n )}\n

\n
\n );\n };\n\n return (\n \n \n
\n \n \n
Wijzigen en betalen {vignet.vignet_number}
\n
\n Hieronder ziet u de gegevens van het vignet dat u wilt wijzigen.\n
\n \n \n
\n Gegevens van uw boot\n {\n setExpansion(0);\n setEditMode(true);\n }}\n >\n Wijzig\n
\n
\n \n \n \n 0 ? 'Ja' : 'Nee'}\n >\n {expansion > 0 ? (\n \n ) : (\n \n )}\n {expansion > 0 ? getVignetTypeWarningDOM() : }\n {expansion > 0 ? getFileUploadDOM() : }\n {expansion > 1 ? (\n \n ) : (\n \n )}\n {expansion > 2 ? (\n \n ) : (\n \n )}\n {staticMode ? getPaymentStatusDOM() : }\n {pageError ? (\n
{pageError}
\n ) : (\n \n )}\n \n \n
\n );\n};\n\nexport default ChangeVignetPage;\n","// extracted by mini-css-extract-plugin\nexport default {\"paymentTermOption\":\"CancelVignetPageSummary_paymentTermOption__6jw3l\",\"pageHeader\":\"CancelVignetPageSummary_pageHeader__1IV+G\",\"pageSubHeader\":\"CancelVignetPageSummary_pageSubHeader__3vl9V\"};","import { BlockList } from 'net';\nimport * as React from 'react';\nimport AgreementBox from '../agreement-box/AgreementBox';\nimport KeyValuePair from '../key-value-pair/KeyValuePair';\n\nimport style from './CancelVignetPageSummary.module.css';\n\ntype TCancelVignetPageSummary = {\n bsn: string;\n initials: string;\n prefix: string;\n lastName: string;\n\n street: string;\n houseNumber: string;\n addition: string;\n zipCode: string;\n city: string;\n phoneNumber: string;\n email: string;\n\n vignetNumber: string;\n objectName: string;\n\n reason: string;\n\n setHasAgreedUserAgreement: Function;\n setHasAgreedDetailsCorrect: Function;\n\n validity: boolean;\n};\n\nconst CancelVignetPageSummary = (props: TCancelVignetPageSummary) => {\n const [hasAgreedUserAgreement, setHasAgreedUserAgreement] = React.useState(false);\n const [hasAgreedDetailsCorrect, setHasAgreedDetailsCorrect] = React.useState(false);\n\n return (\n \n
Controleer uw gegevens
\n
\n Hieronder vindt u een overzicht van uw gegevens. Controleer de gegevens goed. U kunt nog\n wijzigingen doorvoeren als er iets niet klopt.\n
\n
Uw persoonlijke gegevens
\n \n \n \n \n
Uw contactgegevens
\n \n \n \n \n \n \n \n
Gegevens van uw boot
\n \n \n \n {\n props.setHasAgreedUserAgreement(checked);\n setHasAgreedUserAgreement(checked);\n }}\n text={\n 'Ik heb alle gegevens correct en volledig ingevuld. Ik begrijp dat een aanvraag via internet dezelfde juridische status heeft als een aanvraag met een geschreven geldige handtekening.'\n }\n >\n {\n props.setHasAgreedDetailsCorrect(checked);\n setHasAgreedDetailsCorrect(checked);\n }}\n text={\n 'Ik ben op de hoogte van de regels die op het water van Amsterdam gelden, zoals ze staan beschreven in de Binnenhavengeldverordening Pleziervaart en de Verordening op het binnenwater ('\n }\n >\n amsterdam.nl/varen\n ). Bij het wijzigen of opzeggen van mijn vignet ga ik met deze regels akkoord.\n \n
\n );\n};\n\nexport default CancelVignetPageSummary;\nexport type { TCancelVignetPageSummary };\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"CancelVignetPage_container__id+td\",\"header\":\"CancelVignetPage_header__5q8Nq\",\"subHeader\":\"CancelVignetPage_subHeader__n6Oj4\",\"pageError\":\"CancelVignetPage_pageError__2c7iw\",\"pageHeader\":\"CancelVignetPage_pageHeader__VlpJq\",\"vignetTable\":\"CancelVignetPage_vignetTable__z8God\",\"cancelationDropdownMenu\":\"CancelVignetPage_cancelationDropdownMenu__AhkJc\",\"vignetTableHeader\":\"CancelVignetPage_vignetTableHeader__qYVn+\",\"vignetColumn\":\"CancelVignetPage_vignetColumn__mmJz5\",\"vignetTableRow\":\"CancelVignetPage_vignetTableRow__t+431\",\"vignetTableRowItem\":\"CancelVignetPage_vignetTableRowItem__GS4k7\",\"vignetTableSeparator\":\"CancelVignetPage_vignetTableSeparator__xVRT9\",\"pageSubHeader\":\"CancelVignetPage_pageSubHeader__4ChmB\"};","import * as React from 'react';\nimport { useNavigate, useParams } from 'react-router';\nimport DataApi, { TCancelationType, TReason } from '../../api/DataApi';\nimport UserApi, { TOwner } from '../../api/UserApi';\nimport VignetApi, { TVignet } from '../../api/VignetApi';\nimport AgreementBox from '../../components/agreement-box/AgreementBox';\nimport CancelVignetPageSummary, {\n TCancelVignetPageSummary,\n} from '../../components/cancel-vignet-page-summary/CancelVignetPageSummary';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport DownloadSummaryButton from '../../components/download-summary/DownloadSummary';\nimport InlineRadioSelectionField, {\n TOption,\n} from '../../components/inline-radio-selection-field/InlineRadioSelectionField';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport Util from '../../util/Util';\nimport FormStepper, { TStep } from '../form-stepper/FormStepper';\n\nimport style from './CancelVignetPage.module.css';\n\nconst CancelVignetPage = () => {\n const navigate = useNavigate();\n const params = useParams();\n\n const [expansion, setExpansion] = React.useState(0);\n const [reason, setReason] = React.useState(undefined);\n\n const [validity, setValidity] = React.useState(true);\n\n const [hasAgreedToCancelation, setHasAgreedToCancelation] = React.useState(false);\n\n const [hasAgreedUserAgreement, setHasAgreedUserAgreement] = React.useState(false);\n const [hasAgreedDetailsCorrect, setHasAgreedDetailsCorrect] = React.useState(false);\n\n const [pageError, setPageError] = React.useState(undefined);\n\n const [locked, setLocked] = React.useState(false);\n\n const [cancelationTypes, setCancelationTypes] = React.useState(\n () => {\n DataApi.getCancelationTypes(\n (cancelationTypes: TCancelationType) => {\n setCancelationTypes(cancelationTypes);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n },\n );\n\n const [vignet, setVignet] = React.useState(() => {\n VignetApi.getVignet(\n params.vignetID || '',\n (json: any) => {\n setVignet(json);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n });\n\n const [owner, setOwner] = React.useState(() => {\n UserApi.getOwner(\n (json: any) => {\n setOwner(json);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n });\n\n if (!vignet || !owner) {\n return
Loading..
;\n }\n\n const handleOnNext = () => {\n setValidity(true);\n setPageError('');\n if (!reason) {\n setPageError('U moet een reden voor uw opzegging geven.');\n setValidity(false);\n return;\n }\n\n if (!hasAgreedToCancelation) {\n setPageError('Ga akkoord met het bovenstaande om verder te gaan.');\n setValidity(false);\n return;\n }\n\n if (expansion === 1 && (!hasAgreedUserAgreement || !hasAgreedDetailsCorrect)) {\n setValidity(false);\n return;\n }\n\n if (expansion === 0) {\n setExpansion(expansion + 1);\n return;\n }\n setLocked(true);\n VignetApi.cancelVignet(\n params.vignetID || '',\n reason || '',\n (json: any) => {\n navigate('done');\n },\n (error: Error) => {\n setPageError(error.message);\n setLocked(false);\n },\n );\n };\n\n const handleOnPrevious = () => {\n setPageError(undefined);\n if (expansion > 0) {\n setExpansion(expansion - 1);\n return;\n }\n navigate('/vignet-overview');\n };\n\n const getSummary = () => {\n const summary: TCancelVignetPageSummary = {\n bsn: owner.bsn,\n initials: owner.initials,\n prefix: owner.prefix,\n lastName: owner.lastname,\n street: owner.address,\n houseNumber: owner.number,\n addition: owner.addition,\n zipCode: owner.postcode,\n city: owner.city,\n phoneNumber: owner.mobilephone,\n email: owner.email,\n vignetNumber: vignet.vignet_number,\n objectName: vignet.object_name,\n reason: reason || '',\n validity: validity,\n setHasAgreedUserAgreement: setHasAgreedUserAgreement,\n setHasAgreedDetailsCorrect: setHasAgreedDetailsCorrect,\n };\n return summary;\n };\n\n const steps: TStep[] = [\n { text: 'Uw gegevens' },\n { text: 'Vignetoverzicht' },\n { text: 'Opzeggen ' + vignet.vignet_number },\n { text: 'Bedankt' },\n ];\n\n const getCancelationOptions = () => {\n if (\n !cancelationTypes ||\n !cancelationTypes.cancellation ||\n cancelationTypes.cancellation.length <= 0\n ) {\n return ;\n }\n const otherIndex = cancelationTypes.cancellation.findIndex((reason: TReason) => {\n return reason.Name === 'Opzegging overig';\n });\n if (otherIndex >= 0 && otherIndex !== cancelationTypes.cancellation.length - 1) {\n const other: TReason | undefined = cancelationTypes.cancellation.splice(otherIndex, 1)[0];\n cancelationTypes.cancellation.push(other);\n }\n return (\n {\n setReason(e.target.value);\n }}\n >\n \n {/* */}\n {cancelationTypes?.cancellation.map((cancelationType: TReason, index: number) => {\n const reasonName = Util.capitalize(cancelationType.Name.replace('Opzegging ', ''));\n return (\n \n );\n })}\n {/* */}\n \n );\n };\n\n return (\n \n \n
\n \n \n
Opzeggen {vignet?.vignet_number}
\n
\n Hieronder ziet u uw vignet dat u wilt opzeggen. Geef ook aan waarom u het wilt opzeggen.\n
\n
\n
\n
Naam van uw boot
\n
Vignetnummer
\n
Reden opzeggen
\n
\n
\n
{vignet.object_name}
\n
{vignet.vignet_number}
\n {getCancelationOptions()}\n
\n
\n
\n {expansion === 0 ? (\n {\n setHasAgreedToCancelation(checked);\n }}\n text={\n 'Ik ga ermee akkoord dat het vignet dat hierboven staat wordt opgezegd. Ik begrijp dat ik dan met dit vignet niet meer mag varen en afmeren in Amsterdam.'\n }\n >\n ) : (\n \n )}\n {expansion > 0 ? (\n \n ) : (\n \n )}\n {pageError ? (\n
{pageError}
\n ) : (\n \n )}\n
\n
\n
\n );\n};\n\nexport default CancelVignetPage;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"EditHeader_container__AYurg\",\"text\":\"EditHeader_text__4p2s6\",\"edit\":\"EditHeader_edit__5KIPE\"};","import * as React from 'react';\n\nimport style from './EditHeader.module.css';\n\ntype TEditHeader = {\n text: string;\n onEdit: Function;\n hideEdit?: boolean;\n};\n\nconst EditHeader = (props: TEditHeader) => {\n return (\n
\n
{props.text}
\n {!props.hideEdit ? (\n {\n props.onEdit();\n }}\n >\n Wijzig\n
\n ) : (\n \n )}\n \n );\n};\n\nexport default EditHeader;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"LabeledInputField_container__VdyqF\",\"label\":\"LabeledInputField_label__sB82I\",\"input\":\"LabeledInputField_input__Wa0OH\",\"valid\":\"LabeledInputField_valid__BwShJ\",\"invalid\":\"LabeledInputField_invalid__87FX+\"};","import * as React from 'react';\n\nimport style from './LabeledInputField.module.css';\n\ntype TFormDataEntry = {\n valid: boolean;\n value: string;\n validator?: Function;\n};\n\ntype TLabeledInputField = {\n text: string;\n name: string;\n formData: any;\n predefinedData?: any;\n validator?: Function;\n disabled?: boolean;\n};\n\nconst LabeledInputField = (props: TLabeledInputField) => {\n const validate = () => {\n if (!props.validator) {\n props.formData[props.name].valid = true;\n return true;\n }\n props.formData[props.name].valid = !!props.validator(props.formData[props.name].value);\n return props.formData[props.name].valid;\n };\n\n if (!props.formData[props.name]) {\n const entry: TFormDataEntry = {\n valid: true,\n value: props.predefinedData?.[props.name]?.value || '',\n validator: validate,\n };\n props.formData[props.name] = entry;\n }\n\n props.formData[props.name].validator = () => {\n if (!props.validator) {\n props.formData[props.name].valid = true;\n return true;\n }\n props.formData[props.name].valid = !!props.validator(props.formData[props.name].value);\n return props.formData[props.name].valid;\n };\n\n const handleOnChange = (e: any) => {\n props.formData[props.name].value = e.target.value;\n if (props.validator) {\n props.formData[props.name].valid = props.validator(e.target.value);\n }\n };\n\n return (\n
\n
\n {props.text}{' '}\n {props.validator && props.predefinedData?.[props.name]?.isEditable !== false ? '*' : ''}\n
\n \n
\n );\n};\n\nexport default LabeledInputField;\n","import * as React from 'react';\n\nconst TitleLineComponent = (props: any) => {\n return (\n
\n {props.text}
\n
\n \n );\n};\n\nexport default TitleLineComponent;\n","// extracted by mini-css-extract-plugin\nexport default {\"header\":\"MooringPage_header__3aytZ\",\"subHeader\":\"MooringPage_subHeader__2zYd5\",\"pageError\":\"MooringPage_pageError__4rsLb\",\"disclaimer\":\"MooringPage_disclaimer__oDGkT\",\"exampleVignet\":\"MooringPage_exampleVignet__BVbsx\",\"selectTypeContainer\":\"MooringPage_selectTypeContainer__paPNH\"};","// extracted by mini-css-extract-plugin\nexport default {\"selectTypeContainer\":\"PaymentTypeSelector_selectTypeContainer__nQkN6\",\"valid\":\"PaymentTypeSelector_valid__-bMPd\",\"invalid\":\"PaymentTypeSelector_invalid__-VTgV\",\"cardListContainer\":\"PaymentTypeSelector_cardListContainer__UDhC0\",\"pageSubHeader\":\"PaymentTypeSelector_pageSubHeader__fK7dk\",\"pageHeader\":\"PaymentTypeSelector_pageHeader__zB8Hb\"};","import * as React from 'react';\n\nimport { TCard, TPaymentType } from '../../api/DataApi';\n\nimport style from './PaymentTypeSelector.module.css';\n\ntype TPaymentTypeProps = {\n paymentType?: string;\n paymentTypes?: TPaymentType[];\n serviceCode?: string;\n onChangePaymentType: Function;\n onChangeServiceCode: Function;\n validityStyling: string;\n};\n\nconst PaymentTypeSelector = (props: TPaymentTypeProps) => {\n const getCardListDOM = (entry: TPaymentType) => {\n if (!entry.card_list) {\n return ;\n }\n return (\n {\n props.onChangeServiceCode(e);\n }}\n >\n \n {entry.card_list?.map((card: TCard, index: number) => {\n return (\n \n );\n })}\n \n );\n };\n\n return (\n \n {props.paymentTypes?.map((entry: TPaymentType, index: number) => {\n return (\n
\n \n {\n props.onChangePaymentType(e);\n }}\n >\n
{entry.name}
\n
\n {props.paymentType && props.paymentType === entry.name + ':' + entry.id ? (\n getCardListDOM(entry)\n ) : (\n \n )}\n \n );\n })}\n
\n );\n};\n\nexport default PaymentTypeSelector;\n","import * as React from 'react';\nimport { useNavigate, useParams } from 'react-router';\nimport DataApi, { TPaymentType, TProductType } from '../../api/DataApi';\nimport VignetApi from '../../api/VignetApi';\nimport AgreementBox from '../../components/agreement-box/AgreementBox';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport EditHeader from '../../components/edit-header/EditHeader';\nimport KeyValuePair from '../../components/key-value-pair/KeyValuePair';\nimport LabeledInputField from '../../components/labeled-input-field/LabeledInputField';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport FormStepper, { TStep } from '../form-stepper/FormStepper';\nimport TitleLineComponent from '../../components/page-layout/TitleLineComponent';\n\nimport style from './MooringPage.module.css';\nimport PaymentTypeSelector from '../../components/payment-type-selector/PaymentTypeSelector';\nimport AlertBox, { ESeverity } from '../../components/alert-box/AlertBox';\n\ntype TFormDataEntry = {\n value: string;\n validator?: Function;\n};\n\ntype TFormData = {\n [key: string]: TFormDataEntry;\n};\n\nconst TransitPage = () => {\n const navigate = useNavigate();\n const params = useParams();\n\n const [action, setAction] = React.useState(0);\n\n const [mooringType, setMooringType] = React.useState(undefined);\n const [paymentType, setPaymentType] = React.useState(undefined);\n\n const [formData, setFormData] = React.useState({});\n\n const [cardServiceCode, setCardServiceCode] = React.useState();\n\n const [progress, setProgress] = React.useState(0);\n\n const [pageError, setPageError] = React.useState(undefined);\n\n const [valid, setValid] = React.useState(true);\n\n const [truthfulAgreement, setTruthfulAgreement] = React.useState(false);\n const [endUserAgreement, setEndUserAgreement] = React.useState(false);\n\n const [staticMode, setStaticMode] = React.useState(false);\n\n const getVignetTypeObject = () => {\n return vignetTypes?.find((entry: TProductType) => {\n return entry.ProductID === mooringType;\n });\n };\n\n const [mooringTypes, setMooringTypes] = React.useState(() => {\n DataApi.getMooringPaymentTypes(\n (mooringTypes: TPaymentType[]) => {\n setMooringTypes(mooringTypes);\n },\n (error: Error) => {\n console.log(error);\n setPageError(error.message);\n },\n );\n return undefined;\n });\n\n const [paymentTypes, setPaymentTypes] = React.useState(() => {\n DataApi.getMooringPaymentTypes(\n (paymentTypes: TPaymentType[]) => {\n setPaymentTypes(paymentTypes);\n },\n (error: Error) => {\n console.log(error);\n setPageError(error.message);\n },\n );\n return undefined;\n });\n\n const [vignetTypes, setVignetTypes] = React.useState(() => {\n DataApi.getMooringTypes(\n (mooringTypes: TProductType[]) => {\n setVignetTypes(mooringTypes);\n },\n (error: Error) => {\n console.error(error);\n setPageError(error.message);\n },\n );\n return undefined;\n });\n\n if (!mooringTypes) {\n return
Loading payment methods.. {pageError}
;\n }\n\n const required = (value: string) => {\n setAction(action + 1);\n return value && value.trim().length > 0;\n };\n\n const isValidPhoneNumber = () => {\n setAction(action + 1);\n return /^\\+??\\d{3}?[-\\s\\.]?\\d{3}[-\\s\\.]?\\d{4,9}$/im.test(formData.phoneNumber.value);\n };\n\n const isSamePhoneNumber = () => {\n setAction(action + 1);\n if (formData.repeatPhoneNumber.value.length <= 0) {\n return false;\n }\n if (formData.phoneNumber.value === formData.repeatPhoneNumber.value) {\n setValid(true);\n }\n return formData.phoneNumber.value === formData.repeatPhoneNumber.value;\n };\n\n const isValidEmail = () => {\n setAction(action + 1);\n return /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(formData.email.value);\n };\n\n const isSameEmail = () => {\n setAction(action + 1);\n if (formData.repeatEmail.value.length <= 0) {\n return false;\n }\n if (formData.email.value === formData.repeatEmail.value) {\n setValid(true);\n }\n return formData.email.value === formData.repeatEmail.value;\n };\n\n if (params.data && !formData.lastName) {\n const data = JSON.parse(window.atob(params.data));\n const formData: TFormData = {};\n for (const [key, value] of Object.entries(data)) {\n if (key === 'productID') {\n setMooringType(value as string);\n continue;\n }\n if (key === 'paymentTypeID') {\n setPaymentType(value as string);\n continue;\n }\n if (key === 'cardServiceCode') {\n setCardServiceCode(value as string);\n continue;\n }\n if (key === 'vignetID') {\n setPaymentType(value as string);\n continue;\n }\n if (key === 'email') {\n formData.repeatEmail = { value: value as string, validator: isSameEmail };\n }\n if (key === 'phoneNumber') {\n formData.repeatPhoneNumber = { value: value as string, validator: isSamePhoneNumber };\n }\n formData[key] = { value: value as string };\n }\n setFormData(formData);\n setProgress(4);\n setStaticMode(true);\n console.log('Done parsing:', formData);\n }\n\n const steps: TStep[] = [\n { text: 'Nummer vignet invoeren' },\n { text: 'Kies 6 of 24 uur afmeren' },\n { text: 'Contactgegevens' },\n { text: 'Betalen' },\n { text: 'Samenvatting' },\n { text: 'Bedankt' },\n ];\n\n const handleOnNext = () => {\n if (progress === 0) {\n if (!formData.vignetNumber.value) {\n console.error('no vignetnumber');\n setValid(false);\n return;\n }\n if (formData.vignetNumber.value !== formData.repeatVignetNumber.value) {\n console.error('not the same');\n setValid(false);\n return;\n }\n }\n\n if (progress === 1) {\n if (!mooringType) {\n setPageError('Kies één van bovenstaande opties!');\n setValid(false);\n return;\n }\n }\n\n setValid(true);\n if (progress === 2) {\n if (!validateFormData()) {\n setPageError('U heeft één of meerdere van de velden niet correct ingevuld');\n setValid(false);\n return;\n }\n }\n\n if (progress === 3) {\n if (!paymentType) {\n setPageError('Kies één van bovenstaande opties!');\n setValid(false);\n return;\n }\n\n if (paymentType.split(':')[0].toLocaleLowerCase() !== 'ideal' && !cardServiceCode) {\n setPageError('Kies voor Visa of Mastercard!');\n setValid(false);\n return;\n }\n }\n\n if (progress === 4) {\n if (!truthfulAgreement || !endUserAgreement) {\n setPageError('Ga akkoord met het bovenstaande om verder te gaan.');\n setValid(false);\n return;\n } else {\n sendMooringRequest();\n return;\n }\n }\n\n setPageError(undefined);\n setProgress(progress + 1);\n };\n\n const handleOnValidateVignet = () => {\n if (!formData.vignetNumber.value) {\n setPageError('Vul uw vignetnummer in.');\n console.error('No vignet');\n return;\n }\n\n if (!formData.repeatVignetNumber.value) {\n setPageError('Vul nogmaals uw vignetnummer in.');\n console.error('No repeat vignet');\n return;\n }\n\n if (formData.vignetNumber.value !== formData.repeatVignetNumber.value) {\n setPageError('Uw vignetnummers komen niet overeen.');\n console.error('Mismatched vignet numbers.');\n return;\n }\n\n VignetApi.validateMooringVignet(\n formData.vignetNumber.value,\n () => {\n setPageError(undefined);\n setProgress(progress + 1);\n },\n (error: Error) => {\n console.error('invalid vignet');\n setPageError(error.message);\n },\n );\n };\n\n const handleOnPrevious = () => {\n setPageError(undefined);\n if (progress < 0) {\n navigate('/');\n }\n setProgress(progress - 1);\n };\n\n const validateFormData = () => {\n let valid = true;\n for (const [key, value] of Object.entries(formData)) {\n const entry: TFormDataEntry = value as unknown as TFormDataEntry;\n if (!entry.validator) {\n continue;\n }\n if (!entry.validator()) {\n valid = false;\n console.log('failed:' + key);\n }\n }\n return valid;\n };\n\n const sendMooringRequest = () => {\n VignetApi.sendMooringRequest(\n formData.firstName.value,\n formData?.prefix?.value || '',\n formData.lastName.value,\n formData.vignetNumber.value,\n formData.phoneNumber.value,\n formData.email.value,\n paymentType || '',\n cardServiceCode || '',\n mooringType || '',\n (json: any) => {\n window.localStorage.setItem('access_token', json.access_token);\n window.location = json.redirect_url;\n },\n (error: Error) => {\n console.error('failed to request mooring');\n setPageError(error.message);\n },\n );\n };\n\n const handleOnChangeVignetType = (e: any) => {\n setMooringType(e.target.value);\n };\n\n const handleOnChangePaymentType = (e: any) => {\n setPaymentType(e.target.value);\n };\n\n const handleOnChangeServiceCode = (e: any) => {\n setCardServiceCode(e.target.value);\n };\n\n const handleOnClick = () => {\n DataApi.getMooringSummary(\n (json: any) => {\n window.open(json.summary_link);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n };\n\n const getPaymentStatusDOM = () => {\n switch (params.status) {\n case 'cancel':\n return (\n \n );\n case 'reject':\n return (\n \n );\n case 'success':\n return (\n \n ); // Unused.\n case 'error':\n return (\n \n );\n }\n return ;\n };\n\n // console.log(mooringType);\n if (progress === 4) {\n const vignetTypeObject: TProductType | undefined = getVignetTypeObject();\n return (\n \n \n
\n \n {\n handleOnNext();\n }}\n >\n \n
Samenvatting
\n
Hieronder staan uw gegevens voor afmeren.
\n \n {\n setProgress(2);\n }}\n hideEdit={staticMode}\n >\n \n \n \n \n \n {\n setProgress(3);\n }}\n hideEdit={staticMode}\n >\n \n

\n \n \n {\n setTruthfulAgreement(checked);\n }}\n >\n {\n setEndUserAgreement(checked);\n }}\n >\n \n \"https://www.amsterdam.nl/parkeren-verkeer/varen-amsterdam/re-geling-verordeningen-water/\"{' '}\n \n
voor meer informatie.
\n \n
{pageError}
\n {staticMode ? getPaymentStatusDOM() : }\n \n
\n
\n );\n }\n\n if (progress === 3) {\n const validityStyling = !valid && !paymentType ? style.invalid : style.valid;\n return (\n \n \n
\n \n {\n handleOnPrevious();\n }}\n onNext={() => {\n handleOnNext();\n }}\n >\n \n\n
Betalen
\n
Kies betaalmethode.
\n \n
{pageError}
\n \n
\n
\n );\n }\n\n if (progress === 2) {\n return (\n \n \n
\n \n {\n handleOnPrevious();\n }}\n onNext={() => {\n handleOnNext();\n }}\n >\n \n
Contactgegevens
\n
\n Vul hier uw contactgegevens in, zodat u een bevestiging ontvangt.\n
\n \n \n \n \n \n \n \n
Velden met * zijn verplicht.
\n
{pageError}
\n \n
\n
\n );\n }\n\n const getVignetTypesDOM = () => {\n if (!vignetTypes) {\n return
Loading vignet types..
;\n }\n return vignetTypes.map((vignetType: TProductType, index: number) => {\n return (\n
\n \n
{vignetType.Description}
\n
\n );\n });\n };\n\n if (progress === 1) {\n return (\n \n \n
\n \n {\n handleOnPrevious();\n }}\n onNext={() => {\n handleOnNext();\n }}\n >\n \n
Maak uw keuze
\n {getVignetTypesDOM()}\n
{pageError}
\n
\n \n
\n
\n );\n }\n\n return (\n \n \n
\n \n {\n handleOnValidateVignet();\n }}\n >\n \n\n
Nummer van uw vignet
\n
\n U kunt hier '6 uur afmeren' of '24 uur afmeren' kopen voor een boot korter dan 10 meter.\n
\n \n \n
{pageError}
\n \n
\n De gemeente Amsterdam gaat zorgvuldig en veilig met uw persoonsgegevens om. Wij houden\n ons daarbij aan de privacywetten en -regels. Dat betekent bijvoorbeeld dat wij uw\n gegevens alleen voor deze aanvraag gebruiken en niet voor iets anders. Meer informatie\n vindt u in de{' '}\n \n privacyverklaring Binnenhavengeld\n \n .\n
\n \n
\n
\n );\n};\n\nexport default TransitPage;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"MooringDonePage_container__2LCUd\",\"header\":\"MooringDonePage_header__HoylU\",\"subHeader\":\"MooringDonePage_subHeader__9e+Ny\",\"cardListContainer\":\"MooringDonePage_cardListContainer__Mr9uV\",\"pageSubHeader\":\"MooringDonePage_pageSubHeader__dNgGi\",\"pageHeader\":\"MooringDonePage_pageHeader__IC+RD\"};","import * as React from 'react';\nimport { useNavigate } from 'react-router';\nimport DataApi from '../../api/DataApi';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport DownloadSummaryButton from '../../components/download-summary/DownloadSummary';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport TitleLineComponent from '../../components/page-layout/TitleLineComponent';\nimport FormStepper from '../form-stepper/FormStepper';\n\nimport style from './MooringDonePage.module.css';\n\nconst MooringDonePage = () => {\n const navigate = useNavigate();\n\n const handleOnClick = () => {\n console.log('getting summary');\n DataApi.getMooringSummary(\n (json: any) => {\n window.open(json.summary_link);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n };\n\n return (\n \n \n
\n \n \n
Bedankt
\n
\n Wij hebben uw aanvraag ontvangen op{' '}\n {new Date().toLocaleDateString('nl-NL', {\n weekday: 'long',\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n })}\n .\n
\n
\n U ontvangt een e-mail met de bevestiging van het afmeren. 1 uur van tevoren krijgt u een\n sms en een e-mail dat de periode waarin u mag afmeren bijna afloopt.\n

\n

\n
\n
Samenvatting
\n
U kunt de samenvatting van uw aanvraag hieronder downloaden.
\n \n
\n
Vragen?
\n
\n Bel het telefoonnummer 14 020, maandag tot en met vrijdag van 08.00 tot 18.00 uur. Of\n gebruik het contactformulier op de website.\n

\n Houd uw vignetnummer bij de hand.\n
\n
\n
\n
\n );\n};\n\nexport default MooringDonePage;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"ChangeVignetDonePage_container__RqQrf\",\"header\":\"ChangeVignetDonePage_header__qMGsA\",\"subHeader\":\"ChangeVignetDonePage_subHeader__eDPvc\",\"cardListContainer\":\"ChangeVignetDonePage_cardListContainer__Ne-wi\",\"pageSubHeader\":\"ChangeVignetDonePage_pageSubHeader__s3wqz\",\"pageHeader\":\"ChangeVignetDonePage_pageHeader__1CyPq\"};","import * as React from 'react';\nimport { useNavigate } from 'react-router';\nimport DataApi from '../../api/DataApi';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport DownloadSummaryButton from '../../components/download-summary/DownloadSummary';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport TitleLineComponent from '../../components/page-layout/TitleLineComponent';\nimport FormStepper from '../form-stepper/FormStepper';\n\nimport style from './ChangeVignetDonePage.module.css';\n\nconst ChangeVignetDonePage = () => {\n const navigate = useNavigate();\n\n const handleOnClick = () => {\n console.log('getting summary');\n DataApi.getExtendSummary(\n (json: any) => {\n window.open(json.summary_link);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n };\n\n return (\n \n \n
\n {\n navigate('/vignet-overview');\n }}\n onPreviousText=\"< Terug naar vignetoverzicht\"\n >\n \n
Bedankt
\n
\n Hartelijk dank voor uw wijziging.{' '}\n
\n Wij hebben deze ontvangen op{' '}\n {new Date().toLocaleDateString('nl-NL', {\n weekday: 'long',\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n })}\n .\n
\n
\n
U krijgt binnen 4 werkdagen via e-mail een bevestiging van ons.
\n

\n
Samenvatting
\n \n
Vragen?
\n
\n Bel het telefoonnummer 14 020, maandag tot en met vrijdag van 08.00 tot 18.00 uur. Of\n gebruik het contactformulier op de website.\n

\n Houd uw vignetnummer bij de hand.\n
\n \n
\n
\n );\n};\n\nexport default ChangeVignetDonePage;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"CancelVignetDonePage_container__P2dcN\",\"header\":\"CancelVignetDonePage_header__BX+RQ\",\"subHeader\":\"CancelVignetDonePage_subHeader__ZC9mQ\",\"cardListContainer\":\"CancelVignetDonePage_cardListContainer__ZypvI\",\"pageSubHeader\":\"CancelVignetDonePage_pageSubHeader__rUpCP\",\"pageHeader\":\"CancelVignetDonePage_pageHeader__hIWMR\"};","import * as React from 'react';\nimport { useNavigate } from 'react-router';\nimport DataApi from '../../api/DataApi';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport DownloadSummaryButton from '../../components/download-summary/DownloadSummary';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport TitleLineComponent from '../../components/page-layout/TitleLineComponent';\nimport FormStepper from '../form-stepper/FormStepper';\n\nimport style from './CancelVignetDonePage.module.css';\n\nconst CancelVignetDonePage = () => {\n const navigate = useNavigate();\n\n const handleOnClick = () => {\n console.log('getting summary');\n DataApi.getExtendSummary(\n (json: any) => {\n window.open(json.summary_link);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n };\n\n return (\n \n \n
\n {\n navigate('/vignet-overview');\n }}\n onPreviousText=\"< Terug naar vignetoverzicht\"\n >\n \n
Bedankt
\n
\n Hartelijk dank voor uw opzegging.{' '}\n
\n Wij hebben deze ontvangen op{' '}\n {new Date().toLocaleDateString('nl-NL', {\n weekday: 'long',\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n })}\n .\n
\n
\n
U krijgt binnen 4 werkdagen via e-mail een bevestiging van ons.
\n

\n
Samenvatting
\n \n
Vragen?
\n
\n Bel het telefoonnummer 14 020, maandag tot en met vrijdag van 08.00 tot 18.00 uur. Of\n gebruik het contactformulier op de website.\n

\n Houd uw vignetnummer bij de hand.\n
\n \n
\n
\n );\n};\n\nexport default CancelVignetDonePage;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"CountrySelectionField_container__wrrn9\",\"label\":\"CountrySelectionField_label__+YqXO\",\"input\":\"CountrySelectionField_input__im13P\",\"valid\":\"CountrySelectionField_valid__CT31V\",\"invalid\":\"CountrySelectionField_invalid__RhsBo\"};","import * as React from 'react';\nimport DataApi, { TCountry } from '../../api/DataApi';\n\nimport style from './CountrySelectionField.module.css';\n\ntype TCountrySelectionField = {\n text: string;\n onChange: Function;\n valid?: boolean;\n defaultValue: string;\n disabled?: boolean;\n};\n\nconst CountrySelectionField = (props: TCountrySelectionField) => {\n const [initial, setInitial] = React.useState(true);\n const [countries, setCountries] = React.useState(() => {\n DataApi.getCountries(\n (countries: TCountry[]) => {\n setCountries(countries);\n },\n (error: Error) => {\n console.error(error);\n },\n );\n return undefined;\n });\n\n const handleOnChange = (e: any) => {\n if (!countries) {\n return;\n }\n const countryIndex = countries?.findIndex((country: TCountry) => {\n return country.id === e.target.value;\n });\n props.onChange(countries[countryIndex].id, countryIndex, countries[countryIndex].name);\n };\n\n if (initial && countries) {\n if (props.defaultValue) {\n const countryIndex = countries?.findIndex((country: TCountry) => {\n return country.id === props.defaultValue;\n });\n props.onChange(countries[countryIndex].id, countryIndex, countries[countryIndex].name);\n }\n setInitial(false);\n }\n\n return (\n
\n
{props.text}
\n \n \n {countries?.map((country: TCountry, index: number) => {\n return (\n \n );\n })}\n \n
\n );\n};\n\nexport default CountrySelectionField;\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"ActivateVignetPage_container__bWKqH\",\"header\":\"ActivateVignetPage_header__RZPS3\",\"subHeader\":\"ActivateVignetPage_subHeader__VuxCt\",\"exampleVignet\":\"ActivateVignetPage_exampleVignet__tLP06\",\"cardListContainer\":\"ActivateVignetPage_cardListContainer__OMX6p\",\"pageError\":\"ActivateVignetPage_pageError__cxSuR\",\"disclaimer\":\"ActivateVignetPage_disclaimer__05vPa\",\"pageSubHeader\":\"ActivateVignetPage_pageSubHeader__2a4xV\",\"pageHeader\":\"ActivateVignetPage_pageHeader__HVoYX\",\"selectTypeContainer\":\"ActivateVignetPage_selectTypeContainer__w3WBo\",\"validationLabel\":\"ActivateVignetPage_validationLabel__V9HAr\",\"objectDetails\":\"ActivateVignetPage_objectDetails__+umw-\",\"objectDetailsText\":\"ActivateVignetPage_objectDetailsText__tYboq\",\"objectInputValid\":\"ActivateVignetPage_objectInputValid__NsPZ5\",\"objectInputInvalid\":\"ActivateVignetPage_objectInputInvalid__gAJnD\",\"objectInputLongValid\":\"ActivateVignetPage_objectInputLongValid__xutov\",\"objectInputLongInvalid\":\"ActivateVignetPage_objectInputLongInvalid__saGz9\"};","import * as React from 'react';\nimport { Navigate, useNavigate, useParams } from 'react-router';\nimport DataApi from '../../api/DataApi';\nimport ThreeStrikesApi, { TError, TIssuer, TObject, TOwner } from '../../api/ThreeStrikesApi';\nimport VignetApi from '../../api/VignetApi';\nimport AgreementBox from '../../components/agreement-box/AgreementBox';\nimport AlertBox, { ESeverity } from '../../components/alert-box/AlertBox';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport CountrySelectionField from '../../components/country-selection-field/CountrySelectionField';\nimport DownloadSummaryButton from '../../components/download-summary/DownloadSummary';\nimport KeyValuePair from '../../components/key-value-pair/KeyValuePair';\nimport LabeledInputField from '../../components/labeled-input-field/LabeledInputField';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport TitleLineComponent from '../../components/page-layout/TitleLineComponent';\nimport PaymentTypeSelector from '../../components/payment-type-selector/PaymentTypeSelector';\nimport FormStepper, { TStep } from '../form-stepper/FormStepper';\n\nimport style from './ThreeStrikesRegistrationPage.module.css';\n\nenum EProgress {\n AUTHENTICATION,\n PERSONAL_DETAILS,\n OBJECT_DETAILS,\n NEW_PASSWORD,\n PAYMENT,\n SUMMARY,\n THANK_YOU,\n}\n\nconst ThreeStrikesRegistrationPage = () => {\n const [email, setEmail] = React.useState('');\n const [pincode, setPincode] = React.useState('');\n\n const [progress, setProgress] = React.useState(EProgress.AUTHENTICATION);\n\n const [pageError, setPageError] = React.useState(undefined);\n\n const [formData, setFormData] = React.useState({});\n\n const [hasPressedNext, setHasPressedNext] = React.useState(false);\n\n const [owner, setOwner] = React.useState(undefined);\n const [object, setObject] = React.useState(undefined);\n const [paymentMethods, setPaymentMethods] = React.useState(undefined);\n\n const [password, setPassword] = React.useState('');\n const [repeatPassword, setRepeatPassword] = React.useState('');\n\n const [paymentMethod, setPaymentMethod] = React.useState('');\n\n const [issuers, setIssuers] = React.useState([]);\n const [issuer, setIssuer] = React.useState('');\n\n const [hasAgreedUserAgreement, setHasAgreedUserAgreement] = React.useState(false);\n const [hasAgreedDetailsCorrect, setHasAgreedDetailsCorrect] = React.useState(false);\n const [hasAgreedResponsible, setHasAgreedResponsible] = React.useState(false);\n\n const [processingRedirect, setProcessingReditect] = React.useState(false);\n\n const [downloadInProgress, setDownloadInProgress] = React.useState(false);\n const [downloadUrl, setDownloadUrl] = React.useState(undefined);\n\n const navigate = useNavigate();\n\n const params = useParams();\n\n const loadAuthorizedData = (progress: EProgress) => {\n ThreeStrikesApi.getOwner(\n (json: any) => {\n setOwner(json);\n ThreeStrikesApi.getObject(\n (json: any) => {\n setObject(json);\n ThreeStrikesApi.getIssuers(\n (issuers: TIssuer[]) => {\n setIssuers(issuers);\n ThreeStrikesApi.getPaymentMethods(\n (json: any) => {\n setPaymentMethods(json);\n setProgress(progress);\n setHasPressedNext(false);\n setProcessingReditect(false);\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n };\n\n const getPaymentMethodNameById = (id: string) => {\n return paymentMethods?.find((paymentMethod: any) => {\n return paymentMethod.id === id;\n })?.name;\n };\n\n const getIssuerById = (id: string) => {\n return issuers?.find((issuer: any) => {\n return issuer.id === id;\n })?.name;\n };\n\n if (params.data && !email && !pincode) {\n setProcessingReditect(true);\n const data: any = JSON.parse(window.decodeURIComponent(window.atob(params.data)));\n console.log('Processing data:', data);\n setEmail(data.email);\n setPincode(data.pincode);\n setFormData(data.formData);\n setPassword(data.password);\n setRepeatPassword(data.password);\n setPaymentMethod(data.paymentMethod);\n setIssuer(data.issuer);\n if (params.status === 'done') {\n loadAuthorizedData(EProgress.THANK_YOU);\n } else {\n loadAuthorizedData(EProgress.SUMMARY);\n setPageError('Er is iets fout gegaan tijdens uw betaling.');\n }\n }\n\n if (processingRedirect) {\n return
Redirecting..
;\n }\n\n const steps: TStep[] = [\n { text: 'Inloggen' },\n { text: 'Uw gegevens' },\n { text: 'BHG-gegevens' },\n { text: 'Nieuw wachtwoord' },\n { text: 'Betaalwijze' },\n { text: 'Samenvatting van uw aanvraag' },\n { text: 'Bedankt' },\n ];\n\n const isEmail = (value: string) => {\n return /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(value);\n };\n\n const handleOnNext = () => {\n setPageError(undefined);\n setHasPressedNext(true);\n if (progress === EProgress.AUTHENTICATION) {\n if (!email) {\n setPageError('Het veld e-mailadres is niet ingevuld.');\n setHasPressedNext(false);\n return;\n }\n if (!isEmail(email)) {\n setPageError('Het e-mailadres in het veld hierboven is onjuist ingevuld.');\n setHasPressedNext(false);\n return;\n }\n if (!pincode) {\n setPageError('Het veld eenmalig wachtwoord is niet ingevuld.');\n setHasPressedNext(false);\n return;\n }\n\n ThreeStrikesApi.login(\n email,\n pincode,\n (accessToken: string) => {\n setPageError(undefined);\n window.localStorage.setItem('access_token', accessToken);\n loadAuthorizedData(EProgress.PERSONAL_DETAILS);\n },\n (error: TError) => {\n setHasPressedNext(false);\n if (error.status === 498) {\n setPageError('De door u opgegeven inloggegevens zijn niet langer geldig.');\n return;\n }\n setPageError(\n 'De combinatie e-mailadres en eenmalig wachtwoord is onjuist. Controleer de gegevens.',\n );\n },\n );\n return;\n }\n\n if (progress === EProgress.PERSONAL_DETAILS) {\n setProgress(EProgress.OBJECT_DETAILS);\n setHasPressedNext(false);\n return;\n }\n\n if (progress === EProgress.OBJECT_DETAILS) {\n setProgress(EProgress.NEW_PASSWORD);\n setHasPressedNext(false);\n return;\n }\n\n if (progress === EProgress.NEW_PASSWORD) {\n if (owner?.bhg_account) {\n setPageError(undefined);\n setProgress(EProgress.PAYMENT);\n setHasPressedNext(false);\n return;\n }\n\n if (!password || password.trim().length === 0) {\n setPageError('U dient een wachtwoord aan te maken.');\n return;\n }\n\n if (password !== repeatPassword) {\n setPageError('De wachtwoorden komen niet overeen.');\n return;\n }\n\n ThreeStrikesApi.changePassword(\n password,\n (json: any) => {\n setProgress(EProgress.PAYMENT);\n setHasPressedNext(false);\n },\n (error: Error) => {\n setPageError('Het door u opgegeven wachtwoord voldoet niet aan de eisen.');\n },\n );\n return;\n }\n\n if (progress === EProgress.PAYMENT) {\n if (!paymentMethod) {\n setPageError('U moet een betaalmethode selecteren.');\n return;\n }\n\n if (!issuer) {\n setPageError('U moet een bank selecteren.');\n return;\n }\n\n setProgress(EProgress.SUMMARY);\n setHasPressedNext(false);\n }\n\n if (progress === EProgress.SUMMARY) {\n if (!hasAgreedUserAgreement || !hasAgreedDetailsCorrect || !hasAgreedResponsible) {\n setPageError('Ga akkoord met het bovenstaande.');\n setHasPressedNext(false);\n return;\n }\n\n const data = {\n email: email,\n pincode: pincode,\n formData: formData,\n password: password,\n paymentMethod: paymentMethod,\n issuer: issuer,\n };\n\n ThreeStrikesApi.performPayment(\n issuer,\n paymentMethod,\n data,\n (json: any) => {\n if (json.redirect_url) {\n window.location.href = json.redirect_url;\n } else if (json.request_number) {\n setProgress(EProgress.THANK_YOU);\n }\n setHasPressedNext(false);\n },\n (error: Error) => {\n setPageError(error.message);\n setHasPressedNext(false);\n return;\n },\n );\n }\n };\n\n if (progress === EProgress.THANK_YOU) {\n const getThankYouHeader = () => {\n const months = [\n 'Januari',\n 'Februari',\n 'Maart',\n 'April',\n 'Mei',\n 'Juni',\n 'Juli',\n 'Augustus',\n 'September',\n 'Oktober',\n 'November',\n 'December',\n ];\n const date = new Date();\n const day = date.getDate();\n const month = months[date.getMonth()].toLocaleLowerCase();\n const year = date.getFullYear();\n return (\n
\n Wij hebben uw aanvraag ontvangen op {day} {month} {year}.

U ontvangt via e-mail\n een bevestiging van ons.\n
\n );\n };\n\n const getThankYouFooter = () => {\n return (\n
\n Kijk op amsterdam.nl/varen of stuur een e-mail\n naar vaarvignet@amsterdam.nl.

\n Noteer in uw e-mail altijd het vignetnummer.\n
\n );\n };\n\n const handleOnDownloadSummary = () => {\n window.open(downloadUrl);\n };\n\n if (!downloadInProgress && !downloadUrl && !pageError) {\n setDownloadInProgress(true);\n const interval = setInterval(() => {\n ThreeStrikesApi.getSummary(\n (json: any) => {\n if (json?.summary_link) {\n clearInterval(interval);\n setDownloadInProgress(false);\n setDownloadUrl(json.summary_link);\n }\n },\n (error: TError) => {\n clearInterval(interval);\n setDownloadInProgress(false);\n setPageError('Er is iets fout gegaan bij het ophalen van de samenvatting.');\n console.error(error);\n },\n );\n }, 1000);\n }\n\n return (\n \n \n
\n \n
Bedankt
\n {getThankYouHeader()}\n

\n
Samenvatting
\n
U kunt de samenvatting van uw aanvraag hieronder downloaden.
\n {!downloadInProgress && downloadUrl && !pageError ? (\n \n ) : (\n \n )}\n {downloadInProgress ? (\n \n
\n Wij zijn uw samenvatting aan het genereren.\n
\n
\n
\n ) : (\n \n )}\n
{pageError}
\n

\n
Vragen?
\n {getThankYouFooter()}\n
\n
\n
\n );\n }\n\n if (progress === EProgress.SUMMARY) {\n return (\n \n \n
\n \n {\n setPageError(undefined);\n setProgress(EProgress.PAYMENT);\n }}\n onNext={handleOnNext}\n locked={hasPressedNext}\n onNextText={'Naar betaling'}\n >\n \n
Samenvatting
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n amsterdam.nl/varen\n \n ). Bij het wijzigen of opzeggen van mijn vignet ga ik met deze regels akkoord.\n \n \n \n\n
{pageError}
\n \n
\n
\n );\n }\n\n if (progress === EProgress.PAYMENT) {\n const handleOnChangePaymentMethod = (e: any) => {\n setPaymentMethod(e.target.value);\n };\n\n const handleOnChangeIssuer = (e: any) => {\n setIssuer(e.target.value);\n };\n\n return (\n \n \n
\n \n {\n setPageError(undefined);\n setProgress(EProgress.NEW_PASSWORD);\n }}\n onNext={handleOnNext}\n >\n \n
Machtiging afgeven
\n
\n Met de machtiging geeft u de gemeente Amsterdam toestemming om het binnenhavengeld\n voor dit jaar en vanaf volgend jaar automatisch van uw rekening af te schrijven.\n

\n

\n Wilt u uw vignet volgend jaar verlengen? Dan kunt u er nog steeds voor kiezen om het\n bedrag in 1 keer of in 4 delen te betalen. U kunt uw vignet natuurlijk ook opzeggen.\n Er wordt dan geen geld van uw rekening afgeschreven.\n
\n
\n Dit jaar kunt u kiezen hoe u wilt betalen: in 1 keer of in 4 delen via een\n automatische afschrijving.\n
\n

\n
Maak uw keuze:
\n {paymentMethods?.map((method: any, index: number) => {\n return (\n \n \n \n
\n );\n })}\n

\n
Selecteer uw bank:
\n \n\n {/* */}\n\n
{pageError}
\n \n \n
\n );\n }\n\n if (progress === EProgress.NEW_PASSWORD) {\n const characterCountCheck = () => {\n if (!password) {\n return false;\n }\n return password.length >= 12;\n };\n\n const maxLengthCheck = () => {\n if (!password) {\n return false;\n }\n return password.length <= 24;\n };\n\n const numberCheck = () => {\n if (!password) {\n return false;\n }\n return /\\d\\D*\\d/.test(password);\n };\n\n const capitalizedCheck = () => {\n if (!password) {\n return false;\n }\n return password !== password.toLowerCase();\n };\n\n const specialCharacterCheck = () => {\n if (!password) {\n return false;\n }\n return /[!@#$%^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?]+/.test(password);\n };\n\n return (\n \n \n
\n \n {\n setPageError(undefined);\n setProgress(EProgress.OBJECT_DETAILS);\n }}\n onNext={handleOnNext}\n >\n \n
Maak een nieuw wachtwoord aan voor uw BHG-account
\n {!owner?.bhg_account ? (\n \n
\n Dit account gebruikt u om in de toekomst uw gegevens te beheren.\n
\n\n
Uw wachtwoord moet aan de volgende eisen voldoen:
\n
    \n \n minimaal 12 tekens\n \n \n minimaal 2 cijfers\n \n \n minimaal 1 hoofdletter\n \n \n minimaal 1 speciaal leesteken\n \n \n maximaal 24 tekens\n \n
\n\n
Nieuw wachtwoord
\n {\n setPassword(e.target.value);\n }}\n >\n
Herhaal nieuw wachtwoord
\n {\n setRepeatPassword(e.target.value);\n }}\n >\n
\n ) : (\n \n )}\n {owner?.bhg_account === true ? (\n
\n U heeft al een BHG-account. U hoeft hierdoor geen nieuw wachtwoord aan te maken.\n Klik op 'Volgende' om uw nieuwe vignet te betalen.\n
\n ) : (\n \n )}\n\n
{pageError}
\n \n
\n
\n );\n }\n\n if (progress === EProgress.OBJECT_DETAILS) {\n return (\n \n \n
\n \n {\n setPageError(undefined);\n setProgress(EProgress.PERSONAL_DETAILS);\n }}\n onNext={handleOnNext}\n >\n \n
BHG-gegevens
\n
\n Dit zijn de gegevens die wij van Nautisch Toezicht hebben ontvangen.\n

\n Als dit niet correct is neem contact op met{' '}\n nautischtoezicht@amsterdam.nl.\n
\n\n \n \n \n\n
Type vignet
\n \n\n
Soort motor
\n \n\n \n \n\n
{pageError}
\n \n
\n
\n );\n }\n\n if (progress === EProgress.PERSONAL_DETAILS) {\n return (\n \n \n
\n \n {\n setPageError(undefined);\n setProgress(EProgress.AUTHENTICATION);\n }}\n onNext={handleOnNext}\n >\n \n
Uw gegevens
\n
\n Dit zijn uw gegevens van uw doorvaartvignet die bekend zijn bij ons.\n

\n Na afronding kunt u uw adresgegevens aanpassen.\n
\n\n \n \n \n \n \n \n \n \n \n\n \n\n \n\n
{pageError}
\n \n
\n
\n );\n }\n\n if (progress === EProgress.AUTHENTICATION) {\n return (\n \n \n
\n \n \n \n
E-mailadres en eenmalig wachtwoord invullen
\n
\n Vul hieronder uw eenmalig wachtwoord in. Het eenmalig wachtwoord heeft u via een sms\n ontvangen.\n
\n\n
E-mailadres
\n {\n setEmail(e.target.value);\n }}\n onKeyDown={(e) => {\n if (e.key === 'Enter') {\n handleOnNext();\n }\n }}\n className={!hasPressedNext || email ? style.valid : style.invalid}\n >\n
Eenmalig wachtwoord
\n {\n setPincode(e.target.value);\n }}\n className={!hasPressedNext || pincode ? style.valid : style.invalid}\n onKeyDown={(e) => {\n if (e.key === 'Enter') {\n handleOnNext();\n }\n }}\n >\n\n
\n {\n navigate('/resend-sms');\n }}\n >\n Verstuur eenmalig wachtwoord opnieuw.\n \n
\n\n
{pageError}
\n\n
\n De gemeente Amsterdam gaat zorgvuldig en veilig met uw persoonsgegevens om. Wij houden\n ons daarbij aan de privacywetten en -regels. Dat betekent bijvoorbeeld dat wij uw\n gegevens alleen voor deze aanvraag gebruiken en niet voor iets anders. Meer informatie\n vindt u in de{' '}\n \n privacyverklaring Binnenhavengeld\n \n .\n
\n
\n
\n
\n );\n }\n\n return
403 Forbidden.
;\n};\n\nexport default ThreeStrikesRegistrationPage;\n","import * as React from 'react';\nimport { Navigate, useParams } from 'react-router';\n\nconst Redirector = () => {\n const params = useParams();\n\n return ;\n};\n\nexport default Redirector;\n","import Config from '../config/Config';\nimport Util from '../util/Util';\n\ntype TField = {\n value: string;\n isEditable: boolean;\n required: boolean;\n};\n\ntype TOwner = {\n initials: TField;\n prefix: TField;\n lastname: TField;\n mobilephone: TField;\n bsn: TField;\n address: TField;\n number: TField;\n postcode: TField;\n additions: TField;\n city: TField;\n account_holder: TField;\n account_number: TField;\n bhg_account: boolean;\n};\n\ntype TObject = {\n name: TField;\n length: TField;\n width: TField;\n drive_type: TField;\n vignet_type: TField;\n start_date: TField;\n amount: TField;\n};\n\ntype TIssuer = {\n id: string;\n name: string;\n};\n\ntype TError = {\n status: number;\n statusText: string;\n message: string;\n};\n\nconst login = (email: string, pincode: string, onSuccess: Function, onFailure: Function) => {\n fetch(Config.api.baseUrl + '/api/strike/login', {\n method: 'POST',\n mode: 'cors',\n body: JSON.stringify({ email: email, pincode: pincode }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw {\n status: response.status,\n statusText: response.statusText,\n message: json.message,\n };\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json.access_token);\n })\n .catch((error: TError) => {\n console.log(error);\n onFailure(error);\n });\n};\n\nconst getOwner = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api/strike/owner', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw new Error(json.message);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getObject = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api/strike/object', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw new Error(json.message);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst requestNewPincode = (phone: string, onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api/strike/pincode', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({ phone: phone }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw new Error(json.message);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst performPayment = (\n issuer: string,\n payment_method_id: string,\n data: any,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n console.log(data);\n const urlEncodeData: string = window.btoa(window.encodeURIComponent(JSON.stringify(data)));\n let baseUrl = window.location.href.trim();\n if (baseUrl.endsWith('/')) {\n baseUrl = baseUrl.substring(0, baseUrl.length - 1);\n }\n fetch(Config.api.baseUrl + '/api/strike/payment', {\n method: 'POST',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n issuer: issuer,\n payment_method_id: payment_method_id,\n return_url_success: Util.getPageUrl() + '/' + urlEncodeData + '/done',\n return_url_cancel: Util.getPageUrl() + '/' + urlEncodeData + '/cancel',\n return_url_error: Util.getPageUrl() + '/' + urlEncodeData + '/error',\n return_url_reject: Util.getPageUrl() + '/' + urlEncodeData + '/reject',\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw new Error(json.message);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst changePassword = (password: string, onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api/strike/password', {\n method: 'PATCH',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({ password: password }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw new Error(json.message);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getPaymentMethods = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api/strike/payment/methods', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw new Error(json.message);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst changeOwner = (\n account_holder: string,\n account_number: string,\n onSuccess: Function,\n onFailure: Function,\n) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api/strike/owner', {\n method: 'PATCH',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n body: JSON.stringify({\n account_holder: account_holder,\n account_number: account_number,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw new Error(json.message);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getSummary = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api/strike/summary/get', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n if (response.status === 204) {\n return null;\n }\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw {\n status: response.status,\n statusText: response.statusText,\n message: json.message,\n };\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(json);\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nconst getIssuers = (onSuccess: Function, onFailure: Function) => {\n const accessToken = window.localStorage.getItem('access_token');\n fetch(Config.api.baseUrl + '/api/strike/payment/issuers', {\n method: 'GET',\n mode: 'cors',\n headers: new Headers({\n Authorization: 'Bearer ' + accessToken,\n }),\n })\n .then(async (response: Response) => {\n const json = await response.json();\n if (response.status < 200 || response.status >= 300) {\n throw new Error(json.message);\n }\n return json;\n })\n .then((json: any) => {\n onSuccess(Object.values(json));\n })\n .catch((error: Error) => {\n onFailure(error);\n });\n};\n\nexport default {\n login,\n getOwner,\n getObject,\n requestNewPincode: requestNewPincode,\n performPayment: performPayment,\n changePassword: changePassword,\n changeOwner: changeOwner,\n getPaymentMethods: getPaymentMethods,\n getSummary: getSummary,\n getIssuers: getIssuers,\n};\nexport type { TOwner, TObject, TIssuer, TError };\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"ThreeStrikesRegistrationPage_container__nvZ4L\",\"header\":\"ThreeStrikesRegistrationPage_header__i-vq2\",\"subHeader\":\"ThreeStrikesRegistrationPage_subHeader__v6-wT\",\"exampleVignet\":\"ThreeStrikesRegistrationPage_exampleVignet__AUqY2\",\"cardListContainer\":\"ThreeStrikesRegistrationPage_cardListContainer__+lsRT\",\"pageError\":\"ThreeStrikesRegistrationPage_pageError__QbLqu\",\"disclaimer\":\"ThreeStrikesRegistrationPage_disclaimer__oWj7R\",\"pageSubHeader\":\"ThreeStrikesRegistrationPage_pageSubHeader__nOP3Z\",\"pageHeader\":\"ThreeStrikesRegistrationPage_pageHeader__26JFw\",\"selectTypeContainer\":\"ThreeStrikesRegistrationPage_selectTypeContainer__f9CMM\",\"smsResendButton\":\"ThreeStrikesRegistrationPage_smsResendButton__ooZRK\",\"downloadInProgressSpinner\":\"ThreeStrikesRegistrationPage_downloadInProgressSpinner__ZswSb\",\"downloadInProgressSpinnerText\":\"ThreeStrikesRegistrationPage_downloadInProgressSpinnerText__FHPo3\",\"authenticationLabel\":\"ThreeStrikesRegistrationPage_authenticationLabel__Yvw8P\",\"valid\":\"ThreeStrikesRegistrationPage_valid__oefWT\",\"invalid\":\"ThreeStrikesRegistrationPage_invalid__dH+NA\",\"dropDownMenu\":\"ThreeStrikesRegistrationPage_dropDownMenu__vzS0e\",\"dropDownMenuLabel\":\"ThreeStrikesRegistrationPage_dropDownMenuLabel__6+b9q\",\"radioButtonContainerValid\":\"ThreeStrikesRegistrationPage_radioButtonContainerValid__gOxof\",\"radioButtonContainerInvalid\":\"ThreeStrikesRegistrationPage_radioButtonContainerInvalid__c+f8O\",\"radioButton\":\"ThreeStrikesRegistrationPage_radioButton__MB9ZQ\",\"radioButtonLabel\":\"ThreeStrikesRegistrationPage_radioButtonLabel__sR2y6\",\"objectInputValid\":\"ThreeStrikesRegistrationPage_objectInputValid__89EX+\",\"objectInputInvalid\":\"ThreeStrikesRegistrationPage_objectInputInvalid__EqEBH\",\"invalidPasswordRule\":\"ThreeStrikesRegistrationPage_invalidPasswordRule__FH1Bd\",\"validPasswordRule\":\"ThreeStrikesRegistrationPage_validPasswordRule__dDyO7\",\"bhgAlert\":\"ThreeStrikesRegistrationPage_bhgAlert__2IBqH\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"ResendSmsPage_container__3kKEz\",\"header\":\"ResendSmsPage_header__uxzMj\",\"subHeader\":\"ResendSmsPage_subHeader__qsr6M\",\"exampleVignet\":\"ResendSmsPage_exampleVignet__1DANz\",\"cardListContainer\":\"ResendSmsPage_cardListContainer__6NRvA\",\"pageError\":\"ResendSmsPage_pageError__d58+v\",\"disclaimer\":\"ResendSmsPage_disclaimer__JLZbx\",\"pageSubHeader\":\"ResendSmsPage_pageSubHeader__PdGEe\",\"pageHeader\":\"ResendSmsPage_pageHeader__7rBgH\",\"selectTypeContainer\":\"ResendSmsPage_selectTypeContainer__HfT8k\",\"smsResendButton\":\"ResendSmsPage_smsResendButton__v+SBl\",\"validationLabel\":\"ResendSmsPage_validationLabel__5IDF9\"};","import * as React from 'react';\nimport { useNavigate } from 'react-router';\nimport CenteredForm from '../../components/centered-form/CenteredForm';\nimport PageHeader from '../../components/page-header/PageHeader';\nimport TitleLineComponent from '../../components/page-layout/TitleLineComponent';\nimport FormStepper from '../form-stepper/FormStepper';\n\nimport style from './ResendSmsPage.module.css';\nimport ThreeStrikesApi from '../../api/ThreeStrikesApi';\n\nconst ResendSmsPage = () => {\n const [phoneNumber, setPhoneNumber] = React.useState('');\n\n const [pageError, setPageError] = React.useState(undefined);\n\n const [done, setDone] = React.useState(false);\n\n const navigate = useNavigate();\n\n const handleOnNext = () => {\n setPageError(undefined);\n if (!phoneNumber || phoneNumber.trim().length <= 0) {\n setPageError('Vul uw telefoonnummer hierboven in.');\n return;\n }\n if (done) {\n navigate('/registration');\n return;\n }\n\n ThreeStrikesApi.requestNewPincode(\n phoneNumber,\n (json: any) => {\n setDone(true);\n },\n (error: Error) => {\n setPageError(error.message);\n },\n );\n };\n\n if (done) {\n return (\n \n \n
\n {\n setDone(false);\n }}\n onNext={handleOnNext}\n >\n \n
Eenmalig wachtwoord verstuurd
\n
\n Binnen enkele minuten ontvangt u een sms-bericht met een nieuw eenmalig wachtwoord.\n

\n

\n Heeft u nog steeds geen sms met wachtwoord ontvangen?\n

\n Stuur een e-mail naar{' '}\n vaarvignet@amsterdam.nl.\n
\n
{pageError}
\n \n
\n
\n );\n }\n\n return (\n \n \n
\n {\n navigate('/registration');\n }}\n onNext={handleOnNext}\n >\n \n
Eenmalig wachtwoord opnieuw versturen
\n
Vul alstublieft uw telefoonnummer in.
\n\n
Telefoonnummer
\n {\n setPhoneNumber(e.target.value);\n }}\n >\n\n
{pageError}
\n \n
\n
\n );\n};\n\nexport default ResendSmsPage;\n","import React, { useEffect } from 'react';\n\ninterface ExternalRedirectProps {\n to: string;\n}\n\nconst ExternalRedirect: React.FC = ({ to }) => {\n useEffect(() => {\n window.location.href = to;\n }, [to]);\n\n return null;\n};\n\nexport default ExternalRedirect;\n","import './App.css';\nimport { BrowserRouter, Navigate, Route, Routes } from 'react-router-dom';\nimport LoginPage from './containers/login-page/LoginPage';\nimport ResetPasswordPage from './containers/reset-password-page/ResetPasswordPage';\nimport PersonalInfoPage from './containers/personal-info-page/PersonalInfoPage';\nimport VignetOverviewPage from './containers/vignet-overview-page/VignetOverviewPage';\nimport ChangeVignetPage from './containers/change-vignet-page/ChangeVignetPage';\nimport CancelVignetPage from './containers/cancel-vignet-page/CancelVignetPage';\nimport MooringPage from './containers/mooring-page/MooringPage';\nimport MooringDonePage from './containers/mooring-done-page/MooringDonePage';\nimport ChangeVignetDonePage from './containers/change-vignet-done-page/ChangeVignetDonePage';\nimport CancelVignetDonePage from './containers/cancel-vignet-done-page/CancelVignetDonePage';\nimport ActivateVignetPage from './containers/activate-vignet-page/ActivateVignetPage';\nimport Redirector from './components/redirector/Redirector';\nimport ThreeStrikesRegistrationPage from './containers/three-strikes-registration-page/ThreeStrikesRegistrationPage';\nimport ResendSmsPage from './containers/resend-sms-page/ResendSmsPage';\nimport React from 'react';\nimport Config from './config/Config';\nimport ExternalRedirect from './components/external-redirect';\n\nfunction App() {\n const demoModeKey: boolean = window.localStorage.getItem('demo_mode')\n ? JSON.parse(window.localStorage.getItem('demo_mode') || 'false')\n : false;\n const [demoMode, setDemoMode] = React.useState(Config.development && !demoModeKey);\n\n return (\n
\n {demoMode ? (\n {\n e.preventDefault();\n window.localStorage.setItem('demo_mode', 'true');\n setDemoMode(false);\n }}\n >\n
\n Development environment\n
\n
{Config.version}
\n
\n ) : undefined}\n \n \n }>\n }>\n }\n >\n }>\n }\n >\n }\n >\n }\n >\n }\n >\n }\n >\n }\n >\n }\n >\n }\n >\n\n }\n />\n }\n />\n }\n />\n {/* }>\n }>\n }> */}\n }>\n }>\n }>\n }\n >\n }\n >\n }\n >\n }>\n }>\n \n
404 Not found
\n
{window.location.href}
\n Home\n \n }\n >\n
\n
\n \n );\n}\n\nexport default App;\n","import { ReportHandler } from 'web-vitals';\n\nconst reportWebVitals = (onPerfEntry?: ReportHandler) => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport './index.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\n\nconst root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);\nroot.render(\n \n \n ,\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"names":["cachedSetTimeout","cachedClearTimeout","process","module","exports","defaultSetTimout","Error","defaultClearTimeout","runTimeout","fun","setTimeout","e","call","this","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","length","concat","drainQueue","timeout","len","run","marker","runClearTimeout","Item","array","noop","nextTick","args","Array","arguments","i","push","prototype","apply","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","name","binding","cwd","chdir","dir","umask","aa","require","ca","p","a","b","c","encodeURIComponent","da","Set","ea","fa","ha","add","ia","window","document","createElement","ja","Object","hasOwnProperty","ka","la","ma","v","d","f","g","acceptsBooleans","attributeName","attributeNamespace","mustUseProperty","propertyName","type","sanitizeURL","removeEmptyString","z","split","forEach","toLowerCase","ra","sa","toUpperCase","ta","slice","pa","isNaN","qa","test","oa","removeAttribute","setAttribute","setAttributeNS","replace","xlinkHref","ua","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","va","Symbol","for","wa","ya","za","Aa","Ba","Ca","Da","Ea","Fa","Ga","Ha","Ia","Ja","iterator","Ka","La","A","assign","Ma","stack","trim","match","Na","Oa","prepareStackTrace","defineProperty","set","Reflect","construct","l","h","k","displayName","includes","Pa","tag","render","Qa","$$typeof","_context","_payload","_init","Ra","Sa","Ta","nodeName","Va","_valueTracker","getOwnPropertyDescriptor","constructor","get","configurable","enumerable","getValue","setValue","stopTracking","Ua","Wa","checked","value","Xa","activeElement","body","Ya","defaultChecked","defaultValue","_wrapperState","initialChecked","Za","initialValue","controlled","ab","bb","cb","db","ownerDocument","eb","isArray","fb","options","selected","defaultSelected","disabled","gb","dangerouslySetInnerHTML","children","hb","ib","jb","textContent","kb","lb","mb","nb","namespaceURI","innerHTML","valueOf","toString","firstChild","removeChild","appendChild","MSApp","execUnsafeLocalFunction","ob","lastChild","nodeType","nodeValue","pb","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","qb","rb","sb","style","indexOf","setProperty","keys","charAt","substring","tb","menuitem","area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr","ub","vb","is","wb","xb","target","srcElement","correspondingUseElement","parentNode","yb","zb","Ab","Bb","Cb","stateNode","Db","Eb","Fb","Gb","Hb","Ib","Jb","Kb","Lb","Mb","addEventListener","removeEventListener","Nb","m","onError","Ob","Pb","Qb","Rb","Sb","Tb","Vb","alternate","return","flags","Wb","memoizedState","dehydrated","Xb","Zb","child","sibling","current","Yb","$b","ac","unstable_scheduleCallback","bc","unstable_cancelCallback","cc","unstable_shouldYield","dc","unstable_requestPaint","B","unstable_now","ec","unstable_getCurrentPriorityLevel","fc","unstable_ImmediatePriority","gc","unstable_UserBlockingPriority","hc","unstable_NormalPriority","ic","unstable_LowPriority","jc","unstable_IdlePriority","kc","lc","oc","Math","clz32","pc","qc","log","LN2","rc","sc","tc","uc","pendingLanes","suspendedLanes","pingedLanes","entangledLanes","entanglements","vc","xc","yc","zc","Ac","eventTimes","Cc","C","Dc","Ec","Fc","Gc","Hc","Ic","Jc","Kc","Lc","Mc","Nc","Oc","Map","Pc","Qc","Rc","Sc","delete","pointerId","Tc","nativeEvent","blockedOn","domEventName","eventSystemFlags","targetContainers","Vc","Wc","priority","isDehydrated","containerInfo","Xc","Yc","dispatchEvent","shift","Zc","$c","ad","bd","cd","ReactCurrentBatchConfig","dd","ed","transition","fd","gd","hd","id","Uc","stopPropagation","jd","kd","ld","md","nd","od","keyCode","charCode","pd","qd","rd","_reactName","_targetInst","currentTarget","isDefaultPrevented","defaultPrevented","returnValue","isPropagationStopped","preventDefault","cancelBubble","persist","isPersistent","wd","xd","yd","sd","eventPhase","bubbles","cancelable","timeStamp","Date","now","isTrusted","td","ud","view","detail","vd","Ad","screenX","screenY","clientX","clientY","pageX","pageY","ctrlKey","shiftKey","altKey","metaKey","getModifierState","zd","button","buttons","relatedTarget","fromElement","toElement","movementX","movementY","Bd","Dd","dataTransfer","Fd","Hd","animationName","elapsedTime","pseudoElement","Id","clipboardData","Jd","Ld","data","Md","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","Nd","Od","Alt","Control","Meta","Shift","Pd","Qd","key","String","fromCharCode","code","location","repeat","locale","which","Rd","Td","width","height","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","Vd","touches","targetTouches","changedTouches","Xd","Yd","deltaX","wheelDeltaX","deltaY","wheelDeltaY","wheelDelta","deltaZ","deltaMode","Zd","$d","ae","be","documentMode","ce","de","ee","fe","ge","he","ie","le","color","date","datetime","email","month","number","password","range","search","tel","text","time","url","week","me","ne","oe","event","pe","qe","re","se","te","ue","ve","we","xe","ye","ze","oninput","Ae","detachEvent","Be","Ce","attachEvent","De","Ee","Fe","He","Ie","Je","Ke","node","offset","nextSibling","Le","contains","compareDocumentPosition","Me","HTMLIFrameElement","contentWindow","href","Ne","contentEditable","Oe","focusedElem","selectionRange","documentElement","start","end","selectionStart","selectionEnd","min","defaultView","getSelection","extend","rangeCount","anchorNode","anchorOffset","focusNode","focusOffset","createRange","setStart","removeAllRanges","addRange","setEnd","element","left","scrollLeft","top","scrollTop","focus","Pe","Qe","Re","Se","Te","Ue","Ve","We","animationend","animationiteration","animationstart","transitionend","Xe","Ye","Ze","animation","$e","af","bf","cf","df","ef","ff","gf","hf","lf","mf","nf","Ub","instance","listener","D","of","has","pf","qf","rf","random","sf","bind","capture","passive","n","t","J","x","u","w","F","tf","uf","parentWindow","vf","wf","na","xa","$a","ba","je","char","ke","unshift","xf","yf","zf","Af","Bf","Cf","Df","Ef","__html","Ff","Gf","Hf","Promise","Jf","queueMicrotask","resolve","then","catch","If","Kf","Lf","Mf","previousSibling","Nf","Of","Pf","Qf","Rf","Sf","Tf","Uf","E","G","Vf","H","Wf","Xf","Yf","contextTypes","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","Zf","childContextTypes","$f","ag","bg","getChildContext","cg","__reactInternalMemoizedMergedChildContext","dg","eg","fg","gg","hg","jg","kg","lg","mg","ng","og","pg","qg","rg","sg","tg","ug","vg","wg","xg","yg","I","zg","Ag","Bg","elementType","deletions","Cg","pendingProps","overflow","treeContext","retryLane","Dg","mode","Eg","Fg","Gg","memoizedProps","Hg","Ig","Jg","Kg","Lg","defaultProps","Mg","Ng","Og","Pg","Qg","Rg","_currentValue","Sg","childLanes","Tg","dependencies","firstContext","lanes","Ug","Vg","context","memoizedValue","next","Wg","Xg","Yg","interleaved","Zg","$g","ah","updateQueue","baseState","firstBaseUpdate","lastBaseUpdate","shared","pending","effects","bh","ch","eventTime","lane","payload","callback","dh","K","eh","fh","gh","q","r","y","hh","ih","jh","Component","refs","kh","nh","isMounted","_reactInternals","enqueueSetState","L","lh","mh","enqueueReplaceState","enqueueForceUpdate","oh","shouldComponentUpdate","isPureReactComponent","ph","contextType","state","updater","qh","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","rh","props","getDerivedStateFromProps","getSnapshotBeforeUpdate","UNSAFE_componentWillMount","componentWillMount","componentDidMount","sh","ref","_owner","_stringRef","th","join","uh","vh","index","wh","xh","yh","implementation","zh","Ah","done","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","tagName","Jh","Kh","Lh","M","Mh","revealOrder","Nh","Oh","_workInProgressVersionPrimary","Ph","ReactCurrentDispatcher","Qh","Rh","N","O","P","Sh","Th","Uh","Vh","Q","Wh","Xh","Yh","Zh","$h","ai","bi","ci","baseQueue","di","ei","fi","lastRenderedReducer","action","hasEagerState","eagerState","lastRenderedState","dispatch","gi","hi","ii","ji","ki","getSnapshot","li","mi","R","ni","lastEffect","stores","oi","pi","qi","ri","create","destroy","deps","si","ti","ui","vi","wi","xi","yi","zi","Ai","Bi","Ci","Di","Ei","Fi","Gi","Hi","Ii","Ji","readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","identifierPrefix","Ki","message","digest","Li","Mi","console","error","Ni","WeakMap","Oi","Pi","Qi","Ri","getDerivedStateFromError","componentDidCatch","Si","componentStack","Ti","pingCache","Ui","Vi","Wi","Xi","ReactCurrentOwner","Yi","Zi","$i","aj","bj","compare","cj","dj","ej","baseLanes","cachePool","transitions","fj","gj","hj","ij","jj","UNSAFE_componentWillUpdate","componentWillUpdate","componentDidUpdate","kj","lj","pendingContext","mj","Aj","Cj","Dj","nj","oj","pj","fallback","qj","rj","tj","dataset","dgst","uj","vj","_reactRetry","sj","subtreeFlags","wj","xj","isBackwards","rendering","renderingStartTime","last","tail","tailMode","yj","Ej","S","Fj","Gj","wasMultiple","multiple","suppressHydrationWarning","onClick","onclick","size","createElementNS","autoFocus","createTextNode","T","Hj","Ij","Jj","Kj","U","Lj","WeakSet","V","Mj","W","Nj","Oj","Qj","Rj","Sj","Tj","Uj","Vj","Wj","insertBefore","_reactRootContainer","Xj","X","Yj","Zj","ak","onCommitFiberUnmount","componentWillUnmount","bk","ck","dk","ek","fk","isHidden","gk","hk","display","ik","jk","kk","lk","__reactInternalSnapshotBeforeUpdate","src","Wk","mk","ceil","nk","ok","pk","Y","Z","qk","rk","sk","tk","uk","Infinity","vk","wk","xk","yk","zk","Ak","Bk","Ck","Dk","Ek","callbackNode","expirationTimes","expiredLanes","wc","callbackPriority","ig","Fk","Gk","Hk","Ik","Jk","Kk","Lk","Mk","Nk","Ok","Pk","finishedWork","finishedLanes","Qk","timeoutHandle","Rk","Sk","Tk","Uk","Vk","mutableReadLanes","Bc","Pj","onCommitFiberRoot","mc","onRecoverableError","Xk","onPostCommitFiberRoot","Yk","Zk","al","isReactComponent","pendingChildren","bl","mutableSourceEagerHydrationData","cl","cache","pendingSuspenseBoundaries","dl","el","fl","gl","hl","il","jl","zj","$k","ll","reportError","ml","_internalRoot","nl","ol","pl","ql","sl","rl","unmount","unstable_scheduleHydration","splice","querySelectorAll","JSON","stringify","form","tl","usingClientEntryPoint","Events","ul","findFiberByHostInstance","bundleType","rendererPackageName","vl","rendererConfig","overrideHookState","overrideHookStateDeletePath","overrideHookStateRenamePath","overrideProps","overridePropsDeletePath","overridePropsRenamePath","setErrorHandler","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","reconcilerVersion","__REACT_DEVTOOLS_GLOBAL_HOOK__","wl","isDisabled","supportsFiber","inject","createPortal","createRoot","unstable_strictMode","findDOMNode","flushSync","hydrate","hydrateRoot","hydratedSources","_getVersion","_source","unmountComponentAtNode","unstable_batchedUpdates","unstable_renderSubtreeIntoContainer","checkDCE","err","__self","__source","jsx","jsxs","setState","forceUpdate","escape","_status","_result","default","Children","map","count","toArray","only","Fragment","Profiler","PureComponent","StrictMode","Suspense","cloneElement","createContext","_currentValue2","_threadCount","Provider","Consumer","_defaultValue","_globalName","createFactory","createRef","forwardRef","isValidElement","lazy","memo","startTransition","unstable_act","pop","sortIndex","performance","setImmediate","startTime","expirationTime","priorityLevel","navigator","scheduling","isInputPending","MessageChannel","port2","port1","onmessage","postMessage","unstable_Profiling","unstable_continueExecution","unstable_forceFrameRate","floor","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_runWithPriority","delay","unstable_wrapCallback","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","leafPrototypes","getProto","getPrototypeOf","obj","__proto__","__esModule","ns","def","getOwnPropertyNames","definition","o","chunkId","all","reduce","promises","miniCssF","prop","inProgress","dataWebpackPrefix","script","needAttach","scripts","getElementsByTagName","s","getAttribute","charset","nc","onScriptComplete","prev","onerror","onload","doneFns","fn","head","toStringTag","installedChunks","j","installedChunkData","promise","reject","errorType","realSrc","request","webpackJsonpCallback","parentChunkLoadingFunction","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","Action","_arrayLikeToArray","arr","arr2","_unsupportedIterableToArray","minLen","from","_i","_s","_e","_arr","_n","_d","TypeError","iter","Constructor","_defineProperties","descriptor","writable","protoProps","staticProps","_setPrototypeOf","setPrototypeOf","_inherits","subClass","superClass","_getPrototypeOf","_isNativeReflectConstruct","sham","Proxy","Boolean","_typeof","_possibleConstructorReturn","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","result","Super","NewTarget","_construct","Parent","Class","Function","_wrapNativeSuper","_cache","Wrapper","ResultType","PopStateEventType","getHistoryState","usr","createLocation","to","pathname","hash","parsePath","substr","_ref","path","parsedPath","hashIndex","searchIndex","createURL","origin","createPath","URL","getUrlBasedHistory","getLocation","createHref","validateLocation","v5Compat","globalHistory","history","Pop","handlePop","listen","encodeLocation","Push","historyState","pushState","Replace","replaceState","go","matchRoutes","routes","locationArg","basename","stripBasename","branches","flattenRoutes","sort","score","siblings","every","compareIndexes","routesMeta","childrenIndex","rankRouteBranches","matches","matchRouteBranch","safelyDecodeURI","parentsMeta","parentPath","route","relativePath","caseSensitive","startsWith","invariant","joinPaths","computeScore","paramRe","isSplat","segments","initialScore","filter","segment","branch","matchedParams","matchedPathname","remainingPathname","matchPath","params","pathnameBase","normalizePathname","pattern","warning","endsWith","paramNames","regexpSource","_","paramName","RegExp","compilePath","matcher","captureGroups","splatValue","decodeURIComponent","safelyDecodeURIComponent","decodeURI","startIndex","nextChar","cond","warn","getInvalidPathError","field","dest","getPathContributingMatches","resolveTo","toArg","routePathnames","locationPathname","isPathRelative","isEmptyPath","toPathname","routePathnameIndex","toSegments","fromPathname","resolvePathname","normalizeSearch","normalizeHash","resolvePath","hasExplicitTrailingSlash","hasCurrentTrailingSlash","paths","AbortedDeferredError","ErrorResponse","status","statusText","isRouteErrorResponse","validActionMethods","React","checkIfSnapshotChanged","inst","latestGetSnapshot","prevValue","nextValue","DataStaticRouterContext","DataRouterContext","DataRouterStateContext","AwaitContext","NavigationContext","LocationContext","RouteContext","outlet","RouteErrorContext","useInRouterContext","useLocation","useNavigate","routePathnamesJson","activeRef","parse","relative","useParams","routeMatch","DefaultErrorElement","useDataRouterState","DataRouterStateHook","UseRouteError","thisRoute","errors","useRouteError","lightgrey","preStyles","padding","backgroundColor","codeStyles","fontStyle","DataRouterHook","RenderErrorBoundary","errorInfo","component","RenderedRoute","routeContext","dataStaticRouterContext","errorElement","_deepestRenderedBoundaryId","_renderMatches","parentMatches","dataRouterState","renderedMatches","errorIndex","findIndex","reduceRight","getChildren","hookName","AwaitRenderStatus","Navigate","_ref3","navigate","navigation","Route","_props","Router","_ref4","basenameProp","locationProp","navigationType","NavigationType","static","staticProp","navigationContext","trailingPathname","Routes","_ref5","dataRouterContext","dataRouterStateContext","parentParams","parentPathnameBase","locationFromContext","parsedLocationArg","useRoutes","router","createRoutesFromChildren","neverSettledPromise","treePath","loader","hasErrorBoundary","shouldRevalidate","handle","BrowserRouter","historyRef","className","logout","localStorage","removeItem","Op","hasOwn","desc","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","define","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","Context","makeInvokeMethod","tryCatch","arg","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","NativeIteratorPrototype","values","Gp","defineIteratorMethods","method","_invoke","AsyncIterator","PromiseImpl","invoke","record","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","info","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isGeneratorFunction","genFun","ctor","mark","awrap","async","val","object","reverse","skipTempReset","stop","rootRecord","rval","exception","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","development","api","baseUrl","googleMaps","apiKey","transitRedirectUrl","getPageUrl","raw","parts","capitalize","string","UserApi","login","onSuccess","onFailure","fetch","Config","response","json","non_field_errors","sendForgotPassword","base_url","Util","changePassword","token","getOwner","accessToken","getItem","headers","Headers","Authorization","updateOwner","address","houseNumber","addition","zipcode","city","phoneNumber","mobilePhone","postcode","mobilephone","phone","setEmail","setPassword","emailError","setEmailError","passwordError","setPasswordError","loginError","setLoginError","isValidEmail","isValidPassword","handleOnClick","emailValidity","passwordValidity","setItem","access_token","onKeyDown","onChange","setDone","setError","repeatPassword","setRepeatPassword","eightCharacterCheck","maxLengthCheck","numberCheck","capitalizedCheck","specialCharacterCheck","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","_objectSpread2","getOwnPropertyDescriptors","defineProperties","EEditMode","urlEncodeExtendPageData","vignet","paymentMethod","iban","ibanHolder","vignetID","vignet_id","paymentMethodID","btoa","urlEncodeMooringPageData","initials","prefix","lastName","paymentTypeID","cardNumber","productID","firstName","middleName","vignetNumber","cardServiceCode","VignetApi","getVignet","getVignets","cancelVignet","reason","extendVignet","urlEncodeData","payment_type_id","return_url_cancel","return_url_reject","return_url_success","return_url_error","account_holder","account_number","sendRestitutionRequest","VignetID","cancelationReasonID","ReasonID","sendMooringRequest","lastname","phonenumber","card_service_code","product_id","sendPassageRequest","countryID","company","kvk","vignetTypeID","deliveryTypeID","bsn","country_id","vignet_type_id","delivery_type_id","urlEncodeTransitPageData","validateMooringVignet","vignetCode","updateVignet","objectLength","objectWidth","objectMarina","objectDriveTypeID","object_length","object_width","object_marina","object_drive_type_id","activateVignet","activationCode","vignet_type","pincode","validateObject","object_name","object_type_id","validateOwner","last_name","confirmEmail","mobile_phone","company_name","saveData","uploadPhotos","files","formData","FormData","file","native","append","loading","setLoading","setBackgroundColor","onMouseEnter","onMouseLeave","arrow","arrowMode","borderLeftColor","buttonMode","handleOnPrevious","locked","onPrevious","previousButton","onPreviousText","nextButton","onNext","onNextText","ESeverity","validity","setValidity","inline","horizontal","label","onEnableEdit","editable","editOptions","DROPDOWN","option","RADIO","getInputField","checkMark","viewBox","focusable","fillRule","steps","step","orbStyling","currentStep","textStyling","repeatEmail","setRepeatEmail","pageError","setPageError","setVignets","vignets","setOwner","owner","isPhoneNumber","isEmail","isZipCode","areFieldsValid","valid","DataApi","getCountries","countries","getDriveTypes","drive_types","getPaymentTypes","types","getCancelationTypes","getMooringPaymentTypes","payment_types","getVignetTypes","vignet_types","getDeliveryTypes","delivery_types","getMooringTypes","products","uploadDocuments","documents","getExtendSummary","getMooringSummary","getPassageSummary","getPickupLocations","pickup_locations","getActivateDriveTypes","getActivateObjectTypes","object_types","getRestitutionSummary","vignetId","getActivationSummary","setChecked","hideCheckBox","ECancelationSubType","serverityStyling","severity","LOW","MEDIUM","HIGH","header","bold","FileList","removeFile","fileElement","setFileElement","singleFileText","accept","EProgress","setVignet","progress","setProgress","actionType","setActionType","cancelationType","setCancelationType","cancelationSubType","setCancelationSubType","setFiles","debug","debugOption","hasAgreedTruthfully","setHasAgreedTruthfully","hasAgreedEndUser","setHasAgreedEndUser","hasPressedNext","setHasPressedNext","working","setWorking","cancelationTypes","setCancelationTypes","vignet_number","handleOnChangeActionType","handleOnChangeCancelationType","cancellation","find","CANCELATION","CHANGE","change","handleOnFileChange","getCancelationDOM","RestitutionPossible","ExplanationText","textDocument","TextDocument","rawLink","DownloadSummary","open","summary_link","fileReader","FileReader","readAsDataURL","handleCancelation","Name","RequestPossible","getChangeDOM","getCancelDOM","vignet_status","show_blue_btn","handleOnClickActionButton","vignetType","objectSurface","totalCost","setIban","setIbanHolder","onChangeIban","handleOnChangeIban","onChangeIbanHolder","handleOnChangeIbanHolder","setPaymentTypes","returnPaymentMethodID","paymentType","handleOnChange","paymentTypes","setPaymentMethod","showAdditionalFields","setShowAdditionalFields","hasAgreed","setHasAgreed","expansion","setExpansion","defaultHasAgreedUserAgreement","hasAgreedUserAgreement","setHasAgreedUserAgreement","defaultHasAgreedDetailsCorrect","hasAgreedDetailsCorrect","setHasAgreedDetailsCorrect","street","zipCode","objectName","driveType","mooring","parseInt","fileUploadText","hasAgreedPaymentTerms","setHasAgreedPaymentTerms","hasAdditionalFields","setHasAdditionalFields","editMode","setEditMode","fileUploadMarina","setFileUploadMarina","fileUploadBoat","setFileUploadBoat","uploadingFiles","setUploadingFiles","staticMode","setStaticMode","returnVignetID","setReturnVignetID","setReturnPaymentMethodID","setLocked","driveTypes","setDriveTypes","atob","getDriveTypeName","drive_type_id","drive_type_name","getVignetCost","vignet_cost","driveTypeEditOptions","marinaEditOptions","readFile","setter","handleOnChangeFileUploadMarina","handleOnChangeFileUploadBoat","isGreenVignet","redirect_url","host","vignet_type_display_name","object_surface_area","getFileUploadDOM","account_owner","getPaymentStatusDOM","setReason","hasAgreedToCancelation","setHasAgreedToCancelation","otherIndex","other","reasonName","getCancelationOptions","hideEdit","onEdit","predefinedData","validator","isEditable","marginBottom","marginTop","getCardListDOM","card_list","serviceCode","onChangeServiceCode","card","ServiceCode","CardName","validityStyling","onChangePaymentType","setAction","mooringType","setMooringType","setPaymentType","setFormData","setCardServiceCode","setValid","truthfulAgreement","setTruthfulAgreement","endUserAgreement","setEndUserAgreement","mooringTypes","setMooringTypes","setVignetTypes","vignetTypes","required","isSamePhoneNumber","repeatPhoneNumber","isSameEmail","entries","handleOnNext","repeatVignetNumber","validateFormData","toLocaleLowerCase","handleOnChangeVignetType","vignetTypeObject","ProductID","Price","Description","toLocaleDateString","weekday","year","day","initial","setInitial","setCountries","countryIndex","country","setVignetCode","setActivationCode","VALIDATION","checkVignet","setCheckVignet","setPredefinedData","setCountry","countryName","setCountryName","objectTypes","setObjectTypes","setObjectLength","setObjectWidth","objectDriveType","setObjectDriveType","objectType","setObjectType","setObjectName","bsnRequired","setBsnRequired","fileUploadVignet","setFileUploadVignet","fileCount","setFileCount","uploadRequired","setUploadRequired","isValid","fields","PERSONAL_DETAILS","photos_count","photos_required","OBJECT_DETAILS","SUMMARY","THANK_YOU","getObjectTypeById","rel","handleOnChangeFileUploadVignet","postalCode","trimmedPostalCode","numbers","factor","total","dividend","round","issuer","payment_method_id","setPincode","AUTHENTICATION","setObject","paymentMethods","setPaymentMethods","issuers","setIssuers","setIssuer","hasAgreedResponsible","setHasAgreedResponsible","processingRedirect","setProcessingReditect","downloadInProgress","setDownloadInProgress","downloadUrl","setDownloadUrl","loadAuthorizedData","ThreeStrikesApi","NEW_PASSWORD","bhg_account","PAYMENT","request_number","interval","setInterval","clearInterval","getDate","getMonth","getFullYear","getThankYouHeader","additions","drive_type","getIssuerById","getPaymentMethodNameById","start_date","amount","handleOnChangePaymentMethod","setPhoneNumber","demoModeKey","demoMode","setDemoMode","onContextMenu","MooringPage","onPerfEntry","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","getElementById","reportWebVitals"],"sourceRoot":""}