/*! For license information please see sentry.bundle.js.LICENSE.txt */
(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[181],{1239:function(t,n,e){"use strict";e.r(n),e.d(n,"FunctionToString",(function(){return r.g})),e.d(n,"Hub",(function(){return r.j})),e.d(n,"InboundFilters",(function(){return r.k})),e.d(n,"ModuleMetadata",(function(){return r.n})),e.d(n,"SDK_VERSION",(function(){return r.q})),e.d(n,"SEMANTIC_ATTRIBUTE_SENTRY_OP",(function(){return r.r})),e.d(n,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",(function(){return r.s})),e.d(n,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",(function(){return r.t})),e.d(n,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",(function(){return r.u})),e.d(n,"Scope",(function(){return r.v})),e.d(n,"addBreadcrumb",(function(){return r.y})),e.d(n,"addEventProcessor",(function(){return r.z})),e.d(n,"addGlobalEventProcessor",(function(){return r.A})),e.d(n,"addIntegration",(function(){return r.B})),e.d(n,"addTracingExtensions",(function(){return r.C})),e.d(n,"captureEvent",(function(){return r.I})),e.d(n,"captureException",(function(){return r.J})),e.d(n,"captureMessage",(function(){return r.K})),e.d(n,"captureSession",(function(){return r.L})),e.d(n,"close",(function(){return r.O})),e.d(n,"configureScope",(function(){return r.P})),e.d(n,"continueTrace",(function(){return r.R})),e.d(n,"createTransport",(function(){return r.S})),e.d(n,"endSession",(function(){return r.ab})),e.d(n,"extractTraceparentData",(function(){return r.fb})),e.d(n,"flush",(function(){return r.hb})),e.d(n,"functionToStringIntegration",(function(){return r.jb})),e.d(n,"getActiveSpan",(function(){return r.lb})),e.d(n,"getActiveTransaction",(function(){return r.mb})),e.d(n,"getClient",(function(){return r.nb})),e.d(n,"getCurrentHub",(function(){return r.ob})),e.d(n,"getCurrentScope",(function(){return r.pb})),e.d(n,"getHubFromCarrier",(function(){return r.rb})),e.d(n,"getSpanStatusFromHttpCode",(function(){return r.tb})),e.d(n,"inboundFiltersIntegration",(function(){return r.xb})),e.d(n,"isInitialized",(function(){return r.zb})),e.d(n,"lastEventId",(function(){return r.Ab})),e.d(n,"makeMain",(function(){return r.Eb})),e.d(n,"makeMultiplexedTransport",(function(){return r.Fb})),e.d(n,"metrics",(function(){return r.Hb})),e.d(n,"moduleMetadataIntegration",(function(){return r.Ib})),e.d(n,"parameterize",(function(){return r.Nb})),e.d(n,"setContext",(function(){return r.Ub})),e.d(n,"setCurrentClient",(function(){return r.Vb})),e.d(n,"setExtra",(function(){return r.Wb})),e.d(n,"setExtras",(function(){return r.Xb})),e.d(n,"setHttpStatus",(function(){return r.Yb})),e.d(n,"setMeasurement",(function(){return r.Zb})),e.d(n,"setTag",(function(){return r.ac})),e.d(n,"setTags",(function(){return r.bc})),e.d(n,"setUser",(function(){return r.cc})),e.d(n,"spanStatusfromHttpCode",(function(){return r.ec})),e.d(n,"startInactiveSpan",(function(){return r.hc})),e.d(n,"startSession",(function(){return r.ic})),e.d(n,"startSpan",(function(){return r.jc})),e.d(n,"startSpanManual",(function(){return r.kc})),e.d(n,"startTransaction",(function(){return r.lc})),e.d(n,"trace",(function(){return r.mc})),e.d(n,"withActiveSpan",(function(){return r.oc})),e.d(n,"withIsolationScope",(function(){return r.pc})),e.d(n,"withScope",(function(){return r.qc})),e.d(n,"WINDOW",(function(){return r.x})),e.d(n,"BrowserClient",(function(){return r.b})),e.d(n,"makeFetchTransport",(function(){return r.Db})),e.d(n,"makeXHRTransport",(function(){return r.Gb})),e.d(n,"chromeStackLineParser",(function(){return r.N})),e.d(n,"defaultStackLineParsers",(function(){return r.Y})),e.d(n,"defaultStackParser",(function(){return r.Z})),e.d(n,"geckoStackLineParser",(function(){return r.kb})),e.d(n,"opera10StackLineParser",(function(){return r.Lb})),e.d(n,"opera11StackLineParser",(function(){return r.Mb})),e.d(n,"winjsStackLineParser",(function(){return r.nc})),e.d(n,"eventFromException",(function(){return r.bb})),e.d(n,"eventFromMessage",(function(){return r.cb})),e.d(n,"exceptionFromError",(function(){return r.db})),e.d(n,"createUserFeedbackEnvelope",(function(){return r.T})),e.d(n,"captureUserFeedback",(function(){return r.M})),e.d(n,"defaultIntegrations",(function(){return r.W})),e.d(n,"forceLoad",(function(){return r.ib})),e.d(n,"getDefaultIntegrations",(function(){return r.qb})),e.d(n,"onLoad",(function(){return r.Jb})),e.d(n,"showReportDialog",(function(){return r.dc})),e.d(n,"wrap",(function(){return r.rc})),e.d(n,"Breadcrumbs",(function(){return r.a})),e.d(n,"breadcrumbsIntegration",(function(){return r.D})),e.d(n,"Dedupe",(function(){return r.e})),e.d(n,"GlobalHandlers",(function(){return r.h})),e.d(n,"globalHandlersIntegration",(function(){return r.ub})),e.d(n,"HttpContext",(function(){return r.i})),e.d(n,"httpContextIntegration",(function(){return r.wb})),e.d(n,"LinkedErrors",(function(){return r.m})),e.d(n,"linkedErrorsIntegration",(function(){return r.Bb})),e.d(n,"TryCatch",(function(){return r.w})),e.d(n,"browserApiErrorsIntegration",(function(){return r.E})),e.d(n,"Replay",(function(){return r.o})),e.d(n,"getReplay",(function(){return r.sb})),e.d(n,"replayIntegration",(function(){return r.Pb})),e.d(n,"ReplayCanvas",(function(){return r.p})),e.d(n,"replayCanvasIntegration",(function(){return r.Ob})),e.d(n,"Feedback",(function(){return r.f})),e.d(n,"feedbackIntegration",(function(){return r.gb})),e.d(n,"sendFeedback",(function(){return r.Sb})),e.d(n,"captureConsoleIntegration",(function(){return r.H})),e.d(n,"contextLinesIntegration",(function(){return r.Q})),e.d(n,"debugIntegration",(function(){return r.U})),e.d(n,"dedupeIntegration",(function(){return r.V})),e.d(n,"extraErrorDataIntegration",(function(){return r.eb})),e.d(n,"httpClientIntegration",(function(){return r.vb})),e.d(n,"reportingObserverIntegration",(function(){return r.Qb})),e.d(n,"rewriteFramesIntegration",(function(){return r.Rb})),e.d(n,"sessionTimingIntegration",(function(){return r.Tb})),e.d(n,"BrowserTracing",(function(){return r.d})),e.d(n,"browserTracingIntegration",(function(){return r.G})),e.d(n,"defaultRequestInstrumentationOptions",(function(){return r.X})),e.d(n,"instrumentOutgoingRequests",(function(){return r.yb})),e.d(n,"startBrowserTracingNavigationSpan",(function(){return r.fc})),e.d(n,"startBrowserTracingPageLoadSpan",(function(){return r.gc})),e.d(n,"makeBrowserOfflineTransport",(function(){return r.Cb})),e.d(n,"onProfilingStartRouteTransaction",(function(){return r.Kb})),e.d(n,"BrowserProfilingIntegration",(function(){return r.c})),e.d(n,"browserProfilingIntegration",(function(){return r.F})),e.d(n,"Integrations",(function(){return r.l})),e.d(n,"init",(function(){return u})),e.d(n,"Profiler",(function(){return _})),e.d(n,"useProfiler",(function(){return v})),e.d(n,"withProfiler",(function(){return S})),e.d(n,"ErrorBoundary",(function(){return T})),e.d(n,"withErrorBoundary",(function(){return P})),e.d(n,"createReduxEnhancer",(function(){return C})),e.d(n,"reactRouterV3BrowserTracingIntegration",(function(){return U})),e.d(n,"reactRouterV3Instrumentation",(function(){return M})),e.d(n,"reactRouterV4BrowserTracingIntegration",(function(){return W})),e.d(n,"reactRouterV4Instrumentation",(function(){return G})),e.d(n,"reactRouterV5BrowserTracingIntegration",(function(){return Y})),e.d(n,"reactRouterV5Instrumentation",(function(){return z})),e.d(n,"withSentryRouting",(function(){return J})),e.d(n,"reactRouterV6BrowserTracingIntegration",(function(){return ct})),e.d(n,"reactRouterV6Instrumentation",(function(){return st})),e.d(n,"withSentryReactRouterV6Routing",(function(){return mt})),e.d(n,"wrapCreateBrowserRouter",(function(){return ht})),e.d(n,"wrapUseRoutes",(function(){return bt}));var r=e(329),o=e(282),a=e(814);function u(t){const n={...t};Object(a.a)(n,"react"),Object(o.e)(n)}var i=e(188),c=e(39),s=e(68),d=e(195),f=e(149),p=e.n(f),l=e(1);const m="ui.react.render",b="ui.react.mount",h="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/profiler.tsx",g="unknown";class _ extends l.Component{static __initStatic(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}}constructor(t){super(t);const{name:n,disabled:e=!1}=this.props;e||(this._mountSpan=Object(i.d)({name:`<${n}>`,onlyIfParent:!0,op:b,origin:"auto.ui.react.profiler",attributes:{"ui.component_name":n}}))}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:t,includeUpdates:n=!0}){if(n&&this._mountSpan&&t!==this.props.updateProps){const n=Object.keys(t).filter((n=>t[n]!==this.props.updateProps[n]));if(n.length>0){const t=Object(d.c)();this._updateSpan=Object(c.v)(this._mountSpan,(()=>Object(i.d)({name:`<${this.props.name}>`,onlyIfParent:!0,op:"ui.react.update",origin:"auto.ui.react.profiler",startTimestamp:t,attributes:{"ui.component_name":this.props.name,"ui.react.changed_props":n}})))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){const t=Object(d.c)(),{name:n,includeRender:e=!0}=this.props;if(this._mountSpan&&e){const e=Object(s.e)(this._mountSpan).timestamp;Object(c.v)(this._mountSpan,(()=>{const r=Object(i.d)({onlyIfParent:!0,name:`<${n}>`,op:m,origin:"auto.ui.react.profiler",startTimestamp:e,attributes:{"ui.component_name":n}});r&&r.end(t)}))}}render(){return this.props.children}}function S(t,n){const e=n&&n.name||t.displayName||t.name||g,r=r=>l.createElement(_,{...n,name:e,updateProps:r,__self:this,__source:{fileName:h,lineNumber:159}},l.createElement(t,{...r,__self:this,__source:{fileName:h,lineNumber:160}}));return r.displayName=`profiler(${e})`,p()(r,t),r}function v(t,n={disabled:!1,hasRenderSpan:!0}){const[e]=l.useState((()=>{if(!n||!n.disabled)return Object(i.d)({name:`<${t}>`,onlyIfParent:!0,op:b,origin:"auto.ui.react.profiler",attributes:{"ui.component_name":t}})}));l.useEffect((()=>(e&&e.end(),()=>{if(e&&n.hasRenderSpan){const n=Object(s.e)(e).timestamp,r=Object(d.c)(),o=Object(i.d)({name:`<${t}>`,onlyIfParent:!0,op:m,origin:"auto.ui.react.profiler",startTimestamp:n,attributes:{"ui.component_name":t}});o&&o.end(r)}})),[])}_.__initStatic();var I=e(56),E=e(34);const y="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,O="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/errorboundary.tsx";const j="unknown",R={componentStack:null,error:null,eventId:null};class T extends l.Component{constructor(t){super(t),T.prototype.__init.call(this),this.state=R,this._openFallbackReportDialog=!0;const n=Object(c.j)();n&&n.on&&t.showDialog&&(this._openFallbackReportDialog=!1,n.on("afterSendEvent",(n=>{n.type||n.event_id!==this._lastEventId||Object(o.g)({...t.dialogOptions,eventId:this._lastEventId})})))}componentDidCatch(t,{componentStack:n}){const{beforeCapture:e,onError:r,showDialog:a,dialogOptions:u}=this.props;Object(c.x)((i=>{if(function(t){const n=t.match(/^([^.]+)/);return null!==n&&parseInt(n[0])>=17}(l.version)&&Object(I.d)(t)){const e=new Error(t.message);e.name=`React ErrorBoundary ${t.name}`,e.stack=n,function(t,n){const e=new WeakMap;!function t(n,r){if(!e.has(n))return n.cause?(e.set(n,!0),t(n.cause,r)):void(n.cause=r)}(t,n)}(t,e)}e&&e(i,t,n);const s=Object(c.c)(t,{captureContext:{contexts:{react:{componentStack:n}}},mechanism:{handled:!!this.props.fallback}});r&&r(t,n,s),a&&(this._lastEventId=s,this._openFallbackReportDialog&&Object(o.g)({...u,eventId:s})),this.setState({error:t,componentStack:n,eventId:s})}))}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:n,eventId:e}=this.state,{onUnmount:r}=this.props;r&&r(t,n,e)}__init(){this.resetErrorBoundary=()=>{const{onReset:t}=this.props,{error:n,componentStack:e,eventId:r}=this.state;t&&t(n,e,r),this.setState(R)}}render(){const{fallback:t,children:n}=this.props,e=this.state;if(e.error){let n;return n="function"==typeof t?t({error:e.error,componentStack:e.componentStack,resetError:this.resetErrorBoundary,eventId:e.eventId}):t,l.isValidElement(n)?n:(t&&y&&E.c.warn("fallback did not produce a valid ReactElement"),null)}return"function"==typeof n?n():n}}function P(t,n){const e=t.displayName||t.name||j,r=e=>l.createElement(T,{...n,__self:this,__source:{fileName:O,lineNumber:240}},l.createElement(t,{...e,__self:this,__source:{fileName:O,lineNumber:241}}));return r.displayName=`errorBoundary(${e})`,p()(r,t),r}var k=e(239),w=e(57);const N="redux.action",A="info",x={attachReduxState:!0,actionTransformer:t=>t,stateTransformer:t=>t||null};function C(t){const n={...x,...t};return t=>(e,r)=>{n.attachReduxState&&Object(k.b)().addEventProcessor(((t,n)=>{try{void 0===t.type&&"redux"===t.contexts.state.state.type&&(n.attachments=[...n.attachments||[],{filename:"redux_state.json",data:JSON.stringify(t.contexts.state.state.value)}])}catch(t){}return t}));return t(((t,r)=>{const o=e(t,r),a=Object(c.k)(),u=n.actionTransformer(r);null!=u&&a.addBreadcrumb({category:N,data:u,type:A});const i=n.stateTransformer(o);if(null!=i){const t=Object(c.j)(),n=t&&t.getOptions(),e=n&&n.normalizeDepth||3,r={state:{type:"redux",value:i}};Object(w.a)(r,"__sentry_override_normalization_depth__",3+e),a.setContext("state",r)}else a.setContext("state",null);const{configureScopeWithState:s}=n;return"function"==typeof s&&s(a,o),o}),r)}}var L=e(2222),B=e(46),D=e(102);function U(t){const n=Object(L.a)({...t,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:e,routes:r,match:o,instrumentPageLoad:a=!0,instrumentNavigation:u=!0}=t;return{...n,afterAllSetup(t){n.afterAllSetup(t);const i=M(e,r,o);i((n=>{Object(L.c)(t,n)}),a,!1),i((n=>{Object(L.b)(t,n)}),!1,u)}}}function M(t,n,e){return(r,o=!0,a=!0)=>{let u,i;o&&B.a&&B.a.location&&F(n,B.a.location,e,((t,n="url")=>{i=t,u=r({name:i,attributes:{[D.b]:"pageload",[D.c]:"auto.pageload.react.reactrouter_v3",[D.e]:n}})})),a&&t.listen&&t.listen((t=>{"PUSH"!==t.action&&"POP"!==t.action||(u&&u.end(),F(n,t,e,((t,n="url")=>{i=t;const e={[D.b]:"navigation",[D.c]:"auto.navigation.react.reactrouter_v3",[D.e]:n};u=r({name:i,attributes:e})})))}))}}function F(t,n,e,r){let o=n.pathname;e({location:n,routes:t},((t,n,e)=>{if(t||!e)return r(o);const a=function(t){if(!Array.isArray(t)||0===t.length)return"";const n=t.filter((t=>!!t.path));let e=-1;for(let t=n.length-1;t>=0;t--){const r=n[t];if(r.path&&r.path.startsWith("/")){e=t;break}}return n.slice(e).filter((({path:t})=>!!t)).map((({path:t})=>t)).join("")}(e.routes||[]);return 0===a.length||"/*"===a?r(o):(o=a,r(o,"route"))}))}var H=e(291);const $="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouter.tsx";let V;function W(t){const n=Object(L.a)({...t,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:e,routes:r,matchPath:o,instrumentPageLoad:a=!0,instrumentNavigation:u=!0}=t;return{...n,afterAllSetup(t){n.afterAllSetup(t);const i=G(e,r,o);i((n=>{Object(L.c)(t,n)}),a,!1),i((n=>{Object(L.b)(t,n)}),!1,u)}}}function Y(t){const n=Object(L.a)({...t,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:e,routes:r,matchPath:o}=t;return{...n,afterAllSetup(a){n.afterAllSetup(a);const u=z(e,r,o);u((t=>{Object(L.c)(a,t)}),t.instrumentPageLoad,!1),u((t=>{Object(L.b)(a,t)}),!1,t.instrumentNavigation)}}}function G(t,n,e){return q(t,"reactrouter_v4",n,e)}function z(t,n,e){return q(t,"reactrouter_v5",n,e)}function q(t,n,e=[],r){function o(t){if(0===e.length||!r)return[t,"url"];const n=K(e,t,r);for(let t=0;t<n.length;t++)if(n[t].match.isExact)return[n[t].match.path,"route"];return[t,"url"]}return(e,r=!0,a=!0)=>{const u=t&&t.location?t.location.pathname:B.a&&B.a.location?B.a.location.pathname:void 0;if(r&&u){const[t,r]=o(u);V=e({name:t,attributes:{[D.b]:"pageload",[D.c]:`auto.pageload.react.${n}`,[D.e]:r}})}a&&t.listen&&t.listen(((t,r)=>{if(r&&("PUSH"===r||"POP"===r)){V&&V.end();const[r,a]=o(t.pathname);V=e({name:r,attributes:{[D.b]:"navigation",[D.c]:`auto.navigation.react.${n}`,[D.e]:a}})}}))}}function K(t,n,e,r=[]){return t.some((t=>{const o=t.path?e(n,t):r.length?r[r.length-1].match:function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}}(n);return o&&(r.push({route:t,match:o}),t.routes&&K(t.routes,n,e,r)),!!o})),r}function J(t){const n=t.displayName||t.name,e=n=>{if(n&&n.computedMatch&&n.computedMatch.isExact){const t=n.computedMatch.path,e=function(){if(V)return V;const t=Object(i.b)(),n=t?Object(H.a)(t):void 0;if(!n)return;const e=Object(s.e)(n).op;return"navigation"===e||"pageload"===e?n:void 0}();e&&(e.updateName(t),e.setAttribute(D.e,"route"))}return l.createElement(t,{...n,__self:this,__source:{fileName:$,lineNumber:279}})};return e.displayName=`sentryRoute(${n})`,p()(e,t),e}var X=e(670);const Q="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouterv6.tsx";let Z,tt,nt,et,rt,ot,at,ut,it=!1;function ct(t){const n=Object(L.a)({...t,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:e,useLocation:r,useNavigationType:o,createRoutesFromChildren:a,matchRoutes:u,stripBasename:i,instrumentPageLoad:c=!0,instrumentNavigation:s=!0}=t;return{...n,afterAllSetup(t){n.afterAllSetup(t);const d=B.a&&B.a.location&&B.a.location.pathname;c&&d&&Object(L.c)(t,{name:d,attributes:{[D.e]:"url",[D.b]:"pageload",[D.c]:"auto.pageload.react.reactrouter_v6"}}),tt=e,nt=r,et=o,ot=u,rt=a,it=i||!1,at=n=>{Object(L.b)(t,n)},ut=s}}}function st(t,n,e,r,o,a){return(u,i=!0,c=!0)=>{const s=B.a&&B.a.location&&B.a.location.pathname;i&&s&&(Z=u({name:s,attributes:{[D.e]:"url",[D.b]:"pageload",[D.c]:"auto.pageload.react.reactrouter_v6"}})),tt=t,nt=n,et=e,ot=o,rt=r,it=a||!1,at=u,ut=c}}function dt(t,n){if(!n||"/"===n)return t;if(!t.toLowerCase().startsWith(n.toLowerCase()))return t;const e=n.endsWith("/")?n.length-1:n.length,r=t.charAt(e);return r&&"/"!==r?t:t.slice(e)||"/"}function ft(t,n,e,r=""){if(!t||0===t.length)return[it?dt(n.pathname,r):n.pathname,"url"];let o="";if(e)for(let t=0;t<e.length;t++){const a=e[t],u=a.route;if(u){if(u.index)return[it?dt(a.pathname,r):a.pathname,"route"];const t=u.path;if(t){const e="/"===t[0]||"/"===o[o.length-1]?t:`/${t}`;if(o+=e,r+a.pathname===n.pathname)return Object(X.a)(o)!==Object(X.a)(a.pathname)&&"/*"!==o.slice(-2)?[(it?"":r)+e,"route"]:[(it?"":r)+o,"route"]}}}return[it?dt(n.pathname,r):n.pathname,"url"]}function pt(t,n,e,r,o){const a=Array.isArray(r)?r:ot(e,n,o);if(t&&a){const[r,u]=ft(e,n,a,o);t.updateName(r),t.setAttribute(D.e,u)}}function lt(t,n,e,r,o){const a=Array.isArray(r)?r:ot(n,t,o);if(ut&&("PUSH"===e||"POP"===e)&&a){Z&&Z.end();const[e,r]=ft(n,t,a,o);Z=at({name:e,attributes:{[D.e]:r,[D.b]:"navigation",[D.c]:"auto.navigation.react.reactrouter_v6"}})}}function mt(t){if(!(tt&&nt&&et&&rt&&ot&&at))return y&&E.c.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters.\n      useEffect: ${tt}. useLocation: ${nt}. useNavigationType: ${et}.\n      createRoutesFromChildren: ${rt}. matchRoutes: ${ot}. customStartTransaction: ${at}.`),t;let n=!0;const e=e=>{const r=nt(),o=et();return tt((()=>{const t=rt(e.children);n?(pt(gt(),r,t),n=!1):lt(r,t,o)}),[r,o]),l.createElement(t,{...e,__self:this,__source:{fileName:Q,lineNumber:329}})};return p()(e,t),e}function bt(t){if(!(tt&&nt&&et&&ot&&at))return y&&E.c.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` because of one or more missing parameters."),t;let n=!0;const e=e=>{const{routes:r,locationArg:o}=e,a=t(r,o),u=nt(),i=et(),c="string"==typeof o||o&&o.pathname?o:u;return tt((()=>{const t="string"==typeof c?{pathname:c}:c;n?(pt(gt(),t,r),n=!1):lt(t,r,i)}),[i,c]),a};return(t,n)=>l.createElement(e,{routes:t,locationArg:n,__self:this,__source:{fileName:Q,lineNumber:386}})}function ht(t){return function(n,e){const r=t(n,e),o=e&&e.basename,a=gt();return"POP"===r.state.historyAction&&a&&pt(a,r.state.location,n,void 0,o),r.subscribe((t=>{const e=t.location;!ut||"PUSH"!==t.historyAction&&"POP"!==t.historyAction||lt(e,n,t.historyAction,void 0,o)})),r}}function gt(){if(Z)return Z;const t=Object(i.b)(),n=t?Object(H.a)(t):void 0;if(!n)return;const e=Object(s.e)(n).op;return"navigation"===e||"pageload"===e?n:void 0}}}]);