schlechtenburg/docs/assets/vendor.9babb3f5.js

2 lines
57 KiB
JavaScript
Raw Normal View History

2021-03-08 11:18:39 +00:00
function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl"),n=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function o(e){if(m(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=o(w(r)?l(r):r);if(s)for(const e in s)t[e]=s[e]}return t}if(C(e))return e}const r=/;(?![^(]*\))/g,s=/:(.+)/;function l(e){const t={};return e.split(r).forEach((e=>{if(e){const n=e.split(s);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function i(e){let t="";if(w(e))t=e;else if(m(e))for(let n=0;n<e.length;n++)t+=i(e[n])+" ";else if(C(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const c={},u=[],a=()=>{},f=()=>!1,p=/^on[^a-z]/,d=e=>p.test(e),h=e=>e.startsWith("onUpdate:"),g=Object.assign,_=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},v=Object.prototype.hasOwnProperty,y=(e,t)=>v.call(e,t),m=Array.isArray,b=e=>"[object Map]"===E(e),x=e=>"function"==typeof e,w=e=>"string"==typeof e,S=e=>"symbol"==typeof e,C=e=>null!==e&&"object"==typeof e,k=e=>C(e)&&x(e.then)&&x(e.catch),R=Object.prototype.toString,E=e=>R.call(e),F=e=>w(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,O=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},M=/-(\w)/g,$=P((e=>e.replace(M,((e,t)=>t?t.toUpperCase():"")))),j=/\B([A-Z])/g,N=P((e=>e.replace(j,"-$1").toLowerCase())),T=P((e=>e.charAt(0).toUpperCase()+e.slice(1))),I=P((e=>e?`on${T(e)}`:"")),A=(e,t)=>e!==t&&(e==e||t==t),U=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},V=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},L=e=>{const t=parseFloat(e);return isNaN(t)?e:t},z=new WeakMap,B=[];let W;const D=Symbol(""),H=Symbol("");function K(e,t=c){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!B.includes(n)){G(n);try{return Q.push(Z),Z=!0,B.push(n),W=n,e()}finally{B.pop(),Y(),W=B[B.length-1]}}};return n.id=J++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function q(e){e.active&&(G(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let J=0;function G(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Z=!0;const Q=[];function X(){Q.push(Z),Z=!1}function Y(){const e=Q.pop();Z=void 0===e||e}function ee(e,t,n){if(!Z||void 0===W)return;let o=z.get(e);o||z.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=new Set),r.has(W)||(r.add(W),W.deps.push(r))}function te(e,t,n,o,r,s){const l=z.get(e);if(!l)return;const i=new Set,c=e=>{e&&e.forEach((e=>{(e!==W||e.allowRecurse)&&i.add(e)}))};if("clear"===t)l.forEach(c);else if("length"===n&&m(e))l.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(l.get(n)),t){case"add":m(e)?F(n)&&c(l.get("length")):(c(l.get(D)),b(e)&&c(l.get(H)));break;case"delete":m(e)||(c(l.get(D)),b(e)&&c(l.get(H)));break;case"set":b(e)&&c(l.get(D))}i.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const ne=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(S)),oe=ce(),re=ce(!1,!0),se=ce(!0),le=ce(!0,!0),ie={};function ce(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?Te:Ne).get(n))return n;const s=m(n);if(!e&&s&&y(ie,o))return Reflect.get(ie,o,r);const l=Reflect.get(n,o,r);if(S(o)?ne.has(o):"__proto__"===o||"__v_isRef"===o)return l;if(e||ee(n,0,o),t)return l;if(He(l)){return!s||!F(o)?l.value:l}return C(l)?e?Ue(l):Ae(l):l}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ie[e]=function(...e){const n=We(this);for(let t=0,r=this.length;t<r;t++)ee(n,0,t+"");const o=t.apply(n,e);return-1===o||!1=