mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 03:11:20 -08:00
Delete unused font files
This commit is contained in:
1 parent
aa88683cbf
commit
d3d8229496
241 files changed
+13278
-12747
No files matched your search
@@ -1,2 +0,0 @@
|
||||
function Qn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const ee={},at=[],Ie=()=>{},Si=()=>!1,Ni=/^on[^a-z]/,Bt=e=>Ni.test(e),Gn=e=>e.startsWith("onUpdate:"),ie=Object.assign,es=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$i=Object.prototype.hasOwnProperty,Y=(e,t)=>$i.call(e,t),N=Array.isArray,ut=e=>un(e)==="[object Map]",wr=e=>un(e)==="[object Set]",k=e=>typeof e=="function",se=e=>typeof e=="string",ts=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",Cr=e=>te(e)&&k(e.then)&&k(e.catch),xr=Object.prototype.toString,un=e=>xr.call(e),Hi=e=>un(e).slice(8,-1),Er=e=>un(e)==="[object Object]",ns=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Qn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bi=/-(\w)/g,Le=dn(e=>e.replace(Bi,(t,n)=>n?n.toUpperCase():"")),Ui=/\B([A-Z])/g,it=dn(e=>e.replace(Ui,"-$1").toLowerCase()),hn=dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zt=dn(e=>e?`on${hn(e)}`:""),Mt=(e,t)=>!Object.is(e,t),Qt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},nn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$n=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ji=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let Ts;const Hn=()=>Ts||(Ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ss(e){if(N(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=se(s)?Wi(s):ss(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(se(e))return e;if(te(e))return e}}const Di=/;(?![^(]*\))/g,Ki=/:([^]+)/,ki=/\/\*[^]*?\*\//g;function Wi(e){const t={};return e.replace(ki,"").split(Di).forEach(n=>{if(n){const s=n.split(Ki);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function rs(e){let t="";if(se(e))t=e;else if(N(e))for(let n=0;n<e.length;n++){const s=rs(e[n]);s&&(t+=s+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Vi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",qi=Qn(Vi);function vr(e){return!!e||e===""}const Bc=e=>se(e)?e:e==null?"":N(e)||te(e)&&(e.toString===xr||!k(e.toString))?JSON.stringify(e,Tr,2):String(e),Tr=(e,t)=>t&&t.__v_isRef?Tr(e,t.value):ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:wr(t)?{[`Set(${t.size})`]:[...t.values()]}:te(t)&&!N(t)&&!Er(t)?String(t):t;let _e;class zi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=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 Yi(e,t=_e){t&&t.active&&t.effects.push(e)}function Ji(){return _e}function Uc(e){_e&&_e.cleanups.push(e)}const is=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ar=e=>(e.w&Ve)>0,Pr=e=>(e.n&Ve)>0,Xi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ve},Zi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Ar(r)&&!Pr(r)?r.delete(e):t[n++]=r,r.w&=~Ve,r.n&=~Ve}t.length=n}},Bn=new WeakMap;let vt=0,Ve=1;const Un=30;let Ae;const st=Symbol(""),jn=Symbol("");class os{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Yi(this,s)}run(){if(!this.active)return this.fn();let t=Ae,n=ke;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ae,Ae=this,ke=!0,Ve=1<<++vt,vt<=Un?Xi(this):As(this),this.fn()}finally{vt<=Un&&Zi(this),Ve=1<<--vt,Ae=this.parent,ke=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ae===this?this.deferStop=!0:this.active&&(As(this),this.onStop&&this.onStop(),this.active=!1)}}function As(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let ke=!0;const Ir=[];function yt(){Ir.push(ke),ke=!1}function wt(){const e=Ir.pop();ke=e===void 0?!0:e}function pe(e,t,n){if(ke&&Ae){let s=Bn.get(e);s||Bn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=is()),Or(r)}}function Or(e,t){let n=!1;vt<=Un?Pr(e)||(e.n|=Ve,n=!Ar(e)):n=!e.has(Ae),n&&(e.add(Ae),Ae.deps.push(e))}function $e(e,t,n,s,r,i){const o=Bn.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&N(e)){const c=Number(s);o.forEach((a,d)=>{(d==="length"||d>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":N(e)?ns(n)&&l.push(o.get("length")):(l.push(o.get(st)),ut(e)&&l.pushLine truncated
|
||||
`),l=l.slice(0,-1),o&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Mc(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function Mc(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function _f(e,t){let n=[],s=!0;const r=i=>{if(s){s=!1;return}n.forEach(o=>document.head.removeChild(o)),n=[],i.forEach(o=>{const l=yr(o);document.head.appendChild(l),n.push(l)})};Ko(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[];document.title=Ii(o,i);const a=l||o.description;let d=document.querySelector("meta[name=description]");d?d.setAttribute("content",a):yr(["meta",{name:"description",content:a}]),r(Oi(o.head,Sc(c)))})}function yr([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),s}function Lc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Sc(e){return e.filter(t=>!Lc(t))}const Nn=new Set,Ri=()=>document.createElement("link"),Nc=e=>{const t=Ri();t.rel="prefetch",t.href=e,document.head.appendChild(t)},$c=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Xt;const Hc=Ce&&(Xt=Ri())&&Xt.relList&&Xt.relList.supports&&Xt.relList.supports("prefetch")?Nc:$c;function bf(){if(!Ce||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Nn.has(c)){Nn.add(c);const a=Ic(c);a&&Hc(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Nn.add(l))})})};xn(s);const r=Fi();Gt(()=>r.path,s),En(()=>{n&&n.disconnect()})}export{ef as $,Ce as A,En as B,Kc as C,Qo as D,Wc as E,he as F,qc as G,vo as H,uf as I,ce as J,Vc as K,Ti as L,Fi as M,Il as N,gt as O,cf as P,ss as Q,Wr as R,Qc as S,Ei as T,ff as U,$r as V,lf as W,kc as X,sf as Y,tf as Z,of as _,bi as a,Xc as a0,dl as a1,nf as a2,Yc as a3,Jc as a4,_f as a5,Oc as a6,af as a7,Tc as a8,hf as a9,pf as aa,nt as ab,rf as ac,df as ad,Ic as ae,bf as af,mf as ag,gf as ah,Xn as ai,gi as b,Zc as c,Gr as d,Gc as e,hr as f,ve as g,jr as h,yc as i,xn as j,_i as k,Ao as l,Dc as m,rs as n,hi as o,jc as p,Ji as q,zc as r,Uc as s,Bc as t,Ac as u,Gt as v,$o as w,Ko as x,yi as y,bc as z};
|
||||
@@ -0,0 +1,2 @@
|
||||
function hi(e,t){const n=Object.create(null),i=e.split(",");for(let o=0;o<i.length;o++)n[i[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const te={},ht=[],Me=()=>{},fr=()=>!1,ur=/^on[^a-z]/,qt=e=>ur.test(e),gi=e=>e.startsWith("onUpdate:"),re=Object.assign,xi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pr=Object.prototype.hasOwnProperty,X=(e,t)=>pr.call(e,t),B=Array.isArray,gt=e=>En(e)==="[object Map]",Bs=e=>En(e)==="[object Set]",q=e=>typeof e=="function",ne=e=>typeof e=="string",Cn=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Us=e=>(ee(e)||q(e))&&q(e.then)&&q(e.catch),Ks=Object.prototype.toString,En=e=>Ks.call(e),dr=e=>En(e).slice(8,-1),Ws=e=>En(e)==="[object Object]",yi=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mt=hi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mr=/-(\w)/g,Ie=Tn(e=>e.replace(mr,(t,n)=>n?n.toUpperCase():"")),hr=/\B([A-Z])/g,ft=Tn(e=>e.replace(hr,"-$1").toLowerCase()),An=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),cn=Tn(e=>e?`on${An(e)}`:""),ct=(e,t)=>!Object.is(e,t),fn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},dn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Gn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},gr=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Wi;const ei=()=>Wi||(Wi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vi(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],o=ne(i)?br(i):vi(i);if(o)for(const s in o)t[s]=o[s]}return t}else if(ne(e)||ee(e))return e}const xr=/;(?![^(]*\))/g,yr=/:([^]+)/,vr=/\/\*[^]*?\*\//g;function br(e){const t={};return e.replace(vr,"").split(xr).forEach(n=>{if(n){const i=n.split(yr);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function bi(e){let t="";if(ne(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const i=bi(e[n]);i&&(t+=i+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const _r="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wr=hi(_r);function qs(e){return!!e||e===""}const Mc=e=>ne(e)?e:e==null?"":B(e)||ee(e)&&(e.toString===Ks||!q(e.toString))?JSON.stringify(e,Vs,2):String(e),Vs=(e,t)=>t&&t.__v_isRef?Vs(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,o])=>(n[`${i} =>`]=o,n),{})}:Bs(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!B(t)&&!Ws(t)?String(t):t;let ve;class Cr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ve;try{return ve=this,t()}finally{ve=n}}}on(){ve=this}off(){ve=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Er(e,t=ve){t&&t.active&&t.effects.push(e)}function zs(){return ve}function Tr(e){ve&&ve.cleanups.push(e)}const _i=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ys=e=>(e.w&Je)>0,Js=e=>(e.n&Je)>0,Ar=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Je},jr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i<t.length;i++){const o=t[i];Ys(o)&&!Js(o)?o.delete(e):t[n++]=o,o.w&=~Je,o.n&=~Je}t.length=n}},mn=new WeakMap;let Pt=0,Je=1;const ti=30;let je;const ot=Symbol(""),ni=Symbol("");class wi{constructor(t,n=null,i){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Er(this,i)}run(){if(!this.active)return this.fn();let t=je,n=Ve;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=je,je=this,Ve=!0,Je=1<<++Pt,Pt<=ti?Ar(this):qi(this),this.fn()}finally{Pt<=ti&&jr(this),Je=1<<--Pt,je=this.parent,Ve=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){je===this?this.deferStop=!0:this.active&&(qi(this),this.onStop&&this.onStop(),this.active=!1)}}function qi(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ve=!0;const Xs=[];function Tt(){Xs.push(Ve),Ve=!1}function At(){const e=Xs.pop();Ve=e===void 0?!0:e}function xe(e,t,n){if(Ve&&je){let i=mn.get(e);i||mn.set(e,i=new Map);let o=i.get(n);o||i.set(n,o=_i()),Qs(o)}}function Qs(e,t){let n=!1;Pt<=ti?Js(e)||(e.n|=Je,n=!Ys(e)):n=!e.has(je),n&&(e.add(je),je.deps.push(e))}function He(e,t,n,i,o,s){const r=mn.get(e);if(!r)return;let l=[];if(t==="clear")l=[...r.values()];else if(n==="length"&&B(e)){const a=Number(i);r.forEach((c,p)=>{(p==="length"||!Cn(p)&&p>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(r.get(n)),t){case"add":B(e)?yi(n)&&l.push(r.get("length")):(l.push(r.get(ot)),gt(e)&&l.Line truncated
|
||||
`),l=l.slice(0,-1),r&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),jc(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function jc(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const i=document.getSelection(),o=i?i.rangeCount>0&&i.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),o&&(i.removeAllRanges(),i.addRange(o)),n&&n.focus()}}function uf(e,t){let n=[],i=!0;const o=s=>{if(i){i=!1;return}const r=s.map(Ds);n.forEach((l,a)=>{const c=r.findIndex(p=>p==null?void 0:p.isEqualNode(l??null));c!==-1?delete r[c]:(l==null||l.remove(),delete n[a])}),r.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...r].filter(Boolean)};xo(()=>{const s=e.data,r=t.value,l=s&&s.description,a=s&&s.frontmatter.head||[],c=ir(r,s);c!==document.title&&(document.title=c);const p=l||r.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==p&&d.setAttribute("content",p):Ds(["meta",{name:"description",content:p}]),o(sr(r.head,Oc(a)))})}function Ds([e,t,n]){const i=document.createElement(e);for(const o in t)i.setAttribute(o,t[o]);return n&&(i.innerHTML=n),e==="script"&&!t.async&&(i.async=!1),i}function Sc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Oc(e){return e.filter(t=>!Sc(t))}const Zn=new Set,lr=()=>document.createElement("link"),Rc=e=>{const t=lr();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Pc=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let an;const Fc=Ce&&(an=lr())&&an.relList&&an.relList.supports&&an.relList.supports("prefetch")?Rc:Pc;function pf(){if(!Ce||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const i=()=>{n&&n.disconnect(),n=new IntersectionObserver(s=>{s.forEach(r=>{if(r.isIntersecting){const l=r.target;n.unobserve(l);const{pathname:a}=l;if(!Zn.has(a)){Zn.add(a);const c=Cc(a);c&&Fc(c)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(s=>{const{hostname:r,pathname:l}=new URL(s.href instanceof SVGAnimatedString?s.href.animVal:s.href,s.baseURI),a=l.match(/\.\w+$/);a&&a[0]!==".html"||s.target!=="_blank"&&r===location.hostname&&(l!==location.pathname?n.observe(s):Zn.add(l))})})};jt(i);const o=rr();Ye(()=>o.path,i),Nn(()=>{n&&n.disconnect()})}export{tf as $,Nn as A,Hc as B,Tl as C,kc as D,Dc as E,he as F,oo as G,of as H,ue as I,Nc as J,er as K,rr as L,ta as M,bt as N,vi as O,Pn as P,nf as Q,Vc as R,On as S,Wo as T,ef as U,$c as V,Yc as W,Xc as X,Jc as Y,Wc as Z,Gc as _,Do as a,$l as a0,Qc as a1,Uc as a2,Kc as a3,uf as a4,Ec as a5,sf as a6,yc as a7,lf as a8,af as a9,at as aa,Zc as ab,rf as ac,Cc as ad,pf as ae,ff as af,cf as ag,pi as ah,No as b,qc as c,wo as d,zc as e,Ls as f,oe as g,ge as h,pc as i,jt as j,$o as k,_c as l,lo as m,bi as n,Lo as o,Ic as p,Lc as q,Bc as r,uc as s,Mc as t,vc as u,Ce as v,fl as w,Ga as x,Ye as y,xo as z};
|
||||
@@ -0,0 +1,7 @@
|
||||
import{d as y,o as r,c as u,r as v,n as B,a as j,t as T,_ as k,b as w,w as p,T as Ve,e as g,u as qe,i as it,l as rt,f as he,g as L,h as M,j as Z,k as d,m as l,p as R,q as K,s as X,v as ee,x as be,y as Q,z as ve,A as Le,B as Ge,C as lt,D as J,F as H,E,G as Se,H as se,I as _,J as Y,K as Re,L as pe,M as ie,N as fe,O as ct,P as ut,Q as Ke,R as dt,S as ht,U as vt,V as xe,W as pt,X as We,Y as ft,Z as _t,$ as Je,a0 as Ye,a1 as mt,a2 as gt,a3 as kt}from"./framework.E60viAY0.js";const $t=y({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,s)=>(r(),u("span",{class:B(["VPBadge",t.type])},[v(t.$slots,"default",{},()=>[j(T(t.text),1)],!0)],2))}}),bt=k($t,[["__scopeId","data-v-9613cc9f"]]),yt={key:0,class:"VPBackdrop"},Pt=y({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,s)=>(r(),w(Ve,{name:"fade"},{default:p(()=>[t.show?(r(),u("div",yt)):g("",!0)]),_:1}))}}),wt=k(Pt,[["__scopeId","data-v-c79a1216"]]),I=qe;function Vt(e,t){let s,n=!1;return()=>{s&&clearTimeout(s),n?s=setTimeout(e,t):(e(),(n=!0)&&setTimeout(()=>n=!1,t))}}function ye(e){return/^\//.test(e)?e:`/${e}`}function Me(e){const{pathname:t,search:s,hash:n,protocol:o}=new URL(e,"http://a.com");if(it(e)||e.startsWith("#")||!o.startsWith("http")||/\.(?!html|md)\w+($|\?)/i.test(e)&&rt(e))return e;const{site:a}=I(),i=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${s}${n}`);return he(i)}function ne({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:s,localeIndex:n,page:o,theme:a}=I(),i=L(()=>{var h,f;return{label:(h=s.value.locales[n.value])==null?void 0:h.label,link:((f=s.value.locales[n.value])==null?void 0:f.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:L(()=>Object.entries(s.value.locales).flatMap(([h,f])=>e&&i.value.label===f.label?[]:{text:f.label,link:Lt(f.link||(h==="root"?"/":`/${h}/`),a.value.i18nRouting!==!1&&t,o.value.relativePath.slice(i.value.link.length-1),!s.value.cleanUrls)})),currentLang:i}}function Lt(e,t,s,n){return t?e.replace(/\/$/,"")+ye(s.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const St=e=>(R("data-v-f87ff6e4"),e=e(),K(),e),Mt={class:"NotFound"},Ct={class:"code"},It={class:"title"},Tt=St(()=>d("div",{class:"divider"},null,-1)),At={class:"quote"},Nt={class:"action"},Ht=["href","aria-label"],Bt=y({__name:"NotFound",setup(e){const{site:t,theme:s}=I(),{localeLinks:n}=ne({removeCurrent:!1}),o=M("/");return Z(()=>{var i;const a=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((i=n.value.find(({link:c})=>c.startsWith(a)))==null?void 0:i.link)||n.value[0].link)}),(a,i)=>{var c,h,f,m,$;return r(),u("div",Mt,[d("p",Ct,T(((c=l(s).notFound)==null?void 0:c.code)??"404"),1),d("h1",It,T(((h=l(s).notFound)==null?void 0:h.title)??"PAGE NOT FOUND"),1),Tt,d("blockquote",At,T(((f=l(s).notFound)==null?void 0:f.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),d("div",Nt,[d("a",{class:"link",href:l(he)(o.value),"aria-label":((m=l(s).notFound)==null?void 0:m.linkLabel)??"go to home"},T((($=l(s).notFound)==null?void 0:$.linkText)??"Take me home"),9,Ht)])])}}}),zt=k(Bt,[["__scopeId","data-v-f87ff6e4"]]);function Xe(e,t){if(Array.isArray(e))return re(e);if(e==null)return[];t=ye(t);const s=Object.keys(e).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>t.startsWith(ye(o))),n=s?e[s]:[];return Array.isArray(n)?re(n):re(n.items,n.base)}function xt(e){const t=[];let s=0;for(const n in e){const o=e[n];if(o.items){s=t.push(o);continue}t[s]||t.push({items:[]}),t[s].items.push(o)}return t}function Et(e){const t=[];function s(n){for(const o of n)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&s(o.items)}return s(e),t}function Pe(e,t){return Array.isArray(t)?t.some(s=>Pe(e,s)):X(e,t.link)?!0:t.items?Pe(e,t.items):!1}function re(e,t){return[...e].map(s=>{const n={...s},o=n.base||t;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=re(n.items,o)),n})}function W(){const{frontmatter:e,page:t,theme:s}=I(),n=be("(min-width: 960px)"),o=M(!1),a=L(()=>{const C=s.value.sidebar,S=t.value.relativePath;return C?Xe(C,S):[]}),i=M(a.value);Q(a,(C,S)=>{JSON.stringify(C)!==JSON.stringify(S)&&(i.value=a.value)});const c=L(()=>e.value.sidebar!==!1&&i.value.length>0&&e.value.layout!=="home"),h=L(()=>f?e.value.aside==null?s.value.aside==="left":e.value.aside==="left":!1),f=L(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:s.value.aside!==!1),m=L(()=>c.value&&n.value),$=L(()=>c.value?xt(i.value):[]);function V(){o.value=!0}function b(){o.value=!1}function P(){o.value?b():V()}return{isOpen:o,sidebar:i,sidebarGroups:$,hasSidebar:c,hasAside:f,leftAside:h,isSidebarEnabled:m,open:V,close:b,toggle:P}}function Dt(e,t){let s;ve(()=>{s=e.value?document.activeElement:void 0}),Z(()=>{window.addEventListener("keyup",n)}),Le(()=>{window.removeEventListLine truncated
|
||||
function __vite__mapDeps(indexes) {
|
||||
if (!__vite__mapDeps.viteFileDeps) {
|
||||
__vite__mapDeps.viteFileDeps = []
|
||||
}
|
||||
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
import{d as $,o as r,c as d,r as v,n as N,a as j,t as x,_ as k,b as w,w as h,T as Ie,e as b,u as at,i as $t,P as Pt,f as ye,g as L,h as S,j as W,k as _,l,p as R,m as U,q as Vt,s as wt,v as Z,x as be,y as St,z as te,A as ke,B as Ae,C as Be,D as Lt,E as Y,F as B,G as E,H as Ne,I as ae,J as y,K as Q,L as it,M as $e,N as ue,O as He,Q as Mt,R as xt,S as Ct,U as Xe,V as Tt,W as It,X as Je,Y as At,Z as rt,$ as Bt,a0 as Nt,a1 as de,a2 as Ht,a3 as zt,a4 as Et}from"./framework.532b6b18.js";const Dt=$({__name:"VPBadge",props:{text:{},type:{}},setup(e){return(t,n)=>(r(),d("span",{class:N(["VPBadge",t.type??"tip"])},[v(t.$slots,"default",{},()=>[j(x(t.text),1)],!0)],2))}});const Ot=k(Dt,[["__scopeId","data-v-02919808"]]),Ft={key:0,class:"VPBackdrop"},jt=$({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(r(),w(Ie,{name:"fade"},{default:h(()=>[t.show?(r(),d("div",Ft)):b("",!0)]),_:1}))}});const Gt=k(jt,[["__scopeId","data-v-c79a1216"]]),C=at;function qt(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Me(e){return/^\//.test(e)?e:`/${e}`}function ie(e){if($t(e))return e.replace(Pt,"");const{site:t}=C(),{pathname:n,search:s,hash:o}=new URL(e,"http://a.com"),a=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,t.value.cleanUrls?"":".html")}${s}${o}`);return ye(a)}function re({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:n,localeIndex:s,page:o,theme:a}=C(),i=L(()=>{var u,p;return{label:(u=n.value.locales[s.value])==null?void 0:u.label,link:((p=n.value.locales[s.value])==null?void 0:p.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:L(()=>Object.entries(n.value.locales).flatMap(([u,p])=>e&&i.value.label===p.label?[]:{text:p.label,link:Rt(p.link||(u==="root"?"/":`/${u}/`),a.value.i18nRouting!==!1&&t,o.value.relativePath.slice(i.value.link.length-1),!n.value.cleanUrls)})),currentLang:i}}function Rt(e,t,n,s){return t?e.replace(/\/$/,"")+Me(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const Ut=e=>(R("data-v-a172abb3"),e=e(),U(),e),Wt={class:"NotFound"},Kt={class:"code"},Yt={class:"title"},Xt=Ut(()=>_("div",{class:"divider"},null,-1)),Jt={class:"quote"},Qt={class:"action"},Zt=["href","aria-label"],en=$({__name:"NotFound",setup(e){const{site:t,theme:n}=C(),{localeLinks:s}=re({removeCurrent:!1}),o=S("/");return W(()=>{var i;const a=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");s.value.length&&(o.value=((i=s.value.find(({link:c})=>c.startsWith(a)))==null?void 0:i.link)||s.value[0].link)}),(a,i)=>{var c,u,p,m,f;return r(),d("div",Wt,[_("p",Kt,x(((c=l(n).notFound)==null?void 0:c.code)??"404"),1),_("h1",Yt,x(((u=l(n).notFound)==null?void 0:u.title)??"PAGE NOT FOUND"),1),Xt,_("blockquote",Jt,x(((p=l(n).notFound)==null?void 0:p.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),_("div",Qt,[_("a",{class:"link",href:l(ye)(o.value),"aria-label":((m=l(n).notFound)==null?void 0:m.linkLabel)??"go to home"},x(((f=l(n).notFound)==null?void 0:f.linkText)??"Take me home"),9,Zt)])])}}});const tn=k(en,[["__scopeId","data-v-a172abb3"]]);function lt(e){return Vt()?(wt(e),!0):!1}function ze(e){return typeof e=="function"?e():l(e)}const nn=typeof window<"u"&&typeof document<"u",sn=()=>{};function on(e){const t=ze(e);return(t==null?void 0:t.$el)??t}const Ee=nn?window:void 0;function an(...e){let t,n,s,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,o]=e,t=Ee):[t,n,s,o]=e,!t)return sn;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const a=[],i=()=>{a.forEach(m=>m()),a.length=0},c=(m,f,P,g)=>(m.addEventListener(f,P,g),()=>m.removeEventListener(f,P,g)),u=Z(()=>[on(t),ze(o)],([m,f])=>{i(),m&&a.push(...n.flatMap(P=>s.map(g=>c(m,P,g,f))))},{immediate:!0,flush:"post"}),p=()=>{u(),i()};return lt(p),p}function rn(){const e=S(!1);return St()&&W(()=>{e.value=!0}),e}function ln(e){const t=rn();return L(()=>(t.value,!!e()))}function xe(e,t={}){const{window:n=Ee}=t,s=ln(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=S(!1),i=p=>{a.value=p.matches},c=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},u=be(()=>{s.value&&(c(),o=n.matchMedia(ze(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),a.value=o.matches)});return lt(()=>{u(),c(),o=void 0}),a}function ct({window:e=Ee}={}){if(!e)return{x:S(0),y:S(0)};const t=S(e.scrollX),n=S(e.scrollY);return an(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function ut(e,t){if(Array.isArray(e))return _e(e);if(e==null)return[];t=Me(t);const n=Object.keys(e).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>t.startsWith(Me(o))),s=n?e[n]:[];return Array.isArray(s)?_e(s):_e(s.items,s.base)}function cn(e){const t=[];let n=0;for(const s in e){const o=e[s];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),Line truncated
|
||||
-webkit-transition: none !important;
|
||||
-moz-transition: none !important;
|
||||
-o-transition: none !important;
|
||||
-ms-transition: none !important;
|
||||
transition: none !important;
|
||||
}`)),document.head.appendChild(g),s.value=P,c[P?"add":"remove"]("dark"),window.getComputedStyle(g).opacity,document.head.removeChild(g)}return m}return Z(s,i=>{n.value=i}),(i,c)=>(r(),w(Xo,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":s.value,onClick:l(o)},{default:h(()=>[y(na,{class:"sun"}),y(la,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const qe=k(ca,[["__scopeId","data-v-82b282f1"]]),ua={key:0,class:"VPNavBarAppearance"},da=$({__name:"VPNavBarAppearance",setup(e){const{site:t}=C();return(n,s)=>l(t).appearance?(r(),d("div",ua,[y(qe)])):b("",!0)}});const _a=k(da,[["__scopeId","data-v-f6a63727"]]),Re=S();let _t=!1,we=0;function va(e){const t=S(!1);if(ke){!_t&&pa(),we++;const n=Z(Re,s=>{var o,a,i;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(a=e.onFocus)==null||a.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});Ae(()=>{n(),we--,we||ha()})}return Tt(t)}function pa(){document.addEventListener("focusin",vt),_t=!0,Re.value=document.activeElement}function ha(){document.removeEventListener("focusin",vt)}function vt(){Re.value=document.activeElement}const fa={},ma={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ga=_("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),ya=[ga];function ba(e,t){return r(),d("svg",ma,ya)}const pt=k(fa,[["render",ba]]),ka={},$a={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Pa=_("circle",{cx:"12",cy:"12",r:"2"},null,-1),Va=_("circle",{cx:"19",cy:"12",r:"2"},null,-1),wa=_("circle",{cx:"5",cy:"12",r:"2"},null,-1),Sa=[Pa,Va,wa];function La(e,t){return r(),d("svg",$a,Sa)}const Ma=k(ka,[["render",La]]),xa={class:"VPMenuLink"},Ca=$({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=C();return(n,s)=>(r(),d("div",xa,[y(X,{class:N({active:l(te)(l(t).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel},{default:h(()=>[j(x(n.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const Pe=k(Ca,[["__scopeId","data-v-2f2cfafc"]]),Ta={class:"VPMenuGroup"},Ia={key:0,class:"title"},Aa=$({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,n)=>(r(),d("div",Ta,[t.text?(r(),d("p",Ia,x(t.text),1)):b("",!0),(r(!0),d(B,null,E(t.items,s=>(r(),d(B,null,["link"in s?(r(),w(Pe,{key:0,item:s},null,8,["item"])):b("",!0)],64))),256))]))}});const Ba=k(Aa,[["__scopeId","data-v-69e747b5"]]),Na={class:"VPMenu"},Ha={key:0,class:"items"},za=$({__name:"VPMenu",props:{items:{}},setup(e){return(t,n)=>(r(),d("div",Na,[t.items?(r(),d("div",Ha,[(r(!0),d(B,null,E(t.items,s=>(r(),d(B,{key:s.text},["link"in s?(r(),w(Pe,{key:0,item:s},null,8,["item"])):(r(),w(Ba,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0),v(t.$slots,"default",{},void 0,!0)]))}});const Ea=k(za,[["__scopeId","data-v-e7ea1737"]]),Da=["aria-expanded","aria-label"],Oa={key:0,class:"text"},Fa=["innerHTML"],ja={class:"menu"},Ga=$({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=S(!1),n=S();va({el:n,onBlur:s});function s(){t.value=!1}return(o,a)=>(r(),d("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=i=>t.value=!0),onMouseleave:a[2]||(a[2]=i=>t.value=!1)},[_("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":o.label,onClick:a[0]||(a[0]=i=>t.value=!t.value)},[o.button||o.icon?(r(),d("span",Oa,[o.icon?(r(),w(Q(o.icon),{key:0,class:"option-icon"})):b("",!0),o.button?(r(),d("span",{key:1,innerHTML:o.button},null,8,Fa)):b("",!0),y(pt,{class:"text-icon"})])):(r(),w(Ma,{key:1,class:"icon"}))],8,Da),_("div",ja,[y(Ea,{items:o.items},{default:h(()=>[v(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Ue=k(Ga,[["__scopeId","data-v-a7b5672a"]]),qa={discord:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6
Line truncated
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user