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F,MAAAC,QAAA,UAEAtB,EAAAiB,GAAAI,MAAAC,QAAA,OACAtB,EAAAiB,GAAAM,cAAAF,MAAAC,QAAA,OACAtB,EAAAiB,GAAAM,cAAAA,cAAAF,MAAAC,QAAA,OAGA,ICtIuP,ICSnP,GAAY,OACd,EACA3E,EACAS,GACA,EACA,KACA,WACA,MAIF,EAAe,EAAiB,O","sources":["webpack://lti-client/./src/views/HomeView.vue","webpack://lti-client/./src/components/county/LinksComponent.vue","webpack://lti-client/src/components/county/LinksComponent.vue","webpack://lti-client/./src/components/county/LinksComponent.vue?acb6","webpack://lti-client/./src/components/county/LinksComponent.vue?5163","webpack://lti-client/src/views/HomeView.vue","webpack://lti-client/./src/views/HomeView.vue?5167","webpack://lti-client/./src/views/HomeView.vue?aae2"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('county-header',{attrs:{\"resultsPresent\":true}}),_c('main',{staticClass:\"container-fluid p-0 text-center bg-transparent\"},[_c('section',{staticClass:\"container-fluid pt-3\",attrs:{\"id\":\"home-top-content\"}},[_c('div',{staticClass:\"row px-4 py-3\"},[_c('div',{staticClass:\"col\"},[_c('h2',{staticClass:\"mt-3 d-none\"},[_vm._v(\"Proudly Serving These Indiana Counties\")]),_c('county-links',{attrs:{\"id\":\"county-links\",\"items\":_vm.counties}})],1)])])]),_c('county-footer')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"container-fluid\",attrs:{\"id\":\"county-links\"}},[_c('div',{staticClass:\"row\"},_vm._l(((_vm.testing ? _vm.items : _vm.items.filter((county) => _vm.excludedCounties.includes(county.corpCode) === false))),function(county){return _c('div',{key:county.corpCode,staticClass:\"grow col p-3 m-2\"},[(county.corpCode !== 'test')?_c('a',{attrs:{\"href\":_vm.baseUrl + county.slug}},[_c('img',{attrs:{\"alt\":county.name + ' county Indiana icon',\"src\":_vm.baseUrl + 'images/county/250x250/' + county.corpCode + '.jpg' ||\n              `https://ui-avatars.com/api/?name=${county.corpCode}&length=3&size=140&background=349494&color=bad9d9&bold=true`,\"width\":\"250\",\"data-corpCode\":county.corpCode},on:{\"error\":_vm.loadCountyImage}}),_c('br'),_c('h3',{staticClass:\"h4\"},[_vm._v(_vm._s(county.title))])]):_vm._e()])}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n  <div id=\"county-links\" class=\"container-fluid\">\r\n    <div class=\"row\">\r\n      <div\r\n        v-for=\"county in (testing ? items : items.filter((county) => excludedCounties.includes(county.corpCode) === false))\"\r\n        :key=\"county.corpCode\"\r\n        class=\"grow col p-3 m-2\"\r\n      >\r\n        <a v-if=\"county.corpCode !== 'test'\" :href=\"baseUrl + county.slug\">\r\n          <img\r\n            :alt=\"county.name + ' county Indiana icon'\"\r\n            :src=\"baseUrl + 'images/county/250x250/' + county.corpCode + '.jpg' ||\r\n                `https://ui-avatars.com/api/?name=${county.corpCode}&length=3&size=140&background=349494&color=bad9d9&bold=true`\"\r\n            width=\"250\"\r\n            :data-corpCode=\"county.corpCode\"\r\n            @error=\"loadCountyImage\"\r\n          />\r\n          <br />\r\n          <h3 class=\"h4\">{{ county.title }}</h3>\r\n        </a>\r\n      </div>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<style scoped>\r\na {\r\n  color: #333;\r\n  text-decoration: none;\r\n}\r\n.grow {\r\n  transition: all 0.125s ease-in-out;\r\n}\r\n.grow:hover,\r\n.grow:hover a {\r\n  transform: scale(1.1);\r\n  text-decoration: underline;\r\n}\r\nimg {\r\n  max-width: 140px;\r\n  border: 5px solid rgba(255, 255, 255, 0.35);\r\n  border-radius: 15px;\r\n}\r\n#county-links {\r\n  max-width: 1020px !important;\r\n}\r\n</style>\r\n\r\n<script>\r\nexport default {\r\n  data() {\r\n    return {\r\n      baseUrl: process.env.BASE_URL,\r\n      testing: this.$route.query.preview !== undefined,\r\n      excludedCounties: ['har'],\r\n    };\r\n  },\r\n  props: {\r\n    items: {\r\n      type: Array,\r\n      required: true,\r\n    },\r\n  },\r\n  methods: {\r\n    loadCountyImage: ((el) => {\r\n      el.preventDefault();\r\n      if (el.target) {\r\n        (el.target).src = `https://ui-avatars.com/api/?name=${(el.target).getAttribute(\r\n          'data-corpCode'\r\n        )}&length=3&size=140&background=349494&color=bad9d9&bold=true`;\r\n      }\r\n    })\r\n  }\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LinksComponent.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LinksComponent.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LinksComponent.vue?vue&type=template&id=230b9275&scoped=true\"\nimport script from \"./LinksComponent.vue?vue&type=script&lang=js\"\nexport * from \"./LinksComponent.vue?vue&type=script&lang=js\"\nimport style0 from \"./LinksComponent.vue?vue&type=style&index=0&id=230b9275&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"230b9275\",\n  null\n  \n)\n\nexport default component.exports","<template>\r\n  <div>\r\n    <county-header :resultsPresent=\"true\" />\r\n    <main class=\"container-fluid p-0 text-center bg-transparent\">\r\n      <section id=\"home-top-content\" class=\"container-fluid pt-3\">\r\n        <div class=\"row px-4 py-3\">\r\n          <div class=\"col\">\r\n            <h2 class=\"mt-3 d-none\">Proudly Serving These Indiana Counties</h2>\r\n            <county-links id=\"county-links\" :items=\"counties\" />\r\n          </div>\r\n        </div>\r\n      </section>\r\n    </main>\r\n    <county-footer />\r\n  </div>\r\n</template>\r\n\r\n<style scoped>\r\nh1 {\r\n  font-weight: 700;\r\n  text-transform: uppercase;\r\n}\r\n#home-title {\r\n  background-color: rgba(255, 255, 255, 0.5);\r\n}\r\n#home-top-content {\r\n  background-position: center center;\r\n  background-repeat: no-repeat;\r\n  background-size: cover;\r\n}\r\n.icon-wrapper {\r\n  height: 110px;\r\n}\r\n.icon-wrapper img {\r\n  max-width: 100px;\r\n}\r\n\r\ninput {\r\n  text-transform: capitalize;\r\n  padding: 10px;\r\n  width: 85%;\r\n  border-radius: 5px;\r\n  border: #8080804a solid 1px;\r\n  margin-bottom: 5%;\r\n}\r\n.search-parent::after {\r\n  content: \"☌\";\r\n  font-size: 1.35rem;\r\n  display: inline-block;\r\n  transform: rotate(180deg);\r\n  padding-left: 5px;\r\n  padding-right: 5px;\r\n}\r\n.h4 {\r\n  font-size: calc(1.275rem + 0vw);\r\n}\r\n@media only screen and (min-width: 600px) {\r\n  .search {\r\n    display: none !important;\r\n  }\r\n  .search-parent::after {\r\n    display: none;\r\n  }\r\n  footer {\r\n    display: block;\r\n    bottom: 0px;\r\n  }\r\n}\r\n</style>\r\n\r\n<style>\r\n/* IE 11 only */\r\n@media screen and (-ms-high-contrast: none) {\r\n  div.grow {\r\n    flex: none;\r\n    width: 200px;\r\n    height: 200px;\r\n  }\r\n}\r\n</style>\r\n\r\n<script>\r\nimport CountyHeader from \"../components/common/CountyHeader.vue\";\r\nimport CountyLinks from \"../components/county/LinksComponent.vue\";\r\nimport CountyFooter from \"../components/county/FooterComponent\";\r\nexport default {\r\n  components: {\r\n    CountyLinks,\r\n    CountyHeader,\r\n    CountyFooter\r\n  },\r\n  computed: {\r\n    topContentBgImage() {\r\n      return this.baseUrl + \"images/home-bg.jpg\";\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      baseUrl: process.env.BASE_URL,\r\n      currentYear: new Date().getFullYear(),\r\n    };\r\n  },\r\n  props: {\r\n    counties: {\r\n      type: Array,\r\n      required: true,\r\n    },\r\n  },\r\n  methods: {\r\n    filter: function() {\r\n      let images = document.querySelectorAll(\r\n        \"#county-links > .row > .grow > a > img\"\r\n      );\r\n      let sort = document.querySelector(\".search\").value.toLowerCase();\r\n      images.forEach.call(document.querySelectorAll(\"[alt]\"), function(\r\n        element\r\n      ) {\r\n        var text = element.alt.split(/\\s+/);\r\n        var lowercase = text.map(function(text) {\r\n          return text[0].toLowerCase() + text.slice(1);\r\n        });\r\n        element.alt = lowercase.join(\" \");\r\n      });\r\n      for (var i = 0; i < images.length; i++) {\r\n        if (new RegExp(sort).test(images[i].alt)) {\r\n          images[i].style.display = \"block\";\r\n          images[i].parentElement.style.display = \"inline-block\";\r\n          images[i].parentElement.parentElement.style.display = \"block\";\r\n        } else {\r\n          images[i].style.display = \"none\";\r\n          images[i].parentElement.style.display = \"none\";\r\n          images[i].parentElement.parentElement.style.display = \"none\";\r\n        }\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HomeView.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HomeView.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HomeView.vue?vue&type=template&id=8269d660&scoped=true\"\nimport script from \"./HomeView.vue?vue&type=script&lang=js\"\nexport * from \"./HomeView.vue?vue&type=script&lang=js\"\nimport style0 from \"./HomeView.vue?vue&type=style&index=0&id=8269d660&prod&scoped=true&lang=css\"\nimport style1 from \"./HomeView.vue?vue&type=style&index=1&id=8269d660&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"8269d660\",\n  null\n  \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","attrs","staticClass","_v","counties","staticRenderFns","_l","testing","items","filter","county","excludedCounties","includes","corpCode","key","baseUrl","slug","name","on","loadCountyImage","_s","title","_e","data","process","undefined","$route","query","preview","props","type","Array","required","methods","el","preventDefault","target","src","getAttribute","component","components","CountyLinks","CountyHeader","CountyFooter","computed","topContentBgImage","currentYear","Date","getFullYear","images","document","querySelectorAll","sort","querySelector","value","toLowerCase","forEach","call","element","text","alt","split","lowercase","map","slice","join","i","length","RegExp","test","style","display","parentElement"],"sourceRoot":""}