2021-06-20 14:44:22 +02:00
( function ( ) {
var exports = { } ;
2021-06-21 04:55:49 +02:00
exports . id = "pages/_error" ;
exports . ids = [ "pages/_error" ] ;
2021-06-20 14:44:22 +02:00
exports . modules = {
2021-06-21 04:55:49 +02:00
/***/ "./node_modules/next/dist/pages/_error.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / pages / _error . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
"use strict" ;
2021-06-21 04:55:49 +02:00
var _interopRequireDefault = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js" ) ;
2021-06-20 14:44:22 +02:00
exports . _ _esModule = true ;
exports . default = void 0 ;
2021-06-21 04:55:49 +02:00
var _react = _interopRequireDefault ( _ _webpack _require _ _ ( /*! react */ "react" ) ) ;
2021-06-20 14:44:22 +02:00
2021-06-21 04:55:49 +02:00
var _head = _interopRequireDefault ( _ _webpack _require _ _ ( /*! ../next-server/lib/head */ "../next-server/lib/head" ) ) ;
2021-06-20 14:44:22 +02:00
const statusCodes = {
400 : 'Bad Request' ,
404 : 'This page could not be found' ,
405 : 'Method Not Allowed' ,
500 : 'Internal Server Error'
} ;
function _getInitialProps ( {
res ,
err
} ) {
const statusCode = res && res . statusCode ? res . statusCode : err ? err . statusCode : 404 ;
return {
statusCode
} ;
}
/ * *
* ` Error ` component used for handling errors .
* /
class Error extends _react . default . Component {
render ( ) {
const {
statusCode
} = this . props ;
const title = this . props . title || statusCodes [ statusCode ] || 'An unexpected error has occurred' ;
return /*#__PURE__*/ _react . default . createElement ( "div" , {
style : styles . error
} , /*#__PURE__*/ _react . default . createElement ( _head . default , null , /*#__PURE__*/ _react . default . createElement ( "title" , null , statusCode ? ` ${ statusCode } : ${ title } ` : 'Application error: a client-side exception has occurred' ) ) , /*#__PURE__*/ _react . default . createElement ( "div" , null , /*#__PURE__*/ _react . default . createElement ( "style" , {
dangerouslySetInnerHTML : {
_ _html : 'body { margin: 0 }'
}
} ) , statusCode ? /*#__PURE__*/ _react . default . createElement ( "h1" , {
style : styles . h1
} , statusCode ) : null , /*#__PURE__*/ _react . default . createElement ( "div" , {
style : styles . desc
} , /*#__PURE__*/ _react . default . createElement ( "h2" , {
style : styles . h2
} , this . props . title || statusCode ? title : /*#__PURE__*/ _react . default . createElement ( _react . default . Fragment , null , "Application error: a client-side exception has occurred (" , /*#__PURE__*/ _react . default . createElement ( "a" , {
href : "https://nextjs.org/docs/messages/client-side-exception-occurred"
} , "developer guidance" ) , ")" ) , "." ) ) ) ) ;
}
}
exports . default = Error ;
Error . displayName = 'ErrorPage' ;
Error . getInitialProps = _getInitialProps ;
Error . origGetInitialProps = _getInitialProps ;
const styles = {
error : {
color : '#000' ,
background : '#fff' ,
fontFamily : '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif' ,
height : '100vh' ,
textAlign : 'center' ,
display : 'flex' ,
flexDirection : 'column' ,
alignItems : 'center' ,
justifyContent : 'center'
} ,
desc : {
display : 'inline-block' ,
textAlign : 'left' ,
lineHeight : '49px' ,
height : '49px' ,
verticalAlign : 'middle'
} ,
h1 : {
display : 'inline-block' ,
borderRight : '1px solid rgba(0, 0, 0,.3)' ,
margin : 0 ,
marginRight : '20px' ,
padding : '10px 23px 10px 0' ,
fontSize : '24px' ,
fontWeight : 500 ,
verticalAlign : 'top'
} ,
h2 : {
fontSize : '14px' ,
fontWeight : 'normal' ,
lineHeight : 'inherit' ,
margin : 0 ,
padding : 0
}
} ;
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / node _modules / @ babel / runtime / helpers / interopRequireDefault . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
function _interopRequireDefault ( obj ) {
return obj && obj . _ _esModule ? obj : {
"default" : obj
} ;
}
module . exports = _interopRequireDefault ;
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "../next-server/lib/head" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "next/dist/next-server/lib/head.js" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
module . exports = require ( "next/dist/next-server/lib/head.js" ) ; ;
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "react" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "react" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
module . exports = require ( "react" ) ; ;
/***/ } )
} ;
;
// load runtime
var _ _webpack _require _ _ = require ( "../webpack-runtime.js" ) ;
_ _webpack _require _ _ . C ( exports ) ;
var _ _webpack _exec _ _ = function ( moduleId ) { return _ _webpack _require _ _ ( _ _webpack _require _ _ . s = moduleId ) ; }
2021-06-21 04:55:49 +02:00
var _ _webpack _exports _ _ = ( _ _webpack _exec _ _ ( "./node_modules/next/dist/pages/_error.js" ) ) ;
2021-06-20 14:44:22 +02:00
module . exports = _ _webpack _exports _ _ ;
2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