(window.webpackJsonp=window.webpackJsonp||[]).push([[76],{1379:function(e,n,t){var content=t(1577);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,t(94).default)("fd207d82",content,!0,{sourceMap:!1})},1576:function(e,n,t){"use strict";t(1379)},1577:function(e,n,t){var r=t(93),o=t(188),c=t(503),d=r(!1),l=o(c);d.push([e.i,"/* stylelint-disable no-descending-specificity */\n#app.default-component--categoryDirectory {\n background: #fff;\n}\n#app.default-component--categoryDirectory .site-main .view .inner.inner--padding {\n padding-top: 40px;\n}\n@media (min-width: 768px) {\n#app.default-component--categoryDirectory .site-main .view .inner.inner--padding {\n padding-right: 40px;\n padding-left: 40px;\n}\n}\n@media (min-width: 991px) {\n#app.default-component--categoryDirectory .site-main .view .inner.inner--padding {\n padding-right: 0;\n padding-left: 0;\n column-gap: 100px;\n}\n}\n.view.view-category-directory .component-category-header {\n padding: 0 15px;\n background: #d1fcee;\n}\n@media (min-width: 768px) {\n.view.view-category-directory .component-category-header {\n padding: 0 95px;\n}\n}\n.view.view-category-directory .component-category-header .container-header {\n display: flex;\n align-items: center;\n width: 100%;\n height: 100px;\n padding: 0;\n overflow: hidden;\n}\n@media (min-width: 768px) {\n.view.view-category-directory .component-category-header .container-header {\n height: 200px;\n}\n}\n.view.view-category-directory .component-category-header .container-header .title {\n margin: 0 auto;\n color: #323236;\n font-size: 36px;\n font-family: 'FuturaPtDemi', Trebuchet MS, sans-serif;\n line-height: 60px;\n text-align: center;\n}\n@media (min-width: 768px) {\n.view.view-category-directory .component-category-header .container-header .title {\n font-size: 50px;\n line-height: 50px;\n}\n}\n.view.view-category-directory .directory {\n max-width: 970px;\n margin: 0 auto;\n}\n.view.view-category-directory .directory ul {\n margin: 0 0 20px;\n padding: 0;\n list-style-type: none;\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory ul {\n margin-bottom: 0;\n}\n}\n.view.view-category-directory .directory a {\n color: #505050;\n}\n.view.view-category-directory .directory label {\n display: block;\n margin-bottom: 20px;\n padding: 0 0 0 5px;\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory label {\n display: inline-block;\n margin-bottom: 0;\n padding: 10px;\n}\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory label:hover {\n background: rgba(37, 199, 210, 0.1);\n}\n}\n.view.view-category-directory .directory a,\n.view.view-category-directory .directory label,\n.view.view-category-directory .directory label a {\n display: block;\n color: #505050;\n text-decoration: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-tap-highlight-color: transparent;\n /* For some Androids */\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory a,\n .view.view-category-directory .directory label,\n .view.view-category-directory .directory label a {\n display: inline-block;\n}\n}\n.view.view-category-directory .directory input {\n display: none;\n}\n.view.view-category-directory .directory input[type='checkbox']:checked ~ label .name::before {\n transform: rotate(180deg);\n}\n.view.view-category-directory .directory input[type='checkbox']:checked ~ ul {\n display: block;\n}\n.view.view-category-directory .directory .name {\n display: block;\n}\n.view.view-category-directory .directory .name::before {\n position: absolute;\n top: 11px;\n right: 5px;\n z-index: 5;\n width: 12px;\n height: 6px;\n background: url("+l+") no-repeat;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n transition: all 0.4s;\n content: '';\n}\n.view.view-category-directory .directory .name::after {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n width: 22px;\n white-space: pre;\n content: ' ';\n}\n.view.view-category-directory .directory .category {\n font-size: 22px;\n font-family: 'ProximaNovaSemiBold', Arial, sans-serif;\n line-height: 28px;\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory .category {\n font-size: 24px;\n font-family: 'ProximaNovaBold', Arial, sans-serif;\n line-height: 25px;\n}\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory .category::before {\n display: none;\n}\n}\n.view.view-category-directory .directory .subCategories,\n.view.view-category-directory .directory .subSubCategories {\n display: none;\n}\n.view.view-category-directory .directory .subCategories li,\n.view.view-category-directory .directory .subSubCategories li {\n margin-bottom: 15px;\n padding-left: 15px;\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory .subCategories li,\n .view.view-category-directory .directory .subSubCategories li {\n margin-bottom: 0;\n padding-left: 25px;\n}\n}\n.view.view-category-directory .directory .subCategories {\n margin-bottom: 30px;\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory .subCategories {\n display: block;\n}\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory .subSubCategories {\n display: block;\n max-width: 970px;\n margin-bottom: 20px;\n padding-left: 20px;\n column-count: 3;\n column-gap: 40px;\n}\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory .subSubCategories li {\n width: 290px;\n margin-bottom: 0;\n padding-left: 0;\n}\n}\n.view.view-category-directory .directory .subSubCategories li a {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n}\n.view.view-category-directory .directory .subcategory,\n.view.view-category-directory .directory .subsubcategory {\n font-size: 17px;\n font-family: 'ProximaNovaRegular', Arial, sans-serif;\n line-height: 28px;\n letter-spacing: 0;\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory .subcategory {\n font-size: 17px;\n font-family: 'ProximaNovaBold', Arial, sans-serif;\n line-height: 28px;\n}\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory .subcategory::before {\n display: none;\n}\n}\n.view.view-category-directory .directory .subsubcategory {\n padding-left: 5px;\n}\n@media (min-width: 991px) {\n.view.view-category-directory .directory .subsubcategory {\n display: inline-block;\n padding: 10px;\n}\n}\n.view.view-category-directory .directory .subsubcategory:hover {\n background: rgba(0, 124, 190, 0.1);\n}\n.view.view-category-directory .category,\n.view.view-category-directory .subcategory {\n position: relative;\n}\n.view.view-category-directory .category .dropdown-arrow,\n.view.view-category-directory .subcategory .dropdown-arrow {\n position: absolute;\n top: 11px;\n right: 0;\n}\n.view.view-category-directory .categories > li {\n margin-bottom: 40px;\n}\n@media (min-width: 991px) {\n.view.view-category-directory .categories > li {\n margin-bottom: 30px;\n border-bottom: 1px solid #d8d8d8;\n}\n}\n@media (min-width: 991px) {\n.view.view-category-directory .categories > li > label {\n margin-bottom: 20px;\n}\n}\n",""]),e.exports=d},1980:function(e,n,t){"use strict";t.r(n);var r=t(33),o=t(18),c=t(12),d=(t(19),t(21),t(5),t(53),t(394),t(13),t(58),t(0)),l=t(834),y=t(130),w=t(824),m=t(825),v=t(131),f=l.AllHtmlEntities.decode,h={asyncData:function(e){return Object(c.a)(regeneratorRuntime.mark((function n(){var t,r,c,l,y,w;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.store,r=e.error,Object(d.a)(window,"lg_static",!1),n.next=5,Object(v.a)(t.dispatch("livestrong/categoryDirectory/FETCH_CATEGORY_DIRECTORY"));case 5:if(c=n.sent,l=Object(o.a)(c,2),y=l[0],w=l[1],!y){n.next=11;break}return n.abrupt("return",r({status:500,message:"[Livestrong Category Directory] Error: ".concat(y.message),stack:y.stack||"Stack unavailable"}));case 11:return n.abrupt("return",w);case 12:case"end":return n.stop()}}),n)})))()},head:function(){var e=Object(d.a)(this,"$config",{}),n=Object(y.a)({pagetype:"categorydirectory"}),t={title:"Directory Categories",meta:[{name:"description",content:""},{name:"twitter:title",content:"Directory Categories | ".concat(Object(d.a)(this,"$config.site.title",""))},{name:"twitter:description",content:""},{property:"og:title",content:"Directory Categories | ".concat(Object(d.a)(this,"$config.site.title",""))},{property:"og:description",content:""},{property:"og:url",content:"".concat(Object(d.a)(this,"$config.site.domain",""),"/directory/")}],link:[{vmid:"canonical-url",rel:"canonical",href:"".concat(Object(d.a)(this,"$config.site.domain",""),"/directory/")}],script:[{innerHTML:"window.lg.gtmData = ".concat(JSON.stringify(n)),type:"text/javascript"},{vmid:"gtm-script",hid:"gtm-script",once:!0,type:"text/javascript",innerHTML:Object(m.a)("gtm-script")(f(Object(w.a)(e)))}],__dangerouslyDisableSanitizers:["script"]};if(this.parselyScript){t.meta=[].concat(Object(r.a)(t.meta),[{name:"parsely-type",content:"webpage"},{name:"parsely-title",content:"Directory Categories"},{name:"parsely-section",content:"directory categories page"}])}return t},computed:{categories:function(){var e=Object(d.a)(this,"$store.state.livestrong.categoryDirectory.categoryDirectory",[]);return this.sortDirectory(e)},parselyScript:function(){return Object(d.a)(this,"$store.state.config.parsely.source","")}},methods:{sortDirectory:function(e){var n=this,t=e.filter((function(e){return e.name})),r=["sub_categories","sub_sub_categories"];return t.sort((function(a,b){return a.name.localeCompare(b.name)})),t.forEach((function(e){r.forEach((function(t){e[t]&&n.sortDirectory(e[t])}))})),t}}},x=(t(1576),t(43)),component=Object(x.a)(h,(function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"view-category-directory"},[t("div",{staticClass:"container"},[e._m(0),e._v(" "),t("div",{staticClass:"inner inner--padding directory"},[t("ul",{staticClass:"categories"},e._l(e.categories,(function(n,r){return t("li",{key:r},[t("input",{attrs:{id:n.slug,type:"checkbox"}}),e._v(" "),t("label",{attrs:{for:n.slug}},[t("h2",{staticClass:"name category"},[t("a",{attrs:{href:"/cat/"+n.slug+"/"}},[e._v("\n "+e._s(n.name)+"\n ")])])]),e._v(" "),t("ul",{staticClass:"subCategories"},e._l(n.sub_categories,(function(n,r){return t("li",{key:r},[t("input",{attrs:{id:n.slug,type:"checkbox"}}),e._v(" "),t("label",{attrs:{for:n.slug}},[t("h3",{staticClass:"name subcategory"},[t("a",{attrs:{href:"/scat/"+n.slug+"/"}},[e._v("\n "+e._s(n.name)+"\n ")])])]),e._v(" "),t("ul",{staticClass:"subSubCategories"},e._l(n.sub_sub_categories,(function(n,r){return t("li",{key:r},[t("h4",{staticClass:"subsubcategory"},[t("a",{attrs:{href:"/sscat/"+n.slug+"/"}},[e._v("\n "+e._s(n.name)+"\n ")])])])})),0)])})),0)])})),0)])])])}),[function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"component-category-header"},[t("div",{staticClass:"container-header"},[t("h1",{staticClass:"title"},[e._v("Category Directory")])])])}],!1,null,null,null);n.default=component.exports},824:function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));t(19);function r(e){return"\n function initGTMOnEvent(event) {\n initGTM();\n event.currentTarget.removeEventListener(event.type, initGTMOnEvent);\n }\n \n function initGTM() { \n if (window.gtmDidInit) {\n return false;\n }\n window.gtmDidInit = true;\n \n \n if (!window.lg.gtmId) {\n console.error('GTM ID is not defined')\n }\n \n function pushNetworkInfo(obj) {\n window.dataLayer.push({\n gtmLoadTime: obj.gtmLoadTime,\n gtmSpeed: obj.gtmSpeed,\n })\n }\n \n if (window.lg.gtmData) {\n window.lg.speedTracking = {\n gtmLoadTime: null,\n gtmSpeed: null,\n }\n \n window.lg.utils.meta = window.lg.utils.getUserMetaData()\n \n Object.keys(window.lg.utils.meta).forEach(function (key) {\n const value = window.lg.utils.meta[key]\n window.lg.gtmData[key] = value\n })\n \n // when gtm loads, it will fire whatever is in dataLayer\n window.dataLayer.push(window.lg.gtmData)\n \n const gtmSpeedRanges = [\n [500, '0-500'],\n [1000, '501-1000'],\n [1500, '1001-1500'],\n [2000, '1501-2000'],\n [2500, '2001-2500'],\n [Infinity, '2500-'],\n ]\n \n // Load GTM as speed detection\n ;(function (w, d, s, l, i) {\n \n // disable gtm script load if query param exists\n const searchParams = new URLSearchParams(window.location.search)\n const gtm = searchParams.get('gtm')\n if (gtm == 'false') {\n return\n }\n \n let timeStart\n let timeDiff\n const randomQuery = Date.now() + (Math.random() * 1e8).toFixed()\n \n w[l] = w[l] || []\n w[l].push({\n 'gtm.start': new Date().getTime(),\n event: 'gtm.js',\n })\n \n const f = d.getElementsByTagName(s)[0]\n const j = d.createElement(s)\n const dl = l != 'dataLayer' ? `&l=${l}` : ''\n j.async = true\n j.src = `https://www.googletagmanager.com/gtm.js?id=${i}${dl}&rand=${randomQuery}`\n \n j.onload = function (evt) {\n let gtmSpeed\n // for some reason this is 2 ~ 4 times larger than Chrome's network activity timing\n // this fires after execution\n timeDiff = Math.round(performance.now() - timeStart)\n \n // todo: move functionality out of this method\n for (let i = 0; i < gtmSpeedRanges.length; i++) {\n const item = gtmSpeedRanges[i]\n if (timeDiff < item[0]) {\n gtmSpeed = item[1]\n break\n }\n }\n \n window.lg.speedTracking.gtmLoadTime = parseInt(timeDiff, 10)\n window.lg.speedTracking.gtmSpeed = gtmSpeed\n pushNetworkInfo(window.lg.speedTracking)\n }\n \n j.onerror = function () {\n pushNetworkInfo(window.lg.speedTracking)\n }\n \n f.parentNode.insertBefore(j, f)\n timeStart = performance.now()\n })(window, document, 'script', 'dataLayer', window.lg.gtmId) // the id should be dynamically injected when moved to Fundation\n }\n }\n\n // fallback pages can already have DOMContentLoaded fired when this code is executed\n if (document.readyState === 'loading') {\n document.addEventListener(\"DOMContentLoaded\", () => {\n ".concat(e.enableGtmScriptDelay," ? setTimeout(initGTM, ").concat(e.maxGtmScriptDelay,") : initGTM()\n });\n } else {\n ").concat(e.enableGtmScriptDelay," ? setTimeout(initGTM, ").concat(e.maxGtmScriptDelay,') : initGTM()\n };\n document.addEventListener("scroll", initGTMOnEvent);\n document.addEventListener("mousemove", initGTMOnEvent);\n document.addEventListener("touchstart", initGTMOnEvent);\n \n ')}},825:function(e,n,t){"use strict";t(19);n.a=function(e){return function(n){return"\n ((onceName) => {\n if (window._bedrock && window._bedrock[onceName]) {\n return\n } else if (!window._bedrock) {\n window._bedrock = {}\n }\n\n ".concat(n,'\n\n window._bedrock[onceName] = true\n })("').concat(e,'")\n ')}}}}]);