PageSourceSearch

https://www.listening.com/assets/CatchBoundary-DGiD0hQM.js

js listening.com collected 2026-09-24 08:53:44 UTC 1,423 bytes, 2 lines download raw bytes

1import{a as e,n as t,t as n}from"./jsx-runtime-D3jfb0Ew.js";var r=e(t(),1),i=e(n(),1),a=class extends r.Component{constructor(...e){super(...e),this.state={error:0},this.reset=()=>{this.setState({error:0})}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:0}:{resetKey:n}}static getDerivedStateFromError(e){return{error:[e]}}componentDidCatch(e,t){this.props.onCatch?.(e,t)}render(){let e=this.state.error;return e?r.createElement(this.props.errorComponent??o,{error:e[0],reset:this.reset}):this.props.children}};function o({error:e}){let[t,n]=r.useState(!1);return(0,i.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,i.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,i.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,i.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,i.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,i.jsx)(`div`,{children:(0,i.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e?.message?(0,i.jsx)(`code`,{children:e.message}):null})}):null]})}export{o as n,a as t};
2//# sourceMappingURL=CatchBoundary-DGiD0hQM.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.