"use strict";const e=require("./vendor.js"),t=require("./config.js"),a={pages:[{path:"pages/workbench/workbench",style:{navigationStyle:"custom"},componentPlaceholder:{QualityCoveragePopup:"pages-subpackage/ai_features/quality_coverage/quality-coverage-popup"}},{path:"pages/furniture_reception/furniture_reception",style:{navigationStyle:"custom"}},{path:"pages/ucenter/ucenter",style:{navigationStyle:"custom"}},{path:"pages/team/team",style:{navigationStyle:"custom"}},{path:"pages/furniture_reception/common_begin_reception",style:{navigationStyle:"custom"}},{path:"pages/ai_analysis/ai_analysis",style:{navigationStyle:"custom"},componentPlaceholder:{QualityCoveragePopup:"pages-subpackage/ai_features/quality_coverage/quality-coverage-popup"}},{path:"pages/ai_qa/ai_qa",style:{navigationStyle:"custom"}},{path:"pages/xixi/xixi",style:{navigationStyle:"custom"},componentPlaceholder:{XixiWhoAmI:"pages-subpackage/xixi/components/xixi-who-am-i",XixiFirstMeeting:"pages-subpackage/xixi/components/xixi-first-meeting",XixiRecord:"pages-subpackage/xixi/components/xixi-record",XixiDiagnosis:"pages-subpackage/xixi/components/xixi-diagnosis",XixiDatingAdvice:"pages-subpackage/xixi/components/xixi-dating-advice"}}],subPackages:[{root:"uni_modules/uni-feedback",pages:[{path:"pages/opendb-feedback/opendb-feedback",style:{navigationBarTitleText:"意见反馈",enablePullDownRefresh:!1}}]},{root:"uni_modules/uni-id-pages",pages:[{path:"pages/userinfo/userinfo",style:{navigationBarTitleText:"个人资料"}},{path:"pages/userinfo/realname-verify/realname-verify",style:{enablePullDownRefresh:!1,navigationBarTitleText:"实名认证"}},{path:"pages/login/login-withoutpwd"},{path:"pages/login/login-withpwd"},{path:"pages/userinfo/deactivate/deactivate",style:{navigationBarTitleText:"注销账号"}},{path:"pages/userinfo/bind-mobile/bind-mobile",style:{navigationBarTitleText:"绑定手机号码"}},{path:"pages/login/login-smscode",style:{navigationBarTitleText:"手机验证码登录"}},{path:"pages/register/register",style:{navigationBarTitleText:"注册"}},{path:"pages/retrieve/retrieve",style:{navigationBarTitleText:"重置密码"}},{path:"pages/common/webview/webview",style:{enablePullDownRefresh:!1,navigationBarTitleText:""}},{path:"pages/userinfo/change_pwd/change_pwd",style:{enablePullDownRefresh:!1,navigationBarTitleText:"修改密码"}},{path:"pages/register/register-by-email",style:{navigationBarTitleText:"邮箱验证码注册"}},{path:"pages/retrieve/retrieve-by-email",style:{navigationBarTitleText:"通过邮箱重置密码"}},{path:"pages/userinfo/set-pwd/set-pwd",style:{enablePullDownRefresh:!1,navigationBarTitleText:"设置密码"}}]},{root:"pages-subpackage",pages:[{path:"champion/champion",style:{navigationStyle:"custom"}},{path:"list/list",style:{enablePullDownRefresh:!0,navigationStyle:"custom"}},{path:"grid/grid",style:{}},{path:"list/search/search",style:{navigationBarTitleText:"搜索"}},{path:"list/detail",style:{"app-plus":{titleNView:{buttons:[{type:"share"}],type:"transparent"}},h5:{titleNView:{type:"transparent"}},navigationBarTitleText:"文章详情"}},{path:"workspace/workspace",style:{navigationStyle:"custom"}},{path:"workspace/scene-detail",style:{navigationStyle:"custom"}},{path:"furniture_customer/furniture_customer",style:{navigationStyle:"custom"}},{path:"furniture_reception/furniture_reception_entry",style:{navigationStyle:"custom"}},{path:"furniture_reception/reception_in_progress",style:{navigationStyle:"custom"}},{path:"furniture_reception/script_management_my",style:{navigationStyle:"custom"}},{path:"furniture_reception/sop_management_my",style:{navigationStyle:"custom"}},{path:"bluetooth-recorder/bluetooth-recorder",style:{navigationBarTitleText:"蓝牙录音设备",navigationStyle:"custom"}},{path:"uni-agree/uni-agree",style:{navigationStyle:"custom","app-plus":{popGesture:"none"}}},{path:"ucenter/settings/settings",style:{navigationBarTitleText:"设置"}},{path:"ucenter/read-news-log/read-news-log",style:{navigationBarTitleText:"阅读记录",enablePullDownRefresh:!0}},{path:"ai_features/speech_rating/speech_rating",style:{navigationStyle:"custom"}},{path:"ai_features/intent_level/intent_level",style:{navigationStyle:"custom"}},{path:"ai_features/deal_attribution/deal_attribution",style:{navigationStyle:"custom"}},{path:"ai_features/recording_duration/recording_duration",style:{navigationStyle:"custom"}},{path:"ai_features/customer_count/customer_count",style:{navigationStyle:"custom"}},{path:"ai_features/opening_rate/opening_rate",style:{navigationStyle:"custom"}},{path:"ai_features/over_commitment/over_commitment",style:{navigationStyle:"custom"}},{path:"ai_features/red_line_touch/red_line_touch",style:{navigationStyle:"custom"}},{path:"ai_qa/general_qa/general_qa",style:{navigationStyle:"custom"}},{path:"ai_qa/demand_qa/demand_qa",style:{navigationStyle:"custom"}},{path:"ai_qa/price_qa/price_qa",style:{navigationStyle:"custom"}},{path:"ai_qa/trust_qa/trust_qa",style:{navigationStyle:"custom"}},{path:"ai_qa/decision_qa/decision_qa",style:{navigationStyle:"custom"}},{path:"ai_qa/competitor_qa/competitor_qa",style:{navigationStyle:"custom"}},{path:"ai_qa/objection_qa/objection_qa",style:{navigationStyle:"custom"}},{path:"ai_qa/sharp_qa/sharp_qa",style:{navigationStyle:"custom"}},{path:"ai_qa/after_sales_qa/after_sales_qa",style:{navigationStyle:"custom"}}]}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"移多旺科技",navigationBarBackgroundColor:"#FFFFFF",backgroundColor:"#F8F8F8",enablePullDownRefresh:!1,rpxCalcMaxDeviceWidth:375,rpxCalcBaseDeviceWidth:375},condition:{list:[{path:"pages-subpackage/list/detail"},{path:"pages-subpackage/ucenter/settings/settings"}],current:0},tabBar:{custom:!1,color:"#7A7E83",selectedColor:"#007AFF",borderStyle:"black",backgroundColor:"#FFFFFF",list:[{pagePath:"pages/workbench/workbench",iconPath:"static/tabbar/team.png",selectedIconPath:"static/tabbar/team_active.png",text:"工作台"},{pagePath:"pages/ucenter/ucenter",iconPath:"static/tabbar/me.png",selectedIconPath:"static/tabbar/me_active.png",text:"我的"}]},uniIdRouter:{loginPage:"uni_modules/uni-id-pages/pages/login/login-withpwd",needLogin:["/uni_modules/uni-id-pages/pages/userinfo/userinfo"],resToLogin:!0},easycom:{autoscan:!0,custom:{"^cloud-image$":"@/uni_modules/uni-id-pages/components/cloud-image/cloud-image.vue"}}};const i=function(){try{if(void 0!==e.index&&e.index&&"function"==typeof e.index.getStorageSync){return e.index.getStorageSync("uni-id-pages-userInfo")||{}}}catch(t){}return{}}()||{},n={async updateUserInfo(t=!1){t&&(this.setUserInfo(t),void 0!==e.index&&e.index.showToast&&e.index.showToast({title:"更新成功",icon:"none",duration:3e3}))},syncUserInfoFromStorage(){try{if(void 0!==e.index&&e.index&&"function"==typeof e.index.getStorageSync){const t=e.index.getStorageSync("uni-id-pages-userInfo")||{};if(Object.keys(t).length>0)return this.setUserInfo(t,{cover:!0}),!0}}catch(t){}return!1},setUserInfo(t,{cover:a}={cover:!1}){const i=t&&"object"==typeof t?t:{};let n=a?i:Object.assign({},o.userInfo||{},i);if(o.userInfo=Object.assign({},n),o.hasLogin=0!=Object.keys(o.userInfo).length,void 0!==e.index&&e.index&&"function"==typeof e.index.setStorageSync)try{e.index.setStorageSync("uni-id-pages-userInfo",o.userInfo)}catch(s){}return i},async logout(){if(void 0===e.index)return void console.warn("uni API not available for logout");const i=e.index.getStorageSync("backend-user-id");if(i)try{await e.index.request({url:t.getApiUrl("/api/sys/auth/logout"),method:"POST",header:{"Content-Type":"application/x-www-form-urlencoded"},data:{userId:i}})}catch(n){console.error("后端登出接口调用失败:",n)}e.index.removeStorageSync("backend-token"),e.index.removeStorageSync("backend-login-response"),e.index.removeStorageSync("backend-user-id"),e.index.removeStorageSync("backend-tenant-id"),e.index.removeStorageSync("uni_id_token"),e.index.setStorageSync("uni_id_token_expired",0),this.setUserInfo({},{cover:!0}),e.index.$emit("uni-id-pages-logout"),e.index.redirectTo({url:`/${a.uniIdRouter&&a.uniIdRouter.loginPage?a.uniIdRouter.loginPage:"uni_modules/uni-id-pages/pages/login/login-withoutpwd"}`})},loginBack(t={}){if(void 0===e.index)return void console.warn("uni API not available for loginBack");const{uniIdRedirectUrl:i=""}=t;let n=0,o=getCurrentPages();if(o.forEach(((e,t)=>{"login"==o[o.length-t-1].route.split("/")[3]&&n++})),i)return e.index.redirectTo({url:i,fail:t=>{e.index.switchTab({url:i,fail:e=>{console.log(t,e)}})}});if(n){const t=a.pages[0];return e.index.reLaunch({url:`/${t.path}`})}e.index.navigateBack({delta:n})},loginSuccess(t={}){const{showToast:a=!0,toastText:i="登录成功",autoBack:n=!0,uniIdRedirectUrl:o="",passwordConfirmed:s}=t;void 0!==e.index?(a&&e.index.showToast({title:i,icon:"none",duration:3e3}),this.updateUserInfo(),e.index.$emit("uni-id-pages-login-success"),n&&this.loginBack({uniIdRedirectUrl:o})):console.warn("uni API not available for loginSuccess")}},o={userInfo:i,hasLogin:0!=Object.keys(i).length};exports.mutations=n,exports.pagesJson=a,exports.store=o;