{"version":3,"sources":["webpack:///./src/views/components/common/scrolling-tabs.vue?22eb","webpack:///./src/views/components/common/scrolling-tabs.vue","webpack:///./src/views/components/common/scrolling-tabs.vue?c5e4","webpack:///./src/views/components/common/scrolling-tabs.vue?54aa","webpack:///../shared-configs/js/skeleton.js","webpack:///./src/views/pages/page-tariffs-list.vue?d1f6","webpack:///./src/views/pages/page-tariffs-list.vue","webpack:///./src/views/pages/page-tariffs-list.vue?6746","webpack:///./src/views/pages/page-tariffs-list.vue?bfb0","webpack:///./src/views/components/common/common-layout.vue?424b","webpack:///./src/views/components/common/dialog.vue?eb44","webpack:///./src/views/components/common/dialog.vue","webpack:///./src/views/components/common/dialog.vue?2e68","webpack:///./src/views/components/common/dialog.vue?1859","webpack:///./src/views/components/common/common-layout.vue","webpack:///./src/views/components/common/common-layout.vue?307a","webpack:///./src/views/components/common/common-layout.vue?5d40","webpack:///./src/views/components/common/vpp.vue?fc95","webpack:///./src/views/components/common/vpp-card.vue?16b3","webpack:///./src/views/components/vpp/vpp-package.vue?3e05","webpack:///./src/views/components/vpp/vpp-package.vue","webpack:///./src/views/components/vpp/vpp-package.vue?e9d8","webpack:///./src/views/components/vpp/vpp-package.vue?d1f9","webpack:///./src/views/components/common/vpp-card.vue","webpack:///./src/views/components/common/vpp-card.vue?f16b","webpack:///./src/views/components/common/vpp-card.vue?3957","webpack:///./src/views/components/common/vpp.vue","webpack:///./src/views/components/common/vpp.vue?12e4","webpack:///./src/views/components/common/vpp.vue?6ed9"],"names":["render","_vm","this","_h","$createElement","_c","_self","tabs","staticClass","_l","tab","index","key","class","active","activeIndex","on","$event","selectTab","_v","_s","name","_e","staticRenderFns","extend","props","required","type","Array","selectedTabIndex","Number","default","data","watch","activeTab","$emit","tabName","tabCode","code","methods","component","hideSkeletonPage","skeletons","document","getElementsByClassName","i","length","style","display","isDuoTrioCategory","device","isBigDesktop","attrs","onTabChanged","tariffs","isDuoTrioTariffsLoaded","pageType","isTrioSelected","components","ScrollingTabs","CommonLayout","Vpp","MOBILE_TARIFFS","computed","$attrs","tariffcategory","trioTariffs","duoTariffs","tariffsList","immediate","handler","$nextTick","destroyed","window","removeEventListener","setDuoTrioHash","created","store","dispatch","listName","VPP","getDuoTrioTariffs","addEventListener","getTariffsData","varToChange","payload","location","hash","innerWidth","xl","history","pushState","title","pathname","findIndex","slice","_t","ref","Object","assign","mergedProps","full","isDialogVpp","noIndents","dialogClasses","onTransitionLeave","directives","rawName","value","expression","closeBtn","closeBtnIcon","close","dialogStyles","Boolean","isOpen","hasHeader","hasFooter","contentInstance","onClose","onSubmit","dialogProps","refs","container","header","footer","$props","toggleDialog","open","onOpen","addHeader","headerComponent","addContent","addFooter","footerComponent","submit","clear","HeaderDynamicComponent","instance","i18n","$mount","getHeaderContainer","DynamicComponent","propsData","getContainer","FooterDynamicComponent","getFooterContainer","$refs","content","insertAdjacentHTML","contentContainer","querySelector","headerContent","headerContainer","footerContent","footerContainer","innerHTML","Dialog","mixins","isCartOverviewPage","routes","PageCartOverview","mounted","init","dialogDynamic","storage","getItem","IS_AFTER_LOGIN","removeItem","CART","MINICART","mergeCarts","invokesFrom","validateCart","then","analytics","onCheckout","currentCheckoutStep","onunload","OVERVIEW","checkStep","$t","categories","handleSlideChange","isPdp","isCenterDevices","verticalTariff","tariffCategory","TariffCategory","HOSTING","isAccent","isHosting","tariffPlanPrice","characteristic","isOneCharacteristic","item","productSpecCharacteristics","id","oldValue","video","applications","msatChannels","msatPackages","openModal","isMobile","hasDevices","goToPlp","selectPackage","tariffCategoryColor","addVppToCart","tariffCategoryButtonName","packages","showDescription","productSpecCharacteristicValues","description","hiddenPackagesQuantity","icon","url","altText","isVppPdp","PlaceholderImage","mobileQuantity","desktopQuantity","fullDesktopQuantity","showPackages","hidePackages","displayedPackages","DevicePrice","Icon","VppPackage","PromotionalText","isTrioTariff","isRecommendedTariff","recommended","isTariffChosen","tariffCode","characteristicGroups","tmaProductSpecCharacteristicGroups","find","APPLICATION","TV","filter","cssType","VPP_ADDITIONAL","MSAT_PACKAGE","MSAT_CHANNELS","showLabel","showBody","showButtons","isTariffInfo","getVppDevices","tariffName","tariff","subscriptionTermId","subscriptionTerms","addToCart","product","modal","dataset","productCode","VppCard","PDP_TARIFFS","offer","offerType","BASIC","basicOffer","topOffer","map","category","categoryProducts","tariffChildren","isVppMobileTariffs","tariffsDependentOnSelected","tariffDependentOnSize","watchTariffChanges","baseTariffCode","selectedTariffIndex","selectedTariff","splice","orderedTariffs","sortedTariffs","sort","a","b","isTablet","isDesktop","isLargeDesktop","slide"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAIM,KAAW,OAAEF,EAAG,MAAM,CAACG,YAAY,kBAAkB,CAACH,EAAG,MAAM,CAACG,YAAY,6BAA6B,CAACH,EAAG,KAAK,CAACG,YAAY,wBAAwBP,EAAIQ,GAAIR,EAAQ,MAAE,SAASS,EAAIC,GAAO,OAAON,EAAG,KAAK,CAACO,IAAKF,EAAM,IAAMC,EAAOH,YAAY,uBAAuBK,MAAM,CAAEC,OAAQb,EAAIc,cAAgBJ,IAAS,CAACN,EAAG,SAAS,CAACG,YAAY,sBAAsBK,MAAM,CAAEC,OAAQb,EAAIc,cAAgBJ,GAAQK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOhB,EAAIiB,UAAUP,MAAU,CAACV,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGV,EAAIW,MAAM,YAAW,OAAOpB,EAAIqB,MACjmBC,EAAkB,G,kCC2BP,eAAIC,OAAO,CACzBH,KAAM,gBACNI,MAAO,CACNlB,KAAM,CACLmB,UAAU,EACVC,KAAMC,OAEPC,iBAAkB,CACjBF,KAAMG,OACNC,SAAU,IAGZC,KAZyB,WAaxB,MAAO,CACNjB,YAAab,KAAK2B,mBAGpBI,MAAO,CACNlB,YADM,SACMJ,GACX,IAAMuB,EAAYhC,KAAKK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OAAIA,EAAQY,SAAStO,OAAS,EAAK6O,qBAInF5O,QAAS,iCACL,eAAW,OAAQ,CAAC,eADjB,IAENgJ,kBAFQ,SAEUwG,GACjB7R,KAAKgC,UAAY6P,EAAMpR,WCtMgb,ICOtc,EAAY,eACd,EACAX,EACAuB,GACA,EACA,KACA,KACA,MAIa,S","file":"js/chunk-3ad19f6b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tabs.length)?_c('div',{staticClass:\"scrolling-tabs\"},[_c('div',{staticClass:\"scrolling-tabs__container\"},[_c('ul',{staticClass:\"scrolling-tabs__list\"},_vm._l((_vm.tabs),function(tab,index){return _c('li',{key:(tab + \"-\" + index),staticClass:\"scrolling-tabs__item\",class:{ active: _vm.activeIndex === index }},[_c('button',{staticClass:\"scrolling-tabs__btn\",class:{ active: _vm.activeIndex === index },on:{\"click\":function($event){return _vm.selectTab(index)}}},[_vm._v(\" \"+_vm._s(tab.name)+\" \")])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Tab } from '@interfaces/common';\r\nimport Vue, { PropType } from 'vue';\r\n\r\nexport default Vue.extend({\r\n\tname: 'ScrollingTabs',\r\n\tprops: {\r\n\t\ttabs: {\r\n\t\t\trequired: true,\r\n\t\t\ttype: Array as PropType,\r\n\t\t},\r\n\t\tselectedTabIndex: {\r\n\t\t\ttype: Number,\r\n\t\t\tdefault: -1,\r\n\t\t},\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tactiveIndex: this.selectedTabIndex,\r\n\t\t};\r\n\t},\r\n\twatch: {\r\n\t\tactiveIndex(index: number) {\r\n\t\t\tconst activeTab = this.tabs[index];\r\n\r\n\t\t\tthis.$emit('tab-changed', {\r\n\t\t\t\tindex,\r\n\t\t\t\ttabName: activeTab.name,\r\n\t\t\t\ttabCode: activeTab.code,\r\n\t\t\t});\r\n\t\t},\r\n\t\tselectedTabIndex() {\r\n\t\t\tthis.activeIndex = this.selectedTabIndex;\r\n\t\t},\r\n\t},\r\n\tmethods: {\r\n\t\tselectTab(index): void {\r\n\t\t\tthis.activeIndex = index;\r\n\t\t},\r\n\t},\r\n});\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./scrolling-tabs.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./scrolling-tabs.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./scrolling-tabs.vue?vue&type=template&id=3e84270e&\"\nimport script from \"./scrolling-tabs.vue?vue&type=script&lang=ts&\"\nexport * from \"./scrolling-tabs.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export function hideSkeletonPage() {\r\n\t// it is used to hide skeleton component on the page\r\n\t// more about it in assets/README.md\r\n\tconst skeletons = document.getElementsByClassName('skeleton-page');\r\n\tfor (let i = 0; i < skeletons.length; i++)\r\n\t\tskeletons[i].style.display = 'none';\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CommonLayout',[(_vm.isDuoTrioCategory && !_vm.device.isBigDesktop)?_c('ScrollingTabs',{staticClass:\"scrolling-tabs--tariffs\",attrs:{\"tabs\":_vm.tabs,\"selected-tab-index\":_vm.selectedTabIndex},on:{\"tab-changed\":_vm.onTabChanged}}):_vm._e(),((_vm.tariffs && _vm.tariffs.length) || _vm.isDuoTrioTariffsLoaded)?_c('Vpp',{staticClass:\"page-tariffs-list\",class:{'page-tariffs-list--duo-trio': _vm.isDuoTrioCategory},attrs:{\"tariffs-list\":_vm.tariffs,\"page-type\":_vm.pageType,\"is-duo-trio-category\":_vm.isDuoTrioCategory,\"is-trio-selected\":_vm.isTrioSelected}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport CommonLayout from '@components/common/common-layout.vue';\r\nimport ScrollingTabs from '@components/common/scrolling-tabs.vue';\r\nimport Vpp from '@components/common/vpp.vue';\r\nimport { BREAKPOINTS_CONFIG, duoTrioTabs } from '@constants';\r\nimport { ListType, PageType } from '@enums';\r\nimport { Tab } from '@interfaces/common';\r\nimport { Tariff } from '@interfaces/hybris/Tariff';\r\nimport { store } from '@store';\r\nimport Vue from 'vue';\r\nimport { mapActions, mapGetters, mapState } from 'vuex';\r\n\r\nimport { hideSkeletonPage } from '../../../../shared-configs/js/skeleton.js';\r\n\r\nexport default Vue.extend({\r\n\tname: 'PageTariffsList',\r\n\tcomponents: {\r\n\t\tScrollingTabs,\r\n\t\tCommonLayout,\r\n\t\tVpp,\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tpageType: PageType.MOBILE_TARIFFS,\r\n\t\t\tselectedTabIndex: 0,\r\n\t\t\ttabs: duoTrioTabs,\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\t...mapState('tariffInfoDialog', ['tariffsList', 'duoTariffs', 'trioTariffs']),\r\n\t\t...mapGetters('tariffInfoDialog', ['isDuoTrioTariffsLoaded']),\r\n\t\tisDuoTrioCategory(): boolean {\r\n\t\t\treturn this.$attrs.tariffcategory === 'duo-trio';\r\n\t\t},\r\n\t\tisTrioSelected(): boolean {\r\n\t\t\treturn this.selectedTabIndex === 0 && this.isDuoTrioCategory;\r\n\t\t},\r\n\t\ttariffs(): Tariff[] {\r\n\t\t\tif (this.isDuoTrioCategory)\r\n\t\t\t\treturn this.isTrioSelected ? this.trioTariffs : this.duoTariffs;\r\n\t\t\telse\r\n\t\t\t\treturn this.tariffsList;\r\n\t\t},\r\n\t},\r\n\twatch: {\r\n\t\ttariffsList: {\r\n\t\t\timmediate: true,\r\n\t\t\thandler() {\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\thideSkeletonPage();\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\tdestroyed() {\r\n\t\twindow.removeEventListener('resize', this.setDuoTrioHash, false);\r\n\t},\r\n\tcreated() {\r\n\t\tstore.dispatch('dataLayer/setListName', { listName: ListType.VPP });\r\n\r\n\t\tif (this.isDuoTrioCategory) {\r\n\t\t\tthis.getDuoTrioTariffs();\r\n\t\t\tthis.setDuoTrioHash();\r\n\t\t\twindow.addEventListener('resize', this.setDuoTrioHash, false);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.getTariffsData(this.$attrs.tariffcategory);\r\n\t\t\tstore.dispatch('changeData', {\r\n\t\t\t\tstore: 'tariffInfoDialog',\r\n\t\t\t\tvarToChange: 'tariffCategory',\r\n\t\t\t\tpayload: this.$attrs.tariffcategory,\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\t...mapActions('tariffInfoDialog', ['getTariffsData', 'getDuoTrioTariffs']),\r\n\t\t...mapActions('dataLayer', ['setListName']),\r\n\t\tonTabChanged({ index }): void {\r\n\t\t\tthis.selectedTabIndex = index;\r\n\t\t\tlocation.hash = this.tabs[this.selectedTabIndex].code;\r\n\t\t},\r\n\t\tsetDuoTrioHash(): void {\r\n\t\t\tif (window.innerWidth >= BREAKPOINTS_CONFIG.xl)\r\n\t\t\t\tlocation.hash && history.pushState('', document.title, window.location.pathname);\r\n\t\t\telse {\r\n\t\t\t\tif (location.hash)\r\n\t\t\t\t\tthis.selectedTabIndex = this.tabs.findIndex((tab: Tab) => tab.code === location.hash.slice(1));\r\n\t\t\t\telse\r\n\t\t\t\t\tlocation.hash = this.tabs[0].code;\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n});\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./page-tariffs-list.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./page-tariffs-list.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./page-tariffs-list.vue?vue&type=template&id=295990fa&\"\nimport script from \"./page-tariffs-list.vue?vue&type=script&lang=ts&\"\nexport * from \"./page-tariffs-list.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-layout\"},[_vm._t(\"default\"),_c('Dialog',{ref:\"dialogDynamic\"})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dialog\",class:Object.assign({}, {'dialog--full': _vm.mergedProps.full,\n\t\t'dialog--vpp': _vm.mergedProps.isDialogVpp,\n\t\t'dialog--no-indents': _vm.mergedProps.noIndents},\n\t\t_vm.dialogClasses)},[_c('transition',{attrs:{\"name\":\"fade\"},on:{\"after-leave\":_vm.onTransitionLeave}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"dialog__overlay\"},[_c('div',{staticClass:\"dialog__container\"},[(_vm.mergedProps.closeBtn || _vm.mergedProps.closeBtnIcon)?_c('i',{staticClass:\"dialog__close-btn\",class:[\n\t\t\t\t\t\t{ 'icon-close-gray': !_vm.mergedProps.closeBtnIcon },\n\t\t\t\t\t\t_vm.mergedProps.closeBtnIcon\n\t\t\t\t\t],on:{\"click\":function($event){return _vm.close()}}}):_vm._e(),(_vm.hasHeader)?_c('div',{ref:\"headerContainer\",staticClass:\"dialog__header\"},[_c('div',{ref:\"headerContent\"})]):_vm._e(),_c('div',{ref:\"contentContainer\",staticClass:\"dialog__content\",style:(Object.assign({}, _vm.dialogStyles))},[_c('div',{ref:\"content\"})]),(_vm.hasFooter)?_c('div',{ref:\"footerContainer\",staticClass:\"dialog__footer\"},[_c('div',{ref:\"footerContent\"})]):_vm._e()])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { DialogDynamicData, DialogProps } from '@interfaces/common';\r\nimport i18n from '@services/i18n/i18n';\r\nimport { forbidScroll } from '@services/utils';\r\nimport { store } from '@store';\r\nimport Vue, { VueConstructor } from 'vue';\r\n\r\nexport default (Vue as VueConstructor).extend({\r\n\tname: 'Dialog',\r\n\tprops: {\r\n\t\t/* eslint-disable vue/no-unused-properties */\r\n\t\tfull: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t\tcloseBtn: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t\tisDialogVpp: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tisOpen: false,\r\n\t\t\tdialogStyles: {} as Partial,\r\n\t\t\tdialogClasses: {} as { [key: string]: boolean },\r\n\t\t\thasHeader: false,\r\n\t\t\thasFooter: false,\r\n\t\t\tcontentInstance: {} as Vue,\r\n\t\t\tonClose: (() => {}) as CallableFunction,\r\n\t\t\tonSubmit: (() => {}) as CallableFunction,\r\n\t\t\tdialogProps: {} as DialogProps,\r\n\t\t\trefs: {\r\n\t\t\t\tcontainer: 'dynamicContainer',\r\n\t\t\t\theader: 'dynamicHeaderContainer',\r\n\t\t\t\tfooter: 'dynamicFooterContainer',\r\n\t\t\t},\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\tmergedProps(): { [key: string]: string | boolean | number } & DialogProps {\r\n\t\t\treturn { ...this.$props, ...this.dialogProps };\r\n\t\t},\r\n\t},\r\n\tmethods: {\r\n\t\ttoggleDialog(isOpen = true) {\r\n\t\t\tthis.isOpen = isOpen;\r\n\t\t\tforbidScroll(isOpen);\r\n\t\t},\r\n\t\topen(data: DialogDynamicData): void {\r\n\t\t\tif (data.onOpen)\r\n\t\t\t\tdata.onOpen();\r\n\r\n\t\t\tif (data.onClose)\r\n\t\t\t\tthis.onClose = data.onClose;\r\n\r\n\t\t\tif (data.onSubmit)\r\n\t\t\t\tthis.onSubmit = data.onSubmit;\r\n\r\n\t\t\tthis.isOpen = true;\r\n\t\t\tforbidScroll(this.isOpen);\r\n\r\n\t\t\tthis.addHeader(data.headerComponent);\r\n\t\t\tthis.addContent(data);\r\n\t\t\tthis.addFooter(data.footerComponent);\r\n\t\t},\r\n\t\tsubmit(): void {\r\n\t\t\tthis.onSubmit();\r\n\t\t},\r\n\t\tclose(): void {\r\n\t\t\tthis.isOpen = false;\r\n\t\t\tforbidScroll(false);\r\n\t\t\tthis.clear();\r\n\t\t},\r\n\t\taddHeader(component: VueConstructor | undefined): void {\r\n\t\t\tif (component) {\r\n\t\t\t\tthis.hasHeader = true;\r\n\r\n\t\t\t\tconst HeaderDynamicComponent = Vue.extend(component);\r\n\t\t\t\tconst instance = new HeaderDynamicComponent({\r\n\t\t\t\t\tstore,\r\n\t\t\t\t\ti18n,\r\n\t\t\t\t});\r\n\r\n\t\t\t\tthis.$nextTick(() => instance.$mount(this.getHeaderContainer()));\r\n\t\t\t}\r\n\t\t},\r\n\t\taddContent(data: DialogDynamicData): void {\r\n\t\t\tconst DynamicComponent = Vue.extend(data.component);\r\n\r\n\t\t\tthis.contentInstance = new DynamicComponent({\r\n\t\t\t\tpropsData: data.props,\r\n\t\t\t\tstore,\r\n\t\t\t\ti18n,\r\n\t\t\t});\r\n\r\n\t\t\tif (data.dialogProps)\r\n\t\t\t\tthis.dialogProps = data.dialogProps;\r\n\r\n\t\t\tif (data.dialogStyles)\r\n\t\t\t\tthis.dialogStyles = { ...this.dialogStyles, ...data.dialogStyles };\r\n\r\n\t\t\tif (data.dialogClasses)\r\n\t\t\t\tthis.dialogClasses = { ...this.dialogClasses, ...data.dialogClasses };\r\n\r\n\t\t\tthis.$nextTick(() => this.contentInstance.$mount(this.getContainer()));\r\n\t\t},\r\n\t\taddFooter(component: VueConstructor | undefined): void {\r\n\t\t\tif (component) {\r\n\t\t\t\tthis.hasFooter = true;\r\n\r\n\t\t\t\tconst FooterDynamicComponent = Vue.extend(component);\r\n\t\t\t\tconst instance = new FooterDynamicComponent({\r\n\t\t\t\t\tstore,\r\n\t\t\t\t\ti18n,\r\n\t\t\t\t});\r\n\r\n\t\t\t\tthis.$nextTick(() => instance.$mount(this.getFooterContainer()));\r\n\t\t\t}\r\n\t\t},\r\n\t\tgetContainer(): Element | string {\r\n\t\t\tthis.$refs.content.insertAdjacentHTML('beforeend', `
`);\r\n\r\n\t\t\treturn this.$refs.contentContainer?.querySelector(`[ref=\"${this.refs.container}\"]`) ?? '';\r\n\t\t},\r\n\t\tgetHeaderContainer(): Element | string {\r\n\t\t\tthis.$refs.headerContent.insertAdjacentHTML('beforeend', `
`);\r\n\r\n\t\t\treturn this.$refs.headerContainer?.querySelector(`[ref=\"${this.refs.header}\"]`) ?? '';\r\n\t\t},\r\n\t\tgetFooterContainer(): Element | string {\r\n\t\t\tthis.$refs.footerContent.insertAdjacentHTML('beforeend', `
`);\r\n\r\n\t\t\treturn this.$refs.footerContainer?.querySelector(`[ref=\"${this.refs.footer}\"]`) ?? '';\r\n\t\t},\r\n\t\tclear(): void {\r\n\t\t\tif (this.$refs.content)\r\n\t\t\t\tthis.$refs.content.innerHTML = '';\r\n\r\n\t\t\tif (this.$refs.headerContent)\r\n\t\t\t\tthis.$refs.headerContent.innerHTML = '';\r\n\r\n\t\t\tif (this.$refs.footerContent)\r\n\t\t\t\tthis.$refs.footerContent.innerHTML = '';\r\n\r\n\t\t\tthis.dialogProps = {};\r\n\t\t\tthis.dialogClasses = {};\r\n\t\t\tthis.dialogStyles = {};\r\n\r\n\t\t\tthis.hasHeader = false;\r\n\t\t},\r\n\t\tonTransitionLeave(): void {\r\n\t\t\tthis.clear();\r\n\t\t\tthis.onClose();\r\n\t\t},\r\n\t},\r\n});\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./dialog.vue?vue&type=template&id=317981a7&\"\nimport script from \"./dialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./dialog.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\r\nimport Dialog from '@components/common/dialog.vue';\r\nimport { checkoutSteps } from '@constants';\r\nimport { PageType, StorageKey } from '@enums';\r\nimport { checkoutValidatorMixin } from '@mixins';\r\nimport analytics from '@services/analytics';\r\nimport { dialogDynamicService } from '@services/dialog-dynamic-service';\r\nimport routes from '@services/routes/routes';\r\nimport storage from '@services/storage';\r\nimport { isCheckoutPage, isMobileDevice } from '@services/utils';\r\nimport { store } from '@store';\r\nimport { CheckoutValidatorInstance, DialogInstance } from '@types';\r\nimport Vue, { VueConstructor } from 'vue';\r\nimport { mapActions, mapGetters, mapState } from 'vuex';\r\n\r\nexport default (Vue as VueConstructor<\r\n\tVue &\r\n\t{\r\n\t\t$refs: {\r\n\t\t\tdialogDynamic: DialogInstance\r\n\t\t};\r\n\t} &\r\n\tCheckoutValidatorInstance\r\n>).extend({\r\n\tname: 'CommonLayout',\r\n\tcomponents: {\r\n\t\tDialog,\r\n\t},\r\n\tmixins: [checkoutValidatorMixin],\r\n\tprops: {\r\n\t\tpageType: {\r\n\t\t\ttype: Number,\r\n\t\t\tdefault: -1,\r\n\t\t},\r\n\t},\r\n\tcomputed: {\r\n\t\t...mapState('checkoutSteps', ['currentCheckoutStep']),\r\n\t\t...mapGetters('cart', ['cartId']),\r\n\t\tisCartOverviewPage(): boolean {\r\n\t\t\treturn location.pathname === routes.PageCartOverview;\r\n\t\t},\r\n\t},\r\n\tmounted() {\r\n\t\tdialogDynamicService.init(this.$refs.dialogDynamic);\r\n\t\tstore.dispatch('changeData', { store: 'common', varToChange: 'pageType', payload: this.pageType });\r\n\r\n\t\tif (storage.getItem(StorageKey.IS_AFTER_LOGIN)) {\r\n\t\t\tstorage.removeItem(StorageKey.IS_AFTER_LOGIN);\r\n\t\t\tconst type = this.isCartOverviewPage ? PageType.CART : PageType.MINICART;\r\n\r\n\t\t\tthis.mergeCarts({ invokesFrom: type });\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif (isCheckoutPage())\r\n\t\t\t\tthis.validateCart().then(() => analytics.onCheckout(this.currentCheckoutStep));\r\n\t\t}\r\n\r\n\t\twindow.onunload = () => {\r\n\t\t\tif (this.currentCheckoutStep && this.currentCheckoutStep.name !== checkoutSteps.OVERVIEW.name && isMobileDevice())\r\n\t\t\t\tthis.checkStep();\r\n\t\t};\r\n\t},\r\n\tmethods: {\r\n\t\t...mapActions('cart', ['validateCart', 'getCartProducts', 'mergeCarts']),\r\n\t},\r\n});\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./common-layout.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./common-layout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./common-layout.vue?vue&type=template&id=56c3d5a8&\"\nimport script from \"./common-layout.vue?vue&type=script&lang=ts&\"\nexport * from \"./common-layout.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"vpp\"},[(_vm.isPdp)?_c('h2',{staticClass:\"vpp__pdp-header details-subtitle\"},[_vm._v(\" \"+_vm._s(_vm.$t('message.pdp.packagesTitle'))+\" \")]):_vm._e(),(_vm.categories && _vm.categories.length)?_c('ScrollingTabs',{staticClass:\"vpp__tabs scrolling-tabs--additional additional-container\",attrs:{\"tabs\":_vm.categories,\"selected-tab-index\":_vm.activeTab},on:{\"tab-changed\":_vm.handleSlideChange}}):_vm._e(),_c('div',{staticClass:\"vpp__wrapper\",class:{\n\t\t\t'vpp__wrapper--pdp': _vm.isPdp,\n\t\t\t'vpp__wrapper--center': _vm.isCenterDevices,\n\t\t\t'vpp__wrapper--duo-trio': _vm.isDuoTrioCategory\n\t\t}},[(_vm.isPdp)?_vm._l((_vm.tariffs),function(verticalTariff){return _c('VppCard',{key:verticalTariff.code,attrs:{\"vertical-tariff\":verticalTariff,\"is-pdp\":_vm.isPdp}})}):[(_vm.isDuoTrioCategory && _vm.device.isBigDesktop)?[_c('div',{staticClass:\"vpp__content-trio\"},_vm._l((_vm.trioTariffs),function(verticalTariff){return _c('VppCard',{directives:[{name:\"track-products-in-viewport\",rawName:\"v-track-products-in-viewport\",value:(_vm.visibleProducts),expression:\"visibleProducts\"}],key:verticalTariff.code,staticClass:\"vpp-card--trio\",class:{'vpp-card--duo-trio': _vm.isDuoTrioCategory},attrs:{\"vertical-tariff\":verticalTariff,\"is-hosting\":_vm.tariffCategory === _vm.TariffCategory.HOSTING,\"is-trio-tariff\":_vm.isTrioSelected}})}),1),_c('div',{staticClass:\"vpp__content-duo\"},[_c('div',{staticClass:\"vpp__content-duo-wrapper\"},[_c('div',{staticClass:\"vpp__content-duo-label\"},[_vm._v(\" \"+_vm._s(_vm.$t('message.tariffs.recommendedDuoTariff'))+\" \")]),_c('div',{staticClass:\"vpp__content-duo-container\"},_vm._l((_vm.duoTariffs),function(verticalTariff){return _c('VppCard',{directives:[{name:\"track-products-in-viewport\",rawName:\"v-track-products-in-viewport\",value:(_vm.visibleProducts),expression:\"visibleProducts\"}],key:verticalTariff.code,class:{'vpp-card--duo-trio': _vm.isDuoTrioCategory},attrs:{\"vertical-tariff\":verticalTariff,\"is-hosting\":_vm.tariffCategory === _vm.TariffCategory.HOSTING}})}),1)])])]:_vm._l((_vm.tariffs),function(verticalTariff){return _c('VppCard',{directives:[{name:\"track-products-in-viewport\",rawName:\"v-track-products-in-viewport\",value:(_vm.visibleProducts),expression:\"visibleProducts\"}],key:verticalTariff.code,class:{\n\t\t\t\t\t\t'vpp-card--duo-trio': _vm.isDuoTrioCategory,\n\t\t\t\t\t\t'vpp-card--trio': _vm.isTrioSelected\n\t\t\t\t\t},attrs:{\"vertical-tariff\":verticalTariff,\"is-hosting\":_vm.tariffCategory === _vm.TariffCategory.HOSTING,\"is-trio-tariff\":_vm.isTrioSelected}})})]],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"vpp-card\",class:{\n\t\t'vpp-card--accent': _vm.isAccent,\n\t\t'vpp-card--hosting': _vm.isHosting,\n\t\t'vpp-card--pdp': _vm.isPdp\n\t}},[(_vm.showLabel)?_c('div',{staticClass:\"vpp-card__label\"},[(_vm.isTrioTariff)?[_vm._v(\" \"+_vm._s(_vm.$t('message.tariffs.recommendedTrioTariff'))+\" \")]:(_vm.isTariffChosen)?[_vm._v(\" \"+_vm._s(_vm.$t('message.pdp.vpp.selectTariff'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('message.tariffs.recommendedTariff'))+\" \")]],2):_vm._e(),_c('div',{staticClass:\"vpp-card__header\",attrs:{\"data-equal-height\":\"vpp-card__header\"}},[_c('div',{staticClass:\"vpp-card__name\"},[_vm._v(\" \"+_vm._s(_vm.verticalTariff.name)+\" \")]),_c('DevicePrice',{staticClass:\"plp-prices--vpp-fixed\",attrs:{\"show-currency\":!_vm.isHosting,\"product-price\":_vm.verticalTariff.tariffPlanPrice}}),(_vm.verticalTariff.tariffPlanPrice)?_c('div',{attrs:{\"data-equal-height\":\"promotionalText\"}},[_c('PromotionalText',{attrs:{\"data\":_vm.verticalTariff.tariffPlanPrice}})],1):_vm._e(),_c('div',{staticClass:\"vpp-card__section-characteristics\"},[_vm._l((_vm.verticalTariff.tmaProductSpecCharacteristicGroups),function(characteristic){return [(characteristic.showInMainSection)?_c('div',{key:characteristic.name,staticClass:\"vpp-card__characteristic\",class:{ 'vpp-card__characteristic--full': _vm.isOneCharacteristic },attrs:{\"data-equal-height\":characteristic.name}},[_c('div',{staticClass:\"vpp-card__characteristic-name\"},[_vm._v(\" \"+_vm._s(characteristic.name)+\" \")]),_vm._l((characteristic.highlightedName),function(item,index){return _c('div',{key:index,staticClass:\"vpp-card__characteristic-description\"},[_vm._v(\" \"+_vm._s(item)+\" \"),(characteristic.productSpecCharacteristics && characteristic.productSpecCharacteristics[index])?[_vm._l((characteristic.productSpecCharacteristics[index].productSpecCharacteristicValues),function(value){return [(value.oldValue)?_c('span',{key:value.id,staticClass:\"vpp-card__characteristic-old-value\"},[_vm._v(\" \"+_vm._s(value.oldValue)+\" \")]):_vm._e()]})]:_vm._e()],2)})],2):_vm._e()]})],2)],1),(_vm.showBody)?[_c('hr',{staticClass:\"vpp-card__divider\"}),_c('div',{staticClass:\"vpp-card__body\",attrs:{\"data-equal-height\":\"vpp-card__body\"}},[_c('VppPackage',{attrs:{\"vertical-tariff\":_vm.verticalTariff,\"packages\":_vm.video,\"is-vpp-pdp\":_vm.isPdp}}),_c('VppPackage',{attrs:{\"vertical-tariff\":_vm.verticalTariff,\"packages\":_vm.applications,\"is-vpp-pdp\":_vm.isPdp}}),_c('VppPackage',{attrs:{\"vertical-tariff\":_vm.verticalTariff,\"packages\":_vm.msatChannels,\"show-description\":true,\"is-vpp-pdp\":_vm.isPdp}}),_c('VppPackage',{attrs:{\"vertical-tariff\":_vm.verticalTariff,\"packages\":_vm.msatPackages,\"is-vpp-pdp\":_vm.isPdp}}),(!_vm.isPdp && !_vm.isHosting)?_c('div',{staticClass:\"vpp-card__info\",on:{\"click\":_vm.openModal}},[_c('Icon',{staticClass:\"icon-tooltip-red icon-tooltip-red--full vpp-card__icon-info\",attrs:{\"paths\":3}}),_c('span',{staticClass:\"vpp-card__link\"},[_vm._v(\" \"+_vm._s(_vm.$t('message.vpp.details'))+\" \")])],1):_vm._e()],1)]:_vm._e(),(_vm.showButtons)?_c('div',{staticClass:\"vpp-card__buttons\",class:{ 'vpp-card__buttons--fix': _vm.device.isMobile },attrs:{\"data-equal-height\":!_vm.device.isMobile && 'vpp-buttons'}},[(!_vm.isHosting && _vm.verticalTariff.hasDevices)?_c('button',{staticClass:\"vpp-card__button v-btn v-btn--theme\",on:{\"click\":_vm.goToPlp}},[_vm._v(\" \"+_vm._s(_vm.$t('message.vpp.chooseDevice'))+\" \")]):_vm._e(),(_vm.isHosting)?_c('a',{staticClass:\"vpp-card__button vpp-card__button-link v-btn v-btn--theme\",attrs:{\"data-toggle\":\"modal\",\"data-target\":\"#devicesFormModal\"},on:{\"click\":_vm.selectPackage}},[_vm._v(\" \"+_vm._s(_vm.$t('message.vpp.choosePackage', { name: 'Izaberi paket' }))+\" \")]):_c('button',{class:['vpp-card__button', 'v-btn',\n\t\t\t\t_vm.tariffCategoryColor ? 'vpp-card__button-link v-btn--theme' : 'v-btn--outlined'],on:{\"click\":_vm.addVppToCart}},[_vm._v(\" \"+_vm._s(_vm.$t('message.vpp.choosePackage', { name: _vm.tariffCategoryButtonName }))+\" \")])]):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.packages)?_c('div',{staticClass:\"vpp-package\"},[_c('div',{staticClass:\"vpp-package__title\"},[_vm._v(\" \"+_vm._s(_vm.packages.name)+\" \")]),(!_vm.showDescription)?_c('div',{staticClass:\"vpp-package__list\",class:{ 'vpp-package__list--centered': _vm.hiddenPackagesQuantity > 0 }},[(_vm.showPackages)?_vm._l((_vm.packages.productSpecCharacteristicValues),function(item){return _c('div',{key:item.code},[(item.icon)?_c('img',{staticClass:\"vpp-package__img\",attrs:{\"src\":item.icon.url,\"alt\":item.icon.altText}}):_c('PlaceholderImage',{staticClass:\"vpp-package__img\"})],1)}):[_vm._l((_vm.displayedPackages),function(item){return _c('div',{key:item.code},[(item.icon)?_c('img',{staticClass:\"vpp-package__img\",attrs:{\"src\":item.icon.url,\"alt\":item.icon.altText}}):_c('PlaceholderImage',{staticClass:\"vpp-package__img\"})],1)}),(_vm.hidePackages)?_c('div',{staticClass:\"vpp-package__quantity\",on:{\"click\":function($event){!_vm.isVppPdp && _vm.openModal()}}},[_vm._v(\" +\"+_vm._s(_vm.hiddenPackagesQuantity)+\" \")]):_vm._e()]],2):_c('div',{staticClass:\"vpp-package__description\"},[_vm._v(\" \"+_vm._s(_vm.packages.productSpecCharacteristicValues[0].description)+\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport PlaceholderImage from '@components/common/placeholder-image.vue';\r\nimport DialogVpp from '@components/dialog-content-variants/dialog-vpp.vue';\r\nimport { TariffSpecCharacteristics } from '@interfaces/common';\r\nimport { Tariff } from '@interfaces/hybris/Tariff';\r\nimport { TmaProductSpecCharacteristicValue } from '@interfaces/hybris/TmaProductSpecCharacteristicValue';\r\nimport { dialogDynamicService } from '@services/dialog-dynamic-service';\r\nimport { store } from '@store';\r\nimport Vue, { PropType } from 'vue';\r\nimport { mapActions } from 'vuex';\r\n\r\nexport default Vue.extend({\r\n\tname: 'VppPackage',\r\n\tcomponents: {\r\n\t\tPlaceholderImage,\r\n\t},\r\n\tprops: {\r\n\t\tpackages: {\r\n\t\t\ttype: Object as PropType,\r\n\t\t\tdefault: null,\r\n\t\t},\r\n\t\tverticalTariff: {\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t},\r\n\t\tshowDescription: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t\tisVppPdp: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmobileQuantity: 5,\r\n\t\t\tdesktopQuantity: 6,\r\n\t\t\tfullDesktopQuantity: 7,\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\tshowPackages(): boolean {\r\n\t\t\treturn this.device.isMobile ? this.packages.productSpecCharacteristicValues.length <= this.desktopQuantity\r\n\t\t\t\t: this.packages.productSpecCharacteristicValues.length <= this.fullDesktopQuantity;\r\n\t\t},\r\n\t\thidePackages(): boolean {\r\n\t\t\treturn this.device.isMobile ? this.packages.productSpecCharacteristicValues.length > this.mobileQuantity\r\n\t\t\t\t: this.packages.productSpecCharacteristicValues.length > this.desktopQuantity;\r\n\t\t},\r\n\t\tdisplayedPackages(): TmaProductSpecCharacteristicValue[] {\r\n\t\t\treturn this.device.isMobile ? this.packages.productSpecCharacteristicValues.slice(0, this.mobileQuantity)\r\n\t\t\t\t: this.packages.productSpecCharacteristicValues.slice(0, this.desktopQuantity);\r\n\t\t},\r\n\t\thiddenPackagesQuantity(): number {\r\n\t\t\treturn this.packages.productSpecCharacteristicValues.length - this.displayedPackages.length;\r\n\t\t},\r\n\t},\r\n\tmethods: {\r\n\t\t...mapActions('cart', ['addToCart']),\r\n\t\topenModal(): void {\r\n\t\t\tdialogDynamicService.open({\r\n\t\t\t\tcomponent: DialogVpp,\r\n\t\t\t\tdialogProps: { full: this.device.isMobile, closeBtn: true, isDialogVpp: true },\r\n\t\t\t});\r\n\t\t\tstore.dispatch('changeData',\r\n\t\t\t\t{\r\n\t\t\t\t\tstore: 'tariffInfoDialog',\r\n\t\t\t\t\tvarToChange: 'selectedVppTariff',\r\n\t\t\t\t\tpayload: this.verticalTariff,\r\n\t\t\t\t},\r\n\t\t\t);\r\n\t\t},\r\n\t},\r\n});\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vpp-package.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vpp-package.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./vpp-package.vue?vue&type=template&id=78975469&\"\nimport script from \"./vpp-package.vue?vue&type=script&lang=ts&\"\nexport * from \"./vpp-package.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport DevicePrice from '@components/common/device-price.vue';\r\nimport Icon from '@components/common/icon.vue';\r\nimport PromotionalText from '@components/common/promotional-text.vue';\r\nimport DialogVpp from '@components/dialog-content-variants/dialog-vpp.vue';\r\nimport VppPackage from '@components/vpp/vpp-package.vue';\r\nimport { CharacteristicType, TariffCssType } from '@enums';\r\nimport { TariffPackage, TariffSpecCharacteristics } from '@interfaces/common';\r\nimport { Tariff } from '@interfaces/hybris/Tariff';\r\nimport { dialogDynamicService } from '@services/dialog-dynamic-service';\r\nimport { equalizeVerticalPackages } from '@services/utils';\r\nimport { store } from '@store';\r\nimport Vue, { PropType } from 'vue';\r\nimport { mapActions, mapGetters, mapState } from 'vuex';\r\n\r\nexport default Vue.extend({\r\n\tname: 'VppCard',\r\n\tcomponents: {\r\n\t\tDevicePrice,\r\n\t\tIcon,\r\n\t\tVppPackage,\r\n\t\tPromotionalText,\r\n\t},\r\n\tprops: {\r\n\t\tverticalTariff: {\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t},\r\n\t\tisPdp: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t\tisHosting: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t\tisTrioTariff: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t},\r\n\tcomputed: {\r\n\t\t...mapState('pdp', ['tariffs', 'tariffCode']),\r\n\t\t...mapState('tariffInfoDialog', ['tariffCategory']),\r\n\t\t...mapGetters('tariffInfoDialog', ['tariffCategoryButtonName', 'tariffCategoryColor']),\r\n\t\tisRecommendedTariff(): boolean {\r\n\t\t\treturn !this.isPdp && this.verticalTariff?.recommended;\r\n\t\t},\r\n\t\tisTariffChosen(): boolean {\r\n\t\t\treturn this.isPdp && this.verticalTariff.code === this.tariffCode;\r\n\t\t},\r\n\t\tisAccent(): boolean {\r\n\t\t\treturn this.isRecommendedTariff || this.isTariffChosen;\r\n\t\t},\r\n\t\tapplications(): TariffSpecCharacteristics {\r\n\t\t\tconst characteristicGroups = this.verticalTariff?.tmaProductSpecCharacteristicGroups\r\n\t\t\t\t.find((item: TariffPackage) => item.id === CharacteristicType.APPLICATION) as TariffPackage;\r\n\r\n\t\t\treturn characteristicGroups?.productSpecCharacteristics[0];\r\n\t\t},\r\n\t\tvideo(): TariffSpecCharacteristics {\r\n\t\t\tconst characteristicGroups = this.verticalTariff?.tmaProductSpecCharacteristicGroups\r\n\t\t\t\t.find((item: TariffPackage) => item.id === CharacteristicType.TV) as TariffPackage;\r\n\r\n\t\t\treturn characteristicGroups?.productSpecCharacteristics\r\n\t\t\t\t.filter((item: TariffSpecCharacteristics) => item.cssType === TariffCssType.VPP_ADDITIONAL)[0];\r\n\t\t},\r\n\t\tmsatPackages(): TariffSpecCharacteristics {\r\n\t\t\treturn this.verticalTariff?.tmaProductSpecCharacteristicGroups?.[0]?.productSpecCharacteristics\r\n\t\t\t\t?.find((value: TariffSpecCharacteristics) =>\r\n\t\t\t\t\tvalue.id === CharacteristicType.MSAT_PACKAGE) as TariffSpecCharacteristics;\r\n\t\t},\r\n\t\tmsatChannels(): TariffSpecCharacteristics {\r\n\t\t\treturn this.verticalTariff?.tmaProductSpecCharacteristicGroups?.[0]?.productSpecCharacteristics\r\n\t\t\t\t?.find((value: TariffSpecCharacteristics) =>\r\n\t\t\t\t\tvalue.id === CharacteristicType.MSAT_CHANNELS) as TariffSpecCharacteristics;\r\n\t\t},\r\n\t\tisOneCharacteristic(): boolean {\r\n\t\t\treturn this.verticalTariff.tmaProductSpecCharacteristicGroups.length === 1;\r\n\t\t},\r\n\t\tshowLabel(): boolean {\r\n\t\t\treturn this.isAccent;\r\n\t\t},\r\n\t\tshowBody(): boolean {\r\n\t\t\treturn !this.isPdp || (this.isPdp && !!(this.video || this.applications || this.msatChannels || this.msatPackages));\r\n\t\t},\r\n\t\tshowButtons(): boolean {\r\n\t\t\treturn !this.isPdp;\r\n\t\t},\r\n\t},\r\n\tmounted() {\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tequalizeVerticalPackages();\r\n\t\t});\r\n\t\twindow.addEventListener('resize', equalizeVerticalPackages, false);\r\n\t},\r\n\tdestroyed() {\r\n\t\twindow.addEventListener('resize', equalizeVerticalPackages, false);\r\n\t},\r\n\tmethods: {\r\n\t\t...mapActions('cart', ['addToCart']),\r\n\t\t...mapActions('plp', ['getVppDevices']),\r\n\t\topenModal(): void {\r\n\t\t\tdialogDynamicService.open({\r\n\t\t\t\tcomponent: DialogVpp,\r\n\t\t\t\tprops: { isTariffInfo: this.isPdp },\r\n\t\t\t\tdialogProps: { full: this.device.isMobile, closeBtn: true, isDialogVpp: true },\r\n\t\t\t});\r\n\r\n\t\t\tstore.dispatch('changeData', {\r\n\t\t\t\tstore: 'tariffInfoDialog',\r\n\t\t\t\tvarToChange: 'selectedVppTariff',\r\n\t\t\t\tpayload: this.verticalTariff,\r\n\t\t\t});\r\n\t\t},\r\n\t\tgoToPlp(): void {\r\n\t\t\tthis.getVppDevices({ tariffName: this.verticalTariff.name, tariffCode: this.verticalTariff.code });\r\n\t\t},\r\n\t\taddVppToCart(): void {\r\n\t\t\tconst tariff = {\r\n\t\t\t\tcode: this.verticalTariff.code,\r\n\t\t\t\tsubscriptionTermId: this.verticalTariff.tariffPlanPrice.subscriptionTerms[0].id,\r\n\t\t\t};\r\n\r\n\t\t\tstore.dispatch('changeData', {\r\n\t\t\t\tstore: 'cart',\r\n\t\t\t\tvarToChange: 'showMinicart',\r\n\t\t\t\tpayload: true,\r\n\t\t\t});\r\n\r\n\t\t\tthis.addToCart({ product: tariff });\r\n\t\t},\r\n\t\tselectPackage(): void {\r\n\t\t\tconst modal = document.querySelector('#devicesFormModal') as HTMLElement;\r\n\r\n\t\t\tif (modal) modal.dataset.productCode = this.verticalTariff.code;\r\n\t\t},\r\n\t},\r\n});\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vpp-card.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vpp-card.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./vpp-card.vue?vue&type=template&id=6514bcea&\"\nimport script from \"./vpp-card.vue?vue&type=script&lang=ts&\"\nexport * from \"./vpp-card.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport ScrollingTabs from '@components/common/scrolling-tabs.vue';\r\nimport VppCard from '@components/common/vpp-card.vue';\r\nimport { PageType, PdpOfferType, TariffCategory } from '@enums';\r\nimport { BundlePrices } from '@interfaces/hybris/BundlePrices';\r\nimport { BundlePricesList } from '@interfaces/hybris/BundlePricesList';\r\nimport { Category } from '@interfaces/hybris/Category';\r\nimport { Tariff } from '@interfaces/hybris/Tariff';\r\nimport { viewportObserverMixin } from '@mixins';\r\nimport Vue, { PropType } from 'vue';\r\nimport { mapActions, mapState } from 'vuex';\r\n\r\nexport default Vue.extend({\r\n\tname: 'Vpp',\r\n\tcomponents: {\r\n\t\tScrollingTabs,\r\n\t\tVppCard,\r\n\t},\r\n\tmixins: [viewportObserverMixin],\r\n\tprops: {\r\n\t\ttariffsList: {\r\n\t\t\ttype: Array as PropType,\r\n\t\t\tdefault: () => [] as Tariff[],\r\n\t\t},\r\n\t\tpageType: {\r\n\t\t\ttype: Number,\r\n\t\t\tdefault: PageType.PDP_TARIFFS,\r\n\t\t},\r\n\t\tisDuoTrioCategory: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t\tisTrioSelected: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t},\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tactiveTab: 0, // for pdp\r\n\t\t\tTariffCategory,\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\t...mapState('pdp', ['tariffs', 'basicOffer', 'topOffer', 'offerType', 'baseTariffCode', 'tariffCode']),\r\n\t\t...mapState('tariffInfoDialog', ['tariffCategory', 'duoTariffs', 'trioTariffs']),\r\n\t\toffer(): BundlePricesList[] {\r\n\t\t\treturn this.offerType === PdpOfferType.BASIC ? this.basicOffer : this.topOffer;\r\n\t\t},\r\n\t\tcategories(): Category[] {\r\n\t\t\treturn this.offer.map(item => item.category);\r\n\t\t},\r\n\t\tcategoryProducts(): any {\r\n\t\t\treturn this.offer[this.activeTab]?.tariffChildren;\r\n\t\t},\r\n\t\tisPdp(): boolean {\r\n\t\t\treturn this.pageType === PageType.PDP_TARIFFS;\r\n\t\t},\r\n\t\tisVppMobileTariffs(): boolean {\r\n\t\t\treturn this.pageType === PageType.MOBILE_TARIFFS;\r\n\t\t},\r\n\t\ttariffs(): Tariff[] {\r\n\t\t\tif (this.isPdp)\r\n\t\t\t\treturn this.tariffsDependentOnSelected;\r\n\r\n\t\t\telse if (this.isVppMobileTariffs)\r\n\t\t\t\treturn this.tariffDependentOnSize;\r\n\r\n\t\t\telse return [];\r\n\t\t},\r\n\t\twatchTariffChanges(): any {\r\n\t\t\tconst { baseTariffCode, tariffCode } = this;\r\n\r\n\t\t\treturn { baseTariffCode, tariffCode };\r\n\t\t},\r\n\t\ttariffsDependentOnSelected(): Tariff[] {\r\n\t\t\tlet selectedTariffIndex = null;\r\n\t\t\tconst tariffs = this.categoryProducts?.map((item: BundlePrices, index) => {\r\n\t\t\t\tif (this.tariffCode === item.tariff.code)\r\n\t\t\t\t\tselectedTariffIndex = index;\r\n\r\n\t\t\t\treturn item.tariff;\r\n\t\t\t}) || [];\r\n\t\t\tconst selectedTariff = tariffs?.splice(selectedTariffIndex, 1) || [];\r\n\t\t\tconst orderedTariffs = [...selectedTariff, ...tariffs];\r\n\r\n\t\t\treturn (this.device.isMobile)\r\n\t\t\t\t? orderedTariffs\r\n\t\t\t\t: this.categoryProducts?.map((item: BundlePrices) => item.tariff);\r\n\t\t},\r\n\t\ttariffDependentOnSize(): Tariff[] {\r\n\t\t\tconst sortedTariffs = this.tariffsList.slice()\r\n\t\t\t\t.sort((a: Tariff, b: Tariff) => {\r\n\t\t\t\t\treturn (a?.recommended === b?.recommended)\r\n\t\t\t\t\t\t? 0\r\n\t\t\t\t\t\t: a?.recommended ? -1 : 1;\r\n\t\t\t\t});\r\n\r\n\t\t\treturn this.device.isMobile ? sortedTariffs : this.tariffsList;\r\n\t\t},\r\n\t\tisCenterDevices(): boolean {\r\n\t\t\treturn (this.device.isTablet && this.tariffs.length < 2) ||\r\n\t\t\t\t(this.device.isDesktop && this.tariffs.length < 2) ||\r\n\t\t\t\t(this.device.isLargeDesktop && this.tariffs.length < 3) ||\r\n\t\t\t\t(this.device.isBigDesktop && this.tariffs.length < 4);\r\n\t\t},\r\n\t},\r\n\twatch: {\r\n\t\twatchTariffChanges: {\r\n\t\t\timmediate: true,\r\n\t\t\thandler() {\r\n\t\t\t\tthis.activeTab = this.offer.findIndex(product => product.category.code === this.baseTariffCode);\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\tmethods: {\r\n\t\t...mapActions('cart', ['addToCart']),\r\n\t\thandleSlideChange(slide): void {\r\n\t\t\tthis.activeTab = slide.index;\r\n\t\t},\r\n\t},\r\n});\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vpp.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vpp.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./vpp.vue?vue&type=template&id=1408335b&\"\nimport script from \"./vpp.vue?vue&type=script&lang=ts&\"\nexport * from \"./vpp.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}