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;WACA;WACA;WACA;WACA;;;;;WCJA;WACA;WACA;WACA;WACA;;;;;WCJA;;;;;WCAA;WACA;WACA;WACA;WACA,uBAAuB,4BAA4B;WACnD;WACA;WACA;WACA,iBAAiB,oBAAoB;WACrC;WACA,mGAAmG,YAAY;WAC/G;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,mEAAmE,iCAAiC;WACpG;WACA;WACA;WACA;;;;;WCzCA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;WCAA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,iCAAiC;;WAEjC;WACA;WACA;WACA,KAAK;WACL,eAAe;WACf;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM;WACN;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;WACA;WACA;;;;;;;;;;;;;;ACrFA;AACA","sources":["webpack://Vision Template/./dev/js/fe.js","webpack://Vision Template/./dev/js/helpers.js","webpack://Vision Template/./dev/js/load-on-demand.js","webpack://Vision Template/webpack/bootstrap","webpack://Vision Template/webpack/runtime/create fake namespace object","webpack://Vision Template/webpack/runtime/define property getters","webpack://Vision Template/webpack/runtime/ensure chunk","webpack://Vision Template/webpack/runtime/get javascript chunk filename","webpack://Vision Template/webpack/runtime/get mini-css chunk filename","webpack://Vision Template/webpack/runtime/hasOwnProperty shorthand","webpack://Vision Template/webpack/runtime/load script","webpack://Vision Template/webpack/runtime/make namespace object","webpack://Vision Template/webpack/runtime/publicPath","webpack://Vision Template/webpack/runtime/jsonp chunk loading","webpack://Vision Template/./dev/js/app.js"],"sourcesContent":["import helpers from './helpers';\r\n\r\nlet timerResize,\r\n timerScroll;\r\nwindow.addEventListener('load', function() {});\r\n\r\nfunction timeoutResize() {}\r\nwindow.addEventListener('resize', function() {\r\n clearTimeout(timerResize);\r\n timerResize = setTimeout(timeoutResize, 300);\r\n});\r\n\r\nfunction timeoutScroll() {}\r\nwindow.addEventListener('scroll', function() {\r\n clearTimeout(timerScroll);\r\n timerScroll = setTimeout(timeoutScroll, 100);\r\n});","let publicPath = '/';\r\nconst helpers = {\r\n elExists: (arr) => {\r\n let isExist = false;\r\n arr.forEach(el => {\r\n if (document.querySelectorAll(el).length) {\r\n isExist = true;\r\n }\r\n });\r\n return isExist;\r\n },\r\n elExist: (id) => {\r\n return document.getElementById(id) != null ? true : false;\r\n },\r\n arrIsNull: (arr) => {\r\n return arr.length > 0 ? true : false;\r\n },\r\n addScript: (url, cdn) => {\r\n let scriptEl = document.createElement('script');\r\n scriptEl.src = cdn !== undefined ? (publicPath + url): url;\r\n document.body.appendChild(scriptEl);\r\n },\r\n addCSS: (url, cdn) => {\r\n let cssEl = document.createElement('link');\r\n cssEl.href = cdn !== undefined ? (publicPath + url): url;\r\n cssEl.media = 'all';\r\n cssEl.rel = 'stylesheet';\r\n cssEl.type = 'text/css';\r\n let linkEls = document.querySelectorAll('link');\r\n linkEls.forEach(linkEl => {\r\n if(linkEl.href.search('style.min.css') > 0) {\r\n document.head.insertBefore(cssEl, linkEl);\r\n }\r\n });\r\n },\r\n removeCurrentClass: (arr) => {\r\n arr.forEach(element => {\r\n element.classList.remove('current');\r\n });\r\n },\r\n showWhenScroll: function(el, offsetY) {\r\n if (el) {\r\n if (window.pageYOffset > offsetY) {\r\n el.classList.add('show');\r\n } else {\r\n el.classList.remove('show');\r\n }\r\n }\r\n },\r\n formatCurrency: function(n, currency) {\r\n return parseInt(n).toFixed(0).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '.') + currency;\r\n }\r\n};\r\n\r\nexport default helpers;","import helpers from './helpers';\r\n\r\nif (helpers.elExists(['.jsLazy'])) {\r\n import( /* webpackChunkName: \"lazy\" */ './components/lazy');\r\n}\r\n\r\nif (helpers.elExists(['.jsEllipsis'])) {\r\n import( /* webpackChunkName: \"ellipsis\" */ './components/ellipsis');\r\n}\r\n\r\nif (helpers.elExists(['.splide'])) {\r\n import( /* webpackChunkName: \"splide\" */ './components/splide');\r\n}\r\n\r\nif (helpers.elExists(['.jsPopupCall'])) {\r\n import( /* webpackChunkName: \"popup\" */ './components/popup');\r\n}\r\n\r\nif (helpers.elExists(['.jsToTop'])) {\r\n import( /* webpackChunkName: \"totop\" */ './components/totop');\r\n}\r\n\r\nif (helpers.elExists(['#jsHeader'])) {\r\n import( /* webpackChunkName: \"header\" */ './components/header');\r\n}\r\n\r\nif (helpers.elExists(['.jsQRCode'])) {\r\n import( /* webpackChunkName: \"header\" */ './components/qrcode');\r\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\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\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","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};","// 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 \"assets/js/\" + chunkId + \".min.js\";\n};","// This function allow to reference all chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"Vision Template:\";\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\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\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};","// 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__.p = \"/\";","// 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\t\"/assets/js/app.min\": 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(true) { // all chunks have JS\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// no on chunks loaded\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\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkVision_Template\"] = self[\"webpackChunkVision_Template\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","import './load-on-demand';\r\nimport './fe';\r\nimport './be';"],"names":["helpers","timerResize","timerScroll","window","addEventListener","timeoutResize","clearTimeout","setTimeout","timeoutScroll","publicPath","elExists","arr","isExist","forEach","el","document","querySelectorAll","length","elExist","id","getElementById","arrIsNull","addScript","url","cdn","scriptEl","createElement","src","undefined","body","appendChild","addCSS","cssEl","href","media","rel","type","linkEls","linkEl","search","head","insertBefore","removeCurrentClass","element","classList","remove","showWhenScroll","offsetY","pageYOffset","add","formatCurrency","n","currency","parseInt","toFixed","replace"],"sourceRoot":""}