From 3f7ec90bf02cc2a078d54f90a4ccbfe9823a0eaf Mon Sep 17 00:00:00 2001 From: Abu Ayyub Date: Fri, 13 Jan 2023 09:17:29 +0700 Subject: [PATCH] replace var with let, improve parseQuery --- force.js | 217 +++++++++++++++++++++++++---------------------- force.min.js | 2 +- force.min.obf.js | 2 +- 3 files changed, 118 insertions(+), 103 deletions(-) diff --git a/force.js b/force.js index e9b29df..423ecb5 100644 --- a/force.js +++ b/force.js @@ -14,7 +14,7 @@ ;const Force=function(){ /* release version */ Object.defineProperty(this,'version',{ - value:'1.4.1', + value:'1.5.0', writable:false, }); this.host=null; /* force stream host */ @@ -45,7 +45,7 @@ this.app=function(ns,root,config){ config:config, Force:this, init:async function(){ - var ns=this.namespace, + let ns=this.namespace, root=this.root, path=`${root}/${ns}/${ns}.js`, vpath=`apps/${ns}/${ns}.js`, @@ -60,7 +60,7 @@ this.app=function(ns,root,config){ } this.Force.virtualFile(vpath,script); }else if(this.cacheExpired()){ - var _app=this; + let _app=this; this.Force.get(path).then(r=>{ _app.Force.virtualFile(vpath,r); }); @@ -82,7 +82,7 @@ this.app=function(ns,root,config){ }return napp; }, cacheExpired:function(){ - var tage='cache/age.txt', + let tage='cache/age.txt', cage=86400000, /* 1 day */ vage=this.Force.virtualFile(tage), nage=(new Date).getTime(); @@ -91,12 +91,12 @@ this.app=function(ns,root,config){ &&this.config.force.cache.hasOwnProperty('age')){ cage=parseInt(this.config.force.cache.age,10); } - var mage=nage+cage; + let mage=nage+cage; if(!vage){ vage=this.Force.virtualFile(tage,mage.toString()); return true; } - var age=parseInt(vage,10); + let age=parseInt(vage,10); if(age{ _plug.Force.virtualFile(vpath,r); _plug.Force.loadScript(r,'force-plugin-'+ns); @@ -185,7 +185,7 @@ this.plugin={ }return this; }, cacheExpired:function(){ - var tage='cache/age.txt', + let tage='cache/age.txt', cage=86400000, /* 1 day */ vage=this.Force.virtualFile(tage), nage=(new Date).getTime(), @@ -199,7 +199,7 @@ this.plugin={ vage=this.Force.virtualFile(tage,mage.toString()); return true; } - var age=parseInt(vage,10); + let age=parseInt(vage,10); if(age0){ this.plug.push(nx[0]); this.param[nx[0]]=nx.length>1?nx[1]:null; @@ -244,7 +244,7 @@ this.plugin={ * * @usage: * async function(){ - * var data=await _Force.get(url,upload,download); + * let data=await _Force.get(url,upload,download); * return data; * } */ @@ -277,7 +277,7 @@ this.get=function(url,upl,dnl,dta){ * * @usage: * async function(){ - * var data=await _Force.fetch(method,data,config); + * let data=await _Force.fetch(method,data,config); * return data; * } */ @@ -318,7 +318,7 @@ this.post=function(mt,cb,dt,cf){ dt.method=mt; dt.token=(Math.floor((new Date).getTime()/0x3e8)+(0x5*0x3c)) .toString(0x24); - var mtd=cf.hasOwnProperty('method')?cf.method:'POST', + let mtd=cf.hasOwnProperty('method')?cf.method:'POST', hdr=cf.hasOwnProperty('headers')?cf.headers:null, upl=cf.hasOwnProperty('upload')?cf.upload:null, dnl=cf.hasOwnProperty('download')?cf.download:null, @@ -430,7 +430,7 @@ this.virtualFileClearance=function(){ if(e.changedTouches.length>=0x03 &&!window.VIRTUAL_FILE_CLEARANCE){ window.VIRTUAL_FILE_CLEARANCE=true; - var text='Clear all Force caches?', + let text='Clear all Force caches?', yes=await _Force.confirm(text); window.VIRTUAL_FILE_CLEARANCE=false; if(!yes){return false;} @@ -453,14 +453,14 @@ this.virtualFileClearance=function(){ * bgtap = bool of background tap to close; default: false Usage confirm: - var cp=this.dialog('Delete this file?',false,'Confirm','No') + let cp=this.dialog('Delete this file?',false,'Confirm','No') .addButton(function(e,d){ _Force.splash(d.answer); },'Yes','red').show(); _Force.splash(cp.answer); // has to be wait Usage prompt: - var pr=this.dialog('Insert your text!',true,'Prompt','Cancel') + let pr=this.dialog('Insert your text!',true,'Prompt','Cancel') .addInput(function(e,d){ _Force.splash(e); },'Default Value','text','Insert Text').show(); @@ -470,7 +470,7 @@ this.dialog=function(text,hold,title,oktext,bgtap,cb){ title=typeof title==='string'?title:'Alert'; oktext=typeof oktext==='string'?oktext:'OK'; cb=typeof cb==='function'?cb:function(){}; - var ptext=typeof text==='string'?text + let ptext=typeof text==='string'?text :typeof this.parseJSON==='function' ?this.parseJSON(text):JSON.stringify(text), old=document.getElementById('force-dialog'), @@ -521,7 +521,7 @@ this.dialog=function(text,hold,title,oktext,bgtap,cb){ d.close=function(){ this.bg.remove(); this.classList.remove('force-dialog-show'); - var dialog=this; + let dialog=this; setTimeout(e=>{ dialog.remove(); },300); @@ -530,7 +530,7 @@ this.dialog=function(text,hold,title,oktext,bgtap,cb){ }; d.show=function(){ this.appendTo(document.body); - var dialog=this; + let dialog=this; setTimeout(e=>{ dialog.classList.add('force-dialog-show'); dialog.bg.appendTo(document.body); @@ -551,7 +551,7 @@ this.dialog=function(text,hold,title,oktext,bgtap,cb){ cb=typeof cb==='function'?cb:function(){}; btext=typeof btext==='string'?btext:'Submit'; clr=typeof clr==='string'?clr:'blue'; - var nbut=this.buildElement('div',null,{ + let nbut=this.buildElement('div',null,{ 'class':'force-dialog-button force-dialog-button-left force-dialog-button-'+clr, 'data-text':btext, }); @@ -574,7 +574,7 @@ this.dialog=function(text,hold,title,oktext,bgtap,cb){ def=typeof def==='string'?def:''; type=typeof type==='string'?type:'text'; holder=typeof holder==='string'?holder:''; - var input=this.buildElement('input',null,{ + let input=this.buildElement('input',null,{ 'class':'force-dialog-input', 'type':type, 'value':def, @@ -604,7 +604,7 @@ this.dialog=function(text,hold,title,oktext,bgtap,cb){ }; /* splash message -- requires this.parseJSON */ this.splash=function(str,t,limit){ - var j=false,id='force-splash', + let j=false,id='force-splash', div=document.getElementById(id); if(typeof str!=='string'){ str=this.parseJSON(str,limit); @@ -629,12 +629,12 @@ this.splash=function(str,t,limit){ } div.style.left='-100vw'; document.body.appendChild(div); - var dw=div.offsetWidth/2; + let dw=div.offsetWidth/2; div.style.left='calc(50vw - '+dw+'px)'; if(div){div.addEventListener('contextmenu',this.absorbEvent);} - var tt=t?(t*0x3e8):0xbb8; + let tt=t?(t*0x3e8):0xbb8; window.SPLASH_TIMEOUT=setTimeout(function(e){ - var div=document.getElementById(id); + let div=document.getElementById(id); if(!div){return false;} div.style.top='-100vh'; setTimeout(function(e){ @@ -653,24 +653,24 @@ this.splash=function(str,t,limit){ * pad = int of first space per line; default: 2 */ this.parseJSON=function(obj,limit,space,pad){ - var rtext=''; + let rtext=''; space=space?parseInt(space,10):0; limit=limit?parseInt(limit,10):1; pad=pad?parseInt(pad,10):2; if((typeof obj==='object'&&obj!==null) ||Array.isArray(obj)){ - var start=Array.isArray(obj)?'[':'{', + let start=Array.isArray(obj)?'[':'{', end=Array.isArray(obj)?']':'}'; if(space==0){ rtext+=(' ').repeat(pad*space)+''+start+'\r\n'; } - var len=this.objectLength(obj),counter=0; - for(var i in obj){ + let len=this.objectLength(obj),counter=0; + for(let i in obj){ counter++; - var comma=counter xmlhttp */ - var xmlhttp=false; + let xmlhttp=false; if(window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); }else{ /* older browser xhr */ - var xhf=[ + let xhf=[ function(){return new ActiveXObject("Msxml2.XMLHTTP");}, function(){return new ActiveXObject("Msxml3.XMLHTTP");}, function(){return new ActiveXObject("Microsoft.XMLHTTP");} ]; - for(var i=0;i=0?mt :typeof dt==='object'&&dt!==null?'POST':'GET'; /* open xhr connection */ @@ -764,7 +764,7 @@ this.stream=function(url,cb,er,dt,hd,ul,dl,mt,ud4){ } /* set headers */ if(typeof hd=='object'&&hd!=null){ - for(var i in hd){xmlhttp.setRequestHeader(i,hd[i]);} + for(let i in hd){xmlhttp.setRequestHeader(i,hd[i]);} } /* set callback for upload and download */ xmlhttp.upload.addEventListener('progress',ul,false); @@ -773,8 +773,9 @@ this.stream=function(url,cb,er,dt,hd,ul,dl,mt,ud4){ xmlhttp.addEventListener('readystatechange',function(e){ if(xmlhttp.readyState===4&&xmlhttp.status===200 &&typeof xmlhttp.responseText==='string'){ - try{var res=JSON.parse(xmlhttp.responseText);} - catch(e){var res=xmlhttp.responseText;} + let res=xmlhttp.responseText; + try{res=JSON.parse(xmlhttp.responseText);} + catch(e){res=xmlhttp.responseText;} return cb(res); }else if(xmlhttp.readyState===4){ return er('Error: '+xmlhttp.status+' - ' @@ -799,7 +800,7 @@ this.onFunctionReady=function(fn,cb,cr){ cb=typeof cb==='function'?cb:function(){}; if(typeof fn!=='string'){return cb(false);} if(window.hasOwnProperty(fn)||cr>0x03){ - var res=window.hasOwnProperty(fn) + let res=window.hasOwnProperty(fn) &&typeof window[fn]==='function'?true:false; return cb(res); }cr++; @@ -817,8 +818,8 @@ this.virtualFile=function(f,c){ r=/^force\/virtual\//, k=p+''+f.toString(); if(f===false){ - for(var i=0;i{g.Force.virtualFile(Q,A)})}}else{if("string"!=typeof(E=await this.Force.get(B))||/^error/i.test(E))return await this.Force.alert('Error: Failed to load "'+A+'" app file.'),!1;this.Force.virtualFile(Q,E)}if(this.Force.virtualFileClearance(),this.Force.loadScript(E,"force-app-"+A),!window.hasOwnProperty(A)||"function"!=typeof window[A])return await this.Force.alert('Error: Invalid app "'+A+'" script.'),!1;this.Force.plugin.config=this.config;let w=new window[A](this);return w.hasOwnProperty("init")&&"function"==typeof w.init?(this.Force.loadedApp=w,w.init()):w},cacheExpired:function(){var A="cache/age.txt",B=864e5,Q=this.Force.virtualFile(A),E=(new Date).getTime();this.config.hasOwnProperty("force")&&this.config.force.hasOwnProperty("cache")&&this.config.force.cache.hasOwnProperty("age")&&(B=parseInt(this.config.force.cache.age,10));var g=E+B;return Q?parseInt(Q,10){g.Force.virtualFile(vpath,A),g.Force.loadScript(A,"force-plugin-"+E)}),this.Force.get(pathCSS).then(A=>{g.Force.virtualFile(vpathCSS,A),g.Force.loadStyle(A,"force-plugin-style-"+E)})}}else{if(script=await this.Force.get(path),style=await this.Force.get(pathCSS),"string"!=typeof script||/^error/i.test(script)){await this.Force.alert('Error: Invalid plugin "'+E+'".');continue}this.Force.virtualFile(vpath,script),this.Force.virtualFile(vpathCSS,style)}if(this.Force.loadScript(script,"force-plugin-"+E),this.Force.loadStyle(style,"force-plugin-style-"+E),!window.hasOwnProperty(E)||"function"!=typeof window[E]){await this.Force.alert('Error: Invalid plugin "'+E+'".');continue}B({loaded:Q,total:this.plug.length})}return this},cacheExpired:function(){var A="cache/age.txt",B=864e5,Q=this.Force.virtualFile(A),E=(new Date).getTime(),g=E+B;return(this.config.hasOwnProperty("force")&&this.config.force.hasOwnProperty("cache")&&this.config.force.cache.hasOwnProperty("age")&&(B=parseInt(this.config.force.cache.age,10)),Q)?parseInt(Q,10)this.plug.indexOf(A))this.plug.push(A),this.param[A]=void 0===B?null:B,"string"==typeof Q&&(this.hosts[A]=Q);else if(Array.isArray(A))for(var E of A)Array.isArray(E)&&E.length>0?(this.plug.push(E[0]),this.param[E[0]]=E.length>1?E[1]:null,E.length>2&&"string"==typeof E[2]&&(this.hosts[E[0]]=E[2])):"string"==typeof E&&(this.plug.push(E),this.param[E]=null);return this}},this.get=function(B,Q,E,g){return new Promise(w=>{A.post("_Force.get",A=>{w(A)},g,{method:"GET",upload:Q,download:E,host:B})})},this.fetch=function(B,Q,E){return new Promise(g=>{A.post(B,A=>{g(A)},Q,E)})},this.post=function(A,B,Q,E){if(B="function"==typeof B?B:function(){},"string"!=typeof A)return this.temp(B);E="object"==typeof E&&null!==E?E:{},(Q="object"==typeof Q&&null!==Q?Q:{}).method=A,Q.token=(Math.floor((new Date).getTime()/1e3)+300).toString(36);var g=E.hasOwnProperty("method")?E.method:"POST",w=E.hasOwnProperty("headers")?E.headers:null,C=E.hasOwnProperty("upload")?E.upload:null,D=E.hasOwnProperty("download")?E.download:null,o=E.hasOwnProperty("underfour")?E.underfour:null,I=E.hasOwnProperty("host")&&"string"==typeof E.host?E.host:this.host,t=/\?/.test(I)?"&":"?",c=this.buildQuery(Q);return this.pkey&&"POST"==g&&(Q.pkey=this.pkey),I+="GET"==g?t+c:"",this.stream(I,B,B,Q,w,C,D,g,o)},this.alert=function(B){return new Promise(Q=>{A.dialogAlert(B,A=>{Q(A)})})},this.confirm=function(B){return new Promise(Q=>{A.dialogConfirm((A,B)=>{Q(A)},B)})},this.prompt=function(B,Q){return new Promise(E=>{A.dialogPrompt((A,B)=>{E(A)},B,Q)})},this.dialogAlert=function(A,B){B="function"==typeof B?B:function(){},this.dialog(A,!1,"Alert","OK",!1,function(A){B(A)})},this.dialogConfirm=function(A,B){A="function"==typeof A?A:function(){},this.dialog(B,!0,"Confirm","No",!1).addButton(A,"Yes","red").show()},this.dialogPrompt=function(A,B,Q,E,g){A="function"==typeof A?A:function(){},Q="string"==typeof Q?Q:"",E="string"==typeof E?E:"text",g="string"==typeof g?g:"",this.dialog(B,!0,"Prompt","Cancel").addInput(A,Q,E,g).show()},this.virtualFileClearance=function(){window.VIRTUAL_FILE_CLEARANCE=!1,window.addEventListener("touchmove",async function(B){if(B.changedTouches.length>=3&&!window.VIRTUAL_FILE_CLEARANCE){window.VIRTUAL_FILE_CLEARANCE=!0;var Q=await A.confirm("Clear all Force caches?");return window.VIRTUAL_FILE_CLEARANCE=!1,!!Q&&(A.splash("All caches has been cleared."),A.virtualFile(!1))}},!1)},this.dialog=function(A,B,Q,E,g,w){Q="string"==typeof Q?Q:"Alert",E="string"==typeof E?E:"OK",w="function"==typeof w?w:function(){};var C="string"==typeof A?A:"function"==typeof this.parseJSON?this.parseJSON(A):JSON.stringify(A),D=document.getElementById("force-dialog"),o=document.getElementById("force-dialog-background"),I=this.buildElement("div",null,{class:"force-dialog-title","data-text":Q}),t=this.buildElement("div",null,{class:"force-dialog-text"+("string"==typeof A?"":" force-dialog-text-left"),"data-text":C}),c=this.buildElement("div",null,{class:"force-dialog-text-out"},[t]),e=this.buildElement("div",null,{class:"force-dialog-button","data-text":E,"data-type":"ok"}),i=this.buildElement("div",null,{class:"force-dialog-button-out"},[e]),F=this.buildElement("div",null,{class:"force-dialog-background",id:"force-dialog-background"}),r=this.buildElement("div",null,{class:"force-dialog",id:"force-dialog"},[I,c,i,]);return D&&D.parentNode.removeChild(D),o&&o.parentNode.removeChild(o),r.bg=F,r.button=e,r.buttonOut=i,r.buildElement=this.buildElement,r.answer=null,r.textOut=c,F.dialog=r,e.dialog=r,e.callback=w,e.text=A,r.close=function(){this.bg.remove(),this.classList.remove("force-dialog-show");var A=this;return setTimeout(B=>{A.remove()},300),this.answer=!1,this},r.show=function(){this.appendTo(document.body);var A=this;return setTimeout(B=>{A.classList.add("force-dialog-show"),A.bg.appendTo(document.body)},100),this},e.addEventListener("click",function(A){return this.dialog.close(),this.callback(this.text,this.dialog)}),F.addEventListener("click",function(A){g&&this.dialog.close()}),r.addButton=function(A,B,Q){A="function"==typeof A?A:function(){},B="string"==typeof B?B:"Submit",Q="string"==typeof Q?Q:"blue";var E=this.buildElement("div",null,{class:"force-dialog-button force-dialog-button-left force-dialog-button-"+Q,"data-text":B});return this.buttonOut.insertBefore(E,this.button),E.dialog=this,E.addEventListener("click",function(B){return this.dialog.close(),this.dialog.answer=!0,A(!0,this.dialog)}),this.button.addEventListener("click",function(B){return this.dialog.close(),A(!1,this.dialog)}),this},r.addInput=function(A,B,Q,E){A="function"==typeof A?A:function(){},B="string"==typeof B?B:"",Q="string"==typeof Q?Q:"text",E="string"==typeof E?E:"";var g=this.buildElement("input",null,{class:"force-dialog-input",type:Q,value:B,placeholder:E,"data-touch":"first"});return this.addButton(function(B,Q){return B?A(g.value,Q):A(!1,Q)}),g.appendTo(this.textOut),g.addEventListener("focus",function(A){"first"==this.dataset.touch&&(this.select(),this.dataset.touch="last")}),this.input=g,this},!0!==B&&r.show(),r},this.splash=function(A,B,Q){var E=!1,g="force-splash",w=document.getElementById(g);"string"!=typeof A&&(A=this.parseJSON(A,Q),E=!0),w&&w.parentNode.removeChild(w),window.SPLASH_TIMEOUT&&clearTimeout(window.SPLASH_TIMEOUT),(w=document.createElement("div")).innerText=A,w.id=g,w.classList.add("force-splash"),w.style.textAlign=E?"left":"center",A.match(/[\u0600-\u06ff]/ig)?(w.style.direction="rtl",w.style.fontFamily="arabic",w.style.fontSize="125%",w.style.textAlign="right"):w.style.width="auto",w.style.left="-100vw",document.body.appendChild(w);var C=w.offsetWidth/2;w.style.left="calc(50vw - "+C+"px)",w&&w.addEventListener("contextmenu",this.absorbEvent),window.SPLASH_TIMEOUT=setTimeout(function(A){var B=document.getElementById(g);if(!B)return!1;B.style.top="-100vh",setTimeout(function(A){if(!B)return!1;B.parentNode.removeChild(B)},1500)},B?1e3*B:3e3)},this.parseJSON=function(A,B,Q,E){var g="";if(Q=Q?parseInt(Q,10):0,B=B?parseInt(B,10):1,E=E?parseInt(E,10):2,"object"==typeof A&&null!==A||Array.isArray(A)){var w=Array.isArray(A)?"[":"{",C=Array.isArray(A)?"]":"}";0==Q&&(g+=" ".repeat(E*Q)+""+w+"\r\n");var D=this.objectLength(A),o=0;for(var I in A){var t=++o=0?D:"object"==typeof E&&null!==E?"POST":"GET",I.open(D,A,!0),"object"==typeof E&&null!==E&&"function"!=typeof E.append&&(I.setRequestHeader("Content-type","application/x-www-form-urlencoded"),E=this.buildQuery(E)),"object"==typeof g&&null!=g)for(var c in g)I.setRequestHeader(c,g[c]);I.upload.addEventListener("progress",w,!1),I.addEventListener("progress",C,!1),I.addEventListener("readystatechange",function(A){if(4===I.readyState&&200===I.status&&"string"==typeof I.responseText){try{var E=JSON.parse(I.responseText)}catch(g){var E=I.responseText}return B(E)}return 4===I.readyState?Q("Error: "+I.status+" - "+(0===I.status?"No Connection":I.statusText)):I.readyState<4?o("Force::stream--> "+I.readyState+" "+I.status+" "+I.statusText):Q("Error: "+I.status+" "+I.statusText)},!1),I.send(E)},this.onFunctionReady=function(B,Q,E){return(E=E?parseInt(E):0,Q="function"==typeof Q?Q:function(){},"string"!=typeof B)?Q(!1):window.hasOwnProperty(B)||E>3?Q(!!window.hasOwnProperty(B)&&"function"==typeof window[B]):(E++,setTimeout(function(){A.onFunctionReady(B,Q,E)},100))},this.virtualFile=function(A,B){let Q=/^force\/virtual\//,E="force/virtual/"+A.toString();if(!1===A){for(var g=0;g{g.Force.virtualFile(Q,A)})}}else{if("string"!=typeof(E=await this.Force.get(B))||/^error/i.test(E))return await this.Force.alert('Error: Failed to load "'+A+'" app file.'),!1;this.Force.virtualFile(Q,E)}if(this.Force.virtualFileClearance(),this.Force.loadScript(E,"force-app-"+A),!window.hasOwnProperty(A)||"function"!=typeof window[A])return await this.Force.alert('Error: Invalid app "'+A+'" script.'),!1;this.Force.plugin.config=this.config;let w=new window[A](this);return w.hasOwnProperty("init")&&"function"==typeof w.init?(this.Force.loadedApp=w,w.init()):w},cacheExpired:function(){let A="cache/age.txt",B=864e5,Q=this.Force.virtualFile(A),E=(new Date).getTime();this.config.hasOwnProperty("force")&&this.config.force.hasOwnProperty("cache")&&this.config.force.cache.hasOwnProperty("age")&&(B=parseInt(this.config.force.cache.age,10));let g=E+B;return Q?parseInt(Q,10){w.Force.virtualFile(vpath,A),w.Force.loadScript(A,"force-plugin-"+E)}),this.Force.get(pathCSS).then(A=>{w.Force.virtualFile(vpathCSS,A),w.Force.loadStyle(A,"force-plugin-style-"+E)})}}else{if(script=await this.Force.get(path),style=await this.Force.get(pathCSS),"string"!=typeof script||/^error/i.test(script)){await this.Force.alert('Error: Invalid plugin "'+E+'".');continue}this.Force.virtualFile(vpath,script),this.Force.virtualFile(vpathCSS,style)}if(this.Force.loadScript(script,"force-plugin-"+E),this.Force.loadStyle(style,"force-plugin-style-"+E),!window.hasOwnProperty(E)||"function"!=typeof window[E]){await this.Force.alert('Error: Invalid plugin "'+E+'".');continue}B({loaded:Q,total:this.plug.length})}return this},cacheExpired:function(){let A="cache/age.txt",B=864e5,Q=this.Force.virtualFile(A),E=(new Date).getTime(),g=E+B;return(this.config.hasOwnProperty("force")&&this.config.force.hasOwnProperty("cache")&&this.config.force.cache.hasOwnProperty("age")&&(B=parseInt(this.config.force.cache.age,10)),Q)?parseInt(Q,10)this.plug.indexOf(A))this.plug.push(A),this.param[A]=void 0===B?null:B,"string"==typeof Q&&(this.hosts[A]=Q);else if(Array.isArray(A))for(let E of A)Array.isArray(E)&&E.length>0?(this.plug.push(E[0]),this.param[E[0]]=E.length>1?E[1]:null,E.length>2&&"string"==typeof E[2]&&(this.hosts[E[0]]=E[2])):"string"==typeof E&&(this.plug.push(E),this.param[E]=null);return this}},this.get=function(B,Q,E,g){return new Promise(w=>{A.post("_Force.get",A=>{w(A)},g,{method:"GET",upload:Q,download:E,host:B})})},this.fetch=function(B,Q,E){return new Promise(g=>{A.post(B,A=>{g(A)},Q,E)})},this.post=function(A,B,Q,E){if(B="function"==typeof B?B:function(){},"string"!=typeof A)return this.temp(B);E="object"==typeof E&&null!==E?E:{},(Q="object"==typeof Q&&null!==Q?Q:{}).method=A,Q.token=(Math.floor((new Date).getTime()/1e3)+300).toString(36);let g=E.hasOwnProperty("method")?E.method:"POST",w=E.hasOwnProperty("headers")?E.headers:null,C=E.hasOwnProperty("upload")?E.upload:null,D=E.hasOwnProperty("download")?E.download:null,o=E.hasOwnProperty("underfour")?E.underfour:null,I=E.hasOwnProperty("host")&&"string"==typeof E.host?E.host:this.host,t=/\?/.test(I)?"&":"?",e=this.buildQuery(Q);return this.pkey&&"POST"==g&&(Q.pkey=this.pkey),I+="GET"==g?t+e:"",this.stream(I,B,B,Q,w,C,D,g,o)},this.alert=function(B){return new Promise(Q=>{A.dialogAlert(B,A=>{Q(A)})})},this.confirm=function(B){return new Promise(Q=>{A.dialogConfirm((A,B)=>{Q(A)},B)})},this.prompt=function(B,Q){return new Promise(E=>{A.dialogPrompt((A,B)=>{E(A)},B,Q)})},this.dialogAlert=function(A,B){B="function"==typeof B?B:function(){},this.dialog(A,!1,"Alert","OK",!1,function(A){B(A)})},this.dialogConfirm=function(A,B){A="function"==typeof A?A:function(){},this.dialog(B,!0,"Confirm","No",!1).addButton(A,"Yes","red").show()},this.dialogPrompt=function(A,B,Q,E,g){A="function"==typeof A?A:function(){},Q="string"==typeof Q?Q:"",E="string"==typeof E?E:"text",g="string"==typeof g?g:"",this.dialog(B,!0,"Prompt","Cancel").addInput(A,Q,E,g).show()},this.virtualFileClearance=function(){window.VIRTUAL_FILE_CLEARANCE=!1,window.addEventListener("touchmove",async function(B){if(B.changedTouches.length>=3&&!window.VIRTUAL_FILE_CLEARANCE){window.VIRTUAL_FILE_CLEARANCE=!0;let Q=await A.confirm("Clear all Force caches?");return window.VIRTUAL_FILE_CLEARANCE=!1,!!Q&&(A.splash("All caches has been cleared."),A.virtualFile(!1))}},!1)},this.dialog=function(A,B,Q,E,g,w){Q="string"==typeof Q?Q:"Alert",E="string"==typeof E?E:"OK",w="function"==typeof w?w:function(){};let C="string"==typeof A?A:"function"==typeof this.parseJSON?this.parseJSON(A):JSON.stringify(A),D=document.getElementById("force-dialog"),o=document.getElementById("force-dialog-background"),I=this.buildElement("div",null,{class:"force-dialog-title","data-text":Q}),t=this.buildElement("div",null,{class:"force-dialog-text"+("string"==typeof A?"":" force-dialog-text-left"),"data-text":C}),e=this.buildElement("div",null,{class:"force-dialog-text-out"},[t]),c=this.buildElement("div",null,{class:"force-dialog-button","data-text":E,"data-type":"ok"}),i=this.buildElement("div",null,{class:"force-dialog-button-out"},[c]),F=this.buildElement("div",null,{class:"force-dialog-background",id:"force-dialog-background"}),s=this.buildElement("div",null,{class:"force-dialog",id:"force-dialog"},[I,e,i,]);return D&&D.parentNode.removeChild(D),o&&o.parentNode.removeChild(o),s.bg=F,s.button=c,s.buttonOut=i,s.buildElement=this.buildElement,s.answer=null,s.textOut=e,F.dialog=s,c.dialog=s,c.callback=w,c.text=A,s.close=function(){this.bg.remove(),this.classList.remove("force-dialog-show");let A=this;return setTimeout(B=>{A.remove()},300),this.answer=!1,this},s.show=function(){this.appendTo(document.body);let A=this;return setTimeout(B=>{A.classList.add("force-dialog-show"),A.bg.appendTo(document.body)},100),this},c.addEventListener("click",function(A){return this.dialog.close(),this.callback(this.text,this.dialog)}),F.addEventListener("click",function(A){g&&this.dialog.close()}),s.addButton=function(A,B,Q){A="function"==typeof A?A:function(){},B="string"==typeof B?B:"Submit",Q="string"==typeof Q?Q:"blue";let E=this.buildElement("div",null,{class:"force-dialog-button force-dialog-button-left force-dialog-button-"+Q,"data-text":B});return this.buttonOut.insertBefore(E,this.button),E.dialog=this,E.addEventListener("click",function(B){return this.dialog.close(),this.dialog.answer=!0,A(!0,this.dialog)}),this.button.addEventListener("click",function(B){return this.dialog.close(),A(!1,this.dialog)}),this},s.addInput=function(A,B,Q,E){A="function"==typeof A?A:function(){},B="string"==typeof B?B:"",Q="string"==typeof Q?Q:"text",E="string"==typeof E?E:"";let g=this.buildElement("input",null,{class:"force-dialog-input",type:Q,value:B,placeholder:E,"data-touch":"first"});return this.addButton(function(B,Q){return B?A(g.value,Q):A(!1,Q)}),g.appendTo(this.textOut),g.addEventListener("focus",function(A){"first"==this.dataset.touch&&(this.select(),this.dataset.touch="last")}),this.input=g,this},!0!==B&&s.show(),s},this.splash=function(A,B,Q){let E=!1,g="force-splash",w=document.getElementById(g);"string"!=typeof A&&(A=this.parseJSON(A,Q),E=!0),w&&w.parentNode.removeChild(w),window.SPLASH_TIMEOUT&&clearTimeout(window.SPLASH_TIMEOUT),(w=document.createElement("div")).innerText=A,w.id=g,w.classList.add("force-splash"),w.style.textAlign=E?"left":"center",A.match(/[\u0600-\u06ff]/ig)?(w.style.direction="rtl",w.style.fontFamily="arabic",w.style.fontSize="125%",w.style.textAlign="right"):w.style.width="auto",w.style.left="-100vw",document.body.appendChild(w);let C=w.offsetWidth/2;w.style.left="calc(50vw - "+C+"px)",w&&w.addEventListener("contextmenu",this.absorbEvent),window.SPLASH_TIMEOUT=setTimeout(function(A){let B=document.getElementById(g);if(!B)return!1;B.style.top="-100vh",setTimeout(function(A){if(!B)return!1;B.parentNode.removeChild(B)},1500)},B?1e3*B:3e3)},this.parseJSON=function(A,B,Q,E){let g="";if(Q=Q?parseInt(Q,10):0,B=B?parseInt(B,10):1,E=E?parseInt(E,10):2,"object"==typeof A&&null!==A||Array.isArray(A)){let w=Array.isArray(A)?"[":"{",C=Array.isArray(A)?"]":"}";0==Q&&(g+=" ".repeat(E*Q)+""+w+"\r\n");let D=this.objectLength(A),o=0;for(let I in A){let t=++o=0?D:"object"==typeof E&&null!==E?"POST":"GET",I.open(D,A,!0),"object"==typeof E&&null!==E&&"function"!=typeof E.append&&(I.setRequestHeader("Content-type","application/x-www-form-urlencoded"),E=this.buildQuery(E)),"object"==typeof g&&null!=g)for(let i in g)I.setRequestHeader(i,g[i]);I.upload.addEventListener("progress",w,!1),I.addEventListener("progress",C,!1),I.addEventListener("readystatechange",function(A){if(4===I.readyState&&200===I.status&&"string"==typeof I.responseText){let E=I.responseText;try{E=JSON.parse(I.responseText)}catch(g){E=I.responseText}return B(E)}return 4===I.readyState?Q("Error: "+I.status+" - "+(0===I.status?"No Connection":I.statusText)):I.readyState<4?o("Force::stream--> "+I.readyState+" "+I.status+" "+I.statusText):Q("Error: "+I.status+" "+I.statusText)},!1),I.send(E)},this.onFunctionReady=function(B,Q,E){return(E=E?parseInt(E):0,Q="function"==typeof Q?Q:function(){},"string"!=typeof B)?Q(!1):window.hasOwnProperty(B)||E>3?Q(!!window.hasOwnProperty(B)&&"function"==typeof window[B]):(E++,setTimeout(function(){A.onFunctionReady(B,Q,E)},100))},this.virtualFile=function(A,B){let Q=/^force\/virtual\//,E="force/virtual/"+A.toString();if(!1===A){for(let g=0;g\x20','plug','appendChild','config','repeat','125%','root','loaderCSS','parseJSON','touchmove','objectLength','\x22\x20app\x20file.','answer','addEventListener','cache','\x22\x20:\x20','innerText','info','src','force-loader-text','force-loader-info','plugins','returnValue','init','screen,print','.force-dialog{transition:all\x200.3s\x20ease\x200s;width:270px;height:auto;max-height:270px;margin:0px;padding:0px;background-color:#fff;display:block;position:fixed;z-index:99999;top:-100vh;left:calc(50vw\x20-\x20135px);box-shadow:0px\x200px\x2015px\x20#999;border:0px\x20none;border-radius:10px;overflow:hidden;font-family:arialnarrow,system-ui,monospace;}.force-dialog-show{top:calc(50vh\x20-\x20135px);}.force-dialog-background{transition:all\x200.5s\x20ease\x200s;width:100vw;height:100vh;margin:0px;padding:0px;background-color:#fff;opacity:0.5;display:block;position:fixed;z-index:99998;top:0px;left:0px;right:0px;bottom:0px;border:0px\x20none;overflow:hidden;}.force-dialog-title{font-weight:bold;font-size:20px;color:#555;border-bottom:1px\x20solid\x20#ddd;box-shadow:0px\x201px\x205px\x20#ddd;margin:0px;padding:0px;text-align:center;height:50px;line-height:50px;overflow:hidden;white-space:pre-wrap;font-family:inherit,system-ui,monospace;}.force-dialog-title:before{content:attr(data-text);}.force-dialog-text-out{margin:0px;padding:20px\x2010px;overflow:hidden;}.force-dialog-text{font-size:16px;color:#555;margin:0px;padding:0px;overflow-x:hidden;overflow-y:auto;white-space:pre-wrap;word-wrap:pre-wrap;word-break:break-all;height:auto;max-height:113px;text-align:center;font-family:inherit,system-ui,monospace;}.force-dialog-text:before{content:attr(data-text);}.force-dialog-text-left{text-align:left;}.force-dialog-input{width:calc(100%\x20-\x2020px);font-size:16px;border:1px\x20solid\x20#ddd;border-radius:5px;margin:10px\x2010px\x2010px;padding:7px\x2013px;color:#333;font-weight:normal;background-color:#eed;font-family:inherit,system-ui,monospace;}.force-dialog-button-out{border-top:1px\x20solid\x20#ddd;box-shadow:0px\x20-1px\x205px\x20#ddd;margin:0px;padding:0px;text-align:center;height:65px;line-height:60px;overflow:hidden;}.force-dialog-button:focus{background-color:#ccb;outline:none;}.force-dialog-button:hover{background-color:#ddc;}.force-dialog-button:disabled{background-color:#ddc;color:#333;opacity:0.8;}.force-dialog-button:before{content:attr(data-text);}.force-dialog-button{background-color:#eed;padding:7px\x2013px;border:0px\x20none;color:#333;font-size:16px;line-height:16px;margin:0px\x200px;border-radius:3px;cursor:default;transition:all\x200.3s\x20ease\x200s;box-shadow:1px\x201px\x203px\x20#777;outline:none;font-weight:bold;font-family:inherit,system-ui,monospace;display:inline-block;cursor:default;}.force-dialog-button-left{margin-right:10px;}.force-dialog-button-blue:focus{background-color:#159;}.force-dialog-button-blue:hover{background-color:#26a;}.force-dialog-button-blue{color:#fff;background-color:#37b;}.force-dialog-button-soft-green:focus{background-color:#591;}.force-dialog-button-soft-green:hover{background-color:#6a2;}.force-dialog-button-soft-green{color:#fff;background-color:#7b3;}.force-dialog-button-orange:focus{background-color:#951;}.force-dialog-button-orange:hover{background-color:#a62;}.force-dialog-button-orange{color:#fff;background-color:#b73;}.force-dialog-button-red:focus{background-color:#a11;}.force-dialog-button-red:hover{background-color:#b22;}.force-dialog-button-red{color:#fff;background-color:#c33;}.force-dialog-button-yellow:focus{background-color:#aa1;}.force-dialog-button-yellow:hover{background-color:#bb2;}.force-dialog-button-yellow{color:#fff;background-color:#cc3;}.force-dialog-button-purple:focus{background-color:#519;}.force-dialog-button-purple:hover{background-color:#62a;}.force-dialog-button-purple{color:#fff;background-color:#73b;}.force-dialog-button-pink:focus{background-color:#915;}.force-dialog-button-pink:hover{background-color:#a26;}.force-dialog-button-pink{color:#fff;background-color:#b37;}.force-dialog-button-tosca:focus{background-color:#195;}.force-dialog-button-tosca:hover{background-color:#2a6;}.force-dialog-button-tosca{color:#fff;background-color:#3b7;}.force-dialog-button-violet:focus{background-color:#a1a;}.force-dialog-button-violet:hover{background-color:#b2b;}.force-dialog-button-violet{color:#fff;background-color:#c3c;}.force-dialog-button-light-blue:focus{background-color:#1aa;}.force-dialog-button-light-blue:hover{background-color:#2bb;}.force-dialog-button-light-blue{color:#fff;background-color:#3cc;}.force-dialog-button-dark-blue:focus{background-color:#11a;}.force-dialog-button-dark-blue:hover{background-color:#22b;}.force-dialog-button-dark-blue{color:#fff;background-color:#33c;}.force-dialog-button-green:focus{background-color:#1a1;}.force-dialog-button-green:hover{background-color:#2b2;}.force-dialog-button-green{color:#fff;background-color:#3c3;}','Error:\x20Invalid\x20plugin\x20\x22','insertBefore','10446552Kmmazs','textContent','buildQuery','text/css','toString','offsetWidth','force-plugin-style-','24lrpODA','force-loader','2137104EYpyPd','force-dialog-button','loadStyleFile','number','Error:\x20','fontCSS','pkey','DELETE','upload','[***LIMITED:','absorbEvent','boolean','readyState','split','70175wVtUHU','dialogAlert','post','indexOf','head','getTime','11159937owvfTR','script','headers','force-dialog-title','force-dialog','add','Content-type','getItem','dialogCSS','Submit','param','buildElement','host','.css','join','send','hasOwnProperty','confirm','module','Alert','_Force.get','cacheExpired','force-dialog-background','buttonOut','textOut','\x20force-dialog-text-left','force-dialog-show','dialogPrompt','method','object','cache/age.txt','isArray','1942540QkbUHZ','string','touch','prompt','status','SPLASH_TIMEOUT','calc(50vw\x20-\x20','stopPropagation','temp','stream','right','addInput','first','PUT','callback','auto','token','random','true','\x22\x20script.','-info','then','text/javascript','readystatechange','childNodes','.js','2tmDwJO','alert','loadModuleFile','-100vh','false','fontFamily','?id=','value','link','key','show','fontSize','HEAD','media','All\x20caches\x20has\x20been\x20cleared.','force-dialog-button\x20force-dialog-button-left\x20force-dialog-button-','loadStyle','onFunctionReady','force-dialog-button-out','defineProperty','force-loader-background','open','parentNode','args','namespace','input','push','style','force-splash','arabic','preventDefault','cancelBubble','length','age','alt','parse','remove','force-plugin-','force-app-','defer','-text','GET','force-loader-progress','screen','setItem','force-loader-info-with-progress',']\x22\x0d\x0a','56806mhjdDY','removeChild','blink','close','loadScript','type','virtualFile','addButton','get','loadScriptFile','32px','OPTIONS','classList','body','plugins/','rtl','select','script[id=\x22','setRequestHeader','\x22\x0d\x0a','app','blue','.force-loader{position:fixed;width:0px;height:0px;top:50%;left:50%;z-index:10000;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-family:arialnarrow,system-ui,monospace;}.force-loader-background{background-color:#fff;opacity:1;position:fixed;width:100%;height:100%;top:0px;left:0px;right:0px;bottom:0px;margin:0px;padding:0px;z-index:10001;}.force-loader-image{margin:-70px\x200px\x200px\x200px;padding:0px;left:0px;width:100%;height:32px;line-height:32px;vertical-align:top;text-align:center;font-family:inherit,system-ui,monospace;color:#777;font-size:13px;z-index:10002;position:fixed;}.force-loader-image\x20img{width:32px;height:32px;}.force-loader-text{margin:-35px\x200px\x200px\x200px;padding:0px;left:0px;width:100%;height:50px;cursor:default;line-height:15px;vertical-align:top;text-align:center;position:fixed;font-family:inherit,system-ui,monospace;color:#777;font-size:13px;z-index:10002;}.force-loader-info{margin:-19px\x200px\x200px\x200px;padding:0px;left:0px;width:100%;height:50px;cursor:default;line-height:15px;vertical-align:top;text-align:center;position:fixed;font-family:inherit,system-ui,monospace;color:#777;font-size:13px;z-index:10002;}.force-loader-info-with-progress{margin:-4px\x200px\x200px\x200px;}.force-loader-progress{margin:-13px\x200px\x200px\x200px;padding:0px;height:5px;border:0px\x20none;border-radius:2px;width:calc(100%\x20-\x2030px);background-color:#ddd;transition:all\x200.1s\x20ease\x200s;cursor:default;position:fixed;z-index:10002;left:15px;}.force-loader-progress::-moz-progress-bar{background:#9d5;border-radius:2px;}.force-loader-progress::-webkit-progress-value{background:#9d5;border-radius:2px;}.force-loader-progress::-webkit-progress-bar{background:#ddd;border-radius:2px;}.force-splash{display:block;position:fixed;z-index:9999;top:7%;left:calc(15%\x20-\x2020px);background-color:#000;color:#fff;opacity:0.5;padding:10px\x2020px;width:70%;max-width:70%;max-height:70%;text-align:center;border:0px\x20none;border-radius:7px;transition:all\x200.3s\x20ease\x200s;white-space:pre-wrap;overflow-x:hidden;overflow-y:auto;word-break:break-word;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:13px;font-family:arialnarrow,system-ui,monospace;}','appendTo','force-loader-css','5427745KnJDmt','Msxml2.XMLHTTP','force','force-dialog-text-out','Confirm','getElementById','null','fetch','Error:\x20Failed\x20to\x20load\x20\x22','loadModule','dialogConfirm'];_0x34c3=function(){return _0x159135;};return _0x34c3();}const Force=function(){var _0x4cec8f=_0x3fb6;Object[_0x4cec8f(0x263)](this,'version',{'value':'1.4.1','writable':!0x1}),this[_0x4cec8f(0x222)]=null,this[_0x4cec8f(0x208)]=null,this['loadedApp']=null;let _0x59f458=this;this[_0x4cec8f(0x1a0)]=function(_0x3a559a,_0x3164c2,_0x511531){var _0x1834d6=_0x4cec8f;return _0x511531=_0x1834d6(0x233)==typeof _0x511531&&null!==_0x511531?_0x511531:{},this[_0x1834d6(0x1e4)](),this[_0x1834d6(0x21e)](),{'root':_0x1834d6(0x237)==typeof _0x3164c2?_0x3164c2:'apps','namespace':_0x3a559a,'config':_0x511531,'Force':this,'init':async function(){var _0x513b96=_0x1834d6,_0x514bf6=this[_0x513b96(0x268)],_0x58e5dd=this['root']+'/'+_0x514bf6+'/'+_0x514bf6+_0x513b96(0x24f),_0x2c09e6=_0x513b96(0x1b9)+_0x514bf6+'/'+_0x514bf6+_0x513b96(0x24f),_0x310d8c=this[_0x513b96(0x1ce)][_0x513b96(0x285)](_0x2c09e6);if(_0x310d8c){if(this[_0x513b96(0x22b)]()){var _0x21d89c=this;this['Force'][_0x513b96(0x287)](_0x58e5dd)[_0x513b96(0x24b)](_0x3d49cc=>{var _0x38de60=_0x513b96;_0x21d89c[_0x38de60(0x1ce)][_0x38de60(0x285)](_0x2c09e6,_0x3d49cc);});}}else{if(_0x513b96(0x237)!=typeof(_0x310d8c=await this['Force'][_0x513b96(0x287)](_0x58e5dd))||/^error/i['test'](_0x310d8c))return await this['Force']['alert'](_0x513b96(0x1ad)+_0x514bf6+_0x513b96(0x1e8)),!0x1;this[_0x513b96(0x1ce)][_0x513b96(0x285)](_0x2c09e6,_0x310d8c);}if(this[_0x513b96(0x1ce)][_0x513b96(0x1d5)](),this[_0x513b96(0x1ce)][_0x513b96(0x283)](_0x310d8c,_0x513b96(0x276)+_0x514bf6),!window[_0x513b96(0x226)](_0x514bf6)||'function'!=typeof window[_0x514bf6])return await this[_0x513b96(0x1ce)][_0x513b96(0x251)]('Error:\x20Invalid\x20app\x20\x22'+_0x514bf6+_0x513b96(0x249)),!0x1;this['Force'][_0x513b96(0x1d7)][_0x513b96(0x1e0)]=this[_0x513b96(0x1e0)];let _0x59804e=new window[_0x514bf6](this);return _0x59804e['hasOwnProperty']('init')&&'function'==typeof _0x59804e[_0x513b96(0x1f4)]?(this['Force']['loadedApp']=_0x59804e,_0x59804e[_0x513b96(0x1f4)]()):_0x59804e;},'cacheExpired':function(){var _0x3aa958=_0x1834d6,_0x38ce86=_0x3aa958(0x234),_0x34422b=0x5265c00,_0x35b7a7=this[_0x3aa958(0x1ce)][_0x3aa958(0x285)](_0x38ce86),_0x173c83=new Date()[_0x3aa958(0x215)]();this[_0x3aa958(0x1e0)][_0x3aa958(0x226)](_0x3aa958(0x1a7))&&this[_0x3aa958(0x1e0)][_0x3aa958(0x1a7)][_0x3aa958(0x226)]('cache')&&this[_0x3aa958(0x1e0)]['force']['cache']['hasOwnProperty'](_0x3aa958(0x271))&&(_0x34422b=parseInt(this['config'][_0x3aa958(0x1a7)][_0x3aa958(0x1eb)][_0x3aa958(0x271)],0xa));var _0x450a4a=_0x173c83+_0x34422b;return _0x35b7a7?parseInt(_0x35b7a7,0xa)<_0x173c83&&(_0x35b7a7=this[_0x3aa958(0x1ce)][_0x3aa958(0x285)](_0x38ce86,_0x450a4a[_0x3aa958(0x1fd)]()),!0x0):(_0x35b7a7=this['Force'][_0x3aa958(0x285)](_0x38ce86,_0x450a4a[_0x3aa958(0x1fd)]()),!0x0);}};},this[_0x4cec8f(0x1d7)]={'root':_0x4cec8f(0x1f2),'plug':[],'param':{},'hosts':{},'Force':this,'config':{},'init':function(){var _0x3f5cf2=_0x4cec8f;for(var _0x179b89 of this[_0x3f5cf2(0x1de)]){var _0x4312a2=new window[_0x179b89](this[_0x3f5cf2(0x220)][_0x179b89]);_0x4312a2[_0x3f5cf2(0x226)](_0x3f5cf2(0x1f4))&&_0x3f5cf2(0x1bb)==typeof _0x4312a2[_0x3f5cf2(0x1f4)]&&_0x4312a2[_0x3f5cf2(0x1f4)](this);}return this;},'prepare':async function(_0x119e1c,_0x7af0c9){var _0x16a4d1=_0x4cec8f;_0x7af0c9=_0x16a4d1(0x1bb)==typeof _0x7af0c9?_0x7af0c9:function(){},_0x119e1c='string'==typeof _0x119e1c?_0x119e1c:this['root'],this[_0x16a4d1(0x1e3)]=_0x119e1c;var _0x431473=0x0;for(var _0x2a3a60 of(_0x7af0c9({'loaded':_0x431473,'total':this[_0x16a4d1(0x1de)]['length']}),this[_0x16a4d1(0x1de)])){_0x431473++;var _0x113038=this,_0x54f773=this[_0x16a4d1(0x1c4)][_0x16a4d1(0x226)](_0x2a3a60)?this[_0x16a4d1(0x1c4)][_0x2a3a60]:_0x119e1c;if(path=_0x54f773+'/'+_0x2a3a60+'/'+_0x2a3a60+_0x16a4d1(0x24f),vpath=_0x16a4d1(0x28d)+_0x2a3a60+'/'+_0x2a3a60+_0x16a4d1(0x24f),pathCSS=_0x54f773+'/'+_0x2a3a60+'/'+_0x2a3a60+_0x16a4d1(0x223),vpathCSS=_0x16a4d1(0x28d)+_0x2a3a60+'/'+_0x2a3a60+'.css',script=this[_0x16a4d1(0x1ce)][_0x16a4d1(0x285)](vpath),style=this[_0x16a4d1(0x1ce)]['virtualFile'](vpathCSS),script){if(this[_0x16a4d1(0x22b)]()){var _0x113038=this;this['Force'][_0x16a4d1(0x287)](path)['then'](_0x12c896=>{var _0x2b6b45=_0x16a4d1;_0x113038[_0x2b6b45(0x1ce)]['virtualFile'](vpath,_0x12c896),_0x113038[_0x2b6b45(0x1ce)][_0x2b6b45(0x283)](_0x12c896,_0x2b6b45(0x275)+_0x2a3a60);}),this[_0x16a4d1(0x1ce)][_0x16a4d1(0x287)](pathCSS)[_0x16a4d1(0x24b)](_0x5211b7=>{var _0xfc226a=_0x16a4d1;_0x113038['Force'][_0xfc226a(0x285)](vpathCSS,_0x5211b7),_0x113038[_0xfc226a(0x1ce)][_0xfc226a(0x260)](_0x5211b7,'force-plugin-style-'+_0x2a3a60);});}}else{if(script=await this[_0x16a4d1(0x1ce)][_0x16a4d1(0x287)](path),style=await this[_0x16a4d1(0x1ce)][_0x16a4d1(0x287)](pathCSS),_0x16a4d1(0x237)!=typeof script||/^error/i['test'](script)){await this[_0x16a4d1(0x1ce)]['alert'](_0x16a4d1(0x1f7)+_0x2a3a60+'\x22.');continue;}this[_0x16a4d1(0x1ce)][_0x16a4d1(0x285)](vpath,script),this[_0x16a4d1(0x1ce)]['virtualFile'](vpathCSS,style);}if(this[_0x16a4d1(0x1ce)][_0x16a4d1(0x283)](script,_0x16a4d1(0x275)+_0x2a3a60),this[_0x16a4d1(0x1ce)][_0x16a4d1(0x260)](style,_0x16a4d1(0x1ff)+_0x2a3a60),!window['hasOwnProperty'](_0x2a3a60)||_0x16a4d1(0x1bb)!=typeof window[_0x2a3a60]){await this[_0x16a4d1(0x1ce)][_0x16a4d1(0x251)](_0x16a4d1(0x1f7)+_0x2a3a60+'\x22.');continue;}_0x7af0c9({'loaded':_0x431473,'total':this['plug'][_0x16a4d1(0x270)]});}return this;},'cacheExpired':function(){var _0x374fe5=_0x4cec8f,_0x5e7e2d=_0x374fe5(0x234),_0x39cac4=0x5265c00,_0xc3c6dc=this[_0x374fe5(0x1ce)][_0x374fe5(0x285)](_0x5e7e2d),_0x3b177c=new Date()['getTime'](),_0x239bfc=_0x3b177c+_0x39cac4;return(this[_0x374fe5(0x1e0)]['hasOwnProperty'](_0x374fe5(0x1a7))&&this[_0x374fe5(0x1e0)]['force'][_0x374fe5(0x226)](_0x374fe5(0x1eb))&&this[_0x374fe5(0x1e0)][_0x374fe5(0x1a7)]['cache'][_0x374fe5(0x226)](_0x374fe5(0x271))&&(_0x39cac4=parseInt(this[_0x374fe5(0x1e0)][_0x374fe5(0x1a7)][_0x374fe5(0x1eb)][_0x374fe5(0x271)],0xa)),_0xc3c6dc)?parseInt(_0xc3c6dc,0xa)<_0x3b177c&&(_0xc3c6dc=this[_0x374fe5(0x1ce)][_0x374fe5(0x285)](_0x5e7e2d,_0x239bfc[_0x374fe5(0x1fd)]()),!0x0):(_0xc3c6dc=this['Force'][_0x374fe5(0x285)](_0x5e7e2d,_0x239bfc[_0x374fe5(0x1fd)]()),!0x0);},'register':function(_0x588b30,_0x3b7f3c,_0x3218f0){var _0x174f66=_0x4cec8f;if(_0x174f66(0x237)==typeof _0x588b30&&/^[a-zA-Z][a-zA-Z0-9_]+$/[_0x174f66(0x1bc)](_0x588b30)&&0x0>this['plug'][_0x174f66(0x213)](_0x588b30))this[_0x174f66(0x1de)]['push'](_0x588b30),this[_0x174f66(0x220)][_0x588b30]=void 0x0===_0x3b7f3c?null:_0x3b7f3c,_0x174f66(0x237)==typeof _0x3218f0&&(this[_0x174f66(0x1c4)][_0x588b30]=_0x3218f0);else{if(Array['isArray'](_0x588b30)){for(var _0x1d1f73 of _0x588b30)Array[_0x174f66(0x235)](_0x1d1f73)&&_0x1d1f73[_0x174f66(0x270)]>0x0?(this[_0x174f66(0x1de)][_0x174f66(0x26a)](_0x1d1f73[0x0]),this['param'][_0x1d1f73[0x0]]=_0x1d1f73['length']>0x1?_0x1d1f73[0x1]:null,_0x1d1f73[_0x174f66(0x270)]>0x2&&'string'==typeof _0x1d1f73[0x2]&&(this['hosts'][_0x1d1f73[0x0]]=_0x1d1f73[0x2])):_0x174f66(0x237)==typeof _0x1d1f73&&(this[_0x174f66(0x1de)]['push'](_0x1d1f73),this['param'][_0x1d1f73]=null);}}return this;}},this[_0x4cec8f(0x287)]=function(_0x4d550a,_0xae41a1,_0x4a1960,_0x1b88e5){return new Promise(_0x1d8949=>{var _0x4aa849=_0x3fb6;_0x59f458['post'](_0x4aa849(0x22a),_0x5370c4=>{_0x1d8949(_0x5370c4);},_0x1b88e5,{'method':_0x4aa849(0x279),'upload':_0xae41a1,'download':_0x4a1960,'host':_0x4d550a});});},this[_0x4cec8f(0x1ac)]=function(_0x1c08d0,_0x4b2567,_0x44bb72){return new Promise(_0x4d3c59=>{var _0x315449=_0x3fb6;_0x59f458[_0x315449(0x212)](_0x1c08d0,_0x41f0f1=>{_0x4d3c59(_0x41f0f1);},_0x4b2567,_0x44bb72);});},this[_0x4cec8f(0x212)]=function(_0xe7d91b,_0x5702ca,_0x55db3c,_0x5b9f5d){var _0x32bbeb=_0x4cec8f;if(_0x5702ca='function'==typeof _0x5702ca?_0x5702ca:function(){},_0x32bbeb(0x237)!=typeof _0xe7d91b)return this[_0x32bbeb(0x23e)](_0x5702ca);_0x5b9f5d='object'==typeof _0x5b9f5d&&null!==_0x5b9f5d?_0x5b9f5d:{},(_0x55db3c=_0x32bbeb(0x233)==typeof _0x55db3c&&null!==_0x55db3c?_0x55db3c:{})[_0x32bbeb(0x232)]=_0xe7d91b,_0x55db3c[_0x32bbeb(0x246)]=(Math['floor'](new Date()[_0x32bbeb(0x215)]()/0x3e8)+0x12c)['toString'](0x24);var _0x5e1717=_0x5b9f5d['hasOwnProperty'](_0x32bbeb(0x232))?_0x5b9f5d[_0x32bbeb(0x232)]:_0x32bbeb(0x1dc),_0x47c1a3=_0x5b9f5d[_0x32bbeb(0x226)](_0x32bbeb(0x218))?_0x5b9f5d[_0x32bbeb(0x218)]:null,_0x2d4736=_0x5b9f5d[_0x32bbeb(0x226)](_0x32bbeb(0x20a))?_0x5b9f5d[_0x32bbeb(0x20a)]:null,_0x46caa2=_0x5b9f5d[_0x32bbeb(0x226)](_0x32bbeb(0x1db))?_0x5b9f5d['download']:null,_0x45ab05=_0x5b9f5d['hasOwnProperty'](_0x32bbeb(0x1d8))?_0x5b9f5d[_0x32bbeb(0x1d8)]:null,_0x51009f=_0x5b9f5d[_0x32bbeb(0x226)](_0x32bbeb(0x222))&&_0x32bbeb(0x237)==typeof _0x5b9f5d[_0x32bbeb(0x222)]?_0x5b9f5d[_0x32bbeb(0x222)]:this[_0x32bbeb(0x222)],_0x2856be=/\?/[_0x32bbeb(0x1bc)](_0x51009f)?'&':'?',_0x2eb94f=this[_0x32bbeb(0x1fb)](_0x55db3c);return this[_0x32bbeb(0x208)]&&_0x32bbeb(0x1dc)==_0x5e1717&&(_0x55db3c['pkey']=this['pkey']),_0x51009f+=_0x32bbeb(0x279)==_0x5e1717?_0x2856be+_0x2eb94f:'',this[_0x32bbeb(0x23f)](_0x51009f,_0x5702ca,_0x5702ca,_0x55db3c,_0x47c1a3,_0x2d4736,_0x46caa2,_0x5e1717,_0x45ab05);},this['alert']=function(_0x3646ff){return new Promise(_0x126ad8=>{_0x59f458['dialogAlert'](_0x3646ff,_0x3f093c=>{_0x126ad8(_0x3f093c);});});},this['confirm']=function(_0x245503){return new Promise(_0x3f47ad=>{var _0x13e3b3=_0x3fb6;_0x59f458[_0x13e3b3(0x1af)]((_0xe5605f,_0x4eca23)=>{_0x3f47ad(_0xe5605f);},_0x245503);});},this[_0x4cec8f(0x239)]=function(_0x2c6a07,_0x2a62f5){return new Promise(_0x999658=>{var _0x395cc6=_0x3fb6;_0x59f458[_0x395cc6(0x231)]((_0x5eeaae,_0x5d2229)=>{_0x999658(_0x5eeaae);},_0x2c6a07,_0x2a62f5);});},this[_0x4cec8f(0x211)]=function(_0xe341f1,_0x5dd4c5){var _0x3f7ab3=_0x4cec8f;_0x5dd4c5='function'==typeof _0x5dd4c5?_0x5dd4c5:function(){},this[_0x3f7ab3(0x1c6)](_0xe341f1,!0x1,_0x3f7ab3(0x229),'OK',!0x1,function(_0x3e4eb2){_0x5dd4c5(_0x3e4eb2);});},this['dialogConfirm']=function(_0x174a3a,_0x166c4f){var _0xd2d037=_0x4cec8f;_0x174a3a='function'==typeof _0x174a3a?_0x174a3a:function(){},this['dialog'](_0x166c4f,!0x0,_0xd2d037(0x1a9),'No',!0x1)[_0xd2d037(0x286)](_0x174a3a,_0xd2d037(0x1d6),'red')[_0xd2d037(0x25a)]();},this[_0x4cec8f(0x231)]=function(_0x180363,_0x3f5444,_0xdb72b3,_0x4c1fcc,_0x4616f8){var _0x481a3c=_0x4cec8f;_0x180363='function'==typeof _0x180363?_0x180363:function(){},_0xdb72b3=_0x481a3c(0x237)==typeof _0xdb72b3?_0xdb72b3:'',_0x4c1fcc='string'==typeof _0x4c1fcc?_0x4c1fcc:_0x481a3c(0x1b4),_0x4616f8='string'==typeof _0x4616f8?_0x4616f8:'',this['dialog'](_0x3f5444,!0x0,'Prompt','Cancel')[_0x481a3c(0x241)](_0x180363,_0xdb72b3,_0x4c1fcc,_0x4616f8)[_0x481a3c(0x25a)]();},this[_0x4cec8f(0x1d5)]=function(){var _0x36222f=_0x4cec8f;window['VIRTUAL_FILE_CLEARANCE']=!0x1,window[_0x36222f(0x1ea)](_0x36222f(0x1e6),async function(_0x5ea0c2){var _0x1671a4=_0x36222f;if(_0x5ea0c2[_0x1671a4(0x1b7)][_0x1671a4(0x270)]>=0x3&&!window[_0x1671a4(0x1cf)]){window[_0x1671a4(0x1cf)]=!0x0;var _0x39a9fd=await _0x59f458[_0x1671a4(0x227)]('Clear\x20all\x20Force\x20caches?');return window[_0x1671a4(0x1cf)]=!0x1,!!_0x39a9fd&&(_0x59f458[_0x1671a4(0x1bf)](_0x1671a4(0x25e)),_0x59f458['virtualFile'](!0x1));}},!0x1);},this['dialog']=function(_0x5ea472,_0x2d86d4,_0x2e6b28,_0x462020,_0x136b3f,_0x402121){var _0x86fb82=_0x4cec8f;_0x2e6b28='string'==typeof _0x2e6b28?_0x2e6b28:_0x86fb82(0x229),_0x462020=_0x86fb82(0x237)==typeof _0x462020?_0x462020:'OK',_0x402121=_0x86fb82(0x1bb)==typeof _0x402121?_0x402121:function(){};var _0xb28408='string'==typeof _0x5ea472?_0x5ea472:_0x86fb82(0x1bb)==typeof this[_0x86fb82(0x1e5)]?this[_0x86fb82(0x1e5)](_0x5ea472):JSON['stringify'](_0x5ea472),_0x474df3=document['getElementById'](_0x86fb82(0x21a)),_0x106439=document['getElementById'](_0x86fb82(0x22c)),_0x11f035=this['buildElement'](_0x86fb82(0x1bd),null,{'class':_0x86fb82(0x219),'data-text':_0x2e6b28}),_0x1e14c7=this[_0x86fb82(0x221)](_0x86fb82(0x1bd),null,{'class':'force-dialog-text'+(_0x86fb82(0x237)==typeof _0x5ea472?'':_0x86fb82(0x22f)),'data-text':_0xb28408}),_0x54c72d=this[_0x86fb82(0x221)](_0x86fb82(0x1bd),null,{'class':_0x86fb82(0x1a8)},[_0x1e14c7]),_0x260231=this['buildElement'](_0x86fb82(0x1bd),null,{'class':_0x86fb82(0x203),'data-text':_0x462020,'data-type':'ok'}),_0x363e9b=this[_0x86fb82(0x221)](_0x86fb82(0x1bd),null,{'class':_0x86fb82(0x262)},[_0x260231]),_0x3bcf02=this['buildElement'](_0x86fb82(0x1bd),null,{'class':'force-dialog-background','id':'force-dialog-background'}),_0x241e70=this[_0x86fb82(0x221)](_0x86fb82(0x1bd),null,{'class':'force-dialog','id':_0x86fb82(0x21a)},[_0x11f035,_0x54c72d,_0x363e9b]);return _0x474df3&&_0x474df3[_0x86fb82(0x266)][_0x86fb82(0x280)](_0x474df3),_0x106439&&_0x106439[_0x86fb82(0x266)][_0x86fb82(0x280)](_0x106439),_0x241e70['bg']=_0x3bcf02,_0x241e70[_0x86fb82(0x1b5)]=_0x260231,_0x241e70[_0x86fb82(0x22d)]=_0x363e9b,_0x241e70[_0x86fb82(0x221)]=this[_0x86fb82(0x221)],_0x241e70['answer']=null,_0x241e70[_0x86fb82(0x22e)]=_0x54c72d,_0x3bcf02[_0x86fb82(0x1c6)]=_0x241e70,_0x260231[_0x86fb82(0x1c6)]=_0x241e70,_0x260231[_0x86fb82(0x244)]=_0x402121,_0x260231[_0x86fb82(0x1b4)]=_0x5ea472,_0x241e70['close']=function(){var _0x3b0641=_0x86fb82;this['bg'][_0x3b0641(0x274)](),this['classList'][_0x3b0641(0x274)](_0x3b0641(0x230));var _0x34e432=this;return setTimeout(_0x20a428=>{var _0x16f2ad=_0x3b0641;_0x34e432[_0x16f2ad(0x274)]();},0x12c),this['answer']=!0x1,this;},_0x241e70[_0x86fb82(0x25a)]=function(){var _0x351e7f=_0x86fb82;this[_0x351e7f(0x1a3)](document['body']);var _0x200509=this;return setTimeout(_0x1d2ee4=>{var _0x2ad8f9=_0x351e7f;_0x200509[_0x2ad8f9(0x28b)][_0x2ad8f9(0x21b)](_0x2ad8f9(0x230)),_0x200509['bg'][_0x2ad8f9(0x1a3)](document[_0x2ad8f9(0x28c)]);},0x64),this;},_0x260231['addEventListener']('click',function(_0x471265){var _0x4539bc=_0x86fb82;return this[_0x4539bc(0x1c6)][_0x4539bc(0x282)](),this[_0x4539bc(0x244)](this[_0x4539bc(0x1b4)],this[_0x4539bc(0x1c6)]);}),_0x3bcf02[_0x86fb82(0x1ea)](_0x86fb82(0x1be),function(_0x1e9e72){var _0x3db237=_0x86fb82;_0x136b3f&&this[_0x3db237(0x1c6)]['close']();}),_0x241e70[_0x86fb82(0x286)]=function(_0x2ed3c5,_0x1ead49,_0x198d7e){var _0x567580=_0x86fb82;_0x2ed3c5=_0x567580(0x1bb)==typeof _0x2ed3c5?_0x2ed3c5:function(){},_0x1ead49=_0x567580(0x237)==typeof _0x1ead49?_0x1ead49:_0x567580(0x21f),_0x198d7e=_0x567580(0x237)==typeof _0x198d7e?_0x198d7e:_0x567580(0x1a1);var _0x195eed=this['buildElement'](_0x567580(0x1bd),null,{'class':_0x567580(0x25f)+_0x198d7e,'data-text':_0x1ead49});return this[_0x567580(0x22d)][_0x567580(0x1f8)](_0x195eed,this[_0x567580(0x1b5)]),_0x195eed[_0x567580(0x1c6)]=this,_0x195eed[_0x567580(0x1ea)](_0x567580(0x1be),function(_0x29d87a){var _0x1ad86c=_0x567580;return this[_0x1ad86c(0x1c6)][_0x1ad86c(0x282)](),this[_0x1ad86c(0x1c6)][_0x1ad86c(0x1e9)]=!0x0,_0x2ed3c5(!0x0,this[_0x1ad86c(0x1c6)]);}),this[_0x567580(0x1b5)][_0x567580(0x1ea)](_0x567580(0x1be),function(_0xef75b8){var _0x494ec0=_0x567580;return this[_0x494ec0(0x1c6)][_0x494ec0(0x282)](),_0x2ed3c5(!0x1,this[_0x494ec0(0x1c6)]);}),this;},_0x241e70['addInput']=function(_0xb13382,_0x539af2,_0x2e5bfc,_0xbf7524){var _0x36192a=_0x86fb82;_0xb13382=_0x36192a(0x1bb)==typeof _0xb13382?_0xb13382:function(){},_0x539af2=_0x36192a(0x237)==typeof _0x539af2?_0x539af2:'',_0x2e5bfc='string'==typeof _0x2e5bfc?_0x2e5bfc:'text',_0xbf7524='string'==typeof _0xbf7524?_0xbf7524:'';var _0x1109e9=this[_0x36192a(0x221)](_0x36192a(0x269),null,{'class':_0x36192a(0x1c5),'type':_0x2e5bfc,'value':_0x539af2,'placeholder':_0xbf7524,'data-touch':'first'});return this['addButton'](function(_0x380944,_0x3aab76){var _0x72ca22=_0x36192a;return _0x380944?_0xb13382(_0x1109e9[_0x72ca22(0x257)],_0x3aab76):_0xb13382(!0x1,_0x3aab76);}),_0x1109e9[_0x36192a(0x1a3)](this['textOut']),_0x1109e9['addEventListener']('focus',function(_0x1e3b8a){var _0x58f1f1=_0x36192a;_0x58f1f1(0x242)==this['dataset'][_0x58f1f1(0x238)]&&(this[_0x58f1f1(0x28f)](),this['dataset'][_0x58f1f1(0x238)]='last');}),this[_0x36192a(0x269)]=_0x1109e9,this;},!0x0!==_0x2d86d4&&_0x241e70[_0x86fb82(0x25a)](),_0x241e70;},this[_0x4cec8f(0x1bf)]=function(_0x4bccdb,_0x38f0db,_0x8c9ad1){var _0x323287=_0x4cec8f,_0x175b90=!0x1,_0x425861=_0x323287(0x26c),_0x3e8723=document[_0x323287(0x1aa)](_0x425861);_0x323287(0x237)!=typeof _0x4bccdb&&(_0x4bccdb=this['parseJSON'](_0x4bccdb,_0x8c9ad1),_0x175b90=!0x0),_0x3e8723&&_0x3e8723['parentNode']['removeChild'](_0x3e8723),window[_0x323287(0x23b)]&&clearTimeout(window[_0x323287(0x23b)]),(_0x3e8723=document[_0x323287(0x1c3)]('div'))[_0x323287(0x1ed)]=_0x4bccdb,_0x3e8723['id']=_0x425861,_0x3e8723[_0x323287(0x28b)][_0x323287(0x21b)]('force-splash'),_0x3e8723[_0x323287(0x26b)][_0x323287(0x1b3)]=_0x175b90?'left':'center',_0x4bccdb['match'](/[\u0600-\u06ff]/ig)?(_0x3e8723['style']['direction']=_0x323287(0x28e),_0x3e8723['style'][_0x323287(0x255)]=_0x323287(0x26d),_0x3e8723[_0x323287(0x26b)][_0x323287(0x25b)]=_0x323287(0x1e2),_0x3e8723['style'][_0x323287(0x1b3)]=_0x323287(0x240)):_0x3e8723[_0x323287(0x26b)]['width']=_0x323287(0x245),_0x3e8723[_0x323287(0x26b)][_0x323287(0x1ba)]='-100vw',document['body'][_0x323287(0x1df)](_0x3e8723);var _0x147fc6=_0x3e8723[_0x323287(0x1fe)]/0x2;_0x3e8723[_0x323287(0x26b)][_0x323287(0x1ba)]=_0x323287(0x23c)+_0x147fc6+_0x323287(0x1b1),_0x3e8723&&_0x3e8723['addEventListener']('contextmenu',this[_0x323287(0x20c)]),window[_0x323287(0x23b)]=setTimeout(function(_0x585fec){var _0x445dca=_0x323287,_0x22e197=document[_0x445dca(0x1aa)](_0x425861);if(!_0x22e197)return!0x1;_0x22e197[_0x445dca(0x26b)]['top']=_0x445dca(0x253),setTimeout(function(_0x40cf96){var _0x5737b5=_0x445dca;if(!_0x22e197)return!0x1;_0x22e197[_0x5737b5(0x266)][_0x5737b5(0x280)](_0x22e197);},0x5dc);},_0x38f0db?0x3e8*_0x38f0db:0xbb8);},this[_0x4cec8f(0x1e5)]=function(_0x2cff98,_0xa11310,_0x5807c7,_0x3578b1){var _0xa1d0a3=_0x4cec8f,_0x19e36d='';if(_0x5807c7=_0x5807c7?parseInt(_0x5807c7,0xa):0x0,_0xa11310=_0xa11310?parseInt(_0xa11310,0xa):0x1,_0x3578b1=_0x3578b1?parseInt(_0x3578b1,0xa):0x2,_0xa1d0a3(0x233)==typeof _0x2cff98&&null!==_0x2cff98||Array[_0xa1d0a3(0x235)](_0x2cff98)){var _0x3781da=Array[_0xa1d0a3(0x235)](_0x2cff98)?'[':'{',_0x2f0a9a=Array[_0xa1d0a3(0x235)](_0x2cff98)?']':'}';0x0==_0x5807c7&&(_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x5807c7)+''+_0x3781da+'\x0d\x0a');var _0x36e2f4=this[_0xa1d0a3(0x1e7)](_0x2cff98),_0x3885ec=0x0;for(var _0x5938ef in _0x2cff98){var _0x434aea=++_0x3885ec<_0x36e2f4?',':'',_0x5b181f=_0x2cff98[_0x5938ef],_0x408f90=_0x5807c7+0x2;if('object'==typeof _0x5b181f&&null!==_0x5b181f||Array[_0xa1d0a3(0x235)](_0x5b181f)){var _0x1f8637=Array[_0xa1d0a3(0x235)](_0x5b181f)?'[':'{',_0x3d3362=Array[_0xa1d0a3(0x235)](_0x5b181f)?']':'}',_0x4ff928='{'===_0x3781da?'\x22'+_0x5938ef+_0xa1d0a3(0x1ec):'';_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x408f90)+''+_0x4ff928+_0x1f8637+'\x0d\x0a',_0x408f90/0x2<_0xa11310?_0x19e36d+=this[_0xa1d0a3(0x1e5)](_0x5b181f,_0xa11310,_0x408f90,_0x3578b1):_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*(_0x408f90+0x2))+_0xa1d0a3(0x20b)+_0xa11310+'***]\x0d\x0a',_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x408f90)+''+_0x3d3362+_0x434aea+'\x0d\x0a';}else{if(_0xa1d0a3(0x237)==typeof _0x5b181f||'number'==typeof _0x5b181f){var _0x4ff928='number'==typeof _0x5b181f?_0x5b181f[_0xa1d0a3(0x1fd)]():'\x22'+_0x5b181f+'\x22';_0x5938ef='{'===_0x3781da?'\x22'+_0x5938ef+_0xa1d0a3(0x1ec):'',_0x19e36d+='\x20'['repeat'](_0x3578b1*_0x408f90)+''+_0x5938ef+_0x4ff928+_0x434aea+'\x0d\x0a';}else{if('boolean'==typeof _0x5b181f){var _0x4ff928=!0x0===_0x5b181f?_0xa1d0a3(0x248):_0xa1d0a3(0x254);_0x5938ef='{'===_0x3781da?'\x22'+_0x5938ef+'\x22\x20:\x20':'',_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x408f90)+''+_0x5938ef+_0x4ff928+_0x434aea+'\x0d\x0a';}else{if(null===_0x5b181f)_0x5938ef='{'===_0x3781da?'\x22'+_0x5938ef+_0xa1d0a3(0x1ec):'',_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x408f90)+''+_0x5938ef+_0xa1d0a3(0x1ab)+_0x434aea+'\x0d\x0a';else{var _0x4ff928='\x22['+typeof _0x5b181f+']\x22';_0x5938ef='{'===_0x3781da?'\x22'+_0x5938ef+_0xa1d0a3(0x1ec):'',_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x408f90)+''+_0x5938ef+_0x4ff928+_0x434aea+'\x0d\x0a';}}}}}0x0==_0x5807c7&&(_0x19e36d+='\x20'['repeat'](_0x3578b1*_0x5807c7)+''+_0x2f0a9a+'\x0d\x0a');}else _0xa1d0a3(0x237)==typeof _0x2cff98?_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x5807c7)+'\x22'+_0x2cff98+_0xa1d0a3(0x19f):'number'==typeof _0x2cff98?_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x5807c7)+''+_0x2cff98[_0xa1d0a3(0x1fd)]()+'\x0d\x0a':_0xa1d0a3(0x20d)==typeof _0x2cff98?_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x5807c7)+''+(!0x0===_0x2cff98?_0xa1d0a3(0x248):_0xa1d0a3(0x254))+'\x0d\x0a':null===_0x2cff98?_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x5807c7)+'null\x0d\x0a':_0x19e36d+='\x20'[_0xa1d0a3(0x1e1)](_0x3578b1*_0x5807c7)+'\x22['+typeof _0x2cff98+_0xa1d0a3(0x27e);return _0x19e36d;},this['stream']=function(_0x3b0ef4,_0x5b328d,_0x52894f,_0x5799f6,_0x82355e,_0x42f97f,_0x49597c,_0x3a1d73,_0x5d63ab){var _0xb5e23b=_0x4cec8f;_0x5b328d=_0xb5e23b(0x1bb)==typeof _0x5b328d?_0x5b328d:function(){},_0x52894f=_0xb5e23b(0x1bb)==typeof _0x52894f?_0x52894f:function(){},_0x42f97f=_0xb5e23b(0x1bb)==typeof _0x42f97f?_0x42f97f:function(){},_0x49597c='function'==typeof _0x49597c?_0x49597c:function(){},_0x5d63ab='function'==typeof _0x5d63ab?_0x5d63ab:function(){};var _0x2a796d=!0x1;if(window['XMLHttpRequest'])_0x2a796d=new XMLHttpRequest();else for(var _0x1fb8be=[function(){var _0x4aa31f=_0xb5e23b;return new ActiveXObject(_0x4aa31f(0x1a6));},function(){return new ActiveXObject('Msxml3.XMLHTTP');},function(){return new ActiveXObject('Microsoft.XMLHTTP');}],_0xbcd112=0x0;_0xbcd112<_0x1fb8be[_0xb5e23b(0x270)];_0xbcd112++){try{_0x2a796d=_0x1fb8be[_0xbcd112]();}catch(_0x40bced){continue;}break;}if(!_0x2a796d)return _0x52894f('Error:\x20Failed\x20to\x20build\x20XML\x20http\x20request.');if(_0x3a1d73=_0xb5e23b(0x237)==typeof _0x3a1d73&&[_0xb5e23b(0x279),_0xb5e23b(0x1dc),_0xb5e23b(0x243),_0xb5e23b(0x28a),_0xb5e23b(0x25c),_0xb5e23b(0x209)][_0xb5e23b(0x213)](_0x3a1d73)>=0x0?_0x3a1d73:_0xb5e23b(0x233)==typeof _0x5799f6&&null!==_0x5799f6?_0xb5e23b(0x1dc):_0xb5e23b(0x279),_0x2a796d[_0xb5e23b(0x265)](_0x3a1d73,_0x3b0ef4,!0x0),'object'==typeof _0x5799f6&&null!==_0x5799f6&&_0xb5e23b(0x1bb)!=typeof _0x5799f6[_0xb5e23b(0x1da)]&&(_0x2a796d[_0xb5e23b(0x19e)](_0xb5e23b(0x21c),'application/x-www-form-urlencoded'),_0x5799f6=this[_0xb5e23b(0x1fb)](_0x5799f6)),'object'==typeof _0x82355e&&null!=_0x82355e){for(var _0xbcd112 in _0x82355e)_0x2a796d[_0xb5e23b(0x19e)](_0xbcd112,_0x82355e[_0xbcd112]);}_0x2a796d['upload']['addEventListener'](_0xb5e23b(0x1b2),_0x42f97f,!0x1),_0x2a796d[_0xb5e23b(0x1ea)](_0xb5e23b(0x1b2),_0x49597c,!0x1),_0x2a796d[_0xb5e23b(0x1ea)](_0xb5e23b(0x24d),function(_0x14c2eb){var _0x1d2f70=_0xb5e23b;if(0x4===_0x2a796d[_0x1d2f70(0x20e)]&&0xc8===_0x2a796d[_0x1d2f70(0x23a)]&&_0x1d2f70(0x237)==typeof _0x2a796d[_0x1d2f70(0x1cc)]){try{var _0x4294e0=JSON[_0x1d2f70(0x273)](_0x2a796d[_0x1d2f70(0x1cc)]);}catch(_0x5b785a){var _0x4294e0=_0x2a796d['responseText'];}return _0x5b328d(_0x4294e0);}return 0x4===_0x2a796d['readyState']?_0x52894f('Error:\x20'+_0x2a796d[_0x1d2f70(0x23a)]+_0x1d2f70(0x1cd)+(0x0===_0x2a796d[_0x1d2f70(0x23a)]?'No\x20Connection':_0x2a796d['statusText'])):_0x2a796d[_0x1d2f70(0x20e)]<0x4?_0x5d63ab(_0x1d2f70(0x1dd)+_0x2a796d[_0x1d2f70(0x20e)]+'\x20'+_0x2a796d[_0x1d2f70(0x23a)]+'\x20'+_0x2a796d['statusText']):_0x52894f(_0x1d2f70(0x206)+_0x2a796d[_0x1d2f70(0x23a)]+'\x20'+_0x2a796d[_0x1d2f70(0x1d0)]);},!0x1),_0x2a796d[_0xb5e23b(0x225)](_0x5799f6);},this['onFunctionReady']=function(_0x3a8104,_0x5c8727,_0x3ae32a){var _0x125056=_0x4cec8f;return(_0x3ae32a=_0x3ae32a?parseInt(_0x3ae32a):0x0,_0x5c8727=_0x125056(0x1bb)==typeof _0x5c8727?_0x5c8727:function(){},_0x125056(0x237)!=typeof _0x3a8104)?_0x5c8727(!0x1):window['hasOwnProperty'](_0x3a8104)||_0x3ae32a>0x3?_0x5c8727(!!window['hasOwnProperty'](_0x3a8104)&&_0x125056(0x1bb)==typeof window[_0x3a8104]):(_0x3ae32a++,setTimeout(function(){var _0x38bad7=_0x125056;_0x59f458[_0x38bad7(0x261)](_0x3a8104,_0x5c8727,_0x3ae32a);},0x64));},this[_0x4cec8f(0x285)]=function(_0x1e908e,_0x2c77fa){var _0x469515=_0x4cec8f;let _0x2aa2a0=/^force\/virtual\//,_0x2d5f6c=_0x469515(0x1d2)+_0x1e908e[_0x469515(0x1fd)]();if(!0x1===_0x1e908e){for(var _0x560883=0x0;_0x560883{const _0x4720a2=_0xb1537b;_0x5e0e28[_0x4720a2(0x238)][_0x4720a2(0x24e)](_0x17d4a1,_0x5eb0af);});}}else{if(_0xb1537b(0x25f)!=typeof(_0x4854b8=await this[_0xb1537b(0x238)]['get'](_0x3e110f))||/^error/i[_0xb1537b(0x1c0)](_0x4854b8))return await this[_0xb1537b(0x238)][_0xb1537b(0x1bb)](_0xb1537b(0x22a)+_0x1a0710+_0xb1537b(0x264)),!0x1;this[_0xb1537b(0x238)][_0xb1537b(0x24e)](_0x17d4a1,_0x4854b8);}if(this[_0xb1537b(0x238)][_0xb1537b(0x19e)](),this['Force'][_0xb1537b(0x25c)](_0x4854b8,_0xb1537b(0x24d)+_0x1a0710),!window[_0xb1537b(0x1b8)](_0x1a0710)||_0xb1537b(0x22b)!=typeof window[_0x1a0710])return await this[_0xb1537b(0x238)][_0xb1537b(0x1bb)](_0xb1537b(0x1bc)+_0x1a0710+'\x22\x20script.'),!0x1;this[_0xb1537b(0x238)][_0xb1537b(0x1ba)]['config']=this[_0xb1537b(0x1e8)];let _0x462d83=new window[_0x1a0710](this);return _0x462d83[_0xb1537b(0x1b8)](_0xb1537b(0x268))&&_0xb1537b(0x22b)==typeof _0x462d83[_0xb1537b(0x268)]?(this[_0xb1537b(0x238)][_0xb1537b(0x1cd)]=_0x462d83,_0x462d83[_0xb1537b(0x268)]()):_0x462d83;},'cacheExpired':function(){const _0x4909ae=_0x41a244;let _0x5a62ee=_0x4909ae(0x232),_0x1f661a=0x5265c00,_0x1ff40a=this['Force']['virtualFile'](_0x5a62ee),_0x55d8ae=new Date()[_0x4909ae(0x240)]();this['config'][_0x4909ae(0x1b8)](_0x4909ae(0x261))&&this[_0x4909ae(0x1e8)]['force'][_0x4909ae(0x1b8)](_0x4909ae(0x257))&&this['config'][_0x4909ae(0x261)]['cache'][_0x4909ae(0x1b8)](_0x4909ae(0x26c))&&(_0x1f661a=parseInt(this[_0x4909ae(0x1e8)][_0x4909ae(0x261)][_0x4909ae(0x257)][_0x4909ae(0x26c)],0xa));let _0x49ce15=_0x55d8ae+_0x1f661a;return _0x1ff40a?parseInt(_0x1ff40a,0xa)<_0x55d8ae&&(_0x1ff40a=this[_0x4909ae(0x238)]['virtualFile'](_0x5a62ee,_0x49ce15[_0x4909ae(0x255)]()),!0x0):(_0x1ff40a=this['Force'][_0x4909ae(0x24e)](_0x5a62ee,_0x49ce15[_0x4909ae(0x255)]()),!0x0);}};},this['plugin']={'root':_0x1fbba3(0x249),'plug':[],'param':{},'hosts':{},'Force':this,'config':{},'init':function(){const _0x15f4bd=_0x1fbba3;for(let _0x377f66 of this['plug']){let _0x561749=new window[_0x377f66](this[_0x15f4bd(0x1e7)][_0x377f66]);_0x561749[_0x15f4bd(0x1b8)](_0x15f4bd(0x268))&&_0x15f4bd(0x22b)==typeof _0x561749['init']&&_0x561749['init'](this);}return this;},'prepare':async function(_0x29ca58,_0x2162b3){const _0x2c5b81=_0x1fbba3;_0x2162b3=_0x2c5b81(0x22b)==typeof _0x2162b3?_0x2162b3:function(){},_0x29ca58=_0x2c5b81(0x25f)==typeof _0x29ca58?_0x29ca58:this[_0x2c5b81(0x1d5)],this['root']=_0x29ca58;let _0x2d986e=0x0;for(let _0xac4903 of(_0x2162b3({'loaded':_0x2d986e,'total':this['plug']['length']}),this[_0x2c5b81(0x1c2)])){_0x2d986e++;let _0x122fb7=this[_0x2c5b81(0x234)][_0x2c5b81(0x1b8)](_0xac4903)?this[_0x2c5b81(0x234)][_0xac4903]:_0x29ca58;if(path=_0x122fb7+'/'+_0xac4903+'/'+_0xac4903+'.js',vpath='plugins/'+_0xac4903+'/'+_0xac4903+_0x2c5b81(0x21e),pathCSS=_0x122fb7+'/'+_0xac4903+'/'+_0xac4903+'.css',vpathCSS='plugins/'+_0xac4903+'/'+_0xac4903+_0x2c5b81(0x1fd),script=this['Force']['virtualFile'](vpath),style=this[_0x2c5b81(0x238)]['virtualFile'](vpathCSS),script){if(this[_0x2c5b81(0x224)]()){let _0x21c82f=this;this[_0x2c5b81(0x238)]['get'](path)[_0x2c5b81(0x228)](_0x61410a=>{const _0x15c319=_0x2c5b81;_0x21c82f['Force'][_0x15c319(0x24e)](vpath,_0x61410a),_0x21c82f[_0x15c319(0x238)][_0x15c319(0x25c)](_0x61410a,_0x15c319(0x221)+_0xac4903);}),this['Force'][_0x2c5b81(0x1f8)](pathCSS)[_0x2c5b81(0x228)](_0x4d30fb=>{const _0x118ff5=_0x2c5b81;_0x21c82f[_0x118ff5(0x238)][_0x118ff5(0x24e)](vpathCSS,_0x4d30fb),_0x21c82f[_0x118ff5(0x238)][_0x118ff5(0x1df)](_0x4d30fb,_0x118ff5(0x27d)+_0xac4903);});}}else{if(script=await this[_0x2c5b81(0x238)][_0x2c5b81(0x1f8)](path),style=await this['Force']['get'](pathCSS),_0x2c5b81(0x25f)!=typeof script||/^error/i[_0x2c5b81(0x1c0)](script)){await this[_0x2c5b81(0x238)]['alert'](_0x2c5b81(0x1c3)+_0xac4903+'\x22.');continue;}this[_0x2c5b81(0x238)][_0x2c5b81(0x24e)](vpath,script),this[_0x2c5b81(0x238)][_0x2c5b81(0x24e)](vpathCSS,style);}if(this[_0x2c5b81(0x238)]['loadScript'](script,'force-plugin-'+_0xac4903),this[_0x2c5b81(0x238)]['loadStyle'](style,_0x2c5b81(0x27d)+_0xac4903),!window[_0x2c5b81(0x1b8)](_0xac4903)||_0x2c5b81(0x22b)!=typeof window[_0xac4903]){await this['Force'][_0x2c5b81(0x1bb)](_0x2c5b81(0x1c3)+_0xac4903+'\x22.');continue;}_0x2162b3({'loaded':_0x2d986e,'total':this['plug'][_0x2c5b81(0x25b)]});}return this;},'cacheExpired':function(){const _0x1ad374=_0x1fbba3;let _0x3e650e='cache/age.txt',_0x181421=0x5265c00,_0x24aadc=this['Force'][_0x1ad374(0x24e)](_0x3e650e),_0x1868cc=new Date()['getTime'](),_0x3c1281=_0x1868cc+_0x181421;return(this[_0x1ad374(0x1e8)][_0x1ad374(0x1b8)](_0x1ad374(0x261))&&this[_0x1ad374(0x1e8)][_0x1ad374(0x261)][_0x1ad374(0x1b8)](_0x1ad374(0x257))&&this[_0x1ad374(0x1e8)][_0x1ad374(0x261)][_0x1ad374(0x257)]['hasOwnProperty'](_0x1ad374(0x26c))&&(_0x181421=parseInt(this[_0x1ad374(0x1e8)]['force'][_0x1ad374(0x257)][_0x1ad374(0x26c)],0xa)),_0x24aadc)?parseInt(_0x24aadc,0xa)<_0x1868cc&&(_0x24aadc=this[_0x1ad374(0x238)][_0x1ad374(0x24e)](_0x3e650e,_0x3c1281[_0x1ad374(0x255)]()),!0x0):(_0x24aadc=this['Force'][_0x1ad374(0x24e)](_0x3e650e,_0x3c1281[_0x1ad374(0x255)]()),!0x0);},'register':function(_0x44794d,_0x2ac829,_0x545af5){const _0x426cb6=_0x1fbba3;if(_0x426cb6(0x25f)==typeof _0x44794d&&/^[a-zA-Z][a-zA-Z0-9_]+$/[_0x426cb6(0x1c0)](_0x44794d)&&0x0>this['plug'][_0x426cb6(0x1e0)](_0x44794d))this[_0x426cb6(0x1c2)]['push'](_0x44794d),this[_0x426cb6(0x1e7)][_0x44794d]=void 0x0===_0x2ac829?null:_0x2ac829,_0x426cb6(0x25f)==typeof _0x545af5&&(this['hosts'][_0x44794d]=_0x545af5);else{if(Array[_0x426cb6(0x209)](_0x44794d)){for(let _0x5e620e of _0x44794d)Array[_0x426cb6(0x209)](_0x5e620e)&&_0x5e620e['length']>0x0?(this[_0x426cb6(0x1c2)][_0x426cb6(0x20e)](_0x5e620e[0x0]),this[_0x426cb6(0x1e7)][_0x5e620e[0x0]]=_0x5e620e[_0x426cb6(0x25b)]>0x1?_0x5e620e[0x1]:null,_0x5e620e[_0x426cb6(0x25b)]>0x2&&_0x426cb6(0x25f)==typeof _0x5e620e[0x2]&&(this[_0x426cb6(0x234)][_0x5e620e[0x0]]=_0x5e620e[0x2])):_0x426cb6(0x25f)==typeof _0x5e620e&&(this[_0x426cb6(0x1c2)][_0x426cb6(0x20e)](_0x5e620e),this[_0x426cb6(0x1e7)][_0x5e620e]=null);}}return this;}},this[_0x1fbba3(0x1f8)]=function(_0x402f01,_0x153d98,_0x7347d7,_0x5028b2){return new Promise(_0x72f7c0=>{const _0x92d683=_0x189d;_0x38a84b[_0x92d683(0x277)](_0x92d683(0x1a5),_0xbc09d=>{_0x72f7c0(_0xbc09d);},_0x5028b2,{'method':_0x92d683(0x23e),'upload':_0x153d98,'download':_0x7347d7,'host':_0x402f01});});},this[_0x1fbba3(0x218)]=function(_0x34e091,_0x20d148,_0x275d56){return new Promise(_0x12602c=>{const _0xc1a9ba=_0x189d;_0x38a84b[_0xc1a9ba(0x277)](_0x34e091,_0x3f77ca=>{_0x12602c(_0x3f77ca);},_0x20d148,_0x275d56);});},this[_0x1fbba3(0x277)]=function(_0xcd05c5,_0x15c042,_0x5b1a20,_0x1ae1fa){const _0x562167=_0x1fbba3;if(_0x15c042='function'==typeof _0x15c042?_0x15c042:function(){},_0x562167(0x25f)!=typeof _0xcd05c5)return this[_0x562167(0x279)](_0x15c042);_0x1ae1fa=_0x562167(0x1dc)==typeof _0x1ae1fa&&null!==_0x1ae1fa?_0x1ae1fa:{},(_0x5b1a20=_0x562167(0x1dc)==typeof _0x5b1a20&&null!==_0x5b1a20?_0x5b1a20:{})[_0x562167(0x250)]=_0xcd05c5,_0x5b1a20['token']=(Math[_0x562167(0x280)](new Date()[_0x562167(0x240)]()/0x3e8)+0x12c)[_0x562167(0x255)](0x24);let _0x66f52=_0x1ae1fa['hasOwnProperty'](_0x562167(0x250))?_0x1ae1fa[_0x562167(0x250)]:'POST',_0x44693f=_0x1ae1fa[_0x562167(0x1b8)](_0x562167(0x1e2))?_0x1ae1fa['headers']:null,_0x705867=_0x1ae1fa[_0x562167(0x1b8)](_0x562167(0x289))?_0x1ae1fa[_0x562167(0x289)]:null,_0x9e2a7e=_0x1ae1fa[_0x562167(0x1b8)](_0x562167(0x198))?_0x1ae1fa[_0x562167(0x198)]:null,_0x5d9520=_0x1ae1fa[_0x562167(0x1b8)]('underfour')?_0x1ae1fa[_0x562167(0x1a1)]:null,_0x3aac5b=_0x1ae1fa[_0x562167(0x1b8)]('host')&&'string'==typeof _0x1ae1fa[_0x562167(0x1d0)]?_0x1ae1fa[_0x562167(0x1d0)]:this[_0x562167(0x1d0)],_0x1e6cc6=/\?/[_0x562167(0x1c0)](_0x3aac5b)?'&':'?',_0x380b75=this[_0x562167(0x1d2)](_0x5b1a20);return this[_0x562167(0x22d)]&&_0x562167(0x1e5)==_0x66f52&&(_0x5b1a20['pkey']=this[_0x562167(0x22d)]),_0x3aac5b+=_0x562167(0x23e)==_0x66f52?_0x1e6cc6+_0x380b75:'',this[_0x562167(0x236)](_0x3aac5b,_0x15c042,_0x15c042,_0x5b1a20,_0x44693f,_0x705867,_0x9e2a7e,_0x66f52,_0x5d9520);},this[_0x1fbba3(0x1bb)]=function(_0x13e541){return new Promise(_0x24df02=>{const _0x1a805f=_0x189d;_0x38a84b[_0x1a805f(0x1a7)](_0x13e541,_0xe295f2=>{_0x24df02(_0xe295f2);});});},this[_0x1fbba3(0x1ef)]=function(_0x344af9){return new Promise(_0xbfd343=>{const _0x3f5ad7=_0x189d;_0x38a84b[_0x3f5ad7(0x287)]((_0x17d553,_0x4d2e2a)=>{_0xbfd343(_0x17d553);},_0x344af9);});},this[_0x1fbba3(0x21f)]=function(_0x244ace,_0x416676){return new Promise(_0x2e38bf=>{const _0xc8e397=_0x189d;_0x38a84b[_0xc8e397(0x1a0)]((_0x1df855,_0x3cf13d)=>{_0x2e38bf(_0x1df855);},_0x244ace,_0x416676);});},this[_0x1fbba3(0x1a7)]=function(_0x4fc234,_0x347daf){const _0x1a4dcc=_0x1fbba3;_0x347daf=_0x1a4dcc(0x22b)==typeof _0x347daf?_0x347daf:function(){},this['dialog'](_0x4fc234,!0x1,'Alert','OK',!0x1,function(_0x25f89e){_0x347daf(_0x25f89e);});},this[_0x1fbba3(0x287)]=function(_0x3a65d2,_0x16e028){const _0x50294a=_0x1fbba3;_0x3a65d2='function'==typeof _0x3a65d2?_0x3a65d2:function(){},this[_0x50294a(0x242)](_0x16e028,!0x0,_0x50294a(0x1f4),'No',!0x1)['addButton'](_0x3a65d2,_0x50294a(0x1da),_0x50294a(0x19c))[_0x50294a(0x251)]();},this[_0x1fbba3(0x1a0)]=function(_0x23f772,_0x4701e2,_0x151bb4,_0x1a21a3,_0x5b7cb8){const _0x2c6123=_0x1fbba3;_0x23f772=_0x2c6123(0x22b)==typeof _0x23f772?_0x23f772:function(){},_0x151bb4=_0x2c6123(0x25f)==typeof _0x151bb4?_0x151bb4:'',_0x1a21a3='string'==typeof _0x1a21a3?_0x1a21a3:'text',_0x5b7cb8=_0x2c6123(0x25f)==typeof _0x5b7cb8?_0x5b7cb8:'',this[_0x2c6123(0x242)](_0x4701e2,!0x0,_0x2c6123(0x1dd),'Cancel')[_0x2c6123(0x1cf)](_0x23f772,_0x151bb4,_0x1a21a3,_0x5b7cb8)[_0x2c6123(0x251)]();},this[_0x1fbba3(0x19e)]=function(){const _0x48cefc=_0x1fbba3;window[_0x48cefc(0x1f3)]=!0x1,window[_0x48cefc(0x1ae)](_0x48cefc(0x1d8),async function(_0x1c92c0){const _0x15cc72=_0x48cefc;if(_0x1c92c0[_0x15cc72(0x1e1)][_0x15cc72(0x25b)]>=0x3&&!window[_0x15cc72(0x1f3)]){window[_0x15cc72(0x1f3)]=!0x0;let _0x45706f=await _0x38a84b[_0x15cc72(0x1ef)](_0x15cc72(0x27b));return window[_0x15cc72(0x1f3)]=!0x1,!!_0x45706f&&(_0x38a84b['splash']('All\x20caches\x20has\x20been\x20cleared.'),_0x38a84b['virtualFile'](!0x1));}},!0x1);},this[_0x1fbba3(0x242)]=function(_0x1ac93c,_0x26729a,_0x21e247,_0x440946,_0x38c19f,_0x2e9239){const _0x1d6eb6=_0x1fbba3;_0x21e247=_0x1d6eb6(0x25f)==typeof _0x21e247?_0x21e247:_0x1d6eb6(0x1a6),_0x440946=_0x1d6eb6(0x25f)==typeof _0x440946?_0x440946:'OK',_0x2e9239='function'==typeof _0x2e9239?_0x2e9239:function(){};let _0x5baa1e='string'==typeof _0x1ac93c?_0x1ac93c:'function'==typeof this[_0x1d6eb6(0x204)]?this[_0x1d6eb6(0x204)](_0x1ac93c):JSON['stringify'](_0x1ac93c),_0x5bf053=document[_0x1d6eb6(0x24a)](_0x1d6eb6(0x247)),_0x30f835=document[_0x1d6eb6(0x24a)](_0x1d6eb6(0x19f)),_0xc02e28=this[_0x1d6eb6(0x25a)](_0x1d6eb6(0x27c),null,{'class':_0x1d6eb6(0x237),'data-text':_0x21e247}),_0x460f8d=this[_0x1d6eb6(0x25a)]('div',null,{'class':'force-dialog-text'+(_0x1d6eb6(0x25f)==typeof _0x1ac93c?'':_0x1d6eb6(0x1b3)),'data-text':_0x5baa1e}),_0x4f0052=this[_0x1d6eb6(0x25a)](_0x1d6eb6(0x27c),null,{'class':'force-dialog-text-out'},[_0x460f8d]),_0x55a3cf=this['buildElement']('div',null,{'class':_0x1d6eb6(0x1fa),'data-text':_0x440946,'data-type':'ok'}),_0x17a13e=this[_0x1d6eb6(0x25a)](_0x1d6eb6(0x27c),null,{'class':_0x1d6eb6(0x19a)},[_0x55a3cf]),_0x1cf79b=this[_0x1d6eb6(0x25a)](_0x1d6eb6(0x27c),null,{'class':_0x1d6eb6(0x19f),'id':_0x1d6eb6(0x19f)}),_0x5081f4=this[_0x1d6eb6(0x25a)](_0x1d6eb6(0x27c),null,{'class':_0x1d6eb6(0x247),'id':_0x1d6eb6(0x247)},[_0xc02e28,_0x4f0052,_0x17a13e]);return _0x5bf053&&_0x5bf053[_0x1d6eb6(0x1c1)][_0x1d6eb6(0x1ad)](_0x5bf053),_0x30f835&&_0x30f835['parentNode'][_0x1d6eb6(0x1ad)](_0x30f835),_0x5081f4['bg']=_0x1cf79b,_0x5081f4[_0x1d6eb6(0x1d3)]=_0x55a3cf,_0x5081f4[_0x1d6eb6(0x269)]=_0x17a13e,_0x5081f4[_0x1d6eb6(0x25a)]=this[_0x1d6eb6(0x25a)],_0x5081f4[_0x1d6eb6(0x259)]=null,_0x5081f4[_0x1d6eb6(0x281)]=_0x4f0052,_0x1cf79b['dialog']=_0x5081f4,_0x55a3cf['dialog']=_0x5081f4,_0x55a3cf[_0x1d6eb6(0x246)]=_0x2e9239,_0x55a3cf['text']=_0x1ac93c,_0x5081f4['close']=function(){const _0x56ae07=_0x1d6eb6;this['bg']['remove'](),this[_0x56ae07(0x216)][_0x56ae07(0x26e)](_0x56ae07(0x1aa));let _0x437df8=this;return setTimeout(_0x549db4=>{_0x437df8['remove']();},0x12c),this[_0x56ae07(0x259)]=!0x1,this;},_0x5081f4['show']=function(){const _0x7e1d87=_0x1d6eb6;this[_0x7e1d87(0x28d)](document['body']);let _0x28db7b=this;return setTimeout(_0x361f55=>{const _0x40d628=_0x7e1d87;_0x28db7b[_0x40d628(0x216)]['add'](_0x40d628(0x1aa)),_0x28db7b['bg']['appendTo'](document[_0x40d628(0x201)]);},0x64),this;},_0x55a3cf[_0x1d6eb6(0x1ae)](_0x1d6eb6(0x1cc),function(_0x2aedc0){const _0x3d21ff=_0x1d6eb6;return this[_0x3d21ff(0x242)][_0x3d21ff(0x21a)](),this[_0x3d21ff(0x246)](this[_0x3d21ff(0x244)],this['dialog']);}),_0x1cf79b[_0x1d6eb6(0x1ae)]('click',function(_0x2909c8){const _0x1a3257=_0x1d6eb6;_0x38c19f&&this[_0x1a3257(0x242)]['close']();}),_0x5081f4[_0x1d6eb6(0x1ac)]=function(_0x54fe4d,_0x34bae0,_0x245cbb){const _0x336b7c=_0x1d6eb6;_0x54fe4d=_0x336b7c(0x22b)==typeof _0x54fe4d?_0x54fe4d:function(){},_0x34bae0=_0x336b7c(0x25f)==typeof _0x34bae0?_0x34bae0:_0x336b7c(0x1d4),_0x245cbb=_0x336b7c(0x25f)==typeof _0x245cbb?_0x245cbb:'blue';let _0x3bfcc4=this[_0x336b7c(0x25a)](_0x336b7c(0x27c),null,{'class':_0x336b7c(0x243)+_0x245cbb,'data-text':_0x34bae0});return this[_0x336b7c(0x269)][_0x336b7c(0x19d)](_0x3bfcc4,this[_0x336b7c(0x1d3)]),_0x3bfcc4[_0x336b7c(0x242)]=this,_0x3bfcc4[_0x336b7c(0x1ae)](_0x336b7c(0x1cc),function(_0x4a5093){const _0x19b1b3=_0x336b7c;return this[_0x19b1b3(0x242)]['close'](),this[_0x19b1b3(0x242)][_0x19b1b3(0x259)]=!0x0,_0x54fe4d(!0x0,this[_0x19b1b3(0x242)]);}),this['button'][_0x336b7c(0x1ae)]('click',function(_0x1bcc7e){const _0x3a8809=_0x336b7c;return this[_0x3a8809(0x242)][_0x3a8809(0x21a)](),_0x54fe4d(!0x1,this[_0x3a8809(0x242)]);}),this;},_0x5081f4[_0x1d6eb6(0x1cf)]=function(_0x123f91,_0x41bac2,_0x40fd22,_0x5a206e){const _0x1465a0=_0x1d6eb6;_0x123f91='function'==typeof _0x123f91?_0x123f91:function(){},_0x41bac2=_0x1465a0(0x25f)==typeof _0x41bac2?_0x41bac2:'',_0x40fd22=_0x1465a0(0x25f)==typeof _0x40fd22?_0x40fd22:_0x1465a0(0x244),_0x5a206e='string'==typeof _0x5a206e?_0x5a206e:'';let _0x2e3abd=this['buildElement']('input',null,{'class':'force-dialog-input','type':_0x40fd22,'value':_0x41bac2,'placeholder':_0x5a206e,'data-touch':_0x1465a0(0x270)});return this[_0x1465a0(0x1ac)](function(_0x309eea,_0x1e7df6){return _0x309eea?_0x123f91(_0x2e3abd['value'],_0x1e7df6):_0x123f91(!0x1,_0x1e7df6);}),_0x2e3abd[_0x1465a0(0x28d)](this['textOut']),_0x2e3abd[_0x1465a0(0x1ae)](_0x1465a0(0x203),function(_0x4fc6bf){const _0x2adaf0=_0x1465a0;_0x2adaf0(0x270)==this['dataset'][_0x2adaf0(0x239)]&&(this['select'](),this[_0x2adaf0(0x233)][_0x2adaf0(0x239)]='last');}),this[_0x1465a0(0x214)]=_0x2e3abd,this;},!0x0!==_0x26729a&&_0x5081f4[_0x1d6eb6(0x251)](),_0x5081f4;},this[_0x1fbba3(0x1ca)]=function(_0x1a786a,_0x518c14,_0x47733f){const _0x15964c=_0x1fbba3;let _0x396888=!0x1,_0xbac160=_0x15964c(0x1af),_0x256ffb=document[_0x15964c(0x24a)](_0xbac160);'string'!=typeof _0x1a786a&&(_0x1a786a=this[_0x15964c(0x204)](_0x1a786a,_0x47733f),_0x396888=!0x0),_0x256ffb&&_0x256ffb['parentNode']['removeChild'](_0x256ffb),window[_0x15964c(0x26a)]&&clearTimeout(window[_0x15964c(0x26a)]),(_0x256ffb=document[_0x15964c(0x1a8)](_0x15964c(0x27c)))[_0x15964c(0x1c4)]=_0x1a786a,_0x256ffb['id']=_0xbac160,_0x256ffb[_0x15964c(0x216)]['add'](_0x15964c(0x1af)),_0x256ffb[_0x15964c(0x245)][_0x15964c(0x217)]=_0x396888?_0x15964c(0x23d):_0x15964c(0x1de),_0x1a786a[_0x15964c(0x215)](/[\u0600-\u06ff]/ig)?(_0x256ffb[_0x15964c(0x245)][_0x15964c(0x272)]='rtl',_0x256ffb[_0x15964c(0x245)][_0x15964c(0x1b7)]=_0x15964c(0x267),_0x256ffb[_0x15964c(0x245)][_0x15964c(0x1fc)]='125%',_0x256ffb['style'][_0x15964c(0x217)]=_0x15964c(0x253)):_0x256ffb[_0x15964c(0x245)][_0x15964c(0x260)]='auto',_0x256ffb[_0x15964c(0x245)]['left']='-100vw',document[_0x15964c(0x201)][_0x15964c(0x1c5)](_0x256ffb);let _0x4d1d24=_0x256ffb[_0x15964c(0x23a)]/0x2;_0x256ffb[_0x15964c(0x245)][_0x15964c(0x23d)]=_0x15964c(0x223)+_0x4d1d24+_0x15964c(0x288),_0x256ffb&&_0x256ffb[_0x15964c(0x1ae)](_0x15964c(0x276),this['absorbEvent']),window[_0x15964c(0x26a)]=setTimeout(function(_0x10c0ed){const _0x33f446=_0x15964c;let _0x411761=document[_0x33f446(0x24a)](_0xbac160);if(!_0x411761)return!0x1;_0x411761[_0x33f446(0x245)][_0x33f446(0x21b)]=_0x33f446(0x1b9),setTimeout(function(_0x3a6d69){const _0x2d8453=_0x33f446;if(!_0x411761)return!0x1;_0x411761[_0x2d8453(0x1c1)][_0x2d8453(0x1ad)](_0x411761);},0x5dc);},_0x518c14?0x3e8*_0x518c14:0xbb8);},this['parseJSON']=function(_0x1f3db5,_0x4ce0ab,_0x3ec4d3,_0x2da481){const _0x3be7b2=_0x1fbba3;let _0x293a86='';if(_0x3ec4d3=_0x3ec4d3?parseInt(_0x3ec4d3,0xa):0x0,_0x4ce0ab=_0x4ce0ab?parseInt(_0x4ce0ab,0xa):0x1,_0x2da481=_0x2da481?parseInt(_0x2da481,0xa):0x2,_0x3be7b2(0x1dc)==typeof _0x1f3db5&&null!==_0x1f3db5||Array[_0x3be7b2(0x209)](_0x1f3db5)){let _0x23dc83=Array[_0x3be7b2(0x209)](_0x1f3db5)?'[':'{',_0x450d22=Array[_0x3be7b2(0x209)](_0x1f3db5)?']':'}';0x0==_0x3ec4d3&&(_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x3ec4d3)+''+_0x23dc83+'\x0d\x0a');let _0x566f98=this[_0x3be7b2(0x1f9)](_0x1f3db5),_0x4bea50=0x0;for(let _0x538025 in _0x1f3db5){let _0x122ea5=++_0x4bea50<_0x566f98?',':'',_0x4113e4=_0x1f3db5[_0x538025],_0x130a59=_0x3ec4d3+0x2;if(_0x3be7b2(0x1dc)==typeof _0x4113e4&&null!==_0x4113e4||Array['isArray'](_0x4113e4)){let _0x3a2c1d=Array['isArray'](_0x4113e4)?'[':'{',_0x3bf57a=Array[_0x3be7b2(0x209)](_0x4113e4)?']':'}',_0x2ecc59='{'===_0x23dc83?'\x22'+_0x538025+_0x3be7b2(0x202):'';_0x293a86+='\x20'['repeat'](_0x2da481*_0x130a59)+''+_0x2ecc59+_0x3a2c1d+'\x0d\x0a',_0x130a59/0x2<_0x4ce0ab?_0x293a86+=this[_0x3be7b2(0x204)](_0x4113e4,_0x4ce0ab,_0x130a59,_0x2da481):_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*(_0x130a59+0x2))+_0x3be7b2(0x1d7)+_0x4ce0ab+_0x3be7b2(0x1fb),_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x130a59)+''+_0x3bf57a+_0x122ea5+'\x0d\x0a';}else{if(_0x3be7b2(0x25f)==typeof _0x4113e4||_0x3be7b2(0x1bf)==typeof _0x4113e4){let _0xf01830='number'==typeof _0x4113e4?_0x4113e4[_0x3be7b2(0x255)]():'\x22'+_0x4113e4+'\x22';_0x538025='{'===_0x23dc83?'\x22'+_0x538025+'\x22\x20:\x20':'',_0x293a86+='\x20'['repeat'](_0x2da481*_0x130a59)+''+_0x538025+_0xf01830+_0x122ea5+'\x0d\x0a';}else{if(_0x3be7b2(0x278)==typeof _0x4113e4){let _0x571894=!0x0===_0x4113e4?'true':_0x3be7b2(0x1b0);_0x538025='{'===_0x23dc83?'\x22'+_0x538025+_0x3be7b2(0x202):'',_0x293a86+='\x20'['repeat'](_0x2da481*_0x130a59)+''+_0x538025+_0x571894+_0x122ea5+'\x0d\x0a';}else{if(null===_0x4113e4)_0x538025='{'===_0x23dc83?'\x22'+_0x538025+_0x3be7b2(0x202):'',_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x130a59)+''+_0x538025+_0x3be7b2(0x231)+_0x122ea5+'\x0d\x0a';else{let _0x2b170d='\x22['+typeof _0x4113e4+']\x22';_0x538025='{'===_0x23dc83?'\x22'+_0x538025+_0x3be7b2(0x202):'',_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x130a59)+''+_0x538025+_0x2b170d+_0x122ea5+'\x0d\x0a';}}}}}0x0==_0x3ec4d3&&(_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x3ec4d3)+''+_0x450d22+'\x0d\x0a');}else _0x3be7b2(0x25f)==typeof _0x1f3db5?_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x3ec4d3)+'\x22'+_0x1f3db5+_0x3be7b2(0x21c):_0x3be7b2(0x1bf)==typeof _0x1f3db5?_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x3ec4d3)+''+_0x1f3db5[_0x3be7b2(0x255)]()+'\x0d\x0a':'boolean'==typeof _0x1f3db5?_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x3ec4d3)+''+(!0x0===_0x1f3db5?_0x3be7b2(0x199):_0x3be7b2(0x1b0))+'\x0d\x0a':null===_0x1f3db5?_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x3ec4d3)+_0x3be7b2(0x219):_0x293a86+='\x20'[_0x3be7b2(0x26f)](_0x2da481*_0x3ec4d3)+'\x22['+typeof _0x1f3db5+_0x3be7b2(0x1ec);return _0x293a86;},this[_0x1fbba3(0x236)]=function(_0x3a34fa,_0x2214a7,_0x3e80f6,_0x48231f,_0x3dbbcd,_0x163cb4,_0x5f17ec,_0x2a99ca,_0x53d62b){const _0x7f4505=_0x1fbba3;_0x2214a7=_0x7f4505(0x22b)==typeof _0x2214a7?_0x2214a7:function(){},_0x3e80f6=_0x7f4505(0x22b)==typeof _0x3e80f6?_0x3e80f6:function(){},_0x163cb4=_0x7f4505(0x22b)==typeof _0x163cb4?_0x163cb4:function(){},_0x5f17ec=_0x7f4505(0x22b)==typeof _0x5f17ec?_0x5f17ec:function(){},_0x53d62b=_0x7f4505(0x22b)==typeof _0x53d62b?_0x53d62b:function(){};let _0x1cce42=!0x1;if(window[_0x7f4505(0x275)])_0x1cce42=new XMLHttpRequest();else{let _0x462744=[function(){const _0x23d95d=_0x7f4505;return new ActiveXObject(_0x23d95d(0x22c));},function(){const _0x29ceaa=_0x7f4505;return new ActiveXObject(_0x29ceaa(0x254));},function(){const _0x47d9de=_0x7f4505;return new ActiveXObject(_0x47d9de(0x1d1));}];for(let _0x54e72f=0x0;_0x54e72f<_0x462744[_0x7f4505(0x25b)];_0x54e72f++){try{_0x1cce42=_0x462744[_0x54e72f]();}catch(_0x3b97cf){continue;}break;}}if(!_0x1cce42)return _0x3e80f6(_0x7f4505(0x20d));if(_0x2a99ca=_0x7f4505(0x25f)==typeof _0x2a99ca&&['GET',_0x7f4505(0x1e5),_0x7f4505(0x24b),_0x7f4505(0x1e3),_0x7f4505(0x1fe),_0x7f4505(0x286)]['indexOf'](_0x2a99ca)>=0x0?_0x2a99ca:'object'==typeof _0x48231f&&null!==_0x48231f?_0x7f4505(0x1e5):'GET',_0x1cce42[_0x7f4505(0x226)](_0x2a99ca,_0x3a34fa,!0x0),'object'==typeof _0x48231f&&null!==_0x48231f&&_0x7f4505(0x22b)!=typeof _0x48231f[_0x7f4505(0x263)]&&(_0x1cce42[_0x7f4505(0x210)](_0x7f4505(0x1a4),_0x7f4505(0x20f)),_0x48231f=this[_0x7f4505(0x1d2)](_0x48231f)),_0x7f4505(0x1dc)==typeof _0x3dbbcd&&null!=_0x3dbbcd){for(let _0x1e9b62 in _0x3dbbcd)_0x1cce42[_0x7f4505(0x210)](_0x1e9b62,_0x3dbbcd[_0x1e9b62]);}_0x1cce42[_0x7f4505(0x289)]['addEventListener'](_0x7f4505(0x282),_0x163cb4,!0x1),_0x1cce42[_0x7f4505(0x1ae)](_0x7f4505(0x282),_0x5f17ec,!0x1),_0x1cce42[_0x7f4505(0x1ae)](_0x7f4505(0x230),function(_0x3cd67a){const _0x296127=_0x7f4505;if(0x4===_0x1cce42[_0x296127(0x206)]&&0xc8===_0x1cce42[_0x296127(0x1e4)]&&_0x296127(0x25f)==typeof _0x1cce42[_0x296127(0x1c7)]){let _0x45e8d1=_0x1cce42[_0x296127(0x1c7)];try{_0x45e8d1=JSON[_0x296127(0x222)](_0x1cce42[_0x296127(0x1c7)]);}catch(_0x499956){_0x45e8d1=_0x1cce42[_0x296127(0x1c7)];}return _0x2214a7(_0x45e8d1);}return 0x4===_0x1cce42[_0x296127(0x206)]?_0x3e80f6(_0x296127(0x27f)+_0x1cce42[_0x296127(0x1e4)]+'\x20-\x20'+(0x0===_0x1cce42[_0x296127(0x1e4)]?_0x296127(0x27a):_0x1cce42[_0x296127(0x19b)])):_0x1cce42[_0x296127(0x206)]<0x4?_0x53d62b('Force::stream-->\x20'+_0x1cce42['readyState']+'\x20'+_0x1cce42['status']+'\x20'+_0x1cce42[_0x296127(0x19b)]):_0x3e80f6('Error:\x20'+_0x1cce42[_0x296127(0x1e4)]+'\x20'+_0x1cce42[_0x296127(0x19b)]);},!0x1),_0x1cce42[_0x7f4505(0x1b4)](_0x48231f);},this[_0x1fbba3(0x229)]=function(_0x38cb3d,_0x1470fd,_0x51afdf){const _0x151095=_0x1fbba3;return(_0x51afdf=_0x51afdf?parseInt(_0x51afdf):0x0,_0x1470fd='function'==typeof _0x1470fd?_0x1470fd:function(){},_0x151095(0x25f)!=typeof _0x38cb3d)?_0x1470fd(!0x1):window[_0x151095(0x1b8)](_0x38cb3d)||_0x51afdf>0x3?_0x1470fd(!!window[_0x151095(0x1b8)](_0x38cb3d)&&_0x151095(0x22b)==typeof window[_0x38cb3d]):(_0x51afdf++,setTimeout(function(){_0x38a84b['onFunctionReady'](_0x38cb3d,_0x1470fd,_0x51afdf);},0x64));},this[_0x1fbba3(0x24e)]=function(_0x57842b,_0x1ea3db){const _0x576210=_0x1fbba3;let _0x162643=/^force\/virtual\//,_0x2d7d0e=_0x576210(0x23b)+_0x57842b[_0x576210(0x255)]();if(!0x1===_0x57842b){for(let _0x132c91=0x0;_0x132c91