{"version":3,"sources":["webpack:///./src/App.vue?d5a0","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue","webpack:///./src/store/index.js","webpack:///./src/router/index.js","webpack:///./src/main.js"],"names":["_vm","this","_h","$createElement","_c","_self","staticRenderFns","name","component","Vue","use","Vuex","store","Store","state","userLocation","selectedCountry","distance","location","email","mutations","SET_USER_LOCATION","payload","SET_SELECTED_COUNTRY","SET_DISTANCE","SET_USER_COUNTRY","SET_EMAIL","getters","actions","getDistance","body","commit","axios","get","data","Math","trunc","getUserLocation","lat","lng","results","formatted_address","sendForm","console","log","post","updateCountryEmail","Main","VueRouter","router","base","mode","routes","path","browserDetect","vSelect","VueScrollTo","container","duration","easing","offset","force","cancelable","onStart","onDone","onCancel","x","y","InputMask","VueGeolocation","VueGtm","id","defer","enabled","debug","loadScript","vueRouter","ignoredViews","trackOnNextTick","SwiperClass","Navigation","Pagination","Controller","EffectFade","VueGoogleMaps","load","key","libraries","region","language","installComponents","VBodyScrollLock","VueAwesomeSwiper","config","productionTip","render","h","App","$mount"],"mappings":"2PAAI,EAAS,WAAa,IAAIA,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAC/FE,EAAkB,GCKtB,GACEC,KAAM,OCPsT,I,YCO1TC,EAAY,eACd,EACA,EACAF,GACA,EACA,KACA,KACA,MAIa,EAAAE,E,kRCffC,aAAIC,IAAIC,QAED,IAAMC,EAAQ,IAAID,OAAKE,MAAM,CAChCC,MAAO,CACHC,aAAc,KACdC,gBAAiB,SACjBC,SAAU,KACVC,SAAU,KACVC,MAAO,MAEXC,UAAW,CACPC,kBAAmB,SAACP,EAAMQ,GAAP,OAAmBR,EAAMC,aAAeO,GAC3DC,qBAAsB,SAACT,EAAMQ,GAAP,OAAmBR,EAAME,gBAAkBM,GACjEE,aAAa,SAACV,EAAMQ,GAAP,OAAmBR,EAAMG,SAAWK,GACjDG,iBAAiB,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GAAG,EACHC,GAAG,IAEL1D,aAAID,UAAU,aAAc4D,KAC5B3D,aAAIC,IAAI2D,KAER5D,aAAIC,IAAI4D,IAAQ,CACdC,GAAI,WACJC,OAAO,EACPC,SAAS,EACTC,OAAO,EACPC,YAAY,EACZC,UAAW3B,EACX4B,aAAc,CAAC,IACfC,iBAAiB,IAInBC,OAAYrE,IAAI,CAACsE,OAAYC,OAAYC,OAAYC,SAGrD1E,aAAIC,IAAI0E,EAAe,CACrBC,KAAM,CACJC,IAAK,0CACLC,UAAW,SACXC,OAAQ,KACRC,SAAU,MAEZC,mBAAmB,IAErBjF,aAAIC,IAAIiF,QACRlF,aAAIC,IAAIkF,IAAkB,IAC1BnF,aAAIoF,OAAOC,eAAgB,EAE3B,IAAIrF,aAAI,CACNsF,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,IACfrF,MAAOA,EACPqC,WACCiD,OAAO,S","file":"js/app.6395546a.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-view')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=3503c390&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\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","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport axios from \"axios\";\nVue.use(Vuex)\n\nexport const store = new Vuex.Store({\n state: {\n userLocation: null,\n selectedCountry: \"Греция\",\n distance: null,\n location: null,\n email: null\n },\n mutations: {\n SET_USER_LOCATION: (state,payload) => state.userLocation = payload,\n SET_SELECTED_COUNTRY: (state,payload) => state.selectedCountry = payload,\n SET_DISTANCE:(state,payload) => state.distance = payload,\n SET_USER_COUNTRY:(state,payload) => state.location = payload,\n SET_EMAIL:(state,payload) => state.email = payload\n },\n getters: {},\n actions: {\n async getDistance({state,commit},body) {\n const data = await axios.get(`https://lg-travel.24ttl.net/api/origin/${state.location}/distance/${body}`)\n if(data.data){\n commit('SET_DISTANCE',`${Math.trunc(data.data)} км.`)\n }else{\n commit('SET_DISTANCE','0 м')\n }\n },\n async getUserLocation({commit,state}){\n const data = await axios.get(`https://lg-travel.24ttl.net/api/location/${state.userLocation.lat},${state.userLocation.lng}`)\n commit('SET_USER_COUNTRY',data.data.results[5].formatted_address)\n },\n async sendForm({state},data){\n console.log(state)\n return await axios.post('https://lg-travel.24ttl.net/api/user/create',data)\n },\n async updateCountryEmail({state},data){\n console.log(state)\n return await axios.post('https://lg-travel.24ttl.net/api/user/update-email',data)\n }\n }\n})","import VueRouter from 'vue-router'\nimport Vue from 'vue'\nconst Main = () => import(/* webpackChunkName: \"account\" */ '../pages/Main')\n\nVue.use(VueRouter)\n\nconst router = new VueRouter({\n base: '/ru/lg-travel/',\n mode: 'history',\n routes: [\n {\n path: '/',\n component: Main,\n name: 'main'\n }\n ]\n})\n\n\nexport default router","import Vue from 'vue'\nimport App from './App.vue'\nimport * as VueGoogleMaps from 'vue2-google-maps'\nimport SwiperClass, { Navigation, Pagination, Controller, EffectFade /* add some modules if you need */ } from \"swiper\";\nimport VueAwesomeSwiper from 'vue-awesome-swiper'\nimport VueScrollTo from 'vue-scrollto'\nimport vSelect from 'vue-select'\nimport InputMask from 'vue-input-mask';\nimport VBodyScrollLock from 'v-body-scroll-lock'\nimport VueGeolocation from 'vue-browser-geolocation';\nimport {store} from './store'\nimport router from './router'\nimport browserDetect from \"vue-browser-detect-plugin\";\nimport VueGtm from '@gtm-support/vue2-gtm';\n\nimport './style/normalize.scss'\nimport './style/fonts.scss'\nimport './style/global.scss'\nimport 'swiper/swiper-bundle.css'\nimport 'vue-select/dist/vue-select.css'\n\n// Transpiler for older browsers\nimport 'core-js/stable';\n// optional but required for transforming generator fns.\nimport 'regenerator-runtime/runtime';\n\nVue.use(browserDetect);\n\nVue.component('v-select', vSelect)\nVue.use(VueScrollTo, {\n container: \"body\",\n duration: 500,\n easing: \"ease\",\n offset: -100,\n force: true,\n cancelable: true,\n onStart: false,\n onDone: false,\n onCancel: false,\n x: false,\n y: true\n})\nVue.component('input-mask', InputMask)\nVue.use(VueGeolocation);\n\nVue.use(VueGtm, {\n id: 'GTM-4S9T',\n defer: false, // defaults to false. Script can be set to `defer` to increase page-load-time at the cost of less accurate results (in case visitor leaves before script is loaded, which is unlikely but possible)\n enabled: true, // defaults to true. Plugin can be disabled by setting this to false for Ex: enabled: !!GDPR_Cookie (optional)\n debug: true, // Whether or not display console logs debugs (optional)\n loadScript: false, // Whether or not to load the GTM Script (Helpful if you are including GTM manually, but need the dataLayer functionality in your components) (optional)\n vueRouter: router, // Pass the router instance to automatically sync with router (optional)\n ignoredViews: [''], // Don't trigger events for specified router names (case insensitive) (optional)\n trackOnNextTick: false // Whether or not call trackView in Vue.nextTick\n});\n\n\nSwiperClass.use([Navigation, Pagination, Controller, EffectFade]);\n\n\nVue.use(VueGoogleMaps, {\n load: {\n key: 'AIzaSyCZAwBCkM5E2FBM41A8L5e5D1qMUVSDqik',\n libraries: 'places', // This is required if you use the Autocomplete plugin\n region: 'RU',\n language: 'ru',\n },\n installComponents: true\n})\nVue.use(VBodyScrollLock)\nVue.use(VueAwesomeSwiper, {})\nVue.config.productionTip = false\n\nnew Vue({\n render: h => h(App),\n store: store,\n router,\n}).$mount('#app')\n"],"sourceRoot":""}