1try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="d21241d8-9356-4e1c-abea-efd64b983067",t._sentryDebugIdIdentifier="sentry-dbid-d21241d8-9356-4e1c-abea-efd64b983067")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"181fb8e919aae039486d147a5d10e716b098e32b"};(self.webpackChunk_17live=self.webpackChunk_17live||[]).push([[1539],{54441:(t,e,n)=>{n.d(e,{SV:()=>_,uT:()=>o.uT,S1:()=>a,qp:()=>S,av:()=>o.av,zH:()=>l});var o=n(15395);function a(t){const e={_metadata:{},...t};e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:o.Jn}],version:o.Jn},(0,o.S1)(e)}var r=n(59469),s=n(8679),i=n.n(s),p=n(67294);const c="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/profiler.tsx",d="unknown";class u extends p.Component{static __initStatic(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}}constructor(t){super(t);const{name:e,disabled:n=!1}=this.props;if(n)return;const o=m();o&&(this._mountSpan=o.startChild({description:`<${e}>`,op:"ui.react.mount",origin:"auto.ui.react.profiler",data:{"ui.component_name":e}}))}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:t,includeUpdates:e=!0}){if(e&&this._mountSpan&&t!==this.props.updateProps){const e=Object.keys(t).filter(e=>t[e]!==this.props.updateProps[e]);if(e.length>0){const t=(0,r.ph)();this._updateSpan=this._mountSpan.startChild({data:{changedProps:e,"ui.component_name":this.props.name},description:`<${this.props.name}>`,op:"ui.react.update",origin:"auto.ui.react.profiler",startTimestamp:t})}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){const{name:t,includeRender:e=!0}=this.props;this._mountSpan&&e&&this._mountSpan.startChild({description:`<${t}>`,endTimestamp:(0,r.ph)(),op:"ui.react.render",origin:"auto.ui.react.profiler",startTimestamp:this._mountSpan.endTimestamp,data:{"ui.component_name":t}})}render(){return this.props.children}}function l(t,e){const n=e&&e.name||t.displayName||t.name||d,o=o=>p.createElement(u,{...e,name:n,updateProps:o,__self:this,__source:{fileName:c,lineNumber:152}},p.createElement(t,{...o,__self:this,__source:{fileName:c,lineNumber:153}}));return o.displayName=`profiler(${n})`,i()(o,t),o}function m(t=(0,o.Gd)()){if(t){return t.getScope().getTransaction()}}u.__initStatic();const h="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;const f={componentStack:null,error:null,eventId:null};class _ extends p.Component{constructor(t){super(t),_.prototype.__init.call(this),this.state=f,this._openFallbackReportDialog=!0;const e=(0,o.s3)();e&&e.on&&t.showDialog&&(this._openFallbackReportDialog=!1,e.on("afterSendEvent",e=>{e.type||e.event_id!==this._lastEventId||(0,o.jp)({...t.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(t,{componentStack:e}){const{beforeCapture:n,onError:a,showDialog:s,dialogOptions:i}=this.props;(0,o.$e)(c=>{if(function(t){const e=t.match(/^([^.]+)/);return null!==e&&parseInt(e[0])>=17}(p.version)&&(0,r.VZ)(t)){const n=new Error(t.message);n.name=`React ErrorBoundary ${t.name}`,n.stack=e,function(t,e){const n=new WeakMap;!function t(e,o){if(!n.has(e))return e.cause?(n.set(e,!0),t(e.cause,o)):void(e.cause=o)}(t,e)}(t,n)}n&&n(c,t,e);const d=(0,o.Tb)(t,{captureContext:{contexts:{react:{componentStack:e}}},mechanism:{handled:!1}});a&&a(t,e,d),s&&(this._lastEventId=d,this._openFallbackReportDialog&&(0,o.jp)({...i,eventId:d})),this.setState({error:t,componentStack:e,eventId:d})})}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:e,eventId:n}=this.state,{onUnmount:o}=this.props;o&&o(t,e,n)}__init(){this.resetErrorBoundary=()=>{const{onReset:t}=this.props,{error:e,componentStack:n,eventId:o}=this.state;t&&t(e,n,o),this.setState(f)}}render(){const{fallback:t,children:e}=this.props,n=this.state;if(n.error){let e;return e="function"===typeof t?t({error:n.error,componentStack:n.componentStack,resetError:this.resetErrorBoundary,eventId:n.eventId}):t,p.isValidElement(e)?e:(t&&h&&r.kg.warn("fallback did not produce a valid ReactElement"),null)}return"function"===typeof e?e():e}}let g;function S(t,e,n){return b(t,"react-router-v5",e,n)}function b(t,e,n=[],a){function r(t){if(0===n.length||!a)return[t,"url"];const e=v(n,t,a);for(let n=0;n<e.length;n++)if(e[n].match.isExact)return[e[n].match.path,"route"];return[t,"url"]}const s={"routing.instrumentation":e};return(e,n=!0,a=!0)=>{const i=t&&t.location?t.location.pathname:o.m9&&o.m9.location?o.m9.location.pathname:void 0;if(n&&i){const[t,n]=r(i);g=e({name:t,op:"pageload",origin:"auto.pageload.react.reactrouter",tags:s,metadata:{source:n}})}a&&t.listen&&t.listen((t,n)=>{if(n&&("PUSH"===n||"POP"===n)){g&&g.end();const[n,o]=r(t.pathname);g=e({name:n,op:"navigation",origin:"auto.navigation.react.reactrouter",tags:s,metadata:{source:o}})}})}}function v(t,e,n,o=[]){return t.some(t=>{const a=t.path?n(e,t):o.length?o[o.length-1].match:function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}}(e);return a&&(o.push({route:t,match:a}),t.routes&&v(t.routes,e,n,o)),!!a}),o}},97914:(t,e,n)=>{n.d(e,{jK:()=>a});var o=n(36922);const a={BrowserTracing:o.gE,Apollo:o._M,Express:o.N1,GraphQL:o.kS,Mongo:o._P,Mysql:o.mW,Postgres:o.EI,Prisma:o.gN};("undefined"===typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&(0,o.ro)()}}]); 2//# sourceMappingURL=entry-sentry-153c8f2c.73a71c21ecaef7d580d4.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.