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/runtime/create fake namespace object","webpack://tumarket/webpack/runtime/load script","webpack://tumarket/./js/global/popover.js","webpack://tumarket/./js/global/util.js","webpack://tumarket/./js/search/productsList.js","webpack://tumarket/./js/previews/previewsEmbed.js","webpack://tumarket/./js/home/home.js","webpack://tumarket/./js/pages/home.js","webpack://tumarket/webpack/bootstrap","webpack://tumarket/webpack/runtime/amd options","webpack://tumarket/webpack/runtime/compat get default export","webpack://tumarket/webpack/runtime/define property getters","webpack://tumarket/webpack/runtime/ensure chunk","webpack://tumarket/webpack/runtime/get javascript chunk filename","webpack://tumarket/webpack/runtime/get mini-css chunk filename","webpack://tumarket/webpack/runtime/global","webpack://tumarket/webpack/runtime/hasOwnProperty shorthand","webpack://tumarket/webpack/runtime/make namespace object","webpack://tumarket/webpack/runtime/node module decorator","webpack://tumarket/webpack/runtime/publicPath","webpack://tumarket/webpack/runtime/css loading","webpack://tumarket/webpack/runtime/jsonp chunk loading","webpack://tumarket/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"tumarket:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","import * as $ from \"jquery\";\nimport * as htmx from \"htmx.org\";\nimport \"bootstrap/js/dist/popover\";\nimport { addEventDelegate } from \"./dom\";\nimport { isMob } from \"./util\";\nimport { showDialog } from \"./dialog\";\n\nlet bottomModalInitialized = false;\n\nlet popoverSelectors = [\n '[data-toggle=\"popover\"]',\n '.tu-popover',\n '.poptitle',\n '.tum-unauthorized-hint',\n '.map-link-tum-popover'\n]\n\n/**\n * \n * @param {HTMLElement} element \n */\nfunction closeAllPopoversExcept(element) {\n let popovers = [...document.querySelectorAll(popoverSelectors.join(', '))].filter(e => e != element);\n for (let popover of popovers) {\n $(popover).popover('hide');\n }\n}\n\nfunction initPopovers(){\n addEventDelegate(document, 'click', '[data-dismiss=popover]', element => {\n $('.modal.show.opened-as-popover').modal('hide');\n\n var $popover = $(element).closest('.popover');\n if (!$popover.length) return;\n var $elem = $($popover.data('bs.popover').element);\n $elem.popover('hide');\n });\n\n $(document).on('shown.bs.popover', function(e){\n let closeBtn = '';\n let $elem = $(e.target);\n let $popover = $($elem.data('bs.popover').tip);\n let $header = $popover.find('.popover-header');\n let $body = $popover.find('.popover-body');\n \n htmx?.process($popover[0]);\n \n if ($elem.hasClass('popover-noArrow')) {\n $popover.addClass('noarrow');\n }\n\n if ($elem.hasClass('popover-addCloseBtn')) {\n let $closeBtnContainer = $header.html() ? $header : $body;\n\n if ($('.tu-popover-close', $closeBtnContainer).length) return;\n $closeBtnContainer.prepend(closeBtn);\n }\n });\n\n initTuPopover();\n $('[data-toggle=\"popover\"]').popover({\n sanitize: false\n });\n\n $(document).on('show.bs.popover', e => {\n if (e.currentTarget?.activeElement) {\n closeAllPopoversExcept(e.currentTarget.activeElement);\n }\n else if (e.target) {\n closeAllPopoversExcept(e.target);\n }\n\n if (document.querySelector('.dropdown.show')) {\n $('.dropdown.show').dropdown('hide');\n }\n\n let exceptions = ['.tum-readmore-toggle'];\n if (isMob()) {\n exceptions = exceptions.concat(['.tu-popover', '.tum-unauthorized-hint', '.map-link-tum-popover']);\n } \n let except = exceptions.join(', ');\n\n if (e.currentTarget?.activeElement?.matches(except) || e.target?.matches(except)) {\n return false;\n }\n });\n\n $(document).on('show.bs.dropdown', () => {\n closeAllPopoversExcept(null);\n });\n}\n\n/**\n * \n * @param {HTMLElement | Document | DocumentFragment} [container]\n * @returns \n */\nfunction _initTuPopover(container = null) {\n if (!container) container = document;\n for (let element of container.querySelectorAll('.poptitle:not([data-original-title])')) {\n $(element).popover({\n html: true,\n trigger: element.classList.contains('hover') ? 'hover' : 'click',\n placement: 'top',\n content: element.title,\n sanitize: false,\n template: '
'\n });\n }\n\n if (isMob()) {\n if (!bottomModalInitialized) {\n bottomModalInitialized = true;\n\n addEventDelegate(document, 'click', \".tum-unauthorized-hint, .map-link-tum-popover, .tu-popover\", element => {\n let contentTarget = element.dataset.contenttarget;\n let content = contentTarget ? document.querySelector(contentTarget).innerHTML : element.dataset.content;\n let title = element.title || element.dataset.originalTitle;\n let container = element.dataset.container;\n \n showDialog({\n content: `
${content}
`,\n title,\n pinToBottom: true,\n classes: \"opened-as-popover\",\n container\n });\n });\n }\n\n return;\n }\n\n for (let element of container.querySelectorAll(\".tum-unauthorized-hint, .map-link-tum-popover, .tu-popover\")) {\n if ($(element).data('bs.popover')) continue;\n let trigger = element.dataset.trigger;\n\n let popover = $(element).popover({\n content: function(){\n let target = this.dataset.contenttarget;\n if (target) {\n let html = document.querySelector(target).innerHTML;\n return html;\n }\n\n return this.dataset.content;\n },\n html: true,\n sanitize: false\n });\n\n if (trigger && trigger != 'hover') continue;\n\n popover.on('mouseenter', function () {\n var _this = this;\n $(this).popover('show');\n $('.popover').on('mouseleave', function () {\n $(_this).popover('hide');\n });\n }).on('mouseleave', function () {\n var _this = this;\n setTimeout(function () {\n if (!$('.popover:hover').length) {\n $(_this).popover('hide');\n }\n }, 150);\n });\n }\n}\n\n/**\n * \n * @param {HTMLElement | Document | DocumentFragment | JQuery} [container]\n * @returns \n */\nfunction initTuPopover(container = null){\n if (!container) {\n _initTuPopover();\n return;\n }\n\n if (container instanceof HTMLElement || container instanceof Document || container instanceof DocumentFragment) {\n _initTuPopover(container);\n return;\n }\n\n if (typeof(container) == 'string') {\n container = $(container);\n }\n\n for (let element of container.toArray().filter(e => e instanceof HTMLElement)){\n _initTuPopover(element);\n }\n}\n\n/**\n * \n * @param {HTMLElement} button \n * @param {() => void} callback \n */\nfunction onPopoverShown(button, callback){\n $(button).on('shown.bs.popover', callback);\n}\n\n/**\n * \n * @param {HTMLElement} button \n * @returns {HTMLElement}\n */\nfunction getPopoverElement(button) {\n return $(button).data('bs.popover').tip;\n}\n\nfunction initTooltips(container){\n let except = ['.poptitle', '.notooltip', 'iframe', '.tu-popover', '[data-toggle=popover]'];\n if (isMob()) except.push('.tum-disableMobTitle');\n $('[title]', container || document).not(except.join(', ')).tooltip({\n placement: 'auto',\n boundary: 'window',\n html: true,\n trigger: 'hover'\n });\n\n addEventDelegate(document, 'mouseover', '[title]:not([data-original-title])', function(element){\n $(element).not(except.join(', ')).tooltip({\n placement: 'auto',\n boundary: 'window',\n html: true,\n trigger: 'hover'\n });\n\n $(element).trigger('mouseover');\n });\n\n addEventDelegate(document, 'click', '[title]', function(element){\n $(element).tooltip('hide');\n });\n}\n\nexport { initPopovers, initTuPopover, onPopoverShown, getPopoverElement, closeAllPopoversExcept, initTooltips };\n","function isMob() {\n return window.innerWidth < 768;\n}\n\n/**\n * \n * @param {string} rawStr \n * @returns \n */\nfunction encodeHtml(rawStr) {\n return rawStr.replace(/[\\u00A0-\\u9999<>&]/g, i => '&#'+i.charCodeAt(0)+';')\n}\n\n/**\n * \n * @param {string} string \n * @returns \n */\nfunction capitalize(string)\n{\n if (!string) return string;\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n\n/**\n * \n * @param {string} string \n * @returns \n */\nfunction decapitalize(string)\n{\n if (!string) return string;\n return string.charAt(0).toLowerCase() + string.slice(1);\n}\n\n/**\n * \n * @param {string} str \n * @returns \n */\nfunction toCamelCase(str) {\n return str.toLowerCase().replace(/[-_][a-z]/g, (group) => group.slice(-1).toUpperCase());\n}\n\n/**\n * \n * @param {string} str \n * @returns \n */\nfunction toSnakeCase(str) {\n return str.replace(/[A-Z]/g, letter => `_${letter.toLowerCase()}`);\n}\n\n/**\n * \n * @param {any[]} array \n * @param {string | (e: any) => string} key \n * @returns {Object.}\n */\nfunction groupBy(array, key) {\n let useFunction = typeof key == 'function';\n\n return array.reduce((acc, currentValue) => {\n let groupKey = useFunction ? key(currentValue).toString() : currentValue[key].toString();\n if (!acc[groupKey]) {\n acc[groupKey] = [];\n }\n acc[groupKey].push(currentValue);\n return acc;\n }, {});\n}\n\nfunction sort(array, desc, mapper){\n if (!array.length) return array;\n if (!mapper) mapper = e => e;\n let copy = [...array];\n copy.sort((a, b) => {\n if (mapper(a) > mapper(b)) return 1;\n if (mapper(a) < mapper(b)) return -1;\n return 0;\n });\n\n if (desc) copy.reverse();\n return copy;\n}\n\n/**\n * convert string to bool\n * @param {*} value \n * @param {*} isAttr treat as html attribute, so empty string is true\n * @returns \n */\nfunction toBool(value, isAttr){\n if (isAttr && value == '') return true;\n if (value == 'false' || value == '0') return false;\n return !!value;\n}\n\nfunction renderSimpleTemplate(template, data, requireFields, encodeUrl) {\n if (!template || !data) return '';\n\n let result = template;\n let templateRegex = /{{([a-zA-Z0-9_]+)}}/g;\n for (let field of template.matchAll(templateRegex)) {\n let value = data[field[1]] || '';\n if (requireFields && !value) {\n return null;\n }\n\n if (encodeUrl) value = encodeURIComponent(value);\n result = result.replace(field[0], value);\n }\n\n return result;\n}\n\n/**\n * \n * @param {any[]} array \n * @returns \n */\nfunction distinct(array) {\n if (!array) return [];\n function distinctFilter(value, index, self) { \n return self.indexOf(value) === index;\n }\n\n return array.filter(distinctFilter);\n}\n\n/**\n * \n * @param {string} date \n * @returns {Date}\n */\nfunction parseDate(date) {\n if (!date.includes(' ') && !date.includes('T')) date = date + ' 00:00';\n if (date.includes('+')) return new Date(date);\n return new Date(`${date}+09:00`);\n}\n\nfunction isDateInThisWeek(date, offset) {\n if (!offset) offset = 0;\n let today = new Date();\n const todayObj = new Date(today.setDate(today.getDate() + offset * 7));\n const todayDate = todayObj.getDate();\n const todayDay = todayObj.getDay();\n\n // get first date of week\n const firstDayOfWeek = new Date(todayObj.setDate(todayDate - todayDay));\n\n // get last date of week\n const lastDayOfWeek = new Date(firstDayOfWeek);\n lastDayOfWeek.setDate(lastDayOfWeek.getDate() + 6);\n\n // if date is equal or within the first and last dates of the week\n return date >= firstDayOfWeek && date <= lastDayOfWeek;\n}\n\n\n/**\n * позволяет получить из сложного объекта вложенное поле по строке типа 'products[0].info.name'\n * @param {object} object \n * @param {string} path \n * @returns \n */\nfunction getValueByPath(object, path) {\n let result = object;\n let sections = path.split('.');\n for (let section of sections) {\n if (!result) return result;\n let arrayRegex = /^([a-zA-Z0-9_]+)\\[(\\d+)\\]$/;\n let match = section.match(arrayRegex);\n let index = match ? match[2] : null;\n if (index) section = match[1];\n\n if (index) {\n result = result[section][index] || null;\n } else {\n result = result[section] || null;\n }\n }\n\n return result;\n}\n\n/**\n устанавливает значение вложенного поля по строке типа 'products.info.name'\n * @param {*} object \n * @param {*} path \n * @param {*} value \n */\nfunction setValueByPath(object, path, value) {\n let schema = object; // a moving reference to internal objects within obj\n let pList = path.split('.');\n let len = pList.length;\n for (let i = 0; i < len-1; i++) {\n let elem = pList[i];\n if (!schema[elem]) schema[elem] = {};\n schema = schema[elem];\n }\n\n schema[pList[len-1]] = value;\n}\n\nfunction isIos(){\n if ((/iPad|iPhone|iPod/.test(navigator.userAgent)) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1))\t{\n return true;\n }\n\n return false;\n}\n\nfunction swapAltHtml(element, attributeName) {\n if (!attributeName) attributeName = 'data-althtml';\n let oldhtml = element.innerHTML;\n let newhtml = element.getAttribute(attributeName);\n element.setAttribute(attributeName, oldhtml);\n element.innerHTML = newhtml;\n}\n\nexport { \n isMob, encodeHtml, capitalize, decapitalize, toCamelCase, groupBy, sort, \n toBool, renderSimpleTemplate, distinct, toSnakeCase, parseDate, getValueByPath, setValueByPath, isDateInThisWeek,\n isIos, swapAltHtml\n};","import { ajaxSend } from \"../global/fetch\";\nimport tumGlobal from \"../global.js\";\nimport tumCommon from \"../common.js\";\nimport { isCtuIgnoredAdulthood, showAdultWarning } from \"../product/restrictAdult\";\nimport { getPrecompiledTemplate, loadPrecompiledTemplates } from \"../global/templates\";\nimport { initTuPopover } from \"../global/popover\";\nimport { toggleClass } from \"../global/dom\";\nimport { addEventDelegate, setHtml } from \"../global/dom\";\n\n/**\n * @typedef {object} ItemListState\n * @property {number} productsPage_up номер первой страницы из показанных\n * @property {number} productsPage номер последней страницы из показанных\n * @property {number} productsPageSize\n * @property {number} totalPages\n * @property {number} totalProducts\n * @property {object[]} products\n * @property {object[]} productsSecondary\n * @property {string} viewMode\n * @property {boolean} restrictAdult\n * @property {number} minItemsLeftToShowBanner\n */\n\n/**\n * @typedef {object} ItemListOptions\n * @property {string} url\n * @property {string} container\n * @property {(data: object) => object} dataMapperCallback позволяет получить данные из произвольного источника и привести их к нужному виду\n * @property {(state: ItemListState, data: object, prepend: boolean) => void} dataUpdateCallback выполняется после отображения результатов\n * @property {(state: ItemListState, prepend: boolean) => object} getUrlParamsCallback позволяет задать кастомные параметры для источника данных\n * @property {string} viewMode поддержка нескольких способов вывода\n * @property {boolean} renderOnInit если false, то компонент используется только при пагинации, а до нее показывается просто тот html, который был при загрузке страницы\n * @property {object} additionalData\n */\n\n/**\n * @typedef {object} ItemList\n * @property {ItemListOptions} options\n * @property {ItemListState} state\n * @property {HTMLElement} container\n * @property {HandlebarsTemplateDelegate} template\n * @property {(options: ItemListOptions) => void} init\n * @property {() => void} truncate если страница не последняя и на последней строке вывода осталось пустое место, то она скрывается и переносится на следующую страницу\n */\n\n/** @type {ItemList} */\nvar productsList = {\n\toptions: {\n\t\turl: '',\n\t\tcontainer: '',\n\t\tdataMapperCallback: null,\n\t\tdataUpdateCallback: null,\n\t\tgetUrlParamsCallback: null,\n\t\tviewMode: null,\n\t\trenderOnInit: false,\n\t\tadditionalData: {}\n\t},\n\tstate: {\n\t\tproductsPage_up: 1,\n\t\tproductsPage: 1,\n\t\tproductsPageSize: 0,\n\t\ttotalPages: 0,\n\t\ttotalProducts: 0,\n\t\tproducts: [],\n\t\tproductsSecondary: [],\n\t\tloadedPages: [],\n\t\tproductsViewMode: 'mini',\n\t\trestrictAdult: true,\n\t\tminProductsLeftToShowBanner: 0,\n\t\tadditional_items: []\n\t},\n\tcontainer: null,\n\ttemplate: null,\n\tinit: function (options) {\n\t\tObject.assign(this.options, options);\n\t\tthis.container = document.querySelector(this.options.container);\n\t\tif (!this.container) return;\n\n\t\tObject.assign(this.state, this.options);\n\t\tthis.state.productsViewMode = this.options.viewMode || (tumGlobal.isMob() ? 'mini' : 'grid');\n\n\t\tthis.initEvents();\n\n\t\treturn this.getProductsList()\n\t\t.then(() => {\n\t\t\tif (this.options.renderOnInit) this.renderProductsList();\n\t\t\tthis.truncate();\n\t\t});\n\t},\n\tinitEvents: function () {\n\t\taddEventDelegate(this.container, 'click', '.products-list-next', () => {\n\t\t\tthis.state.productsPage += 1;\n\t\t\tthis.getProductsList()\n\t\t\t.then(() => {\n\t\t\t\tthis.renderProductsList();\n\t\t\t});\n\t\t});\n\n\t\taddEventDelegate(this.container, 'click', '.products-list-prev', () => {\n\t\t\tthis.state.productsPage_up -= 1;\n\t\t\tthis.getProductsList(true)\n\t\t\t.then(() => {\n\t\t\t\tthis.renderProductsList();\n\t\t\t});\n\t\t});\n\t},\n\t_updateProductsList: function (prepend, data) {\n\t\tif (this.options.dataMapperCallback && !data.noMap) data = this.options.dataMapperCallback(data);\n\n\t\tthis.state.productsPageSize = this.state.productsPageSize || data.PageSize || 0;\n\t\tthis.state.totalProducts = this.state.totalProducts || data.Total || 0;\n\t\tthis.state.restrictAdult = this.state.restrictAdult || data.RestrictAdult || true;\n\n\t\tif (prepend) {\n\t\t\tthis.state.products = data.Products.concat(this.state.products);\n\t\t\tthis.state.productsSecondary = data.ProductsSecondary?.concat(this.state.productsSecondary) || [];\n\t\t}\n\t\telse {\n\t\t\tif (this.bannerRequired()) {\n\t\t\t\tlet banner = this.state.banners.find(e => e.TypeID == -1);\n\t\t\t\tif (banner) {\n\t\t\t\t\tbanner.isBanner = true;\n\t\t\t\t\tif (data.Products.length) {\n\t\t\t\t\t\tdata.Products = [banner].concat(data.Products);\n\t\t\t\t\t}\n\t\t\t\t\telse if (data.ProductsSecondary.length) {\n\t\t\t\t\t\tdata.ProductsSecondary = [banner].concat(data.ProductsSecondary);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.state.products = this.state.products.concat(data.Products);\n\n\t\t\tif (data.ProductsSecondary)\n\t\t\tthis.state.productsSecondary = this.state.productsSecondary?.concat(data.ProductsSecondary) || [];\n\t\t}\n\n\t\tthis.state.totalPages = this.state.productsPageSize ? Math.ceil(this.state.totalProducts / this.state.productsPageSize) : 0;\n\n\t\tif (this.options.dataUpdateCallback) this.options.dataUpdateCallback(this.state, data, prepend);\n\t},\n\tgetProductsList: function (prepend) {\n\t\tlet self = this;\n\n\t\tif (this.state.productsPage == this.state.productsPage_up && (this.state.products.length || this.state.productsSecondary.length)) {\n\t\t\tthis._updateProductsList(prepend, {\n\t\t\t\tProducts: [],\n\t\t\t\tProductsSecondary: [],\n\t\t\t\tnoMap: true\n\t\t\t});\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\tif (!this.options.url) {\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\tlet params = {};\n\t\tif (this.options.getUrlParamsCallback) params = this.options.getUrlParamsCallback(this.state, prepend);\n\t\telse params = { page: this.state.productsPage };\n\n\t\treturn new Promise(resolve => {\n\t\t\tajaxSend({ url: this.options.url, data: params }).then(data => {\n\t\t\t\tself._updateProductsList(prepend, data);\n\t\t\t\tresolve(data);\n\t\t\t});\n\t\t});\n\t},\n\trenderProductsList: function () {\n\t\treturn loadPrecompiledTemplates(['products-list'])\n\t\t.then(() => {\n\t\t\tthis.template = this.template || getPrecompiledTemplate('products-list');\n\n\t\t\tlet products = this.state.products.concat(this.state.productsSecondary);\n\n\t\t\tlet model = {\n\t\t\t\tfilter: {\n\t\t\t\t\tpage: this.state.productsPage,\n\t\t\t\t\tpage_up: this.state.productsPage_up\n\t\t\t\t},\n\t\t\t\tProductItems: this.state.products,\n\t\t\t\tProductItemsSecondary: this.state.productsSecondary,\n\t\t\t\tViewMode: this.state.productsViewMode,\n\t\t\t\tRestrictAdult: this.state.restrictAdult,\n\t\t\t\tShowProductsPaging: this.state.productsPage < this.state.totalPages || (products.length && products.length < this.state.totalProducts),\n\t\t\t\tBanners: this.state.banners,\n\t\t\t\tCtuCloud: this.state.ctuCloud,\n\t\t\t\tShowSoftMatch: this.state.productsSecondary.length,\n\t\t\t\tOnlyHasSecondaryProducts: !this.state.products.length && this.state.productsSecondary.length,\n\t\t\t\tadditional_items: this.state.additional_items\n\t\t\t};\n\n\t\t\tObject.assign(model, this.options.additionalData);\n\n\t\t\tsetHtml(this.container, this.template(model));\n\t\t\tinitTuPopover(this.container);\n\t\t\ttumCommon.initCtuCloud();\n\n\t\t\tshowAdultWarning(false, isCtuIgnoredAdulthood());\n\t\t\tthis.truncate();\n\t\t});\n\t},\n\tproductsLeft: function(){\n\t\tlet result = this.state.totalProducts - (this.state.products?.length || 0) - (this.state.productsSecondary?.length || 0);\n\t\treturn Math.max(result, 0);\n\t},\n\tbannerRequired: function(){\n\t\treturn !!(this.state.productsPage > this.state.productsPage_up &&\n\t\t\tthis.state.minProductsLeftToShowBanner && \n\t\t\tthis.productsLeft() > this.state.minProductsLeftToShowBanner &&\n\t\t\tthis.state.banners?.length);\n\t},\n\ttruncate: function(){\n\t\tif (!this.productsLeft()) return;\n\n\t\tlet container = this.container.querySelector('.prod-cont');\n\t\tif (!container) return;\n\n\t\tlet itemWidth = container.firstElementChild.offsetWidth - 1;\n\t\tlet containerWidth = container.offsetWidth;\n\t\tlet rowSize = Math.floor(containerWidth / itemWidth);\n\t\tlet additionalItemsLength = this.state.additional_items?.filter(e => e.index < this.state.products.length).length || 0;\n\t\tlet tail = (this.state.products.length + additionalItemsLength + this.state.productsSecondary.length + (this.state.productsSecondary.length ? 1 : 0)) % rowSize;\n\n\t\tif (tail) toggleClass([...container.children].slice(-tail), 'd-none tail', true);\n\t}\n};\n\nwindow.productsList = productsList;\nexport default productsList;","import * as $ from \"jquery\";\nimport \"readmore-js\";\nimport { ajaxSend } from \"../global/fetch\";\nimport { getPrecompiledTemplate, loadPrecompiledTemplates } from \"../global/templates\";\nimport { youtubePreview } from \"../youtubePreview.js\";\nimport { initTuPopover } from \"../global/popover\";\nimport tu_slider from \"../slider.js\";\nimport { showAlert } from \"../global/dialog\";\n\nimport \"../../css/modules/previews/previewItem.css\";\n\nvar previews = {\n\toptions: {\n\t\tcontainer: '', // селектор элемента с классом collapse. Не может быть \"#previewsContainer\", потому что такой занят в шаблоне с обзорами\n\t\tdisabled: false,\n\t\turl: {\n\t\t\tgetPreviews: '/preview/getPreviewsEmbed'\n\t\t},\n\t\tpageCode: null,\n\t\tlimit: null\n\t},\n\tinit: function(options) {\n\t\tthis.options = $.extend(this.options, options);\n\n\t\tthis.initCallbacks();\n\n\t\t//сразу загружаем обзоры, если collapse развернут\n\t\tif (this.options.container) {\n\t\t\tvar $collapse = $(this.options.container);\n\t\t\tif ($collapse.hasClass(\"show\")){\n\t\t\t\tvar params = {\n\t\t\t\t\tproductID: $collapse.attr(\"data-productid\"),\n\t\t\t\t\tfirmID: $collapse.attr(\"data-firmid\"),\n\t\t\t\t\tpreviewIDs: $collapse.attr(\"data-previewids\"),\n\t\t\t\t\tpageCode: $collapse.attr(\"data-pagecode\"),\n\t\t\t\t\tlimit: $collapse.attr(\"data-limit\")\n\t\t\t\t};\n\n\t\t\t\tthis.getPreviews(params);\n\t\t\t}\n\t\t}\n\n\t\tyoutubePreview.init();\n\t},\n\tinitCallbacks: function() {\n\t\tlet self = this;\n\n\t\tif (this.options.container) {\n\t\t\t$(document).on('show.bs.collapse', this.options.container, function() {\n\t\t\t\tvar params = {\n\t\t\t\t\tproductID: $(this).attr(\"data-productid\"),\n\t\t\t\t\tfirmID: $(this).attr(\"data-firmid\"),\n\t\t\t\t\tpreviewIDs: $(this).attr(\"data-previewids\"),\n\t\t\t\t\tpageCode: $(this).attr(\"data-pagecode\"),\n\t\t\t\t\tlimit: $(this).attr(\"data-limit\")\n\t\t\t\t};\n\n\t\t\t\tself.getPreviews(params);\n\t\t\t});\n\t\t}\n\t},\n\t_getPreviews: function(params) { // { productID: 0, firmID: 0, previewIDs: \"\" }\n\t\tif (this.options.disabled) return;\n\n\t\tvar cont = document.querySelector(\"#previewsContainer\");\n\n\t\tif (cont.innerHTML) return;\n\n\t\tajaxSend({ url: this.options.url.getPreviews, data: params }).then(data => {\n\t\t\tif (data.result) {\n\t\t\t\tvar tmpl = getPrecompiledTemplate('previews');\n\t\t\t\tlet _data = JSON.parse(data.JsonData);\n\t\t\t\t_data.previews = data.items;\n\t\t\t\tvar htmlOut = tmpl(_data);\n\n\t\t\t\tcont.innerHTML = htmlOut;\n\n\t\t\t\tinitTuPopover($(cont));\n\t\t\t\t//youtubePreview.initPreviews(cont);\n\t\t\t\ttu_slider.create({\n\t\t\t\t\tcontainer: document.querySelector('[data-previews-slider]')\n\t\t\t\t});\n\t\t\t}\n\t\t\telse {\n\t\t\t\tshowAlert(\"Ошибка загрузки обзоров\", { type: \"danger\" });\n\t\t\t}\n\t\t});\n\t},\n\tgetPreviews: function(params){\n loadPrecompiledTemplates(['previews']).then(() => this._getPreviews(params));\n }\n};\n\nexport default previews;","/* global tumarket */\n\nimport * as $ from \"jquery\";\n\nimport \"bootstrap/js/dist/popover\";\nimport \"owl.carousel\";\nimport tumCommon from \"../common.js\";\nimport productsList from \"../search/productsList.js\";\nimport tu_slider from \"../slider.js\";\nimport otherCitiesSearch from \"../search/OtherCitiesSearch.js\";\nimport { ajaxSend } from \"../global/fetch\";\nimport \"readmore-js\";\nimport { showAdultWarning } from \"../product/restrictAdult.js\";\nimport { getPrecompiledTemplate, loadPrecompiledTemplates } from \"../global/templates\";\nimport { initTuPopover } from \"../global/popover\";\nimport previews from \"../previews/previewsEmbed.js\";\nimport { addEventDelegate, insertHtmlBefore, prependHtml, toggleClass } from \"../global/dom\";\nimport { isMob } from \"../global/util\";\nimport { searchWidgets } from \"../navbar/searchSelect.js\";\n\nlet home_news = {\n\toptions: {\n\t\tstorageName: 'tum-hiddenNews'\n\t},\n\thideItem: function (id) {\n\t\ttoggleClass('.home-news .slider-slide[data-previewid=\"' + id + '\"]', 'd-none', true);\n\n\t\tlet hiddenItems = this.getHiddenItems();\n\t\thiddenItems.push(id);\n\t\tthis.setHiddenItems(hiddenItems);\n\t},\n\tapplyHiddenItems: function () {\n\t\tlet hiddenItems = this.getHiddenItems();\n\t\tfor (let item of hiddenItems) {\n\t\t\ttoggleClass('.home-news .slider-slide[data-previewid=\"' + item + '\"]', 'd-none', true);\n\t\t}\n\t},\n\tgetHiddenItems: function () {\n\t\tlet _hiddenItems = localStorage.getItem(this.options.storageName);\n\t\tlet hiddenItems = _hiddenItems ? JSON.parse(_hiddenItems) : [];\n\t\treturn hiddenItems;\n\t},\n\tsetHiddenItems: function (hiddenItems) {\n\t\tlocalStorage.setItem(this.options.storageName, JSON.stringify(hiddenItems));\n\t},\n\tinit: function () {\n\t\taddEventDelegate(document, 'click', '.news-hide', element => {\n\t\t\tlet id = element.closest('.slider-slide').dataset.previewid;\n\t\t\tthis.hideItem(id);\n\t\t});\n\t}\n};\n\nvar home = {\n\toptions: {\n\t\tisMobSearch: false,\n\t\tisDotsEach: false,\n\t\tisAutoPlay: false,\n\t\tautoplayTimeout: 1000,\n\t\tshowOtherCities: false\n\t},\n\tinit: function (options) {\n\t\thome.options = $.extend(home.options, options);\n\t\tthis.getSliderItems();\n\t\tthis.initEvents();\n\n\t\tdocument.querySelector('.catalog-slider-container').addEventListener('tu.shown', () => {\n\t\t\t$(\".catalog-slider-container .owl-carousel\").owlCarousel({\n\t\t\t\tloop: false,\n\t\t\t\tautoplay: home.options.isAutoPlay,\n\t\t\t\tautoplayTimeout: home.options.autoplayTimeout,\n\t\t\t\tautoplayHoverPause: true,\n\t\t\t\tdotsEach: home.options.isDotsEach,\n\t\t\t\tmouseDrag: true,\n\t\t\t\tresponsive: {\n\t\t\t\t\t0: {\n\t\t\t\t\t\titems: 2\n\t\t\t\t\t},\n\t\t\t\t\t992: {\n\t\t\t\t\t\titems: 4\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tfor (let elem of document.querySelectorAll('.owl-dot')){\n\t\t\t\telem.setAttribute('aria-label', 'Далее');\n\t\t\t}\n\t\t});\n\n\t\ttoggleClass(\".mob-search-btn\", \"d-none\", false);\n\n\t\tthis.applyUrlParams();\n\n\t\tdocument.querySelector('.home-products-list').addEventListener('tu.shown', () => {\n\t\t\tproductsList.init({\n\t\t\t\turl: '/home/getProducts',\n\t\t\t\tcontainer: '.home-products-list',\n\t\t\t\tdataUpdateCallback: (state, data) => {\n\t\t\t\t\tif (!document.querySelector('.ctuCloud')) {\n\t\t\t\t\t\tvar ctuCloud = data.CtuCloud && JSON.parse(data.CtuCloud);\n\t\t\t\t\t\tthis.renderCtuCloud(ctuCloud);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\trenderOnInit: true\n\t\t\t})\n\t\t\t.then(() => tumCommon.initCtuCloud());\n\t\t});\n\n\t\tdocument.querySelector('[data-previews]').addEventListener('tu.shown', () => {\n\t\t\tpreviews.init({\n\t\t\t\tcontainer: \"[data-previews]\"\n\t\t\t});\n\t\t});\n\n\t\thome_news.init();\n\t},\n\tinitEvents: function () {\n\t\t$(document).on('initialized.owl.carousel', '.owl-carousel', function () {\n\t\t\t$(\".owl-carousel\").closest('.catalog-slider-container').removeClass('invisible');\n\t\t});\n\n\t\taddEventDelegate(document, 'click', \".b-firm-annotation\", element => {\n\t\t\t$(element).readmore(\"toggle\");\n\t\t});\n\t},\n\tapplyUrlParams: function () {\n\t\tlet searchType = new URL(location.href).searchParams.get('searchType') || \"byGoods\";\n\n\t\tsearchWidgets.main.setSearchType(searchType);\n\t},\n\tinitProductSlider: function (container) {\n\t\twindow.sliders = window.sliders || [];\n\n\t\tcontainer.querySelectorAll('.tu-slider').forEach(sliderElement => {\n\t\t\tlet totalProductIDs = sliderElement.closest(\".tum-home-productslider\").getAttribute('data-ids').split(',');\n\n\t\t\tlet slider = tu_slider.create({\n\t\t\t\tcontainer: sliderElement,\n\t\t\t\tgetItems: (callback) => {\n\t\t\t\t\tlet productIDs = totalProductIDs.slice(5);\n\t\t\t\t\tloadPrecompiledTemplates(['product-mini-wrapper']).then(() => {\n\t\t\t\t\t\treturn ajaxSend({ url: '/search/GetProductMiniatures', data: { productIDs: productIDs, isNeedLinkUnder: true } });\n\t\t\t\t\t}).then(data => {\n\t\t\t\t\t\tif (data.result) {\n\t\t\t\t\t\t\tlet template = getPrecompiledTemplate('product-mini-wrapper');\n\t\t\t\t\t\t\tfor (let item of data.Items) {\n\t\t\t\t\t\t\t\titem.isSlider = true;\n\t\t\t\t\t\t\t\titem.isMob = isMob();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tlet newItems = data.Items.map(e => template(e)).join(\"\");\n\n\t\t\t\t\t\t\tinsertHtmlBefore(sliderElement.querySelector('.slider-list .slider-additional-slide'), newItems);\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\tinitTuPopover();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t},\n\t\t\t\ttotalCount: totalProductIDs.length + 1\n\t\t\t});\n\n\t\t\twindow.sliders.push(slider);\n\t\t});\n\n\t\t$('.b-firm-annotation', container).readmore({\n\t\t\tmoreLink: ' Ещё',\n\t\t\tlessLink: '',\n\t\t\tspeed: 100,\n\t\t\tcollapsedHeight: 97\n\t\t});\n\n\t\ttoggleClass(container.querySelector(\".slider-additional-slide .all-catalog\").closest(\"li\"), 'mt-4', false);\n\t\tprependHtml(container.querySelector(\".slider-additional-slide li a\"), ' ');\n\t\ttoggleClass(container, 'bordered', true);\n\t\t$(\"[data-toggle=popover]\", container).popover({\n\t\t\tsanitize: false\n\t\t});\n\t},\n\t_getSliderItems: function () {\n\t\tshowAdultWarning();\n\t\tthis.initProductSlider(document.querySelector(\".tum-home-productslider1\"));\n\t\tthis.initProductSlider(document.querySelector(\".tum-home-productslider2\"));\n\t\tthis.initProductSlider(document.querySelector(\".tum-home-productslider3\"));\n\t\tinitTuPopover();\n\n\t\tif (this.options.showOtherCities) {\n\t\t\thome.getOtherCities();\n\t\t}\n\t},\n\tgetSliderItems: function () {\n\t\tlet templates = ['product-slider'];\n\t\tloadPrecompiledTemplates(templates).then(() => this._getSliderItems());\n\t},\n\tgetOtherCities: function () {\n\t\tajaxSend({ url: \"/Home/GetOtherCities\" }).then(data => {\n\t\t\tif (data.result) {\n\t\t\t\tif (data.OtherCities?.length > 0) {\n\t\t\t\t\totherCitiesSearch.init({\n\t\t\t\t\t\tfirstCity: data.OtherCities ? data.OtherCities[0] : {},\n\t\t\t\t\t\totherCities: data.OtherCities || []\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t},\n\trenderCtuCloud: function (data) {\n\t\treturn loadPrecompiledTemplates(['ctu-cloud'])\n\t\t\t.then(() => {\n\t\t\t\tdata.pageType = tumarket.pageType;\n\t\t\t\tlet template = getPrecompiledTemplate('ctu-cloud');\n\t\t\t\tdocument.querySelector('.home-ctu-cloud').innerHTML = template(data);\n\t\t\t});\n\t}\n};\n\nexport default home;\n","/* global tumarket */\n\nimport \"./layout.js\";\nimport home from \"../home/home.js\";\nimport min from \"../search/miniature.js\";\n\n//css\nimport \"owl.carousel/dist/assets/owl.carousel.min.css\";\nimport \"owl.carousel/dist/assets/owl.theme.default.min.css\";\n\nimport \"../../css/modules/tu.m/home/home.css\";\nimport \"../../css/modules/ctuCloud.css\";\n\nwindow.addEventListener('load', () => {\n\thome.init({\n\t\tisAutoPlay: tumarket.home.slider.isAutoPlay,\n\t\tisDotsEach: tumarket.home.slider.isDotsEach,\n\t\tautoplayTimeout: tumarket.home.slider.autoplayTimeout,\n\t\tshowOtherCities: tumarket.home.showOtherCtities\n\t});\n\t\n\tmin.init({\n\t\tIsAuth: tumarket.isAuthenticated\n\t});\n});\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \"_\" + {\"27\":\"478d229d9257f7907963\",\"134\":\"47e7b990dcb9bd81063a\",\"246\":\"1abb514c0f8805a9d5b9\",\"249\":\"616d4260aa1b45960a70\",\"507\":\"417c99eed8c4d456628b\",\"626\":\"323857a5e71c751c0a07\",\"634\":\"ea620c807e4fd2b9964c\",\"986\":\"6278b44df73f283b2899\",\"1215\":\"8ba07c966be0a9b620c4\",\"1326\":\"26902ba300864e380183\",\"1396\":\"bec90d8ab55a9e1cfbfd\",\"1595\":\"8c4ac55f67fcd39772fd\",\"1915\":\"1d60e1c76c7a71868f36\",\"2280\":\"3f31b847e583c1514e6d\",\"2391\":\"3a5a2cc4965b4363cfe3\",\"2540\":\"bf775e1f4e0e5f7000ef\",\"2667\":\"aa12ff698ecb229b55ff\",\"2902\":\"6e1228f39368bae3ccec\",\"3143\":\"a28f6936e6052f53ea07\",\"3200\":\"b01b98ad7e81e52a1dc2\",\"3391\":\"6fb593b88f9d0b83defd\",\"3651\":\"d21f85192de175228094\",\"3956\":\"fd65af90b15f1a154777\",\"3985\":\"cacb7f081084effba838\",\"4298\":\"92475c1d6776628cdab5\",\"4376\":\"a95a7f17af8f19885ef1\",\"4400\":\"6b3ee91a87382d6a499b\",\"4464\":\"dbb21093a0ba072888a7\",\"4578\":\"a3f76e15c85aaac1fb57\",\"4720\":\"e06b0d66d698c03085cb\",\"4845\":\"4106618043733d88a926\",\"4886\":\"8fe0f0ceb8d8ca3e64c7\",\"4949\":\"a43c47e84eaa2fb6a1d3\",\"5000\":\"fe83c0e92d71715a7f7a\",\"5098\":\"f6fe0853bd1a48e80967\",\"5154\":\"4d1cf02c8e4065ce13ea\",\"5285\":\"27c34ef8242507cef6ef\",\"5328\":\"9ce9f3c5df71ae9a2d1b\",\"5458\":\"d0eee377570139bd4bd9\",\"5685\":\"4c8ff955b1a6c8e3a47a\",\"5702\":\"021f3023814329859d1b\",\"5823\":\"49c4d10bd4bad27438e6\",\"6152\":\"91c06d5e155559f4a987\",\"6495\":\"b3af535f238b645d3a48\",\"6582\":\"6231fb8f477608c5d1b7\",\"6995\":\"778a9715dc5a43e73db8\",\"7047\":\"554ad6220fc353bf9ef6\",\"7151\":\"5066f384a8029dc8ecf5\",\"7232\":\"5460a06ac62ffb6540c9\",\"7289\":\"74e78f18428090ad29a3\",\"7522\":\"21cda2d7aad0356df12f\",\"7680\":\"5d82327323d7a5395409\",\"8097\":\"8a79b38f09726fbe77d2\",\"8192\":\"e29c17499e33b68a8351\",\"8427\":\"40fd8a0f68b6b29c5663\",\"8992\":\"7cac949427bc114614f4\",\"9244\":\"eff138bdfb2eb12fa7ce\",\"9397\":\"25859cc3061f5bd3ae9c\",\"9476\":\"43f39d29be9704f6db9d\",\"9652\":\"2028e3f3147ce87a4127\",\"9806\":\"c622767386ca1a72ee44\",\"9914\":\"62bebcef845f1a9e750c\",\"9960\":\"35ded77613b6e546fce0\",\"9970\":\"8789703bc92721386fb1\",\"9995\":\"638078f83cb3ab49cd73\"}[chunkId] + \".bundle.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"../css/\" + chunkId + \"_\" + {\"249\":\"8c6245a5de8f256116ba\",\"507\":\"9a0e098784aaeb0b6538\",\"1215\":\"11eab2195dbc51e5bf10\",\"2391\":\"8a9e4940e9e542ae4a51\",\"2540\":\"1f65aa97a795c0fcb210\",\"3391\":\"cf5c0482843948524a18\",\"3956\":\"a3645751b703aae6121c\",\"4376\":\"15eb138e5c4a34d40967\",\"4400\":\"f2fe3819cfa36448e454\",\"4845\":\"903d09b766fd8f409ba7\",\"4886\":\"d51c62f70ab8f8018e65\",\"9970\":\"de4ad2e621b7606afd26\",\"9995\":\"de4ad2e621b7606afd26\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t7962: 0,\n\t1263: 0,\n\t7871: 0,\n\t9928: 0,\n\t4310: 0,\n\t1779: 0,\n\t8925: 0,\n\t7843: 0,\n\t3973: 0,\n\t4995: 0,\n\t8766: 0,\n\t1741: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"249\":1,\"507\":1,\"1215\":1,\"2391\":1,\"2540\":1,\"3391\":1,\"3956\":1,\"4376\":1,\"4400\":1,\"4845\":1,\"4886\":1,\"9970\":1,\"9995\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t7962: 0,\n\t1263: 0,\n\t7871: 0,\n\t9928: 0,\n\t4310: 0,\n\t1779: 0,\n\t8925: 0,\n\t7843: 0,\n\t3973: 0,\n\t4995: 0,\n\t8766: 0,\n\t1741: 0,\n\t6616: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(1215|2391|4845|6616)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunktumarket\"] = self[\"webpackChunktumarket\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [7462,9247,545,6616,114,2311,3300,8154,8446,3846,4206,8926,9831], () => (__webpack_require__(3520)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","leafPrototypes","getProto","inProgress","dataWebpackPrefix","bottomModalInitialized","popoverSelectors","closeAllPopoversExcept","element","popovers","document","querySelectorAll","join","filter","e","popover","initPopovers","modal","$popover","closest","length","data","on","$elem","target","tip","$header","find","$body","process","hasClass","addClass","$closeBtnContainer","html","prepend","initTuPopover","sanitize","currentTarget","activeElement","querySelector","dropdown","exceptions","concat","except","matches","_initTuPopover","container","trigger","classList","contains","placement","content","title","template","contentTarget","dataset","contenttarget","innerHTML","originalTitle","pinToBottom","classes","this","_this","setTimeout","HTMLElement","Document","DocumentFragment","toArray","onPopoverShown","button","callback","getPopoverElement","initTooltips","push","not","tooltip","boundary","isMob","window","innerWidth","encodeHtml","rawStr","replace","i","charCodeAt","capitalize","string","charAt","toUpperCase","slice","decapitalize","toLowerCase","toCamelCase","str","group","toSnakeCase","letter","groupBy","array","key","useFunction","reduce","acc","currentValue","groupKey","toString","sort","desc","mapper","copy","a","b","reverse","toBool","value","isAttr","renderSimpleTemplate","requireFields","encodeUrl","result","templateRegex","field","matchAll","encodeURIComponent","distinct","index","self","indexOf","parseDate","date","includes","Date","isDateInThisWeek","offset","today","todayObj","setDate","getDate","todayDate","todayDay","getDay","firstDayOfWeek","lastDayOfWeek","getValueByPath","object","path","sections","split","section","arrayRegex","match","setValueByPath","schema","pList","len","elem","isIos","test","navigator","userAgent","platform","maxTouchPoints","productsList","options","url","dataMapperCallback","dataUpdateCallback","getUrlParamsCallback","viewMode","renderOnInit","additionalData","state","productsPage_up","productsPage","productsPageSize","totalPages","totalProducts","products","productsSecondary","loadedPages","productsViewMode","restrictAdult","minProductsLeftToShowBanner","additional_items","init","Object","assign","initEvents","getProductsList","then","renderProductsList","truncate","_updateProductsList","noMap","PageSize","Total","RestrictAdult","Products","ProductsSecondary","bannerRequired","banner","banners","TypeID","isBanner","Math","ceil","Promise","resolve","params","page","model","page_up","ProductItems","ProductItemsSecondary","ViewMode","ShowProductsPaging","Banners","CtuCloud","ctuCloud","ShowSoftMatch","OnlyHasSecondaryProducts","initCtuCloud","productsLeft","max","itemWidth","firstElementChild","offsetWidth","containerWidth","rowSize","floor","additionalItemsLength","tail","children","disabled","getPreviews","pageCode","limit","initCallbacks","$collapse","productID","attr","firmID","previewIDs","youtubePreview","y","_getPreviews","cont","tmpl","_data","JSON","parse","JsonData","previews","items","htmlOut","create","type","home_news","storageName","hideItem","id","hiddenItems","getHiddenItems","setHiddenItems","applyHiddenItems","item","_hiddenItems","localStorage","getItem","setItem","stringify","previewid","home","isMobSearch","isDotsEach","isAutoPlay","autoplayTimeout","showOtherCities","getSliderItems","addEventListener","owlCarousel","loop","autoplay","autoplayHoverPause","dotsEach","mouseDrag","responsive","setAttribute","applyUrlParams","renderCtuCloud","removeClass","readmore","searchType","URL","location","href","searchParams","get","main","setSearchType","initProductSlider","sliders","forEach","sliderElement","totalProductIDs","getAttribute","slider","getItems","productIDs","isNeedLinkUnder","Items","isSlider","newItems","map","totalCount","moreLink","lessLink","speed","collapsedHeight","_getSliderItems","getOtherCities","OtherCities","firstCity","otherCities","pageType","tumarket","showOtherCtities","IsAuth","isAuthenticated","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","loaded","__webpack_modules__","call","m","amdO","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","keys","every","splice","r","n","getter","__esModule","d","getPrototypeOf","obj","t","mode","ns","def","current","getOwnPropertyNames","definition","o","defineProperty","enumerable","f","chunkId","all","promises","u","miniCssF","g","globalThis","Function","prop","prototype","hasOwnProperty","l","done","script","needAttach","scripts","getElementsByTagName","s","createElement","charset","timeout","nc","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","bind","head","appendChild","Symbol","toStringTag","nmd","paths","scriptUrl","importScripts","currentScript","Error","p","loadStylesheet","reject","fullhref","existingLinkTags","dataHref","tag","rel","existingStyleTags","findStylesheet","oldTag","linkTag","nonce","errorType","realHref","err","name","code","request","insertBefore","nextSibling","createStylesheet","installedCssChunks","miniCss","installedChunks","installedChunkData","promise","error","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}