
管理员
站长
- UID
- 1
- 积分
- 224394
- 余额
- 13 R
- Moe币
- 84875
- 在线时间
- 279 小时
- 注册时间
- 2025-12-28
- 最后登录
- 2026-11-3
|
|
(function(e){function t(t){for(var s,o,r=t[0],c=t[1],l=t[2],u=0,d=[];u<r.length;u++)o=r[u],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(s in c)Object.prototype.hasOwnProperty.call(c,s)&&(e[s]=c[s]);p&&p(t);while(d.length)d.shift()();return n.push.apply(n,l||[]),i()}function i(){for(var e,t=0;t<n.length;t++){for(var i=n[t],s=!0,o=1;o<i.length;o++){var c=i[o];0!==a[c]&&(s=!1)}s&&(n.splice(t--,1),e=r(r.s=i[0]))}return e}var s={},a={app:0},n=[];function o(e){return r.p+"wps-i18n/"+({"ar-sa/index":"ar-sa/index","en-us/index":"en-us/index","es-mx/index":"es-mx/index","it-it/index":"it-it/index","ja-jp/index":"ja-jp/index","ko-kr/index":"ko-kr/index","ms-my/index":"ms-my/index","vi-vn/index":"vi-vn/index","zh-hk/index":"zh-hk/index"}[e]||e)+".js"}function r(t){if(s[t])return s[t].exports;var i=s[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.sriHashes={"ar-sa/index":"sha256-ic8CAK9+rgRe3PgVpQZkE1WY1jZrbhTwWRP+vc4Yx7w= sha384-T42Ju6xz8uSYNp3WnwVKCN+oc0nYpbeTUzh8ASlgBDUHRxVC2TiY3C7HdbwSXxaJ","en-us/index":"sha256-3WFjFpdEjdIHjZgqGfw7UDAdgthRWh72AKyPFe/+Ce8= sha384-uQ6oKk74h6lJp6T6ml8CVL+nv1SCAMBd9Ja3K/jLCz0sWB920AgB7P+1RVE8dIEf","es-mx/index":"sha256-3rk68B7n3KxsNM/z826S2jcmMeOB3fBGIvSz8g7I8Ec= sha384-j89zzelIEmkcPiyvVEsDz//KjbmFVw6+N08hBJgHV/B55vVnkJ9jnV1xzFJtRqao","it-it/index":"sha256-t/iecHb7x0qgg+u1/OOJkHqWNVqsg5HBDz1CxswaTCU= sha384-zJLQl9HOVIM9iAkNIRcNs2zPMhiy6sKrfYj630x04JVmD5RCB3obywEhROretHDF","ja-jp/index":"sha256-EMMgLw/HUuYYw55Yo0PV+H0EzLA4CBKdMHAU2chsCnk= sha384-8cPFmN4/KuinsakqLjDqVFUjDRI2XLwLkBNOmsczOPm7untIWacitpwhIBhGYH72","ko-kr/index":"sha256-8o1OE1cMzrhprogikYur1cxAMW5gALFWPH5Mx9uLkQA= sha384-G1xvX+2FNhysE1Wnk0r5APtdiBiyjve4rIK1piYdBU1YIi2+gBwjyiW4acTyJqsk","ms-my/index":"sha256-2SqGCHSsMElgGGMynLVR6fP8edTEC9qiX4Jqo+bLmLw= sha384-WX/Eh92wHZnpFK9W+kA4TLQKDPhp7pyt26wHwnKZa4S54UE1f932H5KC8b08Daes","vi-vn/index":"sha256-CSrE6WjLNTBnb3K2ZlGwjo1Pv8GpQY6PwoD940qSVWg= sha384-fizGIGuJn4j9OBaD0Q9T54jSubB0VWoammtDdICA4RieDuiFUO7xcqzMyLSBnXWP","zh-hk/index":"sha256-nET++N7ZTU1QILv7+kpJ2NhwHjNdhQvwaKuGTPP+oho= sha384-Czzbucq+nJ4ySWDwdEXLTYuO/QXaCkhlUXEbYe89IneBlFumHWjZyW43g3zAL6Be"},r.e=function(e){var t=[],i=a[e];if(0!==i)if(i)t.push(i[2]);else{var s=new Promise((function(t,s){i=a[e]=[t,s]}));t.push(i[2]=s);var n,c=document.createElement("script");c.charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.src=o(e),0!==c.src.indexOf(window.location.origin+"/")&&(c.crossOrigin="anonymous");var l=new Error;n=function(t){c.onerror=c.onload=null,clearTimeout(u);var i=a[e];if(0!==i){if(i){var s=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+s+": "+n+")",l.name="ChunkLoadError",l.type=s,l.request=n,i[1](l)}a[e]=void 0}};var u=setTimeout((function(){n({type:"timeout",target:c})}),12e4);c.onerror=c.onload=n,c.integrity=r.sriHashes[e],c.crossOrigin="anonymous",document.head.appendChild(c)}return Promise.all(t)},r.m=e,r.c=s,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)r.d(i,s,function(t){return e[t]}.bind(null,s));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var u=0;u<c.length;u++)t(c[u]);var p=l;n.push([0,"chunk-vendors"]),i()})({0:function(e,t,i){e.exports=i("56d7")},"075f":function(e){e.exports=JSON.parse('{"2a6511d118":"确定停用云备份","5ae68f8ecf":"继续备份","8222a5cfb4":"停用备份","949eed514a":" 停用","c432946804":"文件的云备份后,文件因过期或清理而丢失时将无法找回。\\n "}')},"0914":function(e){e.exports=JSON.parse('{"35e3fbe53e":"最近接收的文件","66749c553f":" 您可在手机上随时查看已备份的文件\\n ","b17aaa4df6":"开启云备份后,可在其他设备随时查看,避免文件过期被清理","783fa05f15":"备份设置","3edcb26d4f":"查看备份文件","55d41ca067":"开启云备份","14fdb86a6c":"查看详情","843f525b81":"清理云空间","40eb5c24fe":"升级云空间","803430a82a":"{0}云空间剩余低于5%,升级畅享超大云空间","803430a82b":"{0}云空间剩余低于5%,升级{1}扩容{2}","0a8083d5fa":"{0}云空间已满","0a8083d5fb":"超级会员","0a8083d5fc":"WPS会员","0a8083d5fd":"{0}云空间已满,请前往我的云文档清理云空间","0a8083d5fe":"{0}云空间已满,升级{1},继续享受安全云备份","0a8083d5fg":"立刻升级","0a8083d5fh":"云空间不足,当前剩余{0},请清理空间后重试","0a8083d5fi":"{0}云空间已满,升级{1}扩容{2}"}')},"10e9":function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTYwIDEyMCI+PGRlZnM+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uYXtmaWxsOm5vbmU7fS5iLC5je2ZpbGw6IzRjNjQ5YTt9LmJ7b3BhY2l0eTowLjE7fS5iLC5jLC5te2lzb2xhdGlvbjppc29sYXRlO30uY3tvcGFjaXR5OjAuMTQ4O30uZCwuZSwuZiwuZywuaCwuaXtmaWxsLW9wYWNpdHk6MC41O30uZCwuZSwuZiwuZywuaSwuaiwubSwubiwubywucCwucSwuciwucywudCwudXtmaWxsLXJ1bGU6ZXZlbm9kZDt9LmR7ZmlsbDp1cmwoI2EpO30uZXtmaWxsOnVybCgjYik7fS5me2ZpbGw6dXJsKCNjKTt9Lmd7ZmlsbDp1cmwoI2QpO30uaHtmaWxsOnVybCgjZSk7fS5pe2ZpbGw6dXJsKCNmKTt9Lmp7ZmlsbDojZjBmM2Y5O30ua3tmaWxsOnVybCgjZyk7fS5se2ZpbGw6dXJsKCNoKTt9Lm17ZmlsbDojZDNkYWU4O29wYWNpdHk6MC4zOTc7fS5ue2ZpbGw6I2ZmZjt9Lm97ZmlsbDojZmNmZGZmO30ucHtmaWxsOnVybCgjaSk7fS5xe2ZpbGw6dXJsKCNqKTt9LnJ7ZmlsbDojMWMxZDFmO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ny0uOHMuMzQzLS42MTcuNTEyLS40NzlDMTE1LjMzNSw1OS42MDUsMTE1LjAzNyw1OC4wNjIsMTE2LjIzMSw1OC4xMDhaIi8+PC9zdmc+"},"130a":function(e,t,i){"use strict";i("664c")},1415:function(e,t,i){},"141d":function(e,t,i){"use strict";i("de0a")},"156d":function(e){e.exports=JSON.parse('{"a08fdf292d":" - 文档雷达","a7f498f4d0":"WPS云盘"}')},1605:function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTAuNTQ1NSAxMy40NTQ2TDExLjM5MzkgMTMuNDU0NkMxMy4zODU1IDEzLjQ1NDYgMTUgMTEuODQwMSAxNSA5Ljg0ODVDMTUgOC4wNzEwMyAxMy43MTQgNi41OTM5MiAxMi4wMjE2IDYuMjk2ODhDMTIuMDI3NCA2LjIwODc3IDEyLjAzMDMgNi4xMTk4OCAxMi4wMzAzIDYuMDMwMzJDMTIuMDMwMyAzLjgwNDQ0IDEwLjIyNTkgMi4wMDAwMiA4IDIuMDAwMDJDNS45NDQ3IDIuMDAwMDIgNC4yNDg3MyAzLjUzODQ4IDQuMDAwODYgNS41MjY2NEMyLjI3MzY3IDUuOTgxNiAxIDcuNTU0MiAxIDkuNDI0MjhDMSAxMS42NTAxIDIuODA0NDMgMTMuNDU0NiA1LjAzMDMgMTMuNDU0Nkg1LjQ1NDU1IiBzdHJva2U9IiM0MTdGRjkiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KICA8cGF0aCBkPSJNMTAuMDAyOSA4LjAwMDAyTDcuNSAxMC41MDI4TDYgOS4wMDI3OCIgc3Ryb2tlPSIjNDE3RkY5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+"},"1be5":function(e){e.exports=JSON.parse('{"8e8a7980ad":"自动备份接收的文件","fef747906a":" 以下所选择的文件将备份到您的WPS云空间,您可以在其他设备上访问这些文件。\\n ","2c1aff69f5":"备份文件位置:","6269ab0547":"文件","6269ab0549":"我知道了","b1633263bc":"以上有","b1633263bc1":"以上有{failedCount}个文件大小超出可备份限制","b687adfa85":"个文件大小超出可备份限制,如需继续备份,","b8c4f8111d":"请升级会员","da9f624f7a":"确定","7c34992322":"{0}个文件已安全备份,有{1}个{2}以上的文件未备份","e70a92f502":"{0}个文件已安全备份","5134d660b6":"{0}个文件,共{1}","d734371a6f":"升级云空间","58c1cb7b64":"云空间不足,同步需要{0},当前剩余{1}","5b9e0e6194":"当前云空间充足,剩余:{0}"}')},"1cdd":function(e,t,i){},"23dd":function(e,t,i){"use strict";i("29d9")},"283c":function(e){e.exports=JSON.parse('{"6b514f4a4b":"已开启云备份","2d9a9c8a1f":"备份所有文件","6658ed6252":"我知道了","ac1948192e":" 正在自动为您备份","73f710e5d9":"以下的文件;","14796168e1":"以上的文件暂时不会备份。\\n ","a276526f42":"如需要,请升级成超级会员,可以备份高达2GB单个文件","upgrade_tips_text":"如需要,请升级成WPS Pro+,可以备份高达1GB单个文件"}')},"29d9":function(e,t,i){},"2d86":function(e,t,i){"use strict";i("caa5")},"2ed0":function(e,t,i){},"369f":function(e){e.exports=JSON.parse('{"791a37e679":" - 文档雷达","97d086f27c":"修改","98163900f9":"文件目录","ca7df0ac06":"选择目录","fb282ec70c":"恢复为默认值","864cba03f6":"确定修改","92032402cd":"取消"}')},"36b6":function(e,t,i){},"3c93":function(e,t,i){},"3e5d":function(e,t,i){"use strict";i("a4e1")},4061:function(e,t,i){"use strict";i("aa45")},"48f8":function(e,t,i){"use strict";i("3c93")},"4a8b":function(e,t,i){"use strict";i("1cdd")},"4d28":function(e,t,i){"use strict";i("dc9a")},"56d7":function(e,t,i){"use strict";i.r(t);var s=i("c7eb"),a=i("1da1"),n=i("5530"),o=(i("e260"),i("e6cf"),i("a79d"),i("4de4"),i("14d9"),i("2b0e")),r=i("2f62"),c=i("a925"),l=i("f7f5");o["a"].use(c["a"]);const u=new c["a"]({locale:"zh-CN",fallbackLocale:"zh-CN",messages:{"zh-CN":l["default"]}});var p=u;const d={qq:1,wechat:2,download:3,draft:6,path:10},h=[d.qq,d.wechat,d.download,d.draft],f={1:"qq",2:"wechat",3:"download",6:"draft",10:"path"},g={wechat:()=>p.t("c396664aa9"),qq:()=>"QQ",download:()=>p.t("246ab9a046"),draft:()=>p.t("246ab9a047")},M={wechat:"wechatRadarBackupGuideShowed",qq:"tencentRadarBackupGuideShowed",download:"webdownloadRadarBackupGuideShowed"},I="LOCALSTORAGE_FILE_ICON_INFO",y={mp3:"audio",audio:"audio",ebook:"ebook",epub:"ebook",mobi:"ebook",azw3:"ebook",csv:"et_csv",et:"et",ett:"et_ett",xls:"et_xls",xlsb:"et_xlsb",xlsm:"et_xlsm",xlsx:"et_xlsx",xlt:"et_xlt",pom:"flow",pof:"mind",mind:"mind",xmind:"mind",h5:"h5",html:"htm",htm:"htm",msi:"msi",note:"note",wpsnote:"note",url:"url",pdf:"pdf",png:"pic",jpg:"pic",gif:"pic",ico:"pic",svg:"svg",ttf:"ttf",txt:"txt",video:"video",mp4:"video",dps:"wpp_dps",dpt:"wpp_dpt",pot:"wpp_pot",pps:"wpp_pps",ppt:"wpp_ppt",pptm:"wpp_pptm",pptx:"wpp_pptx",wpp:"wpp",doc:"wps_doc",docm:"wps_docm",docx:"wps_docx",dot:"wps_dot",wps:"wps",wpt:"wps_wpt",xml:"xml",zip:"zip",rar:"zip",tar:"zip","7z":"zip",form:"form",otl:"otl",pos:"flow",dbt:"dbt",ofd:"ofd"},S="ARROW_UP",m="ARROW_DOWN",b="TO_SETTING_BACKUP",w="TO_OPEN_BACKUP",D={"001":()=>p.t("0df8feb390"),"002":()=>p.t("76d37e8910"),"003":()=>p.t("1dc6d424ba"),"004":()=>p.t("65c743eaeb"),"005":()=>p.t("fbfc80b23c"),"006":()=>p.t("d59d294d34")},x={qq:()=>p.t("51c2401936"),wechat:()=>p.t("f9b908abb8"),draft:()=>p.t("f9b908abb9")},v={backupOpen:0,backupClose:1,backupOpenHover:2,backupCloseHover:3,backupOpenClick:4,backupCloseClick:5},j={qq:()=>p.t("51c2401937"),wechat:()=>p.t("f9b908abb8"),draft:()=>p.t("f9b908abb9")},C="vip_pro",T="vip_pro_plus",N="vip_365",z={win:{projectID:60,moduleGroupID:82502},mac:{projectID:139,moduleGroupID:82504},linux:{projectID:114,moduleGroupID:82506},ohos:{projectID:142,moduleGroupID:82508}};var k={userId:"",type:"wechat",cloudDiskPath:"",vipType:0,warnTipsCloseTimes:0,isLastWarnTipsClosed:!1,backupPath:{wechat:"",qq:"",draft:"",download:""},dirRoot:{wechat:"",qq:"",draft:"",download:""},installStatus:{wechat:!1,qq:!1,draft:!1,download:!1},accreditStatus:{wechat:!1,qq:!1,draft:!1,download:!1},syncStatus:{wechat:!1,qq:!1,draft:!1,download:!1},list:{wechat:[],qq:[],draft:[],download:[]},folderInfo:{wechat:{folderFileCount:0,folderSize:0,succeedCount:0,succeedFileSize:0,failedCount:0},qq:{folderFileCount:0,folderSize:0,succeedCount:0,succeedFileSize:0,failedCount:0},draft:{folderFileCount:0,folderSize:0,succeedCount:0,succeedFileSize:0,failedCount:0},download:{folderFileCount:0,folderSize:0,succeedCount:0,succeedFileSize:0,failedCount:0}},cloudSize:{totleSize:0,useSize:0},cloudSpace:[],allPurchaseInfo:[],overSize:{normal:10,svip:1024,userMaxFileSize:1073741824,isUpgrade:!1,payconfig:"pc_svip",vip:200},iconInfo:[],exeIconInfo:[],fileSizeLimit:-1,enableCloudPrivilege:!1,title:p.t("d722f41b9a"),privilegeSwitch:!1,fpcPrivileges:{cloud_space:{name:"cloud_space",register:1024,vip_pro:373760,vip_pro_plus:1048576,vip_365:1048576,20:102400,40:373760},filesize_limit:{name:"filesize_limit",register:10,vip_pro:2048,vip_pro_plus:2048,vip_365:2048,20:2048,40:2048}},privilegesName:{[C]:"",[T]:"",[N]:""},merchandises:{},isXaVersion:!1,useNewCloudSpaceApi:!1},O=(i("a434"),i("159b"),{setType(e,t){e.type=t},setCloudDiskPath(e,t){e.cloudDiskPath=t},setVipType(e,t){e.vipType=t},setIsBackupOpen(e,t){e.isBackupOpen=t},setList(e,{list:t,type:i}){e.list[i]=t},addListItem(e,{item:t,type:i}){e.list[i].splice(0,0,t)},deleteListItem(e,{index:t,type:i}){e.list[i].splice(t,1)},modifyListItem(e,{index:t,type:i,item:s}){e.list[i].splice(t,1,s)},setBackupPath(e,{type:t,path:i}){e.backupPath[t]=i,console.log("路径地址",e.backupPath[t],i,t)},setSyncStatus(e,{type:t,status:i}){e.syncStatus[t]=i},setinstallStatus(e,{type:t,status:i}){e.installStatus[t]=i},setAccreditStatus(e,{type:t,status:i}){e.accreditStatus[t]=i},setCloudSize(e,t){var i,s,a,n;e.cloudSize.totleSize=null!==(i=null!==(s=t.totalSize)&&void 0!==s?s:t.totleSize)&&void 0!==i?i:0,e.cloudSize.useSize=null!==(a=null!==(n=t.usedSize)&&void 0!==n?n:t.useSize)&&void 0!==a?a:0},setCloudSpace(e,t){e.cloudSpace=t},setAllPurchaseInfo(e,t){e.allPurchaseInfo=t},setIconInfo(e,t=[]){e.iconInfo=t},setExeIconInfo(e,t=[]){e.exeIconInfo=t},setFolderInfo(e,{folderInfo:t,type:i}){console.log("备份设置里是否安全备份的判断",t,i),Object.assign(e.folderInfo[i],t)},setOverSize(e,t){e.overSize=t},setDirRoot(e,{path:t,type:i}){e.dirRoot[i]=t},setUserId(e,t){e.userId=t},setWarnTipsCloseTimes(e,t){e.warnTipsCloseTimes=t},setIsLastWarnTipsClosed(e,t){e.isLastWarnTipsClosed=t},setFileSizeLimit(e,t){e.fileSizeLimit=t},setEnableCloudPrivilege(e,t){e.enableCloudPrivilege=t},setTitle(e,t){e.title=t},setFpcPrivileges(e,t){e.fpcPrivileges=t},setPrivilegeSwitch(e,t){e.privilegeSwitch=t},setMerchandises(e,t){e.merchandises=t||{}},setPrivilegesName(e,t){Object.getOwnPropertyNames(t).forEach(i=>{e.privilegesName[i]=t[i]})},setIsXaVersion(e,t){e.isXaVersion=t},setUseNewCloudSpaceApi(e,t){e.useNewCloudSpaceApi=t}}),L=(i("99af"),i("ac1f"),i("9e95")),P=i("1fac"),A=i("cab5"),_=i("4f57"),E=i("8a28");class F{constructor(){this.apis={dataWarehouseSend:"common.report.dataWarehouseSend",login:"event.account.login",logout:"event.account.logout",getFileList:"getFileList",openDir:"openDir",getSyncStatus:"getSyncStatus",syncDir:"syncDir",filenotify:"event.fileradar.filenotify",syncnotify:"event.fileradar.syncnotify",vipInfoChanged:"event.fileradar.vipInfoChanged",updateFolderInfo:"updateFolderInfo",syncFolderInfo:"event.fileradar.syncFolderInfo",openCloudDisk:"openCloudDisk",getCloudDiskPath:"getCloudDiskPath",getVipType:"getVipType",updateCloudSpaceSize:"updateCloudSpaceSize",cloudnotify:"event.fileradar.cloudnotify",getCloudSpaceInfo:"common.account.getCloudSpaceInfo",cloudSpaceInfoUpdateListener:"event.account.cloudSpaceInfoUpdated",oversize:"event.fileradar.oversize",updateOverSize:"updateOverSize",getIcon:"getIcon",upgradeVip:"upgradeVip",openUrl:"openUrl",showTransmission:"showTransmission",getDirRoot:"getDirRoot",closeDlg:"closeDlg",openFile:"openFile",shareFile:"shareFile",openVirtualCloudDisk:"openVirtualCloudDisk",onTabChange:"onTabChange",popWnd:"event.fileradar.popWnd",readReg:"readReg",writeReg:"writeReg",isDir:"isDir",selectDir:"selectDir",getDefaultDir:"getDefaultDir",confirmDirModify:"confirmDirModify",isSupportDirModify:"isSupportDirModify",getFileSizeLimit:"fileSizeLimit",getEnableCloudPrivilegeV2:"enableCloudPrivilegeV2",readRegValue:"common.util.readRegValue",getAllPurchaseInfo:"common.account.getAllPurchaseInfo",getPrivilegeInfo:"common.account.getPrivilegeInfo",getPrivilegePayInfo:"common.util.getPrivilegePayInfo",privilegeChanged:"event.account.privilegechanged",getWpsDriveName:"getWpsDriveName",checkingInstallation:"checkingInstallation",checkingDirAuthorization:"checkingDirAuthorization",popupAuthorization:"popupAuthorization",getFpcPrivilege:"getFpcPrivilege",getPrivilegeSwitch:"common.util.getPrivilegeSwitch",getVipName:"getVipName",getMerchandises:"common.account.getMerchandises",getEntryControlStatus:"common.util.getEntryControlStatus",getOemString:"getOemString",getMostApplicableGroupConfig:"common.fpccomb.getMostApplicableGroupConfig"}}checkingInstallation(e){return L["a"].execPromise(this.apis.checkingInstallation,{dirType:e})}checkingDirAuthorization(e){return L["a"].execPromise(this.apis.checkingDirAuthorization,{dirType:e})}popupAuthorization(e){return L["a"].execPromise(this.apis.popupAuthorization,{dirType:e})}getFpcPrivilege(){return L["a"].execPromise(this.apis.getFpcPrivilege)}getPrivilegeSwitch(){return L["a"].execPromise(this.apis.getPrivilegeSwitch)}onPrivilegeChanges(e){return Object(_["commonListener"])(this.apis.privilegeChanged,e)}getVipName({sku:e=""}){return L["a"].execPromise(this.apis.getVipName,{sku:e})}getMerchandises(){return L["a"].execPromise(this.apis.getMerchandises)}getPrivilegePayInfo({position:e="",priviId:t="",needValue:i=0,textReplaceObject:s={}}){return L["a"].execPromise(this.apis.getPrivilegePayInfo,{position:e,priviId:t,needValue:i,textReplaceObject:s})}getPrivilegeInfo(e=""){return L["a"].execPromise(this.apis.getPrivilegeInfo,{privilege_ids:e})}getAllPurchaseInfo(){return L["a"].execPromise(this.apis.getAllPurchaseInfo)}readRegValue({path:e="",key:t=""}){return L["a"].execPromise(this.apis.readRegValue,{regPath:e,regKey:t})}dataWarehouseSend(e="",t=[]){L["a"].exec(this.apis.dataWarehouseSend,{eventName:e,content:t})}closeDlg(){return L["a"].execPromise(this.apis.closeDlg)}login(){A["a"].login({extraParams:{bizSrc:"radar_login_guide"}})}notifyLogin(e){return E["a"].removeEventListener(this.apis.login),E["a"].addEventListener(this.apis.login,e)}logout(e){return E["a"].removeEventListener(this.apis.logout),E["a"].addEventListener(this.apis.logout,e)}getAppInfo(){return P["a"].getAppInfo()}getUserInfo(){return A["a"].getUserInfo()}openUrl(e){L["a"].exec(this.apis.openUrl,{url:e})}openPayment({csource:e="",position:t="",payconfig:i=""}){L["a"].exec(this.apis.openPayment,{csource:e,position:t,payconfig:i})}getFileList({dirType:e=3,offset:t=0,count:i=20}){return L["a"].execPromise(this.apis.getFileList,{dirType:e,offset:t,count:i})}openDir(e){return L["a"].execPromise(this.apis.openDir,{dirPath:e})}isDir(e){return L["a"].execPromise(this.apis.isDir,{dirPath:e})}getSyncStatus(e){return L["a"].execPromise(this.apis.getSyncStatus,{dirType:e})}syncDir(e,t){L["a"].exec(this.apis.syncDir,{dirType:e,open:t})}filenotify(e){return E["a"].removeEventListener(this.apis.filenotify),E["a"].addEventListener(this.apis.filenotify,e)}syncnotify(e){return E["a"].removeEventListener(this.apis.syncnotify),E["a"].addEventListener(this.apis.syncnotify,e)}updateFolderInfo(e){return L["a"].execPromise(this.apis.updateFolderInfo,{dirType:e})}syncFolderInfo(e){return E["a"].removeEventListener(this.apis.syncFolderInfo),E["a"].addEventListener(this.apis.syncFolderInfo,e)}getCloudDiskPath(){return L["a"].execPromise(this.apis.getCloudDiskPath)}openCloudDisk(e){L["a"].exec(this.apis.openCloudDisk,{dirType:e})}getVipType(){return L["a"].execPromise(this.apis.getVipType)}vipInfoChanged(e){return E["a"].removeEventListener(this.apis.vipInfoChanged),E["a"].addEventListener(this.apis.vipInfoChanged,e)}updateCloudSpaceSize(){L["a"].exec(this.apis.updateCloudSpaceSize)}cloudnotify(e){return E["a"].removeEventListener(this.apis.cloudnotify),E["a"].addEventListener(this.apis.cloudnotify,e)}getCloudSpaceInfo(){return L["a"].execPromise(this.apis.getCloudSpaceInfo,{source:"wpsbox_file_radar_business"})}getMostApplicableGroupConfig(e,t){return L["a"].execPromise(this.apis.getMostApplicableGroupConfig,{projectId:e,groupId:t})}cloudSpaceInfoUpdateListener(e){E["a"].removeEventListener(this.apis.cloudSpaceInfoUpdateListener),E["a"].addEventListener(this.apis.cloudSpaceInfoUpdateListener,e)}getIcon(e){return L["a"].execPromise(this.apis.getIcon,{localFullPathList:e})}upgradeVip(e={}){return L["a"].exec(this.apis.upgradeVip,Object(n["a"])({csource:"pc_cloud_fileradar"},e))}updateOverSize(){return L["a"].execPromise(this.apis.updateOverSize)}oversize(e){return E["a"].removeEventListener(this.apis.oversize),E["a"].addEventListener(this.apis.oversize,e)}showTransmission(){return L["a"].execPromise(this.apis.showTransmission)}getDirRoot(e){return L["a"].execPromise(this.apis.getDirRoot,{dirType:e})}openFile(e){L["a"].exec(this.apis.openFile,{filePath:e})}shareFile({fileName:e,filePath:t,fileSize:i,lastModifyTime:s}){L["a"].exec(this.apis.shareFile,{fileName:e,filePath:t,fileSize:i,lastModifyTime:s})}openVirtualCloudDisk(){L["a"].exec(this.apis.openVirtualCloudDisk)}onTabChange(e){return L["a"].execPromise(this.apis.onTabChange,{dirType:e})}popWnd(e){return E["a"].removeEventListener(this.apis.popWnd),E["a"].addEventListener(this.apis.popWnd,e)}readReg({path:e="",key:t="",defaultValue:i=""}){return L["a"].execPromise(this.apis.readReg,{path:e,key:t,defaultValue:i})}writeReg({path:e="",key:t="",value:i=""}){return L["a"].execPromise(this.apis.writeReg,{path:e,key:t,value:i})}selectDir({sourceDir:e="",dirType:t=1}){return L["a"].execPromise(this.apis.selectDir,{sourceDir:e,dirType:t})}getDefaultDir({dirType:e=1}){return L["a"].execPromise(this.apis.getDefaultDir,{dirType:e})}confirmDirModify({dirPath:e="",dirType:t=1}){return L["a"].execPromise(this.apis.confirmDirModify,{dirPath:e,dirType:t})}isSupportDirModify({dirType:e=1}){return L["a"].execPromise(this.apis.isSupportDirModify,{dirType:e})}getFileSizeLimit(){return L["a"].execPromise(this.apis.getFileSizeLimit)}getEnableCloudPrivilegeV2(){return L["a"].execPromise(this.apis.getEnableCloudPrivilegeV2)}getWpsDriveName(){return L["a"].execPromise(this.apis.getWpsDriveName)}getEntryControlStatus(e){return L["a"].execPromise(this.apis.getEntryControlStatus,{entryPosition:e})}getOemString(e,t){return L["a"].execPromise(this.apis.getOemString,{key:e,subkey:t})}}var W=new F,Q=(i("c975"),i("fb6a"),i("4d63"),i("c607"),i("25f0"),i("841c"),i("466d"),i("d81d"),i("e9c4"),i("00b4"),i("da76"));function B(e){return-1===e.indexOf(".")?"":e.split(".").pop().toLocaleLowerCase()}function Y(e){return Math.round(100*e)/100}function U(e){const t=e>=0?"":"-";return e=Math.abs(e),e<1024?`${t}${Object(Q["c"])(Y(e))}B`:(e/=1024,e<1024?`${t}${Object(Q["c"])(Y(e))}KB`:(e/=1024,e<1024?`${t}${Object(Q["c"])(Y(e))}MB`:(e/=1024,e<1024?`${t}${Object(Q["c"])(Y(e))}GB`:(e/=1024,e<1024?`${t}${Object(Q["c"])(Y(e))}TB`:void 0))))}const V=e=>parseInt(e)===parseFloat(e)?parseInt(e):e;function Z(e,t,i){const s=t(e),a="number"===typeof s?s:parseFloat(String(s)),n=Number.isNaN(a)?0:a;return`${Object(Q["c"])(n)}${i}`}function G(e,t="B",i=2,s=V){const a=["B","KB","MB","GB","TB"];let n=a.findIndex(e=>e===t);if(n<0&&(n=0),e<=0)return"";for(let r=1;r<=a.length-n;r++)if(e<Math.pow(1024,r)){let t=r-1;const o=(e/Math.pow(1024,r-1)).toFixed(i);1024===parseInt(o)&&t++;const c=(e/Math.pow(1024,t)).toFixed(i);return Z(c,s,a[n+t])}const o=(e/Math.pow(1024,a.length-n)).toFixed(i);return Z(o,s,a[a.length-1])}function R(e){if(e<0)return!0;const t=e/1024/1024;return!(t>=1024)&&0===Y(t)}function $(e){return e<0?Object(Q["c"])(0)+"MB":(e=e/1024/1024,e<1024?Object(Q["c"])(Y(e))+"MB":Object(Q["c"])(Y(e/1024))+"GB")}function H(e){const t="<>《》()(){}[]【】「」『』〔〕﹛﹜«»[]‹›〈〉〖〗<>﹝﹞{}",i=e.split("");for(const s in i){const e=i[s],a=t.indexOf(e);-1!==a&&(i[s]=a%2===0?t[a+1]:t[a-1])}return i.join("")}function J(e){const t=e.length;return e.slice(0,Math.ceil(t/2))}function X(e){const t=e.length;if(1===t)return"";{const i=e.slice(-Math.floor(t/2));return H(i.split("").reverse().join(""))}}function q(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i"),i=decodeURI(window.location.search);return i=i.substr(1).match(t),null!=i?unescape(i[2]):null}function K(e,t={},i){const s=B(e.name),a=e.path;if(y[s]||"exe"===s){if("exe"===s){const e=i.exeIconInfo.findIndex(e=>e.localFullPath===a),s=t.exe.findIndex(e=>e===a);-1===e&&-1===s&&t.exe.push(a)}}else{const e=i.iconInfo.findIndex(e=>e.suffix===s),n=t.common.findIndex(e=>{const t=B(e);return t===s});-1===e&&-1===n&&t.common.push(a)}return t}function ee(e,t,i){console.log("getFileIcon",e);let s={common:[],exe:[]};e.map(e=>{s=K(e,s,t)});const a=s.common.concat(s.exe);a.length>0&&W.getIcon(a).then(e=>{const s=e.iconInfo||[],a=[],n=[];s.map(e=>{const t=B(e.localFullPath);"exe"===t?n.push(e):a.push({icon:e.icon,suffix:e.suffix})});const o=a.concat(t.iconInfo);i("setIconInfo",o),localStorage.setItem(I,JSON.stringify(o)),i("setExeIconInfo",n.concat(t.exeIconInfo))})}function te(e,t){let i=null;return function(){const s=this,a=arguments;i&&clearTimeout(i),i=setTimeout(()=>{e.apply(s,a)},t)}}const ie=-1!==window.navigator.userAgent.toLowerCase().indexOf("mac");function se(){const e=navigator.userAgent.toLowerCase();return/(harmony-office)/i.test(e)}function ae(){const e=navigator.userAgent.toLowerCase();return/linux/i.test(e)&&!/android/i.test(e)}function ne(){return se()?"ohos":ie?"mac":ae()?"linux":"win"}var oe={getinstallStatus({commit:e},t){return Object(a["a"])(Object(s["a"])().mark((function i(){var a;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,W.checkingInstallation(d[t]);case 2:return a=i.sent,e("setinstallStatus",{status:a.isInstallation,type:t}),console.log("是否有安装res",t,d[t],a),i.abrupt("return",Promise.resolve());case 6:case"end":return i.stop()}}),i)})))()},getAccreditStatus({commit:e},t){return Object(a["a"])(Object(s["a"])().mark((function i(){var a;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,W.checkingDirAuthorization(d[t]);case 2:return a=i.sent,e("setAccreditStatus",{status:a.isDirAuthorization,type:t}),console.log("是否有授权res",t,d[t],a),i.abrupt("return",Promise.resolve());case 6:case"end":return i.stop()}}),i)})))()},getFileList({state:e,commit:t},i){return Object(a["a"])(Object(s["a"])().mark((function a(){var n,o;return Object(s["a"])().wrap((function(s){while(1)switch(s.prev=s.next){case 0:return n=e.list[i].length,s.next=3,W.getFileList({dirType:d[i],offset:n});case 3:return o=s.sent,console.log("getFileList",i,d[i],o),o.folderList.length>0&&(t("setList",{list:e.list[i].concat(o.folderList),type:i}),ee(o.folderList,e,t)),s.abrupt("return",Promise.resolve());case 7:case"end":return s.stop()}}),a)})))()},getSyncStatus({commit:e},t){return Object(a["a"])(Object(s["a"])().mark((function i(){var a;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,W.getSyncStatus(d[t]);case 2:return a=i.sent,e("setSyncStatus",{status:a.status,type:t}),i.abrupt("return",Promise.resolve());case 5:case"end":return i.stop()}}),i)})))()},getCloudDiskPath({commit:e}){return Object(a["a"])(Object(s["a"])().mark((function t(){var i;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,W.getCloudDiskPath();case 2:i=t.sent,"ok"===i.callstatus&&e("setCloudDiskPath",i.path);case 4:case"end":return t.stop()}}),t)})))()},getFpcPrivileges({commit:e}){return Object(a["a"])(Object(s["a"])().mark((function t(){var i;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,W.getFpcPrivilege();case 2:i=t.sent,"ok"===i.callstatus&&e("setFpcPrivileges",i.fpcPrivileges||{});case 4:case"end":return t.stop()}}),t)})))()},getPrivilegeSwitch({commit:e}){return Object(a["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",W.getPrivilegeSwitch().then(t=>{const i=t.result||!1;return"ok"===t.callstatus&&e("setPrivilegeSwitch",t.result||!1),i}));case 1:case"end":return t.stop()}}),t)})))()},getPrivilegesName({commit:e}){return Object(a["a"])(Object(s["a"])().mark((function t(){var i,a,n,o;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,W.getVipName({sku:C});case 2:return i=t.sent,t.next=5,W.getVipName({sku:T});case 5:return a=t.sent,t.next=8,W.getVipName({sku:N});case 8:n=t.sent,o={},"ok"===i.callstatus&&(o[C]=i.result),"ok"===a.callstatus&&(o[T]=a.result),"ok"===n.callstatus&&(o[N]=n.result),e("setPrivilegesName",o);case 14:case"end":return t.stop()}}),t)})))()},getMerchandises({commit:e}){return Object(a["a"])(Object(s["a"])().mark((function t(){var i,a;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,W.getMerchandises();case 2:i=t.sent,a={},0===i.code&&i.data&&(a=i.data),e("setMerchandises",a);case 6:case"end":return t.stop()}}),t)})))()},getVipType({commit:e}){return Object(a["a"])(Object(s["a"])().mark((function t(){var i;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,W.getVipType();case 2:i=t.sent,"ok"===i.callstatus&&e("setVipType",i.vipInfo);case 4:case"end":return t.stop()}}),t)})))()},getFileIcon({state:e,commit:t},i=[]){ee(i,e,t)},getDirRoot({commit:e},t){return Object(a["a"])(Object(s["a"])().mark((function i(){var a;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,W.getDirRoot(d[t]);case 2:return a=i.sent,console.log("getDirRoot",t,a),"ok"===a.callstatus&&e("setDirRoot",{path:a.path,type:t}),i.abrupt("return",Promise.resolve());case 6:case"end":return i.stop()}}),i)})))()},getIsXaVersion({commit:e}){return Object(a["a"])(Object(s["a"])().mark((function t(){var i;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,W.getOemString("CommercialCategory","version");case 2:i=t.sent,"ok"===i.callstatus&&e("setIsXaVersion","xa"===i.data);case 4:case"end":return t.stop()}}),t)})))()},getCloudSpaceInfo({commit:e}){return Object(a["a"])(Object(s["a"])().mark((function t(){var i;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,W.getCloudSpaceInfo();case 3:i=t.sent,"ok"===i.callstatus&&e("setCloudSize",i),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),console.warn("[getCloudSpaceInfo] 接口调用失败",t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},getCloudSpaceSwitch({commit:e}){return Object(a["a"])(Object(s["a"])().mark((function t(){var i,a,n,o,r;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,a=ne(),n=z[a],t.next=5,W.getMostApplicableGroupConfig(n.projectID,n.moduleGroupID);case 5:return o=t.sent,r=!("ok"!==(null===o||void 0===o?void 0:o.callstatus)||null===o||void 0===o||null===(i=o.data)||void 0===i||!i.enable),e("setUseNewCloudSpaceApi",r),t.abrupt("return",r);case 11:return t.prev=11,t.t0=t["catch"](0),console.warn("[getCloudSpaceSwitch] 开关查询失败,默认使用旧接口",t.t0),e("setUseNewCloudSpaceApi",!1),t.abrupt("return",!1);case 16:case"end":return t.stop()}}),t,null,[[0,11]])})))()}};i("caad"),i("2532");const re=["vip_365","vip_pro_plus","vip_pro","40","20"];function ce(e){const t={},i=e&&e.server_time||Math.floor(Date.now()/1e3),s=(null===e||void 0===e?void 0:e.merchandises)||[];return(null===s||void 0===s?void 0:s.length)&&s.forEach(e=>{const s=e.sku_key;e.server_time=i,e.is_valid=!!i&&i<e.expire_time,e.is_valid&&re.includes(s)&&(t[s]=e)}),t}function le(e){let t="";for(let i=0;i<re.length;i++){const s=re[i];if(e[s]){t=s;break}}return t}const ue=["vip_365","vip_pro_plus"];var pe={isVip(e){return 2&e.vipType},isSvip(e){return 8&e.vipType},usertypenumber(e){return e.vipType},userMaxFileSizeTxt(e){let t="10MB";const i=e.overSize.userMaxFileSize;t=i>=1024?Math.round(i/1024*100)/100+"GB":Math.round(100*i)/100+"MB";const s=e.enableCloudPrivilege;if(s){const i=e.fileSizeLimit;i>-1&&i>=1024?t=Math.round(i/1024*100)/100+"GB":i>-1&&i<1024&&(t=Math.round(100*i)/100+"MB")}return t},overSizeSvipTxt(e){let t="1GB";const i=e.overSize.svip;return t=i>=1024?Math.round(i/1024*100)/100+"GB":Math.round(100*i)/100+"MB",t},backupPath(e){let t="";const i=e.backupPath[e.type].split("/");return i.pop(),t=i.join("/"),""===t&&(t=e.dirRoot[e.type].slice(0,-1)),t},backupFullPath(e){return e.backupPath[e.type].length>0?e.backupPath[e.type]:e.dirRoot[e.type]},restCloudSize(e){return e.cloudSize.totleSize-e.cloudSize.useSize},cloudSizeState(e){const t=e.cloudSize.totleSize-e.cloudSize.useSize,i=t/e.cloudSize.totleSize;let s="normal";return i>.2?s="enough":i>.05&&i<=.2?s="warning":i>1e-5&&i<=.05?s="danger":e.cloudSize.totleSize>0&&(s="full"),s},totalFailedCount(e){let t=0;for(const i in e.folderInfo)e.folderInfo.hasOwnProperty(i)&&(t+=e.folderInfo[i].failedCount);return t},regPath(e){return`\\HKEY_CURRENT_USER\\Software\\Kingsoft\\wpscloud\\usercenter\\${e.userId}\\wpsbox\\backup`},computedShowWarn(e){return e.warnTipsCloseTimes<3},isVipPro(e,t){return!!e.privilegeSwitch&&t.topVipLevelData===C},isVipProPlus(e,t){return!!e.privilegeSwitch&&t.topVipLevelData===T},isVip365(e,t){return!!e.privilegeSwitch&&t.topVipLevelData===N},cloudSpace(e){return e.fpcPrivileges.cloud_space},vip365CloudSpace(e,t){const i=t.cloudSpace;return i&&i[N]},vipProPlusCloudSpace(e,t){const i=t.cloudSpace;return i&&i[T]},vipProCloudSpace(e,t){const i=t.cloudSpace;return i&&i[C]},vipProName(e){const t=e.privilegesName;return t[C]},vipProPlusName(e){const t=e.privilegesName;return t&&t[T]},vip365Name(e){const t=e.privilegesName;return t&&t[N]},vipProSingleFileSize(e){const t=e.fpcPrivileges.filesize_limit,i=t&&t.vip_pro;return i},vipProPlusSingleFileSize(e){const t=e.fpcPrivileges.filesize_limit,i=t&&t.vip_pro_plus;return i},topVipLevelData(e){const t=ce(e.merchandises||{}),i=le(t);return i},isHighestSku(e,t){return ue.includes(t.topVipLevelData)},isXaVersion(e){return e.isXaVersion}};o["a"].use(r["a"]);const de=new r["a"].Store({state:k,getters:pe,mutations:O,actions:oe});var he=de,fe=function(){var e=this,t=e._self._c;return t("div",{staticClass:"app",attrs:{id:"app"}},[e.userId?e._e():t("LoginContainer"),e.isModifyPage?t("ModifyPath",{attrs:{hideHeader:!0,mode:"stream",isWnd:!0}}):t("div",{staticClass:"content-box"},[t("RadarSetting",{on:{"on-timer":e.onTimer}}),t("Files"),t("PathInfo")],1)],1)},ge=[],Me=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wps-radar-mask"},[t("div",{staticClass:"wps-login"},[t("h2",[e._v(e._s(e.$t("loginWechatBackup1")))]),t("div",{staticClass:"list"},e._l(e.list,(function(i){return t("div",{key:i.icon,staticClass:"item"},[t("Icon",{attrs:{type:i.icon,size:"100"}}),t("div",{staticClass:"title"},[e._v(e._s(i.title))]),t("div",{staticClass:"desc"},[e._v(e._s(i.desc))])],1)})),0),t("Button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.login}},[e._v(e._s(e.$t("loginWechatBackup2")))])],1)])},Ie=[],ye=function(){var e=this,t=e._self._c;return t("i",{staticClass:"wps-icon",class:[e.type],style:{height:e.size+"px",width:e.size+"px"},on:{click:function(t){return e.$emit("click")}}})},Se=[],me={name:"Icon",props:{type:{type:String,default:""},size:{type:[Number,String],default:16}}},be=me,we=(i("d67c"),i("2877")),De=Object(we["a"])(be,ye,Se,!1,null,null,null),xe=De.exports,ve=function(){var e=this,t=e._self._c;return t("WButton",{staticClass:"wps-button",class:[e.type+"-btn",{disabled:e.disabled}],attrs:{disabled:e.disabled},on:{"on-click":e.onClick}},[e.loading?t("span",{class:{loading:e.loading}}):t("span",[e._t("default")],2)])},je=[],Ce=i("34cb"),Te={components:{WButton:Ce["a"]},props:{type:{type:String,default:"normal"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},methods:{onClick(e){this.$emit("click",e)}}},Ne=Te,ze=(i("3e5d"),Object(we["a"])(Ne,ve,je,!1,null,null,null)),ke=ze.exports,Oe={name:"LoginContainer",data(){return{list:[{icon:"intro_keywords_empty",title:this.$t("loginWechatBackup4"),desc:this.$t("loginWechatBackup7")},{icon:"intro_cloud_empty",title:this.$t("loginWechatBackup5"),desc:this.$t("loginWechatBackup8")},{icon:"intro_phone_empty",title:this.$t("loginWechatBackup6"),desc:this.$t("loginWechatBackup9")}]}},components:{Icon:xe,Button:ke},methods:{login(){this.$clientApi.login(),this.$dw("click",{type:"login"})}}},Le=Oe,Pe=(i("618c"),Object(we["a"])(Le,Me,Ie,!1,null,"1e4c7509",null)),Ae=Pe.exports,_e=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wps-radar-setting",class:{noborder:e.isMac?e.warnInfoMac.showWarn:e.warnInfo.showWarn}},[t("div",{staticClass:"setting-inner"},[t("div",{staticClass:"left"},[t("Icon",{attrs:{type:"radar_logo",size:"48"}}),t("div",{staticClass:"radar-desc"},[t("div",{staticClass:"main"},[e._v(e._s(e.$t("35e3fbe53e")))]),e.isBackupOpen?t("div",{staticClass:"sec"},[e._v(" "+e._s(e.$t("66749c553f"))+" ")]):t("div",{staticClass:"sec"},[e._v(e._s(e.$t("b17aaa4df6")))])])],1),t("div",{staticClass:"right"},[e.isBackupOpen?[t("Button",{attrs:{type:"primary"},on:{click:e.settingBackup}},[e._v(" "+e._s(e.$t("783fa05f15"))+" ")]),t("Button",{staticStyle:{"margin-left":"12px"},attrs:{type:"normal"},on:{click:e.onOpenCloudDiskPath}},[e._v(e._s(e.$t("3edcb26d4f")))])]:[t("Button",{attrs:{type:"primary"},on:{click:e.openBackup}},[e._v(" "+e._s(e.$t("55d41ca067"))+" ")])]],2)]),!e.isXaVersion&&(e.isMac?e.warnInfoMac.showWarn:e.warnInfo.showWarn)?t("div",{staticClass:"radar-warn"},[t("div",{staticClass:"radar-warn-l"},[t("Icon",{attrs:{type:"warn_16"}}),t("span",{staticClass:"radar-warn-txt"},[e._v(e._s(e.isMac?e.warnInfoMac.txt:e.warnInfo.txt))])],1),t("div",{staticClass:"radar-warn-r"},[t("button",{staticClass:"radar-warn-btn",on:{click:e.onWarnBtnClick}},[e._v(e._s(e.isMac?e.warnInfoMac.btn:e.warnInfo.btn))]),t("Icon",{attrs:{type:"close"},on:{click:e.closeWarn}})],1)]):e._e(),e.visibleSettingDialog?t("SettingDialog",{attrs:{type:e.type,actionType:e.actionType},on:{close:e.closeDialog,showOpenedDialog:e.onShowOpenedDialog}}):e._e(),e.showOpened?t("OpenedDialog",{on:{close:e.onCloseOpened}}):e._e()],1)},Ee=[],Fe=function(){var e=this,t=e._self._c;return t("Dialog",{attrs:{customClass:"wps-setting-dialog",title:e.$t("8e8a7980ad"),confirmText:e.isMac?e.confirmTextMac:e.confirmText,tip:e.isMac?e.tipMac:e.tip,"tip-type":e.tipType,disabled:e.isMac?e.disabledMac:e.disabled},on:{change:e.onChange,confirm:e.onConfirm},model:{value:e.innerVisible,callback:function(t){e.innerVisible=t},expression:"innerVisible"}},[t("div",{staticClass:"setting-sub-info"},[t("div",[e._v(e._s(e.$t("fef747906a")))]),t("div",[t("span",[e._v(e._s(e.$t("2c1aff69f5")))]),t("span",{staticClass:"setting-sub-link",on:{click:e.openCloudDiskPath}},[e._v(" "+e._s(e.cloudDiskPath)+" ")])])]),t("div",{staticClass:"setting-box"},[e._l(e.filteredSettingData,(function(i,s){return[t("section",{key:i.name},[t("div",{staticClass:"setting-desc"},[t("Icon",{attrs:{type:"file_"+i.type,size:"32"}}),t("div",{staticClass:"setting-info"},[t("div",{staticClass:"name"},[e._v(" "+e._s(e.DIR_TYPE_MAP[i.type]?e.DIR_TYPE_MAP[i.type]():"")+e._s(e.$t("6269ab0547"))+" ")]),t("div",{staticClass:"count"},[e.formatStatusInfo(i).status_icon_show?t("Icon",{attrs:{type:e.formatStatusInfo(i).status_icon,size:"16"}}):e._e(),t("span",[e._v(e._s(e.formatStatusInfo(i).status_txt))])],1)])],1),t("WpsSwitch",{directives:[{name:"show",rawName:"v-show",value:e.showSwitch,expression:"showSwitch"}],attrs:{status:i.status},on:{change:function(t){return e.onSwitchChange(t,i,s)}}})],1)]})),e.showOverFlowTip?t("div",{staticClass:"setting-overflow"},[t("span",[e._v(e._s(e.$t("b1633263bc1",{failedCount:e.backupFolderInfo.failedCount})))]),t("a",{staticClass:"setting-overflow-pay",attrs:{href:"javascript:;"},on:{click:e.onUpgradeTip}},[e._v(e._s(e.$t("b8c4f8111d")))])]):e._e()],2),e.showStop?t("StopDialog",{attrs:{currentType:e.filteredSettingData[e.currentIndex].type},on:{close:e.onCloseStop,cancel:e.onCancelStop}}):e._e(),e.accredit?t("div",{staticClass:"accredit-style"},[t("div",{staticClass:"accredit-body"},[t("img",{attrs:{src:i("e4db"),alt:""}}),t("div",{staticClass:"accredit-title"},[e._v(" "+e._s(e.$t("f19783ebb4"))+e._s(e.DIR_TYPE_MAP[e.itemtype]?e.DIR_TYPE_MAP[e.itemtype]():"")+" ")]),t("div",{staticClass:"accredit-btn",on:{click:e.accreditClick}},[e._v(" "+e._s(e.$t("6269ab0549"))+" ")])])]):e._e()],1)},We=[],Qe=i("15fd"),Be=(i("ddb0"),function(){var e=this,t=e._self._c;return e.innerVisible?t("div",{staticClass:"wps-dialog-wrap"},[t("div",{staticClass:"wps-dialog",class:e.customClass},[t("header",[t("div",{staticClass:"head"},[t("Icon",{attrs:{type:"common_logo"}}),t("h4",[e._v(e._s(e.commonTitle+e.$t("a08fdf292d")))])],1),t("Icon",{attrs:{type:"close"},nativeOn:{click:function(t){return e.onClose.apply(null,arguments)}}})],1),t("main",[t("div",{staticClass:"dialog-hd"},[e.status?t("Icon",{attrs:{type:e.status,size:"24"}}):e._e(),t("h2",[e._v(e._s(e.title))])],1),t("div",{staticClass:"dialog-bd"},[e._t("default")],2)]),t("footer",[t("div",{class:["tip","tip-"+e.tipType]},[e._v(e._s(e.tip))]),t("div",{staticClass:"btns"},[e.confirmText?t("Button",{attrs:{disabled:e.disabled,type:"primary"},on:{click:e.onConfirm}},[e._v(e._s(e.confirmText))]):e._e(),e.cancelText?t("Button",{on:{click:e.onCancel}},[e._v(e._s(e.cancelText))]):e._e()],1)])])]):e._e()}),Ye=[],Ue={name:"Dialog",components:{Icon:xe,Button:ke},props:{visible:{type:Boolean,default:!1},title:{type:String,default:()=>p.t("a7f498f4d0")},status:{type:String,default:""},confirmText:{type:String,default:""},cancelText:{type:String,default:""},tip:{type:String,default:""},tipType:{type:String,default:""},customClass:{type:String,default:""},disabled:{type:Boolean,default:!1}},model:{prop:"visible",event:"change"},data(){return{innerVisible:this.visible}},computed:{commonTitle(){return this.$store.state.title}},watch:{visible(e){this.setDialogVisible(e)},innerVisible(e){this.$emit("change",this.innerVisible)}},methods:{show(){this.setDialogVisible(!0)},hide(){this.setDialogVisible(!1)},setDialogVisible(e){this.innerVisible=e},onConfirm(){this.hide(),this.$emit("confirm",this.innerVisible)},onCancel(){this.hide(),this.$emit("cancel",this.innerVisible)},onClose(){this.hide(),this.$emit("close",this.innerVisible)}}},Ve=Ue,Ze=(i("4061"),Object(we["a"])(Ve,Be,Ye,!1,null,null,null)),Ge=Ze.exports,Re=function(){var e=this,t=e._self._c;return t("div",{class:["wps-switch",{"is-on":e.isOn}],on:{click:e.onSwitch}},[t("div",{class:["switch-bar",{"bar-is-on":e.isOn}]})])},$e=[],He={name:"WpsSwitch",props:{status:{String:Boolean,default:!1}},model:{prop:"status",event:"change"},data(){return{isOn:this.status}},watch:{status(e){console.log("val",e),this.isOn=e}},methods:{onSwitch(){console.log("this.isOn",this.isOn),this.isOn=!this.isOn,this.$emit("change",this.isOn)}}},Je=He,Xe=(i("671b"),Object(we["a"])(Je,Re,$e,!1,null,null,null)),qe=Xe.exports,Ke=function(){var e=this,t=e._self._c;return t("Dialog",{attrs:{customClass:"stop-dialog",title:e.$t("2a6511d118"),confirmText:e.$t("5ae68f8ecf"),cancelText:e.$t("8222a5cfb4"),status:"warn_24"},on:{confirm:e.onConfirm},model:{value:e.innerVisible,callback:function(t){e.innerVisible=t},expression:"innerVisible"}},[t("div",{staticClass:"stop-dialog-tip"},[e._v(" "+e._s(e.$t("949eed514a"))+e._s(e.DIR_TYPE_MAP[e.currentType]?e.DIR_TYPE_MAP[e.currentType]():"")+e._s(e.$t("c432946804"))+" ")])])},et=[],tt={name:"StopDialog",components:{Dialog:Ge},data(){return{DIR_TYPE_MAP:g,innerVisible:!0}},props:{currentType:{type:String,default:"wechat"}},watch:{innerVisible(e){this.$emit("close")}},methods:{onConfirm(){this.$emit("cancel")}}},it=tt,st=(i("4d28"),Object(we["a"])(it,Ke,et,!1,null,"4c33803a",null)),at=st.exports;const nt=["draft"];var ot,rt,ct,lt,ut={name:"SettingDialog",components:{Icon:xe,Dialog:Ge,StopDialog:at,WpsSwitch:qe},props:{actionType:{type:String,default:"setting"},type:{type:String,default:"wechat"}},data(){return{FolderInfoType:!1,setItemType:[],ifconfirmText:"",isMac:ie,accredit:!1,itemtype:null,DIR_TYPE_MAP:g,userMaxFileSizeTxt:"10MB",innerVisible:!0,showStop:!1,currentIndex:0,settingData:[{type:"wechat",status:!1},{type:"qq",status:!1},{type:"draft",status:!1},{type:"download",status:!1}],showSwitch:!1,allBtnIsFalse:!1,tip:"",confirmText:p.t("da9f624f7a"),topMost:!1}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(r["e"])(["syncStatus","cloudDiskPath","folderInfo","cloudSize","overSize","installStatus","accreditStatus","useNewCloudSpaceApi"])),Object(r["d"])(["setType","setFolderInfo"])),Object(r["c"])(["restCloudSize","isVip","isSvip"])),{},{tipMac(){return console.warn("数据",this.backupFolderInfo.needSize,this.restCloudSize),this.backupFolderInfo.needSize>this.restCloudSize?this.isSvip||this.isHighestSku?(console.log("formatSpaceToMB(this.restCloudSize)",$(this.restCloudSize)),p.t("0a8083d5fh",[$(this.restCloudSize)])):R(this.backupFolderInfo.needSize)?"":p.t("58c1cb7b64",[$(this.backupFolderInfo.needSize),$(this.restCloudSize)]):p.t("5b9e0e6194",[$(this.restCloudSize)])},disabledMac(){const e=this.backupFolderInfo.needSize,t=this.cloudSize.useSize;if(!this.privilegeSwitch){const i=!!(this.isSvip&&e>this.restCloudSize||this.isVip&&e+t>391915765760);return!this.allBtnIsFalse&&i&&this.confirmTextMac===p.t("da9f624f7a")}const i=!!(this.isHighestSku&&e>this.restCloudSize||this.isVipPro&&e+t>1024*this.vipProPlusCloudSpace*1024);return!this.allBtnIsFalse&&i&&this.confirmTextMac===p.t("da9f624f7a")},confirmTextMac(){if(this.filteredSettingData.every(e=>!e.status))return p.t("da9f624f7a");const e=this.backupFolderInfo.needSize,t=this.cloudSize.useSize;if(e>this.restCloudSize){if(!this.privilegeSwitch&&!this.isSvip)return this.isVip&&e+t>391915765760?p.t("da9f624f7a"):p.t("40eb5c24fe");if(this.privilegeSwitch&&!this.isHighestSku)return!this.isVip&&!this.isSvip||this.isVipPro?this.isVipPro&&e+t>1024*this.vipProPlusCloudSpace*1024?p.t("da9f624f7a"):p.t("40eb5c24fe"):p.t("0a8083d5fg")}return p.t("da9f624f7a")},filteredSettingData:{get(){return ie?this.settingData:this.settingData.filter(e=>"draft"!==e.type)},set(){return ie?this.settingData:this.settingData.filter(e=>"draft"!==e.type)}},newfolderInfo(){if(ie)return this.folderInfo;{const e=this.folderInfo,t=(e.draft,Object(Qe["a"])(e,nt));return t}},tipType(){return this.backupFolderInfo.needSize>this.restCloudSize?"warn":"normal"},disabled(){const e=!!(this.topMost&&this.backupFolderInfo.needSize>this.restCloudSize);return!this.allBtnIsFalse&&e&&this.confirmText===p.t("da9f624f7a")},backupFolderInfo(){const e={failedCount:0,needSize:0};for(const t in this.newfolderInfo){const i=this.filteredSettingData.findIndex(e=>e.type===t);if(this.filteredSettingData[i].status){const i=this.newfolderInfo[t];e.failedCount+=i.failedCount,e.needSize=e.needSize+(i.folderSize-i.succeedFileSize)}}return!this.isSvip&&e.failedCount>0&&this.$dw("backupdialog_upgradevipshow",{type:this.userMaxFileSizeTxt.toLocaleLowerCase(),source1:q("source")||""}),e},spacestatus(){let e="enough";return this.backupFolderInfo.needSize>this.restCloudSize&&(e=this.backupFolderInfo.needSize+this.cloudSize.useSize>391915765760?"unavailable":"full"),e},showOverFlowTip(){return!!(this.backupFolderInfo.failedCount>0&&this.overSize.isUpgrade)},payConfig(){return this.overSize.payconfig}}),watch:{innerVisible(e){this.$emit("close")}},methods:Object(n["a"])(Object(n["a"])({},Object(r["b"])(["getSyncStatus","getinstallStatus","getAccreditStatus","getFileList","getCloudSpaceInfo"])),{},{refreshCloudSpace(){this.useNewCloudSpaceApi?this.getCloudSpaceInfo():W.updateCloudSpaceSize()},formatSpace(e){return U(e)},onCloseStop(){this.showStop=!1},accreditClick(){this.filteredSettingData[this.currentIndex].status=!1,this.judgeSettingDataFalse(),this.accredit=!1},onSwitchChange(e,t,i){var n=this;return Object(a["a"])(Object(s["a"])().mark((function a(){var o;return Object(s["a"])().wrap((function(s){while(1)switch(s.prev=s.next){case 0:if(n.itemtype=t.type,!ie){s.next=6;break}return s.next=4,n.getinstallStatus(t.type);case 4:return s.next=6,n.getAccreditStatus(t.type);case 6:if(console.log("$event",e),!e){s.next=61;break}if(ie){s.next=12;break}n.$dw("backupdialog_clickon",{switch:t.type,source1:q("source")||""}),s.next=59;break;case 12:if(console.log("setItem.type",t.type),n.installStatus[t.type]){s.next=17;break}"qq"!==t.type&&"wechat"!==t.type||(n.accredit=!0),s.next=59;break;case 17:if(n.accreditStatus[t.type]){s.next=58;break}return s.next=20,W.popupAuthorization(d[t.type]);case 20:if(o=s.sent,console.log("是否确认授权",o),!o.isAuthorizationSuccessful){s.next=51;break}return n.FolderInfoType=!0,n.setItemType.push(t.type),s.next=27,n.getSyncStatus(t.type);case 27:return s.next=29,n.getinstallStatus(t.type);case 29:if("qq"!==t.type&&"download"!==t.type){s.next=42;break}return s.next=32,n.getAccreditStatus("qq");case 32:return s.next=34,n.getAccreditStatus("download");case 34:return s.next=36,n.getFileList("qq");case 36:return s.next=38,n.getFileList("download");case 38:W.updateFolderInfo(d["qq"]),W.updateFolderInfo(d["download"]),s.next=48;break;case 42:return s.next=44,n.getAccreditStatus(t.type);case 44:return s.next=46,n.getFileList(t.type);case 46:return s.next=48,W.updateFolderInfo(d[t.type]);case 48:n.$dw("backupdialog_clickon",{switch:t.type,source1:q("source")||""}),s.next=56;break;case 51:return n.currentIndex=i,n.filteredSettingData[n.currentIndex].status=e,n.$nextTick(()=>{n.filteredSettingData[n.currentIndex].status=!1,console.log("请先授权!")}),n.judgeSettingDataFalse(),s.abrupt("return");case 56:s.next=59;break;case 58:n.$dw("backupdialog_clickon",{switch:t.type,source1:q("source")||""});case 59:s.next=62;break;case 61:n.$dw("backupdialog_clickoff",{switch:t.type,source1:q("source")||""});case 62:n.currentIndex=i,console.log("关闭",e),n.filteredSettingData[n.currentIndex].status=e,n.syncStatus[t.type]&&!e&&(n.showStop=!0),n.judgeSettingDataFalse(),n.$nextTick(()=>{n.setTip()});case 68:case"end":return s.stop()}}),a)})))()},onCancelStop(){this.filteredSettingData[this.currentIndex].status=!0,this.judgeSettingDataFalse()},openCloudDiskPath(){W.openCloudDisk(d.path)},setUserMaxFileSize(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){var i,a,n;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,W.getPrivilegeInfo("filesize_limit");case 2:i=t.sent,a="10MB",n="ok"===i.callstatus?i.data.privileges.filesize_limit.value:e.userMaxFileSize,a=n>=1073741824?Math.round(n/1073741824)+"GB":Math.round(n/1048576)+"MB",e.userMaxFileSize=n,e.userMaxFileSizeTxt=a;case 8:case"end":return t.stop()}}),t)})))()},formatStatusInfo(e){const t=this.newfolderInfo[e.type],i=this.syncStatus[e.type],s={status_icon:"",status_icon_show:!1,status_txt:""};return i&&t.folderFileCount>0?t.failedCount>0?(s.status_icon="warn_16",s.status_icon_show=!0,s.status_txt=p.t("7c34992322",[t.succeedCount,t.failedCount,this.userMaxFileSizeTxt])):t.succeedCount>0?(s.status_icon="success_16",s.status_icon_show=!0,s.status_txt=p.t("e70a92f502",[t.succeedCount])):s.status_txt=p.t("5134d660b6",[t.folderFileCount,$(t.folderSize)]):s.status_txt=p.t("5134d660b6",[t.folderFileCount,$(t.folderSize)]),s},onConfirm(){if(this.ifconfirmText=ie?this.confirmTextMac:this.confirmText,this.ifconfirmText===p.t("d734371a6f")){if(ie){let e=this.isVip||this.backupFolderInfo.needSize+this.cloudSize.useSize>107374182400?"mac_svip":"mac_vip";return this.privilegeSwitch&&(e=this.newPayConfig),W.upgradeVip({csource:"mac_cloud_space",payconfig:e,position:"radar_popup_upgrade",component:"mac_public_preference"}),void this.$dw("backupdialog_upgradespace")}this.onPay(),this.$dw("backupdialog_upgradespace",{source1:q("source")||""})}else if(!this.topMost){let e=!1;this.filteredSettingData.map(t=>{this.FolderInfoType&&this.setItemType.includes(t.type)&&(t.status=!0),t.status!==this.syncStatus[t.type]&&(W.syncDir(d[t.type],t.status),ie&&(this.getinstallStatus(t.type),this.getAccreditStatus(t.type)),t.status&&(e=!0))}),e&&(this.$emit("showOpenedDialog"),this.FolderInfoType=!1),this.$emit("close"),ie?this.$dw("backupdialog_ok"):this.$dw("backupdialog_ok",{source1:q("source")||""})}},onChange(){this.innerVisible||this.$dw("backupdialog_close",{source1:q("source")||""})},initSetting(){this.filteredSettingData=this.filteredSettingData.map(e=>(e.status=this.syncStatus[e.type],e))},judgeSettingDataFalse(){this.allBtnIsFalse=this.filteredSettingData.every(e=>!e.status)},nextTask(){console.log("原本的settingData.status状态",this.filteredSettingData),"open"===this.actionType&&(this.filteredSettingData=this.filteredSettingData.map(e=>(e.type===this.type&&(this.installStatus[e.type]&&this.accreditStatus[e.type]||!ie?e.status=!0:e.status=!1),e))),this.judgeSettingDataFalse()},getAllSyncStatus(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){var i;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=[],e.filteredSettingData.map(t=>{i.push(e.getSyncStatus(t.type)),W.updateFolderInfo(d[t.type])}),t.abrupt("return",Promise.all(i));case 3:case"end":return t.stop()}}),t)})))()},onPay(){console.log("payconfig",this.payConfig),W.upgradeVip({payconfig:this.payConfig,position:"fileradar"})},onUpgradeTip(){this.onPay(),this.$dw("backupdialog_upgradevipclick",{type:this.userMaxFileSizeTxt.toLocaleLowerCase(),source1:q("source")||""})},init(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getAllSyncStatus();case 2:e.initSetting(),e.nextTask(),e.refreshCloudSpace();case 5:case"end":return t.stop()}}),t)})))()},setTip(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){var i,a,n,o,r,c;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(console.warn("数据",e.backupFolderInfo.needSize,e.restCloudSize),!(e.backupFolderInfo.needSize>e.restCloudSize)){t.next=23;break}if(!R(e.backupFolderInfo.needSize)){t.next=5;break}return e.tip="",t.abrupt("return");case 5:return t.next=7,W.getPrivilegeInfo("filesize_limit");case 7:if(i=t.sent,"ok"!==i.callstatus){t.next=19;break}return a=i.data.privileges.filesize_limit.value,t.next=12,W.getPrivilegePayInfo({position:"pc_radar_setting_insufficient",priviId:"cloud_space",needValue:a+1,textReplaceObject:{INPUT_NEED_SIZE:$(e.backupFolderInfo.needSize).toString(),INPUT_REST_CLOUD_SIZE:$(e.restCloudSize).toString()}});case 12:if(n=t.sent,"ok"!==n.callstatus){t.next=19;break}if(o=n.result,r=o.showText,c=o.resultType,0===c||!r){t.next=19;break}return e.tip=r,2===c?(e.confirmText=p.t("da9f624f7a"),e.topMost=!0):(e.confirmText=p.t("d734371a6f"),e.topMost=!1),t.abrupt("return");case 19:return e.tip=p.t("58c1cb7b64",[$(e.backupFolderInfo.needSize),$(e.restCloudSize)]),t.abrupt("return");case 23:e.confirmText=p.t("da9f624f7a");case 24:e.restCloudSize&&(e.tip=p.t("5b9e0e6194",[$(e.restCloudSize)]));case 25:case"end":return t.stop()}}),t)})))()}}),created(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){var i,a,n;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.init();case 2:i=q("showsetting"),a=q("type"),"1"===i&&(n=e.filteredSettingData.findIndex(e=>e.type===a),n>-1&&(e.filteredSettingData[n].status||(e.filteredSettingData[n].status=!0,e.filteredSettingData=e.filteredSettingData.slice(0),console.log("this.settingData",e.filteredSettingData)))),e.showSwitch=!0,setTimeout(()=>{e.$dw("backupdialog_show",{source:e.type,source1:q("source")||"",qq:e.filteredSettingData[1].status?"on":"off",wechat:e.filteredSettingData[0].status?"on":"off",download:e.filteredSettingData[2].status?"on":"off",spacestatus:e.spacestatus})},300),ie||e.setTip();case 8:case"end":return t.stop()}}),t)})))()}},pt=ut,dt=(i("48f8"),Object(we["a"])(pt,Fe,We,!1,null,null,null)),ht=dt.exports,ft=function(){var e=this,t=e._self._c;return t("Dialog",{attrs:{customClass:"open-dialog",title:e.$t("6b514f4a4b"),confirmText:e.isOverFlow?e.$t("2d9a9c8a1f"):"",cancelText:e.$t("6658ed6252"),status:"success_24"},on:{confirm:e.onUpgrade,cancel:e.onCancel,close:e.onClose},model:{value:e.innerVisible,callback:function(t){e.innerVisible=t},expression:"innerVisible"}},[t("div",{staticClass:"open-dialog-tip"},[e._v(" "+e._s(e.$t("ac1948192e"))+e._s(e.userMaxFileSizeTxt)+e._s(e.$t("73f710e5d9"))+e._s(e.userMaxFileSizeTxt)+e._s(e.$t("14796168e1"))+" ")]),e.isOverFlow?t("div",{staticClass:"open-dialog-pay",on:{click:e.onUpgrade}},[e._v(" "+e._s(e.overFileTxt)+" ")]):e._e()])},gt=[],Mt={name:"OpenedDialog",components:{Dialog:Ge},data(){return{innerVisible:!0,userMaxFileSizeTxt:"10MB",userMaxFileSize:10485760,overFileTxt:p.t("a276526f42"),isOverFlow:!1}},watch:{innerVisible(e){this.$emit("close")}},computed:Object(n["a"])(Object(n["a"])({},Object(r["e"])(["overSize"])),Object(r["c"])(["isSvip","isXaVersion"])),methods:{setIsOverFile(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){var i,a,n,o,r,c;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,W.getPrivilegeInfo("filesize_limit");case 2:if(i=t.sent,"ok"!==i.callstatus){t.next=9;break}return a=i.data.privileges.filesize_limit.value,t.next=7,W.getPrivilegePayInfo({position:"pc_radar_filesize",priviId:"filesize_limit",needValue:a+1});case 7:n=t.sent,"ok"===n.callstatus&&(o=n.result,r=o.resultType,c=o.showText,r&&2===r?e.isOverFlow=!1:(e.isOverFlow=!0,c&&(e.overFileTxt=c)));case 9:case"end":return t.stop()}}),t)})))()},setUserMaxFileSize(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){var i,a,n;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,W.getPrivilegeInfo("filesize_limit");case 2:i=t.sent,a="10MB",n="ok"===i.callstatus?i.data.privileges.filesize_limit.value:e.userMaxFileSize,a=n>=1073741824?Math.round(n/1073741824)+"GB":Math.round(n/1048576)+"MB",e.userMaxFileSize=n,e.userMaxFileSizeTxt=a;case 8:case"end":return t.stop()}}),t)})))()},onUpgrade(){W.upgradeVip({payconfig:"pc_svip_only",position:"fileradar"}),this.$dw("backupsuccess_click",{click:"upgrade",source1:q("source")||""})},onCancel(){this.$dw("backupsuccess_click",{click:"ok",source1:q("source")||""})},onClose(){this.$dw("backupsuccess_click",{click:"close",source1:q("source")||""})}},created(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.$dw("backupsuccess_show",{source1:q("source")||""}),t.next=3,e.setUserMaxFileSize();case 3:return t.next=5,e.setIsOverFile();case 5:e.isXaVersion&&(e.overFileTxt=p.t("upgrade_tips_text"));case 6:case"end":return t.stop()}}),t)})))()}},It=Mt,yt=(i("b462"),Object(we["a"])(It,ft,gt,!1,null,"942e6118",null)),St=yt.exports,mt={name:"RadarSetting",components:{Icon:xe,Button:ke,SettingDialog:ht,OpenedDialog:St},data(){return{isMac:ie,ifwarnInfo:{txt:"",btn:"",showWarn:!1,tipType:"",tipClickType:"",payConfig:""},visibleSettingDialog:!1,showWarn:!0,actionType:"setting",showOpened:!1,succeedCount:0,failedCount:0,isLastWarnTipsClosed:!1,lastWarnTipsClosedTime:0,warnInfo:{txt:"",btn:"",showWarn:!1,tipType:"",tipClickType:"",payConfig:"pc_vip"}}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(r["e"])(["type","syncStatus","cloudSize","overSize","folderInfo","userId","warnTipsCloseTimes","cloudSpace","allPurchaseInfo","privilegeSwitch","privilegesName","fpcPrivileges","useNewCloudSpaceApi"])),Object(r["c"])(["isVip","isSvip","cloudSizeState","totalFailedCount","regPath","isVipPro","vipProCloudSpace","isHighestSku","computedShowWarn","isXaVersion"])),{},{isBackupOpen(){return this.syncStatus[this.type]},cloudSpace(){return this.fpcPrivileges.cloud_space},vipProPlusCloudSpace(){return this.cloudSpace[T]},vipProCloudSpace(){return this.cloudSpace[C]},vipProPlusName(){return this.privilegesName[T]},vipProName(){return this.privilegesName[C]},warnInfoMac(){const e={txt:"",btn:"",showWarn:!1,tipType:"",tipClickType:""},t=this.vipProCloudSpace?G(this.vipProCloudSpace,"MB"):"-GB",i=this.vipProCloudSpace?G(this.vipProPlusCloudSpace,"MB"):"-TB",s=(t,i,s=[])=>{e.txt=p.t(t,s),e.btn=p.t(i)};if("danger"===this.cloudSizeState){e.showWarn=this.showWarn&&this.computedShowWarn,e.btn=p.t("40eb5c24fe"),e.tipType="spaceless",e.tipClickType="spaceless_upgrade";const a={isVipPro:this.vipProPlusName||"",isvip:this.privilegeSwitch?this.vipProName||"":p.t("0a8083d5fb"),default:this.privilegeSwitch?this.vipProName||"":p.t("0a8083d5fc")},n={isVipPro:i,isSvip:this.privilegeSwitch?t:"365GB",default:this.privilegeSwitch?t:"100GB"};let o="",r="",c="803430a82b";this.isHighestSku?s("803430a82a","843f525b81",[U(this.cloudSize.totleSize)]):this.isVipPro?(o=a.isVipPro,r=n.isVipPro):this.isVip&&!this.isSvip?(o=a.isvip,r=n.isSvip):this.isSvip||(o=a.default,r=n.default),e.txt=p.t(c,[U(this.cloudSize.totleSize),o,r])}else if("full"===this.cloudSizeState)if(e.showWarn=this.showWarn&&this.computedShowWarn,e.tipType="spacefull",e.tipClickType="spacefull_upgrade",this.isHighestSku)s("0a8083d5fd","843f525b81",[U(this.cloudSize.totleSize)]);else if(this.isVipPro)s("0a8083d5fe","40eb5c24fe",[U(this.cloudSize.totleSize),i]);else if(this.isSvip){const e=this.privilegeSwitch?"0a8083d5fe":"0a8083d5fd",t=this.privilegeSwitch?"40eb5c24fe":"843f525b81",a=this.privilegeSwitch?[U(this.cloudSize.totleSize),i]:[U(this.cloudSize.totleSize)];s(e,t,a)}else if(this.isVip){const e=this.privilegeSwitch?t:"365GB";s("0a8083d5fe","40eb5c24fe",[U(this.cloudSize.totleSize),e])}else if(!this.isSvip){const e=this.privilegeSwitch?t:"100GB",i=this.privilegeSwitch?this.vipProName:p.t("0a8083d5fc");s("0a8083d5fi","40eb5c24fe",[U(this.cloudSize.totleSize),i,e])}return e.showWarn&&this.$dw("toptips_show",{type:e.tipType}),console.log("info",e),e}}),mounted(){this.addGlobalListenr();const e=q("showsetting");q("source");"1"===e&&this.settingBackup(),this.$bus.$on(b,this.settingBackup),this.$bus.$on(w,this.openBackup)},beforeDestroy(){this.$bus.$off(b,this.settingBackup),this.$bus.$off(w,this.openBackup)},methods:Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(r["d"])(["setWarnTipsCloseTimes","setIsLastWarnTipsClosed"])),Object(r["b"])(["getSyncStatus","getCloudSpaceInfo"])),{},{refreshCloudSpace(){this.useNewCloudSpaceApi?this.getCloudSpaceInfo():W.updateCloudSpaceSize()},addGlobalListenr(){window.userStateChanged=()=>null,W.onPrivilegeChanges(te(()=>{location.reload()},1500))},onOpenSettingDialog(){this.$emit("on-timer",!0),this.visibleSettingDialog=!0},closeDialog(){this.$emit("on-timer",!1),this.visibleSettingDialog=!1,setTimeout(()=>{this.getSyncStatus(this.type)})},settingBackup(){this.actionType="setting",this.onOpenSettingDialog(),this.$dw("backupsetting_click",{source1:q("source")||""})},openBackup(){console.log("openBackup"),this.actionType="open",this.onOpenSettingDialog(),this.$dw("backupopen_click",{status:!1,filenumber:this.folderInfo[this.type].folderFileCount,loginstatus:!!this.userId,source:this.type,source1:q("source")||""})},onCloseOpened(){this.showOpened=!1},onShowOpenedDialog(){this.showOpened=!0},onOpenCloudDiskPath(){W.openCloudDisk(d[this.type]),this.$dw("backupfile_click")},closeWarn(){this.showWarn=!1,this.warnInfo.showWarn=!1,ie?(this.ifwarnInfo.btn=this.warnInfoMac.btn,this.ifwarnInfo.tipType=this.warnInfoMac.tipType):(this.ifwarnInfo.btn=this.warnInfo.btn,this.ifwarnInfo.tipType=this.warnInfo.tipType),this.ifwarnInfo.btn===p.t("14fdb86a6c")?this.writeLastWarnTipsClosed(!0):this.writeWarnTipsCloseTimes(this.warnTipsCloseTimes+1),this.$dw("toptips_close",{type:this.ifwarnInfo.tipType})},onWarnBtnClick(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){var i,a,n,o;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(ie?(e.ifwarnInfo.btn=e.warnInfoMac.btn,e.ifwarnInfo.tipType=e.warnInfoMac.tipClickType):(e.ifwarnInfo.btn=e.warnInfo.btn,e.ifwarnInfo.tipType=e.warnInfo.tipClickType),e.ifwarnInfo.btn!==p.t("14fdb86a6c")){t.next=6;break}e.showWarn=!1,W.showTransmission(),t.next=28;break;case 6:if(e.ifwarnInfo.btn!==p.t("843f525b81")){t.next=11;break}e.showWarn=!1,W.openVirtualCloudDisk(),t.next=28;break;case 11:if(e.ifwarnInfo.btn!==p.t("40eb5c24fe")){t.next=28;break}if(!ie){t.next=27;break}if(i=e.isVip?"mac_svip":"mac_vip",a=e.isVip?"mac_public_radar":"mac_public_homepage",n=e.isVip?"radar_tips_to365g":"radar_tips_to100g",!e.privilegeSwitch){t.next=24;break}return i=e.isSvip||e.isVipPro?"mac_proplus_cloud":"mac_pro_cloud",a="mac_public",n=e.isSvip||e.isVipPro?"radar_tips_to500g":e.isVip?"radar_tips_to365g":"radar_tips_to100g",t.next=22,e.getPayData({position:n});case 22:o=t.sent,(null===o||void 0===o?void 0:o.payConfig)&&(i=o.payConfig);case 24:W.upgradeVip({csource:"mac_cloud_space",payconfig:i,position:n,component:a}),t.next=28;break;case 27:W.upgradeVip({payconfig:e.warnInfo.payConfig,position:"fileradar"});case 28:e.$dw("toptips_click",{type:e.ifwarnInfo.tipClickType});case 29:case"end":return t.stop()}}),t)})))()},notifyPopWnd(){W.popWnd(()=>{this.showOpened=!0,this.getSyncStatus(this.type)})},readWarnTipsCloseTimes(){W.readReg({path:this.regPath,key:"warnTipsCloseTimes",defaultValue:"0"}).then(e=>{this.setWarnTipsCloseTimes(Number(e.value))})},writeWarnTipsCloseTimes(e){W.writeReg({path:this.regPath,key:"warnTipsCloseTimes",value:""+e}).then(t=>{this.setWarnTipsCloseTimes(e)})},readLastWarnTipsClosed(){W.readReg({path:this.regPath,key:"lastWarnTipsClosed",defaultValue:"false"}).then(e=>{this.setIsLastWarnTipsClosed("true"===e.value),this.isLastWarnTipsClosed="true"===e.value}),W.readReg({path:this.regPath,key:"lastWarnTipsClosedTime",defaultValue:0}).then(e=>{this.lastWarnTipsClosedTime=Number(e.value)})},writeLastWarnTipsClosed(e){W.writeReg({path:this.regPath,key:"lastWarnTipsClosed",value:""+e}).then(t=>{this.setIsLastWarnTipsClosed(e),this.isLastWarnTipsClosed=e});const t=Date.now();W.writeReg({path:this.regPath,key:"lastWarnTipsClosedTime",value:t}).then(e=>{this.lastWarnTipsClosedTime=t})},getPayData({position:e}){var t=this;return Object(a["a"])(Object(s["a"])().mark((function i(){var a,n,o;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=t.cloudSize.totleSize+1,n={priviId:"cloud_space",position:e,needValue:a},i.next=4,W.getPrivilegePayInfo(n);case 4:if(o=i.sent,"ok"!==o.callstatus||!o.result){i.next=7;break}return i.abrupt("return",o.result);case 7:case"end":return i.stop()}}),i)})))()},setDangerInfo(e){var t=this;return Object(a["a"])(Object(s["a"])().mark((function i(){var a,n,o,r,c,l;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,W.getPrivilegePayInfo({position:"pc_radar_danger",priviId:"cloud_space",needValue:t.cloudSize.totleSize+1,textReplaceObject:{INPUT_CURR_VALUE:e}});case 2:a=i.sent,"ok"===a.callstatus&&(n=a.result,o=n.showText,r=n.buttonText,c=n.resultType,l=n.payConfig,0!==c&&(t.warnInfo.showWarn=t.showWarn&&t.computedShowWarn,t.warnInfo.tipType="spaceless",t.warnInfo.tipClickType="spaceless_upgrade",t.warnInfo.txt=o||p.t("803430a82a",[e]),t.warnInfo.btn=r||p.t("40eb5c24fe"),t.warnInfo.payConfig=l||""));case 4:case"end":return i.stop()}}),i)})))()},setFullInfo(e){var t=this;return Object(a["a"])(Object(s["a"])().mark((function i(){var a,n,o,r,c,l;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,W.getPrivilegePayInfo({position:"pc_radar_full",priviId:"cloud_space",needValue:t.cloudSize.totleSize+1,textReplaceObject:{INPUT_CURR_VALUE:e}});case 2:a=i.sent,"ok"===a.callstatus&&(n=a.result,o=n.showText,r=n.buttonText,c=n.resultType,l=n.payConfig,0!==c&&(t.warnInfo.showWarn=t.showWarn&&t.computedShowWarn,t.warnInfo.tipType="spacefull",t.warnInfo.btn=r||p.t("40eb5c24fe"),t.warnInfo.tipClickType="spacefull_upgrade",t.warnInfo.txt=o||p.t("0a8083d5fa",[e]),t.warnInfo.payConfig=l||""));case 4:case"end":return i.stop()}}),i)})))()},setWarnInfo(e){var t=this;return Object(a["a"])(Object(s["a"])().mark((function i(){return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if("danger"!==e){i.next=3;break}return i.next=3,t.setDangerInfo(U(t.cloudSize.totleSize));case 3:if("full"!==e){i.next=6;break}return i.next=6,t.setFullInfo(U(t.cloudSize.totleSize));case 6:t.warnInfo.showWarn&&t.$dw("toptips_show",{type:t.warnInfo.tipType});case 7:case"end":return i.stop()}}),i)})))()}}),watch:{totalFailedCount(e,t){e>t&&t&&(this.showWarn=!0,this.writeLastWarnTipsClosed(!1))},cloudSizeState(e){ie||this.setWarnInfo(e)}},created(){this.readLastWarnTipsClosed(),W.syncnotify(e=>{this.succeedCount=e.succeedCount,e.failedCount>0&&(th |
|