{"version":3,"sources":["webpack:///./src/components/lists/Reviews.vue?27c4","webpack:///./src/components/lists/Reviews.vue?151e","webpack:///src/components/lists/Reviews.vue","webpack:///./src/components/lists/Reviews.vue?68d4","webpack:///./src/components/lists/Reviews.vue","webpack:///./src/components/lists/Reviews.vue?1442","webpack:///./src/components/lists/Reviews.vue?03b8"],"names":["exports","module","push","i","render","_vm","this","_h","$createElement","_c","_self","staticClass","domProps","_s","title","_e","_l","review","index","key","class","entry_animation","_v","reviewInitial","author","attrs","separator","staticRenderFns","name","props","components","SectionSeparator","computed","reviews","items","map","JSON","parse","item","value","names","forEach","initials","charAt","injectStyles","context","style0","__inject__","component","content","__esModule","default","locals","add"],"mappings":"4FAAAA,EAAUC,EAAOD,QAAU,EAAQ,OAAR,EAA4D,GAKvFA,EAAQE,KAAK,CAACD,EAAOE,EAAI,k9DAAq9D,M,2CCL9+D,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,gCAAgC,CAACF,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAAEN,EAAS,MAAEI,EAAG,KAAK,CAACE,YAAY,aAAaC,SAAS,CAAC,UAAYP,EAAIQ,GAAGR,EAAIS,UAAUT,EAAIU,KAAKV,EAAIW,GAAIX,EAAW,SAAE,SAASY,EAAOC,GAAO,OAAOT,EAAG,MAAM,CAACU,IAAK,UAAYD,EAAOP,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,oCAAoCS,MAAMH,EAAOI,gBAAgBT,SAAS,CAAC,UAAYP,EAAIQ,GAAGI,EAAOA,WAAWR,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACN,EAAIiB,GAAGjB,EAAIQ,GAAGR,EAAIkB,cAAcN,EAAOO,YAAYf,EAAG,KAAK,CAACE,YAAY,eAAe,CAACN,EAAIiB,GAAGjB,EAAIQ,GAAGI,EAAOO,mBAAkB,GAAInB,EAAa,UAAEI,EAAG,mBAAmB,CAACgB,MAAM,CAAC,UAAYpB,EAAIqB,aAAarB,EAAIU,MAAM,IAC1zBY,EAAkB,G,kCC8BtB,GACEC,KAAM,UAENC,MAAO,CAAC,QAAS,QAAS,aAE1BC,WAAY,CACVC,iBAAJ,QAGEC,SAAU,CACRC,QADJ,WAEM,OAAO3B,KAAK4B,MAAMC,KAAI,SAA5B,GACQ,OAAOC,KAAKC,MAAMC,EAAKC,WAI3BhB,cAPJ,WAQM,OAAO,SAAb,GACQ,IAAR,eACA,KAMQ,OAJAiB,EAAMC,SAAQ,SAAtB,GACUC,GAAYd,EAAKe,OAAO,MAGnBD,MCxDiV,I,YCGhW,SAASE,EAAcC,GAErB,IAAIC,EAAS,EAAQ,QACnBA,EAAOC,YAAYD,EAAOC,WAAWF,GAMzC,IAAIG,EAAY,eACd,EACA5C,EACAuB,GACA,EACAiB,EACA,KACA,YAIa,aAAAI,E,8BCpBf,IAAIC,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAAChD,EAAOE,EAAI8C,EAAS,MAC7DA,EAAQG,SAAQnD,EAAOD,QAAUiD,EAAQG,QAE5C,IAAIC,EAAM,EAAQ,QAAkEF,QACvEE,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,kCCT5E","file":"js/chunks/reviews.js?id=4dcbe50c12b08a0689ac","sourcesContent":["exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".reviews-content .review{margin-bottom:40px}.reviews-content .bubble{border-radius:5px;margin-bottom:20px;position:relative;padding:10px 20px}.reviews-content .bubble.content-bg{-webkit-box-shadow:none;box-shadow:none}.reviews-content .bubble:after{content:\\\"\\\";position:absolute;bottom:-15px;left:40px;width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-top:15px solid}.theme-clean-dark .reviews-content .bubble:after{border-top-color:rgba(0,0,0,.5)}.theme-clean-light .reviews-content .bubble:after{border-top-color:hsla(0,0%,100%,.85)}.theme-vantage-dark .reviews-content .bubble:after{border-top-color:rgba(0,0,0,.5)}.theme-vantage-light .reviews-content .bubble:after{border-top-color:#fff}.theme-slanted-dark .reviews-content .bubble:after{border-top-color:rgba(0,0,0,.5)}.theme-slanted-light .reviews-content .bubble:after{border-top-color:#fff}.reviews-content .review-author{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.reviews-content .review-author .author-name{margin-left:10px}.reviews-content .review-initial{width:45px;height:45px;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;letter-spacing:1px;text-transform:uppercase;text-align:center;font-weight:700;border-radius:50%;padding:20px;margin-left:33px}.theme-clean-dark .reviews-content .review-initial{background:rgba(0,0,0,.5);color:#fff}.theme-clean-light .reviews-content .review-initial{background:hsla(0,0%,100%,.85);color:#333}.theme-vantage-dark .reviews-content .review-initial{background:rgba(0,0,0,.5);color:#fff}.theme-vantage-light .reviews-content .review-initial{background:#fff;color:#333}.theme-slanted-dark .reviews-content .review-initial{background:rgba(0,0,0,.5);color:#fff}.theme-slanted-light .reviews-content .review-initial{background:#fff;color:#333}\", \"\"]);\n\n// exports\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-section reviews-content\"},[_c('div',{staticClass:\"container narrow\"},[(_vm.title)?_c('h2',{staticClass:\"list-title\",domProps:{\"innerHTML\":_vm._s(_vm.title)}}):_vm._e(),_vm._l((_vm.reviews),function(review,index){return _c('div',{key:(\"review-\" + index),staticClass:\"review\"},[_c('div',{staticClass:\"bubble content-bg animate-trigger\",class:review.entry_animation,domProps:{\"innerHTML\":_vm._s(review.review)}}),_c('div',{staticClass:\"review-author\"},[_c('div',{staticClass:\"review-initial\"},[_vm._v(_vm._s(_vm.reviewInitial(review.author)))]),_c('h3',{staticClass:\"author-name\"},[_vm._v(_vm._s(review.author))])])])})],2),(_vm.separator)?_c('SectionSeparator',{attrs:{\"separator\":_vm.separator}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"html\">\n  <div class=\"page-section reviews-content\">\n    <div class=\"container narrow\">\n\n      <h2 class=\"list-title\" v-if=\"title\" v-html=\"title\"></h2>\n\n      <div\n        v-for=\"(review, index) in reviews\"\n        class=\"review\"\n        :key=\"`review-${index}`\">\n\n        <div\n          class=\"bubble content-bg animate-trigger\"\n          :class=\"review.entry_animation\"\n          v-html=\"review.review\">\n        </div>\n\n        <div class=\"review-author\">\n          <div class=\"review-initial\">{{reviewInitial(review.author)}}</div>\n          <h3 class=\"author-name\">{{review.author}}</h3>\n        </div>\n      </div>\n    </div>\n\n    <SectionSeparator v-if=\"separator\" :separator=\"separator\"/>\n  </div>\n</template>\n\n<script>\nimport SectionSeparator from '@/components/lists/SectionSeparator'\n\nexport default {\n  name: 'Reviews',\n\n  props: ['items', 'title', 'separator'],\n\n  components: {\n    SectionSeparator\n  },\n\n  computed: {\n    reviews() {\n      return this.items.map((item) => {\n        return JSON.parse(item.value)\n      })\n    },\n\n    reviewInitial() {\n      return (author) => {\n        let names = author.split(' ')\n        let initials = ''\n\n        names.forEach((name) => {\n          initials += name.charAt(0)\n        })\n\n        return initials\n      }\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.reviews-content\n  .review\n    margin-bottom: $gap-large\n\n  $arrow_size: 15px\n\n  .bubble\n    border-radius: 5px\n    margin-bottom: $gap-medium\n    position: relative\n    padding: $gap-small $gap-medium\n\n    &.content-bg\n      box-shadow: none\n\n    &:after\n      content: ''\n      position: absolute\n      bottom: -$arrow_size\n      left: $gap-large\n      width: 0\n      height: 0\n      border-left: $arrow_size solid transparent\n      border-right: $arrow_size solid transparent\n      border-top: $arrow_size solid\n\n      @include themify($themes)\n        border-top-color: themed('content-bg')\n\n  .review-author\n    display: flex\n    align-items: center\n\n    .author-name\n      margin-left: $gap-small\n\n  .review-initial\n    width: 45px\n    height: 45px\n    display: flex\n    align-items: center\n    justify-content: center\n    letter-spacing: 1px\n    text-transform: uppercase\n    text-align: center\n    font-weight: bold\n    border-radius: 50%\n    padding: $gap-medium\n    margin-left: calc(#{$gap-large} - 7px)\n\n    @include themify($themes)\n      background: themed('content-bg')\n      color: themed('text')\n</style>","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!./Reviews.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!./Reviews.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Reviews.vue?vue&type=template&id=13dfcb4c&lang=html&\"\nimport script from \"./Reviews.vue?vue&type=script&lang=js&\"\nexport * from \"./Reviews.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./Reviews.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  \"028c1e34\"\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!./Reviews.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(\"504f073a\", 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!./Reviews.vue?vue&type=style&index=0&lang=sass&\""],"sourceRoot":""}