1
0
ultimatedocs/docs/.vitepress/dist/assets/chunks/framework.DMuZ8-s6.js

18 lines
98 KiB
JavaScript
Raw Normal View History

2024-04-18 11:30:21 +02:00
/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Is(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const te={},_t=[],Te=()=>{},Fo=()=>!1,Yt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Os=e=>e.startsWith("onUpdate:"),ae=Object.assign,Ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},No=Object.prototype.hasOwnProperty,z=(e,t)=>No.call(e,t),K=Array.isArray,vt=e=>Ln(e)==="[object Map]",oi=e=>Ln(e)==="[object Set]",W=e=>typeof e=="function",le=e=>typeof e=="string",Lt=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",li=e=>(Z(e)||W(e))&&W(e.then)&&W(e.catch),ci=Object.prototype.toString,Ln=e=>ci.call(e),$o=e=>Ln(e).slice(8,-1),ai=e=>Ln(e)==="[object Object]",Ms=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bt=Is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),In=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ho=/-(\w)/g,He=In(e=>e.replace(Ho,(t,n)=>n?n.toUpperCase():"")),Bo=/\B([A-Z])/g,ft=In(e=>e.replace(Bo,"-$1").toLowerCase()),On=In(e=>e.charAt(0).toUpperCase()+e.slice(1)),mn=In(e=>e?`on${On(e)}`:""),et=(e,t)=>!Object.is(e,t),yn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},wn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ds=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ui=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let ur;const fi=()=>ur||(ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fs(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=le(s)?Do(s):Fs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(le(e)||Z(e))return e}const jo=/;(?![^(]*\))/g,ko=/:([^]+)/,Vo=/\/\*[^]*?\*\//g;function Do(e){const t={};return e.replace(Vo,"").split(jo).forEach(n=>{if(n){const s=n.split(ko);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ns(e){let t="";if(le(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=Ns(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Uo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ko=Is(Uo);function di(e){return!!e||e===""}const au=e=>le(e)?e:e==null?"":K(e)||Z(e)&&(e.toString===ci||!W(e.toString))?JSON.stringify(e,hi,2):String(e),hi=(e,t)=>t&&t.__v_isRef?hi(e,t.value):vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Xn(s,i)+" =>"]=r,n),{})}:oi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Xn(n))}:Lt(t)?Xn(t):Z(t)&&!K(t)&&!ai(t)?String(t):t,Xn=(e,t="")=>{var n;return Lt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let we;class Wo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function qo(e,t=we){t&&t.active&&t.effects.push(e)}function pi(){return we}function Go(e){we&&we.cleanups.push(e)}let ct;class $s{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,qo(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,dt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Xo(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ht()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Je,n=ct;try{return Je=!0,ct=this,this._runnings++,fr(this),this.fn()}finally{dr(this),this._runnings--,ct=n,Je=t}}stop(){var t;this.active&&(fr(this),dr(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Xo(e){return e.value}function fr(e){e._trackId++,e._depsLength=0}function dr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)gi(e.deps[t],e);e.deps.length=e._depsLength}}function gi(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Je=!0,hs=0;const mi=[];function dt(){mi.push(Je),Je=!1}function ht(){const e=mi.pop();Je=e===void 0?!0:e}function Hs(){hs++}function Bs(){for(hs--;!hs&&ps.length;)ps.shift()()}function yi(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&gi(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ps=[];function _i(e,t,n){Hs();for(const s of e.keys()){let r;s._dirtyLevel<t&&(r??(r=e.get(s)===s._trackId))&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(r??(r=e.get(s)===s._trackId))&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&ps.push(s.scheduler)))}Bs()}const vi=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},En=new WeakMap,at=Symbol(""),gs=Symbol("");function ve(e,t,n){if(Je&&ct){let s=En.get(e);s||En.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=vi(()=>s.delete(n))),yi(ct,r)}}function ke(e,t,n,s,r,i){const o=En.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&K(e)){const c=Number(s);o.forEach((a,f)=>{(f==="length"||!Lt(f)&&f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":K(e)?Ms(n)&&l.push(o.get("length")):(l.push(o.get(at)),vt(e)&&l.push(o.get(gs)));break;case"delete":K(e)||(l.push(o.get(at)),vt(e)&&l.push(o.get(gs)));break;case"set":vt(e)&&l.push(o.get(at));break}Hs();for(const c of l)c&&_i(c,4);Bs()}function Yo(e,t){var n;return(n=En.get(e))==null?void 0:n.get(t)}const zo=Is("__proto__,__v_isRef,__isVue"),bi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Lt)),hr=Jo();function Jo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=J(this);for(let i=0,o=this.length;i<o;i++)ve(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(J)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){dt(),Hs();const s=J(this)[t].apply(this,n);return Bs(),ht(),s}}),e}function Qo(e){const t=J(this);return ve(t,"has",e),t.hasOwnProperty(e)}class wi{constructor(t=!1,n=!1){this.
* @vue/runtime-core v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Qe(e,t,n,s){try{return s?e(...s):e()}catch(r){It(r,t,n)}}function Ae(e,t,n,s){if(W(e)){const i=Qe(e,t,n,s);return i&&li(i)&&i.catch(o=>{It(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ae(e[i],t,n,s));return r}function It(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const a=i.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,o,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){Qe(c,null,10,[e,o,l]);return}}xl(e,n,r,s)}function xl(e,t,n,s=!0){console.error(e)}let Kt=!1,ms=!1;const he=[];let Me=0;const Et=[];let Ge=null,ot=0;const Oi=Promise.resolve();let Ws=null;function Nn(e){const t=Ws||Oi;return e?t.then(this?e.bind(this):e):t}function Tl(e){let t=Me+1,n=he.length;for(;t<n;){const s=t+n>>>1,r=he[s],i=Wt(r);i<e||i===e&&r.pre?t=s+1:n=s}return t}function $n(e){(!he.length||!he.includes(e,Kt&&e.allowRecurse?Me+1:Me))&&(e.id==null?he.push(e):he.splice(Tl(e.id),0,e),Pi())}function Pi(){!Kt&&!ms&&(ms=!0,Ws=Oi.then(Mi))}function Sl(e){const t=he.indexOf(e);t>Me&&he.splice(t,1)}function ys(e){K(e)?Et.push(...e):(!Ge||!Ge.includes(e,e.allowRecurse?ot+1:ot))&&Et.push(e),Pi()}function _r(e,t,n=Kt?Me+1:0){for(;n<he.length;n++){const s=he[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;he.splice(n,1),n--,s()}}}function xn(e){if(Et.length){const t=[...new Set(Et)].sort((n,s)=>Wt(n)-Wt(s));if(Et.length=0,Ge){Ge.push(...t);return}for(Ge=t,ot=0;ot<Ge.length;ot++)Ge[ot]();Ge=null,ot=0}}const Wt=e=>e.id==null?1/0:e.id,Al=(e,t)=>{const n=Wt(e)-Wt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Mi(e){ms=!1,Kt=!0,he.sort(Al);try{for(Me=0;Me<he.length;Me++){const t=he[Me];t&&t.active!==!1&&Qe(t,null,14)}}finally{Me=0,he.length=0,xn(),Kt=!1,Ws=null,(he.length||Et.length)&&Mi()}}function Rl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||te;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:d,trim:p}=s[f]||te;p&&(r=n.map(g=>le(g)?g.trim():g)),d&&(r=n.map(ds))}let l,c=s[l=mn(t)]||s[l=mn(He(t))];!c&&i&&(c=s[l=mn(ft(t))]),c&&Ae(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(a,e,6,r)}}function Fi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!W(e)){const c=a=>{const f=Fi(a,t,!0);f&&(l=!0,ae(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Z(e)&&s.set(e,null),null):(K(i)?i.forEach(c=>o[c]=null):ae(o,i),Z(e)&&s.set(e,o),o)}function Hn(e,t){return!e||!Yt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,ft(t))||z(e,t))}let ce=null,Bn=null;function Tn(e){const t=ce;return ce=e,Bn=e&&e.type.__scopeId||null,t}function uu(e){Bn=e}function fu(){Bn=null}function Ll(e,t=ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Mr(-1);const i=Tn(t);let o;try{o=e(...r)}finally{Tn(i),s._d&&Mr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Yn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:a,render:f,renderCache:d,data:p,setupState:g,ctx:_,inheritAttrs:I}=e;let $,U;const k=Tn(e);try{if(n.shapeFlag&4){const v=r||s,w=v;$=xe(f.call(w,v,d,i,g,p,_)),U=c}else{const v=t;$=xe(v.length>1?v(i,{attrs:c,slots:l,emit:a}):v(i,null)),U=t.props?c:Ol(c)}}catch(v){Vt.length=0,It(v,e,1),$=oe(me)}let m=$;if(U&&I!==!1){const v=Object.keys(U),{shapeFlag:w}=m;v.length&&w&7&&(o&&v.some(Os)&&(U=Pl(U,o)),m=tt(m,U))}return n.dirs&&(m=tt(m),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(m.transition=n.transition),$=m,Tn(k),$}function Il(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(Gt(r)){if(r.type!==me||r.children==="v-if"){if(n)return;n=r}}else return}return n}const Ol=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yt(n))&&((t||(t={}))[n]=e[n]);return t},Pl=(e,t)=>{const n={};for(const s in e)(!Os(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ml(e,t,n){const{
* @vue/runtime-dom v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const jc="http://www.w3.org/2000/svg",kc="http://www.w3.org/1998/Math/MathML",ze=typeof document<"u"?document:null,$r=ze&&ze.createElement("template"),Vc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ze.createElementNS(jc,e):t==="mathml"?ze.createElementNS(kc,e):ze.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ze.createTextNode(e),createComment:e=>ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{$r.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=$r.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},We="transition",Mt="animation",Xt=Symbol("_vtc"),fo=(e,{slots:t})=>Rs(ql,Dc(e),t);fo.displayName="Transition";const ho={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};fo.props=ae({},ji,ho);const rt=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Hr=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function Dc(e){const t={};for(const A in e)A in ho||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:f=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,_=Uc(r),I=_&&_[0],$=_&&_[1],{onBeforeEnter:U,onEnter:k,onEnterCancelled:m,onLeave:v,onLeaveCancelled:w,onBeforeAppear:E=U,onAppear:F=k,onAppearCancelled:S=m}=t,P=(A,G,ee)=>{it(A,G?f:l),it(A,G?a:o),ee&&ee()},b=(A,G)=>{A._isLeaving=!1,it(A,d),it(A,g),it(A,p),G&&G()},H=A=>(G,ee)=>{const se=A?F:k,B=()=>P(G,A,ee);rt(se,[G,B]),Br(()=>{it(G,A?c:i),qe(G,A?f:l),Hr(se)||jr(G,s,I,B)})};return ae(t,{onBeforeEnter(A){rt(U,[A]),qe(A,i),qe(A,o)},onBeforeAppear(A){rt(E,[A]),qe(A,c),qe(A,a)},onEnter:H(!1),onAppear:H(!0),onLeave(A,G){A._isLeaving=!0;const ee=()=>b(A,G);qe(A,d),qc(),qe(A,p),Br(()=>{A._isLeaving&&(it(A,d),qe(A,g),Hr(v)||jr(A,s,$,ee))}),rt(v,[A,ee])},onEnterCancelled(A){P(A,!1),rt(m,[A])},onAppearCancelled(A){P(A,!0),rt(S,[A])},onLeaveCancelled(A){b(A),rt(w,[A])}})}function Uc(e){if(e==null)return null;if(Z(e))return[es(e.enter),es(e.leave)];{const t=es(e);return[t,t]}}function es(e){return ui(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Xt]||(e[Xt]=new Set)).add(t)}function it(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Xt];n&&(n.delete(t),n.size||(e[Xt]=void 0))}function Br(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Kc=0;function jr(e,t,n,s){const r=e._endId=++Kc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Wc(e,t);if(!o)return s();const a=o+"end";let f=0;const d=()=>{e.removeEventListener(a,p),i()},p=g=>{g.target===e&&++f>=c&&d()};setTimeout(()=>{f<c&&d()},l+1),e.addEventListener(a,p)}function Wc(e,t){const n=window.getComputedStyle(e),s=_=>(n[_]||"").split(", "),r=s(`${We}Delay`),i=s(`${We}Duration`),o=kr(r,i),l=s(`${Mt}Delay`),c=s(`${Mt}Duration`),a=kr(l,c);let f=null,d=0,p=0;t===We?o>0&&(f=We,d=o,p=i.length):t===Mt?a>0&&(f=Mt,d=a,p=c.length):(d=Math.max(o,a),f=d>0?o>a?We:Mt:null,p=f?f===We?i.length:c.length:0);const g=f===We&&/\b(transform|all)(,|$)/.test(s(`${We}Property`).toString())