aldehyde 0.2.258 → 0.2.259
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/controls/tree-select/navigation-tree.d.ts.map +1 -1
- package/lib/controls/tree-select/navigation-tree.js +4 -3
- package/lib/controls/tree-select/navigation-tree.js.map +1 -1
- package/lib/table/query-table.d.ts.map +1 -1
- package/lib/table/query-table.js +1 -1
- package/lib/table/query-table.js.map +1 -1
- package/lib/tmpl/interface.d.ts +1 -0
- package/lib/tmpl/interface.d.ts.map +1 -1
- package/lib/tmpl/interface.js.map +1 -1
- package/package.json +1 -1
- package/src/aldehyde/controls/tree-select/navigation-tree.tsx +5 -5
- package/src/aldehyde/table/query-table.tsx +0 -1
- package/src/aldehyde/tmpl/interface.tsx +1 -0
- package/dist/bundle.04a76d4f726f7257b62e.js +0 -2
- package/dist/bundle.04a76d4f726f7257b62e.js.LICENSE.txt +0 -5
- package/dist/bundle.04a76d4f726f7257b62e.js.gz +0 -0
- package/dist/bundle.0ba97fb9aed3256959a1.js +0 -75
- package/dist/bundle.0ba97fb9aed3256959a1.js.LICENSE.txt +0 -8
- package/dist/bundle.0ba97fb9aed3256959a1.js.gz +0 -0
- package/dist/bundle.0cdb895a99048cda0139.js +0 -1
- package/dist/bundle.0cdb895a99048cda0139.js.gz +0 -0
- package/dist/bundle.118048608e8ab47050ab.js +0 -1
- package/dist/bundle.118048608e8ab47050ab.js.gz +0 -0
- package/dist/bundle.22564bca4d0f6fbabf69.js +0 -1
- package/dist/bundle.22564bca4d0f6fbabf69.js.gz +0 -0
- package/dist/bundle.27227d2415dfad58bab4.js +0 -1
- package/dist/bundle.27227d2415dfad58bab4.js.gz +0 -0
- package/dist/bundle.334162ac2c2d6bf397cb.js +0 -2
- package/dist/bundle.334162ac2c2d6bf397cb.js.LICENSE.txt +0 -20
- package/dist/bundle.334162ac2c2d6bf397cb.js.gz +0 -0
- package/dist/bundle.3b6c5fe034cbb723c7f3.js +0 -1
- package/dist/bundle.3b6c5fe034cbb723c7f3.js.gz +0 -0
- package/dist/bundle.3f109b3f90f09c23e8d2.js +0 -2
- package/dist/bundle.3f109b3f90f09c23e8d2.js.LICENSE.txt +0 -1
- package/dist/bundle.3f109b3f90f09c23e8d2.js.gz +0 -0
- package/dist/bundle.420a3c4b880bec7c9395.js +0 -2
- package/dist/bundle.420a3c4b880bec7c9395.js.LICENSE.txt +0 -25
- package/dist/bundle.420a3c4b880bec7c9395.js.gz +0 -0
- package/dist/bundle.4b96ffe1f62e4f94c131.js +0 -1
- package/dist/bundle.4b96ffe1f62e4f94c131.js.gz +0 -0
- package/dist/bundle.4c54741832df8c763776.js +0 -1
- package/dist/bundle.4c54741832df8c763776.js.gz +0 -0
- package/dist/bundle.4e74b367562f2fcc557e.js +0 -2
- package/dist/bundle.4e74b367562f2fcc557e.js.LICENSE.txt +0 -1
- package/dist/bundle.4e74b367562f2fcc557e.js.gz +0 -0
- package/dist/bundle.51b107a74d3e9e38daaa.js +0 -2
- package/dist/bundle.51b107a74d3e9e38daaa.js.LICENSE.txt +0 -10
- package/dist/bundle.51b107a74d3e9e38daaa.js.gz +0 -0
- package/dist/bundle.548e656e773307824959.js +0 -1
- package/dist/bundle.548e656e773307824959.js.gz +0 -0
- package/dist/bundle.54b2a31d011f6c769e7c.js +0 -1
- package/dist/bundle.54b2a31d011f6c769e7c.js.gz +0 -0
- package/dist/bundle.593c12023e54a91e8a0b.js +0 -1
- package/dist/bundle.593c12023e54a91e8a0b.js.gz +0 -0
- package/dist/bundle.5ae6eceb7934e46e6d45.js +0 -13
- package/dist/bundle.5ae6eceb7934e46e6d45.js.gz +0 -0
- package/dist/bundle.5d22c4c1586e95424e26.js +0 -1
- package/dist/bundle.5d22c4c1586e95424e26.js.gz +0 -0
- package/dist/bundle.61f9eb72cb7b4666013c.js +0 -2
- package/dist/bundle.61f9eb72cb7b4666013c.js.LICENSE.txt +0 -16
- package/dist/bundle.61f9eb72cb7b4666013c.js.gz +0 -0
- package/dist/bundle.699d5561bf119bdb97fc.js +0 -1
- package/dist/bundle.699d5561bf119bdb97fc.js.gz +0 -0
- package/dist/bundle.6a7337d14083532e943d.js +0 -2
- package/dist/bundle.6a7337d14083532e943d.js.LICENSE.txt +0 -9
- package/dist/bundle.6a7337d14083532e943d.js.gz +0 -0
- package/dist/bundle.79831dc7a84e75f07975.js +0 -2
- package/dist/bundle.79831dc7a84e75f07975.js.LICENSE.txt +0 -14
- package/dist/bundle.79831dc7a84e75f07975.js.gz +0 -0
- package/dist/bundle.7dda8c43f58b4e01000d.js +0 -1
- package/dist/bundle.7dda8c43f58b4e01000d.js.gz +0 -0
- package/dist/bundle.84924d3443cdf0ef3a08.js +0 -2
- package/dist/bundle.84924d3443cdf0ef3a08.js.LICENSE.txt +0 -5
- package/dist/bundle.84924d3443cdf0ef3a08.js.gz +0 -0
- package/dist/bundle.866fb447979af51deaf0.js +0 -2
- package/dist/bundle.866fb447979af51deaf0.js.LICENSE.txt +0 -17
- package/dist/bundle.866fb447979af51deaf0.js.gz +0 -0
- package/dist/bundle.874b3f088098a51fe779.js +0 -1
- package/dist/bundle.874b3f088098a51fe779.js.gz +0 -0
- package/dist/bundle.8f008042855b35daf44f.js +0 -1
- package/dist/bundle.8f008042855b35daf44f.js.gz +0 -0
- package/dist/bundle.8fba396651ab9131e760.js +0 -2
- package/dist/bundle.8fba396651ab9131e760.js.LICENSE.txt +0 -22
- package/dist/bundle.8fba396651ab9131e760.js.gz +0 -0
- package/dist/bundle.a22410e1dd80ca8e1dad.js +0 -1
- package/dist/bundle.a22410e1dd80ca8e1dad.js.gz +0 -0
- package/dist/bundle.a26a56462550fc7dcb76.js +0 -2
- package/dist/bundle.a26a56462550fc7dcb76.js.LICENSE.txt +0 -5
- package/dist/bundle.a26a56462550fc7dcb76.js.gz +0 -0
- package/dist/bundle.b28c0f5f2d452df6637a.js +0 -1
- package/dist/bundle.b28c0f5f2d452df6637a.js.gz +0 -0
- package/dist/bundle.b59913b5eca7fc9cf658.js +0 -2
- package/dist/bundle.b59913b5eca7fc9cf658.js.LICENSE.txt +0 -50
- package/dist/bundle.b59913b5eca7fc9cf658.js.gz +0 -0
- package/dist/bundle.b5d9f43fb90d9c6b39a9.js +0 -2
- package/dist/bundle.b5d9f43fb90d9c6b39a9.js.LICENSE.txt +0 -8
- package/dist/bundle.b5d9f43fb90d9c6b39a9.js.gz +0 -0
- package/dist/bundle.c987651cbacb95e92e9a.js +0 -1
- package/dist/bundle.c987651cbacb95e92e9a.js.gz +0 -0
- package/dist/bundle.d67ab9f0b5662beefec1.js +0 -2
- package/dist/bundle.d67ab9f0b5662beefec1.js.LICENSE.txt +0 -9
- package/dist/bundle.d67ab9f0b5662beefec1.js.gz +0 -0
- package/dist/bundle.df15389f0df80bb5c1f8.js +0 -2
- package/dist/bundle.df15389f0df80bb5c1f8.js.LICENSE.txt +0 -8
- package/dist/bundle.df15389f0df80bb5c1f8.js.gz +0 -0
- package/dist/bundle.e9df92a889fa6911eb3a.js +0 -1
- package/dist/bundle.ebe7ebdb4845f80a5dd4.js +0 -2
- package/dist/bundle.ebe7ebdb4845f80a5dd4.js.LICENSE.txt +0 -7
- package/dist/bundle.ebe7ebdb4845f80a5dd4.js.gz +0 -0
- package/dist/bundle.f4c743816a267bced7bb.js +0 -1
- package/dist/bundle.f4c743816a267bced7bb.js.gz +0 -0
- package/dist/bundle.f6fe12d30504559f5f27.js +0 -2
- package/dist/bundle.f6fe12d30504559f5f27.js.LICENSE.txt +0 -6
- package/dist/bundle.f6fe12d30504559f5f27.js.gz +0 -0
- package/dist/css/chemstruc-graph-3996ceb0836a84cd2d4f.css +0 -12
- package/dist/css/chemstruc-graph-3996ceb0836a84cd2d4f.css.gz +0 -0
- package/dist/css/common-4fdc190a7145b69314ce.css +0 -56
- package/dist/css/html-editor-draft-5e8e152675ab7d201c00.css +0 -886
- package/dist/css/html-editor-draft-5e8e152675ab7d201c00.css.gz +0 -0
- package/dist/css/main-d4de6792432b484dddeb.css +0 -1169
- package/dist/css/main-d4de6792432b484dddeb.css.gz +0 -0
- package/dist/images/login-bg-027de94b.png +0 -0
- package/dist/images/welcome-8bf57aea.png +0 -0
- package/dist/index.html +0 -4
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see bundle.334162ac2c2d6bf397cb.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunkaldehyde=self.webpackChunkaldehyde||[]).push([[74],{2833:function(t){t.exports=function(t,e,r,n){var o=r?r.call(n,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),u=0;u<i.length;u++){var c=i[u];if(!s(c))return!1;var l=t[c],h=e[c];if(!1===(o=r?r.call(n,l,h,c):void 0)||void 0===o&&l!==h)return!1}return!0}},7463:function(t,e){"use strict";function r(t,e){var r=t.length;t.push(e);t:for(;0<r;){var n=r-1>>>1,o=t[n];if(!(0<i(o,e)))break t;t[n]=e,t[r]=o,r=n}}function n(t){return 0===t.length?null:t[0]}function o(t){if(0===t.length)return null;var e=t[0],r=t.pop();if(r!==e){t[0]=r;t:for(var n=0,o=t.length,a=o>>>1;n<a;){var s=2*(n+1)-1,u=t[s],c=s+1,l=t[c];if(0>i(u,r))c<o&&0>i(l,u)?(t[n]=l,t[c]=r,n=c):(t[n]=u,t[s]=r,n=s);else{if(!(c<o&&0>i(l,r)))break t;t[n]=l,t[c]=r,n=c}}}return e}function i(t,e){var r=t.sortIndex-e.sortIndex;return 0!==r?r:t.id-e.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],l=[],h=1,d=null,f=3,p=!1,m=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,g="undefined"!=typeof setImmediate?setImmediate:null;function w(t){for(var e=n(l);null!==e;){if(null===e.callback)o(l);else{if(!(e.startTime<=t))break;o(l),e.sortIndex=e.expirationTime,r(c,e)}e=n(l)}}function _(t){if(y=!1,w(t),!m)if(null!==n(c))m=!0,P(E);else{var e=n(l);null!==e&&L(_,e.startTime-t)}}function E(t,r){m=!1,y&&(y=!1,b(R),R=-1),p=!0;var i=f;try{for(w(r),d=n(c);null!==d&&(!(d.expirationTime>r)||t&&!O());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var s=a(d.expirationTime<=r);r=e.unstable_now(),"function"==typeof s?d.callback=s:d===n(c)&&o(c),w(r)}else o(c);d=n(c)}if(null!==d)var u=!0;else{var h=n(l);null!==h&&L(_,h.startTime-r),u=!1}return u}finally{d=null,f=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,T=!1,k=null,R=-1,S=5,D=-1;function O(){return!(e.unstable_now()-D<S)}function A(){if(null!==k){var t=e.unstable_now();D=t;var r=!0;try{r=k(!0,t)}finally{r?x():(T=!1,k=null)}}else T=!1}if("function"==typeof g)x=function(){g(A)};else if("undefined"!=typeof MessageChannel){var C=new MessageChannel,M=C.port2;C.port1.onmessage=A,x=function(){M.postMessage(null)}}else x=function(){v(A,0)};function P(t){k=t,T||(T=!0,x())}function L(t,r){R=v((function(){t(e.unstable_now())}),r)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,P(E))},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<t?Math.floor(1e3/t):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(t){switch(f){case 1:case 2:case 3:var e=3;break;default:e=f}var r=f;f=e;try{return t()}finally{f=r}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=f;f=t;try{return e()}finally{f=r}},e.unstable_scheduleCallback=function(t,o,i){var a=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return t={id:h++,callback:o,priorityLevel:t,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(t.sortIndex=i,r(l,t),null===n(c)&&t===n(l)&&(y?(b(R),R=-1):y=!0,L(_,i-a))):(t.sortIndex=s,r(c,t),m||p||(m=!0,P(E))),t},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(t){var e=f;return function(){var r=f;f=e;try{return t.apply(this,arguments)}finally{f=r}}}},15734:function(t,e,r){let n;"undefined"!=typeof window?n=window:"undefined"!=typeof self?n=self:(console.warn("Using browser-only version of superagent in non-browser environment"),n=this);const o=r(5971),i=r(31948),a=r(85125),s=r(19450),u=r(51380);function c(){}const l=e=t.exports=function(t,r){return"function"==typeof r?new e.Request("GET",t).end(r):1==arguments.length?new e.Request("GET",t):new e.Request(t,r)};e.Request=v,l.getXHR=()=>{if(!(!n.XMLHttpRequest||n.location&&"file:"==n.location.protocol&&n.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(t){}throw Error("Browser-only version of superagent could not find XHR")};const h="".trim?t=>t.trim():t=>t.replace(/(^\s*|\s*$)/g,"");function d(t){if(!a(t))return t;const e=[];for(const r in t)f(e,r,t[r]);return e.join("&")}function f(t,e,r){if(null!=r)if(Array.isArray(r))r.forEach((r=>{f(t,e,r)}));else if(a(r))for(const n in r)f(t,`${e}[${n}]`,r[n]);else t.push(encodeURIComponent(e)+"="+encodeURIComponent(r));else null===r&&t.push(encodeURIComponent(e))}function p(t){const e={},r=t.split("&");let n,o;for(let t=0,i=r.length;t<i;++t)n=r[t],o=n.indexOf("="),-1==o?e[decodeURIComponent(n)]="":e[decodeURIComponent(n.slice(0,o))]=decodeURIComponent(n.slice(o+1));return e}function m(t){return/[\/+]json($|[^-\w])/.test(t)}function y(t){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;let e=this.xhr.status;1223===e&&(e=204),this._setStatusProperties(e),this.header=this.headers=function(t){const e=t.split(/\r?\n/),r={};let n,o,i,a;for(let t=0,s=e.length;t<s;++t)o=e[t],n=o.indexOf(":"),-1!==n&&(i=o.slice(0,n).toLowerCase(),a=h(o.slice(n+1)),r[i]=a);return r}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&t._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function v(t,e){const r=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",(()=>{let t,e=null,n=null;try{n=new y(r)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,r.xhr?(e.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,e.status=r.xhr.status?r.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),r.callback(e)}r.emit("response",n);try{r._isResponseOK(n)||(t=new Error(n.statusText||"Unsuccessful HTTP response"))}catch(e){t=e}t?(t.original=e,t.response=n,t.status=n.status,r.callback(t,n)):r.callback(null,n)}))}function b(t,e,r){const n=l("DELETE",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n}l.serializeObject=d,l.parseString=p,l.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},l.serialize={"application/x-www-form-urlencoded":d,"application/json":JSON.stringify},l.parse={"application/x-www-form-urlencoded":p,"application/json":JSON.parse},s(y.prototype),y.prototype._parseBody=function(t){let e=l.parse[this.type];return this.req._parser?this.req._parser(this,t):(!e&&m(this.type)&&(e=l.parse["application/json"]),e&&t&&(t.length||t instanceof Object)?e(t):null)},y.prototype.toError=function(){const t=this.req,e=t.method,r=t.url,n=`cannot ${e} ${r} (${this.status})`,o=new Error(n);return o.status=this.status,o.method=e,o.url=r,o},l.Response=y,o(v.prototype),i(v.prototype),v.prototype.type=function(t){return this.set("Content-Type",l.types[t]||t),this},v.prototype.accept=function(t){return this.set("Accept",l.types[t]||t),this},v.prototype.auth=function(t,e,r){return 1===arguments.length&&(e=""),"object"==typeof e&&null!==e&&(r=e,e=""),r||(r={type:"function"==typeof btoa?"basic":"auto"}),this._auth(t,e,r,(t=>{if("function"==typeof btoa)return btoa(t);throw new Error("Cannot use basic auth, btoa is not a function")}))},v.prototype.query=function(t){return"string"!=typeof t&&(t=d(t)),t&&this._query.push(t),this},v.prototype.attach=function(t,e,r){if(e){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,r||e.name)}return this},v.prototype._getFormData=function(){return this._formData||(this._formData=new n.FormData),this._formData},v.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();const r=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit("error",t)),r(t,e)},v.prototype.crossDomainError=function(){const t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},v.prototype.buffer=v.prototype.ca=v.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},v.prototype.pipe=v.prototype.write=()=>{throw Error("Streaming is not supported in browser version of superagent")},v.prototype._isHost=function(t){return t&&"object"==typeof t&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},v.prototype.end=function(t){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||c,this._finalizeQueryString(),this._end()},v.prototype._end=function(){if(this._aborted)return this.callback(Error("The request has been aborted even before .end() was called"));const t=this,e=this.xhr=l.getXHR();let r=this._formData||this._data;this._setTimeouts(),e.onreadystatechange=()=>{const r=e.readyState;if(r>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4!=r)return;let n;try{n=e.status}catch(t){n=0}if(!n){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")};const n=(e,r)=>{r.total>0&&(r.percent=r.loaded/r.total*100),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{e.onprogress=n.bind(null,"download"),e.upload&&(e.upload.onprogress=n.bind(null,"upload"))}catch(t){}try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(t){return this.callback(t)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof r&&!this._isHost(r)){const t=this._header["content-type"];let e=this._serializer||l.serialize[t?t.split(";")[0]:""];!e&&m(t)&&(e=l.serialize["application/json"]),e&&(r=e(r))}for(const t in this.header)null!=this.header[t]&&this.header.hasOwnProperty(t)&&e.setRequestHeader(t,this.header[t]);this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0!==r?r:null)},l.agent=()=>new u,["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((t=>{u.prototype[t.toLowerCase()]=function(e,r){const n=new l.Request(t,e);return this._setDefaults(n),r&&n.end(r),n}})),u.prototype.del=u.prototype.delete,l.get=(t,e,r)=>{const n=l("GET",t);return"function"==typeof e&&(r=e,e=null),e&&n.query(e),r&&n.end(r),n},l.head=(t,e,r)=>{const n=l("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&n.query(e),r&&n.end(r),n},l.options=(t,e,r)=>{const n=l("OPTIONS",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},l.del=b,l.delete=b,l.patch=(t,e,r)=>{const n=l("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},l.post=(t,e,r)=>{const n=l("POST",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},l.put=(t,e,r)=>{const n=l("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n}},16426:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,r=[],n=0;n<t.rangeCount;n++)r.push(t.getRangeAt(n));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||r.forEach((function(e){t.addRange(e)})),e&&e.focus()}}},19450:function(t,e,r){"use strict";const n=r(33048);function o(t){if(t)return function(t){for(const e in o.prototype)t[e]=o.prototype[e];return t}(t)}t.exports=o,o.prototype.get=function(t){return this.header[t.toLowerCase()]},o.prototype._setHeaderProperties=function(t){const e=t["content-type"]||"";this.type=n.type(e);const r=n.params(e);for(const t in r)this[t]=r[t];this.links={};try{t.link&&(this.links=n.parseLinks(t.link))}catch(t){}},o.prototype._setStatusProperties=function(t){const e=t/100|0;this.status=this.statusCode=t,this.statusType=e,this.info=1==e,this.ok=2==e,this.redirect=3==e,this.clientError=4==e,this.serverError=5==e,this.error=(4==e||5==e)&&this.toError(),this.created=201==t,this.accepted=202==t,this.noContent=204==t,this.badRequest=400==t,this.unauthorized=401==t,this.notAcceptable=406==t,this.forbidden=403==t,this.notFound=404==t,this.unprocessableEntity=422==t}},19735:function(t,e,r){"use strict";r.d(e,{BC:function(){return m},Bq:function(){return s},FK:function(){return p},HC:function(){return c},HT:function(){return o},K5:function(){return l},YW:function(){return u},b2:function(){return f},c1:function(){return d},kg:function(){return y},kp:function(){return i},tW:function(){return a},tn:function(){return n},wN:function(){return h}});var n=Math.abs,o=String.fromCharCode,i=Object.assign;function a(t,e){return 45^h(t,0)?(((e<<2^h(t,0))<<2^h(t,1))<<2^h(t,2))<<2^h(t,3):0}function s(t){return t.trim()}function u(t,e){return(t=e.exec(t))?t[0]:t}function c(t,e,r){return t.replace(e,r)}function l(t,e){return t.indexOf(e)}function h(t,e){return 0|t.charCodeAt(e)}function d(t,e,r){return t.slice(e,r)}function f(t){return t.length}function p(t){return t.length}function m(t,e){return e.push(t),t}function y(t,e){return t.map(e).join("")}},24534:function(t,e,r){"use strict";r.d(e,{IO:function(){return h},LU:function(){return u},MS:function(){return n},Sv:function(){return l},XZ:function(){return s},YK:function(){return a},j:function(){return i},vd:function(){return o},yE:function(){return c}});var n="-ms-",o="-moz-",i="-webkit-",a="comm",s="rule",u="decl",c="@import",l="@keyframes",h="@layer"},27214:function(t,e,r){var n=r(49879);t.exports=function(t){return n(t).replace(/[\W_]+(.|$)/g,(function(t,e){return e?" "+e:""})).trim()}},31635:function(t,e,r){"use strict";function n(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function s(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))}function o(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function i(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function a(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t}r.d(e,{YH:function(){return o},gz:function(){return a},sH:function(){return n},zs:function(){return i}}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},31948:function(t,e,r){"use strict";const n=r(85125);function o(t){if(t)return function(t){for(const e in o.prototype)t[e]=o.prototype[e];return t}(t)}t.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},o.prototype.parse=function(t){return this._parser=t,this},o.prototype.responseType=function(t){return this._responseType=t,this},o.prototype.serialize=function(t){return this._serializer=t,this},o.prototype.timeout=function(t){if(!t||"object"!=typeof t)return this._timeout=t,this._responseTimeout=0,this;for(const e in t)switch(e){case"deadline":this._timeout=t.deadline;break;case"response":this._responseTimeout=t.response;break;default:console.warn("Unknown timeout option",e)}return this},o.prototype.retry=function(t,e){return 0!==arguments.length&&!0!==t||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};const i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];o.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{const r=this._retryCallback(t,e);if(!0===r)return!0;if(!1===r)return!1}catch(t){console.error(t)}if(e&&e.status&&e.status>=500&&501!=e.status)return!0;if(t){if(t.code&&~i.indexOf(t.code))return!0;if(t.timeout&&"ECONNABORTED"==t.code)return!0;if(t.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},o.prototype.then=function(t,e){if(!this._fullfilledPromise){const t=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(((e,r)=>{t.on("error",r),t.on("abort",(()=>{const t=new Error("Aborted");t.code="ABORTED",t.status=this.status,t.method=this.method,t.url=this.url,r(t)})),t.end(((t,n)=>{t?r(t):e(n)}))}))}return this._fullfilledPromise.then(t,e)},o.prototype.catch=function(t){return this.then(void 0,t)},o.prototype.use=function(t){return t(this),this},o.prototype.ok=function(t){if("function"!=typeof t)throw Error("Callback required");return this._okCallback=t,this},o.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},o.prototype.get=function(t){return this._header[t.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(t,e){if(n(t)){for(const e in t)this.set(e,t[e]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},o.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},o.prototype.field=function(t,e){if(null==t)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(n(t)){for(const e in t)this.field(e,t[e]);return this}if(Array.isArray(e)){for(const r in e)this.field(t,e[r]);return this}if(null==e)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof e&&(e=""+e),this._getFormData().append(t,e),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(t,e,r,n){switch(r.type){case"basic":this.set("Authorization",`Basic ${n(`${t}:${e}`)}`);break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization",`Bearer ${t}`)}return this},o.prototype.withCredentials=function(t){return null==t&&(t=!0),this._withCredentials=t,this},o.prototype.redirects=function(t){return this._maxRedirects=t,this},o.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw TypeError("Invalid argument");return this._maxResponseSize=t,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(t){const e=n(t);let r=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(e&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(e&&n(this._data))for(const e in t)this._data[e]=t[e];else"string"==typeof t?(r||this.type("form"),r=this._header["content-type"],this._data="application/x-www-form-urlencoded"==r?this._data?`${this._data}&${t}`:t:(this._data||"")+t):this._data=t;return!e||this._isHost(t)||r||this.type("json"),this},o.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},o.prototype._finalizeQueryString=function(){const t=this._query.join("&");if(t&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+t),this._query.length=0,this._sort){const t=this.url.indexOf("?");if(t>=0){const e=this.url.substring(t+1).split("&");"function"==typeof this._sort?e.sort(this._sort):e.sort(),this.url=this.url.substring(0,t)+"?"+e.join("&")}}},o.prototype._appendQueryString=()=>{console.trace("Unsupported")},o.prototype._timeoutError=function(t,e,r){if(this._aborted)return;const n=new Error(`${t+e}ms exceeded`);n.timeout=e,n.code="ECONNABORTED",n.errno=r,this.timedout=!0,this.abort(),this.callback(n)},o.prototype._setTimeouts=function(){const t=this;this._timeout&&!this._timer&&(this._timer=setTimeout((()=>{t._timeoutError("Timeout of ",t._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((()=>{t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},33048:function(t,e){"use strict";e.type=t=>t.split(/ *; */).shift(),e.params=t=>t.split(/ *; */).reduce(((t,e)=>{const r=e.split(/ *= */),n=r.shift(),o=r.shift();return n&&o&&(t[n]=o),t}),{}),e.parseLinks=t=>t.split(/ *, */).reduce(((t,e)=>{const r=e.split(/ *; */),n=r[0].slice(1,-1);return t[r[1].split(/ *= */)[1].slice(1,-1)]=n,t}),{}),e.cleanHeader=(t,e)=>(delete t["content-type"],delete t["content-length"],delete t["transfer-encoding"],delete t.host,e&&(delete t.authorization,delete t.cookie),t)},40390:function(t,e,r){"use strict";r.d(e,{C:function(){return h},Cv:function(){return R},G1:function(){return s},K2:function(){return p},Nc:function(){return x},OW:function(){return y},Sh:function(){return b},Tb:function(){return _},Tp:function(){return d},VF:function(){return w},YL:function(){return f},c4:function(){return g},di:function(){return v},mw:function(){return E},nf:function(){return k},rH:function(){return l},se:function(){return m}});var n=r(19735),o=1,i=1,a=0,s=0,u=0,c="";function l(t,e,r,n,a,s,u){return{value:t,root:e,parent:r,type:n,props:a,children:s,line:o,column:i,length:u,return:""}}function h(t,e){return(0,n.kp)(l("",null,null,"",null,null,0),t,{length:-t.length},e)}function d(){return u}function f(){return u=s>0?(0,n.wN)(c,--s):0,i--,10===u&&(i=1,o--),u}function p(){return u=s<a?(0,n.wN)(c,s++):0,i++,10===u&&(i=1,o++),u}function m(){return(0,n.wN)(c,s)}function y(){return s}function v(t,e){return(0,n.c1)(c,t,e)}function b(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function g(t){return o=i=1,a=(0,n.b2)(c=t),s=0,[]}function w(t){return c="",t}function _(t){return(0,n.Bq)(v(s-1,T(91===t?t+2:40===t?t+1:t)))}function E(t){for(;(u=m())&&u<33;)p();return b(t)>2||b(u)>3?"":" "}function x(t,e){for(;--e&&p()&&!(u<48||u>102||u>57&&u<65||u>70&&u<97););return v(t,y()+(e<6&&32==m()&&32==p()))}function T(t){for(;p();)switch(u){case t:return s;case 34:case 39:34!==t&&39!==t&&T(u);break;case 40:41===t&&T(t);break;case 92:p()}return s}function k(t,e){for(;p()&&t+u!==57&&(t+u!==84||47!==m()););return"/*"+v(e,s-1)+"*"+(0,n.HT)(47===t?t:p())}function R(t){for(;!b(m());)p();return v(t,s)}},43591:function(t,e,r){"use strict";var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,n){return t[0]===e&&(r=n,!0)})),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t){var e=!1,r=!1,n=0;function o(){e&&(e=!1,t()),r&&s()}function i(){a(o)}function s(){var t=Date.now();if(e){if(t-n<2)return;r=!0}else e=!0,r=!1,setTimeout(i,20);n=t}return s}(this.refresh.bind(this))}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e;s.some((function(t){return!!~r.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},d=v(0,0,0,0);function f(t){return parseFloat(t)||0}function p(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+f(t["border-"+r+"-width"])}),0)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?m(t)?function(t){var e=t.getBBox();return v(0,0,e.width,e.height)}(t):function(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return d;var n=h(t).getComputedStyle(t),o=function(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=t["padding-"+o];e[o]=f(i)}return e}(n),i=o.left+o.right,a=o.top+o.bottom,s=f(n.width),u=f(n.height);if("border-box"===n.boxSizing&&(Math.round(s+i)!==e&&(s-=p(n,"left","right")+i),Math.round(u+a)!==r&&(u-=p(n,"top","bottom")+a)),!function(t){return t===h(t).document.documentElement}(t)){var c=Math.round(s+i)-e,l=Math.round(u+a)-r;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return v(o.left,o.top,s,u)}(t):d}function v(t,e,r,n){return{x:t,y:e,width:r,height:n}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),g=function(t,e){var r,n,o,i,a,s,u,c=(n=(r=e).x,o=r.y,i=r.width,a=r.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:n,y:o,width:i,height:a,top:o,right:n+i,bottom:a+o,left:n}),u);l(this,{target:t,contentRect:c})},w=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new g(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),_="undefined"!=typeof WeakMap?new WeakMap:new n,E=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=c.getInstance(),n=new w(e,r,this);_.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){E.prototype[t]=function(){var e;return(e=_.get(this))[t].apply(e,arguments)}}));var x=void 0!==i.ResizeObserver?i.ResizeObserver:E;e.A=x},45588:function(t,e,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n.apply(this,arguments)}var o;r.d(e,{AO:function(){return h},B6:function(){return A},Gh:function(){return H},HS:function(){return U},Oi:function(){return s},Rr:function(){return d},TM:function(){return a},VV:function(){return N},aE:function(){return rt},pX:function(){return F},pb:function(){return M},rc:function(){return o},ro:function(){return b},tH:function(){return B},ue:function(){return y},yD:function(){return j}}),function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(t){return void 0===t&&(t={}),function(t,e,r,a){void 0===a&&(a={});let{window:u=document.defaultView,v5Compat:d=!1}=a,f=u.history,p=o.Pop,m=null,y=v();function v(){return(f.state||{idx:null}).idx}function b(){p=o.Pop;let t=v(),e=null==t?null:t-y;y=t,m&&m({action:p,location:w.location,delta:e})}function g(t){let e="null"!==u.location.origin?u.location.origin:u.location.href,r="string"==typeof t?t:h(t);return r=r.replace(/ $/,"%20"),s(e,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,e)}null==y&&(y=0,f.replaceState(n({},f.state,{idx:y}),""));let w={get action(){return p},get location(){return t(u,f)},listen(t){if(m)throw new Error("A history only accepts one active listener");return u.addEventListener(i,b),m=t,()=>{u.removeEventListener(i,b),m=null}},createHref(t){return e(u,t)},createURL:g,encodeLocation(t){let e=g(t);return{pathname:e.pathname,search:e.search,hash:e.hash}},push:function(t,e){p=o.Push;let n=l(w.location,t,e);r&&r(n,t),y=v()+1;let i=c(n,y),a=w.createHref(n);try{f.pushState(i,"",a)}catch(t){if(t instanceof DOMException&&"DataCloneError"===t.name)throw t;u.location.assign(a)}d&&m&&m({action:p,location:w.location,delta:1})},replace:function(t,e){p=o.Replace;let n=l(w.location,t,e);r&&r(n,t),y=v();let i=c(n,y),a=w.createHref(n);f.replaceState(i,"",a),d&&m&&m({action:p,location:w.location,delta:0})},go(t){return f.go(t)}};return w}((function(t,e){let{pathname:r="/",search:n="",hash:o=""}=d(t.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),l("",{pathname:r,search:n,hash:o},e.state&&e.state.usr||null,e.state&&e.state.key||"default")}),(function(t,e){let r=t.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let e=t.location.href,r=e.indexOf("#");n=-1===r?e:e.slice(0,r)}return n+"#"+("string"==typeof e?e:h(e))}),(function(t,e){u("/"===t.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(e)+")")}),t)}function s(t,e){if(!1===t||null==t)throw new Error(e)}function u(t,e){if(!t){"undefined"!=typeof console&&console.warn(e);try{throw new Error(e)}catch(t){}}}function c(t,e){return{usr:t.state,key:t.key,idx:e}}function l(t,e,r,o){return void 0===r&&(r=null),n({pathname:"string"==typeof t?t:t.pathname,search:"",hash:""},"string"==typeof e?d(e):e,{state:r,key:e&&e.key||o||Math.random().toString(36).substr(2,8)})}function h(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&"?"!==r&&(e+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function d(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}var f;!function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"}(f||(f={}));const p=new Set(["lazy","caseSensitive","path","id","index","children"]);function m(t,e,r,o){return void 0===r&&(r=[]),void 0===o&&(o={}),t.map(((t,i)=>{let a=[...r,String(i)],u="string"==typeof t.id?t.id:a.join("-");if(s(!0!==t.index||!t.children,"Cannot specify children on an index route"),s(!o[u],'Found a route id collision on id "'+u+"\". Route id's must be globally unique within Data Router usages"),function(t){return!0===t.index}(t)){let r=n({},t,e(t),{id:u});return o[u]=r,r}{let r=n({},t,e(t),{id:u,children:void 0});return o[u]=r,t.children&&(r.children=m(t.children,e,a,o)),r}}))}function y(t,e,r){return void 0===r&&(r="/"),v(t,e,r,!1)}function v(t,e,r,n){let o=M(("string"==typeof e?d(e):e).pathname||"/",r);if(null==o)return null;let i=g(t);!function(t){t.sort(((t,e)=>t.score!==e.score?e.score-t.score:function(t,e){return t.length===e.length&&t.slice(0,-1).every(((t,r)=>t===e[r]))?t[t.length-1]-e[e.length-1]:0}(t.routesMeta.map((t=>t.childrenIndex)),e.routesMeta.map((t=>t.childrenIndex)))))}(i);let a=null;for(let t=0;null==a&&t<i.length;++t){let e=C(o);a=O(i[t],e,n)}return a}function b(t,e){let{route:r,pathname:n,params:o}=t;return{id:r.id,pathname:n,params:o,data:e[r.id],handle:r.handle}}function g(t,e,r,n){void 0===e&&(e=[]),void 0===r&&(r=[]),void 0===n&&(n="");let o=(t,o,i)=>{let a={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(n),'Absolute route path "'+a.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(n.length));let u=U([n,a.relativePath]),c=r.concat(a);t.children&&t.children.length>0&&(s(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),g(t.children,e,c,u)),(null!=t.path||t.index)&&e.push({path:u,score:D(u,t.index),routesMeta:c})};return t.forEach(((t,e)=>{var r;if(""!==t.path&&null!=(r=t.path)&&r.includes("?"))for(let r of w(t.path))o(t,e,r);else o(t,e)})),e}function w(t){let e=t.split("/");if(0===e.length)return[];let[r,...n]=e,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(0===n.length)return o?[i,""]:[i];let a=w(n.join("/")),s=[];return s.push(...a.map((t=>""===t?i:[i,t].join("/")))),o&&s.push(...a),s.map((e=>t.startsWith("/")&&""===e?"/":e))}const _=/^:[\w-]+$/,E=3,x=2,T=1,k=10,R=-2,S=t=>"*"===t;function D(t,e){let r=t.split("/"),n=r.length;return r.some(S)&&(n+=R),e&&(n+=x),r.filter((t=>!S(t))).reduce(((t,e)=>t+(_.test(e)?E:""===e?T:k)),n)}function O(t,e,r){void 0===r&&(r=!1);let{routesMeta:n}=t,o={},i="/",a=[];for(let t=0;t<n.length;++t){let s=n[t],u=t===n.length-1,c="/"===i?e:e.slice(i.length)||"/",l=A({path:s.relativePath,caseSensitive:s.caseSensitive,end:u},c),h=s.route;if(!l&&u&&r&&!n[n.length-1].route.index&&(l=A({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!l)return null;Object.assign(o,l.params),a.push({params:o,pathname:U([i,l.pathname]),pathnameBase:I(U([i,l.pathnameBase])),route:h}),"/"!==l.pathnameBase&&(i=U([i,l.pathnameBase]))}return a}function A(t,e){"string"==typeof t&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=function(t,e,r){void 0===e&&(e=!1),void 0===r&&(r=!0),u("*"===t||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were "'+t.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+t.replace(/\*$/,"/*")+'".');let n=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((t,e,r)=>(n.push({paramName:e,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));return t.endsWith("*")?(n.push({paramName:"*"}),o+="*"===t||"/*"===t?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==t&&"/"!==t&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),n]}(t.path,t.caseSensitive,t.end),o=e.match(r);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce(((t,e,r)=>{let{paramName:n,isOptional:o}=e;if("*"===n){let t=s[r]||"";a=i.slice(0,i.length-t.length).replace(/(.)\/+$/,"$1")}const u=s[r];return t[n]=o&&!u?void 0:(u||"").replace(/%2F/g,"/"),t}),{}),pathname:i,pathnameBase:a,pattern:t}}function C(t){try{return t.split("/").map((t=>decodeURIComponent(t).replace(/\//g,"%2F"))).join("/")}catch(e){return u(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+e+")."),t}}function M(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&"/"!==n?null:t.slice(r)||"/"}function P(t,e,r,n){return"Cannot include a '"+t+"' character in a manually specified `to."+e+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function L(t){return t.filter(((t,e)=>0===e||t.route.path&&t.route.path.length>0))}function j(t,e){let r=L(t);return e?r.map(((t,e)=>e===r.length-1?t.pathname:t.pathnameBase)):r.map((t=>t.pathnameBase))}function H(t,e,r,o){let i;void 0===o&&(o=!1),"string"==typeof t?i=d(t):(i=n({},t),s(!i.pathname||!i.pathname.includes("?"),P("?","pathname","search",i)),s(!i.pathname||!i.pathname.includes("#"),P("#","pathname","hash",i)),s(!i.search||!i.search.includes("#"),P("#","search","hash",i)));let a,u=""===t||""===i.pathname,c=u?"/":i.pathname;if(null==c)a=r;else{let t=e.length-1;if(!o&&c.startsWith("..")){let e=c.split("/");for(;".."===e[0];)e.shift(),t-=1;i.pathname=e.join("/")}a=t>=0?e[t]:"/"}let l=function(t,e){void 0===e&&(e="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof t?d(t):t,i=r?r.startsWith("/")?r:function(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach((t=>{".."===t?r.length>1&&r.pop():"."!==t&&r.push(t)})),r.length>1?r.join("/"):"/"}(r,e):e;return{pathname:i,search:z(n),hash:q(o)}}(i,a),h=c&&"/"!==c&&c.endsWith("/"),f=(u||"."===c)&&r.endsWith("/");return l.pathname.endsWith("/")||!h&&!f||(l.pathname+="/"),l}const U=t=>t.join("/").replace(/\/\/+/g,"/"),I=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),z=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",q=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";class B extends Error{}class N{constructor(t,e,r,n){void 0===n&&(n=!1),this.status=t,this.statusText=e||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function F(t){return null!=t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"boolean"==typeof t.internal&&"data"in t}const W=["post","put","patch","delete"],$=new Set(W),X=["get",...W],K=new Set(X),Y=new Set([301,302,303,307,308]),G=new Set([307,308]),V={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},J={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Z={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Q=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,tt=t=>({hasErrorBoundary:Boolean(t.hasErrorBoundary)}),et="remix-router-transitions";function rt(t){const e=t.window?t.window:"undefined"!=typeof window?window:void 0,r=void 0!==e&&void 0!==e.document&&void 0!==e.document.createElement,i=!r;let a;if(s(t.routes.length>0,"You must provide a non-empty routes array to createRouter"),t.mapRouteProperties)a=t.mapRouteProperties;else if(t.detectErrorBoundary){let e=t.detectErrorBoundary;a=t=>({hasErrorBoundary:e(t)})}else a=tt;let c,h,d,g={},w=m(t.routes,a,void 0,g),_=t.basename||"/",E=t.dataStrategy||dt,x=t.patchRoutesOnNavigation,T=n({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},t.future),k=null,R=new Set,S=null,D=null,O=null,A=null!=t.hydrationData,C=y(w,t.history.location,_),P=!1,L=null;if(null==C&&!x){let e=Tt(404,{pathname:t.history.location.pathname}),{matches:r,route:n}=xt(w);C=r,L={[n.id]:e}}if(C&&!t.hydrationData&&le(C,w,t.history.location.pathname).active&&(C=null),C)if(C.some((t=>t.route.lazy)))h=!1;else if(C.some((t=>t.route.loader)))if(T.v7_partialHydration){let e=t.hydrationData?t.hydrationData.loaderData:null,r=t.hydrationData?t.hydrationData.errors:null;if(r){let t=C.findIndex((t=>void 0!==r[t.route.id]));h=C.slice(0,t+1).every((t=>!st(t.route,e,r)))}else h=C.every((t=>!st(t.route,e,r)))}else h=null!=t.hydrationData;else h=!0;else if(h=!1,C=[],T.v7_partialHydration){let e=le(null,w,t.history.location.pathname);e.active&&e.matches&&(P=!0,C=e.matches)}let j,H,U={historyAction:t.history.action,location:t.history.location,matches:C,initialized:h,navigation:V,restoreScrollPosition:null==t.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||L,fetchers:new Map,blockers:new Map},I=o.Pop,z=!1,q=!1,B=new Map,N=null,W=!1,$=!1,X=[],K=new Set,Y=new Map,rt=0,it=-1,ut=new Map,ct=new Set,ht=new Map,vt=new Map,bt=new Set,Rt=new Map,Ct=new Map;function Mt(t,e){void 0===e&&(e={}),U=n({},U,t);let r=[],o=[];T.v7_fetcherPersist&&U.fetchers.forEach(((t,e)=>{"idle"===t.state&&(bt.has(e)?o.push(e):r.push(e))})),bt.forEach((t=>{U.fetchers.has(t)||Y.has(t)||o.push(t)})),[...R].forEach((t=>t(U,{deletedFetchers:o,viewTransitionOpts:e.viewTransitionOpts,flushSync:!0===e.flushSync}))),T.v7_fetcherPersist?(r.forEach((t=>U.fetchers.delete(t))),o.forEach((t=>Zt(t)))):o.forEach((t=>bt.delete(t)))}function Ut(e,r,i){var a,s;let u,{flushSync:l}=void 0===i?{}:i,h=null!=U.actionData&&null!=U.navigation.formMethod&&Pt(U.navigation.formMethod)&&"loading"===U.navigation.state&&!0!==(null==(a=e.state)?void 0:a._isRedirect);u=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:h?U.actionData:null;let d=r.loaderData?wt(U.loaderData,r.loaderData,r.matches||[],r.errors):U.loaderData,f=U.blockers;f.size>0&&(f=new Map(f),f.forEach(((t,e)=>f.set(e,Z))));let p,m=!0===z||null!=U.navigation.formMethod&&Pt(U.navigation.formMethod)&&!0!==(null==(s=e.state)?void 0:s._isRedirect);if(c&&(w=c,c=void 0),W||I===o.Pop||(I===o.Push?t.history.push(e,e.state):I===o.Replace&&t.history.replace(e,e.state)),I===o.Pop){let t=B.get(U.location.pathname);t&&t.has(e.pathname)?p={currentLocation:U.location,nextLocation:e}:B.has(e.pathname)&&(p={currentLocation:e,nextLocation:U.location})}else if(q){let t=B.get(U.location.pathname);t?t.add(e.pathname):(t=new Set([e.pathname]),B.set(U.location.pathname,t)),p={currentLocation:U.location,nextLocation:e}}Mt(n({},r,{actionData:u,loaderData:d,historyAction:I,location:e,initialized:!0,navigation:V,revalidation:"idle",restoreScrollPosition:ce(e,r.matches||U.matches),preventScrollReset:m,blockers:f}),{viewTransitionOpts:p,flushSync:!0===l}),I=o.Pop,z=!1,q=!1,W=!1,$=!1,X=[]}async function Ft(e,r,i){j&&j.abort(),j=null,I=e,W=!0===(i&&i.startUninterruptedRevalidation),function(t,e){if(S&&O){let r=ue(t,e);S[r]=O()}}(U.location,U.matches),z=!0===(i&&i.preventScrollReset),q=!0===(i&&i.enableViewTransition);let a=c||w,s=i&&i.overrideNavigation,u=null!=i&&i.initialHydration&&U.matches&&U.matches.length>0&&!P?U.matches:y(a,r,_),l=!0===(i&&i.flushSync);if(u&&U.initialized&&!$&&(h=U.location,d=r,h.pathname===d.pathname&&h.search===d.search&&(""===h.hash?""!==d.hash:h.hash===d.hash||""!==d.hash))&&!(i&&i.submission&&Pt(i.submission.formMethod)))return void Ut(r,{matches:u},{flushSync:l});var h,d;let p=le(u,a,r.pathname);if(p.active&&p.matches&&(u=p.matches),!u){let{error:t,notFoundMatches:e,route:n}=ae(r.pathname);return void Ut(r,{matches:e,loaderData:{},errors:{[n.id]:t}},{flushSync:l})}j=new AbortController;let m,v=yt(t.history,r,j.signal,i&&i.submission);if(i&&i.pendingError)m=[Et(u).route.id,{type:f.error,error:i.pendingError}];else if(i&&i.submission&&Pt(i.submission.formMethod)){let e=await async function(t,e,r,n,i,a){void 0===a&&(a={}),Yt();let s,u=function(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}(e,r);if(Mt({navigation:u},{flushSync:!0===a.flushSync}),i){let r=await he(n,e.pathname,t.signal);if("aborted"===r.type)return{shortCircuited:!0};if("error"===r.type){let t=Et(r.partialMatches).route.id;return{matches:r.partialMatches,pendingActionResult:[t,{type:f.error,error:r.error}]}}if(!r.matches){let{notFoundMatches:t,error:r,route:n}=ae(e.pathname);return{matches:t,pendingActionResult:[n.id,{type:f.error,error:r}]}}n=r.matches}let c=It(n,e);if(c.route.action||c.route.lazy){if(s=(await Xt("action",U,t,[c],n,null))[c.route.id],t.signal.aborted)return{shortCircuited:!0}}else s={type:f.error,error:Tt(405,{method:t.method,pathname:e.pathname,routeId:c.route.id})};if(At(s)){let e;return e=a&&null!=a.replace?a.replace:mt(s.response.headers.get("Location"),new URL(t.url),_)===U.location.pathname+U.location.search,await $t(t,s,!0,{submission:r,replace:e}),{shortCircuited:!0}}if(Dt(s))throw Tt(400,{type:"defer-action"});if(Ot(s)){let t=Et(n,c.route.id);return!0!==(a&&a.replace)&&(I=o.Push),{matches:n,pendingActionResult:[t.route.id,s]}}return{matches:n,pendingActionResult:[c.route.id,s]}}(v,r,i.submission,u,p.active,{replace:i.replace,flushSync:l});if(e.shortCircuited)return;if(e.pendingActionResult){let[t,n]=e.pendingActionResult;if(Ot(n)&&F(n.error)&&404===n.error.status)return j=null,void Ut(r,{matches:e.matches,loaderData:{},errors:{[t]:n.error}})}u=e.matches||u,m=e.pendingActionResult,s=qt(r,i.submission),l=!1,p.active=!1,v=yt(t.history,v.url,v.signal)}let{shortCircuited:b,matches:g,loaderData:E,errors:x}=await async function(e,r,o,i,a,s,u,l,h,d,f){let p=a||qt(r,s),m=s||u||zt(p),y=!(W||T.v7_partialHydration&&h);if(i){if(y){let t=Wt(f);Mt(n({navigation:p},void 0!==t?{actionData:t}:{}),{flushSync:d})}let t=await he(o,r.pathname,e.signal);if("aborted"===t.type)return{shortCircuited:!0};if("error"===t.type){let e=Et(t.partialMatches).route.id;return{matches:t.partialMatches,loaderData:{},errors:{[e]:t.error}}}if(!t.matches){let{error:t,notFoundMatches:e,route:n}=ae(r.pathname);return{matches:e,loaderData:{},errors:{[n.id]:t}}}o=t.matches}let v=c||w,[b,g]=at(t.history,U,o,m,r,T.v7_partialHydration&&!0===h,T.v7_skipActionErrorRevalidation,$,X,K,bt,ht,ct,v,_,f);if(se((t=>!(o&&o.some((e=>e.route.id===t)))||b&&b.some((e=>e.route.id===t)))),it=++rt,0===b.length&&0===g.length){let t=ee();return Ut(r,n({matches:o,loaderData:{},errors:f&&Ot(f[1])?{[f[0]]:f[1].error}:null},_t(f),t?{fetchers:new Map(U.fetchers)}:{}),{flushSync:d}),{shortCircuited:!0}}if(y){let t={};if(!i){t.navigation=p;let e=Wt(f);void 0!==e&&(t.actionData=e)}g.length>0&&(t.fetchers=function(t){return t.forEach((t=>{let e=U.fetchers.get(t.key),r=Bt(void 0,e?e.data:void 0);U.fetchers.set(t.key,r)})),new Map(U.fetchers)}(g)),Mt(t,{flushSync:d})}g.forEach((t=>{Qt(t.key),t.controller&&Y.set(t.key,t.controller)}));let E=()=>g.forEach((t=>Qt(t.key)));j&&j.signal.addEventListener("abort",E);let{loaderResults:x,fetcherResults:k}=await Kt(U,o,b,g,e);if(e.signal.aborted)return{shortCircuited:!0};j&&j.signal.removeEventListener("abort",E),g.forEach((t=>Y.delete(t.key)));let R=kt(x);if(R)return await $t(e,R.result,!0,{replace:l}),{shortCircuited:!0};if(R=kt(k),R)return ct.add(R.key),await $t(e,R.result,!0,{replace:l}),{shortCircuited:!0};let{loaderData:S,errors:D}=gt(U,o,x,f,g,k,Rt);Rt.forEach(((t,e)=>{t.subscribe((r=>{(r||t.done)&&Rt.delete(e)}))})),T.v7_partialHydration&&h&&U.errors&&(D=n({},U.errors,D));let O=ee(),A=re(it),C=O||A||g.length>0;return n({matches:o,loaderData:S,errors:D},C?{fetchers:new Map(U.fetchers)}:{})}(v,r,u,p.active,s,i&&i.submission,i&&i.fetcherSubmission,i&&i.replace,i&&!0===i.initialHydration,l,m);b||(j=null,Ut(r,n({matches:g||u},_t(m),{loaderData:E,errors:x})))}function Wt(t){return t&&!Ot(t[1])?{[t[0]]:t[1].data}:U.actionData?0===Object.keys(U.actionData).length?null:U.actionData:void 0}async function $t(i,a,u,c){let{submission:h,fetcherSubmission:d,preventScrollReset:f,replace:p}=void 0===c?{}:c;a.response.headers.has("X-Remix-Revalidate")&&($=!0);let m=a.response.headers.get("Location");s(m,"Expected a Location header on the redirect Response"),m=mt(m,new URL(i.url),_);let y=l(U.location,m,{_isRedirect:!0});if(r){let r=!1;if(a.response.headers.has("X-Remix-Reload-Document"))r=!0;else if(Q.test(m)){const n=t.history.createURL(m);r=n.origin!==e.location.origin||null==M(n.pathname,_)}if(r)return void(p?e.location.replace(m):e.location.assign(m))}j=null;let v=!0===p||a.response.headers.has("X-Remix-Replace")?o.Replace:o.Push,{formMethod:b,formAction:g,formEncType:w}=U.navigation;!h&&!d&&b&&g&&w&&(h=zt(U.navigation));let E=h||d;if(G.has(a.response.status)&&E&&Pt(E.formMethod))await Ft(v,y,{submission:n({},E,{formAction:m}),preventScrollReset:f||z,enableViewTransition:u?q:void 0});else{let t=qt(y,h);await Ft(v,y,{overrideNavigation:t,fetcherSubmission:d,preventScrollReset:f||z,enableViewTransition:u?q:void 0})}}async function Xt(t,e,r,o,i,c){let l,h={};try{l=await async function(t,e,r,o,i,a,c,l,h,d){let m=a.map((t=>t.route.lazy?async function(t,e,r){if(!t.lazy)return;let o=await t.lazy();if(!t.lazy)return;let i=r[t.id];s(i,"No route found in manifest");let a={};for(let t in o){let e=void 0!==i[t]&&"hasErrorBoundary"!==t;u(!e,'Route "'+i.id+'" has a static property "'+t+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+t+'" will be ignored.'),e||p.has(t)||(a[t]=o[t])}Object.assign(i,a),Object.assign(i,n({},e(i),{lazy:void 0}))}(t.route,h,l):void 0)),y=a.map(((t,r)=>{let a=m[r],u=i.some((e=>e.route.id===t.route.id));return n({},t,{shouldLoad:u,resolve:async r=>(r&&"GET"===o.method&&(t.route.lazy||t.route.loader)&&(u=!0),u?async function(t,e,r,n,o,i){let a,u,c=n=>{let a,s=new Promise(((t,e)=>a=e));u=()=>a(),e.signal.addEventListener("abort",u);let c=o=>"function"!=typeof n?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+t+'" [routeId: '+r.route.id+"]")):n({request:e,params:r.params,context:i},...void 0!==o?[o]:[]),l=(async()=>{try{return{type:"data",result:await(o?o((t=>c(t))):c())}}catch(t){return{type:"error",result:t}}})();return Promise.race([l,s])};try{let o=r.route[t];if(n)if(o){let t,[e]=await Promise.all([c(o).catch((e=>{t=e})),n]);if(void 0!==t)throw t;a=e}else{if(await n,o=r.route[t],!o){if("action"===t){let t=new URL(e.url),n=t.pathname+t.search;throw Tt(405,{method:e.method,pathname:n,routeId:r.route.id})}return{type:f.data,result:void 0}}a=await c(o)}else{if(!o){let t=new URL(e.url);throw Tt(404,{pathname:t.pathname+t.search})}a=await c(o)}s(void 0!==a.result,"You defined "+("action"===t?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+t+"` function. Please return a value or `null`.")}catch(t){return{type:f.error,result:t}}finally{u&&e.signal.removeEventListener("abort",u)}return a}(e,o,t,a,r,d):Promise.resolve({type:f.data,result:void 0}))})})),v=await t({matches:y,request:o,params:a[0].params,fetcherKey:c,context:d});try{await Promise.all(m)}catch(t){}return v}(E,t,0,r,o,i,c,g,a)}catch(t){return o.forEach((e=>{h[e.route.id]={type:f.error,error:t}})),h}for(let[t,e]of Object.entries(l))if(St(e)){let n=e.result;h[t]={type:f.redirect,response:pt(n,r,t,i,_,T.v7_relativeSplatPath)}}else h[t]=await ft(e);return h}async function Kt(e,r,n,o,i){let a=e.matches,s=Xt("loader",0,i,n,r,null),u=Promise.all(o.map((async e=>{if(e.matches&&e.match&&e.controller){let r=(await Xt("loader",0,yt(t.history,e.path,e.controller.signal),[e.match],e.matches,e.key))[e.match.route.id];return{[e.key]:r}}return Promise.resolve({[e.key]:{type:f.error,error:Tt(404,{pathname:e.path})}})}))),c=await s,l=(await u).reduce(((t,e)=>Object.assign(t,e)),{});return await Promise.all([Lt(r,c,i.signal,a,e.loaderData),jt(r,l,o)]),{loaderResults:c,fetcherResults:l}}function Yt(){$=!0,X.push(...se()),ht.forEach(((t,e)=>{Y.has(e)&&K.add(e),Qt(e)}))}function Gt(t,e,r){void 0===r&&(r={}),U.fetchers.set(t,e),Mt({fetchers:new Map(U.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Vt(t,e,r,n){void 0===n&&(n={});let o=Et(U.matches,e);Zt(t),Mt({errors:{[o.route.id]:r},fetchers:new Map(U.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function Jt(t){return vt.set(t,(vt.get(t)||0)+1),bt.has(t)&&bt.delete(t),U.fetchers.get(t)||J}function Zt(t){let e=U.fetchers.get(t);!Y.has(t)||e&&"loading"===e.state&&ut.has(t)||Qt(t),ht.delete(t),ut.delete(t),ct.delete(t),T.v7_fetcherPersist&&bt.delete(t),K.delete(t),U.fetchers.delete(t)}function Qt(t){let e=Y.get(t);e&&(e.abort(),Y.delete(t))}function te(t){for(let e of t){let t=Nt(Jt(e).data);U.fetchers.set(e,t)}}function ee(){let t=[],e=!1;for(let r of ct){let n=U.fetchers.get(r);s(n,"Expected fetcher: "+r),"loading"===n.state&&(ct.delete(r),t.push(r),e=!0)}return te(t),e}function re(t){let e=[];for(let[r,n]of ut)if(n<t){let t=U.fetchers.get(r);s(t,"Expected fetcher: "+r),"loading"===t.state&&(Qt(r),ut.delete(r),e.push(r))}return te(e),e.length>0}function ne(t){U.blockers.delete(t),Ct.delete(t)}function oe(t,e){let r=U.blockers.get(t)||Z;s("unblocked"===r.state&&"blocked"===e.state||"blocked"===r.state&&"blocked"===e.state||"blocked"===r.state&&"proceeding"===e.state||"blocked"===r.state&&"unblocked"===e.state||"proceeding"===r.state&&"unblocked"===e.state,"Invalid blocker state transition: "+r.state+" -> "+e.state);let n=new Map(U.blockers);n.set(t,e),Mt({blockers:n})}function ie(t){let{currentLocation:e,nextLocation:r,historyAction:n}=t;if(0===Ct.size)return;Ct.size>1&&u(!1,"A router only supports one blocker at a time");let o=Array.from(Ct.entries()),[i,a]=o[o.length-1],s=U.blockers.get(i);return s&&"proceeding"===s.state?void 0:a({currentLocation:e,nextLocation:r,historyAction:n})?i:void 0}function ae(t){let e=Tt(404,{pathname:t}),r=c||w,{matches:n,route:o}=xt(r);return se(),{notFoundMatches:n,route:o,error:e}}function se(t){let e=[];return Rt.forEach(((r,n)=>{t&&!t(n)||(r.cancel(),e.push(n),Rt.delete(n))})),e}function ue(t,e){return D&&D(t,e.map((t=>b(t,U.loaderData))))||t.key}function ce(t,e){if(S){let r=ue(t,e),n=S[r];if("number"==typeof n)return n}return null}function le(t,e,r){if(x){if(!t)return{active:!0,matches:v(e,r,_,!0)||[]};if(Object.keys(t[0].params).length>0)return{active:!0,matches:v(e,r,_,!0)}}return{active:!1,matches:null}}async function he(t,e,r,n){if(!x)return{type:"success",matches:t};let o=t;for(;;){let t=null==c,i=c||w,s=g;try{await x({signal:r,path:e,matches:o,fetcherKey:n,patch:(t,e)=>{r.aborted||lt(t,e,i,s,a)}})}catch(t){return{type:"error",error:t,partialMatches:o}}finally{t&&!r.aborted&&(w=[...w])}if(r.aborted)return{type:"aborted"};let u=y(i,e,_);if(u)return{type:"success",matches:u};let l=v(i,e,_,!0);if(!l||o.length===l.length&&o.every(((t,e)=>t.route.id===l[e].route.id)))return{type:"success",matches:null};o=l}}return d={get basename(){return _},get future(){return T},get state(){return U},get routes(){return w},get window(){return e},initialize:function(){if(k=t.history.listen((e=>{let{action:r,location:n,delta:o}=e;if(H)return H(),void(H=void 0);u(0===Ct.size||null!=o,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let i=ie({currentLocation:U.location,nextLocation:n,historyAction:r});if(i&&null!=o){let e=new Promise((t=>{H=t}));return t.history.go(-1*o),void oe(i,{state:"blocked",location:n,proceed(){oe(i,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),e.then((()=>t.history.go(o)))},reset(){let t=new Map(U.blockers);t.set(i,Z),Mt({blockers:t})}})}return Ft(r,n)})),r){!function(t,e){try{let r=t.sessionStorage.getItem(et);if(r){let t=JSON.parse(r);for(let[r,n]of Object.entries(t||{}))n&&Array.isArray(n)&&e.set(r,new Set(n||[]))}}catch(t){}}(e,B);let t=()=>function(t,e){if(e.size>0){let r={};for(let[t,n]of e)r[t]=[...n];try{t.sessionStorage.setItem(et,JSON.stringify(r))}catch(t){u(!1,"Failed to save applied view transitions in sessionStorage ("+t+").")}}}(e,B);e.addEventListener("pagehide",t),N=()=>e.removeEventListener("pagehide",t)}return U.initialized||Ft(o.Pop,U.location,{initialHydration:!0}),d},subscribe:function(t){return R.add(t),()=>R.delete(t)},enableScrollRestoration:function(t,e,r){if(S=t,O=e,D=r||null,!A&&U.navigation===V){A=!0;let t=ce(U.location,U.matches);null!=t&&Mt({restoreScrollPosition:t})}return()=>{S=null,O=null,D=null}},navigate:async function e(r,i){if("number"==typeof r)return void t.history.go(r);let a=nt(U.location,U.matches,_,T.v7_prependBasename,r,T.v7_relativeSplatPath,null==i?void 0:i.fromRouteId,null==i?void 0:i.relative),{path:s,submission:u,error:c}=ot(T.v7_normalizeFormMethod,!1,a,i),h=U.location,d=l(U.location,s,i&&i.state);d=n({},d,t.history.encodeLocation(d));let f=i&&null!=i.replace?i.replace:void 0,p=o.Push;!0===f?p=o.Replace:!1===f||null!=u&&Pt(u.formMethod)&&u.formAction===U.location.pathname+U.location.search&&(p=o.Replace);let m=i&&"preventScrollReset"in i?!0===i.preventScrollReset:void 0,y=!0===(i&&i.flushSync),v=ie({currentLocation:h,nextLocation:d,historyAction:p});if(!v)return await Ft(p,d,{submission:u,pendingError:c,preventScrollReset:m,replace:i&&i.replace,enableViewTransition:i&&i.viewTransition,flushSync:y});oe(v,{state:"blocked",location:d,proceed(){oe(v,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),e(r,i)},reset(){let t=new Map(U.blockers);t.set(v,Z),Mt({blockers:t})}})},fetch:function(e,r,n,o){if(i)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Qt(e);let a=!0===(o&&o.flushSync),u=c||w,l=nt(U.location,U.matches,_,T.v7_prependBasename,n,T.v7_relativeSplatPath,r,null==o?void 0:o.relative),h=y(u,l,_),d=le(h,u,l);if(d.active&&d.matches&&(h=d.matches),!h)return void Vt(e,r,Tt(404,{pathname:l}),{flushSync:a});let{path:f,submission:p,error:m}=ot(T.v7_normalizeFormMethod,!0,l,o);if(m)return void Vt(e,r,m,{flushSync:a});let v=It(h,f),b=!0===(o&&o.preventScrollReset);p&&Pt(p.formMethod)?async function(e,r,n,o,i,a,u,l,h){function d(t){if(!t.route.action&&!t.route.lazy){let t=Tt(405,{method:h.formMethod,pathname:n,routeId:r});return Vt(e,r,t,{flushSync:u}),!0}return!1}if(Yt(),ht.delete(e),!a&&d(o))return;let f=U.fetchers.get(e);Gt(e,function(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}(h,f),{flushSync:u});let p=new AbortController,m=yt(t.history,n,p.signal,h);if(a){let t=await he(i,new URL(m.url).pathname,m.signal,e);if("aborted"===t.type)return;if("error"===t.type)return void Vt(e,r,t.error,{flushSync:u});if(!t.matches)return void Vt(e,r,Tt(404,{pathname:n}),{flushSync:u});if(d(o=It(i=t.matches,n)))return}Y.set(e,p);let v=rt,b=(await Xt("action",0,m,[o],i,e))[o.route.id];if(m.signal.aborted)return void(Y.get(e)===p&&Y.delete(e));if(T.v7_fetcherPersist&&bt.has(e)){if(At(b)||Ot(b))return void Gt(e,Nt(void 0))}else{if(At(b))return Y.delete(e),it>v?void Gt(e,Nt(void 0)):(ct.add(e),Gt(e,Bt(h)),$t(m,b,!1,{fetcherSubmission:h,preventScrollReset:l}));if(Ot(b))return void Vt(e,r,b.error)}if(Dt(b))throw Tt(400,{type:"defer-action"});let g=U.navigation.location||U.location,E=yt(t.history,g,p.signal),x=c||w,k="idle"!==U.navigation.state?y(x,U.navigation.location,_):U.matches;s(k,"Didn't find any matches after fetcher action");let R=++rt;ut.set(e,R);let S=Bt(h,b.data);U.fetchers.set(e,S);let[D,O]=at(t.history,U,k,h,g,!1,T.v7_skipActionErrorRevalidation,$,X,K,bt,ht,ct,x,_,[o.route.id,b]);O.filter((t=>t.key!==e)).forEach((t=>{let e=t.key,r=U.fetchers.get(e),n=Bt(void 0,r?r.data:void 0);U.fetchers.set(e,n),Qt(e),t.controller&&Y.set(e,t.controller)})),Mt({fetchers:new Map(U.fetchers)});let A=()=>O.forEach((t=>Qt(t.key)));p.signal.addEventListener("abort",A);let{loaderResults:C,fetcherResults:M}=await Kt(U,k,D,O,E);if(p.signal.aborted)return;p.signal.removeEventListener("abort",A),ut.delete(e),Y.delete(e),O.forEach((t=>Y.delete(t.key)));let P=kt(C);if(P)return $t(E,P.result,!1,{preventScrollReset:l});if(P=kt(M),P)return ct.add(P.key),$t(E,P.result,!1,{preventScrollReset:l});let{loaderData:L,errors:H}=gt(U,k,C,void 0,O,M,Rt);if(U.fetchers.has(e)){let t=Nt(b.data);U.fetchers.set(e,t)}re(R),"loading"===U.navigation.state&&R>it?(s(I,"Expected pending action"),j&&j.abort(),Ut(U.navigation.location,{matches:k,loaderData:L,errors:H,fetchers:new Map(U.fetchers)})):(Mt({errors:H,loaderData:wt(U.loaderData,L,k,H),fetchers:new Map(U.fetchers)}),$=!1)}(e,r,f,v,h,d.active,a,b,p):(ht.set(e,{routeId:r,path:f}),async function(e,r,n,o,i,a,u,c,l){let h=U.fetchers.get(e);Gt(e,Bt(l,h?h.data:void 0),{flushSync:u});let d=new AbortController,f=yt(t.history,n,d.signal);if(a){let t=await he(i,new URL(f.url).pathname,f.signal,e);if("aborted"===t.type)return;if("error"===t.type)return void Vt(e,r,t.error,{flushSync:u});if(!t.matches)return void Vt(e,r,Tt(404,{pathname:n}),{flushSync:u});o=It(i=t.matches,n)}Y.set(e,d);let p=rt,m=(await Xt("loader",0,f,[o],i,e))[o.route.id];if(Dt(m)&&(m=await Ht(m,f.signal,!0)||m),Y.get(e)===d&&Y.delete(e),!f.signal.aborted){if(!bt.has(e))return At(m)?it>p?void Gt(e,Nt(void 0)):(ct.add(e),void await $t(f,m,!1,{preventScrollReset:c})):void(Ot(m)?Vt(e,r,m.error):(s(!Dt(m),"Unhandled fetcher deferred data"),Gt(e,Nt(m.data))));Gt(e,Nt(void 0))}}(e,r,f,v,h,d.active,a,b,p))},revalidate:function(){Yt(),Mt({revalidation:"loading"}),"submitting"!==U.navigation.state&&("idle"!==U.navigation.state?Ft(I||U.historyAction,U.navigation.location,{overrideNavigation:U.navigation,enableViewTransition:!0===q}):Ft(U.historyAction,U.location,{startUninterruptedRevalidation:!0}))},createHref:e=>t.history.createHref(e),encodeLocation:e=>t.history.encodeLocation(e),getFetcher:Jt,deleteFetcher:function(t){let e=(vt.get(t)||0)-1;e<=0?(vt.delete(t),bt.add(t),T.v7_fetcherPersist||Zt(t)):vt.set(t,e),Mt({fetchers:new Map(U.fetchers)})},dispose:function(){k&&k(),N&&N(),R.clear(),j&&j.abort(),U.fetchers.forEach(((t,e)=>Zt(e))),U.blockers.forEach(((t,e)=>ne(e)))},getBlocker:function(t,e){let r=U.blockers.get(t)||Z;return Ct.get(t)!==e&&Ct.set(t,e),r},deleteBlocker:ne,patchRoutes:function(t,e){let r=null==c;lt(t,e,c||w,g,a),r&&(w=[...w],Mt({}))},_internalFetchControllers:Y,_internalActiveDeferreds:Rt,_internalSetRoutes:function(t){g={},c=m(t,a,void 0,g)}},d}function nt(t,e,r,n,o,i,a,s){let u,c;if(a){u=[];for(let t of e)if(u.push(t),t.route.id===a){c=t;break}}else u=e,c=e[e.length-1];let l=H(o||".",j(u,i),M(t.pathname,r)||t.pathname,"path"===s);if(null==o&&(l.search=t.search,l.hash=t.hash),(null==o||""===o||"."===o)&&c){let t=Ut(l.search);if(c.route.index&&!t)l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&t){let t=new URLSearchParams(l.search),e=t.getAll("index");t.delete("index"),e.filter((t=>t)).forEach((e=>t.append("index",e)));let r=t.toString();l.search=r?"?"+r:""}}return n&&"/"!==r&&(l.pathname="/"===l.pathname?r:U([r,l.pathname])),h(l)}function ot(t,e,r,n){if(!n||!function(t){return null!=t&&("formData"in t&&null!=t.formData||"body"in t&&void 0!==t.body)}(n))return{path:r};if(n.formMethod&&(o=n.formMethod,!K.has(o.toLowerCase())))return{path:r,error:Tt(405,{method:n.formMethod})};var o;let i,a,u=()=>({path:r,error:Tt(400,{type:"invalid-body"})}),c=n.formMethod||"get",l=t?c.toUpperCase():c.toLowerCase(),f=Rt(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!Pt(l))return u();let t="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce(((t,e)=>{let[r,n]=e;return""+t+r+"="+n+"\n"}),""):String(n.body);return{path:r,submission:{formMethod:l,formAction:f,formEncType:n.formEncType,formData:void 0,json:void 0,text:t}}}if("application/json"===n.formEncType){if(!Pt(l))return u();try{let t="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:l,formAction:f,formEncType:n.formEncType,formData:void 0,json:t,text:void 0}}}catch(t){return u()}}}if(s("function"==typeof FormData,"FormData is not available in this environment"),n.formData)i=vt(n.formData),a=n.formData;else if(n.body instanceof FormData)i=vt(n.body),a=n.body;else if(n.body instanceof URLSearchParams)i=n.body,a=bt(i);else if(null==n.body)i=new URLSearchParams,a=new FormData;else try{i=new URLSearchParams(n.body),a=bt(i)}catch(t){return u()}let p={formMethod:l,formAction:f,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:a,json:void 0,text:void 0};if(Pt(p.formMethod))return{path:r,submission:p};let m=d(r);return e&&m.search&&Ut(m.search)&&i.append("index",""),m.search="?"+i,{path:h(m),submission:p}}function it(t,e,r){void 0===r&&(r=!1);let n=t.findIndex((t=>t.route.id===e));return n>=0?t.slice(0,r?n+1:n):t}function at(t,e,r,o,i,a,s,u,c,l,h,d,f,p,m,v){let b=v?Ot(v[1])?v[1].error:v[1].data:void 0,g=t.createURL(e.location),w=t.createURL(i),_=r;a&&e.errors?_=it(r,Object.keys(e.errors)[0],!0):v&&Ot(v[1])&&(_=it(r,v[0]));let E=v?v[1].statusCode:void 0,x=s&&E&&E>=400,T=_.filter(((t,r)=>{let{route:i}=t;if(i.lazy)return!0;if(null==i.loader)return!1;if(a)return st(i,e.loaderData,e.errors);if(function(t,e,r){let n=!e||r.route.id!==e.route.id,o=void 0===t[r.route.id];return n||o}(e.loaderData,e.matches[r],t)||c.some((e=>e===t.route.id)))return!0;let s=e.matches[r],l=t;return ct(t,n({currentUrl:g,currentParams:s.params,nextUrl:w,nextParams:l.params},o,{actionResult:b,actionStatus:E,defaultShouldRevalidate:!x&&(u||g.pathname+g.search===w.pathname+w.search||g.search!==w.search||ut(s,l))}))})),k=[];return d.forEach(((t,i)=>{if(a||!r.some((e=>e.route.id===t.routeId))||h.has(i))return;let s=y(p,t.path,m);if(!s)return void k.push({key:i,routeId:t.routeId,path:t.path,matches:null,match:null,controller:null});let c=e.fetchers.get(i),d=It(s,t.path),v=!1;f.has(i)?v=!1:l.has(i)?(l.delete(i),v=!0):v=c&&"idle"!==c.state&&void 0===c.data?u:ct(d,n({currentUrl:g,currentParams:e.matches[e.matches.length-1].params,nextUrl:w,nextParams:r[r.length-1].params},o,{actionResult:b,actionStatus:E,defaultShouldRevalidate:!x&&u})),v&&k.push({key:i,routeId:t.routeId,path:t.path,matches:s,match:d,controller:new AbortController})})),[T,k]}function st(t,e,r){if(t.lazy)return!0;if(!t.loader)return!1;let n=null!=e&&void 0!==e[t.id],o=null!=r&&void 0!==r[t.id];return!(!n&&o)&&("function"==typeof t.loader&&!0===t.loader.hydrate||!n&&!o)}function ut(t,e){let r=t.route.path;return t.pathname!==e.pathname||null!=r&&r.endsWith("*")&&t.params["*"]!==e.params["*"]}function ct(t,e){if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate(e);if("boolean"==typeof r)return r}return e.defaultShouldRevalidate}function lt(t,e,r,n,o){var i;let a;if(t){let e=n[t];s(e,"No route found to patch children into: routeId = "+t),e.children||(e.children=[]),a=e.children}else a=r;let u=m(e.filter((t=>!a.some((e=>ht(t,e))))),o,[t||"_","patch",String((null==(i=a)?void 0:i.length)||"0")],n);a.push(...u)}function ht(t,e){return"id"in t&&"id"in e&&t.id===e.id||t.index===e.index&&t.path===e.path&&t.caseSensitive===e.caseSensitive&&(!(t.children&&0!==t.children.length||e.children&&0!==e.children.length)||t.children.every(((t,r)=>{var n;return null==(n=e.children)?void 0:n.some((e=>ht(t,e)))})))}async function dt(t){let{matches:e}=t,r=e.filter((t=>t.shouldLoad));return(await Promise.all(r.map((t=>t.resolve())))).reduce(((t,e,n)=>Object.assign(t,{[r[n].route.id]:e})),{})}async function ft(t){let{result:e,type:r}=t;if(Mt(e)){let t;try{let r=e.headers.get("Content-Type");t=r&&/\bapplication\/json\b/.test(r)?null==e.body?null:await e.json():await e.text()}catch(t){return{type:f.error,error:t}}return r===f.error?{type:f.error,error:new N(e.status,e.statusText,t),statusCode:e.status,headers:e.headers}:{type:f.data,data:t,statusCode:e.status,headers:e.headers}}var n,o,i,a,s,u,c,l;return r===f.error?Ct(e)?e.data instanceof Error?{type:f.error,error:e.data,statusCode:null==(i=e.init)?void 0:i.status,headers:null!=(a=e.init)&&a.headers?new Headers(e.init.headers):void 0}:{type:f.error,error:new N((null==(n=e.init)?void 0:n.status)||500,void 0,e.data),statusCode:F(e)?e.status:void 0,headers:null!=(o=e.init)&&o.headers?new Headers(e.init.headers):void 0}:{type:f.error,error:e,statusCode:F(e)?e.status:void 0}:function(t){let e=t;return e&&"object"==typeof e&&"object"==typeof e.data&&"function"==typeof e.subscribe&&"function"==typeof e.cancel&&"function"==typeof e.resolveData}(e)?{type:f.deferred,deferredData:e,statusCode:null==(s=e.init)?void 0:s.status,headers:(null==(u=e.init)?void 0:u.headers)&&new Headers(e.init.headers)}:Ct(e)?{type:f.data,data:e.data,statusCode:null==(c=e.init)?void 0:c.status,headers:null!=(l=e.init)&&l.headers?new Headers(e.init.headers):void 0}:{type:f.data,data:e}}function pt(t,e,r,n,o,i){let a=t.headers.get("Location");if(s(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!Q.test(a)){let s=n.slice(0,n.findIndex((t=>t.route.id===r))+1);a=nt(new URL(e.url),s,o,!0,a,i),t.headers.set("Location",a)}return t}function mt(t,e,r){if(Q.test(t)){let n=t,o=n.startsWith("//")?new URL(e.protocol+n):new URL(n),i=null!=M(o.pathname,r);if(o.origin===e.origin&&i)return o.pathname+o.search+o.hash}return t}function yt(t,e,r,n){let o=t.createURL(Rt(e)).toString(),i={signal:r};if(n&&Pt(n.formMethod)){let{formMethod:t,formEncType:e}=n;i.method=t.toUpperCase(),"application/json"===e?(i.headers=new Headers({"Content-Type":e}),i.body=JSON.stringify(n.json)):"text/plain"===e?i.body=n.text:"application/x-www-form-urlencoded"===e&&n.formData?i.body=vt(n.formData):i.body=n.formData}return new Request(o,i)}function vt(t){let e=new URLSearchParams;for(let[r,n]of t.entries())e.append(r,"string"==typeof n?n:n.name);return e}function bt(t){let e=new FormData;for(let[r,n]of t.entries())e.append(r,n);return e}function gt(t,e,r,o,i,a,u){let{loaderData:c,errors:l}=function(t,e,r,n,o){let i,a={},u=null,c=!1,l={},h=r&&Ot(r[1])?r[1].error:void 0;return t.forEach((r=>{if(!(r.route.id in e))return;let d=r.route.id,f=e[d];if(s(!At(f),"Cannot handle redirect results in processLoaderData"),Ot(f)){let e=f.error;if(void 0!==h&&(e=h,h=void 0),u=u||{},o)u[d]=e;else{let r=Et(t,d);null==u[r.route.id]&&(u[r.route.id]=e)}a[d]=void 0,c||(c=!0,i=F(f.error)?f.error.status:500),f.headers&&(l[d]=f.headers)}else Dt(f)?(n.set(d,f.deferredData),a[d]=f.deferredData.data,null==f.statusCode||200===f.statusCode||c||(i=f.statusCode),f.headers&&(l[d]=f.headers)):(a[d]=f.data,f.statusCode&&200!==f.statusCode&&!c&&(i=f.statusCode),f.headers&&(l[d]=f.headers))})),void 0!==h&&r&&(u={[r[0]]:h},a[r[0]]=void 0),{loaderData:a,errors:u,statusCode:i||200,loaderHeaders:l}}(e,r,o,u,!1);return i.forEach((e=>{let{key:r,match:o,controller:i}=e,u=a[r];if(s(u,"Did not find corresponding fetcher result"),!i||!i.signal.aborted)if(Ot(u)){let e=Et(t.matches,null==o?void 0:o.route.id);l&&l[e.route.id]||(l=n({},l,{[e.route.id]:u.error})),t.fetchers.delete(r)}else if(At(u))s(!1,"Unhandled fetcher revalidation redirect");else if(Dt(u))s(!1,"Unhandled fetcher deferred data");else{let e=Nt(u.data);t.fetchers.set(r,e)}})),{loaderData:c,errors:l}}function wt(t,e,r,o){let i=n({},e);for(let n of r){let r=n.route.id;if(e.hasOwnProperty(r)?void 0!==e[r]&&(i[r]=e[r]):void 0!==t[r]&&n.route.loader&&(i[r]=t[r]),o&&o.hasOwnProperty(r))break}return i}function _t(t){return t?Ot(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Et(t,e){return(e?t.slice(0,t.findIndex((t=>t.route.id===e))+1):[...t]).reverse().find((t=>!0===t.route.hasErrorBoundary))||t[0]}function xt(t){let e=1===t.length?t[0]:t.find((t=>t.index||!t.path||"/"===t.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function Tt(t,e){let{pathname:r,routeId:n,method:o,type:i,message:a}=void 0===e?{}:e,s="Unknown Server Error",u="Unknown @remix-run/router error";return 400===t?(s="Bad Request",o&&r&&n?u="You made a "+o+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===i?u="defer() is not supported in actions":"invalid-body"===i&&(u="Unable to encode submission body")):403===t?(s="Forbidden",u='Route "'+n+'" does not match URL "'+r+'"'):404===t?(s="Not Found",u='No route matches URL "'+r+'"'):405===t&&(s="Method Not Allowed",o&&r&&n?u="You made a "+o.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':o&&(u='Invalid request method "'+o.toUpperCase()+'"')),new N(t||500,s,new Error(u),!0)}function kt(t){let e=Object.entries(t);for(let t=e.length-1;t>=0;t--){let[r,n]=e[t];if(At(n))return{key:r,result:n}}}function Rt(t){return h(n({},"string"==typeof t?d(t):t,{hash:""}))}function St(t){return Mt(t.result)&&Y.has(t.result.status)}function Dt(t){return t.type===f.deferred}function Ot(t){return t.type===f.error}function At(t){return(t&&t.type)===f.redirect}function Ct(t){return"object"==typeof t&&null!=t&&"type"in t&&"data"in t&&"init"in t&&"DataWithResponseInit"===t.type}function Mt(t){return null!=t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"object"==typeof t.headers&&void 0!==t.body}function Pt(t){return $.has(t.toLowerCase())}async function Lt(t,e,r,n,o){let i=Object.entries(e);for(let a=0;a<i.length;a++){let[s,u]=i[a],c=t.find((t=>(null==t?void 0:t.route.id)===s));if(!c)continue;let l=n.find((t=>t.route.id===c.route.id)),h=null!=l&&!ut(l,c)&&void 0!==(o&&o[c.route.id]);Dt(u)&&h&&await Ht(u,r,!1).then((t=>{t&&(e[s]=t)}))}}async function jt(t,e,r){for(let n=0;n<r.length;n++){let{key:o,routeId:i,controller:a}=r[n],u=e[o];t.find((t=>(null==t?void 0:t.route.id)===i))&&Dt(u)&&(s(a,"Expected an AbortController for revalidating fetcher deferred result"),await Ht(u,a.signal,!0).then((t=>{t&&(e[o]=t)})))}}async function Ht(t,e,r){if(void 0===r&&(r=!1),!await t.deferredData.resolveData(e)){if(r)try{return{type:f.data,data:t.deferredData.unwrappedData}}catch(t){return{type:f.error,error:t}}return{type:f.data,data:t.deferredData.data}}}function Ut(t){return new URLSearchParams(t).getAll("index").some((t=>""===t))}function It(t,e){let r="string"==typeof e?d(e).search:e.search;if(t[t.length-1].route.index&&Ut(r||""))return t[t.length-1];let n=L(t);return n[n.length-1]}function zt(t){let{formMethod:e,formAction:r,formEncType:n,text:o,formData:i,json:a}=t;if(e&&r&&n)return null!=o?{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:e,formAction:r,formEncType:n,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:a,text:void 0}:void 0}function qt(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Bt(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Nt(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}Symbol("deferred")},49503:function(t,e,r){"use strict";r.d(e,{MY:function(){return i},r1:function(){return o}});var n=r(19735);function o(t){var e=(0,n.FK)(t);return function(r,n,o,i){for(var a="",s=0;s<e;s++)a+=t[s](r,n,o,i)||"";return a}}function i(t){return function(e){e.root||(e=e.return)&&t(e)}}},49879:function(t){t.exports=function(t){return e.test(t)?t.toLowerCase():r.test(t)?(function(t){return t.replace(o,(function(t,e){return e?" "+e:""}))}(t)||t).toLowerCase():n.test(t)?function(t){return t.replace(i,(function(t,e,r){return e+" "+r.toLowerCase().split("").join(" ")}))}(t).toLowerCase():t.toLowerCase()};var e=/\s/,r=/(_|-|\.|:)/,n=/([a-z][A-Z]|[A-Z][a-z])/,o=/[\W_]+(.|$)/g,i=/(.)([A-Z]+)/g},50483:function(t,e,r){"use strict";r.d(e,{A:function(){return a},l:function(){return i}});var n=r(24534),o=r(19735);function i(t,e){for(var r="",n=(0,o.FK)(t),i=0;i<n;i++)r+=e(t[i],i,t,e)||"";return r}function a(t,e,r,a){switch(t.type){case n.IO:if(t.children.length)break;case n.yE:case n.LU:return t.return=t.return||t.value;case n.YK:return"";case n.Sv:return t.return=t.value+"{"+i(t.children,a)+"}";case n.XZ:t.value=t.props.join(",")}return(0,o.b2)(r=i(t.children,a))?t.return=t.value+"{"+r+"}":""}},51380:function(t){function e(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((t=>{e.prototype[t]=function(...e){return this._defaults.push({fn:t,args:e}),this}})),e.prototype._setDefaults=function(t){this._defaults.forEach((e=>{t[e.fn].apply(t,e.args)}))},t.exports=e},55459:function(t){"use strict";t.exports=function(t){for(var e=5381,r=t.length;r;)e=33*e^t.charCodeAt(--r);return e>>>0}},69982:function(t,e,r){"use strict";t.exports=r(7463)},73700:function(t,e,r){"use strict";function n(t,e,r){var n=(r||{}).atBegin;return function(t,e,r){var n,o=r||{},i=o.noTrailing,a=void 0!==i&&i,s=o.noLeading,u=void 0!==s&&s,c=o.debounceMode,l=void 0===c?void 0:c,h=!1,d=0;function f(){n&&clearTimeout(n)}function p(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var s=this,c=Date.now()-d;function p(){d=Date.now(),e.apply(s,o)}function m(){n=void 0}h||(u||!l||n||p(),f(),void 0===l&&c>t?u?(d=Date.now(),a||(n=setTimeout(l?m:p,t))):p():!0!==a&&(n=setTimeout(l?m:p,void 0===l?t-c:t)))}return p.cancel=function(t){var e=(t||{}).upcomingOnly,r=void 0!==e&&e;f(),h=!r},p}(t,e,{debounceMode:!1!==(void 0!==n&&n)})}r.d(e,{s:function(){return n}})},73716:function(t,e,r){"use strict";r.d(e,{wE:function(){return a}});var n=r(24534),o=r(19735),i=r(40390);function a(t){return(0,i.VF)(s("",null,null,null,[""],t=(0,i.c4)(t),0,[0],t))}function s(t,e,r,n,a,h,d,f,p){for(var m=0,y=0,v=d,b=0,g=0,w=0,_=1,E=1,x=1,T=0,k="",R=a,S=h,D=n,O=k;E;)switch(w=T,T=(0,i.K2)()){case 40:if(108!=w&&58==(0,o.wN)(O,v-1)){-1!=(0,o.K5)(O+=(0,o.HC)((0,i.Tb)(T),"&","&\f"),"&\f")&&(x=-1);break}case 34:case 39:case 91:O+=(0,i.Tb)(T);break;case 9:case 10:case 13:case 32:O+=(0,i.mw)(w);break;case 92:O+=(0,i.Nc)((0,i.OW)()-1,7);continue;case 47:switch((0,i.se)()){case 42:case 47:(0,o.BC)(c((0,i.nf)((0,i.K2)(),(0,i.OW)()),e,r),p);break;default:O+="/"}break;case 123*_:f[m++]=(0,o.b2)(O)*x;case 125*_:case 59:case 0:switch(T){case 0:case 125:E=0;case 59+y:-1==x&&(O=(0,o.HC)(O,/\f/g,"")),g>0&&(0,o.b2)(O)-v&&(0,o.BC)(g>32?l(O+";",n,r,v-1):l((0,o.HC)(O," ","")+";",n,r,v-2),p);break;case 59:O+=";";default:if((0,o.BC)(D=u(O,e,r,m,y,a,f,k,R=[],S=[],v),h),123===T)if(0===y)s(O,e,D,D,R,h,v,f,S);else switch(99===b&&110===(0,o.wN)(O,3)?100:b){case 100:case 108:case 109:case 115:s(t,D,D,n&&(0,o.BC)(u(t,D,D,0,0,a,f,k,a,R=[],v),S),a,S,v,f,n?R:S);break;default:s(O,D,D,D,[""],S,0,f,S)}}m=y=g=0,_=x=1,k=O="",v=d;break;case 58:v=1+(0,o.b2)(O),g=w;default:if(_<1)if(123==T)--_;else if(125==T&&0==_++&&125==(0,i.YL)())continue;switch(O+=(0,o.HT)(T),T*_){case 38:x=y>0?1:(O+="\f",-1);break;case 44:f[m++]=((0,o.b2)(O)-1)*x,x=1;break;case 64:45===(0,i.se)()&&(O+=(0,i.Tb)((0,i.K2)())),b=(0,i.se)(),y=v=(0,o.b2)(k=O+=(0,i.Cv)((0,i.OW)())),T++;break;case 45:45===w&&2==(0,o.b2)(O)&&(_=0)}}return h}function u(t,e,r,a,s,u,c,l,h,d,f){for(var p=s-1,m=0===s?u:[""],y=(0,o.FK)(m),v=0,b=0,g=0;v<a;++v)for(var w=0,_=(0,o.c1)(t,p+1,p=(0,o.tn)(b=c[v])),E=t;w<y;++w)(E=(0,o.Bq)(b>0?m[w]+" "+_:(0,o.HC)(_,/&\f/g,m[w])))&&(h[g++]=E);return(0,i.rH)(t,e,r,0===s?n.XZ:l,h,d,f)}function c(t,e,r){return(0,i.rH)(t,e,r,n.YK,(0,o.HT)((0,i.Tp)()),(0,o.c1)(t,2,-2),0)}function l(t,e,r,a){return(0,i.rH)(t,e,r,n.LU,(0,o.c1)(t,0,a),(0,o.c1)(t,a+1,-1),a)}},78978:function(t,e,r){var n=r(27214);t.exports=function(t){return n(t).replace(/\s(\w)/g,(function(t,e){return e.toUpperCase()}))}},85125:function(t){"use strict";t.exports=function(t){return null!==t&&"object"==typeof t}}}]);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license React
|
|
3
|
-
* scheduler.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @remix-run/router v1.23.0
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) Remix Software Inc.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
18
|
-
*
|
|
19
|
-
* @license MIT
|
|
20
|
-
*/
|
|
Binary file
|