This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
handingkang-ohmyweb/static/index.fe3f44fa.js

2 lines
29 KiB
JavaScript
Raw Normal View History

import{d as e,r as t,a,c as n,o as l,b as r,e as i,w as s,T as o,f as c,u,g as d,h as f,i as h,_ as p,j as m,k as g,F as v,l as A,m as w,t as b,n as y,p as C,q as x,s as k,E,v as S,x as V,y as T,z as B,A as D,B as F,C as _,D as L,G as I,H as M,I as R,J as O,K as N,L as Y,M as P,N as j,O as Q,P as z,Q as U,R as q,S as H,U as J,V as X,W as G,X as K,Y as W}from"./index.b52d9af6.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.85e0daa1.js";const $=!0,ee=!0,te=!0,ae=!0,ne=!0,le=!0,re=e("settings",(()=>({fixedHeader:t(te),showSettings:t($),showTagsView:t(ee),showSidebarLogo:t(ae),showThemeSwitch:t(ne),showScreenfull:t(le)}))),ie={class:"app-main"},se=p(a({__name:"AppMain",setup(e){const t=h(),a=n((()=>t.path));return(e,t)=>{const n=f("router-view");return l(),r("section",ie,[i(n,null,{default:s((({Component:e})=>[i(o,{name:"fade-transform",mode:"out-in"},{default:s((()=>[(l(),c(d(e),{key:u(a)}))])),_:2},1024)])),_:1})])}}}),[["__scopeId","data-v-0058dddf"]]);function oe(e,t){void 0===t&&(t={});for(var a=function(e){for(var t=[],a=0;a<e.length;){var n=e[a];if("*"!==n&&"+"!==n&&"?"!==n)if("\\"!==n)if("{"!==n)if("}"!==n)if(":"!==n)if("("!==n)t.push({type:"CHAR",index:a,value:e[a++]});else{var l=1,r="";if("?"===e[s=a+1])throw new TypeError('Pattern cannot start with "?" at '.concat(s));for(;s<e.length;)if("\\"!==e[s]){if(")"===e[s]){if(0==--l){s++;break}}else if("("===e[s]&&(l++,"?"!==e[s+1]))throw new TypeError("Capturing groups are not allowed at ".concat(s));r+=e[s++]}else r+=e[s++]+e[s++];if(l)throw new TypeError("Unbalanced pattern at ".concat(a));if(!r)throw new TypeError("Missing pattern at ".concat(a));t.push({type:"PATTERN",index:a,value:r}),a=s}else{for(var i="",s=a+1;s<e.length;){var o=e.charCodeAt(s);if(!(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o))break;i+=e[s++]}if(!i)throw new TypeError("Missing parameter name at ".concat(a));t.push({type:"NAME",index:a,value:i}),a=s}else t.push({type:"CLOSE",index:a,value:e[a++]});else t.push({type:"OPEN",index:a,value:e[a++]});else t.push({type:"ESCAPED_CHAR",index:a++,value:e[a++]});else t.push({type:"MODIFIER",index:a,value:e[a++]})}return t.push({type:"END",index:a,value:""}),t}(e),n=t.prefixes,l=void 0===n?"./":n,r="[^".concat(function(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}(t.delimiter||"/#?"),"]+?"),i=[],s=0,o=0,c="",u=function(e){if(o<a.length&&a[o].type===e)return a[o++].value},d=function(e){var t=u(e);if(void 0!==t)return t;var n=a[o],l=n.type,r=n.index;throw new TypeError("Unexpected ".concat(l," at ").concat(r,", expected ").concat(e))},f=function(){for(var e,t="";e=u("CHAR")||u("ESCAPED_CHAR");)t+=e;return t};o<a.length;){var h=u("CHAR"),p=u("NAME"),m=u("PATTERN");if(p||m){var g=h||"";-1===l.indexOf(g)&&(c+=g,g=""),c&&(i.push(c),c=""),i.push({name:p||s++,prefix:g,suffix:"",pattern:m||r,modifier:u("MODIFIER")||""})}else{var v=h||u("ESCAPED_CHAR");if(v)c+=v;else if(c&&(i.push(c),c=""),u("OPEN")){g=f();var A=u("NAME")||"",w=u("PATTERN")||"",b=f();d("CLOSE"),i.push({name:A||(w?s++:""),pattern:A&&!w?r:w,prefix:g,suffix:b,modifier:u("MODIFIER")||""})}else d("END")}}return i}function ce(e,t){return function(e,t){void 0===t&&(t={});var a=function(e){return e&&e.sensitive?"":"i"}(t),n=t.encode,l=void 0===n?function(e){return e}:n,r=t.validate,i=void 0===r||r,s=e.map((function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),a)}));return function(t){for(var a="",n=0;n<e.length;n++){var r=e[n];if("string"!=typeof r){var o=t?t[r.name]:void 0,c="?"===r.modifier||"*"===r.modifier,u="*"===r.modifier||"+"===r.modifier;if(Array.isArray(o)){if(!u)throw new TypeError('Expected "'.concat(r.name,'" to not repeat, but got an array'));if(0===o.length){if(c)continue;throw new TypeError('Expected "'.concat(r.name,'" to not be empty'))}for(var d=0;d<o.length;d++){var f=l(o[d],r);if(i&&!s[n].test(f))throw new TypeError('Expected all "'.concat(r.name,'" to match "').concat(r.pattern,'", but got "').concat(f,'"'));a+=r.prefix+f+r.suffix}}else if("string"!=typeof o&&"number"!=typeof o){if(!c){var h=u?"an array":"a string";throw new