"use strict";(globalThis.webpackChunkinfinity_hitab_client=globalThis.webpackChunkinfinity_hitab_client||[]).push([[583],{24182:(e,t,o)=>{o.d(t,{o:()=>n});const n=(0,o(10435).Q_)("wallpaper-settings-main",{state:()=>({curTab:0,showMoreSetting:!1,moreSettingMenu:"auto-replace"}),actions:{setCurTab(e){this.curTab=e},setMoreSettingShow(e){this.showMoreSetting=e},setMenu(e){this.moreSettingMenu=e}}})},583:(e,t,o)=>{o.r(t),o.d(t,{default:()=>b});var n=o(57268),i=o(94209),c=o(29445),s=o(10435),l=o(91294),a=o(3627),r=o(24182);const u={class:"flex flex-col leading-none"},p={class:"flex h-[120px] w-[40px] flex-col items-center justify-between rounded-l-[12px] bg-color-white py-[4px]"},x=[(e=>((0,n.dD)("data-v-69f16136"),e=e(),(0,n.Cn)(),e))((()=>(0,n._)("i",{class:"iconfont icon-bendishangchuan text-[28px] text-color-black"},null,-1)))],h=(0,n.aZ)({__name:"wallpaper-action-btns",setup(e){const t=(0,a.MX)(),o=(0,a.MX)(),h=(0,l.V)(),b=(0,r.o)(),{autoReplacement:d}=(0,s.Jk)(t),{curTab:g}=(0,s.Jk)(b),f=()=>{2!==g.value&&(o.showCtr=!0,h.settingsShow=!1)};function w(){b.setMenu("auto-replace"),b.setMoreSettingShow(!0)}function k(){b.setMenu("upload"),b.setMoreSettingShow(!0)}return(e,t)=>((0,n.wg)(),(0,n.iD)("div",u,[(0,n._)("div",p,[(0,n._)("div",{class:(0,i.normalizeClass)(["flex h-[32px] w-[32px] cursor-pointer items-center justify-center rounded-[8px] transition-colors",[2===(0,c.SU)(g)?"":"hover:bg-color-black hover:bg-opacity-5"]]),onClick:f},[(0,n._)("i",{class:(0,i.normalizeClass)(["iconfont icon-tiaojie text-[28px] text-color-black",[2===(0,c.SU)(g)?"text-color-black text-opacity-40":""]])},null,2)],2),(0,n._)("div",{class:"flex h-[32px] w-[32px] cursor-pointer items-center justify-center rounded-[8px] transition-colors hover:bg-color-black hover:bg-opacity-5",onClick:w},[(0,n._)("i",{class:(0,i.normalizeClass)(["iconfont icon-sheding text-[28px]",[(0,c.SU)(d).enable?"text-color-green":"text-color-black"]])},null,2)]),(0,n._)("div",{class:"flex h-[32px] w-[32px] cursor-pointer items-center justify-center rounded-[8px] transition-colors hover:bg-color-black hover:bg-opacity-5",onClick:k},x)])]))}});const b=(0,o(76911).Z)(h,[["__scopeId","data-v-69f16136"]])}}]);