'use strict';const _0x4c2c90=_0x48ca;(function(_0x40425c,_0x3a44de){const _0x14348e=_0x48ca,_0x8c6f7d=_0x40425c();while(!![]){try{const _0x27ae10=-parseInt(_0x14348e(0xb9))/0x1+parseInt(_0x14348e(0xc1))/0x2+-parseInt(_0x14348e(0xdc))/0x3+-parseInt(_0x14348e(0xcf))/0x4*(-parseInt(_0x14348e(0xe2))/0x5)+parseInt(_0x14348e(0xd9))/0x6+parseInt(_0x14348e(0xbd))/0x7*(-parseInt(_0x14348e(0xee))/0x8)+parseInt(_0x14348e(0xc0))/0x9*(parseInt(_0x14348e(0xc9))/0xa);if(_0x27ae10===_0x3a44de)break;else _0x8c6f7d['push'](_0x8c6f7d['shift']());}catch(_0x287a5a){_0x8c6f7d['push'](_0x8c6f7d['shift']());}}}(_0x176d,0x5a712));function _0x4429(_0x4acb6c,_0x4b318f){const _0xbb7d75=_0x1066();return _0x4429=function(_0x3421f5,_0x53998c){_0x3421f5=_0x3421f5-0xdd;let _0x5304ac=_0xbb7d75[_0x3421f5];return _0x5304ac;},_0x4429(_0x4acb6c,_0x4b318f);}const _0x399cd1=_0x4429;(function(_0x1c437b,_0x4fb2ad){const _0x2e457e=_0x48ca,_0x18f21f=_0x4429,_0x42fe7b=_0x1c437b();while(!![]){try{const _0x42970a=parseInt(_0x18f21f(0xf1))/0x1*(-parseInt(_0x18f21f(0x10a))/0x2)+parseInt(_0x18f21f(0x10c))/0x3*(parseInt(_0x18f21f(0xe7))/0x4)+parseInt(_0x18f21f(0xea))/0x5*(-parseInt(_0x18f21f(0xfa))/0x6)+parseInt(_0x18f21f(0xe8))/0x7*(parseInt(_0x18f21f(0xf4))/0x8)+-parseInt(_0x18f21f(0x107))/0x9+-parseInt(_0x18f21f(0xf7))/0xa+parseInt(_0x18f21f(0x110))/0xb;if(_0x42970a===_0x4fb2ad)break;else _0x42fe7b['push'](_0x42fe7b[_0x2e457e(0xc5)]());}catch(_0x49968b){_0x42fe7b[_0x2e457e(0xd5)](_0x42fe7b[_0x2e457e(0xc5)]());}}}(_0x1066,0x4f187));function _0x1066(){const _0x5e78ec=_0x48ca,_0x179aef=[_0x5e78ec(0xdb),_0x5e78ec(0xd7),_0x5e78ec(0xc7),'55921EaujEr',_0x5e78ec(0xe1),_0x5e78ec(0xf1),_0x5e78ec(0xc2),'getData',_0x5e78ec(0xeb),'1195010cELbbL',_0x5e78ec(0xe6),'response',_0x5e78ec(0xcc),_0x5e78ec(0xe8),_0x5e78ec(0xc6),_0x5e78ec(0xd3),_0x5e78ec(0xd2),'Project',_0x5e78ec(0xe9),_0x5e78ec(0xdd),'error',_0x5e78ec(0xe4),_0x5e78ec(0xde),_0x5e78ec(0xd1),_0x5e78ec(0xd0),'3416634ACZenU',_0x5e78ec(0xbc),'home',_0x5e78ec(0xed),'uuid',_0x5e78ec(0xef),'readGlobalProfile',_0x5e78ec(0xcd),_0x5e78ec(0xf5),'14973662iBBjPF','join',_0x5e78ec(0xe7),_0x5e78ec(0xf0),'platform',_0x5e78ec(0xc3),_0x5e78ec(0xf9),_0x5e78ec(0xec),_0x5e78ec(0xd4),'Package',_0x5e78ec(0xf3),_0x5e78ec(0xdf),_0x5e78ec(0xf6),_0x5e78ec(0xf4),'/.service',_0x5e78ec(0xba),_0x5e78ec(0xda),_0x5e78ec(0xca),_0x5e78ec(0xd8),_0x5e78ec(0xe3),'App',_0x5e78ec(0xcb)];return _0x1066=function(){return _0x179aef;},_0x1066();}function _0x176d(){const _0xbde842=['Message','.dev','4mRjloX','plugin','User','getPackageInfo','isLoggedIn','setProject','push','home','darwin','5YfGucQ','2264106vIwgyh','7FJRtaw','name','1168086ZHqKWR','getLanguage','info','select','type','filePath','1094395Mxvlih','defineProperty','Dialog','basename','cocos-service','path','broadcast','enable','__esModule','tmpDir','register','14gOWITd','4664728yenToC','360645fhYIoK','default','I18n','getPackages','getConfig','getProject','getProjectInfo','send','setConfig','request','global','112532wCMGQL','4xXcMwN','filePaths','.$plugins.','7RDWusO','save','find','9JlDxxm','73496WrboAo','666704TDvSlG','Profile','response','shift','version','win32','/.component','8224570yjrcLp','warn','cs-scripts','2101476rFnSyA'];_0x176d=function(){return _0xbde842;};return _0x176d();}Object[_0x399cd1(0xeb)](exports,_0x4c2c90(0xea),{'value':!0x0});function _0x48ca(_0x1f8b0f,_0x1b202){const _0x176d1d=_0x176d();return _0x48ca=function(_0x48ca5f,_0x3883cb){_0x48ca5f=_0x48ca5f-0xb9;let _0x3c3224=_0x176d1d[_0x48ca5f];return _0x3c3224;},_0x48ca(_0x1f8b0f,_0x1b202);}const path_1=require(_0x399cd1(0x112));exports[_0x399cd1(0x113)]={'plugin':_0x399cd1(0xf8),'isLogin':async function(){const _0x1104f2=_0x399cd1;return await Editor[_0x1104f2(0x105)][_0x1104f2(0xfd)]();},'getUserData':async function(){const _0x428b66=_0x399cd1;return Editor[_0x428b66(0x105)][_0x428b66(0xf5)]();},'getLang':function(){const _0x150668=_0x4c2c90,_0x5b9ae0=_0x399cd1;return Editor[_0x150668(0xf1)][_0x5b9ae0(0x101)]();},'getCreatorVersion':function(){const _0x3391ef=_0x399cd1;return Editor[_0x3391ef(0xec)][_0x3391ef(0xfc)];},'getPackageInfo':function(_0x3bf5e5){const _0x341b35=_0x4c2c90,_0x59f7c9=_0x399cd1;return Editor[_0x59f7c9(0xe1)][_0x341b35(0xf2)]({'name':_0x3bf5e5})[_0x341b35(0xbf)](_0x373d1b=>_0x373d1b[_0x59f7c9(0x100)])||null;},'getServiceVersion':function(){const _0x33e3f4=_0x4c2c90,_0x50c27c=_0x399cd1;let _0x5c273b=this[_0x50c27c(0xfe)](this[_0x50c27c(0x106)]);return null===_0x5c273b?'':_0x5c273b[_0x33e3f4(0xc6)];},'readGlobalProfile':async function(_0x133663){const _0x1cd815=_0x399cd1;return await Editor[_0x1cd815(0xdd)][_0x1cd815(0xe2)](this[_0x1cd815(0x106)],_0x133663,_0x1cd815(0xde));},'writeGlobalProfile':async function(_0x462c9b,_0x2c1c96){const _0x486541=_0x4c2c90,_0x474216=_0x399cd1;return await Editor[_0x474216(0xdd)][_0x486541(0xf7)](this[_0x486541(0xd0)],_0x462c9b,_0x2c1c96,_0x474216(0xde));},'readProjectProfile':async function(_0xa96908){const _0x50bf87=_0x399cd1;return await Editor[_0x50bf87(0xdd)][_0x50bf87(0xe5)](this[_0x50bf87(0x106)],_0xa96908);},'writeProjectProfile':async function(_0x4b4994,_0x46bedf){const _0x24f1ea=_0x399cd1;return await Editor[_0x24f1ea(0xdd)][_0x24f1ea(0xe0)](this[_0x24f1ea(0x106)],_0x4b4994,_0x46bedf);},'pluginDevMode':async function(){const _0x245ef9=_0x4c2c90,_0x2127b2=_0x399cd1;return await this[_0x2127b2(0x10d)](this[_0x245ef9(0xd0)]+_0x245ef9(0xce))||!0x1;},'getCreatorHomePath':function(){const _0x2ded98=_0x4c2c90,_0x596c48=_0x399cd1;return Editor[_0x596c48(0xec)][_0x2ded98(0xd6)];},'getServiceHomePath':function(){const _0xe9d153=_0x399cd1;return Editor[_0xe9d153(0xec)]['home']+_0xe9d153(0xe6);},'getComponentHomePath':function(){const _0x406237=_0x4c2c90,_0xebb8fb=_0x399cd1;return Editor[_0xebb8fb(0xec)][_0xebb8fb(0x109)]+_0x406237(0xc8);},'getProjectInfo':function(){const _0x59092c=_0x4c2c90,_0x490830=_0x399cd1;return{'uuid':Editor['Project'][_0x490830(0x10b)],'name':(0x0,path_1[_0x59092c(0xe5)])(Editor['Project'][_0x490830(0x112)]),'path':Editor[_0x490830(0xff)][_0x490830(0x112)],'type':Editor[_0x490830(0xff)][_0x59092c(0xe0)],'tmpDir':Editor[_0x490830(0xff)][_0x490830(0xf6)]};},'getProjectPath':function(){const _0x375354=_0x4c2c90,_0x3e3f12=_0x399cd1;return this[_0x375354(0xf5)]()[_0x3e3f12(0x112)];},'getProjectID':function(){const _0x53761c=_0x399cd1;return this[_0x53761c(0x10f)]()[_0x53761c(0x10b)];},'getProjectName':function(){const _0x1417dc=_0x399cd1;return this['getProjectInfo']()[_0x1417dc(0xee)];},'getPreviewRoot':function(){const _0x5bb2d4=_0x399cd1;return(0x0,path_1[_0x5bb2d4(0x111)])(this[_0x5bb2d4(0x10f)]()[_0x5bb2d4(0xf6)],_0x5bb2d4(0xed));},'tr':function(_0x5f5462,_0x597e4d){const _0x440f77=_0x399cd1;return Editor[_0x440f77(0xf3)]['t'](this[_0x440f77(0x106)]+'.'+_0x5f5462,_0x597e4d);},'registerI18n':function(_0x2b4d05,_0x3b012b,_0x5a5b92){const _0x23158a=_0x4c2c90,_0x45b74e=_0x399cd1;Editor[_0x45b74e(0xf3)][_0x45b74e(0xdf)](_0x2b4d05,this[_0x23158a(0xd0)]+_0x45b74e(0x108)+_0x3b012b,_0x5a5b92);},'isWin32':function(){const _0x3cc57e=_0x399cd1;return _0x3cc57e(0xf0)===process[_0x3cc57e(0x114)];},'isMac':function(){const _0x574a05=_0x399cd1;return _0x574a05(0xef)===process[_0x574a05(0x114)];},'dialogSelect':async function(_0x35088f={}){const _0x1a80a1=_0x4c2c90,_0xd007cc=_0x399cd1;return(await Editor[_0x1a80a1(0xe4)][_0xd007cc(0xe3)](_0x35088f))[_0x1a80a1(0xbb)];},'dialogSave':async function(_0x21e4db={}){const _0x166a22=_0x4c2c90,_0x44881f=_0x399cd1;return(await Editor[_0x44881f(0x103)][_0x166a22(0xbe)](_0x21e4db))[_0x44881f(0xf2)];},'dialogMsgBox':async function(_0x4a5225,_0x26d7d7,_0x5095bd,_0x1b351a,_0xf360c){const _0x407ead=_0x4c2c90,_0xae6b10=_0x399cd1;let _0x20e5af={'title':_0x5095bd,'buttons':_0x1b351a,'default':_0xf360c};return _0xae6b10(0x102)===_0x4a5225?(await Editor[_0xae6b10(0x103)][_0xae6b10(0x102)](_0x26d7d7,_0x20e5af))[_0xae6b10(0xf9)]:_0xae6b10(0x104)===_0x4a5225?(await Editor[_0xae6b10(0x103)][_0xae6b10(0x104)](_0x26d7d7,_0x20e5af))[_0x407ead(0xc4)]:_0xae6b10(0xe9)===_0x4a5225?(await Editor[_0xae6b10(0x103)][_0x407ead(0xca)](_0x26d7d7,_0x20e5af))[_0xae6b10(0xf9)]:new Promise((_0x2f83ae,_0x3294c3)=>_0x2f83ae(-0x1));},'broadcastMsg'(_0x4365dd,..._0x2399a2){const _0x4f3859=_0x399cd1;Editor[_0x4f3859(0x10e)][_0x4f3859(0xfb)](_0x4365dd,..._0x2399a2);},'sendMsg'(_0x2b2c08,_0x10f04e,..._0x3804dd){const _0x145c99=_0x4c2c90,_0x55d887=_0x399cd1;Editor[_0x145c99(0xcd)][_0x55d887(0xe4)](_0x2b2c08,_0x10f04e,..._0x3804dd);},'requestMsg':(_0x237c68,_0x3b9c13,..._0x304122)=>Editor[_0x399cd1(0x10e)][_0x4c2c90(0xf8)](_0x237c68,_0x3b9c13,..._0x304122)};