{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/js/pages/maintenance.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","30","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","$","document","ready","beltH","$navHoles","$navSelect","fancyboxDefaults","width","attr","scrollToFixed","limit","offset","top","height","zIndex","on","this","hash","removeClass","addClass","stop","animate","scrollTop","history","pushState","location","hasClass","sectionName","text","find","scroll","unitName","Swiper","slidesPerView","centeredSlides","spaceBetween","centerInsufficientSlides","navigation","nextEl","prevEl","breakpoints","769","slidesPerGroup","1140","observer","observeParents","768","fancybox","baseClass","touch","buttons","infobar","animationEffect","transitionEffect","clickContent","current","type","caption","html","btnTpl","close","arrowLeft","arrowRight","onInit","instance","isMobile","a","css","afterClose","parseInt","body","style"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAA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,CACXM,IAAK,CACHb,cAAe,EACfC,gBAAgB,EAChBC,aAAc,IAEhBQ,KAAM,CACJV,cAAe,EACfC,gBAAgB,EAChBC,aAAc,OAwEpBnC,EAAE,mBAAmB+C,SAAS,CAC5BC,UAAW,2BACXC,OAAO,IAnEH3C,EAAmB,CAGvB4C,QAAS,CACP,SAEFD,OAAO,EACPD,UAAW,eACXG,SAAS,EACTC,gBAAiB,OACjBC,iBAAkB,QAElBC,aAZuB,SAYVC,GACX,GAAqB,UAAjBA,EAAQC,KACV,OAAO,GAGXC,QAjBuB,WAkBrB,OAAOzD,EAAEgB,MAAMa,KAAK,cAAc6B,QAEpCC,OAAQ,CACNC,MACE,wIAGFC,UACE,+IAGFC,WACE,iJAKJC,OAnCuB,SAmChBC,EAAUT,GAEf,GAAIvD,EAAE+C,SAASkB,SAAU,CACvB,IAAMC,GAAkC,EAA9BlE,EAAE,aAAasB,YACzBtB,EAAE,aAAamE,IAAI,MAAOD,GAAG/C,SAAS,qBAI1CiD,WA3CuB,WA4CrB,IAAIzD,EACAX,EAAE,aAAa0B,SAAS,qBAC1Bf,EAAS0D,SAASpE,SAASqE,KAAKC,MAAM3D,IAAK,IAC3CZ,EAAE,aAAakB,YAAY,mBAAmBiD,IAAI,MAAO,IAAI7C,WAAoB,EAAVX,MAI7EX,EAAE,6BAA6B+C,SAASzC","file":"js/maintenance.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t30: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([712,0]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","/* eslint-disable no-unused-vars */\r\nimport Swiper from 'swiper/js/swiper';\r\nimport '~/sass/pages/maintenance.scss';\r\n\r\nconst { $ } = window;\r\n\r\nlet swiperSpecPackages = null;\r\nlet swiperSpecPower = null;\r\nlet swiperSpecUpgrade = null;\r\nlet swiperPart = null;\r\nlet swiperAdvantage = null;\r\nlet swiperSteps = null;\r\nlet swiperLeading = null;\r\n\r\nfunction navScrollToFixed() {\r\n let beltH = null;\r\n const wW = $(window).width();\r\n if (wW < 1024) {\r\n beltH = 50;\r\n $('body').attr('data-offset', beltH);\r\n } else {\r\n beltH = 60;\r\n $('body').attr('data-offset', 270);\r\n }\r\n\r\n $('#global-header').scrollToFixed({\r\n limit: $('#belt').offset().top - $('#global-header').height(),\r\n zIndex: 99999,\r\n });\r\n\r\n $('#belt').scrollToFixed();\r\n\r\n $('#belt a[href*=\"#\"]').on('click', function Amooth() {\r\n const bW = $('#belt .slider').width();\r\n if (this.hash !== '') {\r\n const { hash } = this;\r\n\r\n $('#belt a[href*=\"#\"]').removeClass('active');\r\n $(this).addClass('active');\r\n\r\n $('html, body').stop().animate({\r\n scrollTop: $(hash).offset().top - beltH + 5,\r\n }, 800,\r\n () => {\r\n if (window.history.pushState) {\r\n window.history.pushState(null, null, hash);\r\n } else {\r\n window.location.hash = hash;\r\n }\r\n });\r\n return false;\r\n }\r\n });\r\n}\r\n\r\nfunction mobileNavScroll() {\r\n const $navHoles = $('#belt .holes');\r\n const $navSelect = $('#belt .select');\r\n $('#belt .select').on('click', () => {\r\n if ($navHoles.hasClass('active')) {\r\n $navHoles.removeClass('active');\r\n } else {\r\n $navHoles.addClass('active');\r\n }\r\n });\r\n $('#belt .slider a').on('click', function clickLink() {\r\n const sectionName = $(this).text();\r\n $navHoles.removeClass('active');\r\n $navSelect.find('span').text(sectionName);\r\n });\r\n $(window).scroll(() => {\r\n const unitName = $('#belt .slider li a.active').text();\r\n\r\n if (unitName !== '') {\r\n $('#belt .select span').text(unitName);\r\n }\r\n });\r\n}\r\n\r\nfunction initSpecPackagesSwipers() {\r\n swiperSpecPackages = new Swiper('#sectionPackageIntroduction #spec-packages .swiper-container', {\r\n slidesPerView: 1.25,\r\n centeredSlides: true,\r\n spaceBetween: 25,\r\n centerInsufficientSlides: true,\r\n navigation: {\r\n nextEl: '#sectionPackageIntroduction #spec-packages .swiper-button-next',\r\n prevEl: '#sectionPackageIntroduction #spec-packages .swiper-button-prev',\r\n },\r\n breakpoints: {\r\n 769: {\r\n slidesPerView: 2.25,\r\n slidesPerGroup: 2,\r\n centeredSlides: false,\r\n },\r\n 1140: {\r\n slidesPerView: 3.25,\r\n slidesPerGroup: 3,\r\n centeredSlides: false,\r\n },\r\n },\r\n });\r\n}\r\n\r\nfunction initSpecPowerSwipers() {\r\n swiperSpecPower = new Swiper('#sectionPackageIntroduction #spec-power .swiper-container', {\r\n slidesPerView: 1.25,\r\n centeredSlides: true,\r\n spaceBetween: 25,\r\n observer: true,\r\n observeParents: true,\r\n centerInsufficientSlides: true,\r\n navigation: {\r\n nextEl: '#sectionPackageIntroduction #spec-power .swiper-button-next',\r\n prevEl: '#sectionPackageIntroduction #spec-power .swiper-button-prev',\r\n },\r\n breakpoints: {\r\n 769: {\r\n slidesPerView: 2.25,\r\n slidesPerGroup: 2,\r\n centeredSlides: false,\r\n },\r\n 1140: {\r\n slidesPerView: 3.25,\r\n slidesPerGroup: 3,\r\n centeredSlides: false,\r\n },\r\n },\r\n });\r\n}\r\n\r\nfunction initSpecUpgradeSwipers() {\r\n swiperSpecUpgrade = new Swiper('#sectionPackageIntroduction #spec-upgrade .swiper-container', {\r\n slidesPerView: 1.25,\r\n centeredSlides: true,\r\n spaceBetween: 25,\r\n observer: true,\r\n observeParents: true,\r\n centerInsufficientSlides: true,\r\n navigation: {\r\n nextEl: '#sectionPackageIntroduction #spec-upgrade .swiper-button-next',\r\n prevEl: '#sectionPackageIntroduction #spec-upgrade .swiper-button-prev',\r\n },\r\n breakpoints: {\r\n 769: {\r\n slidesPerView: 2.25,\r\n slidesPerGroup: 2,\r\n centeredSlides: false,\r\n },\r\n 1140: {\r\n slidesPerView: 3,\r\n slidesPerGroup: 3,\r\n centeredSlides: false,\r\n },\r\n },\r\n });\r\n}\r\n\r\nfunction initPartSwipers() {\r\n swiperPart = new Swiper('#sectionPartsIntroduction .swiper-part .swiper-container', {\r\n slidesPerView: 1,\r\n centeredSlides: true,\r\n spaceBetween: 0,\r\n observer: true,\r\n observeParents: true,\r\n centerInsufficientSlides: true,\r\n navigation: {\r\n nextEl: '#sectionPartsIntroduction .swiper-part .swiper-button-next',\r\n prevEl: '#sectionPartsIntroduction .swiper-part .swiper-button-prev',\r\n },\r\n breakpoints: {\r\n 768: {\r\n slidesPerView: 3,\r\n centeredSlides: false,\r\n },\r\n 1140: {\r\n slidesPerView: 3,\r\n centeredSlides: false,\r\n },\r\n },\r\n });\r\n}\r\n\r\nfunction initAdvantageSwipers() {\r\n swiperAdvantage = new Swiper('#sectionMaintenanceBenefits .swiper-advantage .swiper-container', {\r\n slidesPerView: 1,\r\n centeredSlides: true,\r\n spaceBetween: 0,\r\n observer: true,\r\n observeParents: true,\r\n centerInsufficientSlides: true,\r\n navigation: {\r\n nextEl: '#sectionMaintenanceBenefits .swiper-advantage .swiper-button-next',\r\n prevEl: '#sectionMaintenanceBenefits .swiper-advantage .swiper-button-prev',\r\n },\r\n breakpoints: {\r\n 768: {\r\n slidesPerView: 3,\r\n centeredSlides: false,\r\n },\r\n 1140: {\r\n slidesPerView: 4,\r\n centeredSlides: false,\r\n },\r\n },\r\n });\r\n}\r\n\r\nfunction initStepsSwipers() {\r\n swiperSteps = new Swiper('#sectionPaintingService .swiper-steps .swiper-container', {\r\n slidesPerView: 1,\r\n centeredSlides: true,\r\n spaceBetween: 0,\r\n observer: true,\r\n observeParents: true,\r\n centerInsufficientSlides: true,\r\n navigation: {\r\n nextEl: '#sectionPaintingService .swiper-steps .swiper-button-next',\r\n prevEl: '#sectionPaintingService .swiper-steps .swiper-button-prev',\r\n },\r\n breakpoints: {\r\n 768: {\r\n slidesPerView: 3,\r\n centeredSlides: false,\r\n spaceBetween: 30,\r\n },\r\n 1140: {\r\n slidesPerView: 6,\r\n centeredSlides: false,\r\n spaceBetween: 30,\r\n },\r\n },\r\n });\r\n}\r\n\r\nfunction initLeadingSwipers() {\r\n swiperLeading = new Swiper('#sectionPaintingService .swiper-leading .swiper-container', {\r\n slidesPerView: 1,\r\n centeredSlides: true,\r\n spaceBetween: 0,\r\n observer: true,\r\n observeParents: true,\r\n centerInsufficientSlides: true,\r\n navigation: {\r\n nextEl: '#sectionPaintingService .swiper-leading .swiper-button-next',\r\n prevEl: '#sectionPaintingService .swiper-leading .swiper-button-prev',\r\n },\r\n breakpoints: {\r\n 768: {\r\n slidesPerView: 3,\r\n centeredSlides: false,\r\n spaceBetween: 30,\r\n },\r\n 1140: {\r\n slidesPerView: 5,\r\n centeredSlides: false,\r\n spaceBetween: 30,\r\n },\r\n },\r\n });\r\n}\r\n\r\nfunction paintingFancybox() {\r\n const fancyboxDefaults = {\r\n // smallBtn: true,\r\n // toolbar: false,\r\n buttons: [\r\n 'close',\r\n ],\r\n touch: true,\r\n baseClass: 'figure-slide',\r\n infobar: false,\r\n animationEffect: 'fade',\r\n transitionEffect: 'slide',\r\n // eslint-disable-next-line consistent-return\r\n clickContent(current) {\r\n if (current.type === 'image') {\r\n return false;\r\n }\r\n },\r\n caption() {\r\n return $(this).find('figcaption').html();\r\n },\r\n btnTpl: {\r\n close:\r\n '',\r\n arrowLeft:\r\n '',\r\n arrowRight:\r\n '',\r\n },\r\n // eslint-disable-next-line no-unused-vars\r\n onInit(instance, current) {\r\n // console.log(instance)\r\n if ($.fancybox.isMobile) {\r\n const a = $('body,html').scrollTop() * -1;\r\n $('body,html').css('top', a).addClass('fancybox-iosfix');\r\n // console.log(a)\r\n }\r\n },\r\n afterClose() {\r\n let offset;\r\n if ($('body,html').hasClass('fancybox-iosfix')) {\r\n offset = parseInt(document.body.style.top, 10);\r\n $('body,html').removeClass('fancybox-iosfix').css('top', '').scrollTop(offset * -1);\r\n }\r\n },\r\n };\r\n $('[data-fancybox=\"YTvideo\"]').fancybox(fancyboxDefaults);\r\n}\r\n\r\n$(document).ready(() => {\r\n navScrollToFixed();\r\n mobileNavScroll();\r\n initSpecPackagesSwipers();\r\n initSpecPowerSwipers();\r\n initSpecUpgradeSwipers();\r\n initPartSwipers();\r\n initAdvantageSwipers();\r\n initStepsSwipers();\r\n initLeadingSwipers();\r\n\r\n $('[data-fancybox]').fancybox({\r\n baseClass: 'fancybox-container-modal',\r\n touch: false,\r\n });\r\n\r\n paintingFancybox();\r\n});\r\n"],"sourceRoot":""}