service-detail.js 22 KB

1
  1. var _0x1b41=['getPluginVerByURL','service_dev_url','dialogMsgBox','__setModuleDefault','is_mobile','sample','replaceAppIdOnUrl','default','realname_person_tips','unknow_game','certificate','find','servicePlugin','call','cocos_personal_verify_url','doOpenService','beforeOpenService','guide','csFile','update','gotoDashboardUrl','verify_tips','cocos_mobile_bind_personal_url','gotoGuideUrl','open_service_btn','checkServiceOnGame','getServiceContactUrl','service_price','verification_status','defineProperty','name','hide-loading','openService','app_id','shadowRoot','closing_service','enableService','$data','is_mobile_company','require_verify','btn_cancel','push','removeAllListeners','detail','game','installed','realname','warn','installPlugin','show-bind-game','ready','beforeClickGotoLink','createInnterHTML','fail','shows','gotoSampleUrl','./service-detail.html','srv','prototype','serviceInfo','csAnalytics','cocos_company_verify_url','clacVersion','../../core','__esModule','getUrl','reloadPlugin','shift','verify_person_tips','show-loading','isUpdate','show-verm','download_failed','getServiceUserInfo','c_id','param','checkAllowOpenService','open','csUtil','plugin_version','enable-service','target','csLogger','package_download_url','afterOpenService','contact_to_open','attachShadow','service_name','getServicePluginInfo','contents','service:switch-version','failureOpenService','price','service_sample_url','csConfig','switch','indexOf','dialog_title','enable','disableService','hasUpdate','debug','Cancel\x20Open!','url','../../../utils','platform','service','uninstallPlugin','description','jump','service_component_name','use\x20strict','pluginReady','service_not_open','compareVersion','pluginExists','\x20-\x20','getServicePlugin','opening_service','catch','high_verify_tips','readPluginInfo','create','hasSwitch','serviceVersion','$emit','service_type','then','csProtocol','all','../../../vue','csEvent','csEditor','../../core/plugin','pluginClose','isInstall','UNKNOW','switchVersion','checkServiceWithGame','emit','length','corporation_id'];(function(_0x567771,_0x2aeec1){var _0x1b41b7=function(_0x15d2a0){while(--_0x15d2a0){_0x567771['push'](_0x567771['shift']());}};_0x1b41b7(++_0x2aeec1);}(_0x1b41,0xd6));var _0x15d2=function(_0x567771,_0x2aeec1){_0x567771=_0x567771-0x1e5;var _0x1b41b7=_0x1b41[_0x567771];return _0x1b41b7;};var _0x33f79f=_0x15d2,_0x33e0=[_0x33f79f(0x233),_0x33f79f(0x264),_0x33f79f(0x203),_0x33f79f(0x242),_0x33f79f(0x230),_0x33f79f(0x231),_0x33f79f(0x23a),'not_installed','disables',_0x33f79f(0x21a),_0x33f79f(0x26d),_0x33f79f(0x1f4),_0x33f79f(0x248),_0x33f79f(0x265),_0x33f79f(0x26a),_0x33f79f(0x24f),_0x33f79f(0x219),'download_failed',_0x33f79f(0x1ee),'getUserInfo',_0x33f79f(0x212),_0x33f79f(0x1ed),_0x33f79f(0x25a),'service',_0x33f79f(0x215),_0x33f79f(0x229),'all','calcShows',_0x33f79f(0x205),_0x33f79f(0x240),_0x33f79f(0x257),_0x33f79f(0x24b),_0x33f79f(0x22b),_0x33f79f(0x241),_0x33f79f(0x225),_0x33f79f(0x1f6),'find',_0x33f79f(0x266),_0x33f79f(0x1e8),'service_version_warnning',_0x33f79f(0x208),_0x33f79f(0x1fb),_0x33f79f(0x245),_0x33f79f(0x201),_0x33f79f(0x255),_0x33f79f(0x1f7),_0x33f79f(0x224),'service_guide_url',_0x33f79f(0x253),'show-confirm',_0x33f79f(0x259),_0x33f79f(0x26b),_0x33f79f(0x221),_0x33f79f(0x26f),_0x33f79f(0x1ff),_0x33f79f(0x271),_0x33f79f(0x216),'version',_0x33f79f(0x22f),_0x33f79f(0x252),_0x33f79f(0x222),_0x33f79f(0x214),_0x33f79f(0x272),_0x33f79f(0x1f8),_0x33f79f(0x1e9),_0x33f79f(0x1f0),'service_id','service_protocol',_0x33f79f(0x21d),_0x33f79f(0x1f1),_0x33f79f(0x232),_0x33f79f(0x25d),'csAnalytics',_0x33f79f(0x1fd),'checked',_0x33f79f(0x22e),'configDevUrl',_0x33f79f(0x243),_0x33f79f(0x20b),'extend',_0x33f79f(0x256),_0x33f79f(0x23b),'shows',_0x33f79f(0x1f9),_0x33f79f(0x23c),'beforeClickGotoLink',_0x33f79f(0x1eb),_0x33f79f(0x21b),_0x33f79f(0x22d),_0x33f79f(0x24c),_0x33f79f(0x270),_0x33f79f(0x20a),_0x33f79f(0x1e7),_0x33f79f(0x24e),'readServiceParam',_0x33f79f(0x227),_0x33f79f(0x25b),_0x33f79f(0x20d),'$root',_0x33f79f(0x269),'close',_0x33f79f(0x217),'corporation_id',_0x33f79f(0x1f2),_0x33f79f(0x1fc),_0x33f79f(0x246),_0x33f79f(0x1ef),'openCocosUrl',_0x33f79f(0x239),'emit',_0x33f79f(0x1ea),_0x33f79f(0x268),_0x33f79f(0x213),'servicePlugin','csEvent','getGameDetail','__createBinding',_0x33f79f(0x21c),_0x33f79f(0x206),'readFile',_0x33f79f(0x235),_0x33f79f(0x23f),_0x33f79f(0x244),'realname_company_tips','shadowRoot',_0x33f79f(0x209),'$refs',_0x33f79f(0x249),_0x33f79f(0x26c),_0x33f79f(0x22c),'plugin_version',_0x33f79f(0x1fe),_0x33f79f(0x24a),'__importDefault',_0x33f79f(0x210),_0x33f79f(0x258),_0x33f79f(0x234),_0x33f79f(0x218),_0x33f79f(0x1e6),_0x33f79f(0x25f),'cocos_service_open_url',_0x33f79f(0x23e),_0x33f79f(0x1f5),'verification_status'];(function(_0x51565c,_0x15fa32){var _0x12471c=function(_0x2fc8e4){var _0x3db4a3=_0x15d2;while(--_0x2fc8e4){_0x51565c[_0x3db4a3(0x254)](_0x51565c[_0x3db4a3(0x26e)]());}};_0x12471c(++_0x15fa32);}(_0x33e0,0x1b1));var _0x467b=function(_0xce443a,_0x538d02){_0xce443a=_0xce443a-0x1f3;var _0x3bf150=_0x33e0[_0xce443a];return _0x3bf150;},_0x1058a1=_0x467b;_0x33f79f(0x20c);var __createBinding=this&&this[_0x1058a1(0x266)]||(Object[_0x1058a1(0x257)]?function(_0x2fd436,_0x116328,_0x2d99f7,_0x15ebaa){var _0x5e51fd=_0x1058a1;void 0x0===_0x15ebaa&&(_0x15ebaa=_0x2d99f7),Object[_0x5e51fd(0x1fe)](_0x2fd436,_0x15ebaa,{'enumerable':!0x0,'get':function(){return _0x116328[_0x2d99f7];}});}:function(_0x124bae,_0x522169,_0x8efa0a,_0x2741cc){void 0x0===_0x2741cc&&(_0x2741cc=_0x8efa0a),_0x124bae[_0x2741cc]=_0x522169[_0x8efa0a];}),__setModuleDefault=this&&this[_0x1058a1(0x23d)]||(Object[_0x1058a1(0x257)]?function(_0x22dc7b,_0x1755a3){var _0xab5ff0=_0x1058a1;Object[_0xab5ff0(0x1fe)](_0x22dc7b,_0xab5ff0(0x238),{'enumerable':!0x0,'value':_0x1755a3});}:function(_0x3b38bc,_0x47c5b1){var _0x23e882=_0x33f79f;_0x3b38bc[_0x23e882(0x232)]=_0x47c5b1;}),__importStar=this&&this['__importStar']||function(_0x5e1563){var _0x14643e=_0x33f79f,_0x4f1716=_0x1058a1;if(_0x5e1563&&_0x5e1563[_0x4f1716(0x225)])return _0x5e1563;var _0x50b4e5={};if(null!=_0x5e1563)for(var _0x39d8d in _0x5e1563)_0x4f1716(0x238)!==_0x39d8d&&Object[_0x4f1716(0x1ff)]['hasOwnProperty'][_0x14643e(0x238)](_0x5e1563,_0x39d8d)&&__createBinding(_0x50b4e5,_0x5e1563,_0x39d8d);return __setModuleDefault(_0x50b4e5,_0x5e1563),_0x50b4e5;},__importDefault=this&&this[_0x1058a1(0x277)]||function(_0x31086a){var _0x49562e=_0x1058a1;return _0x31086a&&_0x31086a[_0x49562e(0x225)]?_0x31086a:{'default':_0x31086a};};Object[_0x33f79f(0x248)](exports,_0x33f79f(0x26b),{'value':!0x0});const vue_1=__importDefault(require(_0x33f79f(0x21f))),core_1=__importDefault(require(_0x1058a1(0x200))),plugin_1=__importDefault(require(_0x1058a1(0x22e))),utils_1=__importStar(require(_0x1058a1(0x20e)));exports[_0x33f79f(0x232)]=vue_1[_0x1058a1(0x238)][_0x1058a1(0x241)]({'template':utils_1[_0x33f79f(0x23d)][_0x1058a1(0x269)](__dirname,_0x33f79f(0x263)),'props':{'game':{'type':Object,'default':()=>({'app_id':_0x1058a1(0x214),'name':utils_1['csEditor']['tr'](_0x1058a1(0x27a)),'c_id':'0'})},'service':{'type':Object}},'data'(){var _0x3a900a=_0x1058a1;return{'enable':!0x1,'srv':this[_0x3a900a(0x209)],'serviceInfo':void 0x0,'servicePlugin':void 0x0,'service_price':this[_0x3a900a(0x209)][_0x3a900a(0x25b)],'param':{},'serviceVersion':'','hasUpdate':!0x1,'hasSwitch':!0x0,'shows':{'all':!0x0,'name':!0x0,'version':!0x0,'description':!0x0,'jump':!0x0,'price':!0x0,'platform':!0x0}};},'watch':{async 'game'(_0x1521d6){var _0x4c02ab=_0x1058a1;this[_0x4c02ab(0x23e)]();}},async 'created'(){var _0x1708d4=_0x33f79f,_0x31fc04=_0x1058a1;this[_0x31fc04(0x1f3)][_0x31fc04(0x228)]&&(this[_0x1708d4(0x1ff)]=this[_0x31fc04(0x1f3)][_0x31fc04(0x228)]&&plugin_1[_0x31fc04(0x238)][_0x31fc04(0x278)](this[_0x31fc04(0x1f3)][_0x31fc04(0x240)])),await this[_0x31fc04(0x22a)]();try{this[_0x1708d4(0x1e8)]=await utils_1[_0x1708d4(0x1fb)][_0x31fc04(0x250)](this[_0x31fc04(0x1f3)][_0x31fc04(0x234)]);}catch(_0x284067){utils_1[_0x31fc04(0x25c)]['debug'](_0x284067);}this[_0x31fc04(0x20d)](),this[_0x31fc04(0x1fb)](_0x31fc04(0x207),this[_0x31fc04(0x1f3)][_0x31fc04(0x234)],this[_0x31fc04(0x228)]),this[_0x31fc04(0x255)](),utils_1[_0x31fc04(0x264)][_0x31fc04(0x21e)](_0x31fc04(0x21f)),utils_1[_0x31fc04(0x264)]['on'](_0x31fc04(0x21f),this[_0x1708d4(0x226)]),this['configDevUrl']();},async 'mounted'(){var _0x279a31=_0x1058a1;await this[_0x279a31(0x253)]();},async 'destroyed'(){var _0x266760=_0x33f79f;await this[_0x266760(0x223)]();},'methods':{async 'pluginReady'(){var _0x15fba6=_0x33f79f,_0x52a15c=_0x1058a1;if(await plugin_1[_0x52a15c(0x238)][_0x52a15c(0x1fc)](this[_0x52a15c(0x1f3)][_0x52a15c(0x240)]),this[_0x52a15c(0x263)]=plugin_1[_0x52a15c(0x238)][_0x52a15c(0x206)](this[_0x52a15c(0x1f3)][_0x15fba6(0x20b)],_0x52a15c(0x242)),this[_0x15fba6(0x237)]){let _0x3954a0=this[_0x52a15c(0x270)][_0x52a15c(0x242)];if(_0x3954a0[_0x15fba6(0x24d)]||(_0x3954a0[_0x15fba6(0x1f3)]({'mode':_0x52a15c(0x260)}),_0x3954a0[_0x52a15c(0x26e)]&&plugin_1[_0x52a15c(0x238)][_0x52a15c(0x27d)](this[_0x52a15c(0x263)],_0x3954a0[_0x52a15c(0x26e)],this[_0x52a15c(0x1f3)][_0x15fba6(0x20b)],_0x52a15c(0x242))),this[_0x52a15c(0x263)][_0x52a15c(0x239)])try{await this[_0x52a15c(0x263)][_0x15fba6(0x25d)]({'game':this[_0x15fba6(0x257)],'service':this[_0x52a15c(0x1f3)],'param':await utils_1[_0x52a15c(0x21b)][_0x52a15c(0x250)](this[_0x52a15c(0x1f3)][_0x52a15c(0x234)])});}catch(_0x2703be){utils_1[_0x52a15c(0x25c)][_0x15fba6(0x202)](_0x2703be);}}},async 'pluginClose'(){var _0x3bdd5e=_0x33f79f,_0x5d2f1e=_0x1058a1,_0x11c6fb;(null===(_0x11c6fb=this[_0x3bdd5e(0x237)])||void 0x0===_0x11c6fb?void 0x0:_0x11c6fb[_0x5d2f1e(0x256)])&&await this[_0x5d2f1e(0x263)][_0x5d2f1e(0x256)]();},async 'readPluginInfo'(){var _0x5cc4bf=_0x33f79f,_0x21fda8=_0x1058a1;this[_0x21fda8(0x217)]=plugin_1[_0x21fda8(0x238)][_0x21fda8(0x280)](this[_0x21fda8(0x209)][_0x21fda8(0x240)]),this[_0x21fda8(0x263)]=plugin_1[_0x5cc4bf(0x232)]['getServicePlugin'](this[_0x5cc4bf(0x207)][_0x21fda8(0x240)],_0x21fda8(0x242)),this[_0x21fda8(0x202)]=this[_0x21fda8(0x217)]?this[_0x21fda8(0x217)][_0x21fda8(0x22b)]:utils_1[_0x21fda8(0x226)]['tr'](_0x21fda8(0x1f9));},'getRealPath':_0xc028a6=>__dirname+'/../../assets/'+_0xc028a6,'configDevUrl'(){var _0x1c9237=_0x33f79f,_0x48d5e6=_0x1058a1;this[_0x48d5e6(0x1f3)][_0x48d5e6(0x273)]=utils_1[_0x48d5e6(0x248)][_0x48d5e6(0x1f7)](this[_0x48d5e6(0x1f3)]['service_dev_url'],this[_0x1c9237(0x257)][_0x48d5e6(0x24b)]);},'calcShows'(){var _0x4a16fe=_0x33f79f,_0x3fb3b0=_0x1058a1;if(this[_0x4a16fe(0x266)]&&this[_0x4a16fe(0x266)][_0x4a16fe(0x1f6)]&&this[_0x3fb3b0(0x217)][_0x3fb3b0(0x215)][_0x3fb3b0(0x242)]){let _0x4c209f=this[_0x3fb3b0(0x217)][_0x4a16fe(0x1f6)][_0x3fb3b0(0x242)][_0x3fb3b0(0x1fa)];this[_0x3fb3b0(0x244)][_0x4a16fe(0x21e)]=void 0x0===(null==_0x4c209f?void 0x0:_0x4c209f[_0x4a16fe(0x236)](_0x5dcd24=>_0x3fb3b0(0x20c)===_0x5dcd24)),this[_0x3fb3b0(0x244)][_0x3fb3b0(0x271)]=void 0x0===(null==_0x4c209f?void 0x0:_0x4c209f[_0x4a16fe(0x236)](_0x35ec47=>_0x3fb3b0(0x271)===_0x35ec47)),this[_0x3fb3b0(0x244)]['version']=void 0x0===(null==_0x4c209f?void 0x0:_0x4c209f[_0x3fb3b0(0x216)](_0x1e0e47=>_0x3fb3b0(0x22b)===_0x1e0e47)),this[_0x3fb3b0(0x244)][_0x3fb3b0(0x26f)]=void 0x0===(null==_0x4c209f?void 0x0:_0x4c209f[_0x3fb3b0(0x216)](_0x5d929b=>_0x4a16fe(0x209)===_0x5d929b)),this[_0x4a16fe(0x261)][_0x3fb3b0(0x24d)]=void 0x0===(null==_0x4c209f?void 0x0:_0x4c209f[_0x3fb3b0(0x216)](_0x4334f0=>_0x3fb3b0(0x24d)===_0x4334f0)),this[_0x3fb3b0(0x244)][_0x3fb3b0(0x245)]=void 0x0===(null==_0x4c209f?void 0x0:_0x4c209f[_0x3fb3b0(0x216)](_0x2a4c4f=>_0x3fb3b0(0x245)===_0x2a4c4f)),this[_0x4a16fe(0x261)][_0x3fb3b0(0x268)]=void 0x0===(null==_0x4c209f?void 0x0:_0x4c209f[_0x3fb3b0(0x216)](_0x56fe15=>_0x3fb3b0(0x268)===_0x56fe15));}},'versionClick'(){var _0x1d8fa4=_0x33f79f,_0x2bec1b=_0x1058a1;utils_1[_0x1d8fa4(0x220)][_0x2bec1b(0x25f)](_0x2bec1b(0x230),_0x2bec1b(0x25a));},'updateClick'(){var _0x3ba4a4=_0x1058a1;utils_1[_0x3ba4a4(0x264)][_0x3ba4a4(0x25f)](_0x3ba4a4(0x230),_0x3ba4a4(0x27f));},async 'switchVersion'(_0x6a4590,_0x419e49){var _0x4d4e6f=_0x33f79f,_0x3b756b=_0x1058a1;let _0x3bb30d=this[_0x3b756b(0x228)];this[_0x3b756b(0x201)](!0x1),plugin_1['default'][_0x4d4e6f(0x271)]=!0x0,this[_0x3b756b(0x27b)]=!0x1,await plugin_1[_0x3b756b(0x238)][_0x3b756b(0x21a)](this[_0x3b756b(0x1f3)][_0x3b756b(0x240)]),this[_0x3b756b(0x27b)]=!0x0;try{await this[_0x3b756b(0x252)](this[_0x4d4e6f(0x264)][_0x3b756b(0x240)],_0x6a4590);}catch(_0x3f1f43){return void utils_1[_0x3b756b(0x264)][_0x3b756b(0x25f)](_0x3b756b(0x276));}_0x3bb30d?setTimeout(async()=>{var _0x5a6b81=_0x3b756b;await this[_0x5a6b81(0x201)](!0x0),utils_1[_0x5a6b81(0x264)][_0x5a6b81(0x25f)](_0x5a6b81(0x276)),plugin_1[_0x5a6b81(0x238)][_0x5a6b81(0x229)]=!0x1;},0x3e8):utils_1[_0x4d4e6f(0x220)][_0x3b756b(0x25f)](_0x3b756b(0x276));},'clacVersion'(){var _0x39221a=_0x33f79f,_0x494c4c=_0x1058a1;if(!this[_0x494c4c(0x217)])return void(this[_0x494c4c(0x21d)]=!0x1);let _0x1e174c=plugin_1[_0x39221a(0x232)][_0x494c4c(0x212)](this[_0x494c4c(0x1f3)][_0x494c4c(0x233)]),_0x202bd4=this[_0x494c4c(0x217)][_0x494c4c(0x22b)];this[_0x494c4c(0x21d)]=0x1===utils_1[_0x494c4c(0x248)][_0x39221a(0x20f)](_0x1e174c,_0x202bd4),this[_0x39221a(0x1e8)][_0x494c4c(0x274)]&&this[_0x494c4c(0x218)][_0x39221a(0x1ec)]!==this[_0x494c4c(0x217)][_0x494c4c(0x22b)]&&this[_0x494c4c(0x228)]&&utils_1[_0x494c4c(0x25c)]['warn'](this[_0x494c4c(0x1f3)][_0x494c4c(0x1fd)]+_0x39221a(0x211)+utils_1[_0x494c4c(0x226)]['tr'](_0x494c4c(0x219)));},async 'checkServiceOnGame'(){var _0x2ba816=_0x33f79f,_0x18e0e3=_0x1058a1;if('0'===this[_0x18e0e3(0x1f3)]['service_type']||'4'===this[_0x2ba816(0x264)][_0x18e0e3(0x249)])return!0x0;return(await utils_1[_0x18e0e3(0x236)][_0x18e0e3(0x265)](this[_0x18e0e3(0x210)][_0x2ba816(0x24c)]))[_0x18e0e3(0x209)][_0x18e0e3(0x23b)](this[_0x18e0e3(0x1f3)][_0x18e0e3(0x234)])>=0x0;},async 'checkAllowOpenService'(){var _0xcae63b=_0x33f79f,_0x329f62=_0x1058a1;if(_0x329f62(0x214)===this[_0x329f62(0x210)][_0x329f62(0x24b)]&&'0'!==this[_0x329f62(0x1f3)][_0x329f62(0x249)]&&'4'!==this[_0xcae63b(0x264)][_0x329f62(0x249)])return utils_1[_0x329f62(0x264)][_0xcae63b(0x228)](_0xcae63b(0x25c),_0x329f62(0x242)),!0x1;if(!this[_0x329f62(0x254)][_0x329f62(0x251)](this[_0x329f62(0x210)],this[_0xcae63b(0x264)]))return!0x1;if(0x0!==this[_0xcae63b(0x264)][_0x329f62(0x22d)]){let _0x42b48b=await utils_1[_0x329f62(0x236)][_0x329f62(0x205)](),_0x416971=0x1==(0x1&_0x42b48b[_0xcae63b(0x247)]),_0x3f2dc0=0x2==(0x2&_0x42b48b[_0xcae63b(0x247)]),_0xd44029=0x4==(0x4&_0x42b48b[_0x329f62(0x281)]),_0x3ac6ba='',_0x38378f='',_0x142a8c='',_0x489df2=!0x0;return'0'!==this[_0x329f62(0x210)][_0x329f62(0x24e)]?0x1===this[_0x329f62(0x1f3)][_0xcae63b(0x252)]&&0x0===_0x42b48b[_0xcae63b(0x251)]?(_0x3ac6ba=await core_1[_0x329f62(0x238)][_0xcae63b(0x26c)]('cocos_mobile_bind_company_url'),_0x38378f=utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x26d)),_0x142a8c=utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x224)),_0x489df2=!0x1):0x2!==this[_0xcae63b(0x264)][_0x329f62(0x22d)]||_0x3f2dc0?0x3!==this[_0xcae63b(0x264)][_0x329f62(0x22d)]||_0xd44029||(_0x3ac6ba=await core_1[_0x329f62(0x238)][_0x329f62(0x272)](_0x329f62(0x261),{'corporation_id':_0x42b48b[_0xcae63b(0x22a)],'verifyLevel':0x1}),_0x38378f=utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x20a)),_0x142a8c=utils_1[_0x329f62(0x226)]['tr'](_0xcae63b(0x235)),_0x489df2=!0x1):(_0x3ac6ba=await core_1[_0x329f62(0x238)][_0xcae63b(0x26c)](_0x329f62(0x261),{'corporation_id':_0x42b48b[_0x329f62(0x258)]}),_0x38378f=utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x20f)),_0x142a8c=utils_1[_0x329f62(0x226)]['tr'](_0xcae63b(0x235)),_0x489df2=!0x1):0x1===this[_0xcae63b(0x207)][_0x329f62(0x22d)]&&0x0===_0x42b48b[_0x329f62(0x22c)]?(_0x3ac6ba=await core_1[_0x329f62(0x238)][_0x329f62(0x272)](_0x329f62(0x213)),_0x38378f=utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x282)),_0x142a8c=utils_1[_0x329f62(0x226)]['tr'](_0xcae63b(0x259)),_0x489df2=!0x1):0x1===this[_0x329f62(0x209)][_0x329f62(0x22d)]||_0x416971||(_0x3ac6ba=await core_1[_0x329f62(0x238)][_0xcae63b(0x26c)](_0x329f62(0x25e)),_0x38378f=utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x227)),_0x142a8c=utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x26a)),_0x489df2=!0x1),_0x489df2?!0x0:(0x0===await utils_1[_0xcae63b(0x221)][_0xcae63b(0x22d)](_0x329f62(0x208),_0x38378f,utils_1[_0x329f62(0x226)]['tr']('dialog_title'),[_0x142a8c,utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x222))],0x0)&&utils_1[_0x329f62(0x238)][_0x329f62(0x25d)](_0x3ac6ba),!0x1);}if('4'===this[_0x329f62(0x1f3)][_0x329f62(0x249)]){if((await utils_1[_0xcae63b(0x21d)][_0x329f62(0x27c)](this[_0xcae63b(0x264)][_0x329f62(0x234)]))[_0xcae63b(0x1ff)])return!0x0;const _0x300e98=utils_1[_0x329f62(0x226)]['tr'](_0xcae63b(0x20e)),_0x9c0973=utils_1[_0xcae63b(0x221)]['tr'](_0x329f62(0x259)),_0x346dcb=await utils_1[_0xcae63b(0x221)][_0x329f62(0x24a)](_0x329f62(0x208),_0x300e98,utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x275)),[_0x9c0973,utils_1[_0x329f62(0x226)]['tr'](_0x329f62(0x222))],0x0),_0x594f20=await utils_1[_0x329f62(0x236)][_0x329f62(0x21c)](this[_0x329f62(0x1f3)][_0x329f62(0x234)]);return 0x0===_0x346dcb&&_0x594f20[_0xcae63b(0x204)]&&utils_1[_0x329f62(0x238)][_0x329f62(0x25d)](_0x594f20['url']),!0x1;}return!0x0;},async 'installPlugin'(_0x52ba60,_0x417197){return new Promise((_0x4d20a7,_0x34387d)=>{var _0xe0ae4e=_0x15d2,_0x5cc9eb=_0x467b;let _0x8362e2=utils_1[_0x5cc9eb(0x226)]['tr'](_0x5cc9eb(0x279));plugin_1[_0xe0ae4e(0x232)][_0x5cc9eb(0x220)]=!0x0,plugin_1[_0xe0ae4e(0x232)][_0x5cc9eb(0x252)](_0x52ba60,_0x417197,async(_0x18cee3,_0x1c634d)=>{var _0x4dbbc6=_0xe0ae4e,_0x8035c1=_0x5cc9eb;if(utils_1[_0x8035c1(0x264)][_0x8035c1(0x25f)](_0x8035c1(0x24c),_0x18cee3),!_0x1c634d&&_0x4dbbc6(0x260)===_0x18cee3)return utils_1[_0x8035c1(0x25c)][_0x8035c1(0x208)](utils_1[_0x4dbbc6(0x221)]['tr'](_0x8035c1(0x203))),_0x34387d(_0x18cee3);_0x18cee3===_0x8362e2&&(await plugin_1[_0x8035c1(0x238)][_0x8035c1(0x1fc)](_0x52ba60),await this[_0x8035c1(0x22a)](),await this[_0x4dbbc6(0x20d)](),this[_0x8035c1(0x255)](),_0x4d20a7(!0x0)),plugin_1[_0x8035c1(0x238)][_0x8035c1(0x220)]=!0x1;})[_0x5cc9eb(0x22f)](_0x180d36=>(utils_1[_0x5cc9eb(0x25c)][_0x5cc9eb(0x208)](utils_1[_0xe0ae4e(0x221)]['tr'](_0xe0ae4e(0x1e5))),_0x34387d(_0x180d36)));});},async 'enableService'(_0x4fc0aa){return new Promise((_0x5ae9aa,_0x4c5726)=>{var _0x577680=_0x15d2,_0x39466f=_0x467b;this[_0x39466f(0x1fb)](_0x39466f(0x207),this[_0x577680(0x264)][_0x39466f(0x234)],_0x4fc0aa,!0x0,()=>{var _0x295733=_0x577680,_0x135bd9=_0x39466f;_0x4fc0aa?utils_1[_0x135bd9(0x23a)][_0x295733(0x24f)]():utils_1[_0x135bd9(0x23a)][_0x295733(0x200)](),this[_0x135bd9(0x228)]=_0x4fc0aa,_0x5ae9aa();});});},async 'doOpenService'(){var _0x5e3da4=_0x1058a1;return utils_1[_0x5e3da4(0x23a)][_0x5e3da4(0x211)](),new Promise((_0x2225fd,_0x1e30f7)=>{var _0x37f711=_0x15d2,_0x21d02d=_0x5e3da4;utils_1[_0x21d02d(0x236)][_0x21d02d(0x211)](this[_0x37f711(0x257)][_0x21d02d(0x24b)],this['srv']['service_id'])[_0x37f711(0x21c)](_0x149fee=>{_0x2225fd();})[_0x37f711(0x214)](async _0x19c853=>{var _0x472899=_0x37f711,_0x167f90=_0x21d02d,_0x1e828;this[_0x167f90(0x263)]&&this[_0x167f90(0x263)][_0x167f90(0x231)]&&await(null===(_0x1e828=this[_0x472899(0x237)])||void 0x0===_0x1e828?void 0x0:_0x1e828[_0x167f90(0x231)]({'service':this[_0x167f90(0x1f3)],'reason':_0x19c853})),_0x1e30f7(_0x19c853);});});},async 'openServiceRequestServer'(){return new Promise((_0x5df81d,_0xde84b4)=>{var _0x37854c=_0x467b;0x0!==this[_0x37854c(0x1f3)][_0x37854c(0x235)][_0x37854c(0x20b)]?utils_1[_0x37854c(0x264)][_0x37854c(0x25f)](_0x37854c(0x223),utils_1[_0x37854c(0x226)]['tr'](_0x37854c(0x235)),this[_0x37854c(0x1f3)][_0x37854c(0x235)],[utils_1[_0x37854c(0x226)]['tr'](_0x37854c(0x23f)),utils_1[_0x37854c(0x226)]['tr']('btn_cancel')],0x0,_0x594080=>{var _0x4753d2=_0x15d2,_0x84828=_0x37854c;if(0x0!==_0x594080)return _0xde84b4(new Error(_0x84828(0x1f4)));utils_1[_0x84828(0x264)][_0x84828(0x25f)](_0x84828(0x24c),utils_1[_0x4753d2(0x221)]['tr'](_0x84828(0x262))),this[_0x4753d2(0x23a)]()[_0x84828(0x267)](_0x5df81d)[_0x84828(0x22f)](_0xde84b4);}):this[_0x37854c(0x1f8)]()['then'](_0x5df81d)[_0x37854c(0x22f)](_0xde84b4);});},async 'handleEnabelService'(_0x2f5c03){var _0x579ea9=_0x33f79f,_0x4dce41=_0x1058a1,_0x36a182,_0x3c9487,_0x90582e,_0x55aba5;if(_0x2f5c03[_0x4dce41(0x204)][_0x4dce41(0x23c)]=this[_0x4dce41(0x228)],this[_0x4dce41(0x228)])return utils_1[_0x4dce41(0x264)][_0x579ea9(0x228)](_0x4dce41(0x24c),utils_1[_0x4dce41(0x226)]['tr'](_0x4dce41(0x24f))),await this[_0x579ea9(0x24f)](!0x1),void utils_1[_0x4dce41(0x264)][_0x4dce41(0x25f)](_0x579ea9(0x24a));if(await this[_0x4dce41(0x232)]()){if(!plugin_1[_0x4dce41(0x238)][_0x4dce41(0x278)](this[_0x4dce41(0x1f3)][_0x4dce41(0x240)]))try{await this[_0x4dce41(0x252)](this[_0x579ea9(0x264)][_0x4dce41(0x240)],this['srv'][_0x579ea9(0x1f0)]),utils_1[_0x4dce41(0x264)][_0x579ea9(0x228)]('hide-loading');}catch(_0x15ed65){return void utils_1[_0x4dce41(0x264)]['emit'](_0x4dce41(0x276));}if(!(null===(_0x36a182=this[_0x579ea9(0x237)])||void 0x0===_0x36a182?void 0x0:_0x36a182[_0x4dce41(0x243)])||await(null===(_0x3c9487=this[_0x4dce41(0x263)])||void 0x0===_0x3c9487?void 0x0:_0x3c9487[_0x4dce41(0x243)](this[_0x4dce41(0x1f3)]))){if(await this[_0x4dce41(0x26c)]())utils_1[_0x579ea9(0x220)]['emit'](_0x4dce41(0x24c),utils_1[_0x4dce41(0x226)]['tr'](_0x4dce41(0x262)));else try{await this['openServiceRequestServer']();}catch(_0x5d1b8f){return void utils_1['csEvent'][_0x4dce41(0x25f)](_0x579ea9(0x24a));}await this[_0x579ea9(0x24f)](!0x0),(null===(_0x90582e=this[_0x4dce41(0x263)])||void 0x0===_0x90582e?void 0x0:_0x90582e[_0x4dce41(0x237)])&&await(null===(_0x55aba5=this[_0x4dce41(0x263)])||void 0x0===_0x55aba5?void 0x0:_0x55aba5[_0x579ea9(0x1f1)](this[_0x579ea9(0x264)])),utils_1[_0x4dce41(0x264)][_0x4dce41(0x25f)](_0x4dce41(0x276));}}},async 'handleGotoLink'(_0x310e2e){var _0x2bbca2=_0x33f79f,_0x1449bc=_0x1058a1,_0xaa423,_0xd66f43;switch(_0x310e2e){case _0x1449bc(0x246):_0xd66f43=this[_0x1449bc(0x209)][_0x1449bc(0x221)],utils_1[_0x2bbca2(0x267)][_0x1449bc(0x1f5)](_0xd66f43);break;case'dev':_0xd66f43=this[_0x1449bc(0x209)][_0x2bbca2(0x22c)],utils_1[_0x1449bc(0x23a)][_0x1449bc(0x26b)](_0xd66f43);break;case _0x1449bc(0x1f6):_0xd66f43=this[_0x2bbca2(0x207)][_0x2bbca2(0x1fa)],utils_1[_0x1449bc(0x23a)][_0x2bbca2(0x262)](_0xd66f43);}this[_0x1449bc(0x263)]&&this[_0x1449bc(0x263)][_0x2bbca2(0x25e)]&&!await(null===(_0xaa423=this[_0x1449bc(0x263)])||void 0x0===_0xaa423?void 0x0:_0xaa423[_0x1449bc(0x247)](_0xd66f43))||utils_1[_0x1449bc(0x238)][_0x1449bc(0x25d)](_0xd66f43);},async 'gotoService'(){var _0x51a3dd=_0x33f79f,_0x174be5=_0x1058a1;let _0x3b9d6f=this[_0x174be5(0x254)]['$data']['game'][_0x174be5(0x24b)],_0x2b5445=this['$root'][_0x51a3dd(0x250)][_0x174be5(0x210)][_0x174be5(0x24e)]||0x0;utils_1[_0x174be5(0x238)][_0x174be5(0x25d)](await core_1[_0x174be5(0x238)][_0x174be5(0x272)](_0x174be5(0x27e),{'app_id':_0x3b9d6f,'target':_0x2b5445}));}}});