FlashDB/docs/_scripts/docsify.min.js

2 lines
100 KiB
JavaScript
Raw Permalink Normal View History

2020-10-08 11:17:36 +08:00
!function(){function s(n){var r=Object.create(null);return function(e){var t=c(e)?e:JSON.stringify(e);return r[t]||(r[t]=n(e))}}var a=s(function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}),l=Object.prototype.hasOwnProperty,f=Object.assign||function(e){for(var t=arguments,n=1;n<arguments.length;n++){var r=Object(t[n]);for(var i in r)l.call(r,i)&&(e[i]=r[i])}return e};function c(e){return"string"==typeof e||"number"==typeof e}function p(){}function r(e){return"function"==typeof e}var h=document.body.clientWidth<=600,i=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),n={};function m(e,t){if(void 0===t&&(t=!1),"string"==typeof e){if(void 0!==window.Vue)return b(e);e=t?b(e):n[e]||(n[e]=b(e))}return e}var u=document,v=u.body,d=u.head;function b(e,t){return t?e.querySelector(t):u.querySelector(e)}function y(e,t){return[].slice.call(t?e.querySelectorAll(t):u.querySelectorAll(e))}function g(e,t){return e=u.createElement(e),t&&(e.innerHTML=t),e}function o(e,t){return e.appendChild(t)}function k(e,t){return e.insertBefore(t,e.children[0])}function x(e,t,n){r(t)?window.addEventListener(e,t):e.addEventListener(t,n)}function w(e,t,n){r(t)?window.removeEventListener(e,t):e.removeEventListener(t,n)}function _(e,t,n){e&&e.classList[n?t:"toggle"](n||t)}function e(e,t){void 0===t&&(t=document);var n=t.readyState;if("complete"===n||"interactive"===n)return setTimeout(e,0);t.addEventListener("DOMContentLoaded",e)}var t=Object.freeze({__proto__:null,getNode:m,$:u,body:v,head:d,find:b,findAll:y,create:g,appendTo:o,before:k,on:x,off:w,toggleClass:_,style:function(e){o(d,g("style",e))},documentReady:e}),S=document.currentScript;function A(e){var t=f({el:"#app",repo:"",maxLevel:6,subMaxLevel:0,loadSidebar:null,loadNavbar:null,homepage:"README.md",coverpage:"",basePath:"",auto2top:!1,name:"",themeColor:"",nameLink:window.location.pathname,autoHeader:!1,executeScript:null,noEmoji:!1,ga:"",ext:".md",mergeNavbar:!1,formatUpdated:"",externalLinkTarget:"_blank",cornerExternalLinkTarget:"_blank",externalLinkRel:"noopener",routerMode:"hash",noCompileLinks:[],crossOriginLinks:[],relativePath:!1,topMargin:0},"function"==typeof window.$docsify?window.$docsify(e):window.$docsify),n=S||[].slice.call(document.getElementsByTagName("script")).filter(function(e){return/docsify\./.test(e.src)})[0];if(n)for(var r in t)if(l.call(t,r)){var i=n.getAttribute("data-"+a(r));c(i)&&(t[r]=""===i||i)}return!0===t.loadSidebar&&(t.loadSidebar="_sidebar"+t.ext),!0===t.loadNavbar&&(t.loadNavbar="_navbar"+t.ext),!0===t.coverpage&&(t.coverpage="_coverpage"+t.ext),!0===t.repo&&(t.repo=""),!0===t.name&&(t.name=""),window.$docsify=t}var T=/([^{]*?)\w(?=\})/g,E={YYYY:"getFullYear",YY:"getYear",MM:function(e){return e.getMonth()+1},DD:"getDate",HH:"getHours",mm:"getMinutes",ss:"getSeconds",fff:"getMilliseconds"};var L=Object.hasOwnProperty,R=Object.setPrototypeOf,C=Object.isFrozen,ke=Object.keys,xe=Object.freeze,$=Object.seal,F="undefined"!=typeof Reflect&&Reflect,z=F.apply,O=F.construct;z=z||function(e,t,n){return e.apply(t,n)},xe=xe||function(e){return e},$=$||function(e){return e},O=O||function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))};var we=M(Array.prototype.forEach),_e=M(Array.prototype.indexOf),Se=M(Array.prototype.join),Ae=M(Array.prototype.pop),Te=M(Array.prototype.push),Ee=M(Array.prototype.slice),Le=M(String.prototype.toLowerCase),Re=M(String.prototype.match),Ce=M(String.prototype.replace),$e=M(String.prototype.indexOf),Fe=M(String.prototype.trim),ze=M(RegExp.prototype.test),Oe=N(RegExp),Me=N(TypeError);function M(a){return function(e){for(var t=arguments,n=arguments.length,r=Array(1<n?n-1:0),i=1;i<n;i++)r[i-1]=t[i];return z(a,e,r)}}function N(i){return function(){for(var e=arguments,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=e[r];return O(i,n)}}function Ne(e,t){R&&R(e,null);for(var n=t.len