You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JavaScript
		
	
		
		
			
		
	
	
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JavaScript
		
	
| 
											9 months ago
										 | "use strict"; | ||
|  | Object.defineProperty(exports, "__esModule", { | ||
|  |     value: true | ||
|  | }); | ||
|  | Object.defineProperty(exports, "default", { | ||
|  |     enumerable: true, | ||
|  |     get: function() { | ||
|  |         return App; | ||
|  |     } | ||
|  | }); | ||
|  | const _interop_require_default = require("@swc/helpers/_/_interop_require_default"); | ||
|  | const _jsxruntime = require("react/jsx-runtime"); | ||
|  | const _react = /*#__PURE__*/ _interop_require_default._(require("react")); | ||
|  | const _utils = require("../shared/lib/utils"); | ||
|  | /** | ||
|  |  * `App` component is used for initialize of pages. It allows for overwriting and full control of the `page` initialization. | ||
|  |  * This allows for keeping state between navigation, custom error handling, injecting additional data. | ||
|  |  */ async function appGetInitialProps(param) { | ||
|  |     let { Component, ctx } = param; | ||
|  |     const pageProps = await (0, _utils.loadGetInitialProps)(Component, ctx); | ||
|  |     return { | ||
|  |         pageProps | ||
|  |     }; | ||
|  | } | ||
|  | class App extends _react.default.Component { | ||
|  |     render() { | ||
|  |         const { Component, pageProps } = this.props; | ||
|  |         return /*#__PURE__*/ (0, _jsxruntime.jsx)(Component, { | ||
|  |             ...pageProps | ||
|  |         }); | ||
|  |     } | ||
|  | } | ||
|  | App.origGetInitialProps = appGetInitialProps; | ||
|  | App.getInitialProps = appGetInitialProps; | ||
|  | 
 | ||
|  | if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') { | ||
|  |   Object.defineProperty(exports.default, '__esModule', { value: true }); | ||
|  |   Object.assign(exports.default, exports); | ||
|  |   module.exports = exports.default; | ||
|  | } | ||
|  | 
 | ||
|  | //# sourceMappingURL=_app.js.map
 |