PageSourceSearch

https://raisunewtab.lovable.app/assets/SettingsPanel-ZG7cGb1m.js

js raisunewtab.lovable.app collected 2026-10-03 03:42:15 UTC 3,918 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/GeneralTab-CTScE_Iu.js","assets/index-qz0oIhF5.js","assets/useLocale-Dz2E1hI0.js","assets/index-CKvj1yQf.js","assets/AdSlot-D7DaLGaI.js","assets/createLucideIcon-DIudTRti.js","assets/createServerFn-CBDQYmU1.js","assets/check-Bzv_-sv1.js","assets/AppsTab-C6qt60ee.js","assets/purify.es-2FREwzWT.js","assets/lock-BMX3PCv3.js","assets/download-BuLjvW5c.js","assets/AboutAndUpdateTabs-Cv9sg4kl.js","assets/updates.functions-Lt4DJSO3.js","assets/instagram-B_2FEXQM.js","assets/external-link-BzHRSyqu.js","assets/TypographyTab-DmRrtIlR.js","assets/rotate-ccw-CP_GqHdD.js","assets/BackgroundTab-DCA8kTvc.js"])))=>i.map(i=>d[i]);
2import{r as a,j as s,_ as l}from"./index-qz0oIhF5.js";import{u as c}from"./useLocale-Dz2E1hI0.js";import{X as u}from"./index-CKvj1yQf.js";import"./AdSlot-D7DaLGaI.js";import"./createLucideIcon-DIudTRti.js";import"./createServerFn-CBDQYmU1.js";const g=a.lazy(()=>l(()=>import("./GeneralTab-CTScE_Iu.js"),__vite__mapDeps([0,1,2,3,4,5,6,7])).then(e=>({default:e.GeneralTab}))),b=a.lazy(()=>l(()=>import("./AppsTab-C6qt60ee.js"),__vite__mapDeps([8,1,3,2,4,5,6,9,7,10,11])).then(e=>({default:e.AppsTab}))),m=a.lazy(()=>l(()=>import("./AboutAndUpdateTabs-Cv9sg4kl.js"),__vite__mapDeps([12,1,13,6,2,14,5,15,3,4])).then(e=>({default:e.AboutTab}))),p=a.lazy(()=>l(()=>import("./AboutAndUpdateTabs-Cv9sg4kl.js"),__vite__mapDeps([12,1,13,6,2,14,5,15,3,4])).then(e=>({default:e.UpdateTab}))),h=a.lazy(()=>l(()=>import("./TypographyTab-DmRrtIlR.js"),__vite__mapDeps([16,1,2,17,5])).then(e=>({default:e.TypographyTab}))),x=a.lazy(()=>l(()=>import("./BackgroundTab-DCA8kTvc.js"),__vite__mapDeps([18,1,2,7,5])).then(e=>({default:e.BackgroundTab})));function B(e){const[o,r]=a.useState("general"),{t}=c(),i={general:t("settings.tab.general"),background:t("settings.tab.background"),typography:t("settings.tab.typography"),apps:t("settings.tab.apps"),update:t("settings.tab.update"),about:t("settings.tab.about")},d=s.jsx("div",{className:"glass-soft p-3 text-xs text-muted-foreground",children:t("settings.tabLoading")});return s.jsxs("div",{"data-type-zone":"settings",className:"fixed inset-0 z-40 flex items-stretch justify-end",onClick:e.onClose,children:[s.jsx("div",{className:"absolute inset-0 bg-black/30"}),s.jsxs("div",{className:"glass-strong relative w-full max-w-md h-full overflow-y-auto p-5 flex flex-col gap-4",onClick:n=>n.stopPropagation(),style:{borderRadius:0,overscrollBehavior:"contain"},children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("div",{className:"text-lg font-semibold",children:t("settings.title")}),s.jsx("button",{onClick:e.onClose,className:"tap rounded-full p-1.5 hover:bg-foreground
2/10","aria-label":t("settings.close"),children:s.jsx(u,{className:"h-4 w-4"})})]}),s.jsx("div",{className:"glass-soft flex p-1 gap-1 text-xs flex-wrap",children:["general","background","typography","apps","update","about"].map(n=>s.jsx("button",{onClick:()=>a.startTransition(()=>r(n)),className:`flex-1 py-1.5 rounded-md tap ${o===n?"bg-foreground/10 font-semibold":""}`,children:i[n]},n))}),s.jsxs(a.Suspense,{fallback:d,children:[o==="general"&&s.jsx(g,{themeMode:e.themeMode,setThemeMode:e.setThemeMode,faviconMode:e.faviconMode,setFaviconMode:e.setFaviconMode,customFaviconBase:e.customFaviconBase,setCustomFaviconBase:e.setCustomFaviconBase,searchKeyMode:e.searchKeyMode,setSearchKeyMode:e.setSearchKeyMode}),o==="background"&&s.jsx(x,{brightness:e.brightness,setBrightness:e.setBrightness,blur:e.blur,setBlur:e.setBlur,posX:e.posX,setPosX:e.setPosX,posY:e.posY,setPosY:e.setPosY,zoom:e.zoom,setZoom:e.setZoom,hasBgImage:e.hasBgImage,uploadBg:e.uploadBg,clearBg:e.clearBg}),o==="typography"&&s.jsx(h,{}),o==="apps"&&s.jsx(b,{installed:e.installed,setInstalled:e.setInstalled,hasBackup:e.hasBackup}),o==="update"&&s.jsx(p,{}),o==="about"&&s.jsx(m,{})]})]})]})}export{B as SettingsPanel};

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.