PageSourceSearch

https://nkr.am/main.js

js nkr.am collected 2026-10-02 04:46:43 UTC 6,211 bytes, 128 lines download raw bytes

vendor: 678 bytes, lines 1-13
1/*
2 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
3 * This devtool is neither made for production nor for readable output files.
4 * It uses "eval()" calls to create a separate source file in the browser devtools.
5 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
6 * or disable the default devtool with "devtool: false".
7 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8 */
9/******/ (() => { // webpackBootstrap
10/******/ 	"use strict";
11/******/ 	var __webpack_modules__ = ({
12
13/***/ "./src/
13style/style.scss":
14/*!******************************!*\
15  !*** ./src/style/style.scss ***!
16  \******************************/
17/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
18
19eval("__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 default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + \"style/style.css\");\n\n//# sourceURL=webpack://parked_template/./src/style/style.scss?");
20
21/***/ }),
22
23/***/ "./src/scripts/index.js":
24/*!******************************!*\
25  !*** ./src/scripts/index.js ***!
26  \******************************/
27/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
28
29eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _style_style_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../style/style.scss */ \"./src/style/style.scss\");\n\n\nfunction onSubmit(e) {\n  var searchValue = document.getElementById(\"searchField\").value;\n  var addstr = \"\";\n  if (!searchValue.includes(\".\")) {\n    addstr = \".am\";\n  }\n  window.location = `https://name.am/search/${searchValue}${addstr}`;\n\n  e.preventDefault();\n}\n\ndocument.getElementById(\"searchForm\").onsubmit = onSubmit;\n\n\n//# sourceURL=webpack://parked_template/./src/scripts/index.js?");
30
31/***/ })
31
32
33/******/ 	});
34/************************************************************************/
35/******/ 	// The module cache
36/******/ 	var __webpack_module_cache__ = {};
37/******/ 	
38/******/ 	// The require function
39/******/ 	function __webpack_require__(moduleId) {
40/******/ 		// Check if module is in cache
41/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
42/******/ 		if (cachedModule !== undefined) {
43/******/ 			return cachedModule.exports;
44/******/ 		}
45/******/ 		// Create a new module (and put it into the cache)
46/******/ 		var module = __webpack_module_cache__[moduleId] = {
47/******/ 			// no module.id needed
48/******/ 			// no module.loaded needed
49/******/ 			exports: {}
50/******/ 		};
51/******/ 	
52/******/ 		// Execute the module function
53/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
54/******/ 	
55/******/ 		// Return the exports of the module
56/******/ 		return module.exports;
57/******/ 	}
58/******/ 	
59/************************************************************************/
60/******/ 	/* webpack/runtime/define property getters */
61/******/ 	(() => {
62/******/ 		// define getter functions for harmony exports
63/******/ 		__webpack_require__.d = (exports, definition) => {
64/******/ 			for(var key in definition) {
65/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
66/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
67/******/ 				}
68/******/ 			}
69/******/ 		};
70/******/ 	})();
71/******/ 	
72/******/ 	/* webpack/runtime/global */
73/******/ 	(() => {
74/******/ 		__webpack_require__.g = (function() {
75/******/ 			if (typeof globalThis === 'object') return globalThis;
76/******/ 			try {
77/******/ 				return this || new Function('return this')();
78/******/ 			} catch (e) {
79/******/ 				if (typeof window === 'object') return window;
80/******/ 			}
81/******/ 		})();
82/******/ 	})();
83/******/ 	
84/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
85/******/ 	(() => {
86/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
87/******/ 	})();
88/******/ 	
89/******/ 	/* webpack/runtime/make namespace object */
90/******/ 	(() => {
91/******/ 		// define __esModule on exports
92/******/ 		__webpack_require__.r = (exports) => {
93/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
94/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
95/******/ 			}
96/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
97/******/ 		};
98/******/ 	})();
99/******/ 	
100/******/ 	/* webpack/runtime/publicPath */
101/******/ 	(() => {
102/******/ 		var scriptUrl;
103/******/ 		if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
104/******/ 		var document = __webpack_require__.g.document;
105/******/ 		if (!scriptUrl && document) {
106/******/ 			if (document.currentScript)
107/******/ 				scriptUrl = document.currentScript.src
108/******/ 			if (!scriptUrl) {
109/******/ 				var scripts = document.getElementsByTagName("script");
110/******/ 				if(scripts.length) scriptUrl = scripts[scripts.length - 1].src
111/******/ 			}
112/******/ 		}
113/******/ 		// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
114/******/ 		// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
115/******/ 		if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
116/******/ 		scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
117/******/ 		__webpack_require__.p = scriptUrl;
118/******/ 	})();
119/******/ 	
120/************************************************************************/
121/******/ 	
122/******/ 	// startup
123/******/ 	// Load entry module and return exports
124/******/ 	// This entry module can't be inlined because the eval devtool is used.
125/******/ 	var __webpack_exports__ = __webpack_require__("./src/scripts/index.js");
126/******/ 	
127/******/ })()
128;

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.