PageSourceSearch

https://cdn.bumo.cc/apps/common-web-new/_next/static/chunks/9632.f1c6b3413317bc76.js

js bumo.cc collected 2026-10-04 04:00:50 UTC 10,988 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcommon=self.webpackChunkcommon||[]).push([[9632],{9632:(e,t,o)=>{o.d(t,{A:()=>V});var r=o(73884);let n=r.createContext(null);function l(){return r.useContext(n)}let c="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var s=o(58775);let i=function(e){let{children:t,theme:o}=e,i=l(),a=r.useMemo(()=>{var e,t;let r=null===i?{...o}:(e=i,"function"==typeof(t=o)?t(e):{...e,...t});return null!=r&&(r[c]=null!==i),r},[o,i]);return(0,s.jsx)(n.Provider,{value:a,children:t})};var a=o(89593),m=o(13116),d=o(43755),u=o(4326);let h={};function f(e,t,o){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return r.useMemo(()=>{let r=e&&t[e]||t;if("function"==typeof o){let l=o(r),c=e?{...t,[e]:l}:l;return n?()=>c:c}return e?{...t,[e]:o}:{...t,...o}},[e,t,o,n])}let g=function(e){let{children:t,theme:o,themeId:r}=e,n=(0,m.A)(h),c=l()||h,g=f(r,n,o),S=f(r,c,o,!0),v="rtl"===(r?g[r]:g).direction;return(0,s.jsx)(i,{theme:S,children:(0,s.jsx)(a.T.Provider,{value:g,children:(0,s.jsx)(d.A,{value:v,children:(0,s.jsx)(u.A,{value:r?g[r].components:g.components,children:t})})})})};var S=o(96344);function v(e){let{theme:t,...o}=e,r=S.A in t?t[S.A]:void 0;return(0,s.jsx)(g,{...o,themeId:r?S.A:void 0,theme:r||t})}var p=o(81036),y=o(99417),k=o(81992);let C="mode",b="color-scheme";function x(){}let M=e=>{let{key:t,storageWindow:o}=e;return o||(o=window),{get(e){let r;if(!o)return e;try{r=o.localStorage.getItem(t)}catch(e){}return r||e},set:e=>{if(o)try{o.localStorage.setItem(t,e)}catch(e){}},subscribe:e=>{if(!o)return x;let r=o=>{let r=o.newValue;o.key===t&&e(r)};return o.addEventListener("storage",r),()=>{o.removeEventListener("storage",r)}}}};function A(){}function w(e){if("function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function j(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}var E=o(62962),I=o(33946);let L={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:K,useColorScheme:T,getInitColorSchemeScript:_}=function(e){let{themeId:t,theme:o={},modeStorageKey:n=C,colorSchemeStorageKey:c=b,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:m}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=r.createContext(void 0),h={},f={},S="string"==typeof a?a:a.light,v="string"==typeof a?a:a.dark;return{CssVarsProvider:function(e){var d,S,v,p;let{children:x,theme:E,modeStorageKey:I=n,colorSchemeStorageKey:L=c,disableTransitionOnChange:K=i,storageManager:T,storageWindow:_=window,documentNode:V="undefined"==typeof document?void 0:document,colorSchemeNode:P="undefined"==typeof document?void 0:document.documentElement,disableNestedContext:W=!1,disableStyleSheetGeneration:D=!1,defaultMode:H="system",forceThemeRerender:O=!1,noSsr:q}=e,N=r.useRef(!1),R=l(),z=r.useContext(u),F=!!z&&!W,B=r.useMemo(()=>E||("function"==typeof o?o():o),[E]),G=B[t],J=G||B,{colorSchemes:Q=h,components:U=f,cssVarPrefix:X}=J,Y=Object.keys(Q).filter(e=>!!Q[e]).join(","),Z=r.useMemo(()=>Y.split(","),[Y]),$="string"==typeof a?a:a.light,ee="string"==typeof a?a:a.dark,et=Q[$]&&Q[ee]?H:(null==(S=Q[J.defaultColorScheme])||null==(d=S.palette)?void 0:d.mode)||(null==(v=J.palette)?void 0:v.mode),{mode:eo,setMode:er,systemMode:en,lightColorScheme:el,darkColorScheme:ec,colorScheme:es,setColorScheme:ei}=function(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:n,supportedColorSchemes:l=[],modeStorageKey:c=C,colorSchemeStorageKey:s=b,storageWindow:i=window,storageManager:a=M,noSsr:m=!1}=e,d=l.join(","),u=l.length>1,h=r.useMemo(()=>null==a?void 0:a({key:c,storageWindow:i}),[a,c,i]),f=r.useMemo(()=>null==a?void 0:a({key:"".concat(s,"-light"),storageWindow:i}),[a,s,i]),g=r.useMemo(()=>null==a?void 0:a({key:"".concat(s,"-dark"),storageWindow:i}),[a,s,i]),[S,v]=r.useState(()=>{let e=(null==h?void 0:h.get(t))||t,r=(null==f?void 0:f.get(o))||o,l=(null==g?void 0:g.get(n))||n;return{mode:e,systemMode:w(e),lightColorScheme:r,darkColorScheme:l}}),[p,y]=r.useState(m||!u);r.useEffect(()=>{y(!0)},[]);let k=j(S,e=>"light"===e?S.lightColorScheme:"dark"===e?S.darkColorScheme:void 0),x=r.useCallback(e=>{v(o=>{if(e===o.mode)return o;let r=null!=e?e:t;return null==h||h.set(r),{...o,mode:r,systemMode:w(r)}
1})},[h,t]),E=r.useCallback(e=>{e?"string"==typeof e?e&&!d.includes(e)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):v(t=>{let o={...t};return j(t,t=>{"light"===t&&(null==f||f.set(e),o.lightColorScheme=e),"dark"===t&&(null==g||g.set(e),o.darkColorScheme=e)}),o}):v(t=>{let r={...t},l=null===e.light?o:e.light,c=null===e.dark?n:e.dark;return l&&(d.includes(l)?(r.lightColorScheme=l,null==f||f.set(l)):console.error("`".concat(l,"` does not exist in `theme.colorSchemes`."))),c&&(d.includes(c)?(r.darkColorScheme=c,null==g||g.set(c)):console.error("`".concat(c,"` does not exist in `theme.colorSchemes`."))),r}):v(e=>(null==f||f.set(o),null==g||g.set(n),{...e,lightColorScheme:o,darkColorScheme:n}))},[d,f,g,o,n]),I=r.useCallback(e=>{"system"===S.mode&&v(t=>{let o=(null==e?void 0:e.matches)?"dark":"light";return t.systemMode===o?t:{...t,systemMode:o}})},[S.mode]),L=r.useRef(I);return L.current=I,r.useEffect(()=>{if("function"!=typeof window.matchMedia||!u)return;let e=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return L.current(...t)},t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[u]),r.useEffect(()=>{if(u){let e=(null==h?void 0:h.subscribe(e=>{(!e||["light","dark","system"].includes(e))&&x(e||t)}))||A,o=(null==f?void 0:f.subscribe(e=>{(!e||d.match(e))&&E({light:e})}))||A,r=(null==g?void 0:g.subscribe(e=>{(!e||d.match(e))&&E({dark:e})}))||A;return()=>{e(),o(),r()}}},[E,x,d,t,i,u,h,f,g]),{...S,mode:p?S.mode:void 0,systemMode:p?S.systemMode:void 0,colorScheme:p?k:void 0,setMode:x,setColorScheme:E}}({supportedColorSchemes:Z,defaultLightColorScheme:$,defaultDarkColorScheme:ee,modeStorageKey:I,colorSchemeStorageKey:L,defaultMode:et,storageManager:T,storageWindow:_,noSsr:q}),ea=eo,em=es;F&&(ea=z.mode,em=z.colorScheme);let ed=em||J.defaultColorScheme;J.vars&&!O&&(ed=J.defaultColorScheme);let eu=r.useMemo(()=>{var e;let t=(null==(e=J.generateThemeVars)?void 0:e.call(J))||J.vars,o={...J,components:U,colorSchemes:Q,cssVarPrefix:X,vars:t};if("function"==typeof o.generateSpacing&&(o.spacing=o.generateSpacing()),ed){let e=Q[ed];e&&"object"==typeof e&&Object.keys(e).forEach(t=>{e[t]&&"object"==typeof e[t]?o[t]={...o[t],...e[t]}:o[t]=e[t]})}return m?m(o):o},[J,ed,U,Q,X]),eh=J.colorSchemeSelector;(0,k.A)(()=>{if(em&&P&&eh&&"media"!==eh){let e=eh;if("class"===eh&&(e=".%s"),"data"===eh&&(e="[data-%s]"),(null==eh?void 0:eh.startsWith("data-"))&&!eh.includes("%s")&&(e="[".concat(eh,'="%s"]')),e.startsWith("."))P.classList.remove(...Z.map(t=>e.substring(1).replace("%s",t))),P.classList.add(e.substring(1).replace("%s",em));else{let t=e.replace("%s",em).match(/\[([^\]]+)\]/);if(t){let[e,o]=t[1].split("=");o||Z.forEach(t=>{P.removeAttribute(e.replace(em,t))}),P.setAttribute(e,o?o.replace(/"|'/g,""):"")}else P.setAttribute(e,em)}}},[em,eh,P,Z]),r.useEffect(()=>{let e;if(K&&N.current&&V){let t=V.createElement("style");t.appendChild(V.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),V.head.appendChild(t),window.getComputedStyle(V.body),e=setTimeout(()=>{V.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[em,K,V]),r.useEffect(()=>(N.current=!0,()=>{N.current=!1}),[]);let ef=r.useMemo(()=>({allColorSchemes:Z,colorScheme:em,darkColorScheme:ec,lightColorScheme:el,mode:ea,setColorScheme:ei,setMode:er,systemMode:en}),[Z,em,ec,el,ea,ei,er,en,eu.colorSchemeSelector]),eg=!0;(D||!1===J.cssVariables||F&&(null==R?void 0:R.cssVarPrefix)===X)&&(eg=!1);let eS=(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)(g,{themeId:G?t:void 0,theme:eu,children:x}),eg&&(0,s.jsx)(y.A,{styles:(null==(p=eu.generateStyleSheets)?void 0:p.call(eu))||[]})]});return F?eS:(0,s.jsx)(u.Provider,{value:ef,children:eS})},useColorScheme:()=>r.useContext(u)||d,getInitColorSchemeScript:e=>(function(e){let{defaultMode:t="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=C,colorSchemeStorageKey:l=b,attribute:c="data-color-scheme",colorSchemeNode:i="document.documentElement",n
1once:a}=e||{},m="",d=c;if("class"===c&&(d=".%s"),"data"===c&&(d="[data-%s]"),d.startsWith(".")){let e=d.substring(1);m+="".concat(i,".classList.remove('").concat(e,"'.replace('%s', light), '").concat(e,"'.replace('%s', dark));\n      ").concat(i,".classList.add('").concat(e,"'.replace('%s', colorScheme));")}let u=d.match(/\[([^\]]+)\]/);if(u){let[e,t]=u[1].split("=");t||(m+="".concat(i,".removeAttribute('").concat(e,"'.replace('%s', light));\n      ").concat(i,".removeAttribute('").concat(e,"'.replace('%s', dark));")),m+="\n      ".concat(i,".setAttribute('").concat(e,"'.replace('%s', colorScheme), ").concat(t?"".concat(t,".replace('%s', colorScheme)"):'""',");")}else m+="".concat(i,".setAttribute('").concat(d,"', colorScheme);");return(0,s.jsx)("script",{suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(function() {\ntry {\n  let colorScheme = '';\n  const mode = localStorage.getItem('".concat(n,"') || '").concat(t,"';\n  const dark = localStorage.getItem('").concat(l,"-dark') || '").concat(r,"';\n  const light = localStorage.getItem('").concat(l,"-light') || '").concat(o,"';\n  if (mode === 'system') {\n    // handle system mode\n    const mql = window.matchMedia('(prefers-color-scheme: dark)');\n    if (mql.matches) {\n      colorScheme = dark\n    } else {\n      colorScheme = light\n    }\n  }\n  if (mode === 'light') {\n    colorScheme = light;\n  }\n  if (mode === 'dark') {\n    colorScheme = dark;\n  }\n  if (colorScheme) {\n    ").concat(m,"\n  }\n} catch(e){}})();")}},"mui-color-scheme-init")})({colorSchemeStorageKey:c,defaultLightColorScheme:S,defaultDarkColorScheme:v,modeStorageKey:n,...e})}}({themeId:S.A,theme:()=>(0,E.A)({cssVariables:!0}),colorSchemeStorageKey:L.colorSchemeStorageKey,modeStorageKey:L.modeStorageKey,defaultColorScheme:{light:L.defaultLightColorScheme,dark:L.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:(0,I.A)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,p.A)({sx:e,theme:this})},t}});function V(e){let{theme:t,...o}=e;if("function"==typeof t)return(0,s.jsx)(v,{theme:t,...o});let r=S.A in t?t[S.A]:t;return"colorSchemes"in r?(0,s.jsx)(K,{theme:t,...o}):"vars"in r?(0,s.jsx)(v,{theme:t,...o}):(0,s.jsx)(v,{theme:{...t,vars:null},...o})}}}]);

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.