-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.1829bbd6.js
10 lines (8 loc) · 5.68 KB
/
main.1829bbd6.js
1
2
3
4
5
6
7
8
9
10
parcelRequire=function(e,r,n,t){var i="function"==typeof parcelRequire&&parcelRequire,o="function"==typeof require&&require;function u(n,t){if(!r[n]){if(!e[n]){var f="function"==typeof parcelRequire&&parcelRequire;if(!t&&f)return f(n,!0);if(i)return i(n,!0);if(o&&"string"==typeof n)return o(n);var c=new Error("Cannot find module '"+n+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[n][1][r]||r};var l=r[n]=new u.Module(n);e[n][0].call(l.exports,p,l,l.exports,this)}return r[n].exports;function p(e){return u(p.resolve(e))}}u.isParcelRequire=!0,u.Module=function(e){this.id=e,this.bundle=u,this.exports={}},u.modules=e,u.cache=r,u.parent=i,u.register=function(r,n){e[r]=[function(e,r){r.exports=n},{}]};for(var f=0;f<n.length;f++)u(n[f]);if(n.length){var c=u(n[n.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=c:"function"==typeof define&&define.amd?define(function(){return c}):t&&(this[t]=c)}return u}({"DOAq":[function(require,module,exports) {
},{}],"bdrn":[function(require,module,exports) {
!function(e,t){function n(n){return n.href&&(r=n.href,i=e.location,(a=t.createElement("a")).href=r,a.hostname===i.hostname&&a.protocol===i.protocol);var r,i,a}t.addEventListener?t.addEventListener("DOMContentLoaded",function(){e.mqGenie=function(){var r=t.documentElement;r.style.overflowY="scroll";var i=e.innerWidth-r.clientWidth,a={adjusted:i>0,fontSize:parseFloat(e.getComputedStyle(r).getPropertyValue("font-size")),width:i,adjustMediaQuery:function(e){if(!mqGenie.adjusted)return e;var t=e.replace(/\d+px/gi,function(e){return parseInt(e,10)+mqGenie.width+"px"});return t=t.replace(/\d.+?em/gi,function(e){return(parseFloat(e)*mqGenie.fontSize+mqGenie.width)/mqGenie.fontSize+"em"})}};if(a.adjusted){if("WebkitAppearance"in r.style){var o,d=/Chrome\/(\d*?\.\d*?\.\d*?\.\d*?)\s/g,u=navigator.userAgent.match(d);if(u?((o=(u=u[0].replace(d,"$1")).split("."))[0]=parseInt(o[0]),o[2]=parseInt(o[2]),o[3]=parseInt(o[3]),o[0]<=29&&(29===o[0]&&o[2]<1548&&o[3]<57?a.adjusted=!1:o[0]<29&&(a.adjusted=!1))):a.adjusted=!1,!a.adjusted)return a}for(var s,c,l=function(){for(var e,r=t.styleSheets,i=r.length,a=0,o=[];a<i;a++)(n(e=r[a])||e.ownerNode.constructor===HTMLStyleElement)&&o.push(e);return o}(),f=l.length,m=0;m<f;m++){c=(s=function(e,t){for(var n,r=e.cssRules?e.cssRules:e.media,i=[],a=0,o=r.length;a<o;a++)t(n=r[a])&&i.push(n);return i}(l[m],function(e){return e.constructor===CSSMediaRule})).length;for(var p=0;p<c;p++)s[p].media.mediaText=s[p].media.mediaText.replace(/m(in|ax)-width:\s*(\d|\.)+(px|em)/gi,function(e){return e.match("px")?e.replace(/\d+px/gi,function(e){return parseInt(e,10)+a.width+"px"}):e.replace(/\d.+?em/gi,function(e){return(parseFloat(e)*a.fontSize+a.width)/a.fontSize+"em"})})}}return a}()}):e.mqGenie={adjustMediaQuery:function(e){return e}}}(window,document);
},{}],"u+/D":[function(require,module,exports) {
},{"./../img/logo.png":[["logo.7983133b.png","ELSW"],"ELSW"]}],"FVPG":[function(require,module,exports) {
"use strict";require("normalize.css"),require("./mq.genie"),require("../scss/main.scss");var e=document.getElementById("script-text"),o=document.getElementById("copy-btn"),t=document.querySelectorAll("li[data-mirror-info]"),n=document.getElementById("mobile-menu"),r=document.getElementById("burger-menu"),c=document.getElementById("overlay"),l=!1,a=1,s=void 0,i=n.querySelectorAll(".menu-items li a"),u=function(){clearTimeout(s),n.className="mobile-menu",r.className="burger-menu step-2 step-2-3",c.className="overlay",s=setTimeout(function(){r.className="burger-menu"},150)},m=function(){clearTimeout(s),n.className="mobile-menu opened",r.className="burger-menu step-2",c.className="overlay active",s=setTimeout(function(){r.className="burger-menu step-3 step-2-3"},150)};r.addEventListener("click",function(){l?u():m(),l=!l});for(var d=0;d<i.length;d++)i[d].addEventListener("click",function(){u(),l=!1});c.addEventListener("click",function(){u(),l=!1});var g=Array.from(document.querySelectorAll('a[href="#features"]'));if(g.map(function(e){return e.addEventListener("click",function(e){var o="none"!==getComputedStyle(n).display;window.scroll({top:document.getElementById("features").offsetTop-(o?64:0),behavior:"smooth"}),e.preventDefault()}),e}),ClipboardJS.isSupported()){e.classList.add("copyable"),o.style.display="block";var f=new ClipboardJS(o);f.on("success",function(e){console.info("Action:",e.action),console.info("Text:",e.text),console.info("Trigger:",e.trigger),e.clearSelection()})}for(var p=function(o){t[o].childNodes[0].addEventListener("click",function(n){e.value=t[o].dataset.mirrorInfo;for(var r=0;r<t.length;r++)t[r].className=o===r?"current":"";n.preventDefault()})},v=0;v<t.length;v++)p(v);var y=new XMLHttpRequest;y.open("GET","https://api.github.com/repos/SilverBlogTeam/SilverBlog",!0),y.onload=function(){if(y.status>=200&&y.status<400){var e=JSON.parse(y.responseText),o=document.getElementById("github-star-count");o.style.display="block",o.textContent=e.stargazers_count.toLocaleString();var t=document.getElementById("github-fork-count");t.style.display="block",t.textContent=e.forks_count.toLocaleString()}else console.error("Server returned "+y.status)},y.onerror=function(e){console.error(e)},y.send(),console.log("%cSilverBlog Official Home Page","background-color: #15151e;color: #e4e4e4;padding: 0.8em 1.8em;"),console.log("%cDesigned By %cDimpurr","background-color: #0b0a14;color: #e4e4e4;padding: 0.4em 1em","background-color: #5e5e5e;color: #e4e4e4;padding: 0.4em 1em;"),console.log("%cPerformed By%ctcdw","background-color: #0b0a14;color: #e4e4e4;padding: 0.4em 1em","background-color: #5e5e5e;color: #e4e4e4;padding: 0.4em 1em;");
},{"normalize.css":"DOAq","./mq.genie":"bdrn","../scss/main.scss":"u+/D"}]},{},["FVPG"], null)
//# sourceMappingURL=/main.1829bbd6.map