!function(){"use strict";document.getElementsByTagName("html")[0].classList.add("js")}();
!function(){var t=function(t,n,e){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,e)}),n)};var n=function(t){return t};var e=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)},r=Math.max;var o=function(t,n,o){return n=r(void 0===n?t.length-1:n,0),function(){for(var c=arguments,u=-1,i=r(c.length-n,0),a=Array(i);++u<i;)a[u]=c[n+u];u=-1;for(var f=Array(n+1);++u<n;)f[u]=c[u];return f[n]=o(a),e(t,this,f)}};var c=function(t){return function(){return t}},u={};(function(t){(function(){var n="object"==typeof t&&t&&t.Object===Object&&t;u=n}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var i="object"==typeof self&&self&&self.Object===Object&&self,a=u||i||Function("return this")(),f=a.Symbol,l=Object.prototype,s=l.hasOwnProperty,v=l.toString,d=f?f.toStringTag:void 0;var p=function(t){var n=s.call(t,d),e=t[d];try{t[d]=void 0;var r=!0}catch(t){}var o=v.call(t);return r&&(n?t[d]=e:delete t[d]),o},y=Object.prototype.toString;var h=function(t){return y.call(t)},b=f?f.toStringTag:void 0;var g=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":b&&b in Object(t)?p(t):h(t)};var m=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)};var j,w=function(t){if(!m(t))return!1;var n=g(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n},O=a["__core-js_shared__"],S=(j=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"";var k=function(t){return!!S&&S in t},$=Function.prototype.toString;var x=function(t){if(null!=t){try{return $.call(t)}catch(t){}try{return t+""}catch(t){}}return""},E=/^\[object .+?Constructor\]$/,_=Function.prototype,F=Object.prototype,P=_.toString,L=F.hasOwnProperty,N=RegExp("^"+P.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var T=function(t){return!(!m(t)||k(t))&&(w(t)?N:E).test(x(t))};var A=function(t,n){return null==t?void 0:t[n]};var I=function(t,n){var e=A(t,n);return T(e)?e:void 0},M=function(){try{var t=I(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),R=M?function(t,n){return M(t,"toString",{configurable:!0,enumerable:!1,value:c(n),writable:!0})}:n,q=Date.now;var C=function(t){var n=0,e=0;return function(){var r=q(),o=16-(r-e);if(e=r,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}},D=C(R);var G=/\s/;var U=function(t){for(var n=t.length;n--&&G.test(t.charAt(n)););return n},z=/^\s+/;var B=function(t){return t?t.slice(0,U(t)+1).replace(z,""):t};var H=function(t){return null!=t&&"object"==typeof t};var J=function(t){return"symbol"==typeof t||H(t)&&"[object Symbol]"==g(t)},K=/^[-+]0x[0-9a-f]+$/i,Q=/^0b[01]+$/i,V=/^0o[0-7]+$/i,W=parseInt;var X=function(t){if("number"==typeof t)return t;if(J(t))return NaN;if(m(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=m(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=B(t);var e=Q.test(t);return e||V.test(t)?W(t.slice(2),e?2:8):K.test(t)?NaN:+t},Y=function(t,e){return D(o(t,e,n),t+"")}((function(n,e,r){return t(n,X(e)||0,r)}));!function(){"use strict";const t=window.localStorage,n=document.documentElement,e=window.matchMedia("(prefers-color-scheme: dark)");function r(){const n=null!==t?t.getItem("theme"):null;return n?"dark"===n:e.matches}function o(){this.checked?(Y((function(){n.classList.add("dark-theme")}),100),c("dark")):(Y((function(){n.classList.remove("dark-theme")}),100),c("light"))}function c(n){t&&t.setItem("theme",n)}r()&&n.classList.add("dark-theme"),window.addEventListener("load",(function(){const t=document.querySelector("#switch-theme-checkbox");t.checked=r(),t.addEventListener("change",o.bind(t))}))}()}();
//# sourceMappingURL=setup.js.map
