티스토리 수익 글 보기
“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[“react-core”],{43581:(e,t,r)=>{r.d(t,{A:()=>i,T:()=>o});var n=r(49236),a={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};a.bgImage=a.backgroundImage,a.bgSize=a.backgroundSize,a.bgPosition=a.backgroundPosition,a.bgRepeat=a.backgroundRepeat;var o=(0,n.qU)(a);let i=o},84995:(e,t,r)=>{r.d(t,{A:()=>i,P:()=>o});var n=r(49236),a={border:{property:”border”,scale:”borders”},borderWidth:{property:”borderWidth”,scale:”borderWidths”},borderStyle:{property:”borderStyle”,scale:”borderStyles”},borderColor:{property:”borderColor”,scale:”colors”},borderRadius:{property:”borderRadius”,scale:”radii”},borderTop:{property:”borderTop”,scale:”borders”},borderTopLeftRadius:{property:”borderTopLeftRadius”,scale:”radii”},borderTopRightRadius:{property:”borderTopRightRadius”,scale:”radii”},borderRight:{property:”borderRight”,scale:”borders”},borderBottom:{property:”borderBottom”,scale:”borders”},borderBottomLeftRadius:{property:”borderBottomLeftRadius”,scale:”radii”},borderBottomRightRadius:{property:”borderBottomRightRadius”,scale:”radii”},borderLeft:{property:”borderLeft”,scale:”borders”},borderX:{properties:[“borderLeft”,”borderRight”],scale:”borders”},borderY:{properties:[“borderTop”,”borderBottom”],scale:”borders”}};a.borderTopWidth={property:”borderTopWidth”,scale:”borderWidths”},a.borderTopColor={property:”borderTopColor”,scale:”colors”},a.borderTopStyle={property:”borderTopStyle”,scale:”borderStyles”},a.borderTopLeftRadius={property:”borderTopLeftRadius”,scale:”radii”},a.borderTopRightRadius={property:”borderTopRightRadius”,scale:”radii”},a.borderBottomWidth={property:”borderBottomWidth”,scale:”borderWidths”},a.borderBottomColor={property:”borderBottomColor”,scale:”colors”},a.borderBottomStyle={property:”borderBottomStyle”,scale:”borderStyles”},a.borderBottomLeftRadius={property:”borderBottomLeftRadius”,scale:”radii”},a.borderBottomRightRadius={property:”borderBottomRightRadius”,scale:”radii”},a.borderLeftWidth={property:”borderLeftWidth”,scale:”borderWidths”},a.borderLeftColor={property:”borderLeftColor”,scale:”colors”},a.borderLeftStyle={property:”borderLeftStyle”,scale:”borderStyles”},a.borderRightWidth={property:”borderRightWidth”,scale:”borderWidths”},a.borderRightColor={property:”borderRightColor”,scale:”colors”},a.borderRightStyle={property:”borderRightStyle”,scale:”borderStyles”};var o=(0,n.qU)(a);let i=o},77638:(e,t,r)=>{r.d(t,{A:()=>i,y:()=>o});var n=r(49236),a={color:{property:”color”,scale:”colors”},backgroundColor:{property:”backgroundColor”,scale:”colors”},opacity:!0};a.bg=a.backgroundColor;var o=(0,n.qU)(a);let i=o},49236:(e,t,r)=>{r.d(t,{Cp:()=>d,Jt:()=>c,Zz:()=>y,qU:()=>m});var n=r(45228),a=r.n(n),o=function(e,t){var r,n=a()({},e,t);for(var o in e)e[o]&&”object”==typeof t[o]&&a()(n,((r={})[o]=a()(e[o],t[o]),r));return n},i=function(e){var t={};return Object.keys(e).sort(function(e,t){return e.localeCompare(t,void 0,{numeric:!0,sensitivity:”base”})}).forEach(function(r){t[r]=e[r]}),t},s={breakpoints:[40,52,64].map(function(e){return e+”em”})},l=function(e){return”@media screen and (min-width: “+e+”)”},u=function(e,t){return c(t,e,e)},c=function(e,t,r,n,a){for(n=0,t=t&&t.split?t.split(“.”):[t];n1&&u.forEach(function(r){var a;n[r]=e(((a={})[r]=t[r],a))}),n},h=function(e,t,r,n,o){var i={};return n.slice(0,e.length).forEach(function(n,s){var l,u=e[s],c=t(n,r,o);u?a()(i,((l={})[u]=a()({},i[u],c),l)):a()(i,c)}),i},p=function(e,t,r,n,o){var i={};for(var s in n){var u=e[s],c=t(n[s],r,o);if(u){var d,h=l(u);a()(i,((d={})[h]=a()({},i[h],c),d))}else a()(i,c)}return i},f=function(e){var t=e.properties,r=e.property,n=e.scale,a=e.transform,o=void 0===a?u:a,i=e.defaultScale;t=t||[r];var s=function(e,r,n){var a={},i=o(e,r,n);if(null!==i)return t.forEach(function(e){a[e]=i}),a};return s.scale=n,s.defaults=i,s},m=function(e){void 0===e&&(e={});var t={};return Object.keys(e).forEach(function(r){var n=e[r];if(!0===n){t[r]=f({property:r,scale:r});return}if(“function”==typeof n){t[r]=n;return}t[r]=f(n)}),d(t)},y=function(){for(var e={},t=arguments.length,r=Array(t),n=0;n{function n(){return(n=Object.assign||function(e){for(var t=1;th});var a=function(e,t,r,n,a){for(n=0,t=t&&t.split?t.split(“.”):[t];n=0)return a(e,t,t);var r=Math.abs(t),n=a(e,r,r);return”string”==typeof n?”-“+n:-1*n},d=[“margin”,”marginTop”,”marginRight”,”marginBottom”,”marginLeft”,”marginX”,”marginY”,”top”,”bottom”,”left”,”right”].reduce(function(e,t){var r;return n({},e,((r={})[t]=c,r))},{});let h=function e(t){return function(r){void 0===r&&(r={});var c,h=n({},i,{},r.theme||r),p={},f=(c=”function”==typeof t?t(h):t,function(e){var t={},r=[null].concat(a(e,”breakpoints”,o).map(function(e){return”@media screen and (min-width: “+e+”)”}));for(var n in c){var i=”function”==typeof c[n]?c[n](e):c[n];if(null!=i){if(!Array.isArray(i)){t[n]=i;continue}for(var s=0;s{r.d(t,{A:()=>a,p:()=>n});var n=(0,r(49236).qU)({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0});let a=n},96069:(e,t,r)=>{r.d(t,{A:()=>s,V:()=>i});var n=r(49236),a={space:[0,4,8,16,32,64,128,256,512]},o={gridGap:{property:”gridGap”,scale:”space”,defaultScale:a.space},gridColumnGap:{property:”gridColumnGap”,scale:”space”,defaultScale:a.space},gridRowGap:{property:”gridRowGap”,scale:”space”,defaultScale:a.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},i=(0,n.qU)(o);let s=i},75447:(e,t,r)=>{r.d(t,{A:()=>o,Z:()=>a});var n=r(49236),a=(0,n.qU)({width:{property:”width”,scale:”sizes”,transform:function(e,t){return(0,n.Jt)(t,e,!(“number”==typeof e&&!isNaN(e))||e>1?e:100*e+”%”)}},height:{property:”height”,scale:”sizes”},minWidth:{property:”minWidth”,scale:”sizes”},minHeight:{property:”minHeight”,scale:”sizes”},maxWidth:{property:”maxWidth”,scale:”sizes”},maxHeight:{property:”maxHeight”,scale:”sizes”},size:{properties:[“width”,”height”],scale:”sizes”},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0});let o=a},59756:(e,t,r)=>{r.d(t,{A:()=>s,G:()=>i});var n=r(49236),a={space:[0,4,8,16,32,64,128,256,512]},o={position:!0,zIndex:{property:”zIndex”,scale:”zIndices”},top:{property:”top”,scale:”space”,defaultScale:a.space},right:{property:”right”,scale:”space”,defaultScale:a.space},bottom:{property:”bottom”,scale:”space”,defaultScale:a.space},left:{property:”left”,scale:”space”,defaultScale:a.space}},i=(0,n.qU)(o);let s=i},83317:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(57304),a=RegExp(“^(“+(0,n.Zz)(n.xe,n.Il,n.yW,n.Zp,n.pn,n.PQ,n.Tp,n.G1,n.Vg,n.r7,n.i9,n.XC,n.NW).propNames.join(“|”)+”)$”),o=function(e){var t={};for(var r in e)a.test(r)||(t[r]=e[r]);return t}},42049:(e,t,r)=>{r.d(t,{r:()=>n});var n=(0,r(49236).qU)({boxShadow:{property:”boxShadow”,scale:”shadows”},textShadow:{property:”textShadow”,scale:”shadows”}})},89165:(e,t,r)=>{r.d(t,{xe:()=>c});var n=r(49236),a={space:[0,4,8,16,32,64,128,256,512]},o=function(e){return”number”==typeof e&&!isNaN(e)},i=function(e,t){if(!o(e))return(0,n.Jt)(t,e,e);var r=e<0,a=Math.abs(e),i=(0,n.Jt)(t,a,a);return o(i)?i*(r?-1:1):r?"-"+i:i},s={};s.margin={margin:{property:"margin",scale:"space",transform:i,defaultScale:a.space},marginTop:{property:"marginTop",scale:"space",transform:i,defaultScale:a.space},marginRight:{property:"marginRight",scale:"space",transform:i,defaultScale:a.space},marginBottom:{property:"marginBottom",scale:"space",transform:i,defaultScale:a.space},marginLeft:{property:"marginLeft",scale:"space",transform:i,defaultScale:a.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:i,defaultScale:a.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:i,defaultScale:a.space}},s.margin.m=s.margin.margin,s.margin.mt=s.margin.marginTop,s.margin.mr=s.margin.marginRight,s.margin.mb=s.margin.marginBottom,s.margin.ml=s.margin.marginLeft,s.margin.mx=s.margin.marginX,s.margin.my=s.margin.marginY,s.padding={padding:{property:"padding",scale:"space",defaultScale:a.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:a.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:a.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:a.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:a.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:a.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:a.space}},s.padding.p=s.padding.padding,s.padding.pt=s.padding.paddingTop,s.padding.pr=s.padding.paddingRight,s.padding.pb=s.padding.paddingBottom,s.padding.pl=s.padding.paddingLeft,s.padding.px=s.padding.paddingX,s.padding.py=s.padding.paddingY;var l=(0,n.qU)(s.margin),u=(0,n.qU)(s.padding),c=(0,n.Zz)(l,u)},57227:(e,t,r)=>{r.d(t,{y:()=>a});var n=r(49236),a=function(e,t){return void 0===t&&(t=null),function(r){return(0,n.Jt)(r.theme,e,t)}}},3962:(e,t,r)=>{r.d(t,{A:()=>a,I:()=>n});var n=(0,r(49236).qU)({fontFamily:{property:”fontFamily”,scale:”fonts”},fontSize:{property:”fontSize”,scale:”fontSizes”,defaultScale:[12,14,16,20,24,32,48,64,72]},fontWeight:{property:”fontWeight”,scale:”fontWeights”},lineHeight:{property:”lineHeight”,scale:”lineHeights”},letterSpacing:{property:”letterSpacing”,scale:”letterSpacings”},textAlign:!0,fontStyle:!0});let a=n},38144:(e,t,r)=>{r.d(t,{NW:()=>l,XC:()=>s,i9:()=>i});var n=r(49236),a=r(50402),o=function(e){var t,r,o=e.scale,i=e.prop,s=e.variants,l=void 0===s?{}:s,u=e.key;(r=Object.keys(l).length?function(e,t,r){return(0,a.Ay)((0,n.Jt)(t,e,null))(r.theme)}:function(e,t){return(0,n.Jt)(t,e,null)}).scale=o||u,r.defaults=l;var c=((t={})[void 0===i?”variant”:i]=r,t);return(0,n.Cp)(c)},i=o({key:”buttons”}),s=o({key:”textStyles”,prop:”textStyle”}),l=o({key:”colorStyles”,prop:”colors”})},38267:(e,t,r)=>{r.d(t,{AH:()=>ep,Ay:()=>eC,NP:()=>eS,i7:()=>ex});var n=r(44363),a=r(96540),o=r(2833),i=r.n(o),s=r(8887),l=r(17103),u=r(15455),c=r(4146),d=r.n(c);function h(){return(h=Object.assign||function(e){for(var t=1;t1?t-1:0),n=1;n0?” Args: “+r.join(“, “):””))}var E=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,a=n;e>=a;)(a<<=1)<0&&R(16,""+e);this.groupSizes=new Uint32Array(a),this.groupSizes.set(r),this.length=a;for(var o=n;o=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),a=n+r,o=n;o=_&&(_=t+1),x.set(e,t),C.set(t,e)},L=”style[“+w+’][data-styled-version=”5.3.11”]’,P=RegExp(“^”+w+’\\.g(\\d+)\\[id=”([\\w\\d-]+)”\\].*?”([^”]*)’),A=function(e,t,r){for(var n,a=r.split(“,”),o=0,i=a.length;o=0;r–){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(w))return n}}(r),o=void 0!==a?a.nextSibling:null;n.setAttribute(w,”active”),n.setAttribute(“data-styled-version”,”5.3.11″);var i=T();return i&&n.setAttribute(“nonce”,i),r.insertBefore(n,o),n},O=function(){function e(e){var t=this.element=D(e);t.appendChild(document.createTextNode(“”)),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length–},t.getRule=function(e){return e0&&(c+=e+”,”)}),n+=””+l+u+'{content:”‘+c+`”}/*!sc*/
`}}}return n}(this)},e}(),U=/(a)(d)/gi,B=function(e){return String.fromCharCode(e+(e>25?39:97))};function F(e){var t,r=””;for(t=Math.abs(e);t>52;t=t/52|0)r=B(t%52)+r;return(B(t%52)+r).replace(U,”$1-$2″)}var H=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(–r);return e},q=function(e){return H(5381,e)};function Y(e){for(var t=0;t>>0);if(!t.hasNameForId(n,i)){var s=r(o,”.”+i,void 0,n);t.insertRules(n,i,s)}a.push(i),this.staticRulesId=i}else{for(var l=this.rules.length,u=H(this.baseHash,r.hash),c=””,d=0;d>>0);if(!t.hasNameForId(n,m)){var y=r(c,”.”+m,void 0,n);t.insertRules(n,m,y)}a.push(m)}}return a.join(” “)},e}(),X=/^\s*\/\/.*$/gm,G=[“:”,”[“,”.”,”#”];function K(e){var t,r,n,a,o=void 0===e?y:e,i=o.options,l=void 0===i?y:i,u=o.plugins,c=void 0===u?m:u,d=new s.A(l),h=[],p=function(e){function t(t){if(t)try{e(t+”}”)}catch(e){}}return function(r,n,a,o,i,s,l,u,c,d){switch(r){case 1:if(0===c&&64===n.charCodeAt(0))return e(n+”;”),””;break;case 2:if(0===u)return n+”/*|*/”;break;case 3:switch(u){case 102:case 112:return e(a[0]+n),””;default:return n+(0===d?”/*|*/”:””)}case -2:n.split(“/*|*/}”).forEach(t)}}}(function(e){h.push(e)}),f=function(e,n,o){return 0===n&&-1!==G.indexOf(o[r.length])||o.match(a)?e:”.”+t};function g(e,o,i,s){void 0===s&&(s=”&”);var l=e.replace(X,””),u=o&&i?i+” “+o+” { “+l+” }”:l;return t=s,n=RegExp(“\\”+(r=o)+”\\b”,”g”),a=RegExp(“(\\”+r+”\\b){2,}”),d(i||!o?””:o,u)}return d.use([].concat(c,[function(e,t,a){2===e&&a.length&&a[0].lastIndexOf(r)>0&&(a[0]=a[0].replace(n,f))},p,function(e){if(-2===e){var t=h;return h=[],t}}])),g.hash=c.length?c.reduce(function(e,t){return t.name||R(15),H(e,t.name)},5381).toString():””,g}var Q=a.createContext(),Z=(Q.Consumer,a.createContext()),ee=(Z.Consumer,new z),et=K();function er(){return(0,a.useContext)(Q)||ee}function en(e){var t=(0,a.useState)(e.stylisPlugins),r=t[0],n=t[1],o=er(),s=(0,a.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,a.useMemo)(function(){return K({options:{prefix:!e.disableVendorPrefixes},plugins:r})},[e.disableVendorPrefixes,r]);return(0,a.useEffect)(function(){i()(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]),a.createElement(Q.Provider,{value:s},a.createElement(Z.Provider,{value:l},e.children))}var ea=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=et);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,”@keyframes”))},this.toString=function(){return R(12,String(r.name))},this.name=e,this.id=”sc-keyframes-“+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=et),this.name+e.hash},e}(),eo=/([A-Z])/,ei=/([A-Z])/g,es=/^ms-/,el=function(e){return”-“+e.toLowerCase()};function eu(e){return eo.test(e)?e.replace(ei,el).replace(es,”-ms-“):e}var ec=function(e){return null==e||!1===e||””===e};function ed(e,t,r,n){if(Array.isArray(e)){for(var a,o=[],i=0,s=e.length;i1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,em=/(^-|-$)/g;function ey(e){return e.replace(ef,”-“).replace(em,””)}var eg=function(e){return F(q(e)>>>0)};function ev(e){return”string”==typeof e}var eb=function(e){return”function”==typeof e||”object”==typeof e&&null!==e&&!Array.isArray(e)},ew=a.createContext();function eS(e){var t=(0,a.useContext)(ew),r=(0,a.useMemo)(function(){var r;return r=e.theme,r?g(r)?r(t):Array.isArray(r)||”object”!=typeof r?R(8):t?h({},t,{},r):r:R(14)},[e.theme,t]);return e.children?a.createElement(ew.Provider,{value:r},e.children):null}ew.Consumer;var eR={},eE=function(e){return function e(t,r,a){if(void 0===a&&(a=y),!(0,n.isValidElementType)(r))return R(1,String(r));var o=function(){return t(r,a,ep.apply(void 0,arguments))};return o.withConfig=function(n){return e(t,r,h({},a,{},n))},o.attrs=function(n){return e(t,r,h({},a,{attrs:Array.prototype.concat(a.attrs,n).filter(Boolean)}))},o}(function e(t,r,n){var o=b(t),i=!ev(t),s=r.attrs,l=void 0===s?m:s,c=r.componentId,p=void 0===c?(x=r.displayName,C=r.parentComponentId,eR[_=”string”!=typeof x?”sc”:ey(x)]=(eR[_]||0)+1,k=_+”-“+eg(“5.3.11″+_+eR[_]),C?C+”-“+k:k):c,f=r.displayName,w=void 0===f?ev(t)?”styled.”+t:”Styled(“+v(t)+”)”:f,S=r.displayName&&r.componentId?ey(r.displayName)+”-“+r.componentId:r.componentId||p,R=o&&t.attrs?Array.prototype.concat(t.attrs,l).filter(Boolean):l,E=r.shouldForwardProp;o&&t.shouldForwardProp&&(E=r.shouldForwardProp?function(e,n,a){return t.shouldForwardProp(e,n,a)&&r.shouldForwardProp(e,n,a)}:t.shouldForwardProp);var x,C,_,k,N,L=new J(n,S,o?t.componentStyle:void 0),P=L.isStatic&&0===l.length,A=function(e,t){return function(e,t,r,n){var o,i,s,l,c,d,p,f=e.attrs,m=e.componentStyle,v=e.defaultProps,b=e.foldedComponentIds,w=e.shouldForwardProp,S=e.styledComponentId,R=e.target,E=(o=(0,a.useContext)(ew),void 0===(i=v)&&(i=y),s=t.theme!==i.theme&&t.theme||o||i.theme||y,void 0===s&&(s=y),l=h({},t,{theme:s}),c={},f.forEach(function(e){var t,r,n,a=e;for(t in g(a)&&(a=a(l)),a)l[t]=c[t]=”className”===t?(r=c[t],n=a[t],r&&n?r+” “+n:r||n):a[t]}),[l,c]),x=E[0],C=E[1],_=(d=er(),p=(0,a.useContext)(Z)||et,n?m.generateAndInjectStyles(y,d,p):m.generateAndInjectStyles(x,d,p)),k=C.$as||t.$as||C.as||t.as||R,N=ev(k),L=C!==t?h({},t,{},C):t,P={};for(var A in L)”$”!==A[0]&&”as”!==A&&(“forwardedAs”===A?P.as=L[A]:(w?w(A,u.A,k):!N||(0,u.A)(A))&&(P[A]=L[A]));return t.style&&C.style!==t.style&&(P.style=h({},t.style,{},C.style)),P.className=Array.prototype.concat(b,S,_!==S?_:null,t.className,C.className).filter(Boolean).join(” “),P.ref=r,(0,a.createElement)(k,P)}(N,e,t,P)};return A.displayName=w,(N=a.forwardRef(A)).attrs=R,N.componentStyle=L,N.displayName=w,N.shouldForwardProp=E,N.foldedComponentIds=o?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):m,N.styledComponentId=S,N.target=o?t.target:t,N.withComponent=function(t){var a=r.componentId,o=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(r,[“componentId”]),i=a&&a+”-“+(ev(t)?t:ey(v(t)));return e(t,h({},o,{attrs:R,componentId:i}),n)},Object.defineProperty(N,”defaultProps”,{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function e(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a1?t-1:0),n=1;n2&&z.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)}}(),function(){var e=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return””;var r=T();return”“},this.getStyleTags=function(){return e.sealed?R(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return R(2);var t,r=((t={})[w]=””,t[“data-styled-version”]=”5.3.11″,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=T();return n&&(r.nonce=n),[a.createElement(“style”,h({},r,{key:”sc-0-0″}))]},this.seal=function(){e.sealed=!0},this.instance=new z({isServer:!0}),this.sealed=!1}).prototype;e.collectStyles=function(e){return this.sealed?R(2):a.createElement(en,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return R(3)}}();let eC=eE},27744:(e,t,r)=>{r.d(t,{E:()=>n});let n={FETCH_THEN_TRANSITION:”fetch-then-transition”,TRANSITION_WHILE_FETCHING:”transition-while-fetch”,TRANSITION_WITHOUT_FETCH:”transition-without-fetch”}},86917:(e,t,r)=>{r.d(t,{R:()=>DeferredRegistry});var n=r(35750),a=r(18150),o=r(51407),i=new WeakMap;let DeferredRegistry=class DeferredRegistry{register(e,t){let r=(0,n._)(this,i).get(e);if(r)r.resolve(t);else{let r=(0,o.Y)();r.resolve(t),(0,n._)(this,i).set(e,r)}}getRegistration(e){let t=(0,n._)(this,i).get(e);if(t)return t;let r=(0,o.Y)();return(0,n._)(this,i).set(e,r),r}constructor(){(0,a._)(this,i,{writable:!0,value:new Map})}}},7820:(e,t,r)=>{r.d(t,{z:()=>n});let n={“Workers not ready”:”Alloy is warming its workers. This is expected during deploys and should resolve shortly.”}},38056:(e,t,r)=>{r.d(t,{T:()=>i});var n,a=r(65432),o=n||(n={});function i(e){return new Proxy(e,{get:(e,t,r)=>”navigate”===t?function(t,r){var n,o;if(“number”==typeof t)return e.navigate(t);n=e.state.location,(o=”string”==typeof t?function(e){var t={};if(e){var r=e.indexOf(“#”);0<=r&&(t.hash=e.substr(r),e=e.substr(0,r)),0<=(r=e.indexOf("?"))&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}(t):t)&&(void 0===o.pathname||o.pathname===n.pathname)&&(void 0===o.search||o.search===n.search)&&void 0!==o.hash&&o.hash!==n.hash||(0,a.SC)("react");let i=!r?.replace,s=r?.state?.skipTurbo;return e.navigate(t,{...r,state:{...r?.state,skipTurbo:i?s??!0:s}})}:Reflect.get(e,t,r)})}o.Pop="POP",o.Push="PUSH",o.Replace="REPLACE"},12435:(e,t,r)=>{r.d(t,{$h:()=>DataRouterApplicationBuilder});var n=r(35750),a=r(18150),o=r(85242),i=r(88243),s=r(16213),l=r(50467),u=r(4143),c=new WeakMap,d=new WeakSet;let DataRouterApplication=class DataRouterApplication{registration(e){return this.embeddedData=e?.embeddedData,{routes:(0,i._)(this,d,h).call(this)}}constructor(e,t){(0,s._)(this,d),(0,l._)(this,”name”,void 0),(0,a._)(this,c,{writable:!0,value:void 0}),(0,l._)(this,”embeddedData”,void 0),this.name=e,(0,o._)(this,c,t),this.registration=this.registration.bind(this)}};function h(){if(“function”==typeof(0,n._)(this,c)){let e=e=>{let t=this.embeddedData?.appPayload?.enabled_features;if(t&&e in t)return t[e]};return(0,n._)(this,c).call(this,{isEnabled:e})}return(0,n._)(this,c)}var p=new WeakMap;let DataRouterApplicationBuilder=class DataRouterApplicationBuilder{static create(e){return new DataRouterApplicationBuilder(e)}createDataRouterAppFromRoutes(e){return(0,o._)(this,p,new DataRouterApplication(this.name,e)),(0,n._)(this,p)}createQueryRouteConfig(e,{path:t,index:r,queries:n=[]}){return function(e){if(e.length>4)throw new m(e.length)}(n),function(e){if(!/^[a-z][a-zA-Z0-9]*$/.test(e))throw new InvalidIdentifierError(e)}(e),new u.Wy({appName:this.name,id:e,path:t,queries:function(e){let t=new Set;return Object.fromEntries(e.map(({queryName:e,…r})=>{if(t.has(e))throw new f(e);return t.add(e),[e,r]}))}(n),index:r??!1,getEmbeddedData:this.getEmbeddedData})}constructor(e){(0,l._)(this,”name”,void 0),(0,a._)(this,p,{writable:!0,value:void 0}),(0,l._)(this,”getEmbeddedData”,()=>{if(!(0,n._)(this,p))throw Error(“getEmbeddedData should only be called after createDataRouterAppFromRoutes”);return(0,n._)(this,p).embeddedData}),this.name=e}};let f=class DuplicateRouteQueryNameError extends Error{constructor(e){super(`query names cannot be duplicated: \`${e}\` has already been defined for this route.`),this.name=”DuplicateRouteQueryNameError”}},m=class InvalidNumberOfQueryConfigsError extends Error{constructor(e){super(`Invalid number of query configs error. ${e} queries supplied of a max 4 queries allowed.`),this.name=”InvalidNumberOfQueryConfigsError”}};let InvalidIdentifierError=class InvalidIdentifierError extends Error{constructor(e){super(`\`${e}\` must be camel cased`),this.name=”InvalidIdentifierError”}}},86596:(e,t,r)=>{r.d(t,{g:()=>n});let n={Blocking:”Blocking”,Deferred:”Deferred”}},86320:(e,t,r)=>{r.d(t,{Y:()=>i});var n=r(51987),a=r(86596),o=r(34418);function i({…e}={}){return{queryName:”mainQuery”,queryDeps:({pathname:e})=>({pathname:e}),queryFn:async({routeId:e,queryDeps:t})=>{let r=(0,n.jC)(“dataRouter”),a={…t,init:{…t?.init,headers:{…r,…t?.init?.headers}}};var i=await (0,o.X)({queryDeps:a}),s=e;let l=i.payload?.[s];if(!l)throw Error(`Unable to find payload for route Id: ${s}`);return{meta:i.meta,payload:l}},type:a.g.Blocking,select:e=>e.payload,…e}}},34418:(e,t,r)=>{r.d(t,{X:()=>i});var n=r(37285),a=r(96379),o=r(95224);async function i({queryDeps:{pathname:e,searchParams:t,init:r}}){let i=function(e,t){let r=[e],n=(function(e){if(e instanceof URLSearchParams)return e;if(“string”==typeof e)return new URLSearchParams(e);let t=new URLSearchParams;if(null==e)return t;for(let[r,n]of Array.isArray(e)?e:Object.entries(e))null!=n&&t.append(r,n);return t})(t).toString();return n&&r.push(n.toString()),r.join(“?”)}(e,t),s=await (0,a.Sr)(i,r);if(!s.ok)throw new o.o(s.statusText,s);let l=await s.json();return(0,n.Av)(l),l}},4143:(e,t,r)=>{r.d(t,{Wy:()=>QueryRoute,yT:()=>g});var n=r(35750),a=r(18150),o=r(85242),i=r(88243),s=r(16213),l=r(50467),u=r(13017),c=r(71315),d=r(31993),h=r(16235),p=r(86596),f=r(74848),m=r(11934);function y(e,{element:t,Component:r}){if(!t&&!r)return;let n=null;if(void 0!==t?n=(0,f.jsx)(f.Fragment,{children:t}):r&&(n=(0,f.jsx)(r,{})),n)return(0,f.jsx)(m.U,{id:e,children:n})}function g(){return(0,u.FE)()}let v={refetchOnWindowFocus:!1,retry:!1,networkMode:”always”,staleTime:864e5},b=200;var w=new WeakMap,S=new WeakMap,R=new WeakSet,E=new WeakMap,x=new WeakSet;let QueryRoute=class QueryRoute{isSameRoute(e){return!!(“object”==typeof e&&e&&”id”in e&&”string”==typeof e.id&&e.id===this.id)}generatePath(e,t){return(0,u.AO)({pathname:(0,u.tW)(this.path,e),search:t?.search?new URLSearchParams(t.search).toString():void 0,hash:t?.hash})}constructor(e){(0,s._)(this,R),(0,s._)(this,x),(0,a._)(this,w,{writable:!0,value:void 0}),(0,a._)(this,S,{writable:!0,value:void 0}),(0,l._)(this,”id”,void 0),(0,l._)(this,”path”,void 0),(0,l._)(this,”queries”,void 0),(0,l._)(this,”index”,void 0),(0,a._)(this,E,{writable:!0,value:async({request:e,params:t})=>{let r=[],{searchParams:a}=new URL(e.url,c.fV.origin),o=function(e,t){return(0,u.tW)(e,Object.fromEntries(k(t).map(([e,t])=>[e,void 0===t?null:t])))}(this.path,t),s=(0,h.S)(),l=k(this.queries).map(([e,{queryFn:l,queryDeps:u,type:h=p.g.Deferred,staleTimeForNavigation:f=b,…m}])=>{let y=u?.({pathname:o,params:t,searchParams:a})??{},g={appName:(0,n._)(this,w),routeId:this.id,routePath:this.path,queryName:e.toString(),queryDeps:y},S=(0,d.j)({…v,queryKey:function({appName:e,routeId:t,routePath:r,queryName:n,queryDeps:a}){return[e,t,r,n,a]}(g),queryFn:({signal:e,meta:t})=>l(g,{signal:e,meta:t}),…m});if((0,i._)(this,R,C).call(this,e,S.queryKey),c.KJ){let e={…S,staleTime:f};switch(h){case p.g.Deferred:s.prefetchQuery(e);break;case p.g.Blocking:{let t=s.getQueryState(e.queryKey);t?Date.now()-t.dataUpdatedAt>=f&&s.fetchQuery(e):r.push(s.fetchQuery(e));break}default:throw Error(`Invalid QueryRouteQueryType defined, \`${h}\`. Valid QueryRouteQueryTypes are ${JSON.stringify(Object.keys(p.g))}`)}}return[e,{queryConfig:S,type:h}]});return await Promise.all(r),{route:this,queries:Object.fromEntries(l)}}}),(0,l._)(this,”toRoute”,({Component:e,element:t,…r})=>this.index?{…r,id:this.id,children:void 0,path:this.path,index:this.index,loader:(0,n._)(this,E),element:y(this.id,{element:t,Component:e})}:{…r,id:this.id,path:this.path,index:this.index,loader:(0,n._)(this,E),element:y(this.id,{element:t,Component:e})}),(0,o._)(this,w,e.appName),this.id=e.id,this.path=e.path,this.queries=e.queries,this.index=e.index,(0,o._)(this,S,e.getEmbeddedData)}};function C(e,t){let r=(0,h.S)(),a=(0,n._)(this,S).call(this),o=a?.payload,s=(0,i._)(this,x,_).call(this,a,e);s&&(“mainQuery”===e?delete o?.[this.id]:delete o?.[this.id]?.[e],r.setQueryData(t,s))}function _(e,t){let r=e?.payload,n=r?.[this.id];if(!n)return;if(“mainQuery”!==t)return n?.[t];let a=e?.title||e?.meta?.title;return{meta:a?{title:a}:void 0,payload:n}}let k=e=>Object.entries(e)},95224:(e,t,r)=>{r.d(t,{c:()=>a,o:()=>ResponseError});var n=r(50467);let ResponseError=class ResponseError extends Error{constructor(e,t){super(e),(0,n._)(this,”response”,void 0),this.response=t,this.name=”ResponseError”}};function a(e){return e instanceof ResponseError}},43073:(e,t,r)=>{r.d(t,{E:()=>o});var n=r(96540),a=r(68270);function o(){return(0,n.useContext)(a.e)}},59656:(e,t,r)=>{r.d(t,{L:()=>o});var n=r(21728),a=r(4143);function o(e){let t,r=(0,n.c)(5),o=(0,a.yT)();if(r[0]!==o||r[1]!==e){let n;r[3]!==e?(n=t=>t.id===e.id,r[3]=e,r[4]=n):n=r[4],t=o.find(n),r[0]=o,r[1]=e,r[2]=t}else t=r[2];let s=t;if(!s){let t=o.map(i).join(“, “);throw Error(`Cannot read params from unmounted route with ID “${e.id}”. Mounted route IDs are: “${t}”`)}return s.params}function i(e){return e.id}},13360:(e,t,r)=>{r.d(t,{B1:()=>s,ks:()=>c,pw:()=>h,xX:()=>d});var n=r(21728),a=r(13017),o=r(97286),i=r(4143);function s(e,t){let{allowReadFromChildRoutes:r}=void 0===t?{}:t,n=(0,i.yT)(),o=n.findIndex(t=>t.id===e.id);if(-1===o){let t=n.map(u).join(“, “);throw Error(`Cannot read data from unmounted route with ID “${e.id}”. Mounted route IDs are: ${t}`)}let{route:s}=(0,a.LG)(),{queries:c}=(0,a.Ew)(e.id),d=n.findIndex(e=>e.id===s.id);if(!r&&o>d){let t=n.map(l).join(“, “);throw Error(`Cannot read data from child route with ID “${e.id}” from parent route “${s.id}”. Use { allowReadFromChildRoutes: true } option to enable this. Mounted route IDs are: ${t}`)}return c}function l(e){return e.id}function u(e){return e.id}function c(e,t,r){return s(e,r)[t]}function d(e,t,r){let a,i,s=(0,n.c)(6),{queryConfig:l}=c(e,t);s[0]!==l||s[1]!==r?(a={…l,…r},s[0]=l,s[1]=r,s[2]=a):a=s[2];let u=(0,o.I)(a);return s[3]!==l.queryKey||s[4]!==u?(i={…u,queryKey:l.queryKey},s[3]=l.queryKey,s[4]=u,s[5]=i):i=s[5],i}function h(e,t,r){let a,i,s,l=(0,n.c)(7);l[0]===Symbol.for(“react.memo_cache_sentinel”)?(a={allowReadFromChildRoutes:!0},l[0]=a):a=l[0];let{queryConfig:u}=c(e,t,a);l[1]!==u||l[2]!==r?(i={…u,…r},l[1]=u,l[2]=r,l[3]=i):i=l[3];let d=(0,o.I)(i);return l[4]!==u.queryKey||l[5]!==d?(s={…d,queryKey:u.queryKey},l[4]=u.queryKey,l[5]=d,l[6]=s):s=l[6],s}},87161:(e,t,r)=>{r.d(t,{Y:()=>a});var n=r(96540);function a(e){return Object.assign((0,n.lazy)(e),{preload:async()=>{await e()}})}},58578:(e,t,r)=>{r.d(t,{V:()=>n});let n=”__gh__react-core-preventAutofocus”},16235:(e,t,r)=>{let n;r.d(t,{S:()=>s});var a=r(65490);function o(e){return JSON.stringify(e,(e,t)=>!function(e){if(!i(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!i(r)&&!!r.hasOwnProperty(“isPrototypeOf”)&&Object.getPrototypeOf(e)===Object.prototype}(t)?t instanceof URLSearchParams?new URLSearchParams([…t.entries()].sort(([e],[t])=>e.localeCompare(t))).toString():”bigint”==typeof t?`$bigint:${t}`:t instanceof Set?Array.from(t).sort():t instanceof Map?Array.from(t.entries()).sort(([e],[t])=>e.localeCompare(t)).reduce((e,[t,r])=>(e[t]=r,e),{}):t:Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}))}function i(e){return”[object Object]”===Object.prototype.toString.call(e)}function s(){return n??(n=new a.E({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:!1,networkMode:”always”,queryKeyHashFn:o},mutations:{networkMode:”always”}}}))}},26865:(e,t,r)=>{r.d(t,{Mm:()=>i,QJ:()=>s,b3:()=>o});var n=r(21728),a=r(96540);function o(e){let t=e?.anchor;if(!t)return{};let r=t.getAttribute(“data-inital-disabled”)?.toLowerCase()===”true”;return”disabled”in t&&(t.disabled=r),t.classList.remove(“cursor-wait”),{reactPartialAnchor:{__wrapperElement:e}}}function i(e){let t,r,o,i,l=(0,n.c)(7),u=(0,a.useRef)(e.__wrapperElement.anchor||null),[c,d]=(0,a.useState)(!1);l[0]!==c?(t=()=>{d(!c)},l[0]=c,l[1]=t):t=l[1];let h=t;return l[2]!==c?(r=()=>{u.current&&(u.current.setAttribute(“aria-expanded”,c.toString()),u.current.setAttribute(“aria-haspopup”,”true”))},o=[u,c],l[2]=c,l[3]=r,l[4]=o):(r=l[3],o=l[4]),(0,a.useEffect)(r,o),s(e,h),l[5]!==c?(i={ref:u,open:c,setOpen:d},l[5]=c,l[6]=i):i=l[6],i}function s(e,t){let r,o,i=(0,n.c)(3),s=(0,a.useRef)(e.__wrapperElement.anchor);i[0]!==t?(r=()=>{let e=s.current;if(e)return e.addEventListener(“click”,t),()=>e.removeEventListener(“click”,t)},o=[s,t],i[0]=t,i[1]=r,i[2]=o):(r=i[1],o=i[2]),(0,a.useEffect)(r,o)}},40548:(e,t,r)=>{r.d(t,{w:()=>eD,o:()=>eT});var n=r(88243),a=r(16213),o=r(50467),i=r(31635),s=r(74848),l=r(39595),u=r(52475),c=r(53627),d=r(13017),h=r(38056),p=r(86917);let f=new p.R;async function m(e){return f.getRegistration(e).promise}var y=r(68237),g=r(69743),v=r(21728),b=r(96540),w=r(43073),S=r(74135);let R=(0,b.memo)(function(e){let t=(0,v.c)(4),{routes:r}=e;if((0,w.E)()){let e;return t[0]!==r?(e=(0,s.jsx)(x,{routes:r}),t[0]=r,t[1]=e):e=t[1],e}{let e;return t[2]!==r?(e=(0,s.jsx)(E,{routes:r}),t[2]=r,t[3]=e):e=t[3],e}}),E=(0,b.memo)(function(e){let t,r,n,a=(0,v.c)(9),{routes:o}=e,i=(0,d.zy)();a[0]!==i||a[1]!==o?(t=(0,d.ue)(o,i)?.map(N)??[],a[0]=i,a[1]=o,a[2]=t):t=a[2];let s=t;a[3]!==o?(r=k(o),a[3]=o,a[4]=r):r=a[4];let l=r;return a[5]!==i||a[6]!==s||a[7]!==l?(n={location:i,matches:s,routes:l},a[5]=i,a[6]=s,a[7]=l,a[8]=n):n=a[8],C(n),null}),x=(0,b.memo)(function(e){let t,r,n=(0,v.c)(6),{routes:a}=e,o=(0,d.zy)(),i=(0,d.FE)();n[0]!==a?(t=k(a),n[0]=a,n[1]=t):t=n[1];let s=t;return n[2]!==o||n[3]!==i||n[4]!==s?(r={location:o,matches:i,routes:s},n[2]=o,n[3]=i,n[4]=s,n[5]=r):r=n[5],C(r),null});function C(e){let t,r,n,a,o=(0,v.c)(10),{location:i,matches:s,routes:l}=e;o[0]!==i||o[1]!==s||o[2]!==l?(t=()=>{let e=new AbortController;return document.addEventListener(“turbo:load”,()=>{(0,S.n)().setState({location:i,matches:s,routes:l})},{signal:e.signal}),()=>{e.abort()}},r=[i,l,s],o[0]=i,o[1]=s,o[2]=l,o[3]=t,o[4]=r):(t=o[3],r=o[4]),(0,b.useEffect)(t,r),o[5]!==i||o[6]!==s||o[7]!==l?(n=()=>((0,S.n)().setState({location:i,matches:s,routes:l}),_),a=[i,l,s],o[5]=i,o[6]=s,o[7]=l,o[8]=n,o[9]=a):(n=o[8],a=o[9]),(0,b.useEffect)(n,a)}function _(){(0,S.n)().setState(null)}function k(e,t=””){let r=[];for(let o of e){let e,i=!0===o.index,s=o.path??””;if(i)e=t.startsWith(“/”)&&!t.endsWith(“/”)?t.endsWith(“/”)?t:`${t}/`:t||”/”;else{var n,a;e=s.startsWith(“/”)?s:(n=t,a=s,n?a?`${n.replace(/\/+$/,””)}/${a.replace(/^\/+/,””)}`:n:a)}let l=”id”in o&&”string”==typeof o.id?o.id:e||”/”;r.push({id:l,pathname:e||”/”,route:o,loaderData:void 0}),o.children&&r.push(…k(o.children,e))}return r}try{R.displayName||(R.displayName=”RouterDevTools”)}catch{}try{E.displayName||(E.displayName=”NavigatorRouterDevTools”)}catch{}try{x.displayName||(x.displayName=”DataRouterDevTools”)}catch{}function N(e){return function({pathname:e,route:t,params:r}){return{id:t.id??t.path??e,pathname:e,params:r,loaderData:void 0,data:void 0,handle:t.handle}}(e)}var L=r(5330),P=r(79634),A=r(58578);function j(e,t,r){let n,a,o,i=(0,v.c)(8),s=(0,b.useRef)(void 0),l=(0,b.useRef)(t.state);i[0]!==t.state?(n=()=>{l.current=t.state},i[0]=t.state,i[1]=n):n=i[1],(0,b.useEffect)(n),i[2]!==r||i[3]!==e||i[4]!==t.pathname||i[5]!==t.search?(a=()=>{if(“POP”===r)return;let n=t.pathname+t.search;if(void 0===s.current)s.current=n;else if(s.current!==n&&!e){var a;if(!(“object”==typeof(a=l.current)&&null!==a&&A.V in a&&!0===a[A.V])){let e=document.querySelector(“[data-react-autofocus]”);!e&&(e=document.querySelector(“react-app h1”))&&!e.hasAttribute(“tabindex”)&&e.setAttribute(“tabindex”,”-1″),e?.focus()}s.current=n}},o=[e,t.pathname,t.search,r],i[2]=r,i[3]=e,i[4]=t.pathname,i[5]=t.search,i[6]=a,i[7]=o):(a=i[6],o=i[7]),(0,b.useEffect)(a,o)}function T(){return j(!1,(0,d.zy)(),(0,d.wQ)()),null}try{T.displayName||(T.displayName=”NavigationFocusListener”)}catch{}var D=r(97665),O=r(73900),I=r(82591),M=r(86596),$=r(4143);let W=I.z.INITIAL;function z(){let e,t,r,n,a=(0,v.c)(10),o=(0,P.X)(),i=(0,$.yT)(),s=(0,D.jE)();return a[0]!==o||a[1]!==i||a[2]!==s?(e=()=>{let e=U(i,s);document.dispatchEvent(new O.gh({payload:e,appPayload:o}))},t=[i,o,s],a[0]=o,a[1]=i,a[2]=s,a[3]=e,a[4]=t):(e=a[3],t=a[4]),(0,b.useEffect)(e,t),a[5]!==o||a[6]!==i||a[7]!==s?(r=()=>{let e=function(){let e=U(i,s);document.dispatchEvent(new O.gh({payload:e,appPayload:o}))};return document.addEventListener(W,e),()=>{document.removeEventListener(W,e)}},n=[i,o,s],a[5]=o,a[6]=i,a[7]=s,a[8]=r,a[9]=n):(r=a[8],n=a[9]),(0,b.useEffect)(r,n),null}function U(e,t){let r={};for(let n of e){if(!n.data)continue;let e=n.data.route.id;for(let a of Object.values(n.data.queries))a.type===M.g.Blocking&&(r[e]=t.getQueryData(a.queryConfig.queryKey))}return r}try{z.displayName||(z.displayName=”PublishPayload”)}catch{}var B=r(48602),F=r(73189),H=r(71315),q=r(88431);let Y=new Map,V=!1,J=H.fV.href;async function X(){let{session:e}=await r.e(“vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js”).then(r.bind(r,7332));document.addEventListener(“turbo:click”,e=>{J=e.detail.url}),window.addEventListener(“popstate”,()=>{let{scrollPosition:t}=e.history.getRestorationDataForIdentifier(e.history.restorationIdentifier)||{};t&&Y.set(window.location.href,t)})}async function G(){H.cg&&(V||(await X(),V=!0))}function K(){let e=window.location.href;if(e===J&&e.includes(“#”))return;J=e;let t=Y.get(e);if(!t)return;let r=setTimeout(()=>{window.scrollTo(t.x,t.y)},0);return()=>{clearTimeout(r)}}let Q=H.cg?function(){(0,q.N)(K)}:F.l;function Z(){let e,t=(0,v.c)(1);return(Q(),”undefined”!=typeof jest)?null:(t[0]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,s.jsx)(d.OA,{}),t[0]=e):e=t[0],e)}G();try{Z.displayName||(Z.displayName=”CombinedScrollRestoration”)}catch{}var ee=r(3291),et=r(76143);function er(){let e,t,r=(0,v.c)(4),n=(0,$.yT)(),a=(0,D.jE)();return r[0]!==n||r[1]!==a?(e=()=>{for(let e of[…n].reverse()){if(!e.data?.route)continue;let t=e.data?.queries.mainQuery;if(!t)continue;let r=function(e,t){let r=e.getQueryData(t.queryKey);return”title”in r&&r.title?r?.title:”meta”in r&&r.meta?r.meta.title:void 0}(a,t.queryConfig);if(r){(0,et.D)((0,et.Y)(r));break}}},t=[n,a],r[0]=n,r[1]=a,r[2]=e,r[3]=t):(e=r[2],t=r[3]),(0,b.useEffect)(e,t),null}try{er.displayName||(er.displayName=”TitleManager”)}catch{}let en=new p.R;async function ea(e){return en.getRegistration(e).promise}var eo=r(76648);function ei(e){let t,r=(0,v.c)(2),{App:n}=e;return!function(){let e,t,r,n,a=(0,v.c)(8),o=(0,eo.B)(),i=(0,P.X)();a[0]!==i||a[1]!==o?(e=()=>{let e=new AbortController;return document.addEventListener(I.z.INITIAL,function(){document.dispatchEvent(new O.gh({payload:o,appPayload:i}))},{signal:e.signal}),()=>{e.abort()}},t=[i,o],a[0]=i,a[1]=o,a[2]=e,a[3]=t):(e=a[2],t=a[3]),(0,b.useEffect)(e,t),a[4]!==i||a[5]!==o?(r=()=>{document.dispatchEvent(new O.gh({payload:o,appPayload:i}))},n=[i,o],a[4]=i,a[5]=o,a[6]=r,a[7]=n):(r=a[6],n=a[7]),(0,b.useEffect)(r,n)}(),r[0]!==n?(t=n?(0,s.jsx)(n,{children:(0,s.jsx)(d.sv,{})}):(0,s.jsx)(d.sv,{}),r[0]=n,r[1]=t):t=r[1],t}try{ei.displayName||(ei.displayName=”AppWrapper”)}catch{}var es=r(75202),el=r(42270),eu=r(35750),ec=r(18150),ed=r(85242),eh=r(65432),ep=r(27744);let ef=(e,t)=>null!==e&&null!==t&&e.pathname===t.pathname&&e.search===t.search&&!!t.hash;var em=new WeakMap,ey=new WeakMap,eg=new WeakSet,ev=new WeakMap,eb=new WeakSet;let ew=class Navigator{update(e){var t;this.state=Object.assign({},this.state,e);let r=this.getAppNavigationState();null==(t=(0,n._)(this,eg,eS))||t.call(this,r)}subscribe(e){let t=(0,eu._)(this,ey).push(e);return()=>{(0,eu._)(this,ey)[t]=null}}async handleHistoryUpdate(e){if(“POP”===e.action&&(0,c.JV)().turboCount!==this.state.turboCount)return;if(this.isHashNavigation(e))return void this.navigateWithCurrentPayload(e);”POP”!==e.action&&(0,eh.SC)(“react”);let t=this.state.routeStateMap[e.location.key],r=void 0!==t;if(t&&t.isValid&&(r=t.isValid()),r)this.navigateFromHistory(e);else{let t=this.matchLocation(e.location);if(!t)throw Error(“handleHistoryUpdate should only be called for matching routes”);if(t.route.transitionType===ep.E.TRANSITION_WHILE_FETCHING&&this.navigateWithoutPayload(e),t.route.transitionType===ep.E.TRANSITION_WITHOUT_FETCH)return void this.navigateWithoutPayload(e);let r=(0,c.JV)().usr?.__prefetched_data;if(r)return void this.leaveLoadingStateWithRouteData(e,r,r.title);this.enterLoadingState(e);let n=await t.route.coreLoader({location:e.location,pathParams:t.params});if(e.location!==this.state.pendingNavigation?.update.location)return;switch(n.type){case”loaded”:this.leaveLoadingStateWithRouteData(e,n.data,n.title,n.isValid);break;case”error”:this.leaveLoadingStateWithError(e,n.error,!1);break;case”redirect”:window.location.replace(n.url+location.hash);break;case”route-handled-error”:this.leaveLoadingStateWithError(e,n.error,!0);break;default:throw Error(`Unexpected loader result type: ${n.type}`)}}}matchLocation(e){var t,r;return t=(0,eu._)(this,em),r=e,(0,d.ue)(t,r.pathname)?.[0]}isHashNavigation(e){return ef(this.state.location,e.location)}navigateFromHistory(e){this.update({location:e.location,pendingNavigation:null,error:null})}enterLoadingState(e){this.update({pendingNavigation:{update:e}})}leaveLoadingStateWithError(e,t,r){this.update({location:e.location,error:t,pendingNavigation:null,navigateOnError:r})}navigateWithoutPayload(e){this.update({location:e.location,error:null})}navigateWithCurrentPayload(e){let t=this.state.location.key,r=t+e.location.hash,n={…e.location,key:r},a={…this.state.routeStateMap,[r]:this.state.routeStateMap[t]};this.update({…e,location:n,routeStateMap:a,error:null})}leaveLoadingStateWithRouteData(e,t,r,n){this.update({location:e.location,pendingNavigation:null,routeStateMap:t?{…this.state.routeStateMap,[e.location.key]:{type:”loaded”,data:t,title:r,isValid:n}}:this.state.routeStateMap,error:null})}constructor(e,t,r,i){(0,a._)(this,eg),(0,a._)(this,eb),(0,o._)(this,”state”,void 0),(0,ec._)(this,em,{writable:!0,value:void 0}),(0,ec._)(this,ey,{writable:!0,value:[]}),(0,ec._)(this,ev,{writable:!0,value:new WeakMap}),(0,o._)(this,”getAppNavigationState”,()=>{let e=(0,eu._)(this,ev).get(this.state);if(e)return e;let{location:t,error:r,navigateOnError:n,routeStateMap:a,appPayload:o,pendingNavigation:i}=this.state,s={location:t,error:r,navigateOnError:n,routeStateMap:a,appPayload:o,isLoading:!!i};return(0,eu._)(this,ev).set(this.state,s),s}),(0,ed._)(this,em,i);let s=this.matchLocation(e);if(!s)throw Error(`No route found for initial location: ${e.pathname} in [${(0,n._)(this,eb,eR).call(this)}]`);let{data:l,title:u,isValid:d}=s.route.loadFromEmbeddedData({embeddedData:t,location:e,pathParams:s.params});this.state={location:e,routeStateMap:{[e.key]:{type:”loaded”,data:l,title:u,isValid:d}},appPayload:r,pendingNavigation:null,error:null,navigateOnError:!1,turboCount:(0,c.JV)().turboCount||0}}};function eS(e){for(let t of(0,eu._)(this,ey))t?.(e)}function eR(){return(0,eu._)(this,em).map(e=>e.path).join(“, “)}var eE=r(56629);function ex(e){let t,r,n,a,o,i,l,u,c,h=(0,v.c)(33),{appName:p,initialLocation:f,history:m,embeddedData:w,routes:S,App:R,wasServerRendered:E,ssrError:x,onError:C}=e;h[0]!==p||h[1]!==w||h[2]!==f||h[3]!==S?(t={initialLocation:f,appName:p,embeddedData:w,routes:S},h[0]=p,h[1]=w,h[2]=f,h[3]=S,h[4]=t):t=h[4];let[_,k]=function(e){let t,r,n,a,o,i=(0,v.c)(13),{initialLocation:s,embeddedData:l,routes:u}=e;i[0]!==l||i[1]!==s||i[2]!==u?(t=()=>{let{appPayload:e,…t}=l;return new ew(s,{…t,enabled_features:e?.enabled_features?e.enabled_features:{}},e,u)},i[0]=l,i[1]=s,i[2]=u,i[3]=t):t=i[3];let[c]=(0,b.useState)(t);i[4]!==c?(r=e=>{let t=c.subscribe(e);return()=>{t()}},i[4]=c,i[5]=r):r=i[5];let d=(0,b.useSyncExternalStore)(r,c.getAppNavigationState,c.getAppNavigationState);i[6]!==c?(n=e=>{(0,b.startTransition)(()=>{c.handleHistoryUpdate(e)})},i[6]=c,i[7]=n):n=i[7];let h=n;return i[8]!==h?(a={handleHistoryUpdate:h},i[8]=h,i[9]=a):a=i[9],i[10]!==d||i[11]!==a?(o=[d,a],i[10]=d,i[11]=a,i[12]=o):o=i[12],o}(t),{location:N,error:L,routeStateMap:P,appPayload:A,navigateOnError:T,isLoading:D}=_,{handleHistoryUpdate:O}=k;return!function(e,t,r){let n,a,o=(0,v.c)(5),i=(0,b.useRef)(null);o[0]!==e||o[1]!==t||o[2]!==r?(n=()=>{if(i.current||(i.current=r),!ef(i.current,r)&&(t||e))if(t){let e=(e=>{let t=404===e.httpStatus?”404 Page not found”:500===e.httpStatus?”500 Internal server error”:e.httpStatus?`Error ${e.httpStatus}`:”Error”;return(0,et.Y)(t)})(t);(0,et.D)(e)}else e?.type===”loaded”&&e.title&&(0,et.D)((0,et.Y)(e.title));i.current?.key!==r.key&&(i.current=r)},a=[t,e,r],o[0]=e,o[1]=t,o[2]=r,o[3]=n,o[4]=a):(n=o[3],a=o[4]),(0,b.useEffect)(n,a)}(P[N.key],L,N),j(D,N),(0,eE.n)(N,D,L),Q(),h[5]!==O||h[6]!==m?(r=()=>m.listen(O),n=[m,O],h[5]=O,h[6]=m,h[7]=r,h[8]=n):(r=h[7],n=h[8]),(0,q.N)(r,n),h[9]!==R||h[10]!==S?(a=(0,s.jsx)(eC,{routes:S,App:R}),h[9]=R,h[10]=S,h[11]=a):a=h[11],h[12]!==m||h[13]!==N||h[14]!==a?(o=(0,s.jsx)(d.Ix,{location:N,navigator:m,children:a}),h[12]=m,h[13]=N,h[14]=a,h[15]=o):o=h[15],h[16]!==x?(i=(0,s.jsx)(g.h,{ssrError:x}),h[16]=x,h[17]=i):i=h[17],h[18]!==A||h[19]!==L||h[20]!==T||h[21]!==P||h[22]!==S||h[23]!==o||h[24]!==i?(l=(0,s.jsxs)(el.l,{appPayload:A,error:L,navigateOnError:T,routes:S,routeStateMap:P,children:[o,i]}),h[18]=A,h[19]=L,h[20]=T,h[21]=P,h[22]=S,h[23]=o,h[24]=i,h[25]=l):l=h[25],h[26]!==C||h[27]!==l?(u=(0,s.jsx)(es.t,{onError:C,critical:!0,children:l}),h[26]=C,h[27]=l,h[28]=u):u=h[28],h[29]!==p||h[30]!==u||h[31]!==E?(c=(0,s.jsx)(y.U,{appName:p,wasServerRendered:E,dataRouterEnabled:!1,children:u}),h[29]=p,h[30]=u,h[31]=E,h[32]=c):c=h[32],c}function eC(e){let t,r,n,a,o=(0,v.c)(10),{App:i,routes:l}=e;return o[0]!==i?(t=(0,s.jsx)(ei,{App:i}),o[0]=i,o[1]=t):t=o[1],o[2]!==l?(r=(0,s.jsx)(R,{routes:l}),o[2]=l,o[3]=r):r=o[3],o[4]!==t||o[5]!==r?(n=(0,s.jsxs)(s.Fragment,{children:[t,r]}),o[4]=t,o[5]=r,o[6]=n):n=o[6],o[7]!==l||o[8]!==n?(a=[{element:n,children:l}],o[7]=l,o[8]=n,o[9]=a):a=o[9],(0,d.Ye)(a)}G();try{ex.displayName||(ex.displayName=”NavigatorClientEntry”)}catch{}try{eC.displayName||(eC.displayName=”AppRoutes”)}catch{}var e_=r(11934),ek=r(16235),eN=r(40558),eL=new WeakSet,eP=new WeakSet;let ReactAppElement=class ReactAppElement extends eN.H{connectedCallback(){super.connectedCallback(),this.uuid=(0,u._S)(),(0,u.cW)(this.uuid),window.addEventListener(“popstate”,this.popStateListener,!0)}disconnectedCallback(){window.removeEventListener(“popstate”,this.popStateListener,!0),this.routerOrHistory?.dispose(),super.disconnectedCallback()}get isDataRouterEnabled(){return”true”===this.getAttribute(“data-data-router-enabled”)}async getReactNode(e,t){if(this.isDataRouterEnabled){let r=await m(this.name);return(0,n._)(this,eL,eA).call(this,e,t,r.registration)}let r=await ea(this.name);return(0,n._)(this,eP,ej).call(this,e,t,r.registration)}get isLazy(){return”true”===this.getAttribute(“data-lazy”)}constructor(…e){super(…e),(0,a._)(this,eL),(0,a._)(this,eP),(0,o._)(this,”nameAttribute”,”app-name”),(0,o._)(this,”popStateListener”,e=>{e.state&&this.uuid!==(0,c.JV)().appId&&this.routerOrHistory?.dispose()})}};async function eA(e,t,r){e&&(0,ek.S)().removeQueries({queryKey:[this.name]});let{routes:n}=r({embeddedData:e});return this.routerOrHistory=(0,h.T)((0,d.Ys)(function(e,{ssrError:t,appName:r,wasServerRendered:n,children:a,HydrateFallback:o,dataRouterEnabled:i,appPayload:l}){return[{id:”__DATA_ROUTER_ROOT__”,errorElement:(0,s.jsx)(B.hw,{appName:r}),HydrateFallback:o,element:(0,s.jsx)(y.U,{appName:r,wasServerRendered:n,dataRouterEnabled:i,children:(0,s.jsx)(P.z.Provider,{value:l,children:(0,s.jsxs)(L.d,{routes:e,children:[(0,s.jsx)(d.sv,{}),a,(0,s.jsx)(g.h,{ssrError:t}),(0,s.jsx)(ee.e,{}),(0,s.jsx)(T,{}),(0,s.jsx)(Z,{}),(0,s.jsx)(z,{}),(0,s.jsx)(er,{}),(0,s.jsx)(R,{routes:e})]})})}),children:[{id:”__DATA_ROUTER_APPLICATION_ROUTES__”,errorElement:(0,s.jsx)(B.Ly,{appName:r}),children:e}]}]}(n,{appPayload:e.appPayload,ssrError:this.ssrError,appName:this.name,wasServerRendered:this.hasSSRContent,dataRouterEnabled:!0}))),(0,s.jsx)(e_.f,{appName:this.name,isDataRouterEnabled:!0,children:(0,s.jsx)(e_.U,{id:this.name,children:(0,s.jsx)(d.pg,{router:this.routerOrHistory})})})}async function ej(e,t,r){let{App:n,routes:a}=r(),o=this.getAttribute(“initial-path”);if(this.isLazy){let t=await fetch(o,{mode:”no-cors”,cache:”no-cache”,credentials:”include”}),{payload:r}=await t.json();e.payload=r}let i=globalThis.window,{pathname:l,search:u,hash:h}=new URL(`${o}${i?.location.hash??””}`,i?.location.href??”https://github.com”);(0,c.C3)({key:Math.random().toString(36).substr(2,8)});let p=function(e={}){let t,r=(0,d.zR)({…e,v5Compat:!0}),n=[],a=!1;function o(e){if(n.length>0)for(let t of n)t({retry(){e()}});else e()}return{get action(){return r.action},get location(){return r.location},createHref:e=>r.createHref(e),createURL:e=>r.createURL(e),encodeLocation:e=>r.encodeLocation(e),push(e,t){o(()=>r.push(e,t))},replace(e,t){o(()=>r.replace(e,t))},go(e){o(()=>r.go(e))},listen(e){if(t)throw Error(“A history only accepts one active listener”);return t=e,()=>{t=void 0}},dispose:r.listen(e=>{if(a){a=!1;return}if(e.action===d.rc.Pop&&n.length&&null!==e.delta&&n.length>0){let t=e.delta;for(let e of(a=!0,r.go(-1*t),n))e({retry(){r.go(t)}})}else t?.(e)}),block:e=>(n.push(e),()=>{n=n.filter(t=>t!==e)})}}({window:i});this.routerOrHistory=p;let{key:f,state:m}=p.location;return(0,s.jsx)(e_.f,{appName:this.name,isDataRouterEnabled:!1,children:(0,s.jsx)(e_.U,{id:this.name,children:(0,s.jsx)(ex,{appName:this.name,initialLocation:{pathname:l,search:u,hash:h,key:f,state:m},history:p,embeddedData:e,routes:a,App:n,wasServerRendered:this.hasSSRContent,ssrError:this.ssrError,onError:t})})})}function eT(e,t){en.register(e,{type:”NavigatorApp”,registration:t})}function eD(e){f.register(e.name,{type:”DataRouterApp”,registration:e.registration})}ReactAppElement=(0,i.Cg)([l.p_],ReactAppElement)},7123:(e,t,r)=>{r.d(t,{k:()=>f});var n=r(50467),a=r(31635),o=r(74848),i=r(39595),s=r(13017),l=r(18501),u=r(11934),c=r(26865);let d=new(r(86917)).R;var h=r(40558);let p=class ReactPartialElement extends h.H{async getReactNode(e,t){var r;let{Component:n}=await (r=this.name,d.getRegistration(r).promise),a=this.closest(“react-partial-anchor”),i=(0,c.b3)(a),h={…e,props:{…e.props,…i}};return(0,o.jsx)(u.f,{appName:this.name,isDataRouterEnabled:!1,children:(0,o.jsx)(u.U,{id:this.name,children:(0,o.jsx)(l.c,{partialName:this.name,wasServerRendered:this.hasSSRContent,onError:t,ssrError:this.ssrError,children:(0,o.jsx)(s.Kd,{children:(0,o.jsx)(s.BV,{children:(0,o.jsx)(s.qh,{path:”*”,element:(0,o.jsx)(n,{…h.props})})})})})})})}constructor(…e){super(…e),(0,n._)(this,”nameAttribute”,”partial-name”)}};function f(e,t){return d.register(e,t)}p=(0,a.Cg)([i.p_],p)},6152:(e,t,r)=>{r.d(t,{Y:()=>n});let n=(0,r(96540).createContext)({})},74135:(e,t,r)=>{r.d(t,{n:()=>p});var n=r(35750),a=r(18150),o=r(85242),i=r(81075),s=r(75735);let l=”@github-ui/react-core/router:state-update”,u=class RouterStateUpdateEvent extends Event{constructor(){super(l)}};var c=new WeakMap;let d=class RouterStore extends EventTarget{static getInstance(){return(0,i._)(RouterStore,RouterStore,h)||(0,s._)(RouterStore,RouterStore,h,new RouterStore),(0,i._)(RouterStore,RouterStore,h)}getState(){return(0,n._)(this,c)}setState(e){(0,o._)(this,c,e),this.dispatchEvent(new u)}subscribe(e){let t=new AbortController;return this.addEventListener(l,()=>{e((0,n._)(this,c))},{signal:t.signal}),e((0,n._)(this,c)),()=>{t.abort()}}constructor(){super(),(0,a._)(this,c,{writable:!0,value:null})}};var h={writable:!0,value:void 0};function p(){return d.getInstance()}},24518:(e,t,r)=>{r.d(t,{k:()=>n});let n=(0,r(96540).createContext)({routes:[]})},79634:(e,t,r)=>{r.d(t,{X:()=>o,z:()=>a});var n=r(96540);let a=(0,n.createContext)(void 0);function o(){return(0,n.useContext)(a)}},83952:(e,t,r)=>{let n;r.d(t,{A:()=>d});var a=r(21728),o=r(71315),i=r(96540);function s(e){return{colorMode:function(e){switch(e){case”light”:return”day”;case”dark”:return”night”;default:return”auto”}}(e.colorMode),dayScheme:e.lightTheme,nightScheme:e.darkTheme}}let l=new Set([“light_colorblind_high_contrast”,”light_tritanopia_high_contrast”,”dark_colorblind_high_contrast”,”dark_tritanopia_high_contrast”,”dark_dimmed_high_contrast”]),u={light_colorblind_high_contrast:”light_high_contrast”,light_tritanopia_high_contrast:”light_high_contrast”,dark_colorblind_high_contrast:”dark_high_contrast”,dark_tritanopia_high_contrast:”dark_high_contrast”,dark_dimmed_high_contrast:”dark_high_contrast”};function c(e){var t;return void 0!==e&&(t=e,l.has(t))?u[e]:e}let d=o.XC?function(){let e,t,r,n,l,u,d=(0,a.c)(11),{documentElement:h}=o.XC;d[0]===Symbol.for(“react.memo_cache_sentinel”)?(e=()=>s(h.dataset),d[0]=e):e=d[0];let[p,f]=(0,i.useState)(e);return d[1]===Symbol.for(“react.memo_cache_sentinel”)?(t=()=>{let e=new MutationObserver(()=>f(s(h.dataset)));return e.observe(h,{attributes:!0,attributeFilter:[“data-color-mode”,”data-light-theme”,”data-dark-theme”]}),()=>e.disconnect()},r=[h],d[1]=t,d[2]=r):(t=d[1],r=d[2]),(0,i.useEffect)(t,r),d[3]!==p.dayScheme?(n=c(p.dayScheme),d[3]=p.dayScheme,d[4]=n):n=d[4],d[5]!==p.nightScheme?(l=c(p.nightScheme),d[5]=p.nightScheme,d[6]=l):l=d[6],d[7]!==p||d[8]!==n||d[9]!==l?(u={…p,dayScheme:n,nightScheme:l},d[7]=p,d[8]=n,d[9]=l,d[10]=u):u=d[10],u}:function(){return s(n||{})}},80443:(e,t,r)=>{r.d(t,{N:()=>i});var n=r(13017),a=r(96540),o=r(6152);function i(){return(0,a.useContext)(o.Y)[(0,n.zy)().key]}},91747:(e,t,r)=>{r.d(t,{h:()=>a,u:()=>o});var n=r(79634);let a=()=>(0,n.X)()?.enabled_features??{},o=e=>!!a()[e]},64677:(e,t,r)=>{r.d(t,{q:()=>o});var n=r(96540),a=r(42270);function o(){return(0,n.useContext)(a.C)}},76648:(e,t,r)=>{r.d(t,{B:()=>a});var n=r(80443);function a(){let e=(0,n.N)(),t=e&&”loaded”===e.type?e.data:void 0;return t?.payload}},56629:(e,t,r)=>{r.d(t,{n:()=>u});var n=r(21728),a=r(65432),o=r(94416),i=r(71315),s=r(11083),l=r(96540);let u=(e,t,r)=>{let a,s,u=(0,n.c)(6),h=(0,l.useRef)(void 0);u[0]!==r||u[1]!==t||u[2]!==e.key||u[3]!==e.pathname?(a=()=>{t||void 0!==h.current&&h.current===e.key||((0,o.LM)()?(c(r),function(e){let t=i.XC?.querySelector(“meta[name=visitor-payload]”);if(!t)return;let r=JSON.parse(atob(t.content));r.referrer=new URL(e,i.fV.origin).href,t.content=btoa(JSON.stringify(r))}(e.pathname)):d(r),h.current=e.key)},s=[e.key,e.pathname,t,r],u[0]=r,u[1]=t,u[2]=e.key,u[3]=e.pathname,u[4]=a,u[5]=s):(a=u[4],s=u[5]),(0,l.useEffect)(a,s)},c=e=>{e?(0,a.o4)():((0,a.rZ)(),(0,a.iS)())},d=e=>{if(e)return;let t=function(){window.performance.measure(h);let e=window.performance.getEntriesByName(h).pop();return e?e.duration:null}();t&&(0,s.i)({requestUrl:window.location.href,distributionKey:”REACT_NAV_DURATION”,distributionValue:Math.round(t),distributionTags:[“REACT_NAV_HARD”]})},h=”react_nav_duration”},68237:(e,t,r)=>{r.d(t,{U:()=>y});var n=r(74848),a=r(21728),o=r(57224),i=r(76629),s=r(43258),l=r(96568),u=r(97665),c=r(68270),d=r(45887),h=r(49890),p=r(16235),f=r(83952);let m={};function y(e){let t,r,y,g,v,b,w,S=(0,a.c)(20),{appName:R,children:E,wasServerRendered:x,dataRouterEnabled:C}=e,{colorMode:_,dayScheme:k,nightScheme:N}=(0,f.A)();S[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=(0,p.S)(),S[0]=t):t=S[0];let L=t;return S[1]!==E?(r=(0,n.jsx)(s.k6,{children:E}),S[1]=E,S[2]=r):r=S[2],S[3]!==R||S[4]!==r?(y=(0,n.jsx)(d.V,{appName:R,children:r}),S[3]=R,S[4]=r,S[5]=y):y=S[5],S[6]!==C||S[7]!==y?(g=(0,n.jsx)(c.v,{enabled:C,children:y}),S[6]=C,S[7]=y,S[8]=g):g=S[8],S[9]!==_||S[10]!==k||S[11]!==N||S[12]!==g?(v=(0,n.jsx)(h.n,{children:(0,n.jsx)(l.NP,{colorMode:_,dayScheme:k,nightScheme:N,preventSSRMismatch:!0,children:g})}),S[9]=_,S[10]=k,S[11]=N,S[12]=g,S[13]=v):v=S[13],S[14]!==R||S[15]!==v?(b=(0,n.jsx)(o.y,{appName:R,category:””,metadata:m,children:v}),S[14]=R,S[15]=v,S[16]=b):b=S[16],S[17]!==b||S[18]!==x?(w=(0,n.jsx)(u.Ht,{client:L,children:(0,n.jsx)(i.D3,{wasServerRendered:x,children:b})}),S[17]=b,S[18]=x,S[19]=w):w=S[19],w}try{y.displayName||(y.displayName=”BaseProviders”)}catch{}},69743:(e,t,r)=>{r.d(t,{h:()=>c});var n=r(74848),a=r(21728),o=r(40064),i=r(43258),s=r(96540),l=r(7820);function u({ssrError:e}){let{addToast:t}=(0,i.Y6)(),r=l.z[e.textContent||””];return(0,s.useEffect)(()=>{r||t({type:”error”,message:”SSR failed, see console for error details (Staff Only)”})},[]),null}try{u.displayName||(u.displayName=”SSRErrorToast”)}catch{}function c(e){let t,r,i,s=(0,a.c)(5),{ssrError:l}=e;return s[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=(0,n.jsx)(o.V,{}),s[0]=t):t=s[0],s[1]!==l?(r=l&&(0,n.jsx)(u,{ssrError:l}),s[1]=l,s[2]=r):r=s[2],s[3]!==r?(i=(0,n.jsxs)(n.Fragment,{children:[t,r]}),s[3]=r,s[4]=i):i=s[4],i}try{c.displayName||(c.displayName=”CommonElements”)}catch{}},75202:(e,t,r)=>{r.d(t,{t:()=>c});var n=r(74848),a=r(21728),o=r(49936),i=r(38102),s=r(96540),l=r(60281);let u=class BasicErrorBoundary extends s.Component{static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){let t={critical:this.props.critical||!1,reactAppName:this.props.appName};”function”==typeof this.props.onError?this.props.onError(e,t):function(e,t={}){setTimeout(()=>{(0,i.N7)(e,t)})}(e,t)}render(){return this.state.error?void 0===this.props.fallback?(0,n.jsx)(l.M,{type:”httpError”}):this.props.fallback:this.props.children}constructor(e){super(e),this.state={error:null}}};function c(e){let t,r=(0,a.c)(3),i=s.useContext(o.I),l=e.appName||i?.appName;return r[0]!==l||r[1]!==e?(t=(0,n.jsx)(u,{…e,appName:l}),r[0]=l,r[1]=e,r[2]=t):t=r[2],t}try{c.displayName||(c.displayName=”ErrorBoundary”)}catch{}},60281:(e,t,r)=>{r.d(t,{M:()=>l});var n=r(74848),a=r(21728),o=r(81960);let i={Heading:”ErrorPage-module__Heading–ucgNq”,Status:”ErrorPage-module__Status–ITNSj”,Message:”ErrorPage-module__Message–CAZL0″},s={404:”Didn\u2019t find anything here!”,500:”Looks like something went wrong!”};function l(e){let t,r,l,u=(0,a.c)(7),{httpStatus:c,type:d}=e,h=”fetchError”===d?”Looks like network is down!”:s[c||500];return u[0]!==c?(t=c?(0,n.jsx)(“div”,{className:i.Status,children:c}):null,u[0]=c,u[1]=t):t=u[1],u[2]!==h?(r=(0,n.jsx)(“div”,{className:i.Message,children:h}),u[2]=h,u[3]=r):r=u[3],u[4]!==t||u[5]!==r?(l=(0,n.jsxs)(o.A,{as:”h1″,tabIndex:-1,className:i.Heading,children:[“Error”,t,r]}),u[4]=t,u[5]=r,u[6]=l):l=u[6],l}try{l.displayName||(l.displayName=”ErrorPage”)}catch{}},81353:(e,t,r)=>{r.d(t,{s:()=>i});var n=r(74848),a=r(21728),o=r(79634);let i=e=>{let t,r,i=(0,a.c)(5),{children:s,features:l}=e;i[0]!==l?(t={enabled_features:l},i[0]=l,i[1]=t):t=i[1];let u=t;return i[2]!==s||i[3]!==u?(r=(0,n.jsx)(o.z.Provider,{value:u,children:s}),i[2]=s,i[3]=u,i[4]=r):r=i[4],r};try{i.displayName||(i.displayName=”FeatureFlagProvider”)}catch{}},70103:(e,t,r)=>{r.d(t,{a:()=>o});var n=r(51987),a=r(88057);function o({path:e,Component:t,shouldNavigateOnError:r,transitionType:o,children:i}){return{path:e,Component:t,coreLoader:async function e({location:e}){let t;try{let r=`${e.pathname}${e.search}`;t=await window.fetch(r,{headers:{Accept:”application/json”,…(0,n.kt)(),”X-GitHub-Target”:”dotcom”,”X-React-Router”:”json”,…(0,n.jC)(“navigator”)}});let o=t?.headers?.get(“X-Github-Request-Id”);o&&(0,a.Ex)(o)}catch{return{type:r?”route-handled-error”:”error”,error:{type:”fetchError”}}}if(t.redirected)return{type:”redirect”,url:t.url};if(!t.ok)return{type:r?”route-handled-error”:”error”,error:{type:”httpError”,httpStatus:t.status}};try{let e=await t.json();return{type:”loaded”,data:e,title:e.title}}catch{return{type:r?”route-handled-error”:”error”,error:{type:”badResponseError”}}}},loadFromEmbeddedData:function({embeddedData:e}){return{data:e,title:e.title}},transitionType:o,children:i}}},66108:(e,t,r)=>{r.d(t,{N:()=>c,k:()=>d});var n=r(74848),a=r(21728),o=r(13017),i=r(71315),s=r(96540),l=r(58578),u=r(24518);let c=(0,s.forwardRef)((e,t)=>{let r,c,d,h,p,f,m=(0,a.c)(14);m[0]!==e?({to:h,reloadDocument:d,preventAutofocus:r,…c}=e,m[0]=e,m[1]=r,m[2]=c,m[3]=d,m[4]=h):(r=m[1],c=m[2],d=m[3],h=m[4]);let{routes:y}=(0,s.useContext)(u.k),g=(0,o.o1)(h,i.fV.pathname).pathname;return d=d??!(0,o.ue)(y,g),m[5]!==r||m[6]!==c.state?(p=r?{[l.V]:!0,…c.state}:c.state,m[5]=r,m[6]=c.state,m[7]=p):p=m[7],m[8]!==c||m[9]!==t||m[10]!==d||m[11]!==p||m[12]!==h?(f=(0,n.jsx)(o.N_,{to:h,…c,state:p,reloadDocument:d,ref:t}),m[8]=c,m[9]=t,m[10]=d,m[11]=p,m[12]=h,m[13]=f):f=m[13],f});c.displayName=”Link”;let d=(0,s.forwardRef)(function(e,t){let r,c,d,h,p,f,m=(0,a.c)(14);m[0]!==e?({to:h,reloadDocument:d,preventAutofocus:r,…c}=e,m[0]=e,m[1]=r,m[2]=c,m[3]=d,m[4]=h):(r=m[1],c=m[2],d=m[3],h=m[4]);let{routes:y}=(0,s.useContext)(u.k),g=(0,o.o1)(h,i.fV.pathname).pathname;return d=d??!(0,o.ue)(y,g),m[5]!==r||m[6]!==c.state?(p=r?{[l.V]:!0,…c.state}:c.state,m[5]=r,m[6]=c.state,m[7]=p):p=m[7],m[8]!==c||m[9]!==t||m[10]!==d||m[11]!==p||m[12]!==h?(f=(0,n.jsx)(o.k2,{to:h,…c,state:p,reloadDocument:d,ref:t}),m[8]=c,m[9]=t,m[10]=d,m[11]=p,m[12]=h,m[13]=f):f=m[13],f});try{d.displayName||(d.displayName=”NavLink”)}catch{}},42270:(e,t,r)=>{r.d(t,{C:()=>c,l:()=>d});var n=r(74848),a=r(21728),o=r(96540),i=r(60281),s=r(6152),l=r(5330),u=r(79634);let c=(0,o.createContext)(null);function d(e){let t,r,o=(0,a.c)(9),{appPayload:d,children:h,error:p,navigateOnError:f,routes:m,routeStateMap:y}=e;return o[0]!==d||o[1]!==h||o[2]!==p||o[3]!==f||o[4]!==y?(t=p&&!f?(0,n.jsx)(i.M,{…p}):(0,n.jsx)(u.z.Provider,{value:d,children:(0,n.jsx)(c.Provider,{value:p,children:(0,n.jsx)(s.Y.Provider,{value:y,children:h})})}),o[0]=d,o[1]=h,o[2]=p,o[3]=f,o[4]=y,o[5]=t):t=o[5],o[6]!==m||o[7]!==t?(r=(0,n.jsx)(l.d,{routes:m,children:t}),o[6]=m,o[7]=t,o[8]=r):r=o[8],r}try{c.displayName||(c.displayName=”NavigationErrorContext”)}catch{}try{d.displayName||(d.displayName=”NavigatorRouter”)}catch{}},18501:(e,t,r)=>{r.d(t,{c:()=>c});var n=r(74848),a=r(21728),o=r(68237),i=r(69743),s=r(75202),l=r(5330);let u=[];function c(e){let t,r,c,d,h=(0,a.c)(12),{partialName:p,wasServerRendered:f,onError:m,children:y,ssrError:g}=e;return h[0]!==g?(t=(0,n.jsx)(i.h,{ssrError:g}),h[0]=g,h[1]=t):t=h[1],h[2]!==y||h[3]!==t?(r=(0,n.jsxs)(l.d,{routes:u,children:[y,t]}),h[2]=y,h[3]=t,h[4]=r):r=h[4],h[5]!==m||h[6]!==r?(c=(0,n.jsx)(s.t,{onError:m,children:r}),h[5]=m,h[6]=r,h[7]=c):c=h[7],h[8]!==p||h[9]!==c||h[10]!==f?(d=(0,n.jsx)(o.U,{appName:p,wasServerRendered:f,dataRouterEnabled:!1,children:c}),h[8]=p,h[9]=c,h[10]=f,h[11]=d):d=h[11],d}try{c.displayName||(c.displayName=”PartialEntry”)}catch{}},49890:(e,t,r)=>{r.d(t,{n:()=>s});var n=r(74848),a=r(21728),o=r(69599),i=r(50279);function s(e){let t,r,s=(0,a.c)(3),{children:l}=e;if(s[0]===Symbol.for(“react.memo_cache_sentinel”)){for(let e of(t={},(0,o.fQ)()))e.startsWith(“primer_react_”)&&(t[e]=!0);s[0]=t}else t=s[0];let u=t;return s[1]!==l?(r=(0,n.jsx)(i.g,{flags:u,children:l}),s[1]=l,s[2]=r):r=s[2],r}r(96540);try{s.displayName||(s.displayName=”PrimerFeatureFlags”)}catch{}},11934:(e,t,r)=>{r.d(t,{U:()=>d,f:()=>c});var n=r(74848),a=r(21728),o=r(73189),i=r(96540),s=r(69599),l=r(11083);let u=(0,i.createContext)(null),c=(0,i.memo)(function(e){let t,r,o=(0,a.c)(6),{isDataRouterEnabled:c,appName:d,children:h}=e;o[0]!==d||o[1]!==c?(t={appName:d,isDataRouterEnabled:c},o[0]=d,o[1]=c,o[2]=t):t=o[2];let{onRender:p}=function(e){let t,r,n=(0,a.c)(5),{appName:o,isDataRouterEnabled:u}=e;n[0]!==o||n[1]!==u?(t=(e,t,r,n,a,c)=>{“undefined”!=typeof window&&(0,s.G7)(“react_quality_profiling”)&&(0,l.i)({requestUrl:window.location.href,reactRenderPerformance:{actualDuration:r,baseDuration:n,commitLag:c-a,phase:t,appName:o,isDataRouterEnabled:u,componentId:e,reactVersion:i.version}})},n[0]=o,n[1]=u,n[2]=t):t=n[2];let c=t;return n[3]!==c?(r={onRender:c},n[3]=c,n[4]=r):r=n[4],r}(t);return o[3]!==h||o[4]!==p?(r=(0,n.jsx)(u.Provider,{value:p,children:h}),o[3]=h,o[4]=p,o[5]=r):r=o[5],r}),d=(0,i.memo)(function(e){let t,r=(0,a.c)(4),{id:s,children:l}=e,c=(0,i.useContext)(u)??o.l;return r[0]!==l||r[1]!==s||r[2]!==c?(t=(0,n.jsx)(i.Profiler,{id:s,onRender:c,children:l}),r[0]=l,r[1]=s,r[2]=c,r[3]=t):t=r[3],t});try{u.displayName||(u.displayName=”ProfilerContext”)}catch{}try{c.displayName||(c.displayName=”ProfilerProvider”)}catch{}try{d.displayName||(d.displayName=”Profiler”)}catch{}},40558:(e,t,r)=>{r.d(t,{H:()=>ReactBaseElement});var n=r(35750),a=r(18150),o=r(85242),i=r(88243),s=r(16213),l=r(31635),u=r(74848),c=r(39595),d=r(38102),h=r(73189),p=r(28600),f=r(11083),m=r(96540),y=r(5338),g=r(7820);let v=/Minified React error #(?\d+)/,b=[“419″,”421”];var w=new WeakMap,S=new WeakMap,R=new WeakSet,E=new WeakSet,x=new WeakSet,C=new WeakSet,_=new WeakSet,k=new WeakSet;let ReactBaseElement=class ReactBaseElement extends HTMLElement{get name(){return this.getAttribute(this.nameAttribute)}get hasSSRContent(){return”true”===this.getAttribute(“data-ssr”)}get attemptedSSR(){return”true”===this.getAttribute(“data-attempted-ssr”)}connectedCallback(){(0,i._)(this,C,j).call(this)}disconnectedCallback(){(0,n._)(this,w)?.unmount(),(0,o._)(this,w,void 0)}constructor(…e){super(…e),(0,a._)(this,S,{get:N,set:void 0}),(0,s._)(this,R),(0,s._)(this,E),(0,s._)(this,x),(0,s._)(this,C),(0,s._)(this,_),(0,s._)(this,k),(0,a._)(this,w,{writable:!0,value:void 0})}};function N(){let e=this.embeddedData?.textContent;if(!e)throw Error(`No embedded data provided for react element ${this.name}`);return e}function L(){return p.A.isEnabled()||”true”===this.getAttribute(“data-react-profiling”)}function P(e,t,r){try{window.performance.mark(r),queueMicrotask(()=>{try{if(1===window.performance.getEntriesByName(t).length&&1===window.performance.getEntriesByName(r).length){let n=window.performance.measure(e,t,r);(0,f.i)({reactHydrationTimings:{duration:n.duration,appName:this.name,reactVersion:m.version,renderType:this.hasSSRContent?”hydrateRoot”:”createRoot”},requestUrl:location.href})}}catch{}finally{window.performance.clearMarks(t),window.performance.clearMarks(r),window.performance.clearMeasures(e)}})}catch{}}function A(){try{let e=crypto.randomUUID(),t=`react-base-element-initial-render-${this.name}-[${e}]`,r=`${t}-start`,n=`${t}-end`,a=`${t}-entry`;return window.performance.mark(r),()=>{(0,i._)(this,E,P).call(this,a,r,n)}}catch{return h.l}}async function j(){if(!this.reactRoot)throw Error(“No react root provided”);let e={createRoot:y.H,hydrateRoot:y.c};(0,i._)(this,R,L).call(this)&&(e=await (0,i._)(this,_,T).call(this));let t=(0,i._)(this,x,A).call(this),r=!1,a=(e,t={})=>{r=!0;let n={critical:!0,reactAppName:this.name,…t};setTimeout(()=>{(0,d.N7)(e,n)})},s=JSON.parse((0,n._)(this,S)),l=this.ssrError?.textContent,c=await this.getReactNode(s,a),h=(0,u.jsx)(m.StrictMode,{children:c});if(l&&(0,i._)(this,k,D).call(this,l),this.hasSSRContent){let t=[…this.querySelectorAll(‘style[data-styled=”true”]’),…this.querySelectorAll(‘link[data-remove-after-hydration=”true”]’)];for(let e of t)document.head.appendChild(e);(0,o._)(this,w,e.hydrateRoot(this.reactRoot,h,{onRecoverableError:(e,t)=>{if(!(e instanceof Error))return;let n=v.exec(e.message),a=String(n?.groups?.invariant);r=!b.includes(a),(0,f.i)({incrementKey:”REACT_HYDRATION_ERROR”,incrementTags:{appName:this.name,invariant:a},requestUrl:window.location.href}),r&&(0,f.X)()&&(console.groupCollapsed(`%c\u{26A0}\u{FE0F} Recoverable hydration error – ${this.name} – ${e.message}`,”background: rgba(255, 193, 7, 0.2); font-weight: bold; padding: 4px; border: 1px solid rgba(255, 193, 7, 0.5); border-radius: 4px;”,”This is only visible to staff users and is safe to ignore. Reach out to #react for help understanding and fixing these hydration errors”),e.cause&&console.warn(“cause”,e.cause),t.componentStack&&console.warn(“componentStack”,t.componentStack),t.digest&&console.warn(“digest”,t.digest),console.groupEnd())}})),t.length>0&&requestIdleCallback(()=>{for(let e of t)e.parentElement?.removeChild(e)}),(0,f.i)({incrementKey:”REACT_RENDER”,incrementTags:{appName:this.name,csr:!1,error:r,ssr:!0,ssrError:!1}})}else(0,o._)(this,w,e.createRoot(this.reactRoot)),(0,n._)(this,w).render(h),(0,f.i)({incrementKey:”REACT_RENDER”,incrementTags:{appName:this.name,csr:!0,error:r,ssr:this.attemptedSSR,ssrError:!!this.ssrError}});this.classList.add(“loaded”),t()}function T(){return r.e(“react-profiling”).then(r.t.bind(r,87335,19))}function D(e){if((0,f.X)()){if(g.z[e])return console.error(“SSR failed with an expected error:”,g.z[e]);try{let t=JSON.parse(e),r=function(e){if(!e.stacktrace)return””;let t=`
`;return e.stacktrace.map(e=>{let{function:r,filename:n,lineno:a,colno:o}=e,i=`${t} at ${r} (${n}:${a}:${o})`;return t=” “,i}).join(`
`)}(t);console.error(“Error During Alloy SSR:”,`${this.tagName.toLowerCase()}[${this.name}]`,`${t.type}: ${t.value}
`,t,r)}catch{console.error(“Error During Alloy SSR:”,`${this.tagName.toLowerCase()}[${this.name}]`,e,”unable to parse as json”)}}}(0,l.Cg)([c.aC],ReactBaseElement.prototype,”embeddedData”,void 0),(0,l.Cg)([c.aC],ReactBaseElement.prototype,”ssrError”,void 0),(0,l.Cg)([c.aC],ReactBaseElement.prototype,”reactRoot”,void 0);try{v.displayName||(v.displayName=”REACT_INVARIANT_ERROR_REGEX”)}catch{}},5330:(e,t,r)=>{r.d(t,{d:()=>i});var n=r(74848),a=r(21728),o=r(24518);function i(e){let t,r,i=(0,a.c)(5),{routes:s,children:l}=e;i[0]!==s?(t={routes:s},i[0]=s,i[1]=t):t=i[1];let u=t;return i[2]!==u||i[3]!==l?(r=(0,n.jsx)(o.k.Provider,{value:u,children:l}),i[2]=u,i[3]=l,i[4]=r):r=i[4],r}try{i.displayName||(i.displayName=”RoutesContextProvider”)}catch{}},68270:(e,t,r)=>{r.d(t,{e:()=>o,v:()=>i});var n=r(74848),a=r(21728);let o=(0,r(96540).createContext)(!1);function i(e){let t,r=(0,a.c)(3),{enabled:i,children:s}=e;return r[0]!==s||r[1]!==i?(t=(0,n.jsx)(o.Provider,{value:i,children:s}),r[0]=s,r[1]=i,r[2]=t):t=r[2],t}try{o.displayName||(o.displayName=”IsDataRouterEnabledContext”)}catch{}try{i.displayName||(i.displayName=”IsDataRouterEnabledContextProvider”)}catch{}},45887:(e,t,r)=>{r.d(t,{V:()=>u,l:()=>c});var n=r(74848),a=r(21728),o=r(38102),i=r(96540),s=r(48602);let l=(0,i.createContext)(null),u=(0,i.memo)(function(e){let t,r,u,c,d=(0,a.c)(9),{appName:h,children:p,critical:f}=e;d[0]!==f||d[1]!==h?(t={reactAppName:h,critical:f},d[0]=f,d[1]=h,d[2]=t):t=d[2];let m=(0,i.useRef)(t);d[3]!==f||d[4]!==h?(r=()=>{m.current={reactAppName:h,critical:f}},d[3]=f,d[4]=h,d[5]=r):r=d[5],(0,i.useEffect)(r),d[6]===Symbol.for(“react.memo_cache_sentinel”)?(u=(e,t)=>{if(e)return(0,s.km)(e,e=>{(0,o.N7)(e,{critical:m.current.critical,reactAppName:m.current.reactAppName,…t})})},d[6]=u):u=d[6];let y=u;return d[7]!==p?(c=(0,n.jsx)(l.Provider,{value:y,children:p}),d[7]=p,d[8]=c):c=d[8],c});function c(){let e=(0,i.useContext)(l);if(null==e)throw Error(“useReportErrorContext must be used within a ReportErrorContextProvider”);return e}try{l.displayName||(l.displayName=”ReportErrorContext”)}catch{}try{u.displayName||(u.displayName=”ReportErrorContextProvider”)}catch{}},48602:(e,t,r)=>{r.d(t,{Ly:()=>m,hw:()=>p,km:()=>h});var n=r(74848),a=r(21728),o=r(38102),i=r(13017),s=r(26382),l=r(96540),u=r(95224),c=r(76143);let d=new WeakSet;function h(e,t){d.has(e)||(d.add(e),t(e))}let p=e=>{let t,r=(0,a.c)(3),{appName:o}=e,s=(0,i.r5)();return!function(e){return(0,i.pX)(e)&&404===e.status}(s)?(r[0]!==o||r[1]!==s?(t=(0,n.jsx)(f,{appName:o,routeError:s}),r[0]=o,r[1]=s,r[2]=t):t=r[2],t):null};function f(e){let t,r,i,u,c=(0,a.c)(6),{appName:d,routeError:p}=e,f=(0,l.useRef)(d);return c[0]!==d?(t=()=>{f.current=d},c[0]=d,c[1]=t):t=c[1],(0,l.useEffect)(t),c[2]!==p?(r=()=>{p&&h(p,e=>{(0,o.N7)(e,{critical:!0,reactAppName:f.current})})},i=[p],c[2]=p,c[3]=r,c[4]=i):(r=c[3],i=c[4]),(0,l.useEffect)(r,i),c[5]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,n.jsxs)(s.E,{border:!1,spacious:!1,children:[(0,n.jsx)(s.E.Heading,{children:”Unable to load page.”}),(0,n.jsx)(s.E.Description,{children:”Please reload page and try again”})]}),c[5]=u):u=c[5],u}let m=e=>{let t,r=(0,a.c)(6),{appName:o}=e,s=(0,i.r5)();if((0,u.c)(s)){let e;return r[0]!==o||r[1]!==s?(e=(0,n.jsx)(y,{appName:o,responseError:s}),r[0]=o,r[1]=s,r[2]=e):e=r[2],e}return r[3]!==o||r[4]!==s?(t=(0,n.jsx)(f,{routeError:s,appName:o}),r[3]=o,r[4]=s,r[5]=t):t=r[5],t};function y(e){let t,r,i,u,d,p,f,m,y,g=(0,a.c)(11),{appName:v,responseError:b}=e,w=(0,a.c)(3),S=b.response.status;w[0]!==S?(m=()=>{let e=function(e){let t=404===e?”404 Page not found”:500===e?”500 Internal server error”:`Error ${e}`;return(0,c.Y)(t)}(S);(0,c.D)(e)},y=[S],w[0]=S,w[1]=m,w[2]=y):(m=w[1],y=w[2]),(0,l.useEffect)(m,y);let R=(0,l.useRef)(v);g[0]!==v?(t=()=>{R.current=v},g[0]=v,g[1]=t):t=g[1],(0,l.useEffect)(t),g[2]!==b?(r=()=>{h(b,e=>{(0,o.N7)(e,{critical:!0,reactAppName:R.current})})},i=[b],g[2]=b,g[3]=r,g[4]=i):(r=g[3],i=g[4]),(0,l.useEffect)(r,i),g[5]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,n.jsx)(s.E.Heading,{children:”Unable to load page.”}),g[5]=u):u=g[5];let E=`Status: ${b.response.status} Message: ${b.message}`;return g[6]!==E?(d=(0,n.jsx)(s.E.Description,{children:E}),g[6]=E,g[7]=d):d=g[7],g[8]===Symbol.for(“react.memo_cache_sentinel”)?(p=(0,n.jsx)(s.E.Description,{children:”Please reload page and try again”}),g[8]=p):p=g[8],g[9]!==d?(f=(0,n.jsxs)(s.E,{border:!1,spacious:!1,children:[u,d,p]}),g[9]=d,g[10]=f):f=g[10],f}try{p.displayName||(p.displayName=”UnhandledRouteError”)}catch{}try{f.displayName||(f.displayName=”BaseRouteErrorBoundary”)}catch{}try{m.displayName||(m.displayName=”RootAppRouteErrorElement”)}catch{}try{y.displayName||(y.displayName=”ResponseErrorElement”)}catch{}},3291:(e,t,r)=>{r.d(t,{e:()=>i,f:()=>s});var n=r(13017),a=r(96540),o=r(56629);let i=(0,a.memo)(function(){let e=(0,n.zy)(),t=!!(0,n.cq)().location;return(0,o.n)(e,t,null),null}),s=(0,a.memo)(function(){let e=(0,n.zy)();return(0,o.n)(e,!1,null),null});try{i.displayName||(i.displayName=”SoftNavLifecycleListener”)}catch{}try{s.displayName||(s.displayName=”SoftNavLifecycleListenerLegacy”)}catch{}},13017:(e,t,r)=>{r.d(t,{AO:()=>f,B6:()=>k,BV:()=>tN,C5:()=>tx,Ew:()=>td,FE:()=>tu,Gy:()=>t3,Ix:()=>tk,K:()=>re,KP:()=>tf,Kd:()=>tK,LG:()=>tc,N_:()=>tZ,OA:()=>t1,PI:()=>tj,RQ:()=>e2,Ye:()=>e9,Ys:()=>tG,Zp:()=>e5,_3:()=>eX,cq:()=>tl,g:()=>e6,k2:()=>t0,o1:()=>P,ok:()=>t5,pX:()=>z,pg:()=>tR,qh:()=>t_,r5:()=>th,rc:()=>s,sv:()=>tC,tW:()=>_,ue:()=>S,wQ:()=>e1,x$:()=>e7,zR:()=>u,zy:()=>e0});var n,a=r(96540),o=e=>{throw TypeError(e)},i=(e,t,r)=>(t.has(e)||o(“Cannot read from private field”),r?r.call(e):t.get(e)),s=(e=>(e.Pop=”POP”,e.Push=”PUSH”,e.Replace=”REPLACE”,e))(s||{}),l=”popstate”;function u(e={}){return function(e,t,r,n={}){let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,s=”POP”,u=null,c=d();function d(){return(i.state||{idx:null}).idx}function f(){s=”POP”;let e=d(),t=null==e?null:e-c;c=e,u&&u({action:s,location:m.location,delta:t})}null==c&&(c=0,i.replaceState({…i.state,idx:c},””));let m={get action(){return s},get location(){return e(a,i)},listen(e){if(u)throw Error(“A history only accepts one active listener”);return a.addEventListener(l,f),u=e,()=>{a.removeEventListener(l,f),u=null}},createHref:e=>t(a,e),createURL:function(e){return y(e)},encodeLocation(e){let t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=”PUSH”;let r=p(m.location,e,t);let n=h(r,c=d()+1),l=m.createHref(r);try{i.pushState(n,””,l)}catch(e){if(e instanceof DOMException&&”DataCloneError”===e.name)throw e;a.location.assign(l)}o&&u&&u({action:s,location:m.location,delta:1})},replace:function(e,t){s=”REPLACE”;let n=p(m.location,e,t);r&&r(n,e);let a=h(n,c=d()),l=m.createHref(n);i.replaceState(a,””,l),o&&u&&u({action:s,location:m.location,delta:0})},go:e=>i.go(e)};return m}(function(e,t){let{pathname:r,search:n,hash:a}=e.location;return p(“”,{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||”default”)},function(e,t){return”string”==typeof t?t:f(t)},null,e)}function c(e,t){if(!1===e||null==e)throw Error(t)}function d(e,t){if(!e){“undefined”!=typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function h(e,t){return{usr:e.state,key:e.key,idx:t}}function p(e,t,r=null,n){return{pathname:”string”==typeof e?e:e.pathname,search:””,hash:””,…”string”==typeof t?m(t):t,state:r,key:t&&t.key||n||Math.random().toString(36).substring(2,10)}}function f({pathname:e=”/”,search:t=””,hash:r=””}){return t&&”?”!==t&&(e+=”?”===t.charAt(0)?t:”?”+t),r&&”#”!==r&&(e+=”#”===r.charAt(0)?r:”#”+r),e}function m(e){let t={};if(e){let r=e.indexOf(“#”);r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf(“?”);n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function y(e,t=!1){let r=”http://localhost”;”undefined”!=typeof window&&(r=”null”!==window.location.origin?window.location.origin:window.location.href),c(r,”No window.location.(origin|href) available to create URL”);let n=”string”==typeof e?e:f(e);return n=n.replace(/ $/,”%20″),!t&&n.startsWith(“//”)&&(n=r+n),new URL(n,r)}var g=class{constructor(e){if(((e,t,r)=>t.has(e)?o(“Cannot add the same private member more than once”):t instanceof WeakSet?t.add(e):t.set(e,r))(this,n,new Map),e)for(let[t,r]of e)this.set(t,r)}get(e){if(i(this,n).has(e))return i(this,n).get(e);if(void 0!==e.defaultValue)return e.defaultValue;throw Error(“No value found for context”)}set(e,t){i(this,n).set(e,t)}};n=new WeakMap;var v=new Set([“lazy”,”caseSensitive”,”path”,”id”,”index”,”children”]),b=new Set([“lazy”,”caseSensitive”,”path”,”id”,”index”,”unstable_middleware”,”children”]);function w(e,t,r=[],n={},a=!1){return e.map((e,o)=>{let i=[…r,String(o)],s=”string”==typeof e.id?e.id:i.join(“-“);if(c(!0!==e.index||!e.children,”Cannot specify children on an index route”),c(a||!n[s],`Found a route id collision on id “${s}”. Route id’s must be globally unique within Data Router usages`),!0===e.index){let r={…e,…t(e),id:s};return n[s]=r,r}{let r={…e,…t(e),id:s,children:void 0};return n[s]=r,e.children&&(r.children=w(e.children,t,i,n,a)),r}})}function S(e,t,r=”/”){return R(e,t,r,!1)}function R(e,t,r,n){let a=L((“string”==typeof t?m(t):t).pathname||”/”,r);if(null==a)return null;let o=function e(t,r=[],n=[],a=””,o=!1){let i=(t,i,s=o,l)=>{var u,d;let h,p,f={relativePath:void 0===l?t.path||””:l,caseSensitive:!0===t.caseSensitive,childrenIndex:i,route:t};if(f.relativePath.startsWith(“/”)){if(!f.relativePath.startsWith(a)&&s)return;c(f.relativePath.startsWith(a),`Absolute route path “${f.relativePath}” nested under path “${a}” is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(a.length)}let m=O([a,f.relativePath]),y=n.concat(f);t.children&&t.children.length>0&&(c(!0!==t.index,`Index routes must not have child routes. Please remove all child routes from route path “${m}”.`),e(t.children,r,y,m,s)),(null!=t.path||t.index)&&r.push({path:m,score:(u=m,d=t.index,p=(h=u.split(“/”)).length,h.some(C)&&(p+=-2),d&&(p+=2),h.filter(e=>!C(e)).reduce((e,t)=>e+(x.test(t)?3:””===t?1:10),p)),routesMeta:y})};return t.forEach((e,t)=>{if(“”!==e.path&&e.path?.includes(“?”))for(let r of function e(t){let r=t.split(“/”);if(0===r.length)return[];let[n,…a]=r,o=n.endsWith(“?”),i=n.replace(/\?$/,””);if(0===a.length)return o?[i,””]:[i];let s=e(a.join(“/”)),l=[];return l.push(…s.map(e=>””===e?i:[i,e].join(“/”))),o&&l.push(…s),l.map(e=>t.startsWith(“/”)&&””===e?”/”:e)}(e.path))i(e,t,!0,r);else i(e,t)}),r}(e);o.sort((e,t)=>{var r,n;return e.score!==t.score?t.score-e.score:(r=e.routesMeta.map(e=>e.childrenIndex),n=t.routesMeta.map(e=>e.childrenIndex),r.length===n.length&&r.slice(0,-1).every((e,t)=>e===n[t])?r[r.length-1]-n[n.length-1]:0)});let i=null;for(let e=0;null==i&&e“*”===e;function _(e,t={}){let r=e;r.endsWith(“*”)&&”*”!==r&&!r.endsWith(“/*”)&&(d(!1,`Route path “${r}” will be treated as if it were “${r.replace(/\*$/,”/*”)}” because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to “${r.replace(/\*$/,”/*”)}”.`),r=r.replace(/\*$/,”/*”));let n=r.startsWith(“/”)?”/”:””,a=e=>null==e?””:”string”==typeof e?e:String(e);return n+r.split(/\/+/).map((e,r,n)=>{if(r===n.length-1&&”*”===e)return a(t[“*”]);let o=e.match(/^:([\w-]+)(\??)$/);if(o){let[,e,r]=o,n=t[e];return c(“?”===r||null!=n,`Missing “:${e}” param`),a(n)}return e.replace(/\?$/g,””)}).filter(e=>!!e).join(“/”)}function k(e,t){“string”==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t=!1,r=!0){d(“*”===e||!e.endsWith(“*”)||e.endsWith(“/*”),`Route path “${e}” will be treated as if it were “${e.replace(/\*$/,”/*”)}” because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to “${e.replace(/\*$/,”/*”)}”.`);let n=[],a=”^”+e.replace(/\/*\*?$/,””).replace(/^\/*/,”/”).replace(/[\\.*+^${}|()[\]]/g,”\\$&”).replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?”/?([^\\/]+)?”:”/([^\\/]+)”)).replace(/\/([\w-]+)\?(\/|$)/g,”(/$1)?$2″);return e.endsWith(“*”)?(n.push({paramName:”*”}),a+=”*”===e||”/*”===e?”(.*)$”:”(?:\\/(.+)|\\/*)$”):r?a+=”\\/*$”:””!==e&&”/”!==e&&(a+=”(?:(?=\\/|$))”),[new RegExp(a,t?void 0:”i”),n]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,”$1″),s=a.slice(1);return{params:n.reduce((e,{paramName:t,isOptional:r},n)=>{if(“*”===t){let e=s[n]||””;i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,”$1″)}let a=s[n];return r&&!a?e[t]=void 0:e[t]=(a||””).replace(/%2F/g,”/”),e},{}),pathname:o,pathnameBase:i,pattern:e}}function N(e){try{return e.split(“/”).map(e=>decodeURIComponent(e).replace(/\//g,”%2F”)).join(“/”)}catch(t){return d(!1,`The URL path “${e}” could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function L(e,t){if(“/”===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith(“/”)?t.length-1:t.length,n=e.charAt(r);return n&&”/”!==n?null:e.slice(r)||”/”}function P(e,t=”/”){var r;let n,{pathname:a,search:o=””,hash:i=””}=”string”==typeof e?m(e):e;return{pathname:a?a.startsWith(“/”)?a:(r=a,n=t.replace(/\/+$/,””).split(“/”),r.split(“/”).forEach(e=>{“..”===e?n.length>1&&n.pop():”.”!==e&&n.push(e)}),n.length>1?n.join(“/”):”/”):t,search:M(o),hash:$(i)}}function A(e,t,r,n){return`Cannot include a ‘${e}’ character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function j(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function T(e){let t=j(e);return t.map((e,r)=>r===t.length-1?e.pathname:e.pathnameBase)}function D(e,t,r,n=!1){let a,o;”string”==typeof e?a=m(e):(c(!(a={…e}).pathname||!a.pathname.includes(“?”),A(“?”,”pathname”,”search”,a)),c(!a.pathname||!a.pathname.includes(“#”),A(“#”,”pathname”,”hash”,a)),c(!a.search||!a.search.includes(“#”),A(“#”,”search”,”hash”,a)));let i=””===e||””===a.pathname,s=i?”/”:a.pathname;if(null==s)o=r;else{let e=t.length-1;if(!n&&s.startsWith(“..”)){let t=s.split(“/”);for(;”..”===t[0];)t.shift(),e-=1;a.pathname=t.join(“/”)}o=e>=0?t[e]:”/”}let l=P(a,o),u=s&&”/”!==s&&s.endsWith(“/”),d=(i||”.”===s)&&r.endsWith(“/”);return!l.pathname.endsWith(“/”)&&(u||d)&&(l.pathname+=”/”),l}var O=e=>e.join(“/”).replace(/\/\/+/g,”/”),I=e=>e.replace(/\/+$/,””).replace(/^\/*/,”/”),M=e=>e&&”?”!==e?e.startsWith(“?”)?e:”?”+e:””,$=e=>e&&”#”!==e?e.startsWith(“#”)?e:”#”+e:””,W=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||””,this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function z(e){return null!=e&&”number”==typeof e.status&&”string”==typeof e.statusText&&”boolean”==typeof e.internal&&”data”in e}var U=[“POST”,”PUT”,”PATCH”,”DELETE”],B=new Set(U),F=new Set([“GET”,…U]),H=new Set([301,302,303,307,308]),q=new Set([307,308]),Y={state:”idle”,location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},V={state:”idle”,data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},J={state:”unblocked”,proceed:void 0,reset:void 0,location:void 0},X=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,G=e=>X.test(e),K=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Q=”remix-router-transitions”,Z=Symbol(“ResetLoaderData”);function ee(e,t,r,n,a,o){let i,s;if(a){for(let e of(i=[],t))if(i.push(e),e.route.id===a){s=e;break}}else i=t,s=t[t.length-1];let l=D(n||”.”,T(i),L(e.pathname,r)||e.pathname,”path”===o);if(null==n&&(l.search=e.search,l.hash=e.hash),(null==n||””===n||”.”===n)&&s){let e=e$(l.search);if(s.route.index&&!e)l.search=l.search?l.search.replace(/^\?/,”?index&”):”?index”;else if(!s.route.index&&e){let e=new URLSearchParams(l.search),t=e.getAll(“index”);e.delete(“index”),t.filter(e=>e).forEach(t=>e.append(“index”,t));let r=e.toString();l.search=r?`?${r}`:””}}return”/”!==r&&(l.pathname=function({basename:e,pathname:t}){return”/”===t?e:O([e,t])}({basename:r,pathname:l.pathname})),f(l)}function et(e,t,r){var n;let a,o;if(!r||!(null!=r&&(“formData”in r&&null!=r.formData||”body”in r&&void 0!==r.body)))return{path:t};if(r.formMethod&&(n=r.formMethod,!F.has(n.toUpperCase())))return{path:t,error:eP(405,{method:r.formMethod})};let i=()=>({path:t,error:eP(400,{type:”invalid-body”})}),s=(r.formMethod||”get”).toUpperCase(),l=ej(t);if(void 0!==r.body){if(“text/plain”===r.formEncType){if(!eM(s))return i();let e=”string”==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((e,[t,r])=>`${e}${t}=${r}
`,””):String(r.body);return{path:t,submission:{formMethod:s,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}else if(“application/json”===r.formEncType){if(!eM(s))return i();try{let e=”string”==typeof r.body?JSON.parse(r.body):r.body;return{path:t,submission:{formMethod:s,formAction:l,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return i()}}}if(c(“function”==typeof FormData,”FormData is not available in this environment”),r.formData)a=eE(r.formData),o=r.formData;else if(r.body instanceof FormData)a=eE(r.body),o=r.body;else if(r.body instanceof URLSearchParams)o=ex(a=r.body);else if(null==r.body)a=new URLSearchParams,o=new FormData;else try{a=new URLSearchParams(r.body),o=ex(a)}catch(e){return i()}let u={formMethod:s,formAction:l,formEncType:r&&r.formEncType||”application/x-www-form-urlencoded”,formData:o,json:void 0,text:void 0};if(eM(u.formMethod))return{path:t,submission:u};let d=m(t);return e&&d.search&&e$(d.search)&&a.append(“index”,””),d.search=`?${a}`,{path:f(d),submission:u}}function er(e,t,r,n,a,o,i,s,l,u,c,d,h,p,f,m,y,g,v,b){let w,R=b?eT(b[1])?b[1].error:b[1].data:void 0,E=a.createURL(o.location),x=a.createURL(l);if(c&&o.errors){let e=Object.keys(o.errors)[0];w=i.findIndex(t=>t.route.id===e)}else if(b&&eT(b[1])){let e=b[0];w=i.findIndex(t=>t.route.id===e)-1}let C=b?b[1].statusCode:void 0,_=C&&C>=400,k={currentUrl:E,currentParams:o.matches[0]?.params||{},nextUrl:x,nextParams:i[0].params,…s,actionResult:R,actionStatus:C},N=i.map((a,i)=>{var s,l,h,p,f;let m,y,g,{route:v}=a,b=null;if(null!=w&&i>w?b=!1:v.lazy?b=!0:null==v.loader?b=!1:c?b=en(v,o.loaderData,o.errors):(s=o.loaderData,l=o.matches[i],h=a,m=!l||h.route.id!==l.route.id,y=!s.hasOwnProperty(h.route.id),(m||y)&&(b=!0)),null!==b)return em(r,n,e,a,u,t,b);let S=!_&&(d||E.pathname+E.search===x.pathname+x.search||E.search!==x.search||(p=o.matches[i],f=a,g=p.route.path,p.pathname!==f.pathname||null!=g&&g.endsWith(“*”)&&p.params[“*”]!==f.params[“*”])),R={…k,defaultShouldRevalidate:S},C=ea(a,R);return em(r,n,e,a,u,t,C,R)}),L=[];return f.forEach((e,s)=>{if(c||!i.some(t=>t.route.id===e.routeId)||p.has(s))return;let l=o.fetchers.get(s),f=l&&”idle”!==l.state&&void 0===l.data,b=S(y,e.path,g);if(!b){if(v&&f)return;L.push({key:s,routeId:e.routeId,path:e.path,matches:null,match:null,request:null,controller:null});return}if(m.has(s))return;let w=eW(b,e.path),R=new AbortController,E=eR(a,e.path,R.signal),x=null;if(h.has(s))h.delete(s),x=ey(r,n,E,b,w,u,t);else if(f)d&&(x=ey(r,n,E,b,w,u,t));else{let e={…k,defaultShouldRevalidate:!_&&d};ea(w,e)&&(x=ey(r,n,E,b,w,u,t,e))}x&&L.push({key:s,routeId:e.routeId,path:e.path,matches:x,match:w,request:E,controller:R})}),{dsMatches:N,revalidatingFetchers:L}}function en(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=null!=t&&e.id in t,a=null!=r&&void 0!==r[e.id];return(!!n||!a)&&(“function”==typeof e.loader&&!0===e.loader.hydrate||!n&&!a)}function ea(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(“boolean”==typeof r)return r}return t.defaultShouldRevalidate}function eo(e,t,r,n,a,o){let i;if(e){let t=n[e];c(t,`No route found to patch children into: routeId = ${e}`),t.children||(t.children=[]),i=t.children}else i=r;let s=[],l=[];if(t.forEach(e=>{let t=i.find(t=>(function e(t,r){return”id”in t&&”id”in r&&t.id===r.id||t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive&&((!t.children||0===t.children.length)&&(!r.children||0===r.children.length)||t.children.every((t,n)=>r.children?.some(r=>e(t,r))))})(e,t));t?l.push({existingRoute:t,newRoute:e}):s.push(e)}),s.length>0){let t=w(s,a,[e||”_”,”patch”,String(i?.length||”0″)],n);i.push(…t)}if(o&&l.length>0)for(let e=0;e{let a=r[t.id];if(c(a,”No route found in manifest”),!a.lazy||”object”!=typeof a.lazy)return;let o=a.lazy[e];if(!o)return;let i=ei.get(a);i||(i={},ei.set(a,i));let s=i[e];if(s)return s;let l=(async()=>{let t=v.has(e),r=void 0!==a[e]&&”hasErrorBoundary”!==e;if(t)d(!t,”Route property “+e+” is not a supported lazy route property. This property will be ignored.”),i[e]=Promise.resolve();else if(r)d(!1,`Route “${a.id}” has a static property “${e}” defined. The lazy property will be ignored.`);else{let t=await o();null!=t&&(Object.assign(a,{[e]:t}),Object.assign(a,n(a)))}”object”==typeof a.lazy&&(a.lazy[e]=void 0,Object.values(a.lazy).every(e=>void 0===e)&&(a.lazy=void 0))})();return i[e]=l,l},el=new WeakMap;async function eu(e){let t=e.matches.filter(e=>e.shouldLoad),r={};return(await Promise.all(t.map(e=>e.resolve()))).forEach((e,n)=>{r[t[n].route.id]=e}),r}async function ec(e){if(!e.matches.some(e=>e.route.unstable_middleware))return eu(e);let t=!1;return eh(e,()=>(t=!0,eu(e)),(r,n)=>ed(r,n,e.matches,t))}function ed(e,t,r,n){if(n)return{[t]:{type:”error”,result:e}};{let n=Math.min(r.findIndex(e=>e.route.id===t)||0,r.findIndex(e=>e.unstable_shouldCallHandler())||0);return{[eN(r,r[n].route.id).route.id]:{type:”error”,result:e}}}}async function eh(e,t,r){let{matches:n,request:a,params:o,context:i}=e,s=n.flatMap(e=>e.route.unstable_middleware?e.route.unstable_middleware.map(t=>[e.route.id,t]):[]),l={};return await ep({request:a,params:o,context:i},s,t,r,l),l}async function ep(e,t,r,n,a={},o=0){let{request:i}=e;if(i.signal.aborted){if(i.signal.reason)throw i.signal.reason;throw Error(`Request aborted without an \`AbortSignal.reason\`: ${i.method} ${i.url}`)}let s=t[o];if(!s)return void Object.assign(a,await r());let[l,u]=s,c=!1,d=async()=>{if(c)throw Error(“You may only call `next()` once per middleware”);c=!0;try{let i=await ep(e,t,r,n,a,o+1);Object.assign(a,i)}catch(e){Object.assign(a,await n(e,l))}};try{let t=await u({request:e.request,params:e.params,context:e.context},d);void 0!==t&&console.warn(“client middlewares are not intended to return values, the value will be ignored”,t),c||await d()}catch(e){Object.assign(a,await n(e,l))}}function ef(e,t,r,n,a){let o=es({key:”unstable_middleware”,route:n.route,manifest:t,mapRouteProperties:e}),i=function(e,t,r,n,a){let o,i=r[e.id];if(c(i,”No route found in manifest”),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(“function”==typeof e.lazy){let t=el.get(i);if(t)return{lazyRoutePromise:t,lazyHandlerPromise:t};let r=(async()=>{c(“function”==typeof e.lazy,”No lazy route function found”);let t=await e.lazy(),r={};for(let e in t){let n=t[e];if(void 0===n)continue;let a=b.has(e),o=void 0!==i[e]&&”hasErrorBoundary”!==e;a?d(!a,”Route property “+e+” is not a supported property to be returned from a lazy route function. This property will be ignored.”):o?d(!o,`Route “${i.id}” has a static property “${e}” defined but its lazy function is also returning a value for this property. The lazy route property “${e}” will be ignored.`):r[e]=n}Object.assign(i,r),Object.assign(i,{…n(i),lazy:void 0})})();return el.set(i,r),r.catch(()=>{}),{lazyRoutePromise:r,lazyHandlerPromise:r}}let s=Object.keys(e.lazy),l=[];for(let i of s){if(a&&a.includes(i))continue;let s=es({key:i,route:e,manifest:r,mapRouteProperties:n});s&&(l.push(s),i===t&&(o=s))}let u=l.length>0?Promise.all(l).then(()=>{}):void 0;return u?.catch(()=>{}),o?.catch(()=>{}),{lazyRoutePromise:u,lazyHandlerPromise:o}}(n.route,eM(r.method)?”action”:”loader”,t,e,a);return{middleware:o,route:i.lazyRoutePromise,handler:i.lazyHandlerPromise}}function em(e,t,r,n,a,o,i,s=null){let l=!1,u=ef(e,t,r,n,a);return{…n,_lazyPromises:u,shouldLoad:i,unstable_shouldRevalidateArgs:s,unstable_shouldCallHandler:e=>(l=!0,s)?”boolean”==typeof e?ea(n,{…s,defaultShouldRevalidate:e}):ea(n,s):i,resolve:e=>l||i||e&&!eM(r.method)&&(n.route.lazy||n.route.loader)?ev({request:r,match:n,lazyHandlerPromise:u?.handler,lazyRoutePromise:u?.route,handlerOverride:e,scopedContext:o}):Promise.resolve({type:”data”,result:void 0})}}function ey(e,t,r,n,a,o,i,s=null){return n.map(n=>n.route.id!==a.route.id?{…n,shouldLoad:!1,unstable_shouldRevalidateArgs:s,unstable_shouldCallHandler:()=>!1,_lazyPromises:ef(e,t,r,n,o),resolve:()=>Promise.resolve({type:”data”,result:void 0})}:em(e,t,r,n,o,i,!0,s))}async function eg(e,t,r,n,a,o){r.some(e=>e._lazyPromises?.middleware)&&await Promise.all(r.map(e=>e._lazyPromises?.middleware));let i={request:t,params:r[0].params,context:a,matches:r},s=o?()=>{throw Error(“You cannot call `unstable_runClientMiddleware()` from a static handler `dataStrategy`. Middleware is run outside of `dataStrategy` during SSR in order to bubble up the Response. You can enable middleware via the `respond` API in `query`/`queryRoute`”)}:e=>{let t=!1;return eh(i,()=>(t=!0,e({…i,fetcherKey:n,unstable_runClientMiddleware:()=>{throw Error(“Cannot call `unstable_runClientMiddleware()` from within an `unstable_runClientMiddleware` handler”)}})),(e,n)=>ed(e,n,r,t))},l=await e({…i,fetcherKey:n,unstable_runClientMiddleware:s});try{await Promise.all(r.flatMap(e=>[e._lazyPromises?.handler,e._lazyPromises?.route]))}catch(e){}return l}async function ev({request:e,match:t,lazyHandlerPromise:r,lazyRoutePromise:n,handlerOverride:a,scopedContext:o}){let i,s,l=eM(e.method),u=l?”action”:”loader”,c=r=>{let n,i=new Promise((e,t)=>n=t);s=()=>n(),e.signal.addEventListener(“abort”,s);let l=n=>”function”!=typeof r?Promise.reject(Error(`You cannot call the handler for a route which defines a boolean “${u}” [routeId: ${t.route.id}]`)):r({request:e,params:t.params,context:o},…void 0!==n?[n]:[]);return Promise.race([(async()=>{try{let e=await (a?a(e=>l(e)):l());return{type:”data”,result:e}}catch(e){return{type:”error”,result:e}}})(),i])};try{let a=l?t.route.action:t.route.loader;if(r||n)if(a){let e,[t]=await Promise.all([c(a).catch(t=>{e=t}),r,n]);if(void 0!==e)throw e;i=t}else{await r;let a=l?t.route.action:t.route.loader;if(a)[i]=await Promise.all([c(a),n]);else{if(“action”!==u)return{type:”data”,result:void 0};let r=new URL(e.url),n=r.pathname+r.search;throw eP(405,{method:e.method,pathname:n,routeId:t.route.id})}}else if(a)i=await c(a);else{let t=new URL(e.url),r=t.pathname+t.search;throw eP(404,{pathname:r})}}catch(e){return{type:”error”,result:e}}finally{s&&e.signal.removeEventListener(“abort”,s)}return i}async function eb(e){let t=e.headers.get(“Content-Type”);return t&&/\bapplication\/json\b/.test(t)?null==e.body?null:e.json():e.text()}async function ew(e){let{result:t,type:r}=e;if(eI(t)){let e;try{e=await eb(t)}catch(e){return{type:”error”,error:e}}return”error”===r?{type:”error”,error:new W(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:”data”,data:e,statusCode:t.status,headers:t.headers}}if(“error”===r)return eO(t)?t.data instanceof Error?{type:”error”,error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:”error”,error:new W(t.init?.status||500,void 0,t.data),statusCode:z(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:”error”,error:t,statusCode:z(t)?t.status:void 0};return eO(t)?{type:”data”,data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:”data”,data:t}}function eS(e,t,r){if(G(e)){let n=new URL(e.startsWith(“//”)?t.protocol+e:e),a=null!=L(n.pathname,r);if(n.origin===t.origin&&a)return n.pathname+n.search+n.hash}return e}function eR(e,t,r,n){let a=e.createURL(ej(t)).toString(),o={signal:r};if(n&&eM(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),”application/json”===t?(o.headers=new Headers({“Content-Type”:t}),o.body=JSON.stringify(n.json)):”text/plain”===t?o.body=n.text:”application/x-www-form-urlencoded”===t&&n.formData?o.body=eE(n.formData):o.body=n.formData}return new Request(a,o)}function eE(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,”string”==typeof n?n:n.name);return t}function ex(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function eC(e,t,r,n,a,o){let{loaderData:i,errors:s}=function(e,t,r,n=!1,a=!1){let o,i={},s=null,l=!1,u={},d=r&&eT(r[1])?r[1].error:void 0;return e.forEach(r=>{if(!(r.route.id in t))return;let h=r.route.id,p=t[h];if(c(!eD(p),”Cannot handle redirect results in processLoaderData”),eT(p)){let t=p.error;if(void 0!==d&&(t=d,d=void 0),s=s||{},a)s[h]=t;else{let r=eN(e,h);null==s[r.route.id]&&(s[r.route.id]=t)}n||(i[h]=Z),l||(l=!0,o=z(p.error)?p.error.status:500),p.headers&&(u[h]=p.headers)}else i[h]=p.data,p.statusCode&&200!==p.statusCode&&!l&&(o=p.statusCode),p.headers&&(u[h]=p.headers)}),void 0!==d&&r&&(s={[r[0]]:d},r[2]&&(i[r[2]]=void 0)),{loaderData:i,errors:s,statusCode:o||200,loaderHeaders:u}}(t,r,n);return a.filter(e=>!e.matches||e.matches.some(e=>e.shouldLoad)).forEach(t=>{let{key:r,match:n,controller:a}=t;if(a&&a.signal.aborted)return;let i=o[r];if(c(i,”Did not find corresponding fetcher result”),eT(i)){let t=eN(e.matches,n?.route.id);s&&s[t.route.id]||(s={…s,[t.route.id]:i.error}),e.fetchers.delete(r)}else if(eD(i))c(!1,”Unhandled fetcher revalidation redirect”);else{let t=eF(i.data);e.fetchers.set(r,t)}}),{loaderData:i,errors:s}}function e_(e,t,r,n){let a=Object.entries(t).filter(([,e])=>e!==Z).reduce((e,[t,r])=>(e[t]=r,e),{});for(let o of r){let r=o.route.id;if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&o.route.loader&&(a[r]=e[r]),n&&n.hasOwnProperty(r))break}return a}function ek(e){return e?eT(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function eN(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[…e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function eL(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||”/”===e.path)||{id:”__shim-error-route__”};return{matches:[{params:{},pathname:””,pathnameBase:””,route:t}],route:t}}function eP(e,{pathname:t,routeId:r,method:n,type:a,message:o}={}){let i=”Unknown Server Error”,s=”Unknown @remix-run/router error”;return 400===e?(i=”Bad Request”,n&&t&&r?s=`You made a ${n} request to “${t}” but did not provide a \`loader\` for route “${r}”, so there is no way to handle the request.`:”invalid-body”===a&&(s=”Unable to encode submission body”)):403===e?(i=”Forbidden”,s=`Route “${r}” does not match URL “${t}”`):404===e?(i=”Not Found”,s=`No route matches URL “${t}”`):405===e&&(i=”Method Not Allowed”,n&&t&&r?s=`You made a ${n.toUpperCase()} request to “${t}” but did not provide an \`action\` for route “${r}”, so there is no way to handle the request.`:n&&(s=`Invalid request method “${n.toUpperCase()}”`)),new W(e||500,i,Error(s),!0)}function eA(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e–){let[r,n]=t[e];if(eD(n))return{key:r,result:n}}}function ej(e){return f({…”string”==typeof e?m(e):e,hash:””})}function eT(e){return”error”===e.type}function eD(e){return”redirect”===(e&&e.type)}function eO(e){return”object”==typeof e&&null!=e&&”type”in e&&”data”in e&&”init”in e&&”DataWithResponseInit”===e.type}function eI(e){return null!=e&&”number”==typeof e.status&&”string”==typeof e.statusText&&”object”==typeof e.headers&&void 0!==e.body}function eM(e){return B.has(e.toUpperCase())}function e$(e){return new URLSearchParams(e).getAll(“index”).some(e=>””===e)}function eW(e,t){let r=”string”==typeof t?m(t).search:t.search;if(e[e.length-1].route.index&&e$(r||””))return e[e.length-1];let n=j(e);return n[n.length-1]}function ez(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(t&&r&&n){if(null!=a)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};else if(null!=o)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};else if(void 0!==i)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function eU(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 eB(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 eF(e){return{state:”idle”,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}var eH=a.createContext(null);eH.displayName=”DataRouter”;var eq=a.createContext(null);eq.displayName=”DataRouterState”;var eY=a.createContext(!1),eV=a.createContext({isTransitioning:!1});eV.displayName=”ViewTransition”;var eJ=a.createContext(new Map);eJ.displayName=”Fetchers”,a.createContext(null).displayName=”Await”;var eX=a.createContext(null);eX.displayName=”Navigation”;var eG=a.createContext(null);eG.displayName=”Location”;var eK=a.createContext({outlet:null,matches:[],isDataRoute:!1});eK.displayName=”Route”;var eQ=a.createContext(null);function eZ(){return null!=a.useContext(eG)}function e0(){return c(eZ(),”useLocation() may be used only in the context of a component.”),a.useContext(eG).location}function e1(){return a.useContext(eG).navigationType}function e2(e){c(eZ(),”useMatch() may be used only in the context of a component.”);let{pathname:t}=e0();return a.useMemo(()=>k(e,N(t)),[t,e])}eQ.displayName=”RouteError”;var e4=”You should call navigate() in a React.useEffect(), not when your component is first rendered.”;function e3(e){a.useContext(eX).static||a.useLayoutEffect(e)}function e5(){let{isDataRoute:e}=a.useContext(eK);return e?function(){let{router:e}=to(“useNavigate”),t=ts(“useNavigate”),r=a.useRef(!1);return e3(()=>{r.current=!0}),a.useCallback(async(n,a={})=>{d(r.current,e4),r.current&&(“number”==typeof n?e.navigate(n):await e.navigate(n,{fromRouteId:t,…a}))},[e,t])}():function(){c(eZ(),”useNavigate() may be used only in the context of a component.”);let e=a.useContext(eH),{basename:t,navigator:r}=a.useContext(eX),{matches:n}=a.useContext(eK),{pathname:o}=e0(),i=JSON.stringify(T(n)),s=a.useRef(!1);return e3(()=>{s.current=!0}),a.useCallback((n,a={})=>{if(d(s.current,e4),!s.current)return;if(“number”==typeof n)return void r.go(n);let l=D(n,JSON.parse(i),o,”path”===a.relative);null==e&&”/”!==t&&(l.pathname=”/”===l.pathname?t:O([t,l.pathname])),(a.replace?r.replace:r.push)(l,a.state,a)},[t,r,i,o,e])}()}var e8=a.createContext(null);function e6(){let{matches:e}=a.useContext(eK),t=e[e.length-1];return t?t.params:{}}function e7(e,{relative:t}={}){let{matches:r}=a.useContext(eK),{pathname:n}=e0(),o=JSON.stringify(T(r));return a.useMemo(()=>D(e,JSON.parse(o),n,”path”===t),[e,o,n,t])}function e9(e,t){return te(e,t)}function te(e,t,r,n){let o;c(eZ(),”useRoutes() may be used only in the context of a component.”);let{navigator:i}=a.useContext(eX),{matches:s}=a.useContext(eK),l=s[s.length-1],u=l?l.params:{},h=l?l.pathname:”/”,p=l?l.pathnameBase:”/”,f=l&&l.route;{let e=f&&f.path||””;ty(h,!f||e.endsWith(“*”)||e.endsWith(“*?”),`You rendered descendant (or called \`useRoutes()\`) at “${h}” (under ) but the parent route path has no trailing “*”. This means if you navigate deeper, the parent won’t match anymore and therefore the child routes will never render.
Please change the parent to .`)}let y=e0();if(t){let e=”string”==typeof t?m(t):t;c(“/”===p||e.pathname?.startsWith(p),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is “${p}” but pathname “${e.pathname}” was given in the \`location\` prop.`),o=e}else o=y;let g=o.pathname||”/”,v=g;if(“/”!==p){let e=p.replace(/^\//,””).split(“/”);v=”/”+g.replace(/^\//,””).split(“/”).slice(e.length).join(“/”)}let b=S(e,{pathname:v});d(f||null!=b,`No routes matched location “${o.pathname}${o.search}${o.hash}” `),d(null==b||void 0!==b[b.length-1].route.element||void 0!==b[b.length-1].route.Component||void 0!==b[b.length-1].route.lazy,`Matched leaf route at location “${o.pathname}${o.search}${o.hash}” does not have an element or Component. This means it will render an with a null value by default resulting in an “empty” page.`);let w=function(e,t=[],r=null,n=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let o=e,i=r?.errors;if(null!=i){let e=o.findIndex(e=>e.route.id&&i?.[e.route.id]!==void 0);c(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(“,”)}`),o=o.slice(0,Math.min(o.length,e+1))}let s=!1,l=-1;if(r)for(let e=0;e=0?o.slice(0,l+1):[o[0]];break}}}return o.reduceRight((e,n,u)=>{let c,d=!1,h=null,p=null;r&&(c=i&&n.route.id?i[n.route.id]:void 0,h=n.route.errorElement||tt,s&&(l<0&&0===u?(ty("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):l===u&&(d=!0,p=n.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,u+1)),m=()=>{let t;return t=c?h:d?p:n.route.Component?a.createElement(n.route.Component,null):n.route.element?n.route.element:e,a.createElement(tn,{match:n,routeContext:{outlet:e,matches:f,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===u)?a.createElement(tr,{location:r.location,revalidation:r.revalidation,component:h,error:c,children:m(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):m()},null)}(b&&b.map(e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:O([p,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:”/”===e.pathnameBase?p:O([p,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),s,r,n);return t&&w?a.createElement(eG.Provider,{value:{location:{pathname:”/”,search:””,hash:””,state:null,key:”default”,…o},navigationType:”POP”}},w):w}var tt=a.createElement(function(){let e=th(),t=z(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n=”rgba(200,200,200, 0.5)”,o={padding:”2px 4px”,backgroundColor:n},i=null;return console.error(“Error handled by React Router default ErrorBoundary:”,e),i=a.createElement(a.Fragment,null,a.createElement(“p”,null,”\u{1F4BF} Hey developer \u{1F44B}”),a.createElement(“p”,null,”You can provide a way better UX than this when your app throws errors by providing your own “,a.createElement(“code”,{style:o},”ErrorBoundary”),” or”,” “,a.createElement(“code”,{style:o},”errorElement”),” prop on your route.”)),a.createElement(a.Fragment,null,a.createElement(“h2″,null,”Unexpected Application Error!”),a.createElement(“h3″,{style:{fontStyle:”italic”}},t),r?a.createElement(“pre”,{style:{padding:”0.5rem”,backgroundColor:n}},r):null,i)},null),tr=class extends a.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||”idle”!==t.revalidation&&”idle”===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error(“React Router caught the following error during render”,e,t)}render(){return void 0!==this.state.error?a.createElement(eK.Provider,{value:this.props.routeContext},a.createElement(eQ.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function tn({routeContext:e,match:t,children:r}){let n=a.useContext(eH);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),a.createElement(eK.Provider,{value:e},r)}function ta(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function to(e){let t=a.useContext(eH);return c(t,ta(e)),t}function ti(e){let t=a.useContext(eq);return c(t,ta(e)),t}function ts(e){let t,r=(c(t=a.useContext(eK),ta(e)),t),n=r.matches[r.matches.length-1];return c(n.route.id,`${e} can only be used on routes that contain a unique “id”`),n.route.id}function tl(){return ti(“useNavigation”).navigation}function tu(){let{matches:e,loaderData:t}=ti(“useMatches”);return a.useMemo(()=>e.map(e=>E(e,t)),[e,t])}function tc(){let e=ti(“useLoaderData”),t=ts(“useLoaderData”);return e.loaderData[t]}function td(e){return ti(“useRouteLoaderData”).loaderData[e]}function th(){let e=a.useContext(eQ),t=ti(“useRouteError”),r=ts(“useRouteError”);return void 0!==e?e:t.errors?.[r]}var tp=0;function tf(e){let{router:t,basename:r}=to(“useBlocker”),n=ti(“useBlocker”),[o,i]=a.useState(“”),s=a.useCallback(t=>{if(“function”!=typeof e)return!!e;if(“/”===r)return e(t);let{currentLocation:n,nextLocation:a,historyAction:o}=t;return e({currentLocation:{…n,pathname:L(n.pathname,r)||n.pathname},nextLocation:{…a,pathname:L(a.pathname,r)||a.pathname},historyAction:o})},[r,e]);return a.useEffect(()=>{let e=String(++tp);return i(e),()=>t.deleteBlocker(e)},[t]),a.useEffect(()=>{“”!==o&&t.getBlocker(o,s)},[t,o,s]),o&&n.blockers.has(o)?n.blockers.get(o):J}var tm={};function ty(e,t,r){t||tm[e]||(tm[e]=!0,d(!1,r))}var tg={};function tv(e,t){e||tg[t]||(tg[t]=!0,console.warn(t))}function tb(e){let t={hasErrorBoundary:e.hasErrorBoundary||null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&(e.element&&d(!1,”You should not include both `Component` and `element` on your route – `Component` will be used.”),Object.assign(t,{element:a.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&d(!1,”You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route – `HydrateFallback` will be used.”),Object.assign(t,{hydrateFallbackElement:a.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&d(!1,”You should not include both `ErrorBoundary` and `errorElement` on your route – `ErrorBoundary` will be used.”),Object.assign(t,{errorElement:a.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var tw=[“HydrateFallback”,”hydrateFallbackElement”],tS=class{constructor(){this.status=”pending”,this.promise=new Promise((e,t)=>{this.resolve=t=>{“pending”===this.status&&(this.status=”resolved”,e(t))},this.reject=e=>{“pending”===this.status&&(this.status=”rejected”,t(e))}})}};function tR({router:e,flushSync:t}){let[r,n]=a.useState(e.state),[o,i]=a.useState(),[s,l]=a.useState({isTransitioning:!1}),[u,c]=a.useState(),[d,h]=a.useState(),[p,f]=a.useState(),m=a.useRef(new Map),y=a.useCallback((r,{deletedFetchers:o,flushSync:s,viewTransitionOpts:p})=>{r.fetchers.forEach((e,t)=>{void 0!==e.data&&m.current.set(t,e.data)}),o.forEach(e=>m.current.delete(e)),tv(!1===s||null!=t,’You provided the `flushSync` option to a router update, but you are not using the `` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from “react-router/dom”` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.’);let y=null!=e.window&&null!=e.window.document&&”function”==typeof e.window.document.startViewTransition;if(tv(null==p||y,”You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available.”),!p||!y)return void(t&&s?t(()=>n(r)):a.startTransition(()=>n(r)));if(t&&s){t(()=>{d&&(u&&u.resolve(),d.skipTransition()),l({isTransitioning:!0,flushSync:!0,currentLocation:p.currentLocation,nextLocation:p.nextLocation})});let a=e.window.document.startViewTransition(()=>{t(()=>n(r))});a.finished.finally(()=>{t(()=>{c(void 0),h(void 0),i(void 0),l({isTransitioning:!1})})}),t(()=>h(a));return}d?(u&&u.resolve(),d.skipTransition(),f({state:r,currentLocation:p.currentLocation,nextLocation:p.nextLocation})):(i(r),l({isTransitioning:!0,flushSync:!1,currentLocation:p.currentLocation,nextLocation:p.nextLocation}))},[e.window,t,d,u]);a.useLayoutEffect(()=>e.subscribe(y),[e,y]),a.useEffect(()=>{s.isTransitioning&&!s.flushSync&&c(new tS)},[s]),a.useEffect(()=>{if(u&&o&&e.window){let t=u.promise,r=e.window.document.startViewTransition(async()=>{a.startTransition(()=>n(o)),await t});r.finished.finally(()=>{c(void 0),h(void 0),i(void 0),l({isTransitioning:!1})}),h(r)}},[o,u,e.window]),a.useEffect(()=>{u&&o&&r.location.key===o.location.key&&u.resolve()},[u,d,r.location,o]),a.useEffect(()=>{!s.isTransitioning&&p&&(i(p.state),l({isTransitioning:!0,flushSync:!1,currentLocation:p.currentLocation,nextLocation:p.nextLocation}),f(void 0))},[s.isTransitioning,p]);let g=a.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:t=>e.navigate(t),push:(t,r,n)=>e.navigate(t,{state:r,preventScrollReset:n?.preventScrollReset}),replace:(t,r,n)=>e.navigate(t,{replace:!0,state:r,preventScrollReset:n?.preventScrollReset})}),[e]),v=e.basename||”/”,b=a.useMemo(()=>({router:e,navigator:g,static:!1,basename:v}),[e,g,v]);return a.createElement(a.Fragment,null,a.createElement(eH.Provider,{value:b},a.createElement(eq.Provider,{value:r},a.createElement(eJ.Provider,{value:m.current},a.createElement(eV.Provider,{value:s},a.createElement(tk,{basename:v,location:r.location,navigationType:r.historyAction,navigator:g},a.createElement(tE,{routes:e.routes,future:e.future,state:r})))))),null)}var tE=a.memo(function({routes:e,future:t,state:r}){return te(e,void 0,r,t)});function tx({to:e,replace:t,state:r,relative:n}){c(eZ(),” may be used only in the context of a component.”);let{static:o}=a.useContext(eX);d(!o,” must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.”);let{matches:i}=a.useContext(eK),{pathname:s}=e0(),l=e5(),u=JSON.stringify(D(e,T(i),s,”path”===n));return a.useEffect(()=>{l(JSON.parse(u),{replace:t,state:r,relative:n})},[l,u,n,t,r]),null}function tC(e){var t;let r;return t=e.context,(r=a.useContext(eK).outlet)?a.createElement(e8.Provider,{value:t},r):r}function t_(e){c(!1,”A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .”)}function tk({basename:e=”/”,children:t=null,location:r,navigationType:n=”POP”,navigator:o,static:i=!1}){c(!eZ(),”You cannot render a inside another . You should never have more than one in your app.”);let s=e.replace(/^\/*/,”/”),l=a.useMemo(()=>({basename:s,navigator:o,static:i,future:{}}),[s,o,i]);”string”==typeof r&&(r=m(r));let{pathname:u=”/”,search:h=””,hash:p=””,state:f=null,key:y=”default”}=r,g=a.useMemo(()=>{let e=L(u,s);return null==e?null:{location:{pathname:e,search:h,hash:p,state:f,key:y},navigationType:n}},[s,u,h,p,f,y,n]);return(d(null!=g,` is not able to match the URL “${u}${h}${p}” because it does not start with the basename, so the won’t render anything.`),null==g)?null:a.createElement(eX.Provider,{value:l},a.createElement(eG.Provider,{children:t,value:g}))}function tN({children:e,location:t}){return te(function e(t,r=[]){let n=[];return a.Children.forEach(t,(t,o)=>{if(!a.isValidElement(t))return;let i=[…r,o];if(t.type===a.Fragment)return void n.push.apply(n,e(t.props.children,i));c(t.type===t_,`[${“string”==typeof t.type?t.type:t.type.name}] is not a component. All component children of must be a or `),c(!t.props.index||!t.props.children,”An index route cannot have child routes.”);let s={id:t.props.id||i.join(“-“),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,hydrateFallbackElement:t.props.hydrateFallbackElement,HydrateFallback:t.props.HydrateFallback,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:!0===t.props.hasErrorBoundary||null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(s.children=e(t.props.children,i)),n.push(s)}),n}(e),t)}a.Component;var tL=”get”,tP=”application/x-www-form-urlencoded”;function tA(e){return null!=e&&”string”==typeof e.tagName}function tj(e=””){return new URLSearchParams(“string”==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(e=>[r,e]):[[r,n]])},[]))}var tT=null,tD=new Set([“application/x-www-form-urlencoded”,”multipart/form-data”,”text/plain”]);function tO(e){return null==e||tD.has(e)?e:(d(!1,`”${e}” is not a valid \`encType\` for \`