mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
30 lines
94 KiB
JavaScript
30 lines
94 KiB
JavaScript
|
"use strict";(()=>{var xi=Object.create;var hr=Object.defineProperty;var yi=Object.getOwnPropertyDescriptor;var Ei=Object.getOwnPropertyNames,kt=Object.getOwnPropertySymbols,wi=Object.getPrototypeOf,br=Object.prototype.hasOwnProperty,Zr=Object.prototype.propertyIsEnumerable;var Xr=(e,t,r)=>t in e?hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))br.call(t,r)&&Xr(e,r,t[r]);if(kt)for(var r of kt(t))Zr.call(t,r)&&Xr(e,r,t[r]);return e};var eo=(e,t)=>{var r={};for(var o in e)br.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&kt)for(var o of kt(e))t.indexOf(o)<0&&Zr.call(e,o)&&(r[o]=e[o]);return r};var vr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Si=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ei(t))!br.call(e,n)&&n!==r&&hr(e,n,{get:()=>t[n],enumerable:!(o=yi(t,n))||o.enumerable});return e};var Ht=(e,t,r)=>(r=e!=null?xi(wi(e)):{},Si(t||!e||!e.__esModule?hr(r,"default",{value:e,enumerable:!0}):r,e));var ro=vr((gr,to)=>{(function(e,t){typeof gr=="object"&&typeof to!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(gr,function(){"use strict";function e(r){var o=!0,n=!1,i=null,s={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 a(_){return!!(_&&_!==document&&_.nodeName!=="HTML"&&_.nodeName!=="BODY"&&"classList"in _&&"contains"in _.classList)}function p(_){var it=_.type,Ve=_.tagName;return!!(Ve==="INPUT"&&s[it]&&!_.readOnly||Ve==="TEXTAREA"&&!_.readOnly||_.isContentEditable)}function c(_){_.classList.contains("focus-visible")||(_.classList.add("focus-visible"),_.setAttribute("data-focus-visible-added",""))}function f(_){_.hasAttribute("data-focus-visible-added")&&(_.classList.remove("focus-visible"),_.removeAttribute("data-focus-visible-added"))}function m(_){_.metaKey||_.altKey||_.ctrlKey||(a(r.activeElement)&&c(r.activeElement),o=!0)}function u(_){o=!1}function d(_){a(_.target)&&(o||p(_.target))&&c(_.target)}function b(_){a(_.target)&&(_.target.classList.contains("focus-visible")||_.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(i),i=window.setTimeout(function(){n=!1},100),f(_.target))}function C(_){document.visibilityState==="hidden"&&(n&&(o=!0),ne())}function ne(){document.addEventListener("mousemove",Y),document.addEventListener("mousedown",Y),document.addEventListener("mouseup",Y),document.addEventListener("pointermove",Y),document.addEventListener("pointerdown",Y),document.addEventListener("pointerup",Y),document.addEventListener("touchmove",Y),document.addEventListener("touchstart",Y),document.addEventListener("touchend",Y)}function ce(){document.removeEventListener("mousemove",Y),document.removeEventListener("mousedown",Y),document.removeEventListener("mouseup",Y),document.removeEventListener("pointermove",Y),document.removeEventListener("pointerdown",Y),document.removeEventListener("pointerup",Y),document.removeEventListener("touchmove",Y),document.removeEventListener("touchstart",Y),document.removeEventListener("touchend",Y)}function Y(_){_.target.nodeName&&_.target.nodeName.toLowerCase()==="html"||(o=!1,ce())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",C,!0),ne(),r.addEventListener("focus",d,!0),r.addEventListener("blur",b,!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 document!="undefined"&&e(document)})});var Vr
|
||
|
* clipboard.js v2.0.11
|
||
|
* https://clipboardjs.com/
|
||
|
*
|
||
|
* Licensed MIT © Zeno Rocha
|
||
|
*/(function(t,r){typeof Mt=="object"&&typeof Ur=="object"?Ur.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Mt=="object"?Mt.ClipboardJS=r():t.ClipboardJS=r()})(Mt,function(){return function(){var e={686:function(o,n,i){"use strict";i.d(n,{default:function(){return gi}});var s=i(279),a=i.n(s),p=i(370),c=i.n(p),f=i(817),m=i.n(f);function u(j){try{return document.execCommand(j)}catch(S){return!1}}var d=function(S){var E=m()(S);return u("cut"),E},b=d;function C(j){var S=document.documentElement.getAttribute("dir")==="rtl",E=document.createElement("textarea");E.style.fontSize="12pt",E.style.border="0",E.style.padding="0",E.style.margin="0",E.style.position="absolute",E.style[S?"right":"left"]="-9999px";var H=window.pageYOffset||document.documentElement.scrollTop;return E.style.top="".concat(H,"px"),E.setAttribute("readonly",""),E.value=j,E}var ne=function(S,E){var H=C(S);E.container.appendChild(H);var F=m()(H);return u("copy"),H.remove(),F},ce=function(S){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},H="";return typeof S=="string"?H=ne(S,E):S instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(S==null?void 0:S.type)?H=ne(S.value,E):(H=m()(S),u("copy")),H},Y=ce;function _(j){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(E){return typeof E}:_=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},_(j)}var it=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=S.action,H=E===void 0?"copy":E,F=S.container,z=S.target,_e=S.text;if(H!=="copy"&&H!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(z!==void 0)if(z&&_(z)==="object"&&z.nodeType===1){if(H==="copy"&&z.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(H==="cut"&&(z.hasAttribute("readonly")||z.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(_e)return Y(_e,{container:F});if(z)return H==="cut"?b(z):Y(z,{container:F})},Ve=it;function Fe(j){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fe=function(E){return typeof E}:Fe=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},Fe(j)}function fi(j,S){if(!(j instanceof S))throw new TypeError("Cannot call a class as a function")}function Jr(j,S){for(var E=0;E<S.length;E++){var H=S[E];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(j,H.key,H)}}function li(j,S,E){return S&&Jr(j.prototype,S),E&&Jr(j,E),j}function mi(j,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");j.prototype=Object.create(S&&S.prototype,{constructor:{value:j,writable:!0,configurable:!0}}),S&&ur(j,S)}function ur(j,S){return ur=Object.setPrototypeOf||function(H,F){return H.__proto__=F,H},ur(j,S)}function ui(j){var S=bi();return function(){var H=At(j),F;if(S){var z=At(this).constructor;F=Reflect.construct(H,arguments,z)}else F=H.apply(this,arguments);return di(this,F)}}function di(j,S){return S&&(Fe(S)==="object"||typeof S=="function")?S:hi(j)}function hi(j){if(j===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return j}function bi(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(j){return!1}}function At(j){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},At(j)}function dr(j,S){var E="data-clipboard-".concat(j);if(S.hasAttribute(E))return S.getAttribute(E)}var vi=function(j){mi(E,j);var S=ui(E);function E(H,F){var z;return fi(this,E),z=
|
||
|
* escape-html
|
||
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
||
|
* Copyright(c) 2015 Andreas Lubbe
|
||
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
||
|
* MIT Licensed
|
||
|
*/var La=/["'&<>]/;Fn.exports=_a;function _a(e){var t=""+e,r=La.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:o=""";break;case 38:o="&";break;case 39:o="'";break;case 60:o="<";break;case 62:o=">";break;default:continue}s!==i&&(n+=t.substring(s,i)),s=i+1,n+=o}return s!==i?n+t.substring(s,i):n}});var sO=Ht(ro());/*! *****************************************************************************
|
||
|
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.
|
||
|
***************************************************************************** */var xr=function(e,t){return xr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n])},xr(e,t)};function oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");xr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function oo(e,t,r,o){function n(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(f){try{c(o.next(f))}catch(m){s(m)}}function p(f){try{c(o.throw(f))}catch(m){s(m)}}function c(f){f.done?i(f.value):n(f.value).then(a,p)}c((o=o.apply(e,t||[])).next())})}function $t(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(f){return p([c,f])}}function p(c){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,n&&(i=c[0]&2?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,n=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(f){c=[6,f],n=0}finally{o=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function ye(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function U(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),n,i=[],s;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(s)throw s.error}}return i}function V(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o<n;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function Xe(e){return this instanceof Xe?(this.v=e,this):new Xe(e)}function no(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r.apply(e,t||[]),n,i=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(u){o[u]&&(n[u]=function(d){return new Promise(function(b,C){i.push([u,d,b,C])>1||a(u,d)})})}function a(u,d){try{p(o[u](d))}catch(b){m(i[0][3],b)}}function p(u){u.value instanceof Xe?Promise.resolve(u.value.v).then(c,f):m(i[0][2],u)}function c(u){a("next",u)}function f(u){a("throw",u)}function m(u,d){u(d),i.shift(),i.length&&a(i[0][0],i[0][1])}}function io(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof ye=="function"?ye(e):e[Symbol.iterator](),r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r);function o(i){r[i]=e[i]&&function(s){return new Promise(function(a,p){s=e[i](s),n(a,p,s.done,s.value)})}}function n(i,s,a,p){Promise.resolve(p).then(function(c){i({value:c,done:a})},s)}}function L(e){return typeof e=="function"}function at(e){var t=function(o){Error.call(o),o.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Rt=at(function(e){return function(r){e(this),this.message=r?r.length+` err
|
||
|
`+r.map(function(o,n){return n+1+") "+o.toString()}).join(`
|
||
|
`):"",this.name="UnsubscriptionError",this.errors=r}});function Ne(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var je=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,o,n,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=ye(s),p=a.next();!p.done;p=a.next()){var c=p.value;c.remove(this)}}catch(C){t={error:C}}finally{try{p&&!p.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(L(f))try{f()}catch(C){i=C instanceof Rt?C.errors:[C]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var u=ye(m),d=u.next();!d.done;d=u.next()){var b=d.value;try{ao(b)}catch(C){i=i!=null?i:[],C instanceof Rt?i=V(V([],U(i)),U(C.errors)):i.push(C)}}}catch(C){o={error:C}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}}if(i)throw new Rt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ao(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==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)&&Ne(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ne(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var yr=je.EMPTY;function It(e){return e instanceof je||e&&"closed"in e&&L(e.remove)&&L(e.add)&&L(e.unsubscribe)}function ao(e){L(e)?e():e.unsubscribe()}var Ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=st.delegate;return n!=null&&n.setTimeout?n.setTimeout.apply(n,V([e,t],U(r))):setTimeout.apply(void 0,V([e,t],U(r)))},clearTimeout:function(e){var t=st.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Pt(e){st.setTimeout(function(){var t=Ae.onUnhandledError;if(t)t(e);else throw e})}function ue(){}var so=function(){return Er("C",void 0,void 0)}();function co(e){return Er("E",void 0,e)}function po(e){return Er("N",e,void 0)}function Er(e,t,r){return{kind:e,value:t,error:r}}var Ze=null;function ct(e){if(Ae.useDeprecatedSynchronousErrorHandling){var t=!Ze;if(t&&(Ze={errorThrown:!1,error:null}),e(),t){var r=Ze,o=r.errorThrown,n=r.error;if(Ze=null,o)throw n}}else e()}function fo(e){Ae.useDeprecatedSynchronousErrorHandling&&Ze&&(Ze.errorThrown=!0,Ze.error=e)}var gt=function(e){oe(t,e);function t(r){var o=e.call(this)||this;return o.isStopped=!1,r?(o.destination=r,It(r)&&r.add(o)):o.destination=Li,o}return t.create=function(r,o,n){return new et(r,o,n)},t.prototype.next=function(r){this.isStopped?Sr(po(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?Sr(co(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?Sr(so,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}(je);var Ti=Function.prototype.bind;function wr(e,t){return Ti.call(e,t)}var Oi=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(o){Ft(o)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(o){Ft(o)}else Ft(t)},e.p
|
||
|
//# sourceMappingURL=bundle.ddfd5641.min.js.map
|
||
|
|