PageSourceSearch

https://gazouya.com/_nuxt/B9fALErY.js

js gazouya.com collected 2026-10-04 03:15:51 UTC 3,791 bytes, 1 lines download raw bytes

1import{a1 as n,U as s,aa as i,e as u,i as m}from"./Cta6Ja8P.js";const o=1e5,S=100001,l=4e5,c=400004,h=400006,f=400007,g=400008,p=new Set([l,c,h,f,g]);function b(e){return p.has(e)||e>=4e5}const r=(e,t=null)=>{try{const a=localStorage.getItem(e);return a?JSON.parse(a):t}catch{return t}},I=n("auth",{state:()=>({userInfo:null,userStatus:null,hydrated:!1}),getters:{isLoggedIn:e=>!!e.userStatus},actions:{hydrateFromLocalStorage(){this.hydrated||(this.userInfo=r("user_info",null),this.userStatus=r("user_status",null),this.hydrated=!0)},async refreshUserInfo(){if(this.hydrated||this.hydrateFromLocalStorage(),!this.userStatus)return null;try{const e=s(),t=await $fetch("/api/users/v1/get-userinfo",{baseURL:e.public.apiBase,method:"POST",headers:{Authorization:`${this.userStatus}`}});if(t?.code===o&&t?.result)return this.setUserInfo(t.result),t.result}catch(e){console.error("refresh user info failed:",e)}return null},setUserInfo(e){this.userInfo=e||null,localStorage.setItem("user_info",JSON.stringify(this.userInfo))},setUserStatus(e){this.userStatus=e||null,localStorage.setItem("user_status",JSON.stringify(this.userStatus))},clearAuth(){this.userInfo=null,this.userStatus=null,this.hydrated=!0,localStorage.removeItem("user_info"),localStorage.removeItem("user_status")},async deleteAccount(){if(!this.userStatus)return null;try{const e=s();if((await $fetch("/api/users/v1/delete-account",{baseURL:e.public.apiBase,method:"POST",headers:{Authorization:`${this.userStatus}`}}))?.code===o)return this.clearAuth(),!0}catch(e){console.error("delete account failed:",e)}return!1}}}),N=i("/logo.png"),w=()=>{const{t:e}=u();return{menuList:m(()=>[{menuTitle:e("common.nav.aiToolsMenu.imageGeneration"),menuItems:[{name:e("
1common.tabs.textToImage"),routepath:"/",isHot:!0,isNew:!1},{name:e("common.tabs.aiIllustrationGenerator"),routepath:"/ai-illustration-generator",isHot:!1,isNew:!1},{name:e("common.tabs.aiAnimeGenerator"),routepath:"/ai-anime-generator",isHot:!1,isNew:!1},{name:e("common.tabs.aiMangaGenerator"),routepath:"/ai-manga-generator",isHot:!1,isNew:!1},{name:e("common.tabs.aiStickerGenerator"),routepath:"/ai-sticker-generator",isHot:!1,isNew:!1},{name:e("common.tabs.aiDesignGenerator"),routepath:"/ai-design-generator",isHot:!1,isNew:!1},{name:e("common.tabs.aiFaceGenerator"),routepath:"/ai-face-generator",isHot:!1,isNew:!1},{name:e("common.tabs.aiHeadshotGenerator"),routepath:"/ai-headshot-generator",isHot:!1,isNew:!0},{name:e("common.tabs.characterGenerator"),routepath:"/character-generator",isHot:!1,isNew:!1},{name:e("common.tabs.tachieMaker"),routepath:"/tachie-maker",isHot:!1,isNew:!1},{name:e("common.tabs.aiIconGenerator"),routepath:"/ai-icon-generator",isHot:!1,isNew:!0},{name:e("common.tabs.aiEmojiGenerator"),routepath:"/ai-emoji-generator",isHot:!1,isNew:!0}]},{menuTitle:e("common.nav.aiToolsMenu.imageEditEnhance"),menuItems:[{name:e("
1common.tabs.aiPhotoEditor"),routepath:"/ai-photo-editor",isHot:!0,isNew:!1},{name:e("common.tabs.upscaler"),routepath:"/ai-image-upscaler",isHot:!1,isNew:!1},{name:e("common.tabs.backgroundRemover"),routepath:"/background-remover",isHot:!1,isNew:!1},{name:e("common.tabs.photoRestore"),routepath:"/photo-restore",isHot:!1,isNew:!1},{name:e("common.tabs.aiBackgroundChanger"),routepath:"/ai-background-changer",isHot:!1,isNew:!0},{name:e("common.tabs.colorChanger"),routepath:"/color-changer",isHot:!1,isNew:!0}]},{menuTitle:e("common.nav.aiToolsMenu.imageConversion"),menuItems:[{name:e("common.tabs.imageToImage"),routepath:"/ai-image-to-image",isHot:!0,isNew:!1},{name:e("common.tabs.photoToAnime"),routepath:"/photo-to-anime",isHot:!1,isNew:!1},{name:e("common.tabs.photoToIllustration"),routepath:"/photo-to-illustration",isHot:!1,isNew:!0}]}])}};export{o as C,N as _,h as a,w as b,S as c,l as d,b as i,I as u};

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.