@techdocs/cli 1.8.17 → 1.8.19-next.0

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.
Files changed (77) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/embedded-app/.config-schema.json +506 -478
  3. package/dist/embedded-app/index.html +1 -1
  4. package/dist/embedded-app/static/{124.159a325a.chunk.js → 124.1db148ab.chunk.js} +1 -1
  5. package/dist/embedded-app/static/{124.159a325a.chunk.js.map → 124.1db148ab.chunk.js.map} +1 -1
  6. package/dist/embedded-app/static/{1297.bbeaddd0.chunk.js → 1297.0e20ec6b.chunk.js} +1 -1
  7. package/dist/embedded-app/static/{1297.bbeaddd0.chunk.js.map → 1297.0e20ec6b.chunk.js.map} +1 -1
  8. package/dist/embedded-app/static/{1902.6f404f8c.chunk.js → 1902.74e9d604.chunk.js} +1 -1
  9. package/dist/embedded-app/static/{1902.6f404f8c.chunk.js.map → 1902.74e9d604.chunk.js.map} +1 -1
  10. package/dist/embedded-app/static/{2401.ba11bac5.chunk.js → 2401.ca97a22a.chunk.js} +1 -1
  11. package/dist/embedded-app/static/{2401.ba11bac5.chunk.js.map → 2401.ca97a22a.chunk.js.map} +1 -1
  12. package/dist/embedded-app/static/{2420.9986a695.chunk.js → 2420.2b6286b5.chunk.js} +1 -1
  13. package/dist/embedded-app/static/{2420.9986a695.chunk.js.map → 2420.2b6286b5.chunk.js.map} +1 -1
  14. package/dist/embedded-app/static/{287.57153ff3.chunk.js → 287.8842f1ab.chunk.js} +1 -1
  15. package/dist/embedded-app/static/{287.57153ff3.chunk.js.map → 287.8842f1ab.chunk.js.map} +1 -1
  16. package/dist/embedded-app/static/{3182.98982985.chunk.js → 3182.62f19265.chunk.js} +1 -1
  17. package/dist/embedded-app/static/{3182.98982985.chunk.js.map → 3182.62f19265.chunk.js.map} +1 -1
  18. package/dist/embedded-app/static/{3308.b3458818.chunk.js → 3308.82562d2f.chunk.js} +1 -1
  19. package/dist/embedded-app/static/{3308.b3458818.chunk.js.map → 3308.82562d2f.chunk.js.map} +1 -1
  20. package/dist/embedded-app/static/{3632.2a549b64.chunk.js → 3632.f5bd752c.chunk.js} +1 -1
  21. package/dist/embedded-app/static/{3632.2a549b64.chunk.js.map → 3632.f5bd752c.chunk.js.map} +1 -1
  22. package/dist/embedded-app/static/{3720.1978cecb.chunk.js → 3720.6737494a.chunk.js} +1 -1
  23. package/dist/embedded-app/static/{3720.1978cecb.chunk.js.map → 3720.6737494a.chunk.js.map} +1 -1
  24. package/dist/embedded-app/static/{4036.36665783.chunk.js → 4036.66c4b641.chunk.js} +1 -1
  25. package/dist/embedded-app/static/{4036.36665783.chunk.js.map → 4036.66c4b641.chunk.js.map} +1 -1
  26. package/dist/embedded-app/static/{4487.f9cc6633.chunk.js → 4487.fba50d66.chunk.js} +1 -1
  27. package/dist/embedded-app/static/{4487.f9cc6633.chunk.js.map → 4487.fba50d66.chunk.js.map} +1 -1
  28. package/dist/embedded-app/static/{4516.b1a92d53.chunk.js → 4516.cb7b4abb.chunk.js} +1 -1
  29. package/dist/embedded-app/static/{4516.b1a92d53.chunk.js.map → 4516.cb7b4abb.chunk.js.map} +1 -1
  30. package/dist/embedded-app/static/{4919.e2124196.chunk.js → 4919.72f5403e.chunk.js} +1 -1
  31. package/dist/embedded-app/static/{4919.e2124196.chunk.js.map → 4919.72f5403e.chunk.js.map} +1 -1
  32. package/dist/embedded-app/static/{5724.d2755c89.chunk.js → 5724.0fd2d023.chunk.js} +1 -1
  33. package/dist/embedded-app/static/{5724.d2755c89.chunk.js.map → 5724.0fd2d023.chunk.js.map} +1 -1
  34. package/dist/embedded-app/static/{5788.9c942dee.chunk.js → 5788.791edd6a.chunk.js} +1 -1
  35. package/dist/embedded-app/static/{5788.9c942dee.chunk.js.map → 5788.791edd6a.chunk.js.map} +1 -1
  36. package/dist/embedded-app/static/{6271.0b57a0cf.chunk.js → 6271.1f27aefc.chunk.js} +1 -1
  37. package/dist/embedded-app/static/{6271.0b57a0cf.chunk.js.map → 6271.1f27aefc.chunk.js.map} +1 -1
  38. package/dist/embedded-app/static/{6415.6b71f4b9.chunk.js → 6415.ca28e59e.chunk.js} +1 -1
  39. package/dist/embedded-app/static/{6415.6b71f4b9.chunk.js.map → 6415.ca28e59e.chunk.js.map} +1 -1
  40. package/dist/embedded-app/static/{8307.637eb9f7.chunk.js → 8307.77d02788.chunk.js} +1 -1
  41. package/dist/embedded-app/static/{8307.637eb9f7.chunk.js.map → 8307.77d02788.chunk.js.map} +1 -1
  42. package/dist/embedded-app/static/{8384.0c6da92e.chunk.js → 8384.c87298a7.chunk.js} +1 -1
  43. package/dist/embedded-app/static/{8384.0c6da92e.chunk.js.map → 8384.c87298a7.chunk.js.map} +1 -1
  44. package/dist/embedded-app/static/{898.c75e7113.chunk.js → 898.ca4c8c81.chunk.js} +1 -1
  45. package/dist/embedded-app/static/{898.c75e7113.chunk.js.map → 898.ca4c8c81.chunk.js.map} +1 -1
  46. package/dist/embedded-app/static/{9234.ad94610e.chunk.js → 9234.d383e83b.chunk.js} +1 -1
  47. package/dist/embedded-app/static/{9234.ad94610e.chunk.js.map → 9234.d383e83b.chunk.js.map} +1 -1
  48. package/dist/embedded-app/static/{9605.2c26c71d.chunk.js → 9605.1e25e9dd.chunk.js} +1 -1
  49. package/dist/embedded-app/static/{9605.2c26c71d.chunk.js.map → 9605.1e25e9dd.chunk.js.map} +1 -1
  50. package/dist/embedded-app/static/{9652.5fd19eb0.chunk.js → 9652.4c4ba768.chunk.js} +1 -1
  51. package/dist/embedded-app/static/{9652.5fd19eb0.chunk.js.map → 9652.4c4ba768.chunk.js.map} +1 -1
  52. package/dist/embedded-app/static/{main.87e083f2.js → main.c7b3b8b8.js} +9 -9
  53. package/dist/embedded-app/static/main.c7b3b8b8.js.map +1 -0
  54. package/dist/embedded-app/static/{module-material-table.e3f26578.js → module-material-table.02244708.js} +1 -1
  55. package/dist/embedded-app/static/{module-material-table.e3f26578.js.map → module-material-table.02244708.js.map} +1 -1
  56. package/dist/embedded-app/static/{module-material-ui.2c452b58.js → module-material-ui.3f32753b.js} +1 -1
  57. package/dist/embedded-app/static/{module-material-ui.2c452b58.js.map → module-material-ui.3f32753b.js.map} +1 -1
  58. package/dist/embedded-app/static/{module-mui.e17dd999.js → module-mui.0ed988ce.js} +1 -1
  59. package/dist/embedded-app/static/{module-mui.e17dd999.js.map → module-mui.0ed988ce.js.map} +1 -1
  60. package/dist/embedded-app/static/{module-react-beautiful-dnd.ea59573c.js → module-react-beautiful-dnd.996c3b37.js} +1 -1
  61. package/dist/embedded-app/static/{module-react-beautiful-dnd.ea59573c.js.map → module-react-beautiful-dnd.996c3b37.js.map} +1 -1
  62. package/dist/embedded-app/static/{module-react-dom.1f38e13a.js → module-react-dom.3d6c828c.js} +6 -6
  63. package/dist/embedded-app/static/module-react-dom.3d6c828c.js.map +1 -0
  64. package/dist/embedded-app/static/{module-react-router-dom.0c2bb614.js → module-react-router-dom.3e907de2.js} +1 -1
  65. package/dist/embedded-app/static/{module-react-router-dom.0c2bb614.js.map → module-react-router-dom.3e907de2.js.map} +1 -1
  66. package/dist/embedded-app/static/{module-react-router.dac764ce.js → module-react-router.f207f6b1.js} +1 -1
  67. package/dist/embedded-app/static/{module-react-router.dac764ce.js.map → module-react-router.f207f6b1.js.map} +1 -1
  68. package/dist/embedded-app/static/{runtime.87e083f2.js → runtime.c7b3b8b8.js} +2 -2
  69. package/dist/embedded-app/static/{runtime.87e083f2.js.map → runtime.c7b3b8b8.js.map} +1 -1
  70. package/dist/embedded-app/static/vendor.c7b3b8b8.js +155 -0
  71. package/dist/embedded-app/static/vendor.c7b3b8b8.js.map +1 -0
  72. package/dist/index.cjs.js +1 -1
  73. package/package.json +4 -4
  74. package/dist/embedded-app/static/main.87e083f2.js.map +0 -1
  75. package/dist/embedded-app/static/module-react-dom.1f38e13a.js.map +0 -1
  76. package/dist/embedded-app/static/vendor.87e083f2.js +0 -155
  77. package/dist/embedded-app/static/vendor.87e083f2.js.map +0 -1
@@ -20,4 +20,4 @@
20
20
  `},""):String(n.body);return{path:r,submission:{formMethod:l,formAction:h,formEncType:n.formEncType,formData:void 0,json:void 0,text:P}}}else if(n.formEncType==="application/json"){if(!Oe(l))return a();try{let P=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:l,formAction:h,formEncType:n.formEncType,formData:void 0,json:P,text:void 0}}}catch{return a()}}}W(typeof FormData=="function","FormData is not available in this environment");let f,x;if(n.formData)f=br(n.formData),x=n.formData;else if(n.body instanceof FormData)f=br(n.body),x=n.body;else if(n.body instanceof URLSearchParams)f=n.body,x=Ar(f);else if(n.body==null)f=new URLSearchParams,x=new FormData;else try{f=new URLSearchParams(n.body),x=Ar(f)}catch{return a()}let S={formMethod:l,formAction:h,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:x,json:void 0,text:void 0};if(Oe(S.formMethod))return{path:r,submission:S};let v=ce(r);return t&&v.search&&Er(v.search)&&f.append("index",""),v.search="?"+f,{path:Ce(v),submission:S}}function G(e,t){let r=e;if(t){let n=e.findIndex(a=>a.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function te(e,t,r,n,a,s,l,h,f,x,S,v,P,b,w,E){let U=E?ge(E[1])?E[1].error:E[1].data:void 0,Y=e.createURL(t.location),j=e.createURL(a),K=E&&ge(E[1])?E[0]:void 0,C=K?G(r,K):r,Z=E?E[1].statusCode:void 0,p=l&&Z&&Z>=400,B=C.filter((z,fe)=>{let{route:ne}=z;if(ne.lazy)return!0;if(ne.loader==null)return!1;if(s)return typeof ne.loader!="function"||ne.loader.hydrate?!0:t.loaderData[ne.id]===void 0&&(!t.errors||t.errors[ne.id]===void 0);if(J(t.loaderData,t.matches[fe],z)||f.some(Re=>Re===z.route.id))return!0;let Ue=t.matches[fe],Ne=z;return N(z,V({currentUrl:Y,currentParams:Ue.params,nextUrl:j,nextParams:Ne.params},n,{actionResult:U,actionStatus:Z,defaultShouldRevalidate:p?!1:h||Y.pathname+Y.search===j.pathname+j.search||Y.search!==j.search||X(Ue,Ne)}))}),se=[];return v.forEach((z,fe)=>{if(s||!r.some(pt=>pt.route.id===z.routeId)||S.has(fe))return;let ne=Le(b,z.path,w);if(!ne){se.push({key:fe,routeId:z.routeId,path:z.path,matches:null,match:null,controller:null});return}let Ue=t.fetchers.get(fe),Ne=ot(ne,z.path),Re=!1;P.has(fe)?Re=!1:x.includes(fe)?Re=!0:Ue&&Ue.state!=="idle"&&Ue.data===void 0?Re=h:Re=N(Ne,V({currentUrl:Y,currentParams:t.matches[t.matches.length-1].params,nextUrl:j,nextParams:r[r.length-1].params},n,{actionResult:U,actionStatus:Z,defaultShouldRevalidate:p?!1:h})),Re&&se.push({key:fe,routeId:z.routeId,path:z.path,matches:ne,match:Ne,controller:new AbortController})}),[B,se]}function J(e,t,r){let n=!t||r.route.id!==t.route.id,a=e[r.route.id]===void 0;return n||a}function X(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function N(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function le(e,t,r,n,a,s,l,h){let f=[t,...r.map(x=>x.route.id)].join("-");try{let x=l.get(f);x||(x=e({path:t,matches:r,patch:(S,v)=>{h.aborted||de(S,v,n,a,s)}}),l.set(f,x)),x&&hn(x)&&await x}finally{l.delete(f)}}function de(e,t,r,n,a){if(e){var s;let l=n[e];W(l,"No route found to patch children into: routeId = "+e);let h=He(t,a,[e,"patch",String(((s=l.children)==null?void 0:s.length)||"0")],n);l.children?l.children.push(...h):l.children=h}else{let l=He(t,a,["patch",String(r.length||"0")],n);r.push(...l)}}async function xe(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];W(a,"No route found in manifest");let s={};for(let l in n){let f=a[l]!==void 0&&l!=="hasErrorBoundary";me(!f,'Route "'+a.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!f&&!Lr.has(l)&&(s[l]=n[l])}Object.assign(a,s),Object.assign(a,V({},t(a),{lazy:void 0}))}function Me(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function _e(e,t,r,n,a,s,l,h){let f=n.reduce((v,P)=>v.add(P.route.id),new Set),x=new Set,S=await e({matches:a.map(v=>{let P=f.has(v.route.id);return V({},v,{shouldLoad:P,resolve:w=>(x.add(v.route.id),P?Ye(t,r,v,s,l,w,h):Promise.resolve({type:Q.data,result:void 0}))})}),request:r,params:a[0].params,context:h});return a.forEach(v=>W(x.has(v.route.id),'`match.resolve()` was not called for route id "'+v.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),S.filter((v,P)=>f.has(a[P].route.id))}async function Ye(e,t,r,n,a,s,l){let h,f,x=S=>{let v,P=new Promise((E,U)=>v=U);f=()=>v(),t.signal.addEventListener("abort",f);let b=E=>typeof S!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):S({request:t,params:r.params,context:l},...E!==void 0?[E]:[]),w;return s?w=s(E=>b(E)):w=(async()=>{try{return{type:"data",result:await b()}}catch(E){return{type:"error",result:E}}})(),Promise.race([w,P])};try{let S=r.route[e];if(r.route.lazy)if(S){let v,[P]=await Promise.all([x(S).catch(b=>{v=b}),xe(r.route,a,n)]);if(v!==void 0)throw v;h=P}else if(await xe(r.route,a,n),S=r.route[e],S)h=await x(S);else if(e==="action"){let v=new URL(t.url),P=v.pathname+v.search;throw oe(405,{method:t.method,pathname:P,routeId:r.route.id})}else return{type:Q.data,result:void 0};else if(S)h=await x(S);else{let v=new URL(t.url),P=v.pathname+v.search;throw oe(404,{pathname:P})}W(h.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(S){return{type:Q.error,result:S}}finally{f&&t.signal.removeEventListener("abort",f)}return h}async function ve(e){let{result:t,type:r,status:n}=e;if(Qe(t)){let l;try{let h=t.headers.get("Content-Type");h&&/\bapplication\/json\b/.test(h)?t.body==null?l=null:l=await t.json():l=await t.text()}catch(h){return{type:Q.error,error:h}}return r===Q.error?{type:Q.error,error:new zt(t.status,t.statusText,l),statusCode:t.status,headers:t.headers}:{type:Q.data,data:l,statusCode:t.status,headers:t.headers}}if(r===Q.error)return{type:Q.error,error:t,statusCode:Ve(t)?t.status:n};if(mn(t)){var a,s;return{type:Q.deferred,deferredData:t,statusCode:(a=t.init)==null?void 0:a.status,headers:((s=t.init)==null?void 0:s.headers)&&new Headers(t.init.headers)}}return{type:Q.data,data:t,statusCode:n}}function Ie(e,t,r,n,a,s){let l=e.headers.get("Location");if(W(l,"Redirects returned/thrown from loaders/actions must have a Location header"),!Je.test(l)){let h=n.slice(0,n.findIndex(f=>f.route.id===r)+1);l=I(new URL(t.url),h,a,!0,l,s),e.headers.set("Location",l)}return e}function Nr(e,t,r){if(Je.test(e)){let n=e,a=n.startsWith("//")?new URL(t.protocol+n):new URL(n),s=je(a.pathname,r)!=null;if(a.origin===t.origin&&s)return a.pathname+a.search+a.hash}return e}function ht(e,t,r,n){let a=e.createURL(Kr(t)).toString(),s={signal:r};if(n&&Oe(n.formMethod)){let{formMethod:l,formEncType:h}=n;s.method=l.toUpperCase(),h==="application/json"?(s.headers=new Headers({"Content-Type":h}),s.body=JSON.stringify(n.json)):h==="text/plain"?s.body=n.text:h==="application/x-www-form-urlencoded"&&n.formData?s.body=br(n.formData):s.body=n.formData}return new Request(a,s)}function br(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function Ar(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function Br(e,t,r,n,a,s){let l={},h=null,f,x=!1,S={},v=n&&ge(n[1])?n[1].error:void 0;return r.forEach((P,b)=>{let w=t[b].route.id;if(W(!Xe(P),"Cannot handle redirect results in processLoaderData"),ge(P)){let E=P.error;if(v!==void 0&&(E=v,v=void 0),h=h||{},s)h[w]=E;else{let U=at(e,w);h[U.route.id]==null&&(h[U.route.id]=E)}l[w]=void 0,x||(x=!0,f=Ve(P.error)?P.error.status:500),P.headers&&(S[w]=P.headers)}else Ge(P)?(a.set(w,P.deferredData),l[w]=P.deferredData.data,P.statusCode!=null&&P.statusCode!==200&&!x&&(f=P.statusCode),P.headers&&(S[w]=P.headers)):(l[w]=P.data,P.statusCode&&P.statusCode!==200&&!x&&(f=P.statusCode),P.headers&&(S[w]=P.headers))}),v!==void 0&&n&&(h={[n[0]]:v},l[n[0]]=void 0),{loaderData:l,errors:h,statusCode:f||200,loaderHeaders:S}}function Hr(e,t,r,n,a,s,l,h){let{loaderData:f,errors:x}=Br(t,r,n,a,h,!1);for(let S=0;S<s.length;S++){let{key:v,match:P,controller:b}=s[S];W(l!==void 0&&l[S]!==void 0,"Did not find corresponding fetcher result");let w=l[S];if(!(b&&b.signal.aborted))if(ge(w)){let E=at(e.matches,P?.route.id);x&&x[E.route.id]||(x=V({},x,{[E.route.id]:w.error})),e.fetchers.delete(v)}else if(Xe(w))W(!1,"Unhandled fetcher revalidation redirect");else if(Ge(w))W(!1,"Unhandled fetcher deferred data");else{let E=Ze(w.data);e.fetchers.set(v,E)}}return{loaderData:f,errors:x}}function zr(e,t,r,n){let a=V({},t);for(let s of r){let l=s.route.id;if(t.hasOwnProperty(l)?t[l]!==void 0&&(a[l]=t[l]):e[l]!==void 0&&s.route.loader&&(a[l]=e[l]),n&&n.hasOwnProperty(l))break}return a}function kr(e){return e?ge(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function at(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function $t(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function oe(e,t){let{pathname:r,routeId:n,method:a,type:s,message:l}=t===void 0?{}:t,h="Unknown Server Error",f="Unknown @remix-run/router error";return e===400?(h="Bad Request",s==="route-discovery"?f='Unable to match URL "'+r+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
21
21
  `+l):a&&r&&n?f="You made a "+a+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":s==="defer-action"?f="defer() is not supported in actions":s==="invalid-body"&&(f="Unable to encode submission body")):e===403?(h="Forbidden",f='Route "'+n+'" does not match URL "'+r+'"'):e===404?(h="Not Found",f='No route matches URL "'+r+'"'):e===405&&(h="Method Not Allowed",a&&r&&n?f="You made a "+a.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":a&&(f='Invalid request method "'+a.toUpperCase()+'"')),new zt(e||500,h,new Error(f),!0)}function Wr(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(Xe(r))return{result:r,idx:t}}}function Kr(e){let t=typeof e=="string"?ce(e):e;return Ce(V({},t,{hash:""}))}function fn(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function hn(e){return typeof e=="object"&&e!=null&&"then"in e}function pn(e){return e!=null&&typeof e=="object"&&"type"in e&&"result"in e&&(e.type===Q.data||e.type===Q.error)}function $r(e){return Qe(e.result)&&Ir.has(e.result.status)}function Ge(e){return e.type===Q.deferred}function ge(e){return e.type===Q.error}function Xe(e){return(e&&e.type)===Q.redirect}function mn(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Qe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function vn(e){if(!Qe(e))return!1;let t=e.status,r=e.headers.get("Location");return t>=300&&t<=399&&r!=null}function Rr(e){return vr.has(e.toLowerCase())}function Oe(e){return Wt.has(e.toLowerCase())}async function Vr(e,t,r,n,a,s){for(let l=0;l<r.length;l++){let h=r[l],f=t[l];if(!f)continue;let x=e.find(v=>v.route.id===f.route.id),S=x!=null&&!X(x,f)&&(s&&s[f.route.id])!==void 0;if(Ge(h)&&(a||S)){let v=n[l];W(v,"Expected an AbortSignal for revalidating fetcher deferred result"),await Jr(h,v,a).then(P=>{P&&(r[l]=P||r[l])})}}}async function Jr(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Q.data,data:e.deferredData.unwrappedData}}catch(a){return{type:Q.error,error:a}}return{type:Q.data,data:e.deferredData.data}}}function Er(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function ot(e,t){let r=typeof t=="string"?ce(t).search:t.search;if(e[e.length-1].route.index&&Er(r||""))return e[e.length-1];let n=dr(e);return n[n.length-1]}function Yr(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:s,json:l}=e;if(!(!t||!r||!n)){if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};if(s!=null)return{formMethod:t,formAction:r,formEncType:n,formData:s,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:l,text:void 0}}}function wr(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function gn(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Ct(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function yn(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Ze(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function bn(e,t){try{let r=e.sessionStorage.getItem(Kt);if(r){let n=JSON.parse(r);for(let[a,s]of Object.entries(n||{}))s&&Array.isArray(s)&&t.set(a,new Set(s||[]))}}catch{}}function Rn(e,t){if(t.size>0){let r={};for(let[n,a]of t)r[n]=[...a];try{e.sessionStorage.setItem(Kt,JSON.stringify(r))}catch(n){me(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}}}]);})();
22
22
 
23
- //# sourceMappingURL=module-react-router.dac764ce.js.map
23
+ //# sourceMappingURL=module-react-router.f207f6b1.js.map