{"version":3,"sources":["webpack:///./src/views/step1/Guidelines.vue?a354","webpack:///./src/views/step1/Guidelines.vue","webpack:///./src/views/step1/Guidelines.vue?1c38","webpack:///./src/views/step1/Guidelines.vue?3e6f","webpack:///./src/assets/ic-pdf.svg","webpack:///./src/views/step1/Guidelines.vue?249b"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","_e","on","$event","onClickFile","domain","filePath","disableNextBtn","next","staticRenderFns","extend","name","data","window","localStorage","getItem","computed","mounted","countryCode","lang","country","JSON","parse","code","methods","setItem","$router","push","component","VBtn","VCol","VProgressCircular","VRow","module","exports"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,QAAQ,CAACE,YAAY,aAAa,CAACF,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,MAAM,CAACH,EAAG,KAAK,CAACE,YAAY,uCAAuC,CAACN,EAAIQ,GAAG,0BAA0BJ,EAAG,IAAI,CAACE,YAAY,eAAe,CAACN,EAAIQ,GAAG,8BAA8BJ,EAAG,QAAQ,CAACE,YAAY,aAAaC,MAAM,CAAC,KAAO,MAAM,CAACH,EAAG,sBAAsB,CAACG,MAAM,CAAC,QAAU,GAAG,KAAO,GAAG,MAAQ,EAAE,MAAQ,IAAM,EAAE,MAAQ,YAAY,CAACH,EAAG,OAAO,CAACE,YAAY,qCAAqC,CAACN,EAAIQ,GAAG,eAAe,IAAI,GAAGJ,EAAG,QAAQ,CAACE,YAAY,QAAQ,CAACF,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,IAAI,OAAS,MAAM,CAACH,EAAG,IAAI,CAACE,YAAY,sBAAsB,CAACF,EAAG,OAAO,CAACE,YAAY,gBAAgB,CAACN,EAAIQ,GAAG,gDAAiDR,EAAc,WAAEI,EAAG,OAAO,CAACE,YAAY,WAAW,CAACN,EA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a,SADM,OAATa,EACc,uBAEA,oBAElB,MACF,IAAK,MACH1B,KAAKa,SAAW,6BAChB,MACF,IAAK,MACHb,KAAKa,SAAW,qBAChB,MACF,IAAK,MACHb,KAAKa,SAAW,qBAChB,MACF,QACEb,KAAKa,SAAW,oBAChB,QAINkB,QAAS,CACPpB,YADO,WAELX,KAAKc,gBAAiB,EACtBM,OAAOC,aAAaW,QAAQ,aAAc,SAG5CjB,KANO,WAOLf,KAAKiC,QAAQC,KAAK,CAChBhB,KAAM,wBCpHuZ,I,6FCQjaiB,EAAY,eACd,EACArC,EACAkB,GACA,EACA,KACA,WACA,MAIa,aAAAmB,EAAiB,QAQhC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,OAAA,KAAKC,oBAAA,KAAkBC,OAAA,Q,qBC3B1DC,EAAOC,QAAU,IAA0B,2B,2DCA3C,yBAA0nB,EAAG","file":"js/chunk-358adc0c.57d22e8b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{staticClass:\"text-left\"},[_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('h1',{staticClass:\"title text-h6 trace-text--blue mb-1\"},[_vm._v(\"1. Office Guidelines\")]),_c('p',{staticClass:\"text-body-2\"},[_vm._v(\"Next: Health Checklist\")])]),_c('v-col',{staticClass:\"text-right\",attrs:{\"cols\":\"3\"}},[_c('v-progress-circular',{attrs:{\"rotate\":-90,\"size\":54,\"width\":5,\"value\":100 / 3,\"color\":\"#15B982\"}},[_c('span',{staticClass:\"caption progress-circular-caption\"},[_vm._v(\"1 of 3\")])])],1)],1),_c('v-row',{staticClass:\"pt-8\"},[_c('v-col',{attrs:{\"cols\":\"8\",\"offset\":\"2\"}},[_c('p',{staticClass:\"trace-text--grey-9\"},[_c('span',{staticClass:\"d-block mb-2\"},[_vm._v(\"Read and acknowledge the Office Guidelines\")]),(_vm.isJapanese)?_c('span',{staticClass:\"d-block\"},[_vm._v(\"オフィスガイドラインを開き詳細をご確認ください。\")]):_vm._e()])]),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"btn-pdf\",on:{\"click\":function($event){return _vm.onClickFile()}}},[_c('a',{attrs:{\"href\":_vm.domain + _vm.filePath,\"target\":\"_blank\"}},[_c('div',{staticClass:\"btn-pdf-icon\"},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require('@/assets/ic-pdf.svg'),\"width\":\"41\",\"alt\":\"\"}}),_c('p',{staticClass:\"mt-2 trace-text--grey-8\"},[_vm._v(\"Tap to open PDF\")])])])])])],1),_c('portal',{attrs:{\"to\":\"btnNext\"}},[_c('v-btn',{staticClass:\"white--text\",attrs:{\"color\":\"primary\",\"block\":\"\",\"depressed\":\"\",\"height\":\"40\",\"disabled\":_vm.disableNextBtn},on:{\"click\":function($event){return _vm.next()}}},[_c('span',{staticClass:\"text-capitalize body-1\"},[_vm._v(\"Next\")])])],1)],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\n\n\n\r\nimport Vue from 'vue'\r\nimport { mapState, mapGetters } from 'vuex'\r\n\r\nexport default Vue.extend({\r\n name: 'Guidelines',\r\n\r\n data: () => ({\r\n disableNextBtn: window.localStorage.getItem('viewedFile') !== 'true',\r\n domain: 'https://kraftheinzcheckin.com/pdf/',\r\n filePath: 'guidelines-au.pdf'\r\n }),\r\n\r\n computed: {\r\n ...mapState(['countries', 'selectedCountry']),\r\n ...mapGetters(['isJapanese'])\r\n },\r\n\r\n mounted () {\r\n let countryCode = 'AUS'\r\n const lang = window.localStorage.getItem('lang')\r\n const country = window.localStorage.getItem('country')\r\n const selectedFacility = window.localStorage.getItem('facility')\r\n\r\n if (typeof country !== 'undefined' && country !== null) {\r\n countryCode = (JSON.parse(country)).code\r\n }\r\n\r\n switch (countryCode) {\r\n case 'NZ':\r\n this.filePath = 'guidelines-nz.pdf'\r\n break\r\n case 'JPN':\r\n if (lang === 'jp') {\r\n this.filePath = 'guidelines-japan.pdf'\r\n } else {\r\n this.filePath = 'guidelines-au.pdf'\r\n }\r\n break\r\n case 'AUS':\r\n this.filePath = 'guidelines-au-31012021.pdf'\r\n break\r\n case 'THA':\r\n this.filePath = 'guidelines-tha.pdf'\r\n break\r\n case 'SGP':\r\n this.filePath = 'guidelines-sgp.pdf'\r\n break\r\n default:\r\n this.filePath = 'guidelines-au.pdf'\r\n break\r\n }\r\n },\r\n\r\n methods: {\r\n onClickFile () {\r\n this.disableNextBtn = false\r\n window.localStorage.setItem('viewedFile', 'true')\r\n },\r\n\r\n next () {\r\n this.$router.push({\r\n name: 'HealthChecklist'\r\n })\r\n }\r\n }\r\n})\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-2!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Guidelines.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-2!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Guidelines.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Guidelines.vue?vue&type=template&id=07216550&scoped=true&\"\nimport script from \"./Guidelines.vue?vue&type=script&lang=ts&\"\nexport * from \"./Guidelines.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Guidelines.vue?vue&type=style&index=0&id=07216550&lang=scss&scoped=true&\"\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 \"07216550\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VProgressCircular,VRow})\n","module.exports = __webpack_public_path__ + \"img/ic-pdf.6b9c9f5a.svg\";","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Guidelines.vue?vue&type=style&index=0&id=07216550&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Guidelines.vue?vue&type=style&index=0&id=07216550&lang=scss&scoped=true&\""],"sourceRoot":""}