"use strict";
(() => {
var exports = {};
exports.id = "pages/index";
exports.ids = ["pages/index"];
exports.modules = {
"./pages/index.js":
((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/router */ \"next/router\");\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nconst Main = ()=>{\n const router = (0,next_router__WEBPACK_IMPORTED_MODULE_1__.useRouter)();\n const { 0: items , 1: setItems } = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)([]);\n (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(()=>{\n if (!router.isReady) return;\n setItems(()=>router.query.text.split(\"/\")\n );\n }, [\n router.isReady\n ]);\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"ul\", {\n children: items.map((item)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n children: item\n }, void 0, false, {\n fileName: \"/home/dean/Desktop/gitcub/pages/index.js\",\n lineNumber: 19,\n columnNumber: 9\n }, undefined)\n )\n }, void 0, false, {\n fileName: \"/home/dean/Desktop/gitcub/pages/index.js\",\n lineNumber: 17,\n columnNumber: 5\n }, undefined);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Main);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWdlcy9pbmRleC5qcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUE7QUFBdUM7QUFDVztBQUVsRCxNQUFNSSxJQUFJLEdBQUcsSUFBTTtJQUVqQixNQUFNQyxNQUFNLEdBQUdMLHNEQUFTLEVBQUU7SUFFMUIsTUFBTSxFQVBSLEdBT1NNLEtBQUssR0FQZCxHQU9nQkMsUUFBUSxNQUFJTCwrQ0FBUSxDQUFDLEVBQUUsQ0FBQztJQUV0Q0MsZ0RBQVMsQ0FBQyxJQUFNO1FBQ2QsSUFBSSxDQUFDRSxNQUFNLENBQUNHLE9BQU8sRUFBRSxPQUFPO1FBRTVCRCxRQUFRLENBQUMsSUFBTUYsTUFBTSxDQUFDSSxLQUFLLENBQUNDLElBQUksQ0FBQ0MsS0FBSyxDQUFDLEdBQUcsQ0FBQztRQUFBLENBQUMsQ0FBQztLQUM5QyxFQUFFO1FBQUNOLE1BQU0sQ0FBQ0csT0FBTztLQUFDLENBQUM7SUFFcEIscUJBQ0UsOERBQUNJLElBQUU7a0JBQ0FOLEtBQUssQ0FBQ08sR0FBRyxDQUFDQyxDQUFBQSxJQUFJLGlCQUNiLDhEQUFDQyxJQUFFOzBCQUFFRCxJQUFJOzs7Ozt5QkFBTTtRQUNoQixDQUFDOzs7OztpQkFDQyxDQUNOO0NBQ0Y7QUFFRCxpRUFBZVYsSUFBSSIsInNvdXJjZXMiOlsid2VicGFjazovL2dpdGN1Yi8uL3BhZ2VzL2luZGV4LmpzP2JlZTciXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgdXNlUm91dGVyIH0gZnJvbSAnbmV4dC9yb3V0ZXInXG5pbXBvcnQgUmVhY3QsIHsgdXNlU3RhdGUsIHVzZUVmZmVjdCB9IGZyb20gJ3JlYWN0J1xuXG5jb25zdCBNYWluID0gKCkgPT4ge1xuICBcbiAgY29uc3Qgcm91dGVyID0gdXNlUm91dGVyKCk7XG4gIFxuICBjb25zdCBbaXRlbXMsIHNldEl0ZW1zXSA9IHVzZVN0YXRlKFtdKTtcblxuICB1c2VFZmZlY3QoKCkgPT4ge1xuICAgIGlmICghcm91dGVyLmlzUmVhZHkpIHJldHVybjtcbiAgICBcbiAgICBzZXRJdGVtcygoKSA9PiByb3V0ZXIucXVlcnkudGV4dC5zcGxpdCgnLycpKTtcbiAgfSwgW3JvdXRlci5pc1JlYWR5XSlcbiAgXG4gIHJldHVybiAoXG4gICAgPHVsPlxuICAgICAge2l0ZW1zLm1hcChpdGVtID0+IChcbiAgICAgICAgPGxpPntpdGVtfTwvbGk+XG4gICAgICApKX1cbiAgICA8L3VsPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IE1haW4iXSwibmFtZXMiOlsidXNlUm91dGVyIiwiUmVhY3QiLCJ1c2VTdGF0ZSIsInVzZUVmZmVjdCIsIk1haW4iLCJyb3V0ZXIiLCJpdGVtcyIsInNldEl0ZW1zIiwiaXNSZWFkeSIsInF1ZXJ5IiwidGV4dCIsInNwbGl0IiwidWwiLCJtYXAiLCJpdGVtIiwibGkiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./pages/index.js\n");
}),
"next/router":
((module) => {
module.exports = require("next/router");
}),
"react":
((module) => {
module.exports = require("react");
}),
"react/jsx-dev-runtime":
((module) => {
module.exports = require("react/jsx-dev-runtime");
})
};
;
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = (__webpack_exec__("./pages/index.js"));
module.exports = __webpack_exports__;
})();