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A4BvM,KACvD,IAGIiE,EAAUgD,GAHTpC,EAAU2H,EAAaC,GAAWzM,EAGhBkF,EAAI,EAC3B,GAAGL,EAAS6H,MAAMpI,GAAgC,IAAxB0H,EAAgB1H,KAAa,CACtD,IAAIL,KAAYuI,EACZxI,EAAoB4C,EAAE4F,EAAavI,KACrCD,EAAoBU,EAAET,GAAYuI,EAAYvI,IAGhD,GAAGwI,EAAS,IAAIvM,EAASuM,EAAQzI,EAClC,CAEA,IADGuI,GAA4BA,EAA2BvM,GACrDkF,EAAIL,EAASjG,OAAQsG,IACzB+B,EAAUpC,EAASK,GAChBlB,EAAoB4C,EAAEoF,EAAiB/E,IAAY+E,EAAgB/E,IACrE+E,EAAgB/E,GAAS,KAE1B+E,EAAgB/E,GAAW,EAE5B,OAAOjD,EAAoBY,EAAE1E,EAAO,EAGjCyM,EAAqBC,KAA2B,qBAAIA,KAA2B,sBAAK,GACxFD,EAAmBjG,QAAQ4F,EAAqBjD,KAAK,KAAM,IAC3DsD,EAAmB3E,KAAOsE,EAAqBjD,KAAK,KAAMsD,EAAmB3E,KAAKqB,KAAKsD,G,KC/FvF,IAAIE,EAAsB7I,EAAoBY,OAAET,EAAW,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,GAAG,KAAK,KAAK,GAAG,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,MAAM,IAAOH,EAAoB,QAC1M6I,EAAsB7I,EAAoBY,EAAEiI,E","sources":["webpack://tumarket/webpack/runtime/chunk loaded","webpack://tumarket/webpack/runtime/create fake namespace object","webpack://tumarket/webpack/runtime/load script","webpack://tumarket/./js/global/text.js","webpack://tumarket/./js/firm/addNote.js","webpack://tumarket/./js/pages/offers.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};","/**\n * \n * @param {string} text \n * @param {number} length \n * @returns \n */\nfunction truncate(text, length) {\n if (text.length <= length) return text;\n return text.substring(0, length) + '…';\n}\n\nexport { truncate };","import { bootstrapAlert } from \"../global/alert\";\nimport { closeDialog, showAlert, showDialog } from \"../global/dialog\";\nimport { addEventDelegate, toggleClass } from \"../global/dom\";\nimport { ajaxSend } from \"../global/fetch\";\nimport { getPrecompiledTemplate, loadPrecompiledTemplates } from \"../global/templates\";\nimport { truncate } from \"../global/text\";\n\nfunction showError(txt) {\n let msg = document.querySelector('#asModal .underFieldMsg'),\n block = document.querySelector('#asModal .tum-error-block'),\n fieldset = document.querySelector('#asModal fieldset');\n\n msg.innerHTML = ' ' + txt;\n toggleClass(msg, 'errMsg', true);\n toggleClass(fieldset, 'error', true);\n toggleClass(block, 'hintBorder d-none', false);\n}\n\nfunction saveFirmNote(firmID, onSuccess) {\n let note = document.querySelector('#firm-comment').value.trim();\n if (note.length > 512) {\n showError(\"Превышена максимальная длина заметки\");\n document.querySelector('.modal-body textarea').focus();\n return;\n }\n\n var params = { firmID: firmID, comment: note };\n return ajaxSend({ url: '/FavoriteProducts/UpdateFirmComment', data: params }).then(data => {\n if (data.result) {\n closeDialog();\n bootstrapAlert(\"Сохранено\", { type: 'success' });\n if (onSuccess) onSuccess(note);\n } else {\n showAlert(data.msg || \"Возникли ошибки при выполнении операции!\", { type: 'danger' });\n }\n });\n}\n\nfunction editFirmNote(firmID, note, onSuccess) {\n let header =\n `Добавить заметку к организации в избранном\n `\n\n return loadPrecompiledTemplates(['firm-add-note']).then(() => {\n var tmpl = getPrecompiledTemplate('firm-add-note');\n var htmlOut = tmpl({ comment: note });\n\n showDialog({\n title: 'Добавить заметку к организации в избранном',\n content: htmlOut,\n header: header,\n submitButtonText: 'Сохранить',\n onSubmit: () => saveFirmNote(firmID, onSuccess)\n });\n });\n}\n\nfunction initFirmNotes(){\n addEventDelegate(document, 'click', '.tum-add-comment', (element, e) => {\n e.preventDefault();\n editFirmNote(element.getAttribute('data-kaid'), element.getAttribute('data-comment'), note => {\n element.querySelector('[data-firm-note]').innerHTML = truncate(note, 5);\n element.setAttribute('data-comment', note);\n });\n });\n\n addEventDelegate(document, 'click', '.tum-edit-comment .fa-pen', (element, e) => {\n e.stopPropagation();\n var btn = element.closest('.tum-edit-comment');\n editFirmNote(btn.getAttribute('data-kaid'), btn.getAttribute('data-comment'), note => {\n btn.querySelector('.tum-firm-comment').innerHTML = truncate(note, 5);\n btn.setAttribute('data-comment', note);\n });\n });\n\n addEventDelegate(document, 'keydown', '#asModal textarea.form-control', () => {\n toggleClass('#asModal fieldset', 'error', false);\n toggleClass('#asModal .tum-error-block', 'd-none', true);\n });\n}\n\nexport { initFirmNotes };","/* global tumarket */\n\nimport \"./layout.js\";\nimport * as $ from \"jquery\";\nimport as from \"../as/as.sys.js\";\nimport \"../as/controls/as.uploadHTML5.js\";\nimport searchFilter from \"../filter/filter.js\";\nimport productSearch from \"../ctu/productSearch.js\";\nimport firmOffers from \"../firm/offersSearch.js\";\nimport { reviews } from \"../firm/reviews.js\";\nimport rate from \"../firm/ratings.js\";\nimport min from \"../search/miniature.js\";\nimport previews from \"../previews/previewsEmbed.js\";\nimport filter from \"../filter/script.js\";\n\nimport \"../search/additionalResults.js\";\n\n//css\nimport \"../../css/modules/tu.m/catalog/filter.css\";\nimport \"../../css/modules/tu.m/catalog/search.css\";\nimport \"../../css/modules/firm/firm.css\";\nimport \"../../css/modules/product/editModal.css\";\nimport \"../../css/modules/tu.m/catalog/filterReadMore.css\";\nimport \"../../css/modules/firm/offers.css\";\nimport \"../../css/modules/ctuCloud.css\";\n\nimport { initEditMenu } from \"../editmenu.js\";\nimport { addEventDelegate } from \"../global/dom\";\nimport { initFirmNotes } from \"../firm/addNote.js\";\n\nwindow.addEventListener('load', () => {\n\tsearchFilter.init(tumarket.offers.filter);\n\n\tproductSearch.init({\n\t\tpage: tumarket.offers.filter.page,\n\t\tctuID: tumarket.offers.filter.ctuID,\n\t\tpageSize: tumarket.offers.filter.pageSize,\n\t\tproductCount: tumarket.offers.productCount,\n\t\tctuCount: tumarket.offers.ctuCount\n\t});\n\n\tfirmOffers.init({\n\t\tfirmName: $(\".temp-firmName\").html(),\n\t\tsAddName: $(\".temp-sAddName\").html(),\n\t\tfirmID: tumarket.offers.firmID,\n\t\tisCanEdit: tumarket.offers.isCanEdit,\n\t\tisCanEditTU: tumarket.offers.isCanEditTU,\n\t\taddNewTUHint: $(\".temp-addNewTUHint\").html(),\n\t\tisOneCat: tumarket.offers.isOneCat,\n\t\ttypeMiniTU: tumarket.offers.typeMiniTU,\n\t\tisOneKTUMode: tumarket.offers.isOneKTUMode,\n\t\tisEditMode: tumarket.offers.isEditMode,\n\t\tisTableView: tumarket.offers.isTableView,\n\t\tisCurrentFirmAgent: tumarket.offers.isCurrentFirmAgent,\n\t\taddress: tumarket.offers.address,\n\t\tisNeedDeliv: tumarket.offers.isNeedDeliv,\n\t\tisNeedCharact: tumarket.offers.isNeedCharact\n\t});\n\n\treviews.init({\n\t\tuserID: tumarket.offers.userID,\n\t\tcanAccessReview: tumarket.offers.canAccessReview,\n\t\tisAuthenticated: tumarket.isAuthenticated\n\t});\n\n\trate.init({\n\t\tisAuthenticated: tumarket.isAuthenticated,\n\t\tisRating: tumarket.offers.isRated,\n\t\tisFirmAgent: tumarket.offers.isFirmAgent,\n\t\tcanAccessReview: tumarket.offers.canAccessReview\n\t});\n\n\tmin.init({ IsAuth: tumarket.isAuthenticated });\n\n\tas.uploadHTML5.init();\n\n\t$(document).on('shown.bs.modal', \"#asModal\", () => {\n\t\tif ($(\".tum-editRightsDetails\").length > 0) {\n\t\t\t$(\".tum-editRightsDetails\").attr(\"href\", $(\".tum-editRightsDetails\").attr(\"href\").replace(\"{role}\", tumarket.isEmployee ? \"admin\" : \"client\").replace(\"{firmID}\", tumarket.offers.firmID));\n\t\t}\n\t});\n\n\tpreviews.init({\n\t\tcontainer: \"#previews\"\n\t});\n\n\t//временная фикса, возможно в будущем будет устранена, такая же на поиск Search\n\taddEventDelegate(document, 'click', '.b-product.card a', element => {\n\t\tif ($(element).attr('href').indexOf('/product') > -1 && $(element).attr('target') != '_blank') {\n\t\t\t$(element).attr('target', '_blank');\n\t\t}\n\t});\n\n\tfilter.init2();\n\tinitEditMenu();\n\tinitFirmNotes();\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\":\"c2c246e485de027ead1b\",\"249\":\"616d4260aa1b45960a70\",\"626\":\"323857a5e71c751c0a07\",\"634\":\"44149a535041a661c063\",\"986\":\"22212cc34da6301f5061\",\"1326\":\"26902ba300864e380183\",\"1396\":\"bec90d8ab55a9e1cfbfd\",\"1595\":\"8c4ac55f67fcd39772fd\",\"1915\":\"1d60e1c76c7a71868f36\",\"2280\":\"3f31b847e583c1514e6d\",\"2540\":\"0a954b7da74c21a39b08\",\"2667\":\"aa12ff698ecb229b55ff\",\"2902\":\"6dd9cad999ddd6757356\",\"3143\":\"a28f6936e6052f53ea07\",\"3200\":\"b01b98ad7e81e52a1dc2\",\"3391\":\"6fb593b88f9d0b83defd\",\"3651\":\"d21f85192de175228094\",\"3956\":\"7193317d66786d9fc451\",\"3985\":\"209f8a8dadc548761594\",\"4298\":\"92475c1d6776628cdab5\",\"4376\":\"a95a7f17af8f19885ef1\",\"4400\":\"16af24d0902770204790\",\"4464\":\"dbb21093a0ba072888a7\",\"4578\":\"a3f76e15c85aaac1fb57\",\"4886\":\"7387659248bac3669c7b\",\"4949\":\"a43c47e84eaa2fb6a1d3\",\"5000\":\"fe83c0e92d71715a7f7a\",\"5098\":\"f6fe0853bd1a48e80967\",\"5154\":\"4d1cf02c8e4065ce13ea\",\"5328\":\"9ce9f3c5df71ae9a2d1b\",\"5458\":\"d0eee377570139bd4bd9\",\"5685\":\"4c8ff955b1a6c8e3a47a\",\"5702\":\"021f3023814329859d1b\",\"5823\":\"7ee49a9b06b1394efc96\",\"5851\":\"c5a584a902b86984bb65\",\"6152\":\"91c06d5e155559f4a987\",\"6301\":\"86eecd5d93a558c2e0b8\",\"6356\":\"671e30fb100e3e6bd295\",\"6495\":\"b3af535f238b645d3a48\",\"6582\":\"69bc5aef2343906834c1\",\"6840\":\"1066996bd5b8e9b8b9a0\",\"6995\":\"778a9715dc5a43e73db8\",\"7047\":\"554ad6220fc353bf9ef6\",\"7151\":\"5066f384a8029dc8ecf5\",\"7232\":\"09c8729a17c021d1e391\",\"7289\":\"e2695e176cc6549d9c08\",\"7522\":\"9a7c26ce9f3f94506a45\",\"7680\":\"5d82327323d7a5395409\",\"8097\":\"8a79b38f09726fbe77d2\",\"8192\":\"e29c17499e33b68a8351\",\"8427\":\"40fd8a0f68b6b29c5663\",\"8822\":\"c86c063a5bc2755a0932\",\"8832\":\"a4b2f439f46ab78c03a6\",\"8992\":\"7cac949427bc114614f4\",\"9244\":\"eff138bdfb2eb12fa7ce\",\"9397\":\"25859cc3061f5bd3ae9c\",\"9476\":\"43f39d29be9704f6db9d\",\"9652\":\"2028e3f3147ce87a4127\",\"9806\":\"c622767386ca1a72ee44\",\"9914\":\"b1751fa0f76e035a7d10\",\"9960\":\"35ded77613b6e546fce0\"}[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\",\"1215\":\"11eab2195dbc51e5bf10\",\"2391\":\"8a9e4940e9e542ae4a51\",\"2540\":\"1f65aa97a795c0fcb210\",\"3391\":\"cf5c0482843948524a18\",\"3956\":\"a3645751b703aae6121c\",\"4376\":\"15eb138e5c4a34d40967\",\"4400\":\"f2fe3819cfa36448e454\",\"4845\":\"e37eb6e30b49beda56ae\",\"4886\":\"d51c62f70ab8f8018e65\",\"5628\":\"522cb8c5372c242c68b1\",\"6301\":\"522cb8c5372c242c68b1\",\"8832\":\"522cb8c5372c242c68b1\"}[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 && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\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\t7534: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"249\":1,\"1215\":1,\"2391\":1,\"2540\":1,\"3391\":1,\"3956\":1,\"4376\":1,\"4400\":1,\"4845\":1,\"4886\":1,\"5628\":1,\"6301\":1,\"8832\":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\t7534: 0,\n\t6616: 0,\n\t1363: 0,\n\t7417: 0,\n\t9869: 0,\n\t1263: 0,\n\t1741: 0,\n\t1779: 0,\n\t3326: 0,\n\t3973: 0,\n\t4310: 0,\n\t4995: 0,\n\t7871: 0,\n\t8925: 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|3326|4845|5628|6616|9869)$/.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,507,545,5285,6616,9349,2311,5643,5607,4720,8154,8446,31,8296,8926,50,5123,3285,9869,3343,3326,9306,734], () => (__webpack_require__(5409)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","leafPrototypes","getProto","inProgress","dataWebpackPrefix","truncate","text","length","substring","saveFirmNote","firmID","onSuccess","note","document","querySelector","value","trim","txt","msg","block","fieldset","innerHTML","showError","focus","params","comment","url","data","then","result","type","editFirmNote","htmlOut","tmpl","title","content","header","submitButtonText","onSubmit","window","addEventListener","init","tumarket","offers","filter","productSearch","page","ctuID","pageSize","productCount","ctuCount","firmName","html","sAddName","isCanEdit","isCanEditTU","addNewTUHint","isOneCat","typeMiniTU","isOneKTUMode","isEditMode","isTableView","isCurrentFirmAgent","address","isNeedDeliv","isNeedCharact","reviews","userID","canAccessReview","isAuthenticated","isRating","isRated","isFirmAgent","IsAuth","uploadHTML5","on","attr","replace","isEmployee","container","element","indexOf","init2","e","preventDefault","getAttribute","setAttribute","stopPropagation","btn","closest","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","amdO","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","getPrototypeOf","obj","t","mode","this","ns","create","def","current","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","get","f","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","prop","prototype","hasOwnProperty","l","done","push","script","needAttach","scripts","getElementsByTagName","s","createElement","charset","timeout","nc","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","setTimeout","bind","target","head","appendChild","Symbol","toStringTag","nmd","paths","children","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","Error","p","loadStylesheet","resolve","reject","href","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","self","__webpack_exports__"],"sourceRoot":""}