PageSourceSearch

https://ursal.zone/packs/bundle_column_error-J7Za5eUk.js

js ursal.zone collected 2026-09-25 15:16:39 UTC 2,477 bytes, 2 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./jsx-runtime-D3F0h15I.js";import{a as n}from"./react-intl-CZJDGRhA.js";import{o as r}from"./locales-BGHMdqAW.js";import{t as i}from"./helmet-CYqdhxzx.js";import{n as a}from"./short_number-BgjDzBct.js";import{Qt as o}from"./content-c6cug_aw.js";import{t as s}from"./classnames-CfLRLWYq.js";import{t as c}from"./column-DG2HOpWS.js";import{t as l}from"./column_header-KXu5QVx-.js";import{t as u}from"./copy_button-B8UXZxxH.js";import{t as d}from"./empty_state-BOzG1ohN.js";var f=e(s()),p={error:`_comp_bundle_column_error__error`,errorRedesign:`_comp_bundle_column_error__errorRedesign`,actions:`_comp_bundle_column_error__actions`},m=t(),h=({errorType:e=`routing`,onRetry:t,multiColumn:s,stacktrace:h})=>{let g,_;switch(e){case`routing`:g=(0,m.jsx)(n,{id:`bundle_column_error.routing.title`,defaultMessage:`404`}),_=(0,m.jsx)(n,{id:`bundle_column_error.routing.body`,defaultMessage:`The requested page could not be found. Are you sure the URL in the address bar is correct?`});break;case`network`:g=(0,m.jsx)(n,{id:`bundle_column_error.network.title`,defaultMessage:`Network error`}),_=(0,m.jsx)(n,{id:`bundle_column_error.network.body`,defaultMessage:`There was an error when trying to load this page. This could be due to a temporary problem with your internet connection or this server.`});break;case`error`:g=(0,m.jsx)(n,{id:`bundle_column_error.error.title`,defaultMessage:`Oh, no!`}),_=(0,m.jsx)(n,{id:`bundle_column_error.error.body`,defaultMessage:`The requested page could not be rendered. It could be due to a bug in our code, or a browser compatibility issue.`})}return(0,m.jsxs)(c,{bindToDocument:!s,children:[r()&&(0,m.jsx)(l,{title:g}),(0,m.jsx)(d,{image:`error`,title:r()?null:g,message:_,className:(0,f.default)(p.error,r()&&p.errorRedesign),children:(0,m.jsxs)(`div`,{className:p.actions,children:[e===`network`&&t&&(0,m.jsx)(o,{onClick:t,children:(0,m.jsx)(n,{id:`bundle_column_error.retry`,defaultMessage:`Try again`})}),e===`error`&&h&&(0,m.jsx)(u,{value:h,children:(0,m.jsx)(n,{id:`bundle_column_error.copy_stacktrace`,defaultMessage:`Copy error report`})}),(0,m.jsx)(a,{to:`/`,className:(0,f.default)(`button`,{"button-secondary":e!==`routing`}),children:(0,m.jsx)(n,{id:`bundle_column_error.return`,defaultMessage:`Go back home`})})]})}),(0,m.jsx)(i,{children:(0,m.jsx)(`meta`,{name:`robots`,content:`noindex`})})]})};export{h as t};
2//# sourceMappingURL=bundle_column_error-J7Za5eUk.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.