{"version":3,"sources":["webpack:///./src/lib/messages.js","webpack:///./src/components/lists/LandingForm/LandingForm.vue?03c1","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithHoles.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArrayLimit.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/nonIterableRest.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/slicedToArray.js","webpack:///./src/components/lists/LandingForm/LandingFormOne.vue?c32d","webpack:///src/components/lists/LandingForm/LandingFormOne.vue","webpack:///./src/components/lists/LandingForm/LandingFormOne.vue?40b0","webpack:///./src/components/lists/LandingForm/LandingFormOne.vue","webpack:///./src/components/lists/LandingForm/LandingFormTwo.vue?700b","webpack:///src/components/lists/LandingForm/LandingFormTwo.vue","webpack:///./src/components/lists/LandingForm/LandingFormTwo.vue?231a","webpack:///./src/components/lists/LandingForm/LandingFormTwo.vue","webpack:///src/components/lists/LandingForm/LandingForm.vue","webpack:///./src/components/lists/LandingForm/LandingForm.vue?9bb9","webpack:///./src/components/lists/LandingForm/LandingForm.vue","webpack:///./node_modules/core-js/library/fn/get-iterator.js","webpack:///./src/components/Overlay.vue?6c9f","webpack:///./src/components/lists/SimpleForm/Index.vue?724c","webpack:///src/components/lists/SimpleForm/Index.vue","webpack:///./src/components/lists/SimpleForm/Index.vue?5701","webpack:///./src/components/lists/SimpleForm/Index.vue","webpack:///./src/components/lists/LandingForm/LandingFormOne.vue?3bf1","webpack:///./node_modules/core-js/modules/_object-to-array.js","webpack:///./src/components/lists/SimpleForm/Index.vue?bd30","webpack:///./node_modules/@babel/runtime-corejs2/core-js/get-iterator.js","webpack:///./src/mixins/ImageRenderer.js","webpack:///./src/components/lists/LandingForm/LandingForm.vue?4950","webpack:///./src/components/Overlay.vue?26ed","webpack:///./node_modules/core-js/library/modules/core.get-iterator.js","webpack:///./src/components/lists/SimpleForm/Index.vue?e713","webpack:///./src/components/lists/LandingForm/LandingFormOne.vue?7ac7","webpack:///./src/mixins/parse.js","webpack:///./src/components/Overlay.vue?c468","webpack:///./src/components/lists/LandingForm/LandingFormTwo.vue?622f","webpack:///./src/components/lists/LandingForm/LandingForm.vue?e180","webpack:///./src/components/lists/SimpleForm/FormFields.vue?71da","webpack:///src/components/lists/SimpleForm/FormFields.vue","webpack:///./src/components/lists/SimpleForm/FormFields.vue?6a2d","webpack:///./src/components/lists/SimpleForm/FormFields.vue","webpack:///./src/components/lists/SimpleForm/FormFields.vue?91fc","webpack:///./src/components/Overlay.vue?0483","webpack:///src/components/Overlay.vue","webpack:///./src/components/Overlay.vue?3525","webpack:///./src/components/Overlay.vue","webpack:///./src/components/lists/SimpleForm/Index.vue?f65b","webpack:///./src/components/lists/LandingForm/LandingFormTwo.vue?b955","webpack:///./src/components/lists/LandingForm/LandingFormOne.vue?0923","webpack:///./src/components/lists/LandingForm/LandingForm.vue?5b9e","webpack:///./src/components/lists/LandingForm/LandingFormTwo.vue?db61","webpack:///./src/components/lists/SimpleForm/FormFields.vue?76a0","webpack:///./src/components/lists/SimpleForm/FormFields.vue?3433","webpack:///./node_modules/core-js/modules/es7.object.entries.js"],"names":["messagesUrl","siteId","createMessage","message","request","render","_vm","this","_h","$createElement","_c","_self","staticClass","landingFormStyle","tag","attrs","imageAlt","item","fields","classes","on","sendMessage","_e","_v","_s","contact","sender_name","separator","staticRenderFns","_arrayWithHoles","arr","_iterableToArrayLimit","i","Object","_arr","_n","_d","undefined","_i","next","done","push","value","length","err","_nonIterableRest","TypeError","_slicedToArray","unsupportedIterableToArray","class","animationClass","landingBackground","imageWidth","parse","heading","sub_heading","style","background","siteBackground","domProps","content","model","callback","$$v","expression","name","mixins","components","FormFields","ResponsiveImage","props","data","contacted","computed","site","background_color","image","messageParams","friendlyTypes","methods","$emit","setImageWidth","screenSize","injectStyles","context","style0","__inject__","component","Overlay","SectionSeparator","LandingFormOne","LandingFormTwo","loaded","landing_form_style","image_alt_text","entries","objects","forEach","key","includes","label","field_type","dropdown_options","text_placeholder","text_box_placeholder","items","loadPhoneField","unshift","mounted","module","exports","__esModule","default","locals","add","title","DESCRIPTORS","getKeys","toIObject","isEnum","f","isEntries","it","O","keys","result","call","currentScreenSize","isRetina","window","devicePixelRatio","throttle","fn","wait","time","Date","now","handleResize","addEventListener","handleImages","innerWidth","anObject","get","getIterator","iterFn","JSON","$event","preventDefault","submit","apply","arguments","sender_nameError","$v","resource","$touch","$set","sender_emailError","sender_email","_l","field","index","fieldType","placeholder","dropdownOptions","handleCustomField","_m","formBody","Array","type","replace","options","newOptions","option","map","fieldSlug","toLowerCase","formattedBody","charAt","toUpperCase","slice","string","createFields","slug","currentField","event","body","validations","watch","target","currentTarget","closeOverlay","_t","$export","$entries","S"],"mappings":"yGAAA,kDAEA,SAASA,EAAYC,GACnB,uBAAiBA,EAAjB,aAWK,SAASC,EAAcD,EAAQE,GACpC,OAAOC,eAAQ,OAAQJ,EAAYC,GAASE,K,2CCf9C,IAAIE,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,6BAA6B,CAAEN,EAAU,OAAEI,EAAGJ,EAAIO,iBAAiB,CAACC,IAAI,MAAMC,MAAM,CAAC,SAAWT,EAAIU,SAAS,KAAOV,EAAIW,KAAK,OAASX,EAAIY,OAAO,QAAUZ,EAAIa,SAASC,GAAG,CAAC,YAAcd,EAAIe,eAAef,EAAIgB,KAAKZ,EAAG,aAAa,CAACK,MAAM,CAAC,KAAO,OAAO,KAAO,WAAW,CAAET,EAAa,UAAEI,EAAG,UAAU,CAACA,EAAG,KAAK,CAACJ,EAAIiB,GAAG,WAAWjB,EAAIkB,GAAGlB,EAAImB,QAAQC,aAAa,OAAOhB,EAAG,IAAI,CAACJ,EAAIiB,GAAG,yFAAyFjB,EAAIgB,MAAM,GAAIhB,EAAa,UAAEI,EAAG,mBAAmB,CAACK,MAAM,CAAC,UAAYT,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u8KAA48K,M,kCCLr+K,yG,qBCAA8E,EAAUD,EAAOC,QAAU,EAAQ,OAAR,EAA+D,GAK1FA,EAAQrE,KAAK,CAACoE,EAAO7E,EAAI,muBAAouB,M,qBCJ7vB,IAAIgK,EAAU,EAAQ,QAClBC,EAAW,EAAQ,OAAR,EAA8B,GAE7CD,EAAQA,EAAQE,EAAG,SAAU,CAC3BnG,QAAS,SAAiB2B,GACxB,OAAOuE,EAASvE","file":"js/chunks/forms.js?id=36260cd3ba60a19bc37f","sourcesContent":["import {request} from '@/lib/request'\n\nfunction messagesUrl(siteId) {\n  return `/sites/${siteId}/messages`\n}\n\n/**\n * Create a contact message\n *\n * @param siteId {string} - site id\n * @param message {object} - message\n *\n * @returns {promise}\n */\nexport function createMessage(siteId, message) {\n  return request('post', messagesUrl(siteId), message)\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-section landing-form\"},[(_vm.loaded)?_c(_vm.landingFormStyle,{tag:\"div\",attrs:{\"imageAlt\":_vm.imageAlt,\"item\":_vm.item,\"fields\":_vm.fields,\"classes\":_vm.classes},on:{\"sendMessage\":_vm.sendMessage}}):_vm._e(),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.contacted)?_c('Overlay',[_c('h2',[_vm._v(\"Thanks, \"+_vm._s(_vm.contact.sender_name)+\"!\")]),_c('p',[_vm._v(\"Your message was successfully sent and we'll get back to you as soon as possible.\")])]):_vm._e()],1),(_vm.separator)?_c('SectionSeparator',{attrs:{\"separator\":_vm.separator}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import _Array$isArray from \"../../core-js/array/is-array\";\nexport default function _arrayWithHoles(arr) {\n  if (_Array$isArray(arr)) return arr;\n}","import _getIterator from \"../../core-js/get-iterator\";\nimport _isIterable from \"../../core-js/is-iterable\";\nimport _Symbol from \"../../core-js/symbol\";\nexport default function _iterableToArrayLimit(arr, i) {\n  if (typeof _Symbol === \"undefined\" || !_isIterable(Object(arr))) return;\n  var _arr = [];\n  var _n = true;\n  var _d = false;\n  var _e = undefined;\n\n  try {\n    for (var _i = _getIterator(arr), _s; !(_n = (_s = _i.next()).done); _n = true) {\n      _arr.push(_s.value);\n\n      if (i && _arr.length === i) break;\n    }\n  } catch (err) {\n    _d = true;\n    _e = err;\n  } finally {\n    try {\n      if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n    } finally {\n      if (_d) throw _e;\n    }\n  }\n\n  return _arr;\n}","export default function _nonIterableRest() {\n  throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray\";\nimport nonIterableRest from \"./nonIterableRest\";\nexport default function _slicedToArray(arr, i) {\n  return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"landing-form-one\"},[_c('div',{staticClass:\"landing-banner\"},[_c('ResponsiveImage',{class:_vm.animationClass,attrs:{\"imageVersions\":_vm.landingBackground,\"description\":_vm.imageAlt,\"width\":_vm.imageWidth}}),_c('div',{staticClass:\"banner-inner\"},[(_vm.parse(_vm.item).heading)?_c('h1',[_vm._v(_vm._s(_vm.parse(_vm.item).heading))]):_vm._e(),(_vm.parse(_vm.item).sub_heading)?_c('h2',[_vm._v(_vm._s(_vm.parse(_vm.item).sub_heading))]):_vm._e()])],1),_c('div',{staticClass:\"container landing-container landing-background\",style:({background: _vm.siteBackground})},[_c('div',{staticClass:\"landing-background\",style:({background: _vm.siteBackground})}),_c('div',{class:_vm.classes},[_c('div',{staticClass:\"text\",style:({background: _vm.siteBackground})},[_c('div',{staticClass:\"landing-text\",domProps:{\"innerHTML\":_vm._s(_vm.parse(_vm.item).content)}})]),_c('FormFields',{attrs:{\"items\":_vm.fields},on:{\"submit\":_vm.sendMessage},model:{value:(_vm.contact),callback:function ($$v) {_vm.contact=$$v},expression:\"contact\"}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"landing-form-one\">\n    <div class=\"landing-banner\">\n      <ResponsiveImage\n        :imageVersions=\"landingBackground\"\n        :class=\"animationClass\"\n        :description=\"imageAlt\"\n        :width=\"imageWidth\"/>\n\n      <div class=\"banner-inner\">\n        <h1 v-if=\"parse(item).heading\">{{parse(item).heading}}</h1>\n        <h2 v-if=\"parse(item).sub_heading\">{{parse(item).sub_heading}}</h2>\n      </div>\n    </div>\n\n    <div class=\"container landing-container landing-background\" :style=\"{background: siteBackground}\">\n      <div class=\"landing-background\" :style=\"{background: siteBackground}\"></div>\n\n      <div :class=\"classes\">\n        <div class=\"text\" :style=\"{background: siteBackground}\">\n          <div class=\"landing-text\" v-html=\"parse(item).content\"></div>\n        </div>\n\n        <FormFields\n          :items=\"fields\"\n          @submit=\"sendMessage\"\n          v-model=\"contact\"/>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nimport {mapState} from 'vuex'\n\nimport parse from '@/mixins/parse'\nimport ImageRenderer from '@/mixins/ImageRenderer'\n\nimport ResponsiveImage from '@/components/ResponsiveImage'\n\nimport FormFields from '@/components/lists/SimpleForm/FormFields'\n\nexport default {\n  name: 'landing-form-one',\n\n  mixins: [parse, ImageRenderer],\n\n  components: {\n    FormFields,\n    ResponsiveImage\n  },\n\n  props: [\n    'item',\n    'title',\n    'fields',\n    'classes',\n    'imageAlt'\n  ],\n\n  data() {\n    return {\n      contact: {},\n      contacted: false\n    }\n  },\n\n  computed: {\n    ...mapState(['site']),\n\n    animationClass() {\n      return [\n        'landing-animation',\n        this.parse(this.item).image_animation ? `animate-${this.parse(this.item).image_animation}` : ''\n      ]\n    },\n\n    siteBackground() {\n      return this.site.background_color ? this.site.background_color : '#8e8e8e'\n    },\n\n    landingBackground() {\n      let image = this.item.image_versions.length ? this.item.image_versions : []\n      return image\n    },\n\n    messageParams() {\n      return {\n        message: this.contact\n      }\n    },\n\n    friendlyTypes() {\n      return (type) => {\n        if(type.includes('textarea')) {\n          return 'form-textarea'\n        } else if (type.includes('text')) {\n          return 'form-text'\n        } else if (type.includes('select')) {\n          return 'form-select'\n        } else {\n          return 'form-checkbox'\n        }\n      }\n    }\n  },\n\n  methods: {\n    sendMessage() {\n      this.$emit('sendMessage', this.contact, this.messageParams)\n    },\n\n    setImageWidth() {\n      let screenSize = this.currentScreenSize\n\n      if (screenSize >= 1100) {\n        this.imageWidth = 1800\n\n      } else if (screenSize >= 768) {\n        this.imageWidth = 1100\n\n        if(this.isRetina) {\n          this.imageWidth = 1800\n        }\n\n      } else if (screenSize >= 600) {\n        this.imageWidth = 768\n\n        if(this.isRetina) {\n          this.imageWidth = 1100\n        }\n\n      } else {\n        this.imageWidth = 600\n\n        if(this.isRetina) {\n          this.imageWidth = 768\n        }\n      }\n    }\n  }\n}\n</script>\n\n<style lang=\"sass\">\n@import '../../../stylesheets/base/variables'\n@import '../../../stylesheets/helpers/mixins'\n@import '../../../stylesheets/helpers/extends'\n@import '../../../stylesheets/base/theme'\n\n.landing-form-one\n  &.page-section\n    padding-top: 0!important\n    padding-left: 0!important\n    padding-right: 0!important\n\n  .landing-content\n    display: flex\n    flex-direction: column\n\n    .text\n      padding: $gap-small\n      position: relative\n\n      &:before\n        content: ''\n        position: absolute\n        top: 0\n        left: 0\n        width: 100%\n        height: 100%\n        pointer-events: none\n\n        @include themify($themes)\n          background: themed('content-bg')\n\n      @include media($media-gt-small)\n        padding: $gap-medium\n\n    .landing-text\n      position: relative\n\n      @include media($media-gt-small)\n        position: sticky\n        top: $min-nav-height + $gap-medium\n\n    @include media($media-lt-small)\n      &.text-below\n        flex-direction: column-reverse\n\n    @include media($media-gt-small)\n      flex-direction: row\n\n      &.text-right\n        flex-direction: row-reverse\n\n      &.one-third\n        .text\n          flex-basis: percentage(1/3)\n\n      &.half\n        .text\n          flex-basis: percentage(1/2)\n\n      &.two-thirds\n        .text\n          flex-basis: percentage(2/3)\n\n      &.three-fifths\n        .text\n          flex-basis: percentage(3/5)\n\n      &.align-top\n        .text\n          align-items: top\n\n      &.align-middle\n        .text\n          align-items: center\n\n      &.align-bottom\n        .text\n          align-items: flex-end\n\n  .form-contact\n    background: none!important\n    box-shadow: none!important\n\n  .form-container\n    padding-top: 0\n\n  .simple-form-fields\n    flex: 1\n\n  .landing-container\n    margin: -$gap-x-large $gap-small 0\n    z-index: 10\n    position: relative\n    box-shadow: $content-shadow\n\n    @include media($media-container)\n      margin: -$gap-x-large auto 0\n\n  .landing-background\n    &:before\n      content: ''\n      position: absolute\n      width: 100%\n      height: 100%\n      top: 0\n      left: 0\n      pointer-events: none\n      z-index: -1\n\n      @include themify($themes)\n        background: themed('content-bg')\n\n  .landing-banner\n    position: relative\n    display: flex\n    align-items: center\n    justify-content: center\n    overflow: hidden\n    height: 50vh\n\n    &:before\n      content: ''\n      position: absolute\n      width: 100%\n      height: 100%\n      top: 0\n      left: 0\n      pointer-events: none\n      z-index: 1\n      background: rgba(0, 0, 0, 0.3)\n\n    .loader\n      display: none\n\n    .banner-inner\n      position: absolute\n      top: 0\n      left: 0\n      width: 100%\n      height: 100%\n      display: flex\n      align-items: center\n      justify-content: center\n      flex-direction: column\n      text-align: center\n      z-index: 5\n\n      h1, h2, h3, p, span\n        color: #fff!important\n\n      h1, h2, h3\n        margin: $gap-small 0\n        line-height: 1\n\n      h1\n        font-size: 56px\n\n      h2\n        font-size: 32px\n\n    img\n      position: absolute\n      top: 0\n      left: 0\n      width: 100%\n      height: 100%\n      object-fit: cover\n\n  .overlay\n    .inner\n      max-width: 500px\n\n    p, h2\n      color: $color-default-text\n      text-align: center\n\n  .landing-animation\n    width: 100%\n    height: 100%\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LandingFormOne.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LandingFormOne.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LandingFormOne.vue?vue&type=template&id=877acabe&\"\nimport script from \"./LandingFormOne.vue?vue&type=script&lang=js&\"\nexport * from \"./LandingFormOne.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./LandingFormOne.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  \"f6bb42d4\"\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"landing-form-two\"},[_c('div',{staticClass:\"landing-banner\"},[_c('ResponsiveImage',{class:_vm.animationClass,attrs:{\"imageVersions\":_vm.landingBackground,\"description\":_vm.imageAlt,\"width\":_vm.imageWidth}}),_c('div',{staticClass:\"banner-inner container\"},[_c('div',{class:_vm.classes},[_c('div',{staticClass:\"text\"},[(_vm.parse(_vm.item).heading)?_c('h1',[_vm._v(_vm._s(_vm.parse(_vm.item).heading))]):_vm._e(),(_vm.parse(_vm.item).sub_heading)?_c('h2',[_vm._v(_vm._s(_vm.parse(_vm.item).sub_heading))]):_vm._e(),_c('div',{staticClass:\"landing-text\",domProps:{\"innerHTML\":_vm._s(_vm.parse(_vm.item).content)}})]),_c('FormFields',{attrs:{\"items\":_vm.fields},on:{\"submit\":_vm.sendMessage},model:{value:(_vm.contact),callback:function ($$v) {_vm.contact=$$v},expression:\"contact\"}})],1)])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"landing-form-two\">\n    <div class=\"landing-banner\">\n      <ResponsiveImage\n        :imageVersions=\"landingBackground\"\n        :class=\"animationClass\"\n        :description=\"imageAlt\"\n        :width=\"imageWidth\"/>\n\n        <div class=\"banner-inner container\">\n          <div :class=\"classes\">\n          <div class=\"text\">\n            <h1 v-if=\"parse(item).heading\">{{parse(item).heading}}</h1>\n            <h2 v-if=\"parse(item).sub_heading\">{{parse(item).sub_heading}}</h2>\n\n            <div class=\"landing-text\" v-html=\"parse(item).content\"></div>\n          </div>\n\n          <FormFields\n            :items=\"fields\"\n            @submit=\"sendMessage\"\n            v-model=\"contact\"/>\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nimport parse from '@/mixins/parse'\nimport ImageRenderer from '@/mixins/ImageRenderer'\n\nimport ResponsiveImage from '@/components/ResponsiveImage'\n\nimport FormFields from '@/components/lists/SimpleForm/FormFields'\n\nexport default {\n  name: 'landing-form-two',\n\n  mixins: [parse, ImageRenderer],\n\n  components: {\n    FormFields,\n    ResponsiveImage\n  },\n\n  props: [\n    'item',\n    'title',\n    'fields',\n    'classes',\n    'imageAlt'\n  ],\n\n  data() {\n    return {\n      contact: {},\n      contacted: false\n    }\n  },\n\n  computed: {\n    animationClass() {\n      return [\n        'landing-animation',\n        this.parse(this.item).image_animation ? `animate-${this.parse(this.item).image_animation}` : ''\n      ]\n    },\n\n    landingBackground() {\n      let image = this.item.image_versions.length ? this.item.image_versions : []\n      return image\n    },\n\n    messageParams() {\n      return {\n        message: this.contact\n      }\n    },\n\n    friendlyTypes() {\n      return (type) => {\n        if(type.includes('textarea')) {\n          return 'form-textarea'\n        } else if (type.includes('text')) {\n          return 'form-text'\n        } else if (type.includes('select')) {\n          return 'form-select'\n        } else {\n          return 'form-checkbox'\n        }\n      }\n    }\n  },\n\n  methods: {\n    sendMessage() {\n      this.$emit('sendMessage', this.contact, this.messageParams)\n    },\n\n    setImageWidth() {\n      let screenSize = this.currentScreenSize\n\n      if (screenSize >= 1100) {\n        this.imageWidth = 1800\n\n      } else if (screenSize >= 768) {\n        this.imageWidth = 1100\n\n        if(this.isRetina) {\n          this.imageWidth = 1800\n        }\n\n      } else if (screenSize >= 600) {\n        this.imageWidth = 768\n\n        if(this.isRetina) {\n          this.imageWidth = 1100\n        }\n\n      } else {\n        this.imageWidth = 600\n\n        if(this.isRetina) {\n          this.imageWidth = 768\n        }\n      }\n    }\n  }\n}\n</script>\n\n<style lang=\"sass\">\n@import '../../../stylesheets/base/variables'\n@import '../../../stylesheets/helpers/mixins'\n@import '../../../stylesheets/helpers/extends'\n@import '../../../stylesheets/base/theme'\n\n.landing-form-two\n  &.page-section\n    padding: 0!important\n\n  .landing-content\n    display: flex\n    flex-direction: column\n\n    @include media($media-gt-medium)\n      align-items: center\n\n    .text\n      padding: $gap-small\n      position: relative\n\n      @include media($media-gt-medium)\n        padding: $gap-medium\n\n    .landing-text\n      position: relative\n      padding: $gap-medium\n\n      @include media($media-gt-medium)\n        padding: 0\n\n    @include media($media-lt-medium)\n      &.text-below\n        flex-direction: column-reverse\n\n    @include media($media-gt-medium)\n      flex-direction: row\n\n      &.text-right\n        flex-direction: row-reverse\n\n      &.one-third\n        .text\n          flex-basis: percentage(1/3)\n\n      &.half\n        .text\n          flex-basis: percentage(1/2)\n\n      &.two-thirds\n        .text\n          flex-basis: percentage(2/3)\n\n      &.three-fifths\n        .text\n          flex-basis: percentage(3/5)\n\n      &.align-top\n        .text\n          align-items: top\n\n      &.align-middle\n        .text\n          align-items: center\n\n      &.align-bottom\n        .text\n          align-items: flex-end\n\n  .form-contact\n    border-radius: 10px\n    padding: $gap-small\n    box-shadow: none!important\n\n  .form-container\n    padding-top: 0\n\n  .simple-form-fields\n    flex: 1\n\n  .landing-container\n    margin: -$gap-x-large $gap-small 0\n    z-index: 10\n    position: relative\n    box-shadow: $content-shadow\n\n    @include media($media-container)\n      margin: -$gap-x-large auto 0\n\n  .landing-background\n    &:before\n      content: ''\n      position: absolute\n      width: 100%\n      height: 100%\n      top: 0\n      left: 0\n      pointer-events: none\n      z-index: -1\n\n      @include themify($themes)\n        background: themed('content-bg')\n\n  .landing-banner\n    position: relative\n    display: flex\n    align-items: center\n    justify-content: center\n    overflow: hidden\n    min-height: 80vh\n\n    &:before\n      content: ''\n      position: absolute\n      width: 100%\n      height: 100%\n      top: 0\n      left: 0\n      pointer-events: none\n      z-index: 1\n      background: rgba(0, 0, 0, 0.5)\n\n    .loader\n      display: none\n\n    .banner-inner\n      display: flex\n      align-items: center\n      justify-content: center\n      flex-direction: column\n      z-index: 5\n\n      @include media($media-gt-medium)\n        padding: $gap-large\n\n      h1, h2, h3, p, span\n        color: #fff!important\n\n      h1, h2, h3\n        margin: $gap-small 0\n        line-height: 1\n        text-align: center\n\n        @include media($media-gt-medium)\n          text-align: left\n\n      h1\n        font-size: 52px\n\n      h2\n        font-size: 32px\n\n    img\n      position: absolute\n      top: 0\n      left: 0\n      width: 100%\n      height: 100%\n      object-fit: cover\n\n  .overlay\n    .inner\n      max-width: 500px\n\n    p, h2\n      color: $color-default-text\n      text-align: center\n\n  .landing-animation\n    width: 100%\n    height: 100%\n    position: absolute\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LandingFormTwo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LandingFormTwo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LandingFormTwo.vue?vue&type=template&id=7217bd90&\"\nimport script from \"./LandingFormTwo.vue?vue&type=script&lang=js&\"\nexport * from \"./LandingFormTwo.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./LandingFormTwo.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  \"c5ebe108\"\n  \n)\n\nexport default component.exports","<template>\n  <div class=\"page-section landing-form\">\n    <div\n      v-if=\"loaded\"\n      :imageAlt=\"imageAlt\"\n      :is=\"landingFormStyle\"\n      :item=\"item\"\n      :fields=\"fields\"\n      :classes=\"classes\"\n      @sendMessage=\"sendMessage\">\n    </div>\n\n    <transition name=\"fade\" mode=\"out-in\">\n      <Overlay v-if=\"contacted\">\n        <h2>Thanks, {{contact.sender_name}}!</h2>\n        <p>Your message was successfully sent and we'll get back to you as soon as possible.</p>\n      </Overlay>\n    </transition>\n\n    <SectionSeparator v-if=\"separator\" :separator=\"separator\"/>\n  </div>\n</template>\n\n<script>\nimport {createMessage} from '@/lib/messages'\nimport {mapGetters, mapState} from 'vuex'\n\nimport parse from '@/mixins/parse'\n\nimport Overlay from '@/components/Overlay'\nimport LandingFormOne from '@/components/lists/LandingForm/LandingFormOne'\nimport LandingFormTwo from '@/components/lists/LandingForm/LandingFormTwo'\nimport SectionSeparator from '@/components/lists/SectionSeparator'\n\nexport default {\n  name: 'landing-form',\n\n  mixins: [parse],\n\n  components: {\n    Overlay,\n    SectionSeparator,\n    LandingFormOne,\n    LandingFormTwo\n  },\n\n  props: ['items', 'title', 'separator'],\n\n  data() {\n    return {\n      contact: {},\n      loaded: false,\n      contacted: false\n    }\n  },\n\n  computed: {\n    ...mapGetters(['siteId']),\n    ...mapState(['site']),\n\n    landingFormStyle() {\n      return this.parse(this.item).landing_form_style || 'landing-form-one'\n    },\n\n    imageAlt() {\n      return this.parse(this.item).image_alt_text || 'Background image'\n    },\n\n    fields() {\n      let objects = this.parse(this.items[0])\n      let fields = []\n\n      Object.entries(objects).forEach(([key, value]) => {\n        if (key.includes('custom_field_label')) {\n          let index = key.slice(-1)\n\n          let object = {\n            label: objects[`custom_field_label_${index}`],\n            field_type: this.friendlyTypes(objects[`custom_field_type_${index}`]),\n            dropdown_options: objects[`custom_field_options_${index}`],\n            text_placeholder: objects[`custom_field_text_placeholder_${index}`],\n            text_box_placeholder: objects[`custom_field_text_box_placeholder_${index}`]\n          }\n\n          if (value !== '') {\n            fields.push({value: JSON.stringify(object)})\n          }\n        }\n      })\n\n      return fields || []\n    },\n\n    classes() {\n      return [\n        'landing-content',\n        this.parse(this.item).text_position_desktop,\n        this.parse(this.item).text_position_mobile,\n        this.parse(this.item).text_width_desktop,\n        this.parse(this.item).text_alignment || 'align-middle'\n      ]\n    },\n\n    item() {\n      return this.items[0] || {}\n    },\n\n    friendlyTypes() {\n      return (type) => {\n        if(type.includes('textarea')) {\n          return 'form-textarea'\n        } else if (type.includes('text')) {\n          return 'form-text'\n        } else if (type.includes('select')) {\n          return 'form-select'\n        } else {\n          return 'form-checkbox'\n        }\n      }\n    }\n  },\n\n  methods: {\n    sendMessage(contact, messageParams) {\n      this.contact = contact\n      createMessage(this.siteId, messageParams)\n        .then(() => {\n          this.contacted = true\n          this.$router.push({query: {contacted: 'true'}})\n\n          window.setTimeout(() => {\n            this.contacted = false\n            this.contact  = {}\n          }, 3000)\n        })\n        .catch(() => {\n          alert('Try again later')\n        })\n    },\n\n    loadPhoneField() {\n      let object = {\n        label: 'Phone Number',\n        field_type: 'form-text'\n      }\n\n      const stringified = JSON.stringify(object)\n\n      if(this.parse(this.item).display_phone_field === 'true') {\n        this.fields.unshift({value: stringified})\n        this.loaded = true\n      } else {\n        this.loaded = true\n      }\n    }\n  },\n\n  mounted() {\n    this.loadPhoneField()\n  }\n}\n</script>\n\n<style lang=\"sass\">\n@import '../../../stylesheets/base/variables'\n@import '../../../stylesheets/helpers/mixins'\n@import '../../../stylesheets/helpers/extends'\n@import '../../../stylesheets/base/theme'\n\n.landing-form\n  &.page-section\n    padding-top: 0!important\n    padding-left: 0!important\n    padding-right: 0!important\n\n    .landing-text\n      position: relative\n\n      ul\n        list-style: none\n        padding: 0\n\n        li\n          position: relative\n          font-size: 22px\n          margin-bottom: 5px\n          padding-left: $gap-large\n\n          &:before\n            content: '✓'\n            font-size: 18px\n            line-height: 1.8\n            position: absolute\n            left: 0\n            top: 5px\n            background: #fff\n            width: 30px\n            height: 30px\n            border-radius: 50%\n            text-align: center\n\n\n      @include media($media-gt-small)\n        position: sticky\n        top: $min-nav-height + $gap-medium\n\n    @include media($media-lt-small)\n      &.text-below\n        flex-direction: column-reverse\n\n    @include media($media-gt-small)\n      flex-direction: row\n\n      &.text-right\n        flex-direction: row-reverse\n\n      &.one-third\n        .text\n          flex-basis: percentage(1/3)\n\n      &.half\n        .text\n          flex-basis: percentage(1/2)\n\n      &.two-thirds\n        .text\n          flex-basis: percentage(2/3)\n\n      &.three-fifths\n        .text\n          flex-basis: percentage(3/5)\n\n      &.align-top\n        .text\n          align-items: top\n\n      &.align-middle\n        .text\n          align-items: center\n\n      &.align-bottom\n        .text\n          align-items: flex-end\n\n  .input\n    label\n      margin: 0 0 3px\n      font-size: 16px!important\n\n    input, textarea, select\n      border-radius: 5px\n      border: 1px solid\n\n      @include themify($themes)\n        background: themed('content-bg')\n\n  .overlay\n    .inner\n      max-width: 500px\n\n    p, h2\n      color: $color-default-text\n      text-align: center\n\n  .landing-animation\n    width: 100%\n    height: 100%\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LandingForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LandingForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LandingForm.vue?vue&type=template&id=30f518e4&\"\nimport script from \"./LandingForm.vue?vue&type=script&lang=js&\"\nexport * from \"./LandingForm.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./LandingForm.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  \"68cf24e0\"\n  \n)\n\nexport default component.exports","require('../modules/web.dom.iterable');\nrequire('../modules/es6.string.iterator');\nmodule.exports = require('../modules/core.get-iterator');\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!./Overlay.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(\"f894c77e\", 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:\"page-section\"},[_c('div',{staticClass:\"container narrow simple-form\"},[(_vm.title)?_c('h2',{staticClass:\"list-title\",domProps:{\"innerHTML\":_vm._s(_vm.title)}}):_vm._e(),_c('FormFields',{attrs:{\"items\":_vm.items},on:{\"submit\":_vm.sendMessage},model:{value:(_vm.contact),callback:function ($$v) {_vm.contact=$$v},expression:\"contact\"}}),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.contacted)?_c('Overlay',[_c('h2',[_vm._v(\"Thanks, \"+_vm._s(_vm.contact.sender_name)+\"!\")]),_c('p',[_vm._v(\"Your message was successfully sent and we'll get back to you as soon as possible.\")])]):_vm._e()],1)],1),(_vm.separator)?_c('SectionSeparator',{attrs:{\"separator\":_vm.separator}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"page-section\">\n    <div class=\"container narrow simple-form\">\n      <h2 class=\"list-title\" v-if=\"title\" v-html=\"title\"></h2>\n      <FormFields\n        :items=\"items\"\n        @submit=\"sendMessage\"\n        v-model=\"contact\"/>\n\n      <transition name=\"fade\" mode=\"out-in\">\n        <Overlay v-if=\"contacted\">\n          <h2>Thanks, {{contact.sender_name}}!</h2>\n          <p>Your message was successfully sent and we'll get back to you as soon as possible.</p>\n        </Overlay>\n      </transition>\n    </div>\n\n    <SectionSeparator v-if=\"separator\" :separator=\"separator\"/>\n  </div>\n</template>\n\n<script>\nimport {createMessage} from '@/lib/messages'\nimport {mapGetters} from 'vuex'\n\nimport Overlay from '@/components/Overlay'\nimport FormFields from '@/components/lists/SimpleForm/FormFields'\nimport SectionSeparator from '@/components/lists/SectionSeparator'\n\nexport default {\n  name: 'SimpleForm',\n\n  components: {\n    Overlay,\n    FormFields,\n    SectionSeparator\n  },\n\n  props: ['items', 'title', 'separator'],\n\n  data() {\n    return {\n      contact: {},\n      contacted: false\n    }\n  },\n\n  computed: {\n    ...mapGetters(['siteId']),\n\n    messageParams() {\n      return {\n        message: this.contact\n      }\n    }\n  },\n\n  methods: {\n    sendMessage() {\n      createMessage(this.siteId, this.messageParams)\n        .then(() => {\n          this.contacted = true\n          this.$router.push({query: {contacted: 'true'}})\n\n          window.setTimeout(() => {\n            this.contacted = false\n            this.contact  = {}\n          }, 3000)\n        })\n        .catch(() => {\n          alert('Try again later')\n        })\n    }\n  }\n}\n</script>\n\n<style lang=\"sass\">\n@import '../../../stylesheets/base/variables'\n@import '../../../stylesheets/helpers/mixins'\n@import '../../../stylesheets/helpers/extends'\n@import '../../../stylesheets/base/theme'\n\n.simple-form\n  .overlay\n    .inner\n      max-width: 500px\n\n    p, h2\n      color: $color-default-text\n      text-align: center\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=30e2c479&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./Index.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  \"6d9d2130\"\n  \n)\n\nexport default component.exports","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".landing-form-one.page-section{padding-top:0!important;padding-left:0!important;padding-right:0!important}.landing-form-one .landing-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.landing-form-one .landing-content .text{padding:10px;position:relative}.landing-form-one .landing-content .text:before{content:\\\"\\\";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.theme-clean-dark .landing-form-one .landing-content .text:before{background:rgba(0,0,0,.5)}.theme-clean-light .landing-form-one .landing-content .text:before{background:hsla(0,0%,100%,.85)}.theme-vantage-dark .landing-form-one .landing-content .text:before{background:rgba(0,0,0,.5)}.theme-vantage-light .landing-form-one .landing-content .text:before{background:#fff}.theme-slanted-dark .landing-form-one .landing-content .text:before{background:rgba(0,0,0,.5)}.theme-slanted-light .landing-form-one .landing-content .text:before{background:#fff}@media screen and (min-width:600px){.landing-form-one .landing-content .text{padding:20px}}.landing-form-one .landing-content .landing-text{position:relative}@media screen and (min-width:600px){.landing-form-one .landing-content .landing-text{position:-webkit-sticky;position:sticky;top:95px}}@media screen and (max-width:599px){.landing-form-one .landing-content.text-below{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media screen and (min-width:600px){.landing-form-one .landing-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.landing-form-one .landing-content.text-right{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.landing-form-one .landing-content.one-third .text{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%}.landing-form-one .landing-content.half .text{-ms-flex-preferred-size:50%;flex-basis:50%}.landing-form-one .landing-content.two-thirds .text{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%}.landing-form-one .landing-content.three-fifths .text{-ms-flex-preferred-size:60%;flex-basis:60%}.landing-form-one .landing-content.align-top .text{-webkit-box-align:top;-ms-flex-align:top;align-items:top}.landing-form-one .landing-content.align-middle .text{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.landing-form-one .landing-content.align-bottom .text{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}.landing-form-one .form-contact{background:none!important;-webkit-box-shadow:none!important;box-shadow:none!important}.landing-form-one .form-container{padding-top:0}.landing-form-one .simple-form-fields{-webkit-box-flex:1;-ms-flex:1;flex:1}.landing-form-one .landing-container{margin:-80px 10px 0;z-index:10;position:relative;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.04),0 2px 4px rgba(0,0,0,.04),0 4px 8px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04),0 16px 32px rgba(0,0,0,.04),0 32px 64px rgba(0,0,0,.04);box-shadow:0 1px 2px rgba(0,0,0,.04),0 2px 4px rgba(0,0,0,.04),0 4px 8px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04),0 16px 32px rgba(0,0,0,.04),0 32px 64px rgba(0,0,0,.04)}@media screen and (min-width:1200px){.landing-form-one .landing-container{margin:-80px auto 0}}.landing-form-one .landing-background:before{content:\\\"\\\";position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none;z-index:-1}.theme-clean-dark .landing-form-one .landing-background:before{background:rgba(0,0,0,.5)}.theme-clean-light .landing-form-one .landing-background:before{background:hsla(0,0%,100%,.85)}.theme-vantage-dark .landing-form-one .landing-background:before{background:rgba(0,0,0,.5)}.theme-vantage-light .landing-form-one .landing-background:before{background:#fff}.theme-slanted-dark .landing-form-one .landing-background:before{background:rgba(0,0,0,.5)}.theme-slanted-light .landing-form-one .landing-background:before{background:#fff}.landing-form-one .landing-banner{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;height:50vh}.landing-form-one .landing-banner:before{content:\\\"\\\";position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none;z-index:1;background:rgba(0,0,0,.3)}.landing-form-one .landing-banner .loader{display:none}.landing-form-one .landing-banner .banner-inner{position:absolute;top:0;left:0;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center;z-index:5}.landing-form-one .landing-banner .banner-inner h1,.landing-form-one .landing-banner .banner-inner h2,.landing-form-one .landing-banner .banner-inner h3,.landing-form-one .landing-banner .banner-inner p,.landing-form-one .landing-banner .banner-inner span{color:#fff!important}.landing-form-one .landing-banner .banner-inner h1,.landing-form-one .landing-banner .banner-inner h2,.landing-form-one .landing-banner .banner-inner h3{margin:10px 0;line-height:1}.landing-form-one .landing-banner .banner-inner h1{font-size:56px}.landing-form-one .landing-banner .banner-inner h2{font-size:32px}.landing-form-one .landing-banner img{position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.landing-form-one .overlay .inner{max-width:500px}.landing-form-one .overlay h2,.landing-form-one .overlay p{color:#333;text-align:center}.landing-form-one .landing-animation{width:100%;height:100%}\", \"\"]);\n\n// exports\n","var DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar toIObject = require('./_to-iobject');\nvar isEnum = require('./_object-pie').f;\nmodule.exports = function (isEntries) {\n  return function (it) {\n    var O = toIObject(it);\n    var keys = getKeys(O);\n    var length = keys.length;\n    var i = 0;\n    var result = [];\n    var key;\n    while (length > i) {\n      key = keys[i++];\n      if (!DESCRIPTORS || isEnum.call(O, key)) {\n        result.push(isEntries ? [key, O[key]] : O[key]);\n      }\n    }\n    return result;\n  };\n};\n","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!./Index.vue?vue&type=style&index=0&lang=sass&\"","module.exports = require(\"core-js/library/fn/get-iterator\");","export default {\n  data() {\n    return {\n      currentScreenSize: '',\n      imageWidth: ''\n    }\n  },\n\n  computed: {\n    isRetina() {\n      return window.devicePixelRatio > 1\n    }\n  },\n\n  methods: {\n    throttle(fn, wait) {\n      let time = Date.now()\n\n      return () => {\n        if((time + wait - Date.now()) < 0 ) {\n          fn()\n          time = Date.now()\n        }\n      }\n    },\n\n    handleResize() {\n      window.addEventListener('resize', this.throttle(this.handleImages, 300))\n    },\n\n    handleImages() {\n      this.currentScreenSize = window.innerWidth\n      this.setImageWidth()\n    }\n  },\n\n  mounted() {\n    this.handleImages()\n    this.handleResize()\n  }\n}\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".landing-form.page-section{padding-top:0!important;padding-left:0!important;padding-right:0!important}.landing-form.page-section .landing-text{position:relative}.landing-form.page-section .landing-text ul{list-style:none;padding:0}.landing-form.page-section .landing-text ul li{position:relative;font-size:22px;margin-bottom:5px;padding-left:40px}.landing-form.page-section .landing-text ul li:before{content:\\\"\\\\2713\\\";font-size:18px;line-height:1.8;position:absolute;left:0;top:5px;background:#fff;width:30px;height:30px;border-radius:50%;text-align:center}@media screen and (min-width:600px){.landing-form.page-section .landing-text{position:-webkit-sticky;position:sticky;top:95px}}@media screen and (max-width:599px){.landing-form.page-section.text-below{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media screen and (min-width:600px){.landing-form.page-section{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.landing-form.page-section.text-right{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.landing-form.page-section.one-third .text{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%}.landing-form.page-section.half .text{-ms-flex-preferred-size:50%;flex-basis:50%}.landing-form.page-section.two-thirds .text{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%}.landing-form.page-section.three-fifths .text{-ms-flex-preferred-size:60%;flex-basis:60%}.landing-form.page-section.align-top .text{-webkit-box-align:top;-ms-flex-align:top;align-items:top}.landing-form.page-section.align-middle .text{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.landing-form.page-section.align-bottom .text{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}.landing-form .input label{margin:0 0 3px;font-size:16px!important}.landing-form .input input,.landing-form .input select,.landing-form .input textarea{border-radius:5px;border:1px solid}.theme-clean-dark .landing-form .input input,.theme-clean-dark .landing-form .input select,.theme-clean-dark .landing-form .input textarea{background:rgba(0,0,0,.5)}.theme-clean-light .landing-form .input input,.theme-clean-light .landing-form .input select,.theme-clean-light .landing-form .input textarea{background:hsla(0,0%,100%,.85)}.theme-vantage-dark .landing-form .input input,.theme-vantage-dark .landing-form .input select,.theme-vantage-dark .landing-form .input textarea{background:rgba(0,0,0,.5)}.theme-vantage-light .landing-form .input input,.theme-vantage-light .landing-form .input select,.theme-vantage-light .landing-form .input textarea{background:#fff}.theme-slanted-dark .landing-form .input input,.theme-slanted-dark .landing-form .input select,.theme-slanted-dark .landing-form .input textarea{background:rgba(0,0,0,.5)}.theme-slanted-light .landing-form .input input,.theme-slanted-light .landing-form .input select,.theme-slanted-light .landing-form .input textarea{background:#fff}.landing-form .overlay .inner{max-width:500px}.landing-form .overlay h2,.landing-form .overlay p{color:#333;text-align:center}.landing-form .landing-animation{width:100%;height:100%}\", \"\"]);\n\n// exports\n","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!./Overlay.vue?vue&type=style&index=0&lang=sass&\"","var anObject = require('./_an-object');\nvar get = require('./core.get-iterator-method');\nmodule.exports = require('./_core').getIterator = function (it) {\n  var iterFn = get(it);\n  if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!');\n  return anObject(iterFn.call(it));\n};\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!./Index.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(\"1636acf4\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","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!./LandingFormOne.vue?vue&type=style&index=0&lang=sass&\"","export default {\n  computed: {\n    parse() {\n      return (item) => {\n        if (typeof (item.value) === 'string') {\n          return JSON.parse(item.value)\n        } else {\n          return item.value\n        }\n      }\n    }\n  }\n}\n","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:10;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:-webkit-zoom-out;cursor:zoom-out}.overlay .inner{background:#fff;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.04),0 2px 4px rgba(0,0,0,.04),0 4px 8px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04),0 16px 32px rgba(0,0,0,.04),0 32px 64px rgba(0,0,0,.04);box-shadow:0 1px 2px rgba(0,0,0,.04),0 2px 4px rgba(0,0,0,.04),0 4px 8px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04),0 16px 32px rgba(0,0,0,.04),0 32px 64px rgba(0,0,0,.04);padding:10px;margin:10px;border-radius:5px;position:relative;width:90%;height:auto;max-height:80vh;cursor:auto}@media screen and (min-width:959px){.overlay .inner{padding:20px;width:60%}}.overlay img{max-width:100%;max-height:100%}\", \"\"]);\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!./LandingFormTwo.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(\"57f7935f\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// 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!./LandingForm.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(\"651362da\", 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:\"simple-form-fields\"},[_c('form',{staticClass:\"form-contact\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('field',{attrs:{\"label\":\"Full Name\",\"error\":_vm.sender_nameError},on:{\"input\":function($event){return _vm.$v.resource.sender_name.$touch()}},model:{value:(_vm.resource.sender_name),callback:function ($$v) {_vm.$set(_vm.resource, \"sender_name\", $$v)},expression:\"resource.sender_name\"}}),_c('field',{attrs:{\"label\":\"Email Address\",\"error\":_vm.sender_emailError},on:{\"input\":function($event){return _vm.$v.resource.sender_email.$touch()}},model:{value:(_vm.resource.sender_email),callback:function ($$v) {_vm.$set(_vm.resource, \"sender_email\", $$v)},expression:\"resource.sender_email\"}}),_vm._l((_vm.fields),function(field,index){return _c('div',{key:(\"field-\" + index)},[_c('field',{attrs:{\"label\":field.label,\"type\":_vm.fieldType(field),\"placeholder\":field.placeholder,\"options\":_vm.dropdownOptions(field)},on:{\"input\":function($event){return _vm.handleCustomField(field, $event)}}})],1)}),_vm._m(0)],2)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"centered\"},[_c('button',{staticClass:\"btn\"},[_vm._v(\"Send Message\")])])}]\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"simple-form-fields\">\n    <form class=\"form-contact\" @submit.prevent=\"submit\">\n      <field\n        label=\"Full Name\"\n        @input=\"$v.resource.sender_name.$touch()\"\n        v-model=\"resource.sender_name\"\n        :error=\"sender_nameError\">\n      </field>\n\n      <field\n        label=\"Email Address\"\n        @input=\"$v.resource.sender_email.$touch()\"\n        v-model=\"resource.sender_email\"\n        :error=\"sender_emailError\">\n      </field>\n\n      <div v-for=\"(field, index) in fields\" :key=\"`field-${index}`\">\n         <field\n          :label=\"field.label\"\n          :type=\"fieldType(field)\"\n          :placeholder=\"field.placeholder\"\n          :options=\"dropdownOptions(field)\"\n          @input=\"handleCustomField(field, $event)\">\n        </field>\n      </div>\n\n      <div class=\"centered\">\n        <button class=\"btn\">Send Message</button>\n      </div>\n    </form>\n  </div>\n</template>\n\n<script>\nimport form from '@/mixins/form'\n\nimport {errorMessages} from '@/lib/error_messages'\nimport {email, required} from 'vuelidate/lib/validators'\n\nexport default {\n  name: 'FormFields',\n\n  mixins: [form],\n\n  data() {\n    return {\n      formBody: []\n    }\n  },\n\n  props: {\n    items: Array\n  },\n\n  computed: {\n    ...errorMessages(['sender_name', 'sender_email', 'body']),\n\n    fieldType() {\n      return (field) => {\n        let type = field.field_type\n        return type.replace('form-', '')\n      }\n    },\n\n    dropdownOptions() {\n      return (field) => {\n        let newOptions = []\n        const isSelect = this.fieldType(field) === 'select'\n\n        if(isSelect) {\n          let options = field.dropdown_options.split(',')\n\n          options.forEach((option) => {\n            newOptions.push({\n              key: option,\n              value: option\n            })\n          })\n\n          return newOptions\n        }\n      }\n    },\n\n    fields() {\n      return this.items.map((item) => {\n        return JSON.parse(item.value)\n      })\n    },\n\n    fieldSlug() {\n      return (field) => {\n        return field.label.toLowerCase()\n          .replace(/ /g,'-')\n          .replace(/[^\\w-]+/g, '')\n      }\n    },\n\n    formattedBody() {\n      let string = ''\n\n      this.formBody.forEach((field) => {\n        let key = field.key.replace(/-/g, ' ').replace(/[^\\w-]+/g, ' ')\n\n        key = key.charAt(0).toUpperCase() + key.slice(1)\n\n        string += key + '\\n'\n        string += field.value\n        string += '\\n\\n'\n      })\n\n      return string\n    }\n  },\n\n  methods: {\n    createFields() {\n      this.fields.forEach((field) => {\n        let slug = this.fieldSlug(field)\n\n        let obj = {\n          key: slug,\n          value: '(blank)'\n        }\n\n        this.formBody.push(obj)\n      })\n    },\n\n    handleCustomField(field, event) {\n      let currentField = this.formBody.find(\n        formField => formField.key === this.fieldSlug(field)\n      )\n\n      currentField.value = event\n      this.resource.body = this.formattedBody\n    }\n  },\n\n  validations: {\n    resource: {\n      sender_name: {required},\n      sender_email: {required, email}\n    }\n  },\n\n  mounted() {\n    this.createFields()\n  },\n\n  watch: {\n    fields() {\n      this.createFields()\n    }\n  }\n}\n</script>\n\n<style lang=\"sass\">\n@import '../../../stylesheets/base/variables'\n@import '../../../stylesheets/helpers/mixins'\n@import '../../../stylesheets/base/theme'\n\n.form-contact\n  margin: auto\n  padding: $gap-medium\n\n  @include themify($themes)\n    background: themed('content-bg')\n\n  label\n    display: block\n    text-transform: capitalize\n    margin: 20px auto 10px\n\n  input, textarea\n    padding: 10px\n    border-radius: 3px\n    border: 1px solid rgba(0, 0, 0, 0.25)\n    width: 100%\n\n    &:focus\n      outline: none\n\n  textarea\n    resize: none\n\n  .btn\n    display: block\n    margin: 20px auto\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormFields.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormFields.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormFields.vue?vue&type=template&id=6ef9a0fc&\"\nimport script from \"./FormFields.vue?vue&type=script&lang=js&\"\nexport * from \"./FormFields.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./FormFields.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  \"42363daf\"\n  \n)\n\nexport default component.exports","// 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!./FormFields.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(\"feb74ec0\", 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:\"overlay\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeOverlay.apply(null, arguments)}}},[_c('div',{staticClass:\"inner\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"html\">\n  <div class=\"overlay\" @click.self=\"closeOverlay\">\n    <div class=\"inner\">\n      <slot/>\n    </div>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'Overlay',\n\n  methods: {\n    closeOverlay() {\n      this.$emit('close')\n    }\n  }\n}\n</script>\n\n<style lang=\"sass\">\n@import '../stylesheets/base/variables'\n@import '../stylesheets/helpers/mixins'\n@import '../stylesheets/base/theme'\n\n.overlay\n  position: fixed\n  top: 0\n  left: 0\n  width: 100%\n  height: 100%\n  background: rgba(0, 0, 0, 0.5)\n  z-index: 10\n  display: flex\n  align-items: center\n  justify-content: center\n  cursor: zoom-out\n\n  .inner\n    background: #fff\n    box-shadow: $content-shadow\n    padding: $gap-small\n    margin: $gap-small\n    border-radius: 5px\n    position: relative\n    width: 90%\n    height: auto\n    max-height: 80vh\n    cursor: initial\n\n    @include media($media-gt-medium)\n      padding: $gap-medium\n      width: 60%\n\n  img\n    max-width: 100%\n    max-height: 100%\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Overlay.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Overlay.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Overlay.vue?vue&type=template&id=3c666f86&lang=html&\"\nimport script from \"./Overlay.vue?vue&type=script&lang=js&\"\nexport * from \"./Overlay.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./Overlay.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  \"239c93a3\"\n  \n)\n\nexport default component.exports","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".simple-form .overlay .inner{max-width:500px}.simple-form .overlay h2,.simple-form .overlay p{color:#333;text-align:center}\", \"\"]);\n\n// exports\n","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!./LandingFormTwo.vue?vue&type=style&index=0&lang=sass&\"","// 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!./LandingFormOne.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(\"6fc9d2da\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","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!./LandingForm.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, \".landing-form-two.page-section{padding:0!important}.landing-form-two .landing-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width:959px){.landing-form-two .landing-content{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}.landing-form-two .landing-content .text{padding:10px;position:relative}@media screen and (min-width:959px){.landing-form-two .landing-content .text{padding:20px}}.landing-form-two .landing-content .landing-text{position:relative;padding:20px}@media screen and (min-width:959px){.landing-form-two .landing-content .landing-text{padding:0}}@media screen and (max-width:958px){.landing-form-two .landing-content.text-below{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media screen and (min-width:959px){.landing-form-two .landing-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.landing-form-two .landing-content.text-right{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.landing-form-two .landing-content.one-third .text{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%}.landing-form-two .landing-content.half .text{-ms-flex-preferred-size:50%;flex-basis:50%}.landing-form-two .landing-content.two-thirds .text{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%}.landing-form-two .landing-content.three-fifths .text{-ms-flex-preferred-size:60%;flex-basis:60%}.landing-form-two .landing-content.align-top .text{-webkit-box-align:top;-ms-flex-align:top;align-items:top}.landing-form-two .landing-content.align-middle .text{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.landing-form-two .landing-content.align-bottom .text{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}.landing-form-two .form-contact{border-radius:10px;padding:10px;-webkit-box-shadow:none!important;box-shadow:none!important}.landing-form-two .form-container{padding-top:0}.landing-form-two .simple-form-fields{-webkit-box-flex:1;-ms-flex:1;flex:1}.landing-form-two .landing-container{margin:-80px 10px 0;z-index:10;position:relative;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.04),0 2px 4px rgba(0,0,0,.04),0 4px 8px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04),0 16px 32px rgba(0,0,0,.04),0 32px 64px rgba(0,0,0,.04);box-shadow:0 1px 2px rgba(0,0,0,.04),0 2px 4px rgba(0,0,0,.04),0 4px 8px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04),0 16px 32px rgba(0,0,0,.04),0 32px 64px rgba(0,0,0,.04)}@media screen and (min-width:1200px){.landing-form-two .landing-container{margin:-80px auto 0}}.landing-form-two .landing-background:before{content:\\\"\\\";position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none;z-index:-1}.theme-clean-dark .landing-form-two .landing-background:before{background:rgba(0,0,0,.5)}.theme-clean-light .landing-form-two .landing-background:before{background:hsla(0,0%,100%,.85)}.theme-vantage-dark .landing-form-two .landing-background:before{background:rgba(0,0,0,.5)}.theme-vantage-light .landing-form-two .landing-background:before{background:#fff}.theme-slanted-dark .landing-form-two .landing-background:before{background:rgba(0,0,0,.5)}.theme-slanted-light .landing-form-two .landing-background:before{background:#fff}.landing-form-two .landing-banner{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;min-height:80vh}.landing-form-two .landing-banner:before{content:\\\"\\\";position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none;z-index:1;background:rgba(0,0,0,.5)}.landing-form-two .landing-banner .loader{display:none}.landing-form-two .landing-banner .banner-inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;z-index:5}@media screen and (min-width:959px){.landing-form-two .landing-banner .banner-inner{padding:40px}}.landing-form-two .landing-banner .banner-inner h1,.landing-form-two .landing-banner .banner-inner h2,.landing-form-two .landing-banner .banner-inner h3,.landing-form-two .landing-banner .banner-inner p,.landing-form-two .landing-banner .banner-inner span{color:#fff!important}.landing-form-two .landing-banner .banner-inner h1,.landing-form-two .landing-banner .banner-inner h2,.landing-form-two .landing-banner .banner-inner h3{margin:10px 0;line-height:1;text-align:center}@media screen and (min-width:959px){.landing-form-two .landing-banner .banner-inner h1,.landing-form-two .landing-banner .banner-inner h2,.landing-form-two .landing-banner .banner-inner h3{text-align:left}}.landing-form-two .landing-banner .banner-inner h1{font-size:52px}.landing-form-two .landing-banner .banner-inner h2{font-size:32px}.landing-form-two .landing-banner img{position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.landing-form-two .overlay .inner{max-width:500px}.landing-form-two .overlay h2,.landing-form-two .overlay p{color:#333;text-align:center}.landing-form-two .landing-animation{width:100%;height:100%;position:absolute}\", \"\"]);\n\n// exports\n","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!./FormFields.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, \".form-contact{margin:auto;padding:20px}.theme-clean-dark .form-contact{background:rgba(0,0,0,.5)}.theme-clean-light .form-contact{background:hsla(0,0%,100%,.85)}.theme-vantage-dark .form-contact{background:rgba(0,0,0,.5)}.theme-vantage-light .form-contact{background:#fff}.theme-slanted-dark .form-contact{background:rgba(0,0,0,.5)}.theme-slanted-light .form-contact{background:#fff}.form-contact label{display:block;text-transform:capitalize;margin:20px auto 10px}.form-contact input,.form-contact textarea{padding:10px;border-radius:3px;border:1px solid rgba(0,0,0,.25);width:100%}.form-contact input:focus,.form-contact textarea:focus{outline:none}.form-contact textarea{resize:none}.form-contact .btn{display:block;margin:20px auto}\", \"\"]);\n\n// exports\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n  entries: function entries(it) {\n    return $entries(it);\n  }\n});\n"],"sourceRoot":""}