{"version":3,"sources":["webpack:///./src/components/ContactForm.vue?2589","webpack:///./src/components/ContactForm.vue?c9ad","webpack:///./src/components/ContactForm.vue?b0e6","webpack:///./src/components/ContactForm.vue?a6f1","webpack:///./node_modules/emailjs-com/es/store/store.js","webpack:///./node_modules/emailjs-com/es/methods/init/init.js","webpack:///./node_modules/emailjs-com/es/utils/validateParams.js","webpack:///./node_modules/emailjs-com/es/models/EmailJSResponseStatus.js","webpack:///./node_modules/emailjs-com/es/api/sendPost.js","webpack:///./node_modules/emailjs-com/es/methods/send/send.js","webpack:///./node_modules/emailjs-com/es/methods/sendForm/sendForm.js","webpack:///./node_modules/emailjs-com/es/index.js","webpack:///src/components/ContactForm.vue","webpack:///./src/components/ContactForm.vue?4d79","webpack:///./src/components/ContactForm.vue"],"names":["exports","module","push","i","content","__esModule","default","locals","add","render","_vm","this","_h","$createElement","_c","_self","staticClass","class","submitted","attrs","_v","on","$event","preventDefault","sendMessage","apply","arguments","directives","name","rawName","value","params","expression","domProps","target","composing","$set","submitting","staticRenderFns","store","_origin","init","userID","origin","_userID","validateParams","serviceID","templateID","EmailJSResponseStatus","httpResponse","status","text","responseText","sendPost","url","data","headers","Promise","resolve","reject","xhr","XMLHttpRequest","addEventListener","responseStatus","open","Object","keys","forEach","key","setRequestHeader","send","templatePrams","uID","lib_version","user_id","service_id","template_id","template_params","JSON","stringify","findHTMLForm","form","currentForm","document","querySelector","nodeName","sendForm","formData","FormData","append","injectStyles","context","style0","__inject__","component"],"mappings":"kHAAA,oH,uBCAAA,EAAUC,EAAOD,QAAU,EAAQ,OAAR,EAAyD,GAKpFA,EAAQE,KAAK,CAACD,EAAOE,EAAI,g7BAAi7B,M,uBCF18B,IAAIC,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACH,EAAOE,EAAIC,EAAS,MAC7DA,EAAQG,SAAQN,EAAOD,QAAUI,EAAQG,QAE5C,IAAIC,EAAM,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EACb8B,gBAAiBN,GAErB,OAAOlB,EAAS,uBAAwByB,KAAKC,UAAUhD,GAAS,CAC5D,eAAgB,sBCnBlBiD,EAAgBC,IAClB,IAAIC,EAOJ,GALIA,EADgB,kBAATD,EACOE,SAASC,cAAcH,GAGvBA,GAEbC,GAAwC,SAAzBA,EAAYG,SAC5B,KAAM,0FAEV,OAAOH,GAUEI,EAAW,CAACxC,EAAWC,EAAYkC,EAAMvC,KAClD,MAAM8B,EAAM9B,GAAUH,EAAMK,QACtBsC,EAAcF,EAAaC,GACjCpC,EAAe2B,EAAK1B,EAAWC,GAC/B,MAAMwC,EAAW,IAAIC,SAASN,GAK9B,OAJAK,EAASE,OAAO,cAAe,SAC/BF,EAASE,OAAO,aAAc3C,GAC9ByC,EAASE,OAAO,cAAe1C,GAC/BwC,EAASE,OAAO,UAAWjB,GACpBnB,EAAS,4BAA6BkC,IC7BlC,OACX9C,OACA6B,OACAgB,YCsBJ,GACE,KAAF,eAEE,KAHF,WAII,MAAJ,CACM,WAAN,EACM,YAAN,EACM,OAAN,CACQ,KAAR,GACQ,MAAR,GACQ,MAAR,GACQ,IAAR,GACQ,QAAR,MAKE,QAAF,CACI,YADJ,WACM,IAAN,OACM,KAAN,cACM,EAAN,uDACA,iBACQ,EAAR,aACQ,EAAR,iBACA,WACQ,MAAR,4FAME,QA/BF,WAgCI,EAAJ,8BACI,KAAJ,kCC9DwS,I,YCGxS,SAASI,EAAcC,GAErB,IAAIC,EAAS,EAAQ,QACnBA,EAAOC,YAAYD,EAAOC,WAAWF,GAMzC,IAAIG,EAAY,eACd,EACArF,EACA6B,GACA,EACAoD,EACA,KACA,YAIa,aAAAI,E","file":"js/chunks/chunk-30bc51a1.js?id=0c663d9655253e97c228","sourcesContent":["export * from \"-!../../node_modules/vue-style-loader/index.js??ref--9-oneOf-1-0!../../node_modules/css-loader/index.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/postcss-loader/src/index.js??ref--9-oneOf-1-3!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactForm.vue?vue&type=style&index=0&lang=sass&\"","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".contact-form{background:#242424;padding:55px 15px 50px 15px;-webkit-clip-path:polygon(0 0,100% 7%,100% 94%,0 100%);clip-path:polygon(0 0,100% 7%,100% 94%,0 100%);-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}@media screen and (min-width:1200px){.contact-form{padding:55px 20px 50px 20px}}.contact-form.has-submitted{margin-top:-50px}.contact-form label{margin-bottom:10px}.contact-form input,.contact-form label,.contact-form textarea{font-family:nexa-light}.contact-form button,.contact-form input,.contact-form label,.contact-form textarea{display:block;border:none;color:#fff}.contact-form button:focus,.contact-form input:focus,.contact-form label:focus,.contact-form textarea:focus{outline:none}.contact-form textarea{resize:none;height:100px}.contact-form input,.contact-form textarea{width:100%;padding:15px;margin-bottom:15px;background:rgba(0,0,0,.25)}.contact-form .btn{display:block;margin:auto;z-index:1}\", \"\"]);\n\n// exports\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/index.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/postcss-loader/src/index.js??ref--9-oneOf-1-3!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactForm.vue?vue&type=style&index=0&lang=sass&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"dfb2457e\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact-form\",class:{'has-submitted': _vm.submitted}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.submitted)?_c('div',[_c('h2',[_vm._v(\"Thank you for your enquiry!\")]),_c('p',[_vm._v(\"We'll be in touch shortly to discuss your requirements, but if you need immediate help or have questions that can't wait, please feel free to contact us directly on \"),_c('strong',[_vm._v(\"0800 193 3981\")]),_vm._v(\" or \"),_c('strong',[_vm._v(\"07936 973981\")]),_vm._v(\".\")]),_c('p',[_vm._v(\"Did you know, we've got everything you need to stay ahead of the curve? Discover what's new in the world of technology over at \"),_c('router-link',{attrs:{\"to\":\"/blog\"}},[_vm._v(\"our blog\")]),_vm._v(\"! You'll also find latest updates to our systems and services.\")],1)]):_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.sendMessage.apply(null, arguments)}}},[_c('label',{attrs:{\"for\":\"name\"}},[_vm._v(\"Name\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.params.name),expression:\"params.name\"}],attrs:{\"required\":\"\",\"type\":\"text\"},domProps:{\"value\":(_vm.params.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.params, \"name\", $event.target.value)}}}),_c('label',{attrs:{\"for\":\"email\"}},[_vm._v(\"Email\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.params.email),expression:\"params.email\"}],attrs:{\"required\":\"\",\"type\":\"email\"},domProps:{\"value\":(_vm.params.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.params, \"email\", $event.target.value)}}}),_c('label',{attrs:{\"for\":\"phone\"}},[_vm._v(\"Phone\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.params.phone),expression:\"params.phone\"}],attrs:{\"required\":\"\",\"type\":\"text\"},domProps:{\"value\":(_vm.params.phone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.params, \"phone\", $event.target.value)}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.params.url),expression:\"params.url\"}],attrs:{\"type\":\"hidden\"},domProps:{\"value\":(_vm.params.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.params, \"url\", $event.target.value)}}}),_c('label',{attrs:{\"for\":\"message\"}},[_vm._v(\"Message\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.params.message),expression:\"params.message\"}],domProps:{\"value\":(_vm.params.message)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.params, \"message\", $event.target.value)}}}),_c('button',{staticClass:\"btn secondary\",attrs:{\"disabled\":_vm.submitting}},[_vm._v(\"Send Enquiry\")])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const store = {\n    _origin: 'https://api.emailjs.com',\n};\n","import { store } from '../../store/store';\n/**\n * Initiation\n * @param {string} userID - set the EmailJS user ID\n * @param {string} origin - set the EmailJS origin\n */\nexport const init = (userID, origin = 'https://api.emailjs.com') => {\n    store._userID = userID;\n    store._origin = origin;\n};\n","export const validateParams = (userID, serviceID, templateID) => {\n    if (!userID) {\n        throw 'The user ID is required. Visit https://dashboard.emailjs.com/admin/integration';\n    }\n    if (!serviceID) {\n        throw 'The service ID is required. Visit https://dashboard.emailjs.com/admin';\n    }\n    if (!templateID) {\n        throw 'The template ID is required. Visit https://dashboard.emailjs.com/admin/templates';\n    }\n    return true;\n};\n","export class EmailJSResponseStatus {\n    constructor(httpResponse) {\n        this.status = httpResponse.status;\n        this.text = httpResponse.responseText;\n    }\n}\n","import { EmailJSResponseStatus } from '../models/EmailJSResponseStatus';\nimport { store } from '../store/store';\nexport const sendPost = (url, data, headers = {}) => {\n    return new Promise((resolve, reject) => {\n        const xhr = new XMLHttpRequest();\n        xhr.addEventListener('load', ({ target }) => {\n            const responseStatus = new EmailJSResponseStatus(target);\n            if (responseStatus.status === 200 || responseStatus.text === 'OK') {\n                resolve(responseStatus);\n            }\n            else {\n                reject(responseStatus);\n            }\n        });\n        xhr.addEventListener('error', ({ target }) => {\n            reject(new EmailJSResponseStatus(target));\n        });\n        xhr.open('POST', store._origin + url, true);\n        Object.keys(headers).forEach((key) => {\n            xhr.setRequestHeader(key, headers[key]);\n        });\n        xhr.send(data);\n    });\n};\n","import { store } from '../../store/store';\nimport { validateParams } from '../../utils/validateParams';\nimport { sendPost } from '../../api/sendPost';\n/**\n * Send a template to the specific EmailJS service\n * @param {string} serviceID - the EmailJS service ID\n * @param {string} templateID - the EmailJS template ID\n * @param {object} templatePrams - the template params, what will be set to the EmailJS template\n * @param {string} userID - the EmailJS user ID\n * @returns {Promise<EmailJSResponseStatus>}\n */\nexport const send = (serviceID, templateID, templatePrams, userID) => {\n    const uID = userID || store._userID;\n    validateParams(uID, serviceID, templateID);\n    const params = {\n        lib_version: '3.2.0',\n        user_id: uID,\n        service_id: serviceID,\n        template_id: templateID,\n        template_params: templatePrams,\n    };\n    return sendPost('/api/v1.0/email/send', JSON.stringify(params), {\n        'Content-type': 'application/json',\n    });\n};\n","import { store } from '../../store/store';\nimport { validateParams } from '../../utils/validateParams';\nimport { sendPost } from '../../api/sendPost';\nconst findHTMLForm = (form) => {\n    let currentForm;\n    if (typeof form === 'string') {\n        currentForm = document.querySelector(form);\n    }\n    else {\n        currentForm = form;\n    }\n    if (!currentForm || currentForm.nodeName !== 'FORM') {\n        throw 'The 3rd parameter is expected to be the HTML form element or the style selector of form';\n    }\n    return currentForm;\n};\n/**\n * Send a form the specific EmailJS service\n * @param {string} serviceID - the EmailJS service ID\n * @param {string} templateID - the EmailJS template ID\n * @param {string | HTMLFormElement} form - the form element or selector\n * @param {string} userID - the EmailJS user ID\n * @returns {Promise<EmailJSResponseStatus>}\n */\nexport const sendForm = (serviceID, templateID, form, userID) => {\n    const uID = userID || store._userID;\n    const currentForm = findHTMLForm(form);\n    validateParams(uID, serviceID, templateID);\n    const formData = new FormData(currentForm);\n    formData.append('lib_version', '3.2.0');\n    formData.append('service_id', serviceID);\n    formData.append('template_id', templateID);\n    formData.append('user_id', uID);\n    return sendPost('/api/v1.0/email/send-form', formData);\n};\n","import { init } from './methods/init/init';\nimport { send } from './methods/send/send';\nimport { sendForm } from './methods/sendForm/sendForm';\nexport { init, send, sendForm };\nexport default {\n    init,\n    send,\n    sendForm,\n};\n","<template>\n  <div class=\"contact-form\" :class=\"{'has-submitted': submitted}\">\n    <transition name=\"fade\" mode=\"out-in\">\n      <div v-if=\"submitted\">\n        <h2>Thank you for your enquiry!</h2>\n        <p>We'll be in touch shortly to discuss your requirements, but if you need immediate help or have questions that can't wait, please feel free to contact us directly on <strong>0800 193 3981</strong> or <strong>07936 973981</strong>.</p>\n        <p>Did you know, we've got everything you need to stay ahead of the curve? Discover what's new in the world of technology over at <router-link to=\"/blog\">our blog</router-link>! You'll also find latest updates to our systems and services.</p>\n      </div>\n\n      <form @submit.prevent=\"sendMessage\" v-else>\n        <label for=\"name\">Name</label>\n        <input required type=\"text\" v-model=\"params.name\">\n        <label for=\"email\">Email</label>\n        <input required type=\"email\" v-model=\"params.email\">\n        <label for=\"phone\">Phone</label>\n        <input required type=\"text\" v-model=\"params.phone\">\n        <input type=\"hidden\" v-model=\"params.url\">\n        <label for=\"message\">Message</label>\n        <textarea v-model=\"params.message\"></textarea>\n        <button :disabled=\"submitting\" class=\"btn secondary\">Send Enquiry</button>\n      </form>\n    </transition>\n  </div>\n</template>\n\n<script>\n  import emailjs from 'emailjs-com'\n  import { init } from 'emailjs-com'\n\n  export default {\n    name: 'contact-form',\n\n    data() {\n      return {\n        submitted: false,\n        submitting: false,\n        params: {\n          name: '',\n          email:  '',\n          phone: '',\n          url: '',\n          message: ''\n        }\n      }\n    },\n\n    methods: {\n      sendMessage() {\n        this.submitting = true\n        emailjs.send('service_s57jpyf', 'template_71wzmwi', this.params)\n          .then(() => {\n             this.submitted = true\n             this.submitting = false\n          }, () => {\n             alert('There was an issue sending your message. Please check all fields or give us a call.')\n          })\n      }\n    },\n\n\n    mounted() {\n      init(\"user_M6V4dHB5PRBcp3G2N2WSD\")\n      this.params.url = window.location.href\n    }\n  }\n</script>\n\n<style lang=\"sass\">\n  @import '../stylesheets/base/variables'\n  @import '../stylesheets/base/theme'\n  @import '../stylesheets/helpers/mixins'\n  @import '../stylesheets/helpers/extends'\n\n  .contact-form\n    background: $triangle-dark\n    padding: 55px 15px 50px 15px\n    clip-path: polygon(0% 0%, 100% 7%, 100% 94%, 0% 100%)\n    transition: all .5s ease-in-out\n\n    @include media($media-large)\n      padding: 55px 20px 50px 20px\n\n    &.has-submitted\n      margin-top: -50px\n\n    label\n      margin-bottom: $gap-x-small\n\n    label, input, textarea,\n      font-family: $font-body\n\n    label, input, textarea, button\n      display: block\n      border: none\n      color: #fff\n\n      &:focus\n        outline: none\n\n    textarea\n      resize: none\n      height: 100px\n\n    input, textarea,\n      width: 100%\n      padding: $gap-small\n      margin-bottom: $gap-small\n      background: rgba(0, 0, 0, 0.25)\n\n    .btn\n      display: block\n      margin: auto\n      z-index: 1\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContactForm.vue?vue&type=template&id=03724c6c&\"\nimport script from \"./ContactForm.vue?vue&type=script&lang=js&\"\nexport * from \"./ContactForm.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./ContactForm.vue?vue&type=style&index=0&lang=sass&\")\nif (style0.__inject__) style0.__inject__(context)\n\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  injectStyles,\n  null,\n  \"46ddea85\"\n  \n)\n\nexport default component.exports"],"sourceRoot":""}