PageSourceSearch

https://mgm.jie-you.cn/_nuxt/C_DntfLg2.js

js jie-you.cn collected 2026-10-06 13:16:10 UTC 14,462 bytes, 1 lines download raw bytes

1import{F as e,Ft as t,H as n,It as r,M as i,Nt as a,Q as o,R as s,V as c,W as l,Y as u,_ as d,b as f,d as p,f as m,l as h,p as g,pt as _,r as v,st as y,u as b,v as x}from"./DUWOugQK.js";import{f as S,u as C}from"./eiED-kzP.js";import{t as w}from"./GFjiINqH.js";import{t as T}from"./B_fzbrwT.js";import{n as E,t as D}from"./tJazXoc2.js";import{t as O}from"./B4cY_FCL.js";import{n as k,t as A}from"./CzXSw_HD2.js";import{n as j,t as M}from"./mXlXQI2p2.js";import{t as N}from"./CPNFbWTA2.js";import{t as P}from"./DIdLltNv2.js";import{t as F}from"./CE0OoeBr.js";import{t as I}from"./BBwgOLoF.js";import{t as L}from"./9gRIiQFz.js";import{c as R,l as ee,n as te,o as z,s as B,t as V,u as H}from"#entry";import{n as U,r as W}from"./5a5a0cc7.js";import{t as G}from"./yZ9MHzNC2.js";import{a as K}from"./QnYD3mVf2.js";var q=w(`CrownIcon`,[[`path`,{d:`M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z`,key:`1vdc57`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]),J=w(`MonitorIcon`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]),Y=w(`MoonIcon`,[[`path`,{d:`M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z`,key:`a7tn18`}]]),X=w(`SunIcon`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),Z=[`src`],Q=Object.assign(V(f({__name:`SiteBrandIcon`,props:{size:{default:34},fallbackSize:{default:21},variant:{default:`framed`}},setup(e){let n=e,r=R(),i=y(!1),o=h(()=>!!r.logoUrl.value&&!i.value);return u(r.logoUrl,()=>{i.value=!1}),(c,l)=>(s(),g(`span`,{class:a([`site-brand-icon`,[e.variant,{"has-image":_(o)}]]),style:t({"--brand-icon-size":`${n.size}px`}),"aria-hidden":`true`},[_(o)?(s(),g(`img`,{key:0,src:_(r).logoUrl.value,alt:``,onError:l[0]||=e=>i.value=!0},null,40,Z)):(s(),p(_(P),{key:1,size:n.fallbackSize,"stroke-width":2.4},null,8,[`size`]))],6))}}),[[`__scopeId`,`data-v-1bec3d9b`]]),{__name:`SiteBrandIcon`}),ne=[`aria-expanded`],re=[`src`,`alt`],ie={key:1},ae={key:0,class:`account-popover`,role:`menu`},oe={class:`account-identity`},se=[`aria-busy`],ce={key:0,class:`menu-badge`},le=Object.assign(V(f({__name:`AccountMenu`,setup(t){let n=W(),c=D(),l=G(),u=y(!1),f=y(null),p=c.profile,v=c.loading,S=h(()=>n.user.value?.nickname||n.user.value?.username||`我的账号`),w=h(()=>S.value.slice(0,1).toUpperCase()),O=h(()=>p.value?p.value.points.toLocaleString(`zh-CN`):`--`),j=h(()=>!!(p.value?.member_until&&Date.parse(p.value.member_until)>Date.now())),M=h(()=>p.value?p.value.member_until?j.value?`会员至 ${K(p.value.member_until)}`:`会员已到期`:`普通用户`:`--`);function P(e){f.value&&!f.value.contains(e.target)&&(u.value=!1)}async function F(){u.value=!1,await n.logout(),await C(`/`)}async function I(){try{await c.load()}catch{}}function R(){u.value=!u.value,u.value&&I()}return e(()=>document.addEventListener(`pointerdown`,P)),i(()=>document.removeEventListener(`pointerdown`,P)),(e,t)=>{let i=H;return s(),g(`div`,{ref_key:`root`,ref:f,class:`account-menu`},[b(`button`,{class:`account-trigger`,type:`button`,"aria-expanded":_(u),"aria-haspopup":`menu`,"aria-label":`打开账号菜单`,onClick:R},[_(n).user.value?.avatar_path?(s(),g(`img`,{key:0,src:_(n).user.value.avatar_path,alt:`${_(S)}的头像`},null,8,re)):(s(),g(`span`,ie,r(_(w)),1))],8,ne),_(u)?(s(),g(`div`,ae,[b(`div`,oe,[b(`strong`,null,r(_(S)),1),b(`span`,null,`@`+r(_(n).user.value?.username),1)]),b(`div`,{class:`account-assets`,"aria-label":`账号资产摘要`,"aria-busy":_(v)},[b(`div`,null,[x(_(E),{size:16}),b(`span`,null,[t[5]||=b(`small`,null,`积分`,-1),b(`strong`,null,r(_(O)),1)])]),b(`div`,{class:a({active:_(j)})},[x(_(q),{size:16}),b(`span`,null,[t[6]||=b(`small`,null,`会员状态`,-1),b(`strong`,null,r(_(M)),1)])],2)],8,se),x(i,{to:`/me`,role:`menuitem`,onClick:t[0]||=e=>u.value=!1},{default:o(()=>[x(_(L),{size:17}),t[7]||=d(`我的空间`,-1)]),_:1}),x(i,{to:`/notifications`,role:`menuitem`,onClick:t[1]||=e=>u.value=!1},{default:o(()=>[x(_(T),{size:17}),t[8]||=d(`互动通知`,-1),_(l).unreadCount.value?(s(),g(`span`,ce,r(_(l).unreadLabel.value),1)):m(``,!0)]),_:1}),x(i,{to:`/feedback`,role:`menuitem`,onClick:t[2]||=e=>u.value=!1},{default:o(()=>[x(_(N),{size:17}),t[9]||=d(`意见反馈`,-1)]),_:1}),x(i,{to:`/me/profile`,role:`menuitem`,onClick:t[3]||=e=>u.value=!1},{default:o(()=>[x(_(A),{size:17}),t[10]||=d(`个人资料`,-1)]),_:1}),x(i,{to:`/me/points`,role:`menuitem`,onClick:t[4]||=e=>u.value=!1},{default:o(()=>[x(_(E),{size:17}),t[11]||=d(`积分记录`,-1)]),_:1}),b(`button`,{type:`button`,role:`menuitem`,onClick:F},[x(_(k),{size:17}),t[12]||=d(`退出登录`,-1)])])):m(``,!0)],512)}}}),[[`__scopeId`,`data-v-485013a0`]]),{__name:`AccountMenu`}),$=[`aria-expanded`],ue={key:0,class:`theme-popover`,role:`dialog`,"aria-label":`主题设置`},de={class:`scheme-options`,role:`radiogroup`,"aria-label":`显示模式`},fe=[`aria-checked`,`onClick`],pe={class:`accent-heading`},me={class:`accent-options`,role:`radiogroup`,"aria-label":`主题颜色`},he=[`aria-checked`],ge=[`aria-checked`],_e=[`aria-checked`],ve={key:0,class:`custom-accent-editor`},ye=[`value`],be=[`value`],xe=Object.assign(V(f({__name:`SiteThemeMenu`,setup(n){let o=z(),f=y(null),S=y(!1),C=h(()=>o.settings.value.scheme),w=h(()=>o.settings.value.accent),T=h(()=>o.resolvedScheme.value===`light`),E=y(o.settings.value.customAccent),D=[{value:`dark`,label:`深色`,
1icon:Y},{value:`light`,label:`浅色`,icon:X},{value:`system`,label:`跟随系统`,icon:J}];function O(e){f.value&&!f.value.contains(e.target)&&(S.value=!1)}function k(e){e.key===`Escape`&&(S.value=!1)}function A(e){o.setScheme(e)}function j(e){e===`custom`?o.setCustomAccent(E.value):o.setAccent(e)}function N(e){let t=e.target.value;E.value=t,o.setCustomAccent(t)}function P(e){let t=e.target;if(!B(t.value)){t.value=o.settings.value.customAccent,E.value=o.settings.value.customAccent;return}E.value=t.value.toLowerCase(),o.setCustomAccent(E.value)}function I(){o.reset()}return u(()=>o.settings.value.customAccent,e=>{E.value=e}),e(()=>{o.initialize(),document.addEventListener(`pointerdown`,O),window.addEventListener(`keydown`,k)}),i(()=>{document.removeEventListener(`pointerdown`,O),window.removeEventListener(`keydown`,k)}),(e,n)=>(s(),g(`div`,{ref_key:`root`,ref:f,class:`site-theme-menu`},[b(`button`,{class:`theme-trigger`,type:`button`,"aria-label":`主题设置`,title:`主题设置`,"aria-haspopup":`dialog`,"aria-expanded":_(S),onClick:n[0]||=e=>S.value=!_(S)},[_(T)?(s(),p(_(X),{key:0,size:19})):(s(),p(_(Y),{key:1,size:19}))],8,$),_(S)?(s(),g(`section`,ue,[b(`header`,null,[b(`div`,null,[n[4]||=b(`strong`,null,`外观`,-1),b(`span`,null,r(_(C)===`system`?`跟随系统 · 当前${_(T)?`浅色`:`深色`}`:`当前${_(T)?`浅色`:`深色`}`),1)]),b(`button`,{type:`button`,"aria-label":`恢复默认主题`,title:`恢复默认`,onClick:I},[x(_(F),{size:16})])]),b(`div`,de,[(s(),g(v,null,c(D,e=>b(`button`,{key:e.value,type:`button`,role:`radio`,"aria-checked":_(C)===e.value,class:a({active:_(C)===e.value}),onClick:t=>A(e.value)},[(s(),p(l(e.icon),{size:17})),b(`span`,null,r(e.label),1)],10,fe)),64))]),b(`div`,pe,[x(_(M),{size:15}),n[5]||=b(`strong`,null,`主题颜色`,-1)]),b(`div`,me,[b(`button`,{type:`button`,role:`radio`,"aria-checked":_(w)===`logo`,class:a({active:_(w)===`logo`}),onClick:n[1]||=e=>j(`logo`)},[...n[6]||=[b(`i`,{class:`accent-swatch logo`},null,-1),d(`星羽蓝 `,-1)]],10,he),b(`button`,{type:`button`,role:`radio`,"aria-checked":_(w)===`gold`,class:a({active:_(w)===`gold`}),onClick:n[2]||=e=>j(`gold`)},[...n[7]||=[b(`i`,{class:`accent-swatch gold`},null,-1),d(`暖金 `,-1)]],10,ge),b(`button`,{type:`button`,role:`radio`,"aria-checked":_(w)===`custom`,class:a({active:_(w)===`custom`}),onClick:n[3]||=e=>j(`custom`)},[b(`i`,{class:`accent-swatch`,style:t({background:_(E)})},null,4),n[8]||=d(`自定义 `,-1)],10,_e)]),_(w)===`custom`?(s(),g(`div`,ve,[b(`input`,{value:_(E),type:`color`,"aria-label":`选择自定义主题颜色`,onInput:N},null,40,ye),b(`input`,{value:_(E),type:`text`,inputmode:`text`,maxlength:`7`,"aria-label":`自定义主题颜色十六进制值`,onChange:P},null,40,be)])):m(``,!0)])):m(``,!0)],512))}}),[[`__scopeId`,`data-v-12882f16`]]),{__name:`SiteThemeMenu`}),Se={class:`header-inner container`},Ce={class:`desktop-nav`,"aria-label":`主导航`},we={class:`header-actions`},Te={key:0,class:`notification-badge`},Ee=[`aria-expanded`,`aria-label`],De={key:0,id:`mobile-navigation`,class:`mobile-nav`,"aria-label":`移动端导航`},Oe={key:0},ke=Object.assign(V(f({__name:`SiteHeader`,setup(t){let n=S(),l=y(!1),f=W(),C=G(),w=null,E=h(()=>n.path===`/scores`),D=h(()=>n.path===`/compose`||n.path.startsWith(`/compose/`)),k=h(()=>[{to:`/download`,label:`下载`,active:n.path===`/download`},{to:`/scores`,label:`曲库`,active:E.value},{to:`/community`,label:`社区`,active:n.path===`/community`||n.path.startsWith(`/community/`)},{to:`/play`,label:`在线弹琴`,active:n.path===`/play`},{to:`/practice`,label:`在线练琴`,active:n.path===`/practice`||n.path.endsWith(`/practice`)},{to:`/compose`,label:`在线编曲`,active:D.value}]),A=h(()=>({path:`/login`,query:{redirect:n.path===`/login`?U(n.query.redirect,`/`):n.fullPath}}));u(()=>n.fullPath,()=>{l.value=!1});function M(e){e.key===`Escape`&&(l.value=!1)}function N(){document.visibilityState===`visible`&&C.refresh(!0)}return e(async()=>{await f.initialize(),f.isAuthenticated.value&&C.refresh(!0),w=ee(()=>{document.visibilityState===`visible`&&C.refresh()},9e4),document.addEventListener(`visibilitychange`,N),window.addEventListener(`ke
1ydown`,M)}),u(f.isAuthenticated,e=>{e?C.refresh(!0):C.reset()}),i(()=>{w&&clearInterval(w),document.removeEventListener(`visibilitychange`,N),window.removeEventListener(`keydown`,M)}),(e,t)=>{let i=Q,u=H;return s(),g(`header`,{class:a([`site-header`,{"over-home-hero":_(n).path===`/`}])},[b(`div`,Se,[x(u,{class:`brand-link`,to:`/`,"aria-label":`音游伴侣首页`},{default:o(()=>[x(i,{class:`brand-mark`}),t[1]||=b(`span`,null,`音游伴侣`,-1)]),_:1}),b(`nav`,Ce,[(s(!0),g(v,null,c(_(k),e=>(s(),p(u,{key:e.to,to:e.to,class:a({active:e.active}),"aria-current":e.active?`page`:void 0},{default:o(()=>[d(r(e.label),1)]),_:2},1032,[`to`,`class`,`aria-current`]))),128))]),b(`div`,we,[x(u,{class:`icon-link`,to:`/scores`,"aria-label":`搜索曲谱`,title:`搜索曲谱`},{default:o(()=>[x(_(I),{size:19})]),_:1}),x(xe),_(f).isAuthenticated.value?(s(),p(u,{key:0,class:a([`icon-link notification-action`,{active:_(n).path===`/notifications`}]),to:`/notifications`,"aria-label":`互动通知`,title:`互动通知`},{default:o(()=>[x(_(T),{size:19}),_(C).unreadCount.value?(s(),g(`span`,Te,r(_(C).unreadLabel.value),1)):m(``,!0)]),_:1},8,[`class`])):m(``,!0),x(u,{class:`download-action`,to:`/download`},{default:o(()=>[x(_(O),{size:17}),t[2]||=b(`span`,null,`下载 App`,-1)]),_:1}),_(f).isAuthenticated.value?(s(),p(le,{key:1})):(s(),p(u,{key:2,class:`login-action`,to:_(A)},{default:o(()=>[x(_(L),{size:17}),t[3]||=b(`span`,null,`登录`,-1)]),_:1},8,[`to`])),b(`button`,{class:`mobile-menu-button`,type:`button`,"aria-expanded":_(l),"aria-controls":`mobile-navigation`,"aria-label":_(l)?`关闭导航`:`打开导航`,onClick:t[0]||=e=>l.value=!_(l)},[_(l)?(s(),p(_(te),{key:0,size:21})):(s(),p(_(j),{key:1,size:21}))],8,Ee)])]),_(l)?(s(),g(`nav`,De,[(s(!0),g(v,null,c(_(k),e=>(s(),p(u,{key:e.to,to:e.to,class:a({active:e.active}),"aria-current":e.active?`page`:void 0},{default:o(()=>[d(r(e.label),1)]),_:2},1032,[`to`,`class`,`aria-current`]))),128)),x(u,{to:`/feedback`,class:a({active:_(n).path===`/feedback`}),"aria-current":_(n).path===`/feedback`?`page`:void 0},{default:o(()=>[...t[4]||=[d(`意见反馈`,-1)]]),_:1},8,[`class`,`aria-current`]),_(f).isAuthenticated.value?(s(),p(u,{key:0,class:`mobile-notification-link`,to:`/notifications`},{default:o(()=>[t[5]||=b(`span`,null,`互动通知`,-1),_(C).unreadCount.value?(s(),g(`strong`,Oe,r(_(C).unreadLabel.value),1)):m(``,!0)]),_:1})):m(``,!0),_(f).isAuthenticated.value?(s(),p(u,{key:1,to:`/me`},{default:o(()=>[...t[6]||=[d(`我的空间`,-1)]]),_:1})):(s(),p(u,{key:2,to:_(A)},{default:o(()=>[...t[7]||=[d(`登录账号`,-1)]]),_:1},8,[`to`]))])):m(``,!0)],2)}}}),[[`__scopeId`,`data-v-9963195c`]]),{__name:`SiteHeader`}),Ae={class:`footer-inner container`},je={class:`footer-brand`},Me={"aria-label":`页脚导航`},Ne=Object.assign(V(f({__name:`SiteFooter`,setup(e){let t=S();return(e,n)=>{let r=Q,i=H;return s(),g(`footer`,{class:a([`site-footer`,{"home-site-footer":_(t).path===`/`}])},[b(`div`,Ae,[b(`div`,je,[x(r,{size:22,"fallback-size":20,variant:`plain`}),n[0]||=b(`strong`,null,`音游伴侣`,-1),n[1]||=b(`span`,null,`游戏琴谱、在线练琴、演奏、编曲与社区工具`,-1)]),b(`nav`,Me,[x(i,{to:`/scores`},{default:o(()=>[...n[2]||=[d(`曲库`,-1)]]),_:1}),x(i,{to:`/play`},{default:o(()=>[...n[3]||=[d(`在线弹琴`,-1)]]),_:1}),x(i,{to:`/practice`},{default:o(()=>[...n[4]||=[d(`在线练琴`,-1)]]),_:1}),x(i,{to:`/compose`},{default:o(()=>[...n[5]||=[d(`在线编曲`,-1)]]),_:1}),x(i,{to:`/community`},{default:o(()=>[...n[6]||=[d(`社区`,-1)]]),_:1}),x(i,{to:`/feedback`},{default:o(()=>[...n[7]||=[d(`意见反馈`,-1)]]),_:1}),x(i,{to:`/download`},{default:o(()=>[...n[8]||=[d(`下载`,-1)]]),_:1}),n[9]||=b(`a`,{href:`/pages/privacy-policy`},`隐私政策`,-1),n[10]||=b(`a`,{href:`/pages/user-agreement`},`用户协议`,-1)]),n[11]||=b(`div`,{class:`footer-records`,"aria-label":`版权与网站备案信息`},[b(`span`,null,`© 2026 音游伴侣`),b(`span`,{class:`record-divider`,"aria-hidden":`true`},`·`),b(`a`,{href:`https://beian.miit.gov.cn/`,target:`_blank`,rel:`noopener noreferrer`},`粤ICP备19011038号-1`)],-1)])],2)}}}),[[`__scopeId`,`data-v-5792bd1d`]]),{__name:`SiteFooter`}),Pe={},Fe={class:`site-shell`},Ie={class:`site-page`};function Le(e,t){let r=ke,i=Ne;return s(),g(`div`,Fe,[x(r),b(`main`,Ie,[n(e.$slots,`default`)]),x(i)])}var Re=V(Pe,[[`render`,Le]]);export{Re as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.