PageSourceSearch

https://topm.pages.dev/static/js/settings-BKFIRDn7.js

js topm.pages.dev collected 2026-10-03 05:58:50 UTC 12,030 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/AuroraSettingsPanel-bG3_leiB.js","static/js/@vue-rvbOyIQz.js","static/js/settings-BnCvuZzQ.js","static/js/pinia-ByPuKixH.js","static/js/index-C3rh0hDd.js","static/js/vue-router-D9cZGVMH.js","static/js/@vueuse-eaih1oDf.js","static/js/vue-i18n-CBNz3CqA.js","static/js/@intlify-BBe1nVPd.js","static/js/pinia-plugin-persistedstate-fFNy23FG.js","static/js/gsap-a3sj5zmn.js","static/css/index-fd07-3Kl.css","static/js/ColorBendsSettingsPanel-De3J8hph.js","static/css/ColorBendsSettingsPanel-zxoUeccR.css","static/js/UltimateSettingsPanel-DJ5gukhp.js","static/js/PageSkeleton.vue_vue_type_script_setup_true_lang-DXMMSDZk.js","static/js/settingsOptions-CDC4H-rh.js","static/css/UltimateSettingsPanel-tn0RQdqM.css","static/js/ShadowBlingSettingsPanel-Cj_wMQnO.js"])))=>i.map(i=>d[i]);
2import{_ as Y,u as Z,i as M,a as z}from"./index-C3rh0hDd.js";import{_ as K}from"./PageSkeleton.vue_vue_type_script_setup_true_lang-DXMMSDZk.js";import{d as Q,B as X,j as ee,q as te,I as m,M as y,N as e,U as l,u as t,W as U,G,v as d,P as se,Q as oe,R as ne,F as le,Y as ae,V as q,Z as ie,r as H,b as P,c as f,O as re,w as de,m as v,a5 as ce,J as R}from"./@vue-rvbOyIQz.js";import{u as ue}from"./settings-BnCvuZzQ.js";import{u as me}from"./vue-i18n-CBNz3CqA.js";import{g as A,a as pe,b as xe,c as fe,d as ge,e as _e}from"./settingsOptions-CDC4H-rh.js";import{s as N}from"./pinia-ByPuKixH.js";const be={class:"truncate"},he={class:"max-h-60 overflow-auto"},ye=["onClick"],ve=Q({__name:"GlassSelect",props:{modelValue:{},options:{}},emits:["update:modelValue"],setup(c,{emit:S}){const w=c,V=S,p=H({open:!1}),{open:g}=X(p),i=P(null),u=P(null),k=P(null),x=P({top:"0px",left:"0px",width:"0px"}),$=()=>{if(!u.value)return;const r=u.value.getBoundingClientRect();x.value={top:`${r.bottom+4}px`,left:`${r.left}px`,width:`${r.width}px`}},O=f(()=>w.options.find(r=>r.value===w.modelValue)?.label??""),_=()=>{p.open||$(),p.open=!p.open},o=r=>{V("update:modelValue",r),p.open=!1},j=r=>{const C=i.value,b=k.value;if(!C)return;const T=r.target;!C.contains(T)&&!b?.contains(T)&&(p.open=!1)};return ee(()=>document.addEventListener("click",j)),te(()=>document.removeEventListener("click",j)),(r,C)=>(m(),y("div",{class:"relative w-full rounded-2xl",ref_key:"rootRef",ref:i},[e("button",{ref_key:"triggerRef",ref:u,type:"button",class:"glass-button text-primary flex w-full items-center justify-between overflow-hidden rounded-2xl px-3 py-2 text-left",onClick:_},[e("span",be,l(t(O)),1),e("span",{class:U(["icon-[mdi--chevron-down] text-primary/70 h-5 w-5 transition",{"rotate-180":t(g)}])},null,2)],512),(m(),G(ie,{to:"body"},[d(se,{name:"fade",mode:"out-in"},{default:oe(()=>[t(g)?(m(),y("div",{key:0,ref_key:"dropdownRef",ref:k,class:"glass-dropdown fixed z-99999 overflow-hidden rounded-2xl shadow-lg backdrop-blur-md backdrop-filter",style:ne(t(x))},[e("ul",he,[(m(!0),y(le,null,ae(c.options,b=>(m(),y("li",{key:String(b.value),class:U(["option-item cursor-pointer rounded-md px-3 py-2 text-sm transition",{selected:b.value===c.modelValue}]),onClick:T=>o(b.value)},l(b.label),11,ye))),128))])],4)):q("",!0)]),_:1})]))],512))}}),h=Y(ve,[["__scopeId","data-v-bf975447"]]),we={class:"inline-flex cursor-pointer items-center gap-2"},Ve=["checked"],ke={key:0,class:"icon-[mdi--check] h-4 w-4"},F=Q({__name:"GlassCheckbox",props:{modelValue:{type:Boolean},label:{}},emits:["update:modelValue"],setup(c,{emit:S}){const w=c,V=S,p=()=>V("update:modelValue",!w.modelValue),g=i=>V("update:modelValue",i.target.checked);return(i,u)=>(m(),y("label",we,[e("input",{type:"checkbox",class:"sr-only",checked:c.modelValue,onChange:g},null,40,Ve),e("span",{class:U(["flex h-5 w-5 items-center justify-center rounded-md border transition-all duration-200",[c.modelValue?"border-white/30 bg-white/60 text-black shadow-sm":"border-white/15 bg-white/5 text-primary/70"]]),onClick:re(p,["prevent"])},[c.modelValue?(m(),y("span",ke)):q("",!0)],2),e("span",{class:U(["text-sm",c.modelValue?"text-primary":"text-muted-glass"])},l(c.label),3)]))}}),Le={class:"h-full w-full overflow-auto p-6"},Se={key:1},Oe={class:"mb-8"},Ce={class:"text-primary text-2xl font-bold"},Te={class:"text-primary/50 mt-1 text-sm"},je={class:"grid grid-cols-2 gap-6"},ze={class:"glass-card space-y-5 rounded-2xl p-5"},Pe={class:"flex items-center gap-3 border-b border-white/10 pb-4"},Re={class:"text-primary text-sm font-semibold"},Ue={class:"text-primary/50 text-xs"},$e={class:"glass-card space-y-5 rounded-2xl p-5"},De={class:"flex items-center gap-3 border-b border-white/10 pb-4"},Be={class:"text-primary text-sm font-semibold"},Ee={class:"text-primary/50 text-xs"},Ie={class:"glass-card space-y-5 rounded-2xl p-5"},Me={class:"flex items-center gap-3 border-b border-white/10 pb-4"},Ae={class:"text-primary text-sm font-semibold"}
2,Fe={class:"text-primary/50 text-xs"},Ge={class:"glass-card space-y-5 rounded-2xl p-5"},Qe={class:"flex items-center gap-3 border-b border-white/10 pb-4"},Ne={class:"text-primary text-sm font-semibold"},qe={class:"text-primary/50 text-xs"},He={class:"glass-card space-y-5 rounded-2xl p-5"},Je={class:"flex items-center gap-3 border-b border-white/10 pb-4"},We={class:"text-primary text-sm font-semibold"},Ye={class:"text-primary/50 text-xs"},Ze={class:"space-y-4"},Ke={class:"flex items-center justify-between gap-2"},Xe={class:"text-primary/70 text-xs text-nowrap"},et={class:"text-primary/70 mb-2 block text-xs"},tt={class:"text-primary/80 flex flex-wrap gap-3"},st={class:"glass-card space-y-5 rounded-2xl p-5"},ot={class:"flex items-center gap-3 border-b border-white/10 pb-4"},nt={class:"text-primary text-sm font-semibold"},lt={class:"text-primary/50 text-xs"},at={class:"space-y-4"},it={class:"flex items-center justify-between gap-2"},rt={class:"text-primary/70 text-xs text-nowrap"},dt={class:"flex items-center justify-between gap-2"},ct={class:"text-primary/70 text-xs text-nowrap"},ut={class:"flex items-center justify-between gap-2"},mt={class:"text-primary/70 text-xs text-nowrap"},pt={class:"mt-6"},xt=Q({__name:"settings",setup(c){const S=R(()=>z(()=>import("./AuroraSettingsPanel-bG3_leiB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))),w=R(()=>z(()=>import("./ColorBendsSettingsPanel-De3J8hph.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10,11,13]))),V=R(()=>z(()=>import("./UltimateSettingsPanel-DJ5gukhp.js"),__vite__mapDeps([14,1,2,3,4,5,6,7,8,9,10,11,15,16,17]))),p=R(()=>z(()=>import("./ShadowBlingSettingsPanel-Cj_wMQnO.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,10,11]))),g=ue(),{backgroundType:i,footerLyrics:u,audioQuality:k,audioVisualizer:x}=N(g),$=Z(),{theme:O,lang:_}=N($),{t:o}=me(),j=f(()=>pe(o)),r=f(()=>xe(o)),C=f(()=>fe()),b=f(()=>ge(o)),T=f(()=>_e(o)),J=(()=>{const a=M.global.locale;return typeof a=="object"&&"value"in a?a.value:a})();_.value||(_.value=J||"zh"),de(_,a=>{const s=M.global.locale;typeof s=="object"&&"value"in s?s.value=a||"zh":M.global.locale=a||"zh"});const W=H({isPageLoading:!1}),D=(a,s)=>{const L=new Set(u.value.modes);if(s){L.add(a);const n=Array.from(L).slice(0,2);g.setFooterLyricsModes(n)}else{L.delete(a);const n=Array.from(L);g.setFooterLyricsModes(n)}},B=f({get:()=>u.value.modes.includes("original"),set:a=>D("original",a)}),E=f({get:()=>u.value.modes.includes("trans"),set:a=>D("trans",a)}),I=f({get:()=>u.value.modes.includes("roma"),set:a=>D("roma",a)});return(a,s)=>{const L=K;return m(),y("div",Le,[t(W).isPageLoading?(m(),G(L,{key:0,sections:["list"],"list-count":6})):(m(),y("div",Se,[e("div",Oe,[e("h1",Ce,l(t(o)("components.settings.title")),1),e("p",Te,l(t(o)("components.settings.desc")),1)]),e("div",je,[e("div",ze,[e("div",Pe,[s[11]||(s[11]=e("div",{class:"flex h-9 w-9 items-center justify-center rounded-xl bg-linear-to-br from-violet-500 to-purple-600"},[e("span",{class:"icon-[mdi--palette-outline] h-5 w-5 text-white"})],-1)),e("div",null,[e("h3",Re,l(t(o)("components.settings.themeMode")),1),e("p",Ue,l(t(o)("components.settings.themeModeDesc")),1)])]),d(h,{modelValue:t(O),"onUpdate:modelValue":s[0]||(s[0]=n=>v(O)?O.value=n:null),options:t(r)},null,8,["modelValue","options"])]),e("div",$e,[e("div",De,[s[12]||(s[12]=e("div",{class:"flex h-9 w-9 items-center justify-center rounded-xl bg-linear-to-br from-blue-500 to-cyan-600"},[e("span",{class:"icon-[mdi--translate] h-5 w-5 text-white"})],-1)),e("div",null,[e("h3",Be,l(t(o)("components.settings.uiLanguage")),1),e("p",Ee,l(t(o)("components.settings.uiLanguageDesc")),1)])]),d(h,{modelValue:t(_),"onUpdate:modelValue":s[1]||(s[1]=n=>v(_)?_.value=n:null),options:t(C)},null,8,["modelValue","options"])]),e("div",Ie,[e("div",Me,[s[13]||(s[13]=e("div",{class:"flex h-9 w-9 items-center justify-center rounded-xl bg-linear-to-br from-pink-500 to-rose-600"},[e("span",{class:"icon-[mdi--image-filter-hdr] h-5 w-5 text-white"})],-1)),e("div",null,[e("h3",Ae,l(t(o)("components.settings.backgroundType")),1),e("p",Fe,l(t(o)("components.settings.backgroundTypeDesc")),1
2)])]),d(h,{modelValue:t(i),"onUpdate:modelValue":s[2]||(s[2]=n=>v(i)?i.value=n:null),options:t(j)},null,8,["modelValue","options"])]),e("div",Ge,[e("div",Qe,[s[14]||(s[14]=e("div",{class:"flex h-9 w-9 items-center justify-center rounded-xl bg-linear-to-br from-emerald-500 to-teal-600"},[e("span",{class:"icon-[mdi--music-circle] h-5 w-5 text-white"})],-1)),e("div",null,[e("h3",Ne,l(t(o)("components.settings.audioQuality.title")),1),e("p",qe,l(t(o)("components.settings.audioQuality.desc")),1)])]),d(h,{modelValue:t(k),"onUpdate:modelValue":s[3]||(s[3]=n=>v(k)?k.value=n:null),options:t(b)},null,8,["modelValue","options"])]),e("div",He,[e("div",Je,[s[15]||(s[15]=e("div",{class:"flex h-9 w-9 items-center justify-center rounded-xl bg-linear-to-br from-amber-500 to-orange-600"},[e("span",{class:"icon-[mdi--subtitles-outline] h-5 w-5 text-white"})],-1)),e("div",null,[e("h3",We,l(t(o)("components.settings.footerLyricsTitle")),1),e("p",Ye,l(t(o)("components.settings.footerLyricsDesc")),1)])]),e("div",Ze,[e("div",Ke,[e("span",Xe,l(t(o)("common.show"))+"/"+l(t(o)("common.hide")),1),d(h,{options:t(A)(t(o)),modelValue:t(u).enabled,"onUpdate:modelValue":s[4]||(s[4]=n=>t(u).enabled=n),class:"w-32"},null,8,["options","modelValue"])]),e("div",null,[e("span",et,l(t(o)("components.settings.footerLyricsModes")),1),e("div",tt,[d(F,{modelValue:t(B),"onUpdate:modelValue":s[5]||(s[5]=n=>v(B)?B.value=n:null),label:t(o)("common.original")},null,8,["modelValue","label"]),d(F,{modelValue:t(E),"onUpdate:modelValue":s[6]||(s[6]=n=>v(E)?E.value=n:null),label:t(o)("common.trans")},null,8,["modelValue","label"]),d(F,{modelValue:t(I),"onUpdate:modelValue":s[7]||(s[7]=n=>v(I)?I.value=n:null),label:t(o)("common.roma")},null,8,["modelValue","label"])])])])]),e("div",st,[e("div",ot,[s[16]||(s[16]=e("div",{class:"flex h-9 w-9 items-center justify-center rounded-xl bg-linear-to-br from-cyan-500 to-blue-600"},[e("span",{class:"icon-[mdi--waveform] h-5 w-5 text-white"})],-1)),e("div",null,[e("h3",nt,l(t(o)("components.settings.audioVisualizer.title")),1),e("p",lt,l(t(o)("components.settings.audioVisualizer.desc")),1)])]),e("div",at,[e("div",it,[e("span",rt,l(t(o)("components.settings.audioVisualizer.footer")),1),d(h,{options:t(A)(t(o)),modelValue:t(x).enabledInFooter,"onUpdate:modelValue":s[8]||(s[8]=n=>t(x).enabledInFooter=n),class:"w-32"},null,8,["options","modelValue"])]),e("div",dt,[e("span",ct,l(t(o)("components.settings.audioVisualizer.drawer")),1),d(h,{options:t(A)(t(o)),modelValue:t(x).enabledInDrawer,"onUpdate:modelValue":s[9]||(s[9]=n=>t(x).enabledInDrawer=n),class:"w-32"},null,8,["options","modelValue"])]),e("div",ut,[e("span",mt,l(t(o)("components.settings.audioVisualizer.type")),1),d(h,{options:t(T),modelValue:t(x).visualizerType,"onUpdate:modelValue":s[10]||(s[10]=n=>t(x).visualizerType=n),class:"w-32"},null,8,["options","modelValue"])])])])]),e("div",pt,[(m(),G(ce(t(i)==="colorbends"?t(w):t(i)==="aurora"?t(S):t(i)==="shadowBling"?t(p):t(V))))])]))])}}}),wt=Object.freeze(Object.defineProperty({__proto__:null,default:xt},Symbol.toStringTag,{value:"Module"}));export{h as G,wt as s};

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.