{"version":3,"sources":["webpack:///./src/js/vuejs/components/Faqs.vue","webpack:///./src/js/vuejs/components/Faqs.vue?afee","webpack:///src/js/vuejs/components/Faqs.vue","webpack:///./src/js/vuejs/components/Faqs.vue?c9ba","webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./src/js/partials/_float-labels.js","webpack:///./src/js/vuejs/components/AccordionItem.vue","webpack:///./src/js/vuejs/components/AccordionItem.vue?21a1","webpack:///src/js/vuejs/components/AccordionItem.vue","webpack:///./src/js/vuejs/components/AccordionItem.vue?3ceb"],"names":["data","searchTerm","props","items","type","Array","required","default","computed","filteredItems","filter","i","title","answer","join","toLowerCase","includes","components","AccordionItem","updated","floatLabels","component","_vm","this","_c","_self","staticClass","attrs","directives","name","rawName","value","expression","domProps","on","$event","target","composing","_v","_l","item","key","id","slot","_s","content","length","_e","_t","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","call","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","exports","floatLabelsCollection","document","querySelectorAll","floatLabelsEl","prefixClass","dataset","floatLabelsClassPrefix","fieldSelectors","fields","setClasses","field","fieldParent","parentElement","hasClass","addClass","isDirty","removeClass","addEventListener","placeholder","undefined","isOpen","methods","beforeEnter","el","style","height","enter","scrollHeight","beforeLeave","leave","class"],"mappings":"mGAAA,I,gBCA+L,EC8BhL,CACfA,UAAA,CACAC,WAAA,KAEAC,MAAA,CACAC,MAAA,CACAC,KAAAC,MACAC,UAAA,EACAC,YAAA,KAGAC,SAAA,CACAC,gBACA,SAAAR,WAAA,YAAAE,MAEA,IAAAM,EAAA,KAAAN,MAUA,OARA,KAAAF,aACAQ,IAAAC,QAAAC,IACA,QAAAV,WAEA,OAAAU,EAAAC,MAAAD,EAAAE,QAAAC,KAAA,KAAAC,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AAIgF,MAAM,IAAI,CAAChF,EAAI0B,GAAG,UAAU,GAAG1B,EAAIgB,GAAG,KAAKd,EAAG,aAAa,CAACG,MAAM,CAAC,KAAO,aAAaO,GAAG,CAAC,eAAeZ,EAAIkF,YAAY,eAAelF,EAAIwF,YAAY,MAAQxF,EAAIsF,MAAM,MAAQtF,EAAIyF,QAAQ,CAACvF,EAAG,MAAM,CAACI,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOT,EAAIgF,OAAQtE,WAAW,WAAWN,YAAY,oCAAoC,CAACJ,EAAI0B,GAAG,YAAY,MAAM,EAC/kB,GACsB,IGSpB,EACA,KACA,KACA,MAIa,UAAA3B,E","file":"faq-list.7af8b37f5e90714982ab.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"faqs\"},[_c('div',{staticClass:\"faqs__search\",attrs:{\"data-float-labels\":\"\",\"data-float-labels-class-prefix\":\"form-field\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12 col-lg-6\"},[_c('div',{staticClass:\"form-field form-field--floated-label\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchTerm),expression:\"searchTerm\"}],attrs:{\"id\":\"search\",\"type\":\"text\"},domProps:{\"value\":(_vm.searchTerm)},on:{\"input\":function($event){if($event.target.composing)return;_vm.searchTerm=$event.target.value}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"search\"}},[_vm._v(\"Search\")])])])])]),_vm._v(\" \"),_c('div',{staticClass:\"faqs__body\"},[_c('div',{staticClass:\"faqs__list\"},[_vm._l((_vm.filteredItems),function(item){return _c('accordion-item',{key:item.id,staticClass:\"accordion-item--q-and-a\"},[_c('h3',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(_vm._s(item.title))]),_vm._v(\" \"),_c('div',{staticClass:\"richtext\",attrs:{\"slot\":\"content\"},domProps:{\"innerHTML\":_vm._s(item.content)},slot:\"content\"})])}),_vm._v(\" \"),(!_vm.filteredItems.length)?_c('div',[_vm._t(\"noResults\")],2):_vm._e()],2)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Faqs.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Faqs.vue?vue&type=script&lang=js\"","\r\n\r\n","import { render, staticRenderFns } from \"./Faqs.vue?vue&type=template&id=5782e25e\"\nimport script from \"./Faqs.vue?vue&type=script&lang=js\"\nexport * from \"./Faqs.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { addClass, removeClass, hasClass } from '../_helpers';\r\n\r\nexport const floatLabels = () => {\r\n let floatLabelsCollection = document.querySelectorAll('[data-float-labels]');\r\n\r\n for(let floatLabelsEl of [...floatLabelsCollection]) {\r\n let prefixClass = floatLabelsEl.dataset.floatLabelsClassPrefix || 'field',\r\n fieldSelectors = [\r\n '[type=text]',\r\n '[type=email]',\r\n '[type=password]',\r\n '[type=tel]',\r\n 'textarea',\r\n 'select',\r\n '[data-float-label]'\r\n ],\r\n fields = floatLabelsEl.querySelectorAll(fieldSelectors.join(','));\r\n\r\n setClasses(prefixClass,fields);\r\n }\r\n}\r\n\r\nconst setClasses = (prefixClass,fields) => {\r\n for(let field of fields) {\r\n let fieldParent = field.parentElement;\r\n if(hasClass(fieldParent,prefixClass)) {\r\n addClass(fieldParent,`${prefixClass}--floated-label`);\r\n\r\n if(isDirty(field)) {\r\n addClass(fieldParent, `${prefixClass}--floated-label-dirty`);\r\n } else {\r\n removeClass(fieldParent, `${prefixClass}--floated-label-dirty`);\r\n }\r\n\r\n field.addEventListener('input',() => {\r\n if(isDirty(field)) {\r\n addClass(fieldParent, `${prefixClass}--floated-label-dirty`);\r\n } else {\r\n removeClass(fieldParent, `${prefixClass}--floated-label-dirty`);\r\n }\r\n });\r\n\r\n field.placeholder = '';\r\n }\r\n }\r\n}\r\n\r\nconst isDirty = field => {\r\n return field.value !== null && field.value !== undefined && field.value !== '';\r\n}\r\n\r\n(() => {\r\n floatLabels();\r\n})();","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:['accordion-item',{'accordion-item--open': _vm.isOpen}]},[_c('div',{staticClass:\"accordion-item__top\",on:{\"click\":function($event){_vm.isOpen = !_vm.isOpen}}},[_vm._t(\"title\")],2),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"accordion\"},on:{\"before-enter\":_vm.beforeEnter,\"before-leave\":_vm.beforeLeave,\"enter\":_vm.enter,\"leave\":_vm.leave}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"accordion-item__content richtext\"},[_vm._t(\"content\")],2)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AccordionItem.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AccordionItem.vue?vue&type=script&lang=js\"","\r\n","import { render, staticRenderFns } from \"./AccordionItem.vue?vue&type=template&id=3d2cd33e\"\nimport script from \"./AccordionItem.vue?vue&type=script&lang=js\"\nexport * from \"./AccordionItem.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}