rapids/latest/assets/javascripts/bundle.d4cf0930.min.js

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