rapids/0.3/assets/javascripts/bundle.f4f0c901.min.js

1 line
32 KiB
JavaScript
Raw Normal View History

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