mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
33 lines
78 KiB
JavaScript
33 lines
78 KiB
JavaScript
|
(()=>{var Pi=Object.create,ut=Object.defineProperty,$i=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty,Vi=Object.getOwnPropertyNames,Di=Object.getOwnPropertyDescriptor,lt=Object.getOwnPropertySymbols,Sr=Object.prototype.propertyIsEnumerable;var wr=(e,t,r)=>t in e?ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$=(e,t)=>{for(var r in t||(t={}))zt.call(t,r)&&wr(e,r,t[r]);if(lt)for(var r of lt(t))Sr.call(t,r)&&wr(e,r,t[r]);return e},Ui=e=>ut(e,"__esModule",{value:!0});var Er=(e,t)=>{var r={};for(var n in e)zt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&<)for(var n of lt(e))t.indexOf(n)<0&&Sr.call(e,n)&&(r[n]=e[n]);return r},ft=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var Ni=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Vi(t))!zt.call(e,n)&&n!=="default"&&ut(e,n,{get:()=>t[n],enumerable:!(r=Di(t,n))||r.enumerable});return e},Be=e=>Ni(Ui(ut(e!=null?Pi($i(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Tr=ft((Qt,Or)=>{(function(e,t){typeof Qt=="object"&&typeof Or!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Qt,function(){"use strict";function e(r){var n=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(T){return!!(T&&T!==document&&T.nodeName!=="HTML"&&T.nodeName!=="BODY"&&"classList"in T&&"contains"in T.classList)}function c(T){var at=T.type,st=T.tagName;return!!(st==="INPUT"&&a[at]&&!T.readOnly||st==="TEXTAREA"&&!T.readOnly||T.isContentEditable)}function u(T){T.classList.contains("focus-visible")||(T.classList.add("focus-visible"),T.setAttribute("data-focus-visible-added",""))}function l(T){!T.hasAttribute("data-focus-visible-added")||(T.classList.remove("focus-visible"),T.removeAttribute("data-focus-visible-added"))}function m(T){T.metaKey||T.altKey||T.ctrlKey||(s(r.activeElement)&&u(r.activeElement),n=!0)}function f(T){n=!1}function h(T){!s(T.target)||(n||c(T.target))&&u(T.target)}function y(T){!s(T.target)||(T.target.classList.contains("focus-visible")||T.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),l(T.target))}function b(T){document.visibilityState==="hidden"&&(o&&(n=!0),z())}function z(){document.addEventListener("mousemove",C),document.addEventListener("mousedown",C),document.addEventListener("mouseup",C),document.addEventListener("pointermove",C),document.addEventListener("pointerdown",C),document.addEventListener("pointerup",C),document.addEventListener("touchmove",C),document.addEventListener("touchstart",C),document.addEventListener("touchend",C)}function P(){document.removeEventListener("mousemove",C),document.removeEventListener("mousedown",C),document.removeEventListener("mouseup",C),document.removeEventListener("pointermove",C),document.removeEventListener("pointerdown",C),document.removeEventListener("pointerup",C),document.removeEventListener("touchmove",C),document.removeEventListener("touchstart",C),document.removeEventListener("touchend",C)}function C(T){T.target.nodeName&&T.target.nodeName.toLowerCase()==="html"||(n=!1,P())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",f,!0),document.addEventListener("pointerdown",f,!0),document.addEventListener("touchstart",f,!0),document.addEventListener("visibilitychange",b,!0),z(),r.addEventListener("focus",h,!0),r.addEventListener("blur",y,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof do
|
||
|
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
|
||
|
`):"",this.name="UnsubscriptionError",this.errors=r}});function xe(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var oe=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))try{for(var s=ce(a),c=s.next();!c.done;c=s.next()){var u=c.value;u.remove(this)}}catch(b){t={error:b}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a==null||a.remove(this);var l=this.initialTeardown;if(S(l))try{l()}catch(b){i=b instanceof bt?b.errors:[b]}var m=this._teardowns;if(m){this._teardowns=null;try{for(var f=ce(m),h=f.next();!h.done;h=f.next()){var y=h.value;try{Gr(y)}catch(b){i=i!=null?i:[],b instanceof bt?i=j(j([],H(i)),H(b.errors)):i.push(b)}}}catch(b){n={error:b}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}}if(i)throw new bt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Gr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(r=this._teardowns)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&xe(r,t)},e.prototype.remove=function(t){var r=this._teardowns;r&&xe(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Kt=oe.EMPTY;function vt(e){return e instanceof oe||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Gr(e){S(e)?e():e.unsubscribe()}var de={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ve={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ve.delegate;return((r==null?void 0:r.setTimeout)||setTimeout).apply(void 0,j([],H(e)))},clearTimeout:function(e){var t=Ve.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gt(e){Ve.setTimeout(function(){var t=de.onUnhandledError;if(t)t(e);else throw e})}function Z(){}var Xr=function(){return Jt("C",void 0,void 0)}();function Zr(e){return Jt("E",void 0,e)}function en(e){return Jt("N",e,void 0)}function Jt(e,t,r){return{kind:e,value:t,error:r}}var Ge=function(e){K(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,vt(r)&&r.add(n)):n.destination=Wi,n}return t.create=function(r,n,o){return new Yt(r,n,o)},t.prototype.next=function(r){this.isStopped?Bt(en(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?Bt(Zr(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?Bt(Xr,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(oe);var Yt=function(e){K(t,e);function t(r,n,o){var i=e.call(this)||this,a;if(S(r))a=r;else if(r){a=r.next,n=r.error,o=r.complete;var s;i&&de.useDeprecatedNextContext?(s=Object.create(r),s.unsubscribe=function(){return i.unsubscribe()}):s=r,a=a==null?void 0:a.bind(s),n=n==null?void 0:n.bind(s),o=o==null?void 0:o.bind(s)}return i.destination={next:a?Gt(a,i):Z,error:Gt(n!=null?n:tn,i),complete:o?Gt(o,i):Z},i}return t}(Ge);function Gt(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{e.apply(void 0,j([],H(r)))}catch(o){if(de.useDeprecatedSynchronousErrorHandling)if(t._syncErrorHack_isSubscribing)t.__syncError=o;else throw o;else gt(o)}}}function tn(
|
||
|
/*!
|
||
|
* clipboard.js v2.0.8
|
||
|
* https://clipboardjs.com/
|
||
|
*
|
||
|
* Licensed MIT © Zeno Rocha
|
||
|
*/
|
||
|
/*!
|
||
|
* escape-html
|
||
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
||
|
* Copyright(c) 2015 Andreas Lubbe
|
||
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
||
|
* MIT Licensed
|
||
|
*/
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */
|
||
|
//# sourceMappingURL=bundle.7353b375.min.js.map
|
||
|
|