From 05dde27efa0b90329dd84969043e89dd8e906d4e Mon Sep 17 00:00:00 2001 From: Ritik Date: Fri, 1 Mar 2024 13:01:50 +0530 Subject: [PATCH] Updates --- asset-manifest.json | 23 +++++++ index.html | 1 + static/css/main.a617e044.chunk.css | 2 + static/css/main.a617e044.chunk.css.map | 1 + static/js/2.81f9589f.chunk.js | 3 + static/js/2.81f9589f.chunk.js.LICENSE.txt | 74 ++++++++++++++++++++++ static/js/2.81f9589f.chunk.js.map | 1 + static/js/3.886824f1.chunk.js | 2 + static/js/3.886824f1.chunk.js.map | 1 + static/js/main.8d16f7db.chunk.js | 2 + static/js/main.8d16f7db.chunk.js.map | 1 + static/js/runtime-main.a284f895.js | 2 + static/js/runtime-main.a284f895.js.map | 1 + static/media/Search.ce7fb8e2.gif | Bin 0 -> 17094 bytes 14 files changed, 114 insertions(+) create mode 100644 asset-manifest.json create mode 100644 index.html create mode 100644 static/css/main.a617e044.chunk.css create mode 100644 static/css/main.a617e044.chunk.css.map create mode 100644 static/js/2.81f9589f.chunk.js create mode 100644 static/js/2.81f9589f.chunk.js.LICENSE.txt create mode 100644 static/js/2.81f9589f.chunk.js.map create mode 100644 static/js/3.886824f1.chunk.js create mode 100644 static/js/3.886824f1.chunk.js.map create mode 100644 static/js/main.8d16f7db.chunk.js create mode 100644 static/js/main.8d16f7db.chunk.js.map create mode 100644 static/js/runtime-main.a284f895.js create mode 100644 static/js/runtime-main.a284f895.js.map create mode 100644 static/media/Search.ce7fb8e2.gif diff --git a/asset-manifest.json b/asset-manifest.json new file mode 100644 index 0000000..51e824a --- /dev/null +++ b/asset-manifest.json @@ -0,0 +1,23 @@ +{ + "files": { + "main.css": "./static/css/main.a617e044.chunk.css", + "main.js": "./static/js/main.8d16f7db.chunk.js", + "main.js.map": "./static/js/main.8d16f7db.chunk.js.map", + "runtime-main.js": "./static/js/runtime-main.a284f895.js", + "runtime-main.js.map": "./static/js/runtime-main.a284f895.js.map", + "static/js/2.81f9589f.chunk.js": "./static/js/2.81f9589f.chunk.js", + "static/js/2.81f9589f.chunk.js.map": "./static/js/2.81f9589f.chunk.js.map", + "static/js/3.886824f1.chunk.js": "./static/js/3.886824f1.chunk.js", + "static/js/3.886824f1.chunk.js.map": "./static/js/3.886824f1.chunk.js.map", + "index.html": "./index.html", + "static/css/main.a617e044.chunk.css.map": "./static/css/main.a617e044.chunk.css.map", + "static/js/2.81f9589f.chunk.js.LICENSE.txt": "./static/js/2.81f9589f.chunk.js.LICENSE.txt", + "static/media/Search.ce7fb8e2.gif": "./static/media/Search.ce7fb8e2.gif" + }, + "entrypoints": [ + "static/js/runtime-main.a284f895.js", + "static/js/2.81f9589f.chunk.js", + "static/css/main.a617e044.chunk.css", + "static/js/main.8d16f7db.chunk.js" + ] +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..ac14b96 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +QusarNews
\ No newline at end of file diff --git a/static/css/main.a617e044.chunk.css b/static/css/main.a617e044.chunk.css new file mode 100644 index 0000000..a876a39 --- /dev/null +++ b/static/css/main.a617e044.chunk.css @@ -0,0 +1,2 @@ +body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}.App{text-align:center}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{-webkit-animation:App-logo-spin 20s linear infinite;animation:App-logo-spin 20s linear infinite}}.App-header{background-color:#282c34;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(10px + 2vmin);color:#fff}.App-link{color:#61dafb}@-webkit-keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}} +/*# sourceMappingURL=main.a617e044.chunk.css.map */ \ No newline at end of file diff --git a/static/css/main.a617e044.chunk.css.map b/static/css/main.a617e044.chunk.css.map new file mode 100644 index 0000000..de9d4a3 --- /dev/null +++ b/static/css/main.a617e044.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://src/index.css","webpack://src/App.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CCZA,KACE,iBACF,CAEA,UACE,aAAc,CACd,mBACF,CAEA,8CACE,UACE,mDAA4C,CAA5C,2CACF,CACF,CAEA,YACE,wBAAyB,CACzB,gBAAiB,CACjB,YAAa,CACb,qBAAsB,CACtB,kBAAmB,CACnB,sBAAuB,CACvB,4BAA6B,CAC7B,UACF,CAEA,UACE,aACF,CAEA,iCACE,GACE,8BAAuB,CAAvB,sBACF,CACA,GACE,+BAAyB,CAAzB,uBACF,CACF,CAPA,yBACE,GACE,8BAAuB,CAAvB,sBACF,CACA,GACE,+BAAyB,CAAzB,uBACF,CACF","file":"main.a617e044.chunk.css","sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n",".App {\n text-align: center;\n}\n\n.App-logo {\n height: 40vmin;\n pointer-events: none;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .App-logo {\n animation: App-logo-spin infinite 20s linear;\n }\n}\n\n.App-header {\n background-color: #282c34;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: calc(10px + 2vmin);\n color: white;\n}\n\n.App-link {\n color: #61dafb;\n}\n\n@keyframes App-logo-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n"]} \ No newline at end of file diff --git a/static/js/2.81f9589f.chunk.js b/static/js/2.81f9589f.chunk.js new file mode 100644 index 0000000..fa98e36 --- /dev/null +++ b/static/js/2.81f9589f.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.81f9589f.chunk.js.LICENSE.txt */ +(this.webpackJsonpqusarnews=this.webpackJsonpqusarnews||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(27)},function(e,t,n){"use strict";n.d(t,"a",(function(){return le})),n.d(t,"b",(function(){return k})),n.d(t,"c",(function(){return ue})),n.d(t,"d",(function(){return te})),n.d(t,"e",(function(){return L})),n.d(t,"f",(function(){return T})),n.d(t,"g",(function(){return P})),n.d(t,"h",(function(){return O})),n.d(t,"i",(function(){return N})),n.d(t,"j",(function(){return ke})),n.d(t,"k",(function(){return ce})),n.d(t,"l",(function(){return re})),n.d(t,"m",(function(){return X})),n.d(t,"n",(function(){return U})),n.d(t,"o",(function(){return M})),n.d(t,"p",(function(){return ne})),n.d(t,"q",(function(){return Z}));var r=n(4),a=n(6),o=n(23);function i(e,t,n){return(t=Object(o.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(12),u=n(13),c=n(16),s=n(18),f=n(17),d=n(14);var p=n(22);function h(e,t,n){return h=Object(p.a)()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&Object(d.a)(a,n.prototype),a},h.apply(null,arguments)}function m(e){var t="function"===typeof Map?new Map:void 0;return m=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return h(e,arguments,Object(f.a)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Object(d.a)(r,e)},m(e)}var v=n(5),y=n(19),g=n(21),b=n(11),w=n(20);var k,S=n(9),x=n(7);function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function z(e,t,n,r){void 0===r&&(r={});var a=r,o=a.window,i=void 0===o?document.defaultView:o,l=a.v5Compat,u=void 0!==l&&l,c=i.history,s=k.Pop,f=null,d=p();function p(){return(c.state||{idx:null}).idx}function h(){s=k.Pop;var e=p(),t=null==e?null:e-d;d=e,f&&f({action:s,location:v.location,delta:t})}function m(e){var t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"===typeof e?e:N(e);return L(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==d&&(d=0,c.replaceState(E({},c.state,{idx:d}),""));var v={get action(){return s},get location(){return e(i,c)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(_,h),f=e,function(){i.removeEventListener(_,h),f=null}},createHref:function(e){return t(i,e)},createURL:m,encodeLocation:function(e){var t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=k.Push;var r=D(v.location,e,t);n&&n(r,e);var a=j(r,d=p()+1),o=v.createHref(r);try{c.pushState(a,"",o)}catch(l){if(l instanceof DOMException&&"DataCloneError"===l.name)throw l;i.location.assign(o)}u&&f&&f({action:s,location:v.location,delta:1})},replace:function(e,t){s=k.Replace;var r=D(v.location,e,t);n&&n(r,e);var a=j(r,d=p()),o=v.createHref(r);c.replaceState(a,"",o),u&&f&&f({action:s,location:v.location,delta:0})},go:function(e){return c.go(e)}};return v}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(C||(C={}));var F=new Set(["lazy","caseSensitive","path","id","index","children"]);function I(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((function(e,a){var o=[].concat(Object(x.a)(n),[a]),i="string"===typeof e.id?e.id:o.join("-");if(L(!0!==e.index||!e.children,"Cannot specify children on an index route"),L(!r[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){var l=E({},e,t(e),{id:i});return r[i]=l,l}var u=E({},e,t(e),{id:i,children:void 0});return r[i]=u,e.children&&(u.children=I(e.children,t,o,r)),u}))}function U(e,t,n){void 0===n&&(n="/");var r=Z(("string"===typeof t?M(t):t).pathname||"/",n);if(null==r)return null;var a=A(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(a);for(var o=null,i=0;null==o&&i0&&(L(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),A(e.children,t,u,l)),(null!=e.path||e.index)&&t.push({path:l,score:K(l,e.index),routesMeta:u})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,o=Object(S.a)(B(e.path));try{for(o.s();!(r=o.n()).done;){var i=r.value;a(e,t,i)}}catch(l){o.e(l)}finally{o.f()}}else a(e,t)})),t}function B(e){var t=e.split("/");if(0===t.length)return[];var n,r=(n=t,Object(y.a)(n)||Object(g.a)(n)||Object(b.a)(n)||Object(w.a)()),a=r[0],o=r.slice(1),i=a.endsWith("?"),l=a.replace(/\?$/,"");if(0===o.length)return i?[l,""]:[l];var u=B(o.join("/")),c=[];return c.push.apply(c,Object(x.a)(u.map((function(e){return""===e?l:[l,e].join("/")})))),i&&c.push.apply(c,Object(x.a)(u)),c.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var $=/^:\w+$/,H=3,W=2,V=1,Q=10,Y=-2,q=function(e){return"*"===e};function K(e,t){var n=e.split("/"),r=n.length;return n.some(q)&&(r+=Y),t&&(r+=W),n.filter((function(e){return!q(e)})).reduce((function(e,t){return e+($.test(t)?H:""===t?V:Q)}),r)}function G(e,t){for(var n=e.routesMeta,r={},a="/",o=[],i=0;i and the router will parse it for you.'}function te(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function ne(e,t,n,r){var a;void 0===r&&(r=!1),"string"===typeof e?a=M(e):(L(!(a=E({},e)).pathname||!a.pathname.includes("?"),ee("?","pathname","search",a)),L(!a.pathname||!a.pathname.includes("#"),ee("#","pathname","hash",a)),L(!a.search||!a.search.includes("#"),ee("#","search","hash",a)));var o,i=""===e||""===a.pathname,l=i?"/":a.pathname;if(r||null==l)o=n;else{var u=t.length-1;if(l.startsWith("..")){for(var c=l.split("/");".."===c[0];)c.shift(),u-=1;a.pathname=c.join("/")}o=u>=0?t[u]:"/"}var s=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?M(e):e,r=n.pathname,a=n.search,o=void 0===a?"":a,i=n.hash,l=void 0===i?"":i,u=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:u,search:oe(o),hash:ie(l)}}(a,o),f=l&&"/"!==l&&l.endsWith("/"),d=(i||"."===l)&&n.endsWith("/");return s.pathname.endsWith("/")||!f&&!d||(s.pathname+="/"),s}var re=function(e){return e.join("/").replace(/\/\/+/g,"/")},ae=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},oe=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},ie=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},le=function(e){Object(c.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return Object(l.a)(n)}(m(Error));var ue=Object(l.a)((function e(t,n,r,a){Object(u.a)(this,e),void 0===a&&(a=!1),this.status=t,this.statusText=n||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}));function ce(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var se=["post","put","patch","delete"],fe=new Set(se),de=["get"].concat(se),pe=new Set(de),he=new Set([301,302,303,307,308]),me=new Set([307,308]),ve={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},ye={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},ge={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},be=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,we=function(e){return{hasErrorBoundary:Boolean(e.hasErrorBoundary)}};function ke(e){var t,n=e.window?e.window:"undefined"!==typeof window?window:void 0,o="undefined"!==typeof n&&"undefined"!==typeof n.document&&"undefined"!==typeof n.document.createElement,l=!o;if(L(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){var u=e.detectErrorBoundary;t=function(e){return{hasErrorBoundary:u(e)}}}else t=we;var c,s={},f=I(e.routes,t,void 0,s),d=e.basename||"/",p=E({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),h=null,m=new Set,y=null,g=null,b=null,w=null!=e.hydrationData,_=U(f,e.history.location,d),O=null;if(null==_){var T=Ue(404,{pathname:e.history.location.pathname}),P=Ie(f);_=P.matches,O=i({},P.route.id,T)}var j,N,M=!_.some((function(e){return e.route.lazy}))&&(!_.some((function(e){return e.route.loader}))||null!=e.hydrationData),z={historyAction:e.history.action,location:e.history.location,matches:_,initialized:M,navigation:ve,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||O,fetchers:new Map,blockers:new Map},F=k.Pop,A=!1,B=!1,$=!1,H=[],W=[],V=new Map,Q=0,Y=-1,q=new Map,K=new Set,G=new Map,X=new Map,J=new Map,ee=!1;function te(e){z=E({},z,e),m.forEach((function(e){return e(z)}))}function ne(t,n){var r,a,o,i=null!=z.actionData&&null!=z.navigation.formMethod&&Ke(z.navigation.formMethod)&&"loading"===z.navigation.state&&!0!==(null==(r=t.state)?void 0:r._isRedirect);o=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:i?z.actionData:null;var l,u=n.loaderData?ze(z.loaderData,n.loaderData,n.matches||[],n.errors):z.loaderData,s=Object(S.a)(J);try{for(s.s();!(l=s.n()).done;){Qe(Object(v.a)(l.value,1)[0])}}catch(p){s.e(p)}finally{s.f()}var d=!0===A||null!=z.navigation.formMethod&&Ke(z.navigation.formMethod)&&!0!==(null==(a=t.state)?void 0:a._isRedirect);c&&(f=c,c=void 0),te(E({},n,{actionData:o,loaderData:u,historyAction:F,location:t,initialized:!0,navigation:ve,revalidation:"idle",restoreScrollPosition:et(t,n.matches||z.matches),preventScrollReset:d,blockers:new Map(z.blockers)})),B||F===k.Pop||(F===k.Push?e.history.push(t,t.state):F===k.Replace&&e.history.replace(t,t.state)),F=k.Pop,A=!1,B=!1,$=!1,H=[],W=[]}function re(e,t){return ae.apply(this,arguments)}function ae(){return ae=Object(a.a)(Object(r.a)().mark((function t(n,a){var o,i,l,u,c,s,f,h,m,v,y;return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("number"!==typeof n){t.next=3;break}return e.history.go(n),t.abrupt("return");case 3:if(o=Se(z.location,z.matches,d,p.v7_prependBasename,n,null==a?void 0:a.fromRouteId,null==a?void 0:a.relative),i=xe(p.v7_normalizeFormMethod,!1,o,a),l=i.path,u=i.submission,c=i.error,s=z.location,f=E({},f=D(z.location,l,a&&a.state),e.history.encodeLocation(f)),h=a&&null!=a.replace?a.replace:void 0,m=k.Push,!0===h?m=k.Replace:!1===h||null!=u&&Ke(u.formMethod)&&u.formAction===z.location.pathname+z.location.search&&(m=k.Replace),v=a&&"preventScrollReset"in a?!0===a.preventScrollReset:void 0,!(y=qe({currentLocation:s,nextLocation:f,historyAction:m}))){t.next=16;break}return Ye(y,{state:"blocked",location:f,proceed:function(){Ye(y,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),re(n,a)},reset:function(){Qe(y),te({blockers:new Map(z.blockers)})}}),t.abrupt("return");case 16:return t.next=18,oe(m,f,{submission:u,pendingError:c,preventScrollReset:v,replace:a&&a.replace});case 18:return t.abrupt("return",t.sent);case 19:case"end":return t.stop()}}),t)}))),ae.apply(this,arguments)}function oe(e,t,n){return ie.apply(this,arguments)}function ie(){return ie=Object(a.a)(Object(r.a)().mark((function t(n,a,o){var l,u,s,p,h,m,v,y,g,b,w,k,S,x,C,_;return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(N&&N.abort(),N=null,F=n,B=!0===(o&&o.startUninterruptedRevalidation),Ze(z.location,z.matches),A=!0===(o&&o.preventScrollReset),l=c||f,u=o&&o.overrideNavigation,s=U(l,a,d)){t.next=15;break}return p=Ue(404,{pathname:a.pathname}),h=Ie(l),m=h.matches,v=h.route,Xe(),ne(a,{matches:m,loaderData:{},errors:i({},v.id,p)}),t.abrupt("return");case 15:if(!z.initialized||$||!$e(z.location,a)||o&&o.submission&&Ke(o.submission.formMethod)){t.next=18;break}return ne(a,{matches:s}),t.abrupt("return");case 18:if(N=new AbortController,y=je(e.history,a,N.signal,o&&o.submission),!o||!o.pendingError){t.next=24;break}b=i({},Fe(s).route.id,o.pendingError),t.next=35;break;case 24:if(!(o&&o.submission&&Ke(o.submission.formMethod))){t.next=35;break}return t.next=27,le(y,a,o.submission,s,{replace:o.replace});case 27:if(!(w=t.sent).shortCircuited){t.next=30;break}return t.abrupt("return");case 30:g=w.pendingActionData,b=w.pendingActionError,k=E({state:"loading",location:a},o.submission),u=k,y=new Request(y.url,{signal:y.signal});case 35:return t.next=37,ce(y,a,s,u,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,g,b);case 37:if(S=t.sent,x=S.shortCircuited,C=S.loaderData,_=S.errors,!x){t.next=43;break}return t.abrupt("return");case 43:N=null,ne(a,E({matches:s},g?{actionData:g}:{},{loaderData:C,errors:_}));case 45:case"end":return t.stop()}}),t)}))),ie.apply(this,arguments)}function le(e,t,n,r,a){return ue.apply(this,arguments)}function ue(){return ue=Object(a.a)(Object(r.a)().mark((function e(n,a,o,l,u){var c,f,p,h;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Oe(),te({navigation:E({state:"submitting",location:a},o)}),(f=nt(l,a)).route.action||f.route.lazy){e.next=8;break}c={type:C.error,error:Ue(405,{method:n.method,pathname:a.pathname,routeId:f.route.id})},e.next=13;break;case 8:return e.next=10,Le("action",n,f,l,s,t,d);case 10:if(c=e.sent,!n.signal.aborted){e.next=13;break}return e.abrupt("return",{shortCircuited:!0});case 13:if(!Ve(c)){e.next=18;break}return p=u&&null!=u.replace?u.replace:c.location===z.location.pathname+z.location.search,e.next=17,he(z,c,{submission:o,replace:p});case 17:return e.abrupt("return",{shortCircuited:!0});case 18:if(!We(c)){e.next=22;break}return h=Fe(l,f.route.id),!0!==(u&&u.replace)&&(F=k.Push),e.abrupt("return",{pendingActionData:{},pendingActionError:i({},h.route.id,c.error)});case 22:if(!He(c)){e.next=24;break}throw Ue(400,{type:"defer-action"});case 24:return e.abrupt("return",{pendingActionData:i({},f.route.id,c.data)});case 25:case"end":return e.stop()}}),e)}))),ue.apply(this,arguments)}function ce(e,t,n,r,a,o,i,l,u){return se.apply(this,arguments)}function se(){return se=Object(a.a)(Object(r.a)().mark((function t(n,a,o,i,l,u,s,p,h){var m,y,g,b,w,k,S,x,C,_,O,T,P,L,R,j,D,M,F,I,U,A;return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((m=i)||(y=E({state:"loading",location:a,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},l),m=y),g=l||u?l||u:m.formMethod&&m.formAction&&m.formData&&m.formEncType?{formMethod:m.formMethod,formAction:m.formAction,formData:m.formData,formEncType:m.formEncType}:void 0,b=c||f,w=Ce(e.history,z,o,g,a,$,H,W,G,b,d,p,h),k=Object(v.a)(w,2),S=k[0],x=k[1],Xe((function(e){return!(o&&o.some((function(t){return t.route.id===e})))||S&&S.some((function(t){return t.route.id===e}))})),0!==S.length||0!==x.length){t.next=10;break}return C=Ne(),ne(a,E({matches:o,loaderData:{},errors:h||null},p?{actionData:p}:{},C?{fetchers:new Map(z.fetchers)}:{})),t.abrupt("return",{shortCircuited:!0});case 10:return B||(x.forEach((function(e){var t=z.fetchers.get(e.key),n={state:"loading",data:t&&t.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};z.fetchers.set(e.key,n)})),_=p||z.actionData,te(E({navigation:m},_?0===Object.keys(_).length?{actionData:null}:{actionData:_}:{},x.length>0?{fetchers:new Map(z.fetchers)}:{}))),Y=++Q,x.forEach((function(e){e.controller&&V.set(e.key,e.controller)})),O=function(){return x.forEach((function(e){return Re(e.key)}))},N&&N.signal.addEventListener("abort",O),t.next=17,Ee(z.matches,o,S,x,n);case 17:if(T=t.sent,P=T.results,L=T.loaderResults,R=T.fetcherResults,!n.signal.aborted){t.next=23;break}return t.abrupt("return",{shortCircuited:!0});case 23:if(N&&N.signal.removeEventListener("abort",O),x.forEach((function(e){return V.delete(e.key)})),!(j=Ae(P))){t.next=30;break}return t.next=29,he(z,j,{replace:s});case 29:return t.abrupt("return",{shortCircuited:!0});case 30:return D=Me(z,o,S,L,h,x,R,X),M=D.loaderData,F=D.errors,X.forEach((function(e,t){e.subscribe((function(n){(n||e.done)&&X.delete(t)}))})),I=Ne(),U=Be(Y),A=I||U||x.length>0,t.abrupt("return",E({loaderData:M,errors:F},A?{fetchers:new Map(z.fetchers)}:{}));case 36:case"end":return t.stop()}}),t)}))),se.apply(this,arguments)}function fe(e){return z.fetchers.get(e)||ye}function de(){return de=Object(a.a)(Object(r.a)().mark((function n(a,o,l,u,p,h){var m,y,g,b,w,k,S,x,C,_,O,T,P,R,j,D,M,I,A,B,J,Z,ee,re,ae,oe,ie,le;return Object(r.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(Oe(),G.delete(a),u.route.action||u.route.lazy){n.next=6;break}return m=Ue(405,{method:h.formMethod,pathname:l,routeId:o}),Te(a,o,m),n.abrupt("return");case 6:return y=z.fetchers.get(a),g=E({state:"submitting"},h,{data:y&&y.data," _hasFetcherDoneAnything ":!0}),z.fetchers.set(a,g),te({fetchers:new Map(z.fetchers)}),b=new AbortController,w=je(e.history,l,b.signal,h),V.set(a,b),n.next=15,Le("action",w,u,p,s,t,d);case 15:if(k=n.sent,!w.signal.aborted){n.next=19;break}return V.get(a)===b&&V.delete(a),n.abrupt("return");case 19:if(!Ve(k)){n.next=26;break}return V.delete(a),K.add(a),S=E({state:"loading"},h,{data:void 0," _hasFetcherDoneAnything ":!0}),z.fetchers.set(a,S),te({fetchers:new Map(z.fetchers)}),n.abrupt("return",he(z,k,{submission:h,isFetchActionRedirect:!0}));case 26:if(!We(k)){n.next=29;break}return Te(a,o,k.error),n.abrupt("return");case 29:if(!He(k)){n.next=31;break}throw Ue(400,{type:"defer-action"});case 31:return x=z.navigation.location||z.location,C=je(e.history,x,b.signal),_=c||f,L(O="idle"!==z.navigation.state?U(_,z.navigation.location,d):z.matches,"Didn't find any matches after fetcher action"),T=++Q,q.set(a,T),P=E({state:"loading",data:k.data},h,{" _hasFetcherDoneAnything ":!0}),z.fetchers.set(a,P),R=Ce(e.history,z,O,h,x,$,H,W,G,_,d,i({},u.route.id,k.data),void 0),j=Object(v.a)(R,2),D=j[0],(M=j[1]).filter((function(e){return e.key!==a})).forEach((function(e){var t=e.key,n=z.fetchers.get(t),r={state:"loading",data:n&&n.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};z.fetchers.set(t,r),e.controller&&V.set(t,e.controller)})),te({fetchers:new Map(z.fetchers)}),I=function(){return M.forEach((function(e){return Re(e.key)}))},b.signal.addEventListener("abort",I),n.next=47,Ee(z.matches,O,D,M,C);case 47:if(A=n.sent,B=A.results,J=A.loaderResults,Z=A.fetcherResults,!b.signal.aborted){n.next=53;break}return n.abrupt("return");case 53:if(b.signal.removeEventListener("abort",I),q.delete(a),V.delete(a),M.forEach((function(e){return V.delete(e.key)})),!(ee=Ae(B))){n.next=60;break}return n.abrupt("return",he(z,ee));case 60:re=Me(z,z.matches,D,J,void 0,M,Z,X),ae=re.loaderData,oe=re.errors,z.fetchers.has(a)&&(ie={state:"idle",data:k.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0},z.fetchers.set(a,ie)),le=Be(T),"loading"===z.navigation.state&&T>Y?(L(F,"Expected pending action"),N&&N.abort(),ne(z.navigation.location,{matches:O,loaderData:ae,errors:oe,fetchers:new Map(z.fetchers)})):(te(E({errors:oe,loaderData:ze(z.loaderData,ae,O,oe)},le||M.length>0?{fetchers:new Map(z.fetchers)}:{})),$=!1);case 64:case"end":return n.stop()}}),n)}))),de.apply(this,arguments)}function pe(){return pe=Object(a.a)(Object(r.a)().mark((function n(a,o,l,u,c,f){var p,h,m,v,y,g,b;return Object(r.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return p=z.fetchers.get(a),h=E({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},f,{data:p&&p.data," _hasFetcherDoneAnything ":!0}),z.fetchers.set(a,h),te({fetchers:new Map(z.fetchers)}),m=new AbortController,v=je(e.history,l,m.signal),V.set(a,m),n.next=9,Le("loader",v,u,c,s,t,d);case 9:if(!He(y=n.sent)){n.next=17;break}return n.next=13,Je(y,v.signal,!0);case 13:if(n.t0=n.sent,n.t0){n.next=16;break}n.t0=y;case 16:y=n.t0;case 17:if(V.get(a)===m&&V.delete(a),!v.signal.aborted){n.next=20;break}return n.abrupt("return");case 20:if(!Ve(y)){n.next=25;break}return K.add(a),n.next=24,he(z,y);case 24:return n.abrupt("return");case 25:if(!We(y)){n.next=30;break}return g=Fe(z.matches,o),z.fetchers.delete(a),te({fetchers:new Map(z.fetchers),errors:i({},g.route.id,y.error)}),n.abrupt("return");case 30:L(!He(y),"Unhandled fetcher deferred data"),b={state:"idle",data:y.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0},z.fetchers.set(a,b),te({fetchers:new Map(z.fetchers)});case 34:case"end":return n.stop()}}),n)}))),pe.apply(this,arguments)}function he(e,t,n){return ke.apply(this,arguments)}function ke(){return ke=Object(a.a)(Object(r.a)().mark((function t(a,i,l){var u,c,s,f,p,h,m,v,y,g,b,w,S;return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c=(u=void 0===l?{}:l).submission,s=u.replace,f=u.isFetchActionRedirect,i.revalidate&&($=!0),L(p=D(a.location,i.location,E({_isRedirect:!0},f?{_isFetchActionRedirect:!0}:{})),"Expected a location on the redirect navigation"),!be.test(i.location)||!o){t.next=10;break}if(h=e.history.createURL(i.location),m=null==Z(h.pathname,d),n.location.origin===h.origin&&!m){t.next=10;break}return s?n.location.replace(i.location):n.location.assign(i.location),t.abrupt("return");case 10:if(N=null,v=!0===s?k.Replace:k.Push,y=a.navigation,g=y.formMethod,b=y.formAction,w=y.formEncType,S=y.formData,!c&&g&&b&&S&&w&&(c={formMethod:g,formAction:b,formEncType:w,formData:S}),!(me.has(i.status)&&c&&Ke(c.formMethod))){t.next=19;break}return t.next=17,oe(v,p,{submission:E({},c,{formAction:i.location}),preventScrollReset:A});case 17:case 22:t.next=26;break;case 19:if(!f){t.next=24;break}return t.next=22,oe(v,p,{overrideNavigation:{state:"loading",location:p,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},fetcherSubmission:c,preventScrollReset:A});case 24:return t.next=26,oe(v,p,{overrideNavigation:{state:"loading",location:p,formMethod:c?c.formMethod:void 0,formAction:c?c.formAction:void 0,formEncType:c?c.formEncType:void 0,formData:c?c.formData:void 0},preventScrollReset:A});case 26:case"end":return t.stop()}}),t)}))),ke.apply(this,arguments)}function Ee(e,t,n,r,a){return _e.apply(this,arguments)}function _e(){return _e=Object(a.a)(Object(r.a)().mark((function n(a,o,i,l,u){var c,f,p;return Object(r.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([].concat(Object(x.a)(i.map((function(e){return Le("loader",u,e,o,s,t,d)}))),Object(x.a)(l.map((function(n){return n.matches&&n.match&&n.controller?Le("loader",je(e.history,n.path,n.controller.signal),n.match,n.matches,s,t,d):{type:C.error,error:Ue(404,{pathname:n.path})}})))));case 2:return c=n.sent,f=c.slice(0,i.length),p=c.slice(i.length),n.next=7,Promise.all([Ge(a,i,f,f.map((function(){return u.signal})),!1,z.loaderData),Ge(a,l.map((function(e){return e.match})),p,l.map((function(e){return e.controller?e.controller.signal:null})),!0)]);case 7:return n.abrupt("return",{results:c,loaderResults:f,fetcherResults:p});case 8:case"end":return n.stop()}}),n)}))),_e.apply(this,arguments)}function Oe(){var e;$=!0,(e=H).push.apply(e,Object(x.a)(Xe())),G.forEach((function(e,t){V.has(t)&&(W.push(t),Re(t))}))}function Te(e,t,n){var r=Fe(z.matches,t);Pe(e),te({errors:i({},r.route.id,n),fetchers:new Map(z.fetchers)})}function Pe(e){var t=z.fetchers.get(e);!V.has(e)||t&&"loading"===t.state&&q.has(e)||Re(e),G.delete(e),q.delete(e),K.delete(e),z.fetchers.delete(e)}function Re(e){var t=V.get(e);L(t,"Expected fetch controller: "+e),t.abort(),V.delete(e)}function De(e){var t,n=Object(S.a)(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,a={state:"idle",data:fe(r).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};z.fetchers.set(r,a)}}catch(o){n.e(o)}finally{n.f()}}function Ne(){var e,t=[],n=!1,r=Object(S.a)(K);try{for(r.s();!(e=r.n()).done;){var a=e.value,o=z.fetchers.get(a);L(o,"Expected fetcher: "+a),"loading"===o.state&&(K.delete(a),t.push(a),n=!0)}}catch(i){r.e(i)}finally{r.f()}return De(t),n}function Be(e){var t,n=[],r=Object(S.a)(q);try{for(r.s();!(t=r.n()).done;){var a=Object(v.a)(t.value,2),o=a[0];if(a[1]0}function Qe(e){z.blockers.delete(e),J.delete(e)}function Ye(e,t){var n=z.blockers.get(e)||ge;L("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state),z.blockers.set(e,t),te({blockers:new Map(z.blockers)})}function qe(e){var t=e.currentLocation,n=e.nextLocation,r=e.historyAction;if(0!==J.size){J.size>1&&R(!1,"A router only supports one blocker at a time");var a=Array.from(J.entries()),o=Object(v.a)(a[a.length-1],2),i=o[0],l=o[1],u=z.blockers.get(i);if(!u||"proceeding"!==u.state)return l({currentLocation:t,nextLocation:n,historyAction:r})?i:void 0}}function Xe(e){var t=[];return X.forEach((function(n,r){e&&!e(r)||(n.cancel(),t.push(r),X.delete(r))})),t}function Ze(e,t){if(y&&g&&b){var n=t.map((function(e){return tt(e,z.loaderData)})),r=g(e,n)||e.key;y[r]=b()}}function et(e,t){if(y&&g&&b){var n=t.map((function(e){return tt(e,z.loaderData)})),r=g(e,n)||e.key,a=y[r];if("number"===typeof a)return a}return null}return j={get basename(){return d},get state(){return z},get routes(){return f},initialize:function(){return h=e.history.listen((function(t){var n=t.action,r=t.location,a=t.delta;if(!ee){R(0===J.size||null!=a,"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.");var o=qe({currentLocation:z.location,nextLocation:r,historyAction:n});return o&&null!=a?(ee=!0,e.history.go(-1*a),void Ye(o,{state:"blocked",location:r,proceed:function(){Ye(o,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),e.history.go(a)},reset:function(){Qe(o),te({blockers:new Map(j.state.blockers)})}})):oe(n,r)}ee=!1})),z.initialized||oe(k.Pop,z.location),j},subscribe:function(e){return m.add(e),function(){return m.delete(e)}},enableScrollRestoration:function(e,t,n){if(y=e,b=t,g=n||function(e){return e.key},!w&&z.navigation===ve){w=!0;var r=et(z.location,z.matches);null!=r&&te({restoreScrollPosition:r})}return function(){y=null,b=null,g=null}},navigate:re,fetch:function(e,t,n,r){if(l)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.");V.has(e)&&Re(e);var a=c||f,o=Se(z.location,z.matches,d,p.v7_prependBasename,n,t,null==r?void 0:r.relative),i=U(a,o,d);if(i){var u=xe(p.v7_normalizeFormMethod,!0,o,r),s=u.path,h=u.submission,m=nt(i,s);A=!0===(r&&r.preventScrollReset),h&&Ke(h.formMethod)?function(e,t,n,r,a,o){de.apply(this,arguments)}(e,t,s,m,i,h):(G.set(e,{routeId:t,path:s}),function(e,t,n,r,a,o){pe.apply(this,arguments)}(e,t,s,m,i,h))}else Te(e,t,Ue(404,{pathname:o}))},revalidate:function(){Oe(),te({revalidation:"loading"}),"submitting"!==z.navigation.state&&("idle"!==z.navigation.state?oe(F||z.historyAction,z.navigation.location,{overrideNavigation:z.navigation}):oe(z.historyAction,z.location,{startUninterruptedRevalidation:!0}))},createHref:function(t){return e.history.createHref(t)},encodeLocation:function(t){return e.history.encodeLocation(t)},getFetcher:fe,deleteFetcher:Pe,dispose:function(){h&&h(),m.clear(),N&&N.abort(),z.fetchers.forEach((function(e,t){return Pe(t)})),z.blockers.forEach((function(e,t){return Qe(t)}))},getBlocker:function(e,t){var n=z.blockers.get(e)||ge;return J.get(e)!==t&&J.set(e,t),n},deleteBlocker:Qe,_internalFetchControllers:V,_internalActiveDeferreds:X,_internalSetRoutes:function(e){c=I(e,t,void 0,s={})}},j}Symbol("deferred");function Se(e,t,n,r,a,o,i){var l,u;if(null!=o&&"path"!==i){l=[];var c,s=Object(S.a)(t);try{for(s.s();!(c=s.n()).done;){var f=c.value;if(l.push(f),f.route.id===o){u=f;break}}}catch(p){s.e(p)}finally{s.f()}}else l=t,u=t[t.length-1];var d=ne(a||".",te(l).map((function(e){return e.pathnameBase})),Z(e.pathname,n)||e.pathname,"path"===i);return null==a&&(d.search=e.search,d.hash=e.hash),null!=a&&""!==a&&"."!==a||!u||!u.route.index||et(d.search)||(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&"/"!==n&&(d.pathname="/"===d.pathname?n:re([n,d.pathname])),N(d)}function xe(e,t,n,r){if(!r||!function(e){return null!=e&&"formData"in e}(r))return{path:n};if(r.formMethod&&!qe(r.formMethod))return{path:n,error:Ue(405,{method:r.formMethod})};var a;if(r.formData){var o=r.formMethod||"get";if(Ke((a={formMethod:e?o.toUpperCase():o.toLowerCase(),formAction:Be(n),formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:r.formData}).formMethod))return{path:n,submission:a}}var i=M(n),l=De(r.formData);return t&&i.search&&et(i.search)&&l.append("index",""),i.search="?"+l,{path:N(i),submission:a}}function Ee(e,t){var n=e;if(t){var r=e.findIndex((function(e){return e.route.id===t}));r>=0&&(n=e.slice(0,r))}return n}function Ce(e,t,n,r,a,o,i,l,u,c,s,f,d){var p=d?Object.values(d)[0]:f?Object.values(f)[0]:void 0,h=e.createURL(t.location),m=e.createURL(a),v=d?Object.keys(d)[0]:void 0,y=Ee(n,v).filter((function(e,n){if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,n){var r=!t||n.route.id!==t.route.id,a=void 0===e[n.route.id];return r||a}(t.loaderData,t.matches[n],e)||i.some((function(t){return t===e.route.id})))return!0;var a=t.matches[n],l=e;return Oe(e,E({currentUrl:h,currentParams:a.params,nextUrl:m,nextParams:l.params},r,{actionResult:p,defaultShouldRevalidate:o||h.pathname+h.search===m.pathname+m.search||h.search!==m.search||_e(a,l)}))})),g=[];return u.forEach((function(e,a){if(n.some((function(t){return t.route.id===e.routeId}))){var i=U(c,e.path,s);if(i){var u=nt(i,e.path);if(l.includes(a))g.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:u,controller:new AbortController});else Oe(u,E({currentUrl:h,currentParams:t.matches[t.matches.length-1].params,nextUrl:m,nextParams:n[n.length-1].params},r,{actionResult:p,defaultShouldRevalidate:o}))&&g.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:u,controller:new AbortController})}else g.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null})}})),[y,g]}function _e(e,t){var n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Oe(e,t){if(e.route.shouldRevalidate){var n=e.route.shouldRevalidate(t);if("boolean"===typeof n)return n}return t.defaultShouldRevalidate}function Te(e,t,n){return Pe.apply(this,arguments)}function Pe(){return(Pe=Object(a.a)(Object(r.a)().mark((function e(t,n,a){var o,i,l,u,c,s;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.lazy){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.lazy();case 4:if(o=e.sent,t.lazy){e.next=7;break}return e.abrupt("return");case 7:for(u in L(i=a[t.id],"No route found in manifest"),l={},o)c=i[u],R(!(s=void 0!==c&&"hasErrorBoundary"!==u),'Route "'+i.id+'" has a static property "'+u+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+u+'" will be ignored.'),s||F.has(u)||(l[u]=o[u]);Object.assign(i,l),Object.assign(i,E({},n(i),{lazy:void 0}));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Le(e,t,n,r,a,o,i,l,u,c){return Re.apply(this,arguments)}function Re(){return(Re=Object(a.a)(Object(r.a)().mark((function e(t,n,a,o,i,l,u,c,s,f){var d,p,h,m,v,y,g,b,w,k,S,x,E,_,O,T,P,R;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===c&&(c=!1),void 0===s&&(s=!1),m=function(e){var t,r=new Promise((function(e,n){return t=n}));return h=function(){return t()},n.signal.addEventListener("abort",h),Promise.race([e({request:n,params:a.params,context:f}),r])},e.prev=3,v=a.route[t],!a.route.lazy){e.next=31;break}if(!v){e.next=13;break}return e.next=9,Promise.all([m(v),Te(a.route,l,i)]);case 9:y=e.sent,p=y[0],e.next=29;break;case 13:return e.next=15,Te(a.route,l,i);case 15:if(!(v=a.route[t])){e.next=22;break}return e.next=19,m(v);case 19:p=e.sent,e.next=29;break;case 22:if("action"!==t){e.next=28;break}throw g=new URL(n.url),b=g.pathname+g.search,Ue(405,{method:n.method,pathname:b,routeId:a.route.id});case 28:return e.abrupt("return",{type:C.data,data:void 0});case 29:e.next=40;break;case 31:if(v){e.next=37;break}throw w=new URL(n.url),Ue(404,{pathname:w.pathname+w.search});case 37:return e.next=39,m(v);case 39:p=e.sent;case 40:L(void 0!==p,"You defined "+("action"===t?"an action":"a loader")+' for route "'+a.route.id+"\" but didn't return anything from your `"+t+"` function. Please return a value or `null`."),e.next=47;break;case 43:e.prev=43,e.t0=e.catch(3),d=C.error,p=e.t0;case 47:return e.prev=47,h&&n.signal.removeEventListener("abort",h),e.finish(47);case 50:if(!Ye(p)){e.next=75;break}if(k=p.status,!he.has(k)){e.next=60;break}if(L(S=p.headers.get("Location"),"Redirects returned/thrown from loaders/actions must have a Location header"),be.test(S)?c||(x=new URL(n.url),E=S.startsWith("//")?new URL(x.protocol+S):new URL(S),_=null!=Z(E.pathname,u),E.origin===x.origin&&_&&(S=E.pathname+E.search+E.hash)):S=Se(new URL(n.url),o.slice(0,o.indexOf(a)+1),u,!0,S),!c){e.next=59;break}throw p.headers.set("Location",S),p;case 59:return e.abrupt("return",{type:C.redirect,status:k,location:S,revalidate:null!==p.headers.get("X-Remix-Revalidate")});case 60:if(!s){e.next=62;break}throw{type:d||C.data,response:p};case 62:if(!(T=p.headers.get("Content-Type"))||!/\bapplication\/json\b/.test(T)){e.next=69;break}return e.next=66,p.json();case 66:O=e.sent,e.next=72;break;case 69:return e.next=71,p.text();case 71:O=e.sent;case 72:if(d!==C.error){e.next=74;break}return e.abrupt("return",{type:d,error:new ue(k,p.statusText,O),headers:p.headers});case 74:return e.abrupt("return",{type:C.data,data:O,statusCode:p.status,headers:p.headers});case 75:if(d!==C.error){e.next=77;break}return e.abrupt("return",{type:d,error:p});case 77:if(!Qe(p)){e.next=79;break}return e.abrupt("return",{type:C.deferred,deferredData:p,statusCode:null==(P=p.init)?void 0:P.status,headers:(null==(R=p.init)?void 0:R.headers)&&new Headers(p.init.headers)});case 79:return e.abrupt("return",{type:C.data,data:p});case 80:case"end":return e.stop()}}),e,null,[[3,43,47,50]])})))).apply(this,arguments)}function je(e,t,n,r){var a=e.createURL(Be(t)).toString(),o={signal:n};if(r&&Ke(r.formMethod)){var i=r.formMethod,l=r.formEncType,u=r.formData;o.method=i.toUpperCase(),o.body="application/x-www-form-urlencoded"===l?De(u):u}return new Request(a,o)}function De(e){var t,n=new URLSearchParams,r=Object(S.a)(e.entries());try{for(r.s();!(t=r.n()).done;){var a=Object(v.a)(t.value,2),o=a[0],i=a[1];n.append(o,i instanceof File?i.name:i)}}catch(l){r.e(l)}finally{r.f()}return n}function Ne(e,t,n,r,a){var o,i={},l=null,u=!1,c={};return n.forEach((function(n,s){var f=t[s].route.id;if(L(!Ve(n),"Cannot handle redirect results in processLoaderData"),We(n)){var d=Fe(e,f),p=n.error;r&&(p=Object.values(r)[0],r=void 0),null==(l=l||{})[d.route.id]&&(l[d.route.id]=p),i[f]=void 0,u||(u=!0,o=ce(n.error)?n.error.status:500),n.headers&&(c[f]=n.headers)}else He(n)?(a.set(f,n.deferredData),i[f]=n.deferredData.data):i[f]=n.data,null==n.statusCode||200===n.statusCode||u||(o=n.statusCode),n.headers&&(c[f]=n.headers)})),r&&(l=r,i[Object.keys(r)[0]]=void 0),{loaderData:i,errors:l,statusCode:o||200,loaderHeaders:c}}function Me(e,t,n,r,a,o,l,u){for(var c=Ne(t,n,r,a,u),s=c.loaderData,f=c.errors,d=0;d=0;t--){var n=e[t];if(Ve(n))return n}}function Be(e){return N(E({},"string"===typeof e?M(e):e,{hash:""}))}function $e(e,t){return e.pathname===t.pathname&&e.search===t.search&&(""===e.hash?""!==t.hash:e.hash===t.hash||""!==t.hash)}function He(e){return e.type===C.deferred}function We(e){return e.type===C.error}function Ve(e){return(e&&e.type)===C.redirect}function Qe(e){var t=e;return t&&"object"===typeof t&&"object"===typeof t.data&&"function"===typeof t.subscribe&&"function"===typeof t.cancel&&"function"===typeof t.resolveData}function Ye(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"object"===typeof e.headers&&"undefined"!==typeof e.body}function qe(e){return pe.has(e.toLowerCase())}function Ke(e){return fe.has(e.toLowerCase())}function Ge(e,t,n,r,a,o){return Xe.apply(this,arguments)}function Xe(){return(Xe=Object(a.a)(Object(r.a)().mark((function e(t,n,a,o,i,l){var u,c;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u=Object(r.a)().mark((function e(u){var c,s,f,d,p;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=a[u],s=n[u]){e.next=4;break}return e.abrupt("return","continue");case 4:if(f=t.find((function(e){return e.route.id===s.route.id})),d=null!=f&&!_e(f,s)&&void 0!==(l&&l[s.route.id]),!He(c)||!i&&!d){e.next=11;break}return L(p=o[u],"Expected an AbortSignal for revalidating fetcher deferred result"),e.next=11,Je(c,p,i).then((function(e){e&&(a[u]=e||a[u])}));case 11:case"end":return e.stop()}}),e)})),c=0;case 2:if(!(c=0||Object(s.e)(!1),o=o.slice(0,Math.min(o.length,l+1))}return o.reduceRight((function(e,r,a){var l=r.route.id?null==i?void 0:i[r.route.id]:null,u=null;n&&(u=r.route.errorElement||L);var s=t.concat(o.slice(0,a+1)),f=function(){var t;return t=l?u:r.route.Component?c.createElement(r.route.Component,null):r.route.element?r.route.element:e,c.createElement(j,{match:r,routeContext:{outlet:e,matches:s,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===a)?c.createElement(R,{location:n.location,revalidation:n.revalidation,component:u,error:l,children:f(),routeContext:{outlet:null,matches:s,isDataRoute:!0}}):f()}),null)}function N(e){var t=c.useContext(p);return t||Object(s.e)(!1),t}function M(e){var t=c.useContext(h);return t||Object(s.e)(!1),t}function z(e){var t=function(e){var t=c.useContext(g);return t||Object(s.e)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||Object(s.e)(!1),n.route.id}function F(){return z(P.UseRouteId)}function I(){return M(P.UseNavigation).navigation}function U(){var e=M(P.UseMatches),t=e.matches,n=e.loaderData;return c.useMemo((function(){return t.map((function(e){var t=e.pathname,r=e.params;return{id:e.route.id,pathname:t,params:r,data:n[e.route.id],handle:e.route.handle}}))}),[t,n])}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(T||(T={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(P||(P={}));var A=0;function B(e){var t=N(T.UseBlocker).router,n=M(P.UseBlocker),r=c.useState((function(){return String(++A)})),o=Object(a.a)(r,1)[0],i=c.useCallback((function(t){return"function"===typeof e?!!e(t):!!e}),[e]),l=t.getBlocker(o,i);return c.useEffect((function(){return function(){return t.deleteBlocker(o)}}),[t,o]),n.blockers.get(o)||l}var $;function H(e){Object(s.e)(!1)}function W(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,a=void 0===r?null:r,o=e.location,i=e.navigationType,l=void 0===i?s.b.Pop:i,u=e.navigator,f=e.static,d=void 0!==f&&f;k()&&Object(s.e)(!1);var p=n.replace(/^\/*/,"/"),h=c.useMemo((function(){return{basename:p,navigator:u,static:d}}),[p,u,d]);"string"===typeof o&&(o=Object(s.o)(o));var m=o,g=m.pathname,b=void 0===g?"/":g,w=m.search,S=void 0===w?"":w,x=m.hash,E=void 0===x?"":x,C=m.state,_=void 0===C?null:C,O=m.key,T=void 0===O?"default":O,P=c.useMemo((function(){var e=Object(s.q)(b,p);return null==e?null:{location:{pathname:e,search:S,hash:E,state:_,key:T},navigationType:l}}),[p,b,S,E,_,T,l]);return null==P?null:c.createElement(v.Provider,{value:h},c.createElement(y.Provider,{children:a,value:P}))}function V(e){var t=e.children,n=e.location;return _(Y(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}($||($={}));var Q=new Promise((function(){}));c.Component;function Y(e,t){void 0===t&&(t=[]);var n=[];return c.Children.forEach(e,(function(e,a){if(c.isValidElement(e)){var o=[].concat(Object(r.a)(t),[a]);if(e.type!==c.Fragment){e.type!==H&&Object(s.e)(!1),e.props.index&&e.props.children&&Object(s.e)(!1);var i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=Y(e.props.children,o)),n.push(i)}else n.push.apply(n,Y(e.props.children,o))}})),n}function q(e){var t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:c.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:c.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(10);function a(){a=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(L){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var a=t&&t.prototype instanceof h?t:h,i=Object.create(a.prototype),l=new O(r||[]);return o(i,"_invoke",{value:x(e,n,l)}),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(L){return{type:"throw",arg:L}}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var y={};s(y,l,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(T([])));b&&b!==t&&n.call(b,l)&&(y=b);var w=v.prototype=h.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function a(o,i,l,u){var c=d(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==Object(r.a)(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){a("next",e,l,u)}),(function(e){a("throw",e,l,u)})):t.resolve(f).then((function(e){s.value=e,l(s)}),(function(e){return a("throw",e,l,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){a(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return P()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var l=E(i,n);if(l){if(l===p)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var a=d(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,p;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;_(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(19);var a=n(11),o=n(20);function i(e,t){return Object(r.a)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(s){c=!0,a=s}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(e,t)||Object(a.a)(e,t)||Object(o.a)()}},function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(c){return void n(c)}l.done?t(u):Promise.resolve(u).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function l(e){r(i,a,o,l,u,"next",e)}function u(e){r(i,a,o,l,u,"throw",e)}l(void 0)}))}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(15);var a=n(21),o=n(11);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(a.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return p}));n(7);var r=n(5),a=(n(9),n(0)),o=n(3),i=n(1);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}var c=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function s(e){var t=e.basename,n=e.children,l=e.future,u=e.window,c=a.useRef();null==c.current&&(c.current=Object(i.g)({window:u,v5Compat:!0}));var s=c.current,f=a.useState({action:s.action,location:s.location}),d=Object(r.a)(f,2),p=d[0],h=d[1],m=(l||{}).v7_startTransition,v=a.useCallback((function(e){m&&o.i?Object(o.i)((function(){return h(e)})):h(e)}),[h,m]);return a.useLayoutEffect((function(){return s.listen(v)}),[s,v]),a.createElement(o.b,{basename:t,children:n,location:p.location,navigationType:p.action,navigator:s})}var f="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,d=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,p=a.forwardRef((function(e,t){var n,r=e.onClick,s=e.relative,p=e.reloadDocument,h=e.replace,m=e.state,v=e.target,y=e.to,g=e.preventScrollReset,b=u(e,c),w=a.useContext(o.f).basename,k=!1;if("string"===typeof y&&d.test(y)&&(n=y,f))try{var S=new URL(window.location.href),x=y.startsWith("//")?new URL(S.protocol+y):new URL(y),E=Object(i.q)(x.pathname,w);x.origin===S.origin&&null!=E?y=E+x.search+x.hash:k=!0}catch(O){}var C=Object(o.l)(y,{relative:s}),_=function(e,t){var n=void 0===t?{}:t,r=n.target,l=n.replace,u=n.state,c=n.preventScrollReset,s=n.relative,f=Object(o.o)(),d=Object(o.m)(),p=Object(o.q)(e,{relative:s});return a.useCallback((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();var n=void 0!==l?l:Object(i.i)(d)===Object(i.i)(p);f(e,{replace:n,state:u,preventScrollReset:c,relative:s})}}),[d,f,p,l,u,r,e,c,s])}(y,{replace:h,state:m,target:v,preventScrollReset:g,relative:s});return a.createElement("a",l({},b,{href:n||C,onClick:k||p?r:function(e){r&&r(e),e.defaultPrevented||_(e)},ref:t,target:v}))}));var h,m;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(h||(h={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(m||(m={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11);function a(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){u=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw i}}}}},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(15);function a(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(23);function a(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=Number(n.props.pullDownToRefreshThreshold)&&n.setState({pullToRefreshThresholdBreached:!0}),n.currentY-n.startY>1.5*n.maxPullDownDistance||n._infScroll&&(n._infScroll.style.overflow="visible",n._infScroll.style.transform="translate3d(0px, "+(n.currentY-n.startY)+"px, 0px)")))},n.onEnd=function(){n.startY=0,n.currentY=0,n.dragging=!1,n.state.pullToRefreshThresholdBreached&&(n.props.refreshFunction&&n.props.refreshFunction(),n.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame((function(){n._infScroll&&(n._infScroll.style.overflow="auto",n._infScroll.style.transform="none",n._infScroll.style.willChange="unset")}))},n.onScrollListener=function(e){"function"===typeof n.props.onScroll&&setTimeout((function(){return n.props.onScroll&&n.props.onScroll(e)}),0);var t=n.props.height||n._scrollableNode?e.target:document.documentElement.scrollTop?document.documentElement:document.body;n.actionTriggered||((n.props.inverse?n.isElementAtTop(t,n.props.scrollThreshold):n.isElementAtBottom(t,n.props.scrollThreshold))&&n.props.hasMore&&(n.actionTriggered=!0,n.setState({showLoader:!0}),n.props.next&&n.props.next()),n.lastScrollTop=t.scrollTop)},n.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:t.dataLength},n.throttledOnScrollListener=function(e,t,n,r){var a,o=!1,i=0;function l(){a&&clearTimeout(a)}function u(){var u=this,c=Date.now()-i,s=arguments;function f(){i=Date.now(),n.apply(u,s)}o||(r&&!a&&f(),l(),void 0===r&&c>e?f():!0!==t&&(a=setTimeout(r?function(){a=void 0}:f,void 0===r?e-c:e)))}return"boolean"!==typeof t&&(r=n,n=t,t=void 0),u.cancel=function(){l(),o=!0},u}(150,n.onScrollListener).bind(n),n.onStart=n.onStart.bind(n),n.onMove=n.onMove.bind(n),n.onEnd=n.onEnd.bind(n),n}return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){if("undefined"===typeof this.props.dataLength)throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),"number"===typeof this.props.initialScrollY&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),"function"!==typeof this.props.refreshFunction))throw new Error('Mandatory prop "refreshFunction" missing.\n Pull Down To Refresh functionality will not work\n as expected. Check README.md for usage\'')},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(e){this.props.dataLength!==e.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(e,t){return e.dataLength!==t.prevDataLength?i(i({},t),{prevDataLength:e.dataLength}):null},t.prototype.isElementAtTop=function(e,t){void 0===t&&(t=.8);var n=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,r=s(t);return r.unit===l?e.scrollTop<=r.value+n-e.scrollHeight+1:e.scrollTop<=r.value/100+n-e.scrollHeight+1},t.prototype.isElementAtBottom=function(e,t){void 0===t&&(t=.8);var n=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,r=s(t);return r.unit===l?e.scrollTop+n>=e.scrollHeight-r.value:e.scrollTop+n>=r.value/100*e.scrollHeight},t.prototype.render=function(){var e=this,t=i({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),n=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),r=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return a.a.createElement("div",{style:r,className:"infinite-scroll-component__outerdiv"},a.a.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(t){return e._infScroll=t},style:t},this.props.pullDownToRefresh&&a.a.createElement("div",{style:{position:"relative"},ref:function(t){return e._pullDown=t}},a.a.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!n&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},t}(r.Component);t.a=f},function(e,t,n){"use strict";var r=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function g(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}function b(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var k=w.prototype=new b;k.constructor=w,v(k,g.prototype),k.isPureReactComponent=!0;var S=Array.isArray,x=Object.prototype.hasOwnProperty,E={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,n){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,a)&&!C.hasOwnProperty(a)&&(o[a]=t[a]);var u=arguments.length-2;if(1===u)o.children=n;else if(1