autorestic/docs/dist/codedoc-bundle.js

32 lines
496 KiB
JavaScript
Raw Normal View History

2020-05-17 14:52:35 +02:00
!function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=236)}([function(t,e,r){"use strict";var n;r.d(e,"a",(function(){return n})),function(t){t[t.High=1]="High",t[t.Fallback=2]="Fallback"}(n||(n={}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));
/*! *****************************************************************************
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 n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function i(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}},function(t,e,r){"use strict";(function(t){r.d(e,"d",(function(){return s})),r.d(e,"c",(function(){return a})),r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return f}));var n=r(95),i=r(239);function o(t,e=!1){let r=t;if(t instanceof DocumentFragment){let r=a(t);if(r)return o(r,e);if(e)return r=document.createElement("i"),r.setAttribute("hidden",""),s(t,r),o(r,!0)}else{if(r.lifecycle)return r.lifecycle;if(e)return r.lifecycle={bound:!1},r.lifecycle}}function s(t,e){t.lifecycleMarker=e,t.contains(e)||t.appendChild(e)}function a(t){return t.lifecycleMarker}function c(e){let r=o(e);if(r){if(r.bound)return;r.bound=!0,r.bindables&&r.bindables.forEach(t=>t.bind())}if(e.childNodes.forEach(c),e.parentNode&&!e.parentNode.childObserver){let r=new MutationObserver(e=>{e.forEach(e=>{e.removedNodes&&e.removedNodes.forEach(e=>t(()=>{document.contains(e)||u(e)}))})});r.observe(e.parentNode,{childList:!0}),e.parentNode.childObserver=r,f({clear(){r.disconnect()}},e.parentNode)}}function u(t){let e=o(t);e&&e.clearables&&e.clearables.forEach(t=>t.clear()),t.childNodes.forEach(u)}function f(t,e){let r=o(e,!0);Object(n.a)(t)&&(r.bindables||(r.bindables=[])).push(t),Object(i.a)(t)&&(r.clearables||(r.clearables=[])).push(t)}}).call(this,r(62).setImmediate)},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
var n=r(14),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function s(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},s.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},s.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},s.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(7);var i=r(43),o=r(49);var s=r(28),a=r(69);function c(t){return 0===t.length?a.a:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var u=r(16),f=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var s=this.operator,a=function(t,e,r){if(t){if(t instanceof n.a)return t;if(t[i.a])return t[i.a]()}return t||e||r?new n.a(t,e,r):new n.a(o.a)}(t,e,r);if(s?a.add(s.call(a,this.source)):a.add(this.source||u.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){u.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),!function(t){for(;t;){var e=t,r=e.closed,i=e.destination,o=e.isStopped;if(r||o)return!1;t=i&&i instanceof n.a?i:null}return!0}(t)?console.warn(e):t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=h(e))((function(e,n){var i;i=r.subscribe((function(e){try{t(e)}catch(t){n(t),i&&i.unsubscribe()}}),n,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[s.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:c(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=h(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function h(t){if(t||(t=u.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(1),i=r(32),o=r(49),s=r(10),a=r(43),c=r(16),u=r(33),f=function(t){function e(r,n,i){var s=t.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=o.a;break;case 1:if(!r){s.destination=o.a;break}if("object"==typeof r){r instanceof e?(s.syncErrorThrowable=r.syncErrorThrowable,s.destination=r,r.add(s)):(s.syncErrorThrowable=!0,s.destination=new h(s,r));break}default:s.syncErrorThrowable=!0,s.destination=new h(s,r,n,i)}return s}return n.a(e,t),e.prototype[a.a]=function(){return this},e.create=function(t,r,n){var i=new e(t,r,n);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),th
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var n=r(151),i=r(152),o=r(97);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,r){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return u(this,t,e,r)}function u(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=d(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(e,r),i=(t=a(t,n)).write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(c.isBuffer(e)){var r=0|l(e.length);return 0===(t=a(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?a(t,0):d(t,e);if("Buffer"===e.type&&o(e.data))return d(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(f(e),t=a(t,e<0?0:0|l(e)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function d(t,e){var r=e.length<0?0:0|l(e.length);t=a(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function l(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(t).length;default:if(n)return z(t).length;e=(""+e).toLowerCase(),n=!0}}function b(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return O(this,e,r);case"utf8":case"utf-8":return M(this,e,r);case"ascii":return A(this,e,r);case"latin1":case"binary":return j(this,e,r);case"base64":return E(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,i);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,n,i){var o,s=1,a=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"u
/**
* A better abstraction over CSS.
*
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
* @website https://github.com/cssinjs/jss
* @license MIT
*/class Zr{constructor(t){this.map=t,this.priority=d.a.High}unique(t){return t instanceof Zr}postCreate(t){if(t instanceof HTMLElement){const e=t.tagName.toLocaleLowerCase();if(e in this.map){let r=this.map[e];t.classList.add(r),C(t,r)}}}}function Qr(t){return new Zr(t)}class tn{constructor(t){this.theme=t,this.priority=d.a.High,this.themedStyles={},this.sheets={},this.registry=new Rr}add(t){if(!(t.id in this.themedStyles)){this.themedStyles[t.id]=t;const e=this.sheets[t.id]=t.styleSheet(this.theme);e.attach(),this.registry.add(e)}return this}sheet(t){return this.add(t),this.sheets[t.id]}classes(t){return this.sheet(t).classes}styled(t){return Qr(this.classes(t))}post(t){const e=t.createElement("style");e.innerHTML=this.registry.toString(),t.head.append(e)}prepare(t,e,r,n){return n.theme=this,()=>{}}}let en;function rn(){if(!en){if(!window.theme)throw new Error("Theme not specified!");en=(new Le).plug((t=window.theme,new tn(t)))}var t;return en}var nn=Date.now(),on="fnValues"+nn,sn="fnStyle"+ ++nn;var an=function(){return{onCreateRule:function(t,e,r){if("function"!=typeof e)return null;var n=We(t,{},r);return n[sn]=e,n},onProcessStyle:function(t,e){if(on in e||sn in e)return t;var r={};for(var n in t){var i=t[n];"function"==typeof i&&(delete t[n],r[n]=i)}return e[on]=r,t},onUpdate:function(t,e,r,n){var i=e,o=i[sn];o&&(i.style=o(t)||{});var s=i[on];if(s)for(var a in s)i.prop(a,s[a](t),n)}}},cn=r(94),un=function(t){return t&&t[cn.a]&&t===t[cn.a]()};var fn=function(t){return{onCreateRule:function(e,r,n){if(!un(r))return null;var i=r,o=We(e,{},n);return i.subscribe((function(e){for(var r in e)o.prop(r,e[r],t)})),o},onProcessRule:function(e){if(!e||"style"===e.type){var r=e,n=r.style,i=function(e){var i=n[e];if(!un(i))return"continue";delete n[e],i.subscribe({next:function(n){r.prop(e,n,t)}})};for(var o in n)i(o)}}}},hn=/;\n/,dn=function(t){"string"==typeof t.style&&(t.style=function(t){for(var e={},r=t.split(hn),n=0;n<r.length;n++){var i=(r[n]||"").trim();if(i){var o=i.indexOf(":");if(-1!==o){var s=i.substr(0,o).trim(),a=i.substr(o+1).trim();e[s]=a}}}return e}(t.style))};var ln=function(){return{onProcessRule:dn}},pn="@global",bn=function(){function t(t,e,r){for(var n in this.type="global",this.at=pn,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=t,this.options=r,this.rules=new jr(Ne({},r,{parent:this})),e)this.rules.add(n,e[n]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return this.options.jss.plugins.onProcessRule(n),n},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(){return this.rules.toString()},t}(),vn=function(){function t(t,e,r){this.type="global",this.at=pn,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=t,this.options=r;var n=t.substr("@global ".length);this.rule=r.jss.createRule(n,e,Ne({},r,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),yn=/\s*,\s*/g;function gn(t,e){for(var r=t.split(yn),n="",i=0;i<r.length;i++)n+=e+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var mn=function(){return{onCreateRule:function(t,e,r){if(!t)return null;if(t===pn)return new bn(t,e,r);if("@"===t[0]&&"@global "===t.substr(0,"@global ".length))return new vn(t,e,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),!1===r.scoped&&(r.selector=t),null},onProcessRule:function(t){"style"===t.type&&(function(t){var e=t.options,r=t.style,n=r?r[pn]:null;if(n){for(var i in n)e.sheet.addRule(i,n[i],Ne({},e,{selector:gn(i,t.selector)}));delete r[pn]}}(t),function(t){var e=t.options,r=t.style;for(var n in r)if("@"===n[0]&&n.substr(0,pn.length)===pn){var i=gn(n.substr(pn.length),t.selector);e.sheet.addRule(i,r[n],Ne({},e,{selector:i})),delete r[n]}}(t))}}},wn=function(t){return t&&"object"==typeof t&&!Array.isArray(t)},_n="extendCurrValue"+Date.now();function kn(t,e,r,n){return void 0===n&&(n={}),function(t,e,r,n){if("string"!==typeof t.ext