1 line
32 KiB
JavaScript
1 line
32 KiB
JavaScript
|
!function(e,t){for(var c in t)e[c]=t[c]}(window,function(e){function t(t){for(var a,o,i=t[0],s=t[1],b=t[2],p=0,l=[];p<i.length;p++)o=i[p],Object.prototype.hasOwnProperty.call(n,o)&&n[o]&&l.push(n[o][0]),n[o]=0;for(a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a]);for(u&&u(t);l.length;)l.shift()();return r.push.apply(r,b||[]),c()}function c(){for(var e,t=0;t<r.length;t++){for(var c=r[t],a=!0,i=1;i<c.length;i++){var s=c[i];0!==n[s]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=c[0]))}return e}var a={},n={0:0},r=[];function o(t){if(a[t])return a[t].exports;var c=a[t]={i:t,l:!1,exports:{}};return e[t].call(c.exports,c,c.exports,o),c.l=!0,c.exports}o.m=e,o.c=a,o.d=function(e,t,c){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:c})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(c,a,function(t){return e[t]}.bind(null,a));return c},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="";var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=t,i=i.slice();for(var b=0;b<i.length;b++)t(i[b]);var u=s;return r.push([50,1]),c()}({50:function(e,t,c){"use strict";c.r(t),c.d(t,"setScrollLock",(function(){return rt})),c.d(t,"resetScrollLock",(function(){return ot})),c.d(t,"initialize",(function(){return it}));c(45);var a=c(39),n=c(6),r=c(44),o=c(55),i=c(51),s=c(23),b=c(56),u=c(74),p=c(53),l=c(58),f=c(35),d=c(66),h=c(64),j=c(29),O=c(42),m=c(69),g=c(59),v=c(75),$=c(40),y=c(41),w=c(70),x=c(61),S=c(52),_=c(78),k=c(37);function E(e,t=document){return t.querySelector(e)||void 0}function T(e,t=document){const c=E(e,t);if(void 0===c)throw new ReferenceError(`Missing element: expected "${e}" to be present`);return c}function A(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function C(e,t=document){return Array.from(t.querySelectorAll(e))}function M(e){return document.createElement(e)}function L(e,t){e.replaceWith(t)}var R=c(54);function P(e,t=!0){t?e.focus():e.blur()}function z(e){return{x:e.scrollLeft,y:e.scrollTop}}var H=c(38),N=c(24),U=c(57);const q=new N.a,I=Object(a.a)(()=>Object(o.a)(new H.a(e=>{for(const t of e)q.next(t)}))).pipe(Object(f.a)(e=>Object(p.a)(Object(o.a)(e),b.a).pipe(Object(U.a)(()=>e.disconnect()))),Object(l.a)({bufferSize:1,refCount:!0}));function W(e){return I.pipe(Object(g.a)(t=>t.observe(e)),Object(f.a)(t=>q.pipe(Object($.a)(({target:t})=>t===e),Object(U.a)(()=>t.unobserve(e)),Object(j.a)(({contentRect:e})=>({width:e.width,height:e.height})))),Object(R.a)(function(e){return{width:e.offsetWidth,height:e.offsetHeight}}(e)))}var D=c(73);var F=c(60);function J(e,t=location){return e.host===t.host&&/^(?:\/[\w-]+)*(?:\/?|\.html)$/i.test(e.pathname)}function Y(e,t=location){return e.pathname===t.pathname&&e.hash.length>0}function K(){return new F.a(new URL(location.href))}function B(){return location.hash.substring(1)}function Q(e){const t=M("a");t.href=e,t.addEventListener("click",e=>e.stopPropagation()),t.click()}var X=c(5);function V(e){const t=matchMedia(e);return new X.a(e=>{t.addListener(t=>e.next(t.matches))}).pipe(Object(R.a)(t.matches),Object(l.a)({bufferSize:1,refCount:!0}))}const G={drawer:T("[data-md-toggle=drawer]"),search:T("[data-md-toggle=search]")};function Z(e,t){G[e].checked!==t&&G[e].click()}function ee(e){const t=G[e];return Object(i.a)(t,"change").pipe(Object(j.a)(()=>t.checked),Object(R.a)(t.checked))}function te(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function ce({x:e,y:t}){window.scrollTo(e||0,t||0)}function ae(){return{width:innerWidth,height:innerHeight}}function ne(e,{header$:t,viewport$:c}){const a=c.pipe(Object(x.a)("size")
|