{"version":3,"sources":["template/template.ts"],"names":[],"mappings":";AA0DA,IAAM,EAAO,OAAO,SAAS,SAAS,MAAM,KAAK,GACjD,GACC,SACE,eAAe,QAAQ,GACvB,UAAU,IAAI,4BAQjB,IAAM,EAAO,SAAS,cAAc,0BAC9B,EAAW,SAAS,cAAc,qBAClC,EAAY,SAAS,cAAc,2BACnC,EAAO,SAAS,cAAc,QAKpC,SAAS,IACR,EAAK,UAAU,OAAO,YACtB,EAAK,UAAU,OAAO,kBACtB,EAAU,UAAU,OAAO,mCAN5B,EAAS,iBAAiB,QAAS,GACnC,EAAU,iBAAiB,QAAS","file":"template.5ee866b4.map","sourceRoot":"../src","sourcesContent":["/*=============================================\n= LocalStorage Font Caching =\n=============================================*/\n\n// !(function() {\n// \t\"use strict\"\n// \tfunction e(e, t, n) {\n// \t\te.addEventListener\n// \t\t\t? e.addEventListener(t, n, !1)\n// \t\t\t: e.attachEvent && e.attachEvent(\"on\" + t, n)\n// \t}\n// \tfunction t(e) {\n// \t\treturn (\n// \t\t\twindow.localStorage &&\n// \t\t\tlocalStorage.font_css_cache &&\n// \t\t\tlocalStorage.font_css_cache_file === e\n// \t\t)\n// \t}\n// \tfunction n() {\n// \t\tif (window.localStorage && window.XMLHttpRequest)\n// \t\t\tif (t(o)) c(localStorage.font_css_cache)\n// \t\t\telse {\n// \t\t\t\tvar n = new XMLHttpRequest()\n// \t\t\t\tn.open(\"GET\", o, !0),\n// \t\t\t\te(n, \"load\", function() {\n// \t\t\t\t\t4 === n.readyState &&\n// \t\t\t\t\t\t\t(c(n.responseText),\n// \t\t\t\t\t\t\t(localStorage.font_css_cache = n.responseText),\n// \t\t\t\t\t\t\t(localStorage.font_css_cache_file = o))\n// \t\t\t\t}),\n// \t\t\t\tn.send()\n// \t\t\t}\n// \t\telse {\n// \t\t\tvar a = document.createElement(\"link\")\n// \t\t\t;(a.href = o),\n// \t\t\t(a.rel = \"stylesheet\"),\n// \t\t\t(a.type = \"text/css\"),\n// \t\t\tdocument.getElementsByTagName(\"head\")[0].appendChild(a),\n// \t\t\t(document.cookie = \"font_css_cache\")\n// \t\t}\n// \t}\n// \tfunction c(e) {\n// \t\tvar t = document.createElement(\"style\")\n// \t\t;(t.innerHTML = e), document.getElementsByTagName(\"head\")[0].appendChild(t)\n// \t}\n// \tvar o = \"./assets/scss/fonts.min.css\"\n// \t;(window.localStorage && localStorage.font_css_cache) ||\n// \tdocument.cookie.indexOf(\"font_css_cache\") > -1\n// \t\t? n()\n// \t\t: e(window, \"load\", n)\n// })()\n\n/*===== End of LocalStorage Font Caching ======*/\n\n/*=============================================\n= Current Page Active =\n=============================================*/\n\nconst path = window.location.pathname.split(\"/\")[1]\npath &&\n\tdocument\n\t\t.getElementById(`link-${path}`)\n\t\t.classList.add(\"nav-list__item--selected\")\n\n/*===== End of Current Page Active ======*/\n\n/*=============================================\n= Mobile Menu Toggler =\n=============================================*/\n\nconst menu = document.querySelector(\".header__nav .nav-list\")\nconst menuOpen = document.querySelector(\".nav-mobile__icon\")\nconst menuClose = document.querySelector(\".nav-mobile__close-icon\")\nconst body = document.querySelector(\"body\")\n\nmenuOpen.addEventListener(\"click\", toggleMenu)\nmenuClose.addEventListener(\"click\", toggleMenu)\n\nfunction toggleMenu() {\n\tbody.classList.toggle(\"noscroll\")\n\tmenu.classList.toggle(\"nav-list--open\")\n\tmenuClose.classList.toggle(\"nav-mobile__close-icon--visible\")\n}\n/*===== End of Mobile Menu Toggler ======*/\n"]}