使用PHP开发的简约导航/书签管理系统。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
230 KiB

2 years ago
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerpolicy&&(s.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?s.credentials="include":o.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Us(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}function kt(e){if(le(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ce(r)?wf(r):kt(r);if(o)for(const s in o)t[s]=o[s]}return t}else{if(Ce(e))return e;if(Te(e))return e}}const bf=/;(?![^(]*\))/g,yf=/:([^]+)/,_f=/\/\*.*?\*\//gs;function wf(e){const t={};return e.replace(_f,"").split(bf).forEach(n=>{if(n){const r=n.split(yf);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ie(e){let t="";if(Ce(e))t=e;else if(le(e))for(let n=0;n<e.length;n++){const r=ie(e[n]);r&&(t+=r+" ")}else if(Te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ef="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xf=Us(Ef);function Pl(e){return!!e||e===""}const st=e=>Ce(e)?e:e==null?"":le(e)||Te(e)&&(e.toString===Il||!ce(e.toString))?JSON.stringify(e,kl,2):String(e),kl=(e,t)=>t&&t.__v_isRef?kl(e,t.value):Vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Ml(t)?{[`Set(${t.size})`]:[...t.values()]}:Te(t)&&!le(t)&&!Nl(t)?String(t):t,Ie={},Kn=[],Ye=()=>{},Cf=()=>!1,Sf=/^on[^a-z]/,So=e=>Sf.test(e),Ks=e=>e.startsWith("onUpdate:"),Qe=Object.assign,Vs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Of=Object.prototype.hasOwnProperty,xe=(e,t)=>Of.call(e,t),le=Array.isArray,Vn=e=>Oo(e)==="[object Map]",Ml=e=>Oo(e)==="[object Set]",ce=e=>typeof e=="function",Ce=e=>typeof e=="string",Ws=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",$l=e=>Te(e)&&ce(e.then)&&ce(e.catch),Il=Object.prototype.toString,Oo=e=>Il.call(e),Tf=e=>Oo(e).slice(8,-1),Nl=e=>Oo(e)==="[object Object]",qs=e=>Ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,so=Us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),To=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Rf=/-(\w)/g,jt=To(e=>e.replace(Rf,(t,n)=>n?n.toUpperCase():"")),Af=/\B([A-Z])/g,Bn=To(e=>e.replace(Af,"-$1").toLowerCase()),Ro=To(e=>e.charAt(0).toUpperCase()+e.slice(1)),io=To(e=>e?`on${Ro(e)}`:""),Tr=(e,t)=>!Object.is(e,t),Wo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},go=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Js=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let zi;const Pf=()=>zi||(zi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ct;class kf{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=ct,!t&&ct&&(this.index=(ct.scopes||(ct.scopes=[])).push(this)-1)}run(t){if(this.active){const n=ct;try{return ct=this,t()}finally{ct=n}}}on(){ct=this}off(){ct=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;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 Mf(e,t=ct){t&&t.active&&t.effects.push(e)}function $f(){return ct}function If(e){ct&&ct.cleanups.push(e)}const Qs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Bl=e=>(e.w&vn)>0,Ll=e=>(e.n&vn)>0,Nf=({deps:e
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&jh[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ta=Symbol("internals"),Ju=Symbol("defaults");function vr(e){return e&&String(e).trim().toLowerCase()}function co(e){return e===!1||e==null?e:P.isArray(e)?e.map(co):String(e)}function Uh(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}function Ra(e,t,n,r){if(P.isFunction(r))return r.call(this,t,n);if(!!P.isString(t)){if(P.isString(r))return t.indexOf(r)!==-1;if(P.isRegExp(r))return r.test(t)}}function Kh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Vh(e,t){const n=P.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}function pr(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}function vt(e,t){e&&this.set(e),this[Ju]=t||null}Object.assign(vt.prototype,{set:function(e,t,n){const r=this;function o(s,i,a){const l=vr(i);if(!l)throw new Error("header name must be a non-empty string");const u=pr(r,l);u&&a!==!0&&(r[u]===!1||a===!1)||(r[u||i]=co(s))}return P.isPlainObject(e)?P.forEach(e,(s,i)=>{o(s,i,t)}):o(t,e,n),this},get:function(e,t){if(e=vr(e),!e)return;const n=pr(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return Uh(r);if(P.isFunction(t))return t.call(this,r,n);if(P.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}},has:function(e,t){if(e=vr(e),e){const n=pr(this,e);return!!(n&&(!t||Ra(this,this[n],n,t)))}return!1},delete:function(e,t){const n=this;let r=!1;function o(s){if(s=vr(s),s){const i=pr(n,s);i&&(!t||Ra(n,n[i],i,t))&&(delete n[i],r=!0)}}return P.isArray(e)?e.forEach(o):o(e),r},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(e){const t=this,n={};return P.forEach(this,(r,o)=>{const s=pr(n,o);if(s){t[s]=co(r),delete t[o];return}const i=e?Kh(o):String(o).trim();i!==o&&delete t[o],t[i]=co(r),n[i]=!0}),this},toJSON:function(e){const t=Object.create(null);return P.forEach(Object.assign({},this[Ju]||null,this),(n,r)=>{n==null||n===!1||(t[r]=e&&P.isArray(n)?n.join(", "):n)}),t}});Object.assign(vt,{from:function(e){return P.isString(e)?new this(zh(e)):e instanceof this?e:new this(e)},accessor:function(e){const n=(this[Ta]=this[Ta]={accessors:{}}).accessors,r=this.prototype;function o(s){const i=vr(s);n[i]||(Vh(r,s),n[i]=!0)}return P.isArray(e)?e.forEach(o):o(e),this}});vt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);P.freezeMethods(vt.prototype);P.freezeMethods(vt);function Wh(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];i||(i=u),n[o]=l,r[o]=u;let f=s,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const h=c&&u-c;return h?Math.round(d*1e3/h):void 0}}function Aa(e,t){let n=0;const r=Wh(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),u=s<=i;n=s;const c={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-s)/l:void 0};c[t?"download":"upload"]=!0,e(c)}}function Pa(e){return new Promise(function(n,r){let o=e.data;const s=vt.from(e.headers).normalize(),i=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}P.isFormData(o)&&Qt.isStandardBrowserEnv&&s.setContentType(!1);let u=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(h+":"+p))}const c=qu(e.baseURL,e.url);u.open(e.method.toUpperCase(),Ku(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function f(){if(!u)return;const h=vt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),g={
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const zn=typeof window<"u";function nm(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Me=Object.assign;function ns(e,t){const n={};for(const r in t){const o=t[r];n[r]=Pt(o)?o.map(e):e(o)}return n}const xr=()=>{},Pt=Array.isArray,rm=/\/$/,om=e=>e.replace(rm,"");function rs(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=lm(r!=null?r:t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function sm(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Na(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function im(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Zn(t.matched[r],n.matched[o])&&ec(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Zn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ec(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!am(e[n],t[n]))return!1;return!0}function am(e,t){return Pt(e)?Ba(e,t):Pt(t)?Ba(t,e):e===t}function Ba(e,t){return Pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function lm(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,s,i;for(s=0;s<r.length;s++)if(i=r[s],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Ir;(function(e){e.pop="pop",e.push="push"})(Ir||(Ir={}));var Cr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Cr||(Cr={}));function um(e){if(!e)if(zn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),om(e)}const cm=/^[^#]+#/;function fm(e,t){return e.replace(cm,"#")+t}function dm(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ho=()=>({left:window.pageXOffset,top:window.pageYOffset});function pm(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=dm(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function La(e,t){return(history.state?history.state.position-t:-1)+e}const Ms=new Map;function hm(e,t){Ms.set(e,t)}function mm(e){const t=Ms.get(e);return Ms.delete(e),t}let gm=()=>location.protocol+"//"+location.host;function tc(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Na(l,"")}return Na(n,e)+r+o}function vm(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const h=tc(e,location),p=n.value,g=t.value;let w=0;if(d){if(n.value=h,t.value=d,i&&i===p){i=null;return}w=g?d.position-g.position:0}else r(h);o.forEach(b=>{b(n.value,p,{delta:w,type:Ir.pop,direction:w?w>0?Cr.forward:Cr.back:Cr.unknown})})};function l(){i=n.value}function u(d){o.push(d);const h=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return s.push(h),h}function c(){const{history:d}=window;!d.state||d.replaceState(Me({},d.state,{scroll:Ho()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:f}}function Fa(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ho():null}}function bm(e){const{history:t,location:n}=window,r={value:tc(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const f=e.ind
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,D0=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function j0(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:D0.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function al(e,t=1,n){var r;xt||(xt=document.createElement("textarea"),document.body.appendChild(xt));const{paddingSize:o,borderSize:s,boxSizing:i,contextStyle:a}=j0(e);xt.setAttribute("style",`${a};${H0}`),xt.value=e.value||e.placeholder||"";let l=xt.scrollHeight;const u={};i==="border-box"?l=l+s:i==="content-box"&&(l=l-o),xt.value="";const c=xt.scrollHeight-o;if(yn(t)){let f=c*t;i==="border-box"&&(f=f+o+s),l=Math.max(f,l),u.minHeight=`${f}px`}if(yn(n)){let f=c*n;i==="border-box"&&(f=f+o+s),l=Math.min(f,l)}return u.height=`${l}px`,(r=xt.parentNode)==null||r.removeChild(xt),xt=void 0,u}const z0=Ne({id:{type:String,default:void 0},size:Ci,disabled:Boolean,modelValue:{type:he([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:he([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:At},prefixIcon:{type:At},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:he([Object,Array,String]),default:()=>dn({})}}),U0={[Fs]:e=>Ce(e),input:e=>Ce(e),change:e=>Ce(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},K0=["role"],V0=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],W0=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],q0=oe({name:"ElInput",inheritAttrs:!1}),J0=oe({...q0,props:z0,emits:U0,setup(e,{expose:t,emit:n}){const r=e,o=vp(),s=Au(),i=I(()=>{const _={};return r.containerRole==="combobox"&&(_["aria-haspopup"]=o["aria-haspopup"],_["aria-owns"]=o["aria-owns"],_["aria-expanded"]=o["aria-expanded"]),_}),a=h0({excludeKeys:I(()=>Object.keys(i.value))}),{form:l,formItem:u}=Pc(),{inputId:c}=w0(r,{formItemContext:u}),f=Rc(),d=Si(),h=Pe("input"),p=Pe("textarea"),g=ao(),w=ao(),b=X(!1),C=X(!1),T=X(!1),x=X(!1),z=X(),j=ao(r.inputStyle),L=I(()=>g.value||w.value),B=I(()=>{var _;return(_=l==null?void 0:l.statusIcon)!=null?_:!1}),J=I(()=>(u==null?void 0:u.validateState)||""),M=I(()=>J.value&&a0[J.value]),F=I(()=>x.value?Xv:hv),S=I(()=>[o.style,r.inputStyle]),$=I(()=>[r.inputStyle,j.value,{resize:r.resize}]),U=I(()=>jo(r.modelValue)?"":String(r.modelValue)),re=I(()=>r.clearable&&!d.value&&!r.readonly&&!!U.value&&(b.value||C.value)),Z=I(()=>r.showPassword&&!d.value&&!r.readonly&&!!U.value&&(!!U.value||b.value)),q=I(()=>r.showWordLimit&&!!a.value.maxlength&&(r.type==="text"||r.type==="textarea")&&!d.value&&!r.readonly&&!r.showPassword),ne=I(()=>Array.from(U.value).length),se=I(()=>!!q.value&&ne.value>Number(a.value.maxlength)),Ee=I(()=>!!s.suffix||!!r.suffixIcon||re.value||r.showPassword||q.value||!!J.value&&B.value),[ye,Le]=I0(g);_i(w,_=>{if(!q.value||r.resize!=="both")return;const O=_[0],{width:G}=O.contentRect;z.value=