{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/assets/images/separateur.png","webpack:///./src/components/steps/StepTwo.vue?2b73","webpack:///./src/components/Stepper.vue?e711","webpack:///./src/assets/images/Footer_Page.png","webpack:///./src/assets/images/img_Coupon_Asso_lg.png","webpack:///./src/assets/images/Picto_Step_03.png","webpack:///./src/App.vue?db16","webpack:///./src/components/Header.vue?b161","webpack:///./src/assets/images/Picto_Step_02.png","webpack:///./src/views/Home.vue?8e5c","webpack:///./src/assets/images sync ^\\.\\/.*$","webpack:///./src/assets/svg/Picto_Form_02.svg","webpack:///./src/components/Footer.vue?ba64","webpack:///./src/assets/svg/Picto_Form_01.svg","webpack:///./src/assets/svg/Picto_Form_03.svg","webpack:///./src/assets/svg/background.svg","webpack:///./src/assets/images/Logo_CCQC_Gris.png","webpack:///./src/components/steps/StepTwo.vue?c655","webpack:///./src/App.vue?ff3a","webpack:///./src/components/Header.vue?ec7a","webpack:///./src/components/Header.vue","webpack:///./src/components/Header.vue?64fb","webpack:///./src/components/Header.vue?88b0","webpack:///./src/components/Footer.vue?7fa0","webpack:///./src/components/Footer.vue","webpack:///./src/components/Footer.vue?c6da","webpack:///./src/components/Footer.vue?5ec4","webpack:///./src/App.vue","webpack:///./src/App.vue?198c","webpack:///./src/App.vue?bb6c","webpack:///./src/views/Home.vue?5a6b","webpack:///./src/components/Stepper.vue?9571","webpack:///./src/components/steps/StepOne.vue?15f1","webpack:///./src/components/steps/StepOne.vue","webpack:///./src/components/steps/StepOne.vue?1ce3","webpack:///./src/components/steps/StepOne.vue?6ea6","webpack:///./src/components/steps/StepTwo.vue?ba79","webpack:///./src/components/steps/StepTwo.vue","webpack:///./src/components/steps/StepTwo.vue?6c86","webpack:///./src/components/steps/StepTwo.vue?ebd6","webpack:///./src/components/steps/StepThree.vue?0770","webpack:///./src/components/steps/StepThree.vue","webpack:///./src/components/steps/StepThree.vue?4380","webpack:///./src/components/steps/StepThree.vue?4670","webpack:///./src/components/Stepper.vue","webpack:///./src/components/Stepper.vue?e8af","webpack:///./src/components/Stepper.vue?ee23","webpack:///./src/views/Home.vue","webpack:///./src/views/Home.vue?c00d","webpack:///./src/views/Home.vue?1573","webpack:///./src/store/index.ts","webpack:///./src/router/index.ts","webpack:///./src/plugins/vuetify.ts","webpack:///./src/main.ts","webpack:///./src/assets/images/Illu_Home.jpg","webpack:///./src/assets/images/Logo_CCQC.png","webpack:///./src/assets/images/coupon_2024.jpg","webpack:///./src/components/steps/StepThree.vue?a9cd","webpack:///./src/assets/images/img_Coupon_Asso.png","webpack:///./src/components/steps/StepOne.vue?32c2","webpack:///./src/assets/images/Picto_Step_01.png"],"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","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","map","webpackContext","req","id","webpackContextResolve","keys","_vm","this","_h","$createElement","_c","_self","failsafe","_e","directives","rawName","expression","staticClass","attrs","on","backToTop","_v","alert","color","model","callback","$$v","$set","_s","staticRenderFns","$vuetify","breakpoint","mdAndUp","$route","fullPath","textFields","headerTitle","$event","textSize","extend","computed","methods","plus","htmlElement","querySelector","navigator","userAgent","includes","style","fontSize","parseSize","parseFloat","replace","zoom","component","VAppBar","VBtn","VContainer","VImg","VRow","VSpacer","VCol","VFooter","VIcon","components","Header","Footer","backToTopVisible","goTo","beforeMount","clear","updateDates","getPostcodes","getAssociations","created","onscroll","scrollY","VAlert","VApp","VFabTransition","VMain","coupon","currentStep","mdAndDown","class","smAndDown","_l","card","index","img","text","step","$router","resetCoupon","staticStyle","dates","dateOldest","dateYoungest","disableCampaign","$emit","promoStartDate","isActive","VCard","VStepperContent","ref","formValid","rules","scopedSlots","_u","fn","proxy","form","birthdate","placeOfBirth","address","postcodes","svg","arrow","updateCities","cities","raw","phone","email","confirmEmail","associations","associationId","info","associationOther","supportingPanel","files","idDocument","setFile","familyRecord","proofOfAddress","checkbox","loading","sendCoupon","birthdateRegex","RegExp","emailRegex","set","test","dateFields","day","month","year","date","Date","isNaN","getTime","arrayBuffer","read","tmp","resize","AUTO","quality","getBufferAsync","MIME_JPEG","buffer","Uint8Array","from","content","File","split","join","val","postcode","find","Cities","$refs","formCoupon","validate","firstname","lastname","association_id","city_id","cityId","postcode_id","postcodeId","route","FormData","append","JSON","stringify","fetch","method","body","response","status","json","$store","dispatch","uuid","accept","swear","resetValidation","token","toLowerCase","context","common","size","rawDates","toISOString","watch","deep","handler","VCheckbox","VExpandTransition","VExpansionPanel","VExpansionPanelContent","VExpansionPanelHeader","VExpansionPanels","VFileInput","VForm","VSelect","VTextField","downloadCouponFromToken","dialog","blob","showAlert","a","display","url","URL","createObjectURL","download","now","click","VCardActions","VCardText","VCardTitle","VDialog","StepOne","StepTwo","StepThree","updateStep","VDivider","VStepper","VStepperHeader","VStepperItems","VStepperStep","cards","Stepper","VScaleTransition","VSheet","use","formatDateFromIsoDateString","dateIsoString","string","toLocaleDateString","startsWith","Store","state","promoEndDate","promoDueDate","show","mutations","CURRENT_STEP","payload","TOKEN","ALERT","DATES","RAWDATES","POSTCODES","ASSOCIATIONS","actions","commit","updateToken","formattedDates","routes","path","Home","router","base","scrollBehavior","x","y","beforeEach","to","next","query","store","parseInt","theme","themes","light","primary","secondary","accent","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AAU,IAA0B,8B,qBCA3CC,EAAOD,QAAU,IAA0B,gC,kCCA3C,W,qBCAAC,EAAOD,QAAU,IAA0B,oC,kCCA3C,W,qBCAAC,EAAOD,QAAU,IAA0B","file":"js/index.5ece51c4.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 CSS chunks\n \tvar installedCssChunks = {\n \t\t\"index\": 0\n \t}\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\t\"index\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"about\":\"about\",\"rules\":\"rules\"}[chunkId]||chunkId) + \".\" + {\"about\":\"8573564f\",\"rules\":\"7c6c12bf\"}[chunkId] + \".js\"\n \t}\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 \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"about\":1,\"rules\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"about\":\"about\",\"rules\":\"rules\"}[chunkId]||chunkId) + \".\" + {\"about\":\"a401fcdd\",\"rules\":\"0268a42b\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\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\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\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 \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\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([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaIAAAAnCAYAAABNAUywAAAAwklEQVR4nO3dQQ2AQAwAwULw7wgPOAIJvMgCmVHQ9LPp43LLfsw5ADxhsdV769sHBODfhAiAlBABkBIiAFJCBEBKiABICREAKSECICVEAKQ2L38BKLmIAEgJEQApIQIgJUQApIQIgJQQAZASIgBSQgRAarN+Psw39/ADLiIAUkIEQEqIAEgJEQApIQIgJUQApIQIgJQQAZASIgBSQgRASogASAkRACkhAiAlRACkhAiAlBABkBIiAFJCBEBKiADozMwFx/kD3xGZlYoAAAAASUVORK5CYII=\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepTwo.vue?vue&type=style&index=1&id=0f6dfe46&scoped=true&lang=scss&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Stepper.vue?vue&type=style&index=0&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/Footer_Page.beba1e39.png\";","module.exports = __webpack_public_path__ + \"img/img_Coupon_Asso_lg.bea50dfc.png\";","module.exports = __webpack_public_path__ + \"img/Picto_Step_03.8795021b.png\";","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=style&index=0&id=109bf064&scoped=true&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/Picto_Step_02.1b0e5ecc.png\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=51a93a97&scoped=true&lang=scss&\"","var map = {\n\t\"./Footer_Page.png\": \"26cd\",\n\t\"./Illu_Home.jpg\": \"d70a\",\n\t\"./Logo_CCQC.png\": \"d7f0\",\n\t\"./Logo_CCQC_Gris.png\": \"a25c\",\n\t\"./Picto_Step_01.png\": \"ef14\",\n\t\"./Picto_Step_02.png\": \"603e\",\n\t\"./Picto_Step_03.png\": \"4ffe\",\n\t\"./coupon_2024.jpg\": \"d8d0\",\n\t\"./img_Coupon_Asso.png\": \"de84\",\n\t\"./img_Coupon_Asso_lg.png\": \"3b4d\",\n\t\"./separateur.png\": \"03a1\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"7584\";","module.exports = __webpack_public_path__ + \"img/Picto_Form_02.90490322.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=style&index=0&id=129e0254&scoped=true&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/Picto_Form_01.8aebc089.svg\";","module.exports = __webpack_public_path__ + \"img/Picto_Form_03.40be42e3.svg\";","module.exports = __webpack_public_path__ + \"img/background.2ee0ae40.svg\";","module.exports = __webpack_public_path__ + \"img/Logo_CCQC_Gris.c0c3fde1.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepTwo.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.failsafe)?_c('v-app',[_c('Header'),_c('v-main',[_c('router-view')],1),_c('Footer'),_c('v-fab-transition',[_c('v-btn',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.backToTopVisible),expression:\"backToTopVisible\"}],staticClass:\"back-to-top\",attrs:{\"aria-label\":\"Retour en haut de la page\",\"color\":\"info\",\"fab\":\"\"},on:{\"click\":_vm.backToTop}},[_c('v-icon',[_vm._v(\"mdi-arrow-up\")])],1)],1),_c('v-alert',{staticClass:\"font-weight-bold\",attrs:{\"border\":\"left\",\"max-width\":\"500px\",\"elevation\":\"5\",\"color\":_vm.alert.color,\"transition\":\"scale-transition\"},model:{value:(_vm.alert.show),callback:function ($$v) {_vm.$set(_vm.alert, \"show\", $$v)},expression:\"alert.show\"}},[_vm._v(_vm._s(_vm.alert.message))])],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',[_c('v-app-bar',{attrs:{\"app\":\"\",\"flat\":\"\",\"height\":_vm.$vuetify.breakpoint.mdAndUp ? '160px' : '128px',\"color\":\"white\"}},[_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',{staticClass:\"px-md-15 posrelative\",attrs:{\"align\":\"center\"}},[_c('router-link',{attrs:{\"to\":\"/?step=1\",\"aria-label\":\"Retour à l'accueil\"}},[_c('v-img',{attrs:{\"alt\":\"logo quercy caussadais\",\"contain\":\"\",\"src\":require(\"@/assets/images/Logo_CCQC.png\"),\"position\":\"center center\",\"max-height\":_vm.$vuetify.breakpoint.mdAndUp ? '160px' : '128px',\"max-width\":_vm.$vuetify.breakpoint.mdAndUp ? '160px' : '128px'}})],1),_c('v-spacer'),(_vm.$route.fullPath !== '/' && _vm.$route.fullPath !== '/?step=1')?_c('router-link',{attrs:{\"to\":\"/?step=1\"}},[_c('h1',{staticClass:\"main-title hidden-md-and-down\"},[_vm._v(\" \"+_vm._s(_vm.textFields.headerTitle)+\" \")])]):_c('h1',{staticClass:\"main-title hidden-md-and-down\"},[_vm._v(\" \"+_vm._s(_vm.textFields.headerTitle)+\" \")]),_c('v-spacer'),_c('div',{staticClass:\"buttongroup\"},[_c('v-btn',{staticClass:\"rounded-0\",attrs:{\"depressed\":\"\",\"dark\":\"\",\"fab\":\"\",\"height\":\"30px\"},on:{\"click\":function($event){return _vm.textSize(true)}}},[_vm._v(\" A+ \")]),_c('v-btn',{staticClass:\"rounded-0\",attrs:{\"depressed\":\"\",\"dark\":\"\",\"fab\":\"\",\"height\":\"30px\"},on:{\"click\":function($event){return _vm.textSize(false)}}},[_vm._v(\" A- \")])],1)],1)],1)],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\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { mapState } from \"vuex\";\n\nexport default Vue.extend({\n computed: {\n ...mapState([\"textFields\"]),\n },\n methods: {\n textSize(plus: boolean) {\n const htmlElement = document.querySelector(\"html\");\n if (htmlElement) {\n if (window.navigator.userAgent.includes(\"Firefox\")) {\n if (!htmlElement.style.fontSize) {\n htmlElement.style.fontSize = plus ? \"1.1rem\" : \"1rem\";\n } else {\n let parseSize = parseFloat(\n htmlElement.style.fontSize.replace(\"rem\", \"\"),\n );\n if (plus) {\n if (parseSize < 1.6) {\n parseSize += 0.2;\n }\n } else {\n if (parseSize > 1) {\n parseSize = 1;\n }\n }\n htmlElement.style.fontSize = `${parseSize}rem`;\n }\n } else {\n if (!htmlElement.style.zoom) {\n htmlElement.style.zoom = plus ? \"1.1\" : \"1\";\n } else {\n let parseSize = parseFloat(htmlElement.style.zoom);\n if (plus) {\n if (parseSize < 1.6) {\n parseSize += 0.2;\n }\n } else {\n if (parseSize > 1) {\n parseSize = 1;\n }\n }\n htmlElement.style.zoom = `${parseSize}`;\n }\n }\n }\n },\n },\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=109bf064&scoped=true&\"\nimport script from \"./Header.vue?vue&type=script&lang=ts&\"\nexport * from \"./Header.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Header.vue?vue&type=style&index=0&id=109bf064&scoped=true&lang=scss&\"\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 \"109bf064\",\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 { VAppBar } from 'vuetify/lib/components/VAppBar';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAppBar,VBtn,VContainer,VImg,VRow,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',[_c('v-footer',{attrs:{\"color\":\"white\"}},[_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-img',{staticClass:\"mx-auto\",attrs:{\"max-width\":_vm.$vuetify.breakpoint.mdAndUp ? '1920px' : undefined,\"width\":\"100%\",\"src\":require(\"@/assets/images/Footer_Page.png\")}})],1),_c('v-row',{staticClass:\"justify-space-around justify-center\"},[_c('v-col',{staticClass:\"d-flex flex-wrap pr-5\",attrs:{\"cols\":\"12\",\"md\":\"6\",\"lg\":\"4\"}},[_c('a',{staticClass:\"mb-n3 col-12 col-md-6 d-flex justify-center my-0 py-0\",attrs:{\"href\":\"http://www.quercycaussadais.fr\",\"aria-label\":\"Vers le site principal\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"}},[_c('v-img',{attrs:{\"src\":require(\"@/assets/images/Logo_CCQC_Gris.png\"),\"height\":\"160px\",\"width\":\"160px\",\"contain\":\"\"}})],1),_c('div',{staticClass:\"col-12 col-md-6 d-flex mt-3 flex-column justify-end text-md-left text-center\"},[_c('div',{staticClass:\"d-flex primary--text align-end justify-center justify-md-start\"},[_c('div',{staticClass:\"mb-0 primary--text\"},[_vm._v(\"Suivez-nous\")]),_c('v-btn',{staticClass:\"ml-3\",attrs:{\"href\":\"https://www.facebook.com/CCQC82/\",\"target\":\"_blank\",\"icon\":\"\",\"aria-label\":\"Aller vers la page facebook\",\"rel\":\"noopener noreferrer\"}},[_c('v-icon',{attrs:{\"x-large\":\"\",\"color\":\"primary\"}},[_vm._v(\"mdi-facebook\")])],1)],1),_c('div',[_c('a',{staticClass:\"primary--text font-weight-bold link\",attrs:{\"href\":\"http://www.quercycaussadais.fr\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"}},[_vm._v(\"www.quercycaussadais.fr\")])])])]),_c('v-col',{staticClass:\"d-flex px-md-6 mt-md-5 justify-space-between\",attrs:{\"cols\":\"12\",\"md\":\"6\",\"lg\":\"4\"}},[_c('div',{staticClass:\"d-flex flex-column mr-2\"},[_c('h3',{staticClass:\"secondary--text mb-3\"},[_vm._v(\"Coordonnées\")]),_c('h4',{staticClass:\"primary--text my-0\"},[_vm._v(\"C.C.Q.C\")]),_c('div',{staticClass:\"address secondary--text\"},[_vm._v(\" 264 route de Treilhou\"),_c('br'),_vm._v(\" 82300 CAUSSADE\"),_c('br'),_vm._v(\" Tél : 05 63 93 28 66\"),_c('br'),_c('a',{attrs:{\"href\":\"mailto:communautedecommunes@quercycaussadais.fr\"}},[_vm._v(\"Envoyer un mail\")])])]),_c('div',{staticClass:\"d-flex flex-column\"},[_c('h3',{staticClass:\"secondary--text mb-3\"},[_vm._v(\"On vous accueille\")]),_c('div',{staticClass:\"address secondary--text\"},[_c('br'),_vm._v(\" Du lundi au vendredi \"),_c('br'),_vm._v(\" 8h30 à 12h30 \"),_c('br'),_vm._v(\" et de 13h30 à 17h30 \")])]),_c('div')]),_c('v-col',{staticClass:\"d-flex align-center text-center\",attrs:{\"cols\":\"12\",\"md\":\"6\",\"lg\":\"4\"}},[_c('div',{staticClass:\"col-12\"},[_c('router-link',{staticClass:\"mentions-legales\",attrs:{\"to\":\"/legal\"}},[_vm._v(\"Mentions légales\")]),_vm._v(\" - \"),_c('router-link',{staticClass:\"mentions-legales\",attrs:{\"to\":\"/reglement\"}},[_vm._v(\"Règlement de l'opération\")])],1)])],1)],1)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\n\nexport default Vue.extend({});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=129e0254&scoped=true&\"\nimport script from \"./Footer.vue?vue&type=script&lang=ts&\"\nexport * from \"./Footer.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=129e0254&scoped=true&lang=scss&\"\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 \"129e0254\",\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 { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFooter } from 'vuetify/lib/components/VFooter';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VContainer,VFooter,VIcon,VImg,VRow})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Header from \"@/components/Header.vue\";\nimport Footer from \"@/components/Footer.vue\";\nimport { mapState, mapActions } from \"vuex\";\nimport failsafe from \"@/modules/failsafe\";\n\nexport default Vue.extend({\n name: \"App\",\n components: {\n Header,\n Footer,\n },\n data: () => ({\n backToTopVisible: false,\n failsafe: false,\n //\n }),\n computed: {\n ...mapState([\"alert\", \"dates\"]),\n },\n methods: {\n ...mapActions([\n \"showAlert\",\n \"updateDates\",\n \"getPostcodes\",\n \"getAssociations\",\n ]),\n backToTop() {\n this.$vuetify.goTo(0);\n },\n },\n async beforeMount() {\n //this.failsafe = await failsafe(\"cXVlcmN5Y2F1c3NhZGFpcw==\");\n console.clear();\n this.updateDates();\n this.getPostcodes();\n this.getAssociations();\n },\n created() {\n window.onscroll = () => {\n if (window.scrollY > 300) {\n this.backToTopVisible = true;\n } else {\n this.backToTopVisible = false;\n }\n };\n },\n});\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--15-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--15-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--15-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--15-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=15364b66&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\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/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VApp } from 'vuetify/lib/components/VApp';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VFabTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VMain } from 'vuetify/lib/components/VMain';\ninstallComponents(component, {VAlert,VApp,VBtn,VFabTransition,VIcon,VMain})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[(_vm.coupon.currentStep === 1)?_c('div',{staticClass:\"illustration-home\"},[_c('v-img',{attrs:{\"src\":require(\"@/assets/images/Illu_Home.jpg\")}}),_c('v-btn',{staticClass:\"coupon-text black--text font-weight-bold text-left pl-md-15 py-7\",attrs:{\"tile\":\"\",\"depressed\":\"\",\"small\":_vm.$vuetify.breakpoint.mdAndDown,\"color\":\"primary\"},on:{\"click\":function($event){return _vm.$vuetify.goTo('#stepper')}}},[_vm._v(\" Obtenir son coupon,\"),_c('br'),_vm._v(\"aujourd'hui c'est facile pour tous! \")])],1):_vm._e(),_c('stepper',{attrs:{\"id\":\"stepper\"}}),_c('v-scale-transition',[_c('div',{staticClass:\"d-flex\"},[(_vm.coupon.currentStep === 1)?_c('div',{staticClass:\"d-flex flex-column justify-center justify-md-start\"},[_c('h2',{staticClass:\"mb-2\",class:_vm.$vuetify.breakpoint.smAndDown ? 'small-title' : ''},[_vm._v(\" Comment ça marche ? \")]),_c('div',{staticClass:\"d-flex flex-column align-center align-md-end\"},[_c('v-img',{attrs:{\"contain\":\"\",\"max-width\":\"224px\",\"src\":require(\"@/assets/images/separateur.png\")}})],1)]):_vm._e()])]),_c('v-scale-transition',[_c('div',{staticClass:\"d-flex justify-center\"},[(_vm.coupon.currentStep === 1)?_c('v-sheet',{attrs:{\"max-width\":\"1400px\"}},[_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',{staticClass:\"justify-space-around d-flex\"},_vm._l((_vm.cards),function(card,index){return _c('v-col',{key:card.img,attrs:{\"cols\":\"12\",\"md\":\"6\",\"lg\":\"4\",\"xl\":\"3\"}},[_c('v-img',{staticClass:\"mx-auto\",attrs:{\"src\":require((\"@/assets/images/\" + (card.img))),\"width\":\"320px\",\"height\":\"250px\"}}),_c('div',{staticClass:\"d-flex align-start\"},[_c('v-icon',{attrs:{\"x-large\":\"\",\"color\":\"info\"}},[_vm._v(\"mdi-numeric-\"+_vm._s(index + 1)+\"-box\")]),_c('p',{staticClass:\"ml-3\"},[_vm._v(_vm._s(card.text))])],1)],1)}),1)],1)],1):_vm._e()],1)])],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('v-container',{class:_vm.$vuetify.breakpoint.mdAndDown ? 'px-0' : '',attrs:{\"fluid\":\"\"}},[_c('v-stepper',{class:_vm.$vuetify.breakpoint.mdAndDown ? 'pa-0' : '',attrs:{\"flat\":\"\"},model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-stepper-header',{staticClass:\"elevation-0\"},[_c('v-stepper-step',{attrs:{\"complete\":_vm.step > 1,\"step\":\"1\"}},[_vm._v(\" Présentation \")]),_c('v-divider'),_c('v-stepper-step',{attrs:{\"complete\":_vm.step > 2,\"step\":\"2\"}},[_vm._v(\" Inscription \")]),_c('v-divider'),_c('v-stepper-step',{attrs:{\"step\":\"3\"}},[_vm._v(\" Téléchargement \")])],1),_c('v-stepper-items',[_c('step-one',{on:{\"forward\":function($event){return _vm.$router.push('/?step=2')}}}),_c('step-two'),_c('step-three',{on:{\"reset\":_vm.resetCoupon}})],1)],1)],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('v-stepper-content',{class:_vm.$vuetify.breakpoint.mdAndDown ? 'pa-0' : '',attrs:{\"step\":\"1\"}},[_c('v-card',{staticClass:\"with-background\"},[_c('v-img',{staticClass:\"d-flex align-center\",class:_vm.$vuetify.breakpoint.mdAndDown ? 'py-0 mt-n3' : 'py-5',attrs:{\"src\":require('@/assets/svg/background.svg'),\"aspect-ratio\":\"2.3\"}},[_c('v-container',[_c('v-row',{staticClass:\"d-flex align-center\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-img',{staticClass:\"ma-lg-6 mb-6\",staticStyle:{\"rotate\":\"-15deg\"},attrs:{\"src\":require(\"@/assets/images/coupon_2024.jpg\")}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('div',{staticClass:\"d-flex flex-column align-md-end text-center text-md-left mb-3\"},[_c('h2',{class:_vm.$vuetify.breakpoint.mdAndDown ? 'small-title' : ''},[_vm._v(\" Coupon Association en ligne \")]),_c('v-img',{staticClass:\"mr-0 mr-md-5\",attrs:{\"src\":require(\"@/assets/images/separateur.png\"),\"max-width\":\"60%\"}})],1),_c('div',[_c('p',[_vm._v(\" La Communauté de Communes du Quercy Caussadais vous propose de générer les coupons association en ligne. \"),_c('br'),_vm._v(\" Cette opération consiste à apporter une aide aux familles résidant dans l'une des 19 communes de son territoire et adhérant à une activité sportive ou culturelle située sur le \"),_c('strong',[_vm._v(\"Quercy Caussadais\")])]),_c('p',[_vm._v(\" Les bénéficiaires sont les enfants nés entre le \"+_vm._s(_vm.dates.dateOldest)+\" et le \"+_vm._s(_vm.dates.dateYoungest)+\",\"),_c('strong',[_vm._v(\" habitants sur le Quercy Caussadais.\")])]),_c('p',[_vm._v(\" Veuillez vous munir de la carte d'identité de votre enfant ou du livret de famille ainsi que d'un justificatif de domicile. \")])]),_c('v-btn',{staticClass:\"black--text font-weight-bold\",attrs:{\"disabled\":_vm.disableCampaign,\"tile\":\"\",\"color\":\"primary\",\"x-large\":\"\",\"height\":\"70px\"},on:{\"click\":function($event){return _vm.$emit('forward')}}},[_vm._v(\"obtenir mon coupon \"),_c('v-icon',{staticClass:\"ml-5\"},[_vm._v(\"mdi-arrow-right\")])],1),(_vm.disableCampaign)?_c('div',[_vm._v(\" L'ouverture de la campagne se fera le \"),_c('strong',[_vm._v(_vm._s(_vm.dates.promoStartDate))])]):_vm._e()],1)],1)],1)],1)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { mapState } from \"vuex\";\n\nexport default Vue.extend({\n computed: {\n ...mapState([\"dates\"]),\n disableCampaign() {\n return !this.dates.isActive;\n },\n },\n data: () => ({}),\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepOne.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepOne.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StepOne.vue?vue&type=template&id=7869b1ba&scoped=true&\"\nimport script from \"./StepOne.vue?vue&type=script&lang=ts&\"\nexport * from \"./StepOne.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./StepOne.vue?vue&type=style&index=0&id=7869b1ba&scoped=true&lang=css&\"\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 \"7869b1ba\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VStepperContent } from 'vuetify/lib/components/VStepper';\ninstallComponents(component, {VBtn,VCard,VCol,VContainer,VIcon,VImg,VRow,VStepperContent})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-stepper-content',{class:_vm.$vuetify.breakpoint.mdAndDown ? 'px-0' : '',attrs:{\"step\":\"2\",\"flat\":\"\"}},[_c('v-card',[_c('v-container',[_c('v-row',[_c('div',{staticClass:\"d-flex flex-column mr-auto mb-3\"},[_c('h2',{class:_vm.$vuetify.breakpoint.mdAndDown ? 'small-title' : ''},[_vm._v(\" Obtenir son coupon \")]),_c('v-img',{staticClass:\"mr-0 mr-md-5 align-self-end\",attrs:{\"src\":require(\"@/assets/images/separateur.png\"),\"max-width\":\"60%\"}})],1)])],1),_c('v-form',{ref:\"formCoupon\",staticClass:\"px-md-15\",model:{value:(_vm.formValid),callback:function ($$v) {_vm.formValid=$$v},expression:\"formValid\"}},[_c('v-container',[_c('v-row',[_c('v-col',{staticClass:\"d-flex align-end\"},[_c('v-img',{staticClass:\"mr-5\",attrs:{\"src\":require(\"@/assets/svg/Picto_Form_01.svg\"),\"max-height\":\"3rem\",\"max-width\":\"3rem\"}}),_c('h3',{staticClass:\"secondary--text\",class:_vm.$vuetify.breakpoint.mdAndDown ? 'small-subtitle' : ''},[_vm._v(\" Informations sur le jeune \")])],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"rules\":_vm.rules.name,\"validate-on-blur\":\"\",\"color\":\"accent\",\"required\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Nom \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.lastname),callback:function ($$v) {_vm.$set(_vm.form.data, \"lastname\", $$v)},expression:\"form.data.lastname\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"rules\":_vm.rules.name,\"validate-on-blur\":\"\",\"color\":\"accent\",\"required\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Prénom \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.firstname),callback:function ($$v) {_vm.$set(_vm.form.data, \"firstname\", $$v)},expression:\"form.data.firstname\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"rules\":_vm.rules.birthdate(this),\"validate-on-blur\":\"\",\"color\":\"accent\",\"required\":\"\",\"hint\":\"Format : JJ/MM/AAAA\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Date de Naissance \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.birthdate),callback:function ($$v) {_vm.birthdate=$$v},expression:\"birthdate\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"rules\":_vm.rules.placeOfBirth,\"color\":\"accent\",\"required\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Lieu de naissance \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.placeOfBirth),callback:function ($$v) {_vm.$set(_vm.form.data, \"placeOfBirth\", $$v)},expression:\"form.data.placeOfBirth\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"rules\":_vm.rules.address,\"color\":\"accent\",\"required\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Adresse postale \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.address),callback:function ($$v) {_vm.$set(_vm.form.data, \"address\", $$v)},expression:\"form.data.address\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c('v-select',{attrs:{\"color\":\"accent\",\"rules\":_vm.rules.postcodes,\"items\":_vm.postcodes,\"item-text\":\"value\",\"item-value\":\"id\",\"append-icon\":_vm.svg.arrow},on:{\"input\":_vm.updateCities},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Code postal \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.postcodeId),callback:function ($$v) {_vm.$set(_vm.form.data, \"postcodeId\", $$v)},expression:\"form.data.postcodeId\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"8\"}},[_c('v-select',{attrs:{\"color\":\"accent\",\"rules\":_vm.rules.cities,\"items\":_vm.raw.cities,\"item-text\":\"name\",\"item-value\":\"id\",\"disabled\":!_vm.raw.cities.length,\"append-icon\":_vm.svg.arrow},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Commune \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.cityId),callback:function ($$v) {_vm.$set(_vm.form.data, \"cityId\", $$v)},expression:\"form.data.cityId\"}})],1)],1)],1),_c('v-container',[_c('v-row',[_c('v-col',{staticClass:\"d-flex align-end\"},[_c('v-img',{staticClass:\"mr-5\",attrs:{\"src\":require(\"@/assets/svg/Picto_Form_02.svg\"),\"max-height\":\"3rem\",\"max-width\":\"3rem\"}}),_c('h3',{staticClass:\"secondary--text\",class:_vm.$vuetify.breakpoint.mdAndDown ? 'small-subtitle' : ''},[_vm._v(\" Informations de contact \")])],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"rules\":_vm.rules.phone,\"validate-on-blur\":\"\",\"color\":\"accent\",\"required\":\"\",\"hint\":\"Au format 0x.xx.xx.xx.xx, 0xxxxxxxxx ou 0x xx xx xx xx\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Téléphone\"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.phone),callback:function ($$v) {_vm.$set(_vm.form.data, \"phone\", $$v)},expression:\"form.data.phone\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"rules\":_vm.rules.email,\"color\":\"accent\",\"validate-on-blur\":\"\",\"required\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" E-mail \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.email),callback:function ($$v) {_vm.$set(_vm.form.data, \"email\", $$v)},expression:\"form.data.email\"}})],1)],1),_c('v-row',[(_vm.$vuetify.breakpoint.mdAndUp)?_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}}):_vm._e(),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"validate-on-blur\":\"\",\"rules\":_vm.rules.confirmEmail(this),\"color\":\"accent\",\"required\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Confirmez votre Email \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.confirEmail),callback:function ($$v) {_vm.$set(_vm.form.data, \"confirEmail\", $$v)},expression:\"form.data.confirEmail\"}})],1)],1)],1),_c('v-container',[_c('v-row',[_c('v-col',{staticClass:\"d-flex align-end\"},[_c('v-img',{staticClass:\"mr-5\",attrs:{\"src\":require(\"@/assets/svg/Picto_Form_03.svg\"),\"max-height\":\"3rem\",\"max-width\":\"3rem\"}}),_c('h3',{staticClass:\"secondary--text\",class:_vm.$vuetify.breakpoint.mdAndDown ? 'small-subtitle' : ''},[_vm._v(\" Association et Justificatifs \")])],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-col',[_c('v-select',{attrs:{\"color\":\"accent\",\"items\":_vm.associations,\"rules\":_vm.rules.associations,\"item-text\":\"name\",\"item-value\":\"id\",\"disabled\":!_vm.associations.length,\"append-icon\":_vm.svg.arrow},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Choisissez l'association \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}]),model:{value:(_vm.form.data.associationId),callback:function ($$v) {_vm.$set(_vm.form.data, \"associationId\", $$v)},expression:\"form.data.associationId\"}})],1)],1),_c('v-expand-transition',[(_vm.form.data.associationId === -1)?_c('v-row',[_c('v-col',{staticClass:\"d-flex\"},[_c('v-icon',{staticClass:\"svg__info mr-2\",attrs:{\"size\":\"26\"}},[_vm._v(_vm._s(_vm.svg.info))]),_c('div',{staticClass:\"hint-text\"},[_vm._v(\" Votre association n'est pas dans la liste ? \")])],1)],1):_vm._e()],1),_c('v-expand-transition',[(_vm.form.data.associationId === -1)?_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"rules\":_vm.rules.associationOther(this),\"color\":\"accent\",\"required\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Écrire le nom de l'association \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}],null,false,1726133299),model:{value:(_vm.form.data.associationOther),callback:function ($$v) {_vm.$set(_vm.form.data, \"associationOther\", $$v)},expression:\"form.data.associationOther\"}})],1)],1):_vm._e()],1)],1)],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-container',[_c('v-row',[_c('v-col',{staticClass:\"d-flex\"},[_c('v-icon',{staticClass:\"svg__info mr-2\",attrs:{\"size\":\"26\"}},[_vm._v(_vm._s(_vm.svg.info))]),_c('div',{staticClass:\"hint-text\"},[_vm._v(\" Déposez vos justificatifs : Livret de famille ou CNI de l'enfant, et un justificatif de domicile\"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])])],1)],1),_c('v-expansion-panels',{staticClass:\"mt-3\",attrs:{\"flat\":\"\"},model:{value:(_vm.supportingPanel),callback:function ($$v) {_vm.supportingPanel=$$v},expression:\"supportingPanel\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',{staticClass:\"white--text\",attrs:{\"color\":\"accent\"}},[_vm._v(\" Déposer mes justificatifs \")]),_c('v-expansion-panel-content',[_c('v-container',{staticClass:\"px-0\",attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-col',[_c('v-file-input',{attrs:{\"color\":\"accent\",\"value\":_vm.form.files.idDocument,\"show-size\":\"\",\"rules\":_vm.rules.files(this).idDocument},on:{\"change\":function($event){return _vm.setFile($event, 'idDocument')}},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Pièce d'identité \"),_c('span',{staticStyle:{\"color\":\"grey\"}},[_vm._v(\"*\")])]},proxy:true}])}),_c('v-file-input',{attrs:{\"color\":\"accent\",\"value\":_vm.form.files.familyRecord,\"show-size\":\"\",\"rules\":_vm.rules.files(this).familyRecord},on:{\"change\":function($event){return _vm.setFile($event, 'familyRecord')}},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Livret de famille \"),_c('span',{staticStyle:{\"color\":\"grey\"}},[_vm._v(\"*\")])]},proxy:true}])}),_c('v-file-input',{attrs:{\"color\":\"accent\",\"value\":_vm.form.files.proofOfAddress,\"show-size\":\"\",\"hint\":\"Extensions autorisées : pdf, taille 1Mo; jpg, png : 10Mo\",\"persistent-hint\":\"\",\"rules\":_vm.rules.files(this).proofOfAddress},on:{\"change\":function($event){return _vm.setFile($event, 'proofOfAddress')}},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Justificatif de domicile \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]},proxy:true}])})],1)],1)],1)],1)],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-checkbox',{attrs:{\"color\":\"accent\",\"rules\":_vm.rules.checkbox,\"label\":\"Je certifie sur l'honneur l'exactitude des documents fournis pour l'obtention du coupon association.\",\"required\":\"\"},model:{value:(_vm.form.data.swear),callback:function ($$v) {_vm.$set(_vm.form.data, \"swear\", $$v)},expression:\"form.data.swear\"}})],1)],1)],1)],1)],1)],1),_c('v-container',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-checkbox',{attrs:{\"color\":\"accent\",\"rules\":_vm.rules.checkbox,\"label\":\"En soumettant ce formulaire, j'accepte que les informations saisies soient exploitées dans le cadre de ma demande d'obtention du coupon association proposé par la Communauté de Communes du Quercy Caussadais, et du possible contact qui peut en découler\",\"required\":\"\"},model:{value:(_vm.form.accept),callback:function ($$v) {_vm.$set(_vm.form, \"accept\", $$v)},expression:\"form.accept\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('p',[_vm._v(\" Pour connaître et exercer mes droits, notamment de retrait de mon consentement à l'utilisation des données collectées par ce formulaire, je consulte les \"),_c('router-link',{attrs:{\"to\":\"/legal\"}},[_vm._v(\"Mentions légales\")])],1)]),_c('v-col',{staticClass:\"d-flex align-center justify-center\",attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-btn',{staticClass:\"black--text font-weight-bold pa-8\",attrs:{\"tile\":\"\",\"x-large\":\"\",\"color\":\"primary\",\"loading\":_vm.loading},on:{\"click\":_vm.sendCoupon}},[_vm._v(\" Envoyer \"),_c('v-icon',{staticClass:\"ml-10\"},[_vm._v(\"mdi-arrow-right\")])],1)],1)],1)],1)],1)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport City from \"@/interfaces/City\";\nimport Postcode from \"@/interfaces/Postcode\";\nimport Vue from \"vue\";\nimport { mapState, mapActions } from \"vuex\";\nimport Jimp from \"jimp\";\n\nconst birthdateRegex = new RegExp(\n /([0-9])([0-9][/\\s-]?)([0-9])([0-9])[/\\s-]?([1-2])([0-9])([0-9])([0-9])$/,\n);\nconst emailRegex = new RegExp(\n /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])/,\n);\n\nexport default Vue.extend({\n computed: {\n ...mapState([\"dates\", \"rawDates\", \"postcodes\", \"associations\", \"coupon\"]),\n birthdate: {\n get() {\n return this.raw.birthdate;\n },\n set(value: string) {\n if (value.length < 11) {\n this.raw.birthdate = value;\n // check if valid formatting and replace data.birthdate\n if (birthdateRegex.test(value)) {\n // We try to parse it as a date\n const raw = value.replace(/[/\\-\\s]/g, \"\");\n const dateFields = {\n day: raw.slice(0, 2),\n month: raw.slice(2, 4),\n year: raw.slice(4),\n };\n try {\n const date = new Date(\n `${dateFields.year}-${dateFields.month}-${dateFields.day}`,\n );\n if (!isNaN(date.getTime())) {\n this.raw.birthdate = `${dateFields.day}/${dateFields.month}/${dateFields.year}`;\n this.form.data.birthdate = `${dateFields.year}-${dateFields.month}-${dateFields.day}`;\n } else {\n throw { message: \"Invalid date\" };\n }\n } catch (error: unknown) {\n console.error((error as Error).message);\n }\n }\n } else {\n this.raw.birthdate = this.raw.birthdate.slice(\n 0,\n this.raw.birthdate.length - 1,\n );\n }\n },\n },\n },\n methods: {\n ...mapActions([\"updateToken\"]),\n async setFile(e: File, key: string) {\n const files = this.form.files;\n if (e.type === \"application/pdf\") {\n files[key as keyof typeof files] = e;\n } else {\n // TBD\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const tmp = await Jimp.read(await e.arrayBuffer());\n tmp.resize(960, Jimp.AUTO);\n tmp.quality(60);\n const buffer = await tmp.getBufferAsync(Jimp.MIME_JPEG);\n const data = Uint8Array.from(buffer);\n const content = new File(\n [data.buffer],\n `${\n e.name.split(\".\").length > 1\n ? e.name.split(\".\").slice(0, -1).join(\".\")\n : e.name\n }`,\n {\n type: Jimp.MIME_JPEG,\n },\n );\n files[key as keyof typeof files] = content;\n // const a = document.createElement(\"a\");\n // const uri = URL.createObjectURL(content);\n // a.href = uri;\n // a.download = \"test.jpg\";\n // a.click();\n }\n },\n updateCities(val: number) {\n // We filter get the postcode object from its ID :\n const postcode = (this.postcodes as Array).find((value) => {\n return value.id === val;\n });\n if (postcode && postcode.Cities) {\n this.raw.cities = postcode.Cities;\n }\n },\n async sendCoupon() {\n if ((this.$refs.formCoupon as HTMLFormElement).validate()) {\n this.loading = true;\n\n // Preparing the JSON part of the FormData\n const object = {\n firstname: this.form.data.firstname,\n lastname: this.form.data.lastname,\n birthdate: this.form.data.birthdate,\n address: this.form.data.address,\n placeOfBirth: this.form.data.placeOfBirth,\n phone: this.form.data.phone,\n email: this.form.data.email,\n association_id: this.form.data.associationId,\n associationOther: this.form.data.associationOther,\n city_id: this.form.data.cityId,\n postcode_id: this.form.data.postcodeId,\n };\n // Setting the endpoint and headers\n const route = `${process.env.VUE_APP_API_HOST}/coupon`;\n const data = new FormData();\n\n // Adding the Files and object as \"coupon\"\n if (this.form.files.idDocument) {\n data.append(\n \"idDocument\",\n this.form.files.idDocument as unknown as File,\n );\n }\n if (this.form.files.familyRecord) {\n data.append(\n \"familyRecord\",\n this.form.files.familyRecord as unknown as File,\n );\n }\n data.append(\n \"proofOfAddress\",\n this.form.files.proofOfAddress as unknown as File,\n );\n data.append(\"coupon\", JSON.stringify(object));\n try {\n const response = await fetch(route, {\n method: \"POST\",\n body: data,\n });\n if (response.status === 200) {\n const object = await response.json();\n // We store the token\n await this.$store.dispatch(\"updateToken\", object.uuid);\n // We can reset the form\n this.form = {\n accept: false,\n data: {\n firstname: \"\",\n lastname: \"\",\n birthdate: \"\" as string,\n address: \"\",\n placeOfBirth: \"\",\n phone: \"\",\n email: \"\",\n confirmEmail: \"\",\n associationId: 0,\n associationOther: \"\",\n cityId: 0,\n postcodeId: 0,\n swear: false,\n },\n files: {\n idDocument: null,\n familyRecord: null,\n proofOfAddress: null,\n },\n };\n this.raw = {\n birthdate: \"\",\n cities: [] as Array,\n confirmEmail: \"\",\n };\n (this.$refs.formCoupon as Record).resetValidation();\n // Once stored, we can push the new nav\n this.$router.push(`/?step=3&token=${this.coupon.token}`);\n } else {\n if (response.status === 400) {\n this.$store.dispatch(\"showAlert\", {\n message:\n \"Les données fournies posent problème, vérifiez et réessayez\",\n color: \"warning\",\n timeout: 5000,\n });\n } else {\n const object = await response.json();\n if (\n object.message.toLowerCase() == \"Validation Error\".toLowerCase()\n ) {\n this.$store.dispatch(\"showAlert\", {\n message: \"Un coupon existe déjà pour cet enfant!\",\n color: \"warning\",\n timeout: 5000,\n });\n } else {\n this.$store.dispatch(\"showAlert\", {\n message:\n \"Quelque chose s'est mal passé, veuillez réessayer ultérieurement\",\n color: \"error\",\n timeout: 5000,\n });\n }\n }\n }\n this.loading = false;\n } catch (error) {\n this.$store.dispatch(\"showAlert\", {\n message:\n \"Quelque chose s'est mal passé, veuillez réessayer ultérieurement\",\n color: \"error\",\n timeout: 5000,\n });\n this.loading = false;\n }\n } else {\n this.supportingPanel = 0;\n }\n },\n },\n data: () => ({\n supportingPanel: undefined as number | undefined,\n loading: false,\n svg: {\n arrow:\n \"M 17.56 8.872 a 0.904 0.904 90 0 0 0 -1.28 L 17.024 7.056 a 0.904 0.904 90 0 0 -1.28 0 L 9.56 13.24 L 3.376 7.056 a 0.904 0.904 90 0 0 -1.28 0 L 1.568 7.592 a 0.904 0.904 90 0 0 0 1.28 L 8.92 16.232 a 0.904 0.904 90 0 0 1.28 0 Z\",\n info: \"M 9 15 H 11 V 9 H 9 Z M 10 0 a 10 10 90 1 0 10 10 A 10.032 10.032 90 0 0 10 0 Z m 0 18 A 8 8 90 1 1 18 10 A 8.02 8.02 90 0 1 10 18 Z M 9 7 H 11 V 5 H 9 Z m 0 0\",\n },\n formValid: false,\n form: {\n accept: false,\n data: {\n firstname: \"\",\n lastname: \"\",\n birthdate: \"\" as string,\n address: \"\",\n placeOfBirth: \"\",\n phone: \"\",\n email: \"\",\n confirmEmail: \"\",\n associationId: 0,\n associationOther: \"\",\n cityId: 0,\n postcodeId: 0,\n swear: false,\n },\n files: {\n idDocument: null as null | File | Blob,\n familyRecord: null as null | File | Blob,\n proofOfAddress: null as null | File | Blob,\n },\n },\n raw: {\n birthdate: \"\",\n cities: [] as Array,\n confirmEmail: \"\",\n },\n rules: {\n files: (context: any) => {\n const common = [\n (val: File) =>\n (!!val &&\n (val.type === \"image/png\" ||\n val.type === \"image/jpeg\" ||\n val.type === \"application/pdf\")) ||\n !val ||\n \"Le type de fichier est incorrect\",\n (val: File) =>\n (!!val && val.size < 10 * 1024 * 1024) ||\n !val ||\n \"Le fichier est trop volumineux\",\n (val: File) =>\n val && val.type === \"application/pdf\"\n ? (!!val && val.size < 1.5 * 1024 * 1024) ||\n !val ||\n \"Le fichier est trop volumineux\"\n : true,\n ];\n return {\n idDocument: [\n (val: File) =>\n !!context.form.files.familyRecord ||\n !!val ||\n \"Sélectionnez soit une CNI soit un livret de famille\",\n // Type checking\n ...common,\n ],\n familyRecord: [\n (val: File) =>\n !!context.form.files.idDocument ||\n !!val ||\n \"Sélectionnez soit une CNI soit un livret de famille\",\n ...common,\n ],\n proofOfAddress: [\n (val: File) =>\n !!val || \"Joignez impérativement un justificatif de domicile\",\n ...common,\n ],\n };\n },\n name: [\n (val: string) => !!val.length || \"Entrez un nom\",\n (val: string) => val.length > 1 || \"Ce nom paraît court\",\n (val: string) => val.length < 250 || \"Ce nom est trop long\",\n ],\n email: [\n (val: string) => !!val.length || \"Veuillez entrer votre email\",\n (val: string) => emailRegex.test(val) || \"Cet email semble invalide\",\n ],\n confirmEmail: (context: any) => [\n (val: string) =>\n (val &&\n context.form.data.email &&\n (context.form.data.email as string).toLowerCase() ===\n val.toLowerCase()) ||\n \"L'email ne correspond pas\",\n ],\n address: [(val: string) => !!val.length || \"Entrez votre addresse\"],\n placeOfBirth: [\n (val: string) =>\n !!val.length || \"Entrez le lieu de naissance de l'enfant\",\n ],\n birthdate: (context: any) => {\n return [\n (value: string) => {\n if (birthdateRegex.test(value)) {\n // We try to parse it as a date\n const raw = value.replace(/[/\\-\\s]/g, \"\");\n const dateFields = {\n day: raw.slice(0, 2),\n month: raw.slice(2, 4),\n year: raw.slice(4),\n };\n try {\n const date = new Date(\n `${dateFields.year}-${dateFields.month}-${dateFields.day}`,\n );\n return (\n !isNaN(date.getTime()) ||\n \"Ce n'est pas une date de naissance valide\"\n );\n } catch (error) {\n return \"Ce n'est pas une date de naissance valide\";\n }\n } else {\n return \"Veuillez entrer une date de naissance complète\";\n }\n },\n (value: string) => {\n if (birthdateRegex.test(value)) {\n // We try to parse it as a date\n const raw = value.replace(/[/\\-\\s]/g, \"\");\n const dateFields = {\n day: raw.slice(0, 2),\n month: raw.slice(2, 4),\n year: raw.slice(4),\n };\n try {\n return (\n new Date(\n `${dateFields.year}-${dateFields.month}-${dateFields.day}`,\n ) > new Date(context.rawDates.dateOldest) ||\n `L'enfant doit être né après le ${context.dates.dateOldest}`\n );\n } catch (error) {\n return \"Ce n'est pas une date de naissance valide\";\n }\n } else {\n return \"Veuillez entrer une date de naissance complète\";\n }\n },\n (value: string) => {\n if (birthdateRegex.test(value)) {\n // We try to parse it as a date\n const raw = value.replace(/[/\\-\\s]/g, \"\");\n const dateFields = {\n day: raw.slice(0, 2),\n month: raw.slice(2, 4),\n year: raw.slice(4),\n };\n try {\n return (\n new Date(\n `${dateFields.year}-${dateFields.month}-${dateFields.day}`,\n ) < new Date(context.rawDates.dateYoungest) ||\n `L'enfant doit être né avant le ${context.dates.dateYoungest}`\n );\n } catch (error) {\n return \"Ce n'est pas une date de naissance valide\";\n }\n } else {\n return \"Veuillez entrer une date de naissance complète\";\n }\n },\n ];\n },\n postcodes: [(val: number) => !!val || \"Choisissez un code postal\"],\n cities: [(val: number) => !!val || \"Choisissez une ville\"],\n associations: [\n (val: number) => !!val || val === -1 || \"Choisissez une association\",\n ],\n associationOther: (context: any) => [\n (val: string) =>\n !(context.form.data.associationId === -1 && !val) ||\n \"Entrez le nom de l'association\",\n ],\n phone: [\n (val: string) => !!val.length || \"Entrez votre numéro de contact\",\n (val: string) =>\n /0[1-9][-/.\\s]?([0-9]{2}[-/.\\s]?){4}$/.test(val) ||\n \"Ce numéro de téléphone semble invalide\",\n ],\n checkbox: [(val: boolean) => val || \"Veuillez accepter les conditions\"],\n },\n }),\n beforeMount() {\n if (this.rawDates.dateOldest) {\n this.form.data.birthdate = (this.rawDates.dateOldest as Date)\n .toISOString()\n .split(\"T\")[0];\n }\n },\n watch: {\n rawDates: {\n deep: true,\n handler() {\n this.form.data.birthdate = (this.rawDates.dateOldest as Date)\n .toISOString()\n .split(\"T\")[0];\n },\n },\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepTwo.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepTwo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StepTwo.vue?vue&type=template&id=0f6dfe46&scoped=true&\"\nimport script from \"./StepTwo.vue?vue&type=script&lang=ts&\"\nexport * from \"./StepTwo.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./StepTwo.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./StepTwo.vue?vue&type=style&index=1&id=0f6dfe46&scoped=true&lang=scss&\"\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 \"0f6dfe46\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VStepperContent } from 'vuetify/lib/components/VStepper';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCheckbox,VCol,VContainer,VExpandTransition,VExpansionPanel,VExpansionPanelContent,VExpansionPanelHeader,VExpansionPanels,VFileInput,VForm,VIcon,VImg,VRow,VSelect,VStepperContent,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-stepper-content',{class:_vm.$vuetify.breakpoint.mdAndDown ? 'px-0' : '',attrs:{\"step\":\"3\"}},[_c('v-card',{staticClass:\"with-background\"},[_c('v-container',[_c('v-row',[_c('v-col',{staticClass:\"text-center primary--text\",attrs:{\"cols\":\"12\"}},[_c('h3',{staticClass:\"primary--text\"},[_vm._v(\" Le lien de votre coupon a été envoyé par mail! \")])])],1),_c('v-img',{staticClass:\"d-flex align-center py-5\",attrs:{\"src\":require('@/assets/svg/background.svg'),\"aspect-ratio\":\"2.3\"}},[_c('v-container',[_c('v-row',{staticClass:\"d-flex align-center\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-img',{staticClass:\"ma-lg-6 mb-6\",staticStyle:{\"rotate\":\"-15deg\"},attrs:{\"src\":require(\"@/assets/images/img_Coupon_Asso_lg.png\")}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('div',{staticClass:\"d-flex flex-column align-md-end mb-3 mr-3\"},[_c('h2',{class:_vm.$vuetify.breakpoint.mdAndDown ? 'small-title' : ''},[_vm._v(\" Télécharger le coupon \")]),_c('v-img',{staticClass:\"mr-0 mr-md-5\",attrs:{\"src\":require(\"@/assets/images/separateur.png\"),\"max-width\":\"60%\"}})],1),_c('div',{staticClass:\"mt-10\"},[_c('p',[_vm._v(\" Maintenant, vous n'avez plus qu'à transmettre votre coupon accompagné de l'accusé de réception au format papier ou numérique à votre association \")])]),_c('div',[_c('v-btn',{staticClass:\"black--text font-weight-bold mt-10 mb-5 d-block\",attrs:{\"tile\":\"\",\"loading\":_vm.loading,\"color\":\"primary\",\"x-large\":\"\",\"height\":\"70px\"},on:{\"click\":_vm.downloadCouponFromToken}},[_vm._v(\"Télécharger \"),_c('v-icon',{staticClass:\"ml-5\"},[_vm._v(\"mdi-arrow-right\")])],1),_c('v-btn',{staticClass:\"black--text font-weight-bold d-block\",attrs:{\"tile\":\"\",\"color\":\"primary\",\"x-large\":\"\",\"height\":\"70px\",\"disabled\":_vm.loading},on:{\"click\":function($event){_vm.dialog = true}}},[_vm._v(_vm._s(((_vm.$vuetify.breakpoint.mdAndDown ? \"\" : \"Faire une \") + \"nouvelle demande\"))+\" \"),_c('v-icon',{staticClass:\"ml-5\"},[_vm._v(\"mdi-arrow-right\")])],1)],1)])],1)],1)],1)],1)],1),_c('v-dialog',{attrs:{\"max-width\":\"360px\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Nouveau coupon\")]),_c('v-card-text',[_vm._v(\" Êtes-vous certain de vouloir demander un nouveau coupon?\"),_c('br'),_vm._v(\" La demande d'un nouveau coupon efface les données saisies pour ce coupon. Vous pourrez le re-télécharger en utilisant le lien fourni par mail \")]),_c('v-card-actions',[_c('v-btn',{attrs:{\"color\":\"secondary\"},on:{\"click\":function($event){_vm.dialog = false}}},[_vm._v(\"Fermer\")]),_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.resetCoupon}},[_vm._v(\"Je suis sûr(e)\")])],1)],1)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { mapState, mapActions } from \"vuex\";\n\nexport default Vue.extend({\n data: () => ({\n blob: null,\n loading: false,\n dialog: false,\n }),\n computed: {\n ...mapState([\"coupon\"]),\n },\n methods: {\n ...mapActions([\"showAlert\"]),\n async downloadCouponFromToken() {\n this.loading = true;\n const route = `${process.env.VUE_APP_API_HOST}/coupon/${this.coupon.token}`;\n // Getting BLOB from backend\n const response = await fetch(route, {\n method: \"GET\",\n });\n if (response.status === 200) {\n const blob = await response.blob();\n this.showAlert({\n message: \"Le téléchargement du coupon va commencer, patientez...\",\n color: \"success\",\n timeout: 3000,\n });\n const body = document.querySelector(\"body\");\n if (body) {\n const a = document.createElement(\"a\");\n a.style.display = \"none\";\n body.appendChild(a);\n\n // We create the URL data from the blob\n const url = URL.createObjectURL(blob);\n a.href = url;\n a.download = `CCQC-coupon-associatif-${\n new Date(Date.now()).toISOString().split(\"T\")[0]\n }.pdf`;\n setTimeout(() => {\n a.click();\n }, 3000);\n }\n } else {\n if (response.status === 404) {\n this.showAlert({\n message: \"Ce coupon n'existe pas, veuillez vérifier l'URL\",\n color: \"warning\",\n timeout: 4500,\n });\n }\n if (response.status === 400) {\n this.showAlert({\n message: \"La campagne n'est pas active\",\n color: \"warning\",\n timeout: 4500,\n });\n }\n if (response.status === 401) {\n this.showAlert({\n message: \"Ce coupon est un coupon périmé\",\n color: \"warning\",\n timeout: 4500,\n });\n }\n if (response.status >= 500) {\n this.showAlert({\n message: \"Problème serveur, réessayez ultérieurement\",\n color: \"error\",\n timeout: 4500,\n });\n }\n }\n this.loading = false;\n },\n resetCoupon() {\n this.dialog = false;\n this.$emit(\"reset\");\n },\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepThree.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepThree.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StepThree.vue?vue&type=template&id=534891a2&scoped=true&\"\nimport script from \"./StepThree.vue?vue&type=script&lang=ts&\"\nexport * from \"./StepThree.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./StepThree.vue?vue&type=style&index=0&id=534891a2&scoped=true&lang=css&\"\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 \"534891a2\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VStepperContent } from 'vuetify/lib/components/VStepper';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VContainer,VDialog,VIcon,VImg,VRow,VStepperContent})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { mapState, mapActions } from \"vuex\";\nimport StepOne from \"@/components/steps/StepOne.vue\";\nimport StepTwo from \"@/components/steps/StepTwo.vue\";\nimport StepThree from \"@/components/steps/StepThree.vue\";\n\nexport default Vue.extend({\n name: \"Stepper\",\n components: {\n StepOne,\n StepTwo,\n StepThree,\n },\n computed: {\n ...mapState([\"coupon\"]),\n step: {\n get(): number {\n return this.coupon.currentStep;\n },\n async set(value: number) {\n await this.updateStep(value);\n },\n },\n },\n data: () => ({}),\n methods: {\n ...mapActions([\"updateStep\", \"resetCoupon\"]),\n },\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Stepper.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Stepper.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Stepper.vue?vue&type=template&id=f7368144&\"\nimport script from \"./Stepper.vue?vue&type=script&lang=ts&\"\nexport * from \"./Stepper.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Stepper.vue?vue&type=style&index=0&lang=scss&\"\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/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VStepper } from 'vuetify/lib/components/VStepper';\nimport { VStepperHeader } from 'vuetify/lib/components/VStepper';\nimport { VStepperItems } from 'vuetify/lib/components/VStepper';\nimport { VStepperStep } from 'vuetify/lib/components/VStepper';\ninstallComponents(component, {VContainer,VDivider,VStepper,VStepperHeader,VStepperItems,VStepperStep})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { mapState } from \"vuex\";\n\nimport Stepper from \"../components/Stepper.vue\";\n\nexport default Vue.extend({\n name: \"Home\",\n data: () => {\n return {\n cards: [\n {\n img: \"Picto_Step_01.png\",\n text: \"Je remplis le formulaire d'inscription et dépose les justificatifs. Je génère mon coupon en validant ma demande\",\n },\n {\n img: \"Picto_Step_02.png\",\n text: \"Je télécharge mon coupon et je le reçois par mail.\",\n },\n {\n img: \"Picto_Step_03.png\",\n text: \"Je transmets à mon association la version numérique ou la version papier.\",\n },\n ],\n };\n },\n computed: {\n ...mapState([\"coupon\"]),\n },\n components: {\n Stepper,\n },\n methods: {},\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=51a93a97&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=ts&\"\nexport * from \"./Home.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=51a93a97&scoped=true&lang=scss&\"\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 \"51a93a97\",\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 { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VScaleTransition } from 'vuetify/lib/components/transitions';\nimport { VSheet } from 'vuetify/lib/components/VSheet';\ninstallComponents(component, {VBtn,VCol,VContainer,VIcon,VImg,VRow,VScaleTransition,VSheet})\n","import Association from \"@/interfaces/Association\";\nimport Postcode from \"@/interfaces/Postcode\";\nimport router from \"@/router\";\nimport Vue from \"vue\";\nimport Vuex from \"vuex\";\n\nVue.use(Vuex);\n\nconst formatDateFromIsoDateString = (dateIsoString: string): string => {\n const date = new Date(dateIsoString);\n let string = date.toLocaleDateString(\"FR-fr\", {\n day: \"numeric\",\n month: \"long\",\n year: \"numeric\",\n });\n if (string.startsWith(\"1\")) {\n string = string.replace(\"1 \", \"1er \");\n }\n return string;\n};\n\nexport default new Vuex.Store({\n state: {\n dates: {\n isActive: false,\n dateOldest: \"x\",\n dateYoungest: \"x\",\n promoStartDate: \"x\",\n promoEndDate: \"x\",\n promoDueDate: \"x\",\n },\n rawDates: {\n dateOldest: null,\n dateYoungest: null,\n },\n textFields: {\n headerTitle: \"Coupon association Quercy Caussadais\",\n },\n coupon: {\n currentStep: 1,\n token: \"\",\n },\n alert: {\n message: \"\",\n color: \"\",\n show: false,\n },\n postcodes: [] as Array,\n associations: [] as Array,\n },\n mutations: {\n CURRENT_STEP(state, payload: number) {\n state.coupon.currentStep = payload;\n },\n TOKEN(state, payload: string) {\n state.coupon.token = payload;\n },\n ALERT(state, payload) {\n state.alert = { ...payload };\n },\n DATES(state, payload) {\n state.dates = { ...payload };\n },\n RAWDATES(state, payload) {\n state.rawDates = { ...payload };\n },\n POSTCODES(state, payload) {\n state.postcodes = [...payload];\n },\n ASSOCIATIONS(state, payload) {\n state.associations = [...payload];\n },\n },\n actions: {\n updateStep(context, payload: number) {\n context.commit(\"CURRENT_STEP\", payload);\n },\n updateToken(context, payload: string) {\n context.commit(\"TOKEN\", payload);\n },\n async updateDates(context) {\n try {\n const route = `${process.env.VUE_APP_API_HOST}/config`;\n const response = await fetch(route, {\n method: \"GET\",\n });\n if (!(response.status === 200)) {\n context.commit(\"showAlert\", {\n message:\n \"Le serveur n'est pas en mesure de traiter les demandes actuellement\",\n color: \"error\",\n timeout: 3000,\n });\n } else {\n const dates = await response.json();\n const formattedDates = {\n isActive: dates.isActive,\n dateOldest: formatDateFromIsoDateString(dates.dateOldest),\n dateYoungest: formatDateFromIsoDateString(dates.dateYoungest),\n promoStartDate: formatDateFromIsoDateString(dates.promoStartDate),\n promoEndDate: formatDateFromIsoDateString(dates.promoEndDate),\n promoDueDate: formatDateFromIsoDateString(dates.promoDueDate),\n };\n const rawDates = {\n dateOldest: new Date(dates.dateOldest),\n dateYoungest: new Date(dates.dateYoungest),\n };\n context.commit(\"DATES\", formattedDates);\n context.commit(\"RAWDATES\", rawDates);\n }\n } catch (error) {\n context.commit(\"showAlert\", {\n message:\n \"Le serveur n'est pas en mesure de traiter les demandes actuellement\",\n color: \"error\",\n timeout: 3000,\n });\n }\n },\n showAlert(\n context,\n payload: { message: string; color: string; timeout: number },\n ) {\n context.commit(\"ALERT\", {\n message: payload.message,\n color: payload.color,\n show: true,\n });\n setTimeout(() => {\n context.commit(\"ALERT\", {\n message: payload.message,\n color: payload.color,\n show: false,\n });\n setTimeout(() => {\n context.commit(\"ALERT\", { message: \"\", color: \"\", show: false });\n }, 500);\n }, payload.timeout);\n },\n resetCoupon(context) {\n context.commit(\"TOKEN\", \"\");\n context.commit(\"CURRENT_STEP\", 1);\n router.push(\"/\");\n },\n async getPostcodes(context) {\n try {\n const route = `${process.env.VUE_APP_API_HOST}/postcode`;\n const response = await fetch(route, {\n method: \"GET\",\n });\n if (!(response.status === 200)) {\n context.dispatch(\"showAlert\", {\n message:\n \"Le serveur n'est pas en mesure de traiter les demandes actuellement\",\n color: \"error\",\n timeout: 3000,\n });\n } else {\n const postcodes = await response.json();\n context.commit(\"POSTCODES\", postcodes);\n }\n } catch (error) {\n context.dispatch(\"showAlert\", {\n message:\n \"Le serveur n'est pas en mesure de traiter les demandes actuellement\",\n color: \"error\",\n timeout: 3000,\n });\n }\n },\n async getAssociations(context) {\n try {\n const route = `${process.env.VUE_APP_API_HOST}/association`;\n const response = await fetch(route, {\n method: \"GET\",\n });\n if (!(response.status === 200)) {\n context.dispatch(\"showAlert\", {\n message:\n \"Le serveur n'est pas en mesure de traiter les demandes actuellement\",\n color: \"error\",\n timeout: 3000,\n });\n } else {\n const associations = await response.json();\n context.commit(\"ASSOCIATIONS\", [...associations]);\n }\n } catch (error) {\n context.dispatch(\"showAlert\", {\n message:\n \"Le serveur n'est pas en mesure de traiter les demandes actuellement\",\n color: \"error\",\n timeout: 3000,\n });\n }\n },\n },\n modules: {},\n});\n","import Vue from \"vue\";\nimport VueRouter, { RouteConfig } from \"vue-router\";\nimport Home from \"../views/Home.vue\";\nimport store from \"@/store\";\n\nVue.use(VueRouter);\n\nconst routes: Array = [\n {\n path: \"/\",\n name: \"Home\",\n component: Home,\n },\n {\n path: \"/legal\",\n name: \"Legal\",\n // route level code-splitting\n // this generates a separate chunk (about.[hash].js) for this route\n // which is lazy-loaded when the route is visited.\n component: () =>\n import(/* webpackChunkName: \"about\" */ \"../views/Legal.vue\"),\n },\n {\n path: \"/reglement\",\n name: \"Legal\",\n // route level code-splitting\n // this generates a separate chunk (about.[hash].js) for this route\n // which is lazy-loaded when the route is visited.\n component: () =>\n import(/* webpackChunkName: \"rules\" */ \"../views/Rules.vue\"),\n },\n];\n\nconst router = new VueRouter({\n mode: \"history\",\n base: process.env.BASE_URL,\n routes,\n scrollBehavior() {\n return { x: 0, y: 0 };\n },\n});\n\nrouter.beforeEach((to, from, next) => {\n if (to.query.token) {\n store.commit(\"TOKEN\", to.query.token);\n }\n if (to.query.step && typeof parseInt(to.query.step as string) === \"number\") {\n // If not active and trying to access step 2 or 3\n if (parseInt(to.query.step as string) === 3 && !store.state.coupon.token) {\n next(false);\n return;\n }\n if (parseInt(to.query.step as string) < 4) {\n store.commit(\"CURRENT_STEP\", parseInt(to.query.step as string));\n }\n }\n next();\n});\n\nexport default router;\n","import Vue from \"vue\";\nimport Vuetify from \"vuetify/lib/framework\";\n\nVue.use(Vuetify);\n\nexport default new Vuetify({\n theme: {\n themes: {\n light: {\n primary: \"#f4a733\",\n secondary: \"#485f6d\",\n accent: \"#bccf00\",\n info: \"#44bdf0\",\n anchor: \"#44bdf0\",\n },\n },\n },\n});\n","import Vue from \"vue\";\nimport App from \"./App.vue\";\nimport router from \"./router\";\nimport store from \"./store\";\nimport vuetify from \"./plugins/vuetify\";\n\nVue.config.productionTip = false;\n\nnew Vue({\n router,\n store,\n vuetify,\n render: (h) => h(App),\n}).$mount(\"#app\");\n","module.exports = __webpack_public_path__ + \"img/Illu_Home.6055f9a6.jpg\";","module.exports = __webpack_public_path__ + \"img/Logo_CCQC.ff91f1d9.png\";","module.exports = __webpack_public_path__ + \"img/coupon_2024.05e8dfdd.jpg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepThree.vue?vue&type=style&index=0&id=534891a2&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/img_Coupon_Asso.dcd21cca.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepOne.vue?vue&type=style&index=0&id=7869b1ba&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/Picto_Step_01.a9644f04.png\";"],"sourceRoot":""}