{"version":3,"sources":["webpack:///./src/components/TextBlocks.vue?efa3","webpack:///./src/components/TextBlocks.vue?f0b3","webpack:///./src/components/TextBlocks.vue?0076","webpack:///./src/components/TextBlocks.vue?831f","webpack:///src/components/TextBlocks.vue","webpack:///./src/components/TextBlocks.vue?4696","webpack:///./src/components/TextBlocks.vue"],"names":["exports","module","push","i","content","__esModule","default","locals","add","render","_vm","this","_h","$createElement","_c","_self","staticClass","class","length","domProps","_s","heading","_e","_l","item","index","key","attrs","fields","path","options","link","_v","link_text","staticRenderFns","injectStyles","context","style0","__inject__","component"],"mappings":"qGAAAA,EAAUC,EAAOD,QAAU,EAAQ,OAAR,EAAyD,GAKpFA,EAAQE,KAAK,CAACD,EAAOE,EAAI,4tFAAmuF,M,qBCF5vF,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,EAAQ,QAA+DF,QACpEE,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,oCCT5E,oH,2CCAA,IAAIK,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,qBAAqBC,MAAM,CAAC,WAAmC,IAAvBP,EAAIN,QAAQc,SAAe,CAACJ,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAAEN,EAAW,QAAEI,EAAG,KAAK,CAACE,YAAY,WAAWG,SAAS,CAAC,UAAYT,EAAIU,GAAGV,EAAIW,YAAYX,EAAIY,KAAKR,EAAG,MAAM,CAACE,YAAY,eAAeN,EAAIa,GAAIb,EAAW,SAAE,SAASc,EAAKC,GAAO,OAAOX,EAAG,MAAM,CAACY,IAAK,SAAWD,EAAOT,YAAY,cAAc,CAACF,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,WAAW,CAACa,MAAM,CAAC,QAAUH,EAAKI,OAAOxB,WAAYoB,EAAKI,OAAc,QAAEd,EAAG,cAAc,CAACE,YAAY,gBAAgBW,MAAM,CAAC,GAAK,CAACE,KAAML,EAAKI,OAAOE,QAAQC,QAAQ,CAACrB,EAAIsB,GAAG,iBAAiBtB,EAAIU,GAAGI,EAAKI,OAAOE,QAAQG,WAAW,kBAAkBvB,EAAIY,MAAM,QAAO,QAC7wBY,EAAkB,GCsBtB,aAAE,OAAF,sFAEA,GACE,KAAF,aAEE,MAAF,CACI,QAAJ,MACI,QAAJ,QAGE,WAAF,CACI,SAAJ,IClCuS,I,YCGvS,SAASC,EAAcC,GAErB,IAAIC,EAAS,EAAQ,QACnBA,EAAOC,YAAYD,EAAOC,WAAWF,GAMzC,IAAIG,EAAY,eACd,EACA9B,EACAyB,GACA,EACAC,EACA,KACA,YAIa,aAAAI,E","file":"js/chunks/chunk-51ea8ff8.js?id=99524209a1ca32b089b6","sourcesContent":["exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".widget-text-blocks{position:relative}.widget-text-blocks.only-one .container{padding-bottom:30px}.widget-text-blocks.only-one .text-block{-ms-flex-preferred-size:100%;flex-basis:100%}.widget-text-blocks.only-one .text-block:first-child{padding-top:15px}.widget-text-blocks.only-one .text-block:before{display:none}.widget-text-blocks.only-one .text-blocks{background:none}.widget-text-blocks .container{padding-bottom:0}.text-blocks{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background:#f7f7f7}@media screen and (min-width:1100px){.text-blocks:after,.text-blocks:before{content:\\\"\\\";position:absolute;width:120px}.text-blocks:before{height:300px;left:0;top:450px;background:#f2f2f2;-webkit-clip-path:polygon(0 0,0 100%,100% 31%);clip-path:polygon(0 0,0 100%,100% 31%)}.text-blocks:after{height:500px;right:0;top:-210px;-webkit-clip-path:polygon(0 0,100% 23%,100% 78%,48% 100%);clip-path:polygon(0 0,100% 23%,100% 78%,48% 100%)}.theme-default .text-blocks:after{background:#ff9000}.theme-new-website .text-blocks:after{background:#3ed112}}@media screen and (min-width:1100px){.text-blocks{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}}.text-blocks .btn{margin:15px 0}.text-blocks .rich-text h2,.text-blocks .rich-text h3{margin-top:15px}.text-blocks .rich-text p{font-size:14px}.text-blocks .text-block{-ms-flex-preferred-size:50%;flex-basis:50%;padding:15px;position:relative}.text-blocks .text-block:nth-child(2n){background:rgba(0,0,0,.03)}@media screen and (min-width:1100px){.text-blocks .text-block:nth-child(2n){background:none}}.text-blocks .text-block:first-child{padding-top:50px}.text-blocks .text-block:first-child:before{content:\\\"\\\";background:#fff;width:100%;height:30px;position:absolute;top:-1px;left:0;-webkit-clip-path:polygon(0 0,0 100%,100% 0);clip-path:polygon(0 0,0 100%,100% 0)}@media screen and (min-width:1100px){.text-blocks .text-block:nth-child(2):before,.text-blocks .text-block:nth-child(3):before,.text-blocks .text-block:nth-child(6):before,.text-blocks .text-block:nth-child(7):before,.text-blocks .text-block:nth-child(10):before,.text-blocks .text-block:nth-child(11):before{content:\\\"\\\";background:#f2f2f2;width:100%;height:100%;position:absolute;top:0}.text-blocks .text-block:nth-child(2){top:-5px}.text-blocks .text-block:nth-child(2):before,.text-blocks .text-block:nth-child(6):before,.text-blocks .text-block:nth-child(10):before{right:-5px}.text-blocks .text-block:nth-child(3):before,.text-blocks .text-block:nth-child(7):before,.text-blocks .text-block:nth-child(11):before{left:-5px}}.text-block-inner{position:relative;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!./TextBlocks.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(\"c9b472d6\", 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!./TextBlocks.vue?vue&type=style&index=0&lang=sass&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"widget-text-blocks\",class:{'only-one': _vm.content.length === 1}},[_c('div',{staticClass:\"container small\"},[(_vm.heading)?_c('h2',{staticClass:\"centered\",domProps:{\"innerHTML\":_vm._s(_vm.heading)}}):_vm._e(),_c('div',{staticClass:\"text-blocks\"},_vm._l((_vm.content),function(item,index){return _c('div',{key:(\"block-\" + index),staticClass:\"text-block\"},[_c('div',{staticClass:\"text-block-inner\"},[_c('RichText',{attrs:{\"content\":item.fields.content}}),(item.fields.options)?_c('router-link',{staticClass:\"btn secondary\",attrs:{\"to\":{path: item.fields.options.link}}},[_vm._v(\"\\n            \"+_vm._s(item.fields.options.link_text)+\"\\n          \")]):_vm._e()],1)])}),0)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"widget-text-blocks\" :class=\"{'only-one': content.length === 1}\">\n    <div class=\"container small\">\n      <h2 class=\"centered\" v-if=\"heading\" v-html=\"heading\"></h2>\n      <div class=\"text-blocks\">\n        <div class=\"text-block\" v-for=\"(item, index) in content\" :key=\"`block-${index}`\">\n          <div class=\"text-block-inner\">\n            <RichText :content=\"item.fields.content\"/>\n\n            <router-link\n              class=\"btn secondary\"\n              v-if=\"item.fields.options\"\n              :to=\"{path: item.fields.options.link}\">\n              {{item.fields.options.link_text}}\n            </router-link>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\n  const RichText = () => import('@/components/RichText')\n\n  export default {\n    name: 'TextBlocks',\n\n    props: {\n      content: Array,\n      heading: String\n    },\n\n    components: {\n      RichText\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  .widget-text-blocks\n    position: relative\n\n    &.only-one\n      .container\n        padding-bottom: $gap-medium\n\n      .text-block\n        flex-basis: 100%\n\n        &:first-child\n          padding-top: $gap-small\n\n        &:before\n          display: none\n\n      .text-blocks\n        background: none\n\n    .container\n      padding-bottom: 0\n\n  .text-blocks\n    display: flex\n    flex-direction: column\n    background: #F7F7F7\n\n    @include media($media-medium)\n      &:before, &:after\n        content: ''\n        position: absolute\n        width: 120px\n\n      &:before\n        height: 300px\n        left: 0\n        top: 450px\n        background: $triangle-light\n        clip-path: polygon(0 0, 0% 100%, 100% 31%)\n\n      &:after\n        height: 500px\n        right: 0\n        top: -210px\n        clip-path: polygon(0 0, 100% 23%, 100% 78%, 48% 100%)\n\n        @include themify($themes)\n          background: themed('color-primary')\n\n    @include media($media-medium)\n      flex-direction: row\n      flex-wrap: wrap\n\n    .btn\n      margin: $gap-small 0\n\n    .rich-text\n      h2, h3\n        margin-top: $gap-small\n\n      p\n        font-size: 14px\n\n    .text-block\n      flex-basis: 50%\n      padding: $gap-small\n      position: relative\n\n      &:nth-child(even)\n        background: rgba(0, 0, 0, 0.03)\n\n        @include media($media-medium)\n          background: none\n\n      &:first-child\n        padding-top: $gap-large\n\n        &:before\n          content: ''\n          background: #fff\n          width: 100%\n          height: 30px\n          position: absolute\n          top: -1px\n          left: 0\n          clip-path: polygon(0 0, 0% 100%, 100% 0)\n\n      @include media($media-medium)\n        &:nth-child(2),\n        &:nth-child(3),\n        &:nth-child(6),\n        &:nth-child(7),\n        &:nth-child(10),\n        &:nth-child(11)\n          &:before\n            content: ''\n            background: $triangle-light\n            width: 100%\n            height: 100%\n            position: absolute\n            top: 0\n\n        &:nth-child(2)\n          top: -5px\n\n        &:nth-child(2),\n        &:nth-child(6),\n        &:nth-child(10)\n          &:before\n            right: -5px\n\n        &:nth-child(3),\n        &:nth-child(7),\n        &:nth-child(11)\n          &:before\n            left: -5px\n\n  .text-block-inner\n    position: relative\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!./TextBlocks.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!./TextBlocks.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TextBlocks.vue?vue&type=template&id=0c372e78&\"\nimport script from \"./TextBlocks.vue?vue&type=script&lang=js&\"\nexport * from \"./TextBlocks.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./TextBlocks.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  \"1b8a1422\"\n  \n)\n\nexport default component.exports"],"sourceRoot":""}