'use strict';const _0x3ec3e6=_0x16d3;(function(_0x4b08d0,_0x34d264){const _0x79a59c=_0x16d3,_0x18defa=_0x4b08d0();while(!![]){try{const _0x5772b8=parseInt(_0x79a59c(0xe7))/0x1+parseInt(_0x79a59c(0xee))/0x2*(-parseInt(_0x79a59c(0xe3))/0x3)+-parseInt(_0x79a59c(0xe9))/0x4*(-parseInt(_0x79a59c(0xe6))/0x5)+-parseInt(_0x79a59c(0xe0))/0x6*(parseInt(_0x79a59c(0xeb))/0x7)+-parseInt(_0x79a59c(0xe8))/0x8+-parseInt(_0x79a59c(0xec))/0x9+-parseInt(_0x79a59c(0xe5))/0xa*(-parseInt(_0x79a59c(0xdf))/0xb);if(_0x5772b8===_0x34d264)break;else _0x18defa['push'](_0x18defa['shift']());}catch(_0x56a9cf){_0x18defa['push'](_0x18defa['shift']());}}}(_0x4a3f,0x823f0));function _0x16d3(_0x53daa7,_0xfa2c72){_0x53daa7=_0x53daa7-0xdc;const _0x4a3f0d=_0x4a3f();let _0x16d326=_0x4a3f0d[_0x53daa7];return _0x16d326;}function findPermissionForRoute(_0x551557,_0x39e5e5){const _0x4bb54a=_0x16d3;for(const [_0x29d23f,_0xbf4973]of Object[_0x4bb54a(0xe4)](_0x39e5e5))if(_0xbf4973[_0x4bb54a(0xdd)](_0x5d8752=>_0x551557['startsWith'](_0x5d8752)))return _0x29d23f;return null;}function hasRoutePermission(_0xe95487,_0x41d968,_0x36b35d){const _0x559912=findPermissionForRoute(_0xe95487,_0x36b35d);return!_0x559912||_0x41d968['includes'](_0x559912);}Object[_0x3ec3e6(0xdc)](exports,_0x3ec3e6(0xde),{'value':!0x0}),exports['GATEWAY_PERMISSION_MAP']=exports['PERMISSION_MAP']=void 0x0,exports['findPermissionForRoute']=findPermissionForRoute,exports['hasRoutePermission']=hasRoutePermission,exports[_0x3ec3e6(0xed)]={'trade':['/api/exchange/order','/api/ecosystem/order'],'futures':['/api/futures'],'deposit':['/api/finance/deposit'],'withdraw':[_0x3ec3e6(0xe2)],'transfer':['/api/finance/transfer']},exports['GATEWAY_PERMISSION_MAP']={'gateway.payment.create':['/api/gateway/v1/payment/create'],'gateway.payment.status':[_0x3ec3e6(0xe1)],'gateway.refund.create':[_0x3ec3e6(0xea)]};function _0x4a3f(){const _0xc206b0=['130DAECiW','603390faeVrj','593199AaNvjV','3087592QXwElk','4RcIGKl','/api/gateway/v1/refund','3794cmtRhy','555660FJNjbW','PERMISSION_MAP','1218182hFUpmW','defineProperty','some','__esModule','997469YTYySK','3348jpTvOM','/api/gateway/v1/payment','/api/finance/withdraw','3nWEAJw','entries'];_0x4a3f=function(){return _0xc206b0;};return _0x4a3f();}