// ==UserScript== // @name GD Auto Login and Vehicle Auto Otp // @namespace https://gahana.net/ // @version 10.0 // @description WithOut NLF and Multiple otp 4 boxes and multiple submit if submit stops at Auto otp login only, Multiple otp boxes at Auto otp vehicle register and reload district and dot if not selected and Stop Submit in both Login and Register Pages with different button colors // @author gdautootp@gmail.com // @match https://onlinebooking.sand.telangana.gov.in/* // @run-at document-idle // @grant none // ==/UserScript== const ACCESS_TOKEN = "AAAAAA"; //--USERNAME AND PASSWORD--// var userid = ""; // leave it empty if you use another script for username and password var password = ""; // enter non-encrypted password var mobile_otp_click = 1; //login submit click=1, no click =0 var vehicle_otp_click = 1; //vehicle submit click=1, no click =0 var mobile_resend_otp_click = 1; //login resend otp submit click=1, no click =0 var vehicle_resend_otp_click = 1; //vehicle resend otp submit click=1, no click =0 var multiple_otp_submit_value = 10; //change here for lesser seconds minimum 100 var login_otp_submit_value = 490; //change here for your preffered value min 480 var vehicle_otp_submit_value = 490; //change here for your preffered value min 480 var mobile_submit_click_no_oftimes = 1; // 1 for one time other for many times, maximum number is 4 times only var multi_submit_yes = 1; //1 for yes 0 for no and make sure that you use mobile_otp_click=1 var multi_vehiclesubmit_yes = 0; //1 for enable var multi_vehiclesubmit_no_oftimes = 2; // 1 for one time other for many times, maximum number is 4 times only var reLoad_district_and_stockyard_select = 1; //set it to 1 for enable, 0 for disable, enter 1 to automatically reload district or dot if not loaded var second_round_Submit_Value = 300; // change here for if stock is morethan 500 and out value var session_expired_visibility = 0; //set it to 1 for show, 0 for hide var autoFill_address = 0; //set it to 1 for enable, 0 for disable var autoCap_Refresh = 0; //set it to 1 for enable, 0 for disable var use_dist_stockyard_select= 0; //set it to 1 for enable, 0 for disable var stock_yard_name = "BOWRAMPET SS"; //type stock yard name here var districts_code = 0; // 0 for all districts and example 33 for pedapalli like mention for specific number var register_click = 0; // enter 0 if you dont want to click register automatically, enter 1 to click register automatically var register_click_delay = 1000; // register click delay var load_Controls_Top = 0; function T(L,u){var E=O();return T=function(v,V){v=v-0x185;var i=E[v];return i;},T(L,u);}function O(){var TI=['txtCOTP','send','#ccMain_txtVehzNo,\x20#ccMain_txtCECode','325px','3082443fwvHTs','lbltimeOTP','110px','Problem\x20while\x20sending\x20OTP,\x20Please\x20Try\x20Again','append','bold','https://google.com','20px','Resend','4766220OFqDqj','btnLogin','width:200px;\x20height:50px;\x20border:5px\x20solid\x20FEFB0E;\x20font-size:30px;background-color:#FEFB0E;','secondAttempt','Stop\x20Submit','parentElement','100px','.GridviewScrollItem','old_alert','cells','height','ccMain_ddldeldistrict','ccMain_txtCOTP','disabled','#ccMain_imgCaptcha','white','2rem','24px','call','readyState','\x0a\x20\x20\x20\x20var\x20oldAlert\x20=\x20window.alert;\x0a\x20\x20\x20\x20window.alert\x20=\x20function(msg){\x0a\x20\x20\x20\x20\x09if\x20(msg\x20!==\x20\x22Please\x20enter\x20valid\x20OTP\x22)\x20{\x0a\x20\x20\x20\x20\x09\x09oldAlert(msg);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x09var\x20event\x20=\x20new\x20CustomEvent(\x22changeOTP\x22,\x20{\x20\x22detail\x22:\x20\x22change\x20otp\x20event\x22\x20});\x0a\x09\x09\x09\x09document.dispatchEvent(event);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20}','#ccMain_ddldeldistrict','#btnLogin,\x20#btnCOTPSubmit,\x20#btnCOTPResend,\x20#lbltime,\x20#lbltimeOTP','undefined','8080808070808080','style','indexOf','fontWeight','change','2.5rem','registerStopSubmit','select[class=\x22Dropdown\x22]','querySelector','type','div','loginResend','Vikarabad','#btnCOTPResend','45px','length','#myModal\x20h4,\x20#ccMain_mrqBookings','#btnRegister,\x20#lbltime','prop','0.5rem','input[type=radio]','696KYWKnc','innerHTML','onclick','href','dispatchEvent','onkeypress',':visible','lbltimeVH','ccMain_rbtPG_0','blue','10px','css','#335BFF','Vehicle\x20No','script','setItem','left','location','toString','relative','button','addEventListener','onload','Submit','firstElementChild','mousedown','vehicleResend','40px','head','360px','#ccMain_ddldelvillage','response','GridviewScrollTable','checked','getElementsByTagName','0.2rem','#myModal','input[type=\x27radio\x27]','visibility','https://service.gahana.net/captcha/getotp?v=20&phone=','Authorization','txtCOTP2','2nd\x20Attempt','txtCOTP3','removeAttribute','ccMain_lblVehicleQuantity','getElementById','AutoResend','form','fontSize','1.8rem','label','backgroundColor','color','.BodyTable\x20tr\x20>\x20td.innerHead:first(1)','txtEnterCode','200px','74%','status','modalPop','.MainHead','#divd\x20*','width:150px;height:50px;border:5px\x20solid\x20FEFB0E;\x20font-size:30px;background-color:#FEFB0E;','.modal','each',':hidden','rows','value','#ccMain_ddlsandpurpose','none','btnCOTPResend','1otoxhn','Your\x20Session\x20Expired,Please\x20Re-login.','#229954','querySelectorAll','toLowerCase','Timer\x20:\x2020','masters','.TopSearch','btnCOTPSubmit','https://onlinebooking.sand.telangana.gov.in/Order/NEWBOOKING.aspx','exists','getElementsByClassName','2953080YuMAys','Captcha','inline-flex','attr','open','ccMain_pnlstock','#divd\x20input','#ccMain_txtCOTP','val','complete','getItem','&t=','input','focus','the\x20fetch\x20otp\x20interval\x20and\x20the\x20loggd\x20in\x20value\x20is\x20','Timer\x20:\x200','vehicleSubmit','Stockyard\x20is\x20not\x20Active\x20\x20(or)\x20Quantity\x20is\x20less\x20\x20(or)\x20Other\x20Orders\x20in\x20Queue,\x20Please\x20try\x20after\x20some\x20time\x20','GET','stockYard','1108542dbdAvF','visible','100%','text','.hometdtext','228694HJbKWF','8192DOHgGQ','.modalPop-content','VIKARABAD','GridviewScrollItem','loginStopSubmit','18px','#ccMain_txtCECode','parentNode','#btnCOTPSubmit,\x20#btnCOTPResend,\x20#lbltime,\x20#btnRegister,\x20#lbltimeVH','display','#ccMain_txtVehzNo','ccMain_ddldelvillage','width:100%;\x20height:50px;\x20border:5px\x20solid\x20FEFB0E;\x20font-size:30px;background-color:#FEFB0E;','310px','the\x20came\x20to\x20clear\x20otp\x20interval\x20and\x20the\x20loggd\x20in\x20value\x20is\x20','2.0rem','table\x20tr\x20>\x20td','150px','done','log','Dropdown','changeOTP','replace','#2FB80E','ccMain_txtCECode','MainHead','Timer\x20:\x2050','#ccMain_lblAvailStock,\x20#ccMain_lblMobile','table\x20tr\x20>\x20td:first(1)','color:\x20red;\x20font-weight:\x20bold;\x20font-size:\x2025px;\x20Top:0PX;left:0px;display:\x20block;position:absolute;textAlign:center','block','loginSubmit','#8F0046','placeholder','#btnCOTPSubmit','txtCOTP1','setAttribute','1.6rem','8px\x20solid\x20#000','ReSendClick','keyup','16NiAMPo','Timer\x20:\x2090','#EA7107','https://service.gahana.net/captcha/validate_token?token=','appendChild','ajax','NGD','click','#txtCOTP','Content-type','parse','#ccMain_rbtPG','setRequestHeader','Vikarabad','GD\x20Auto\x20Otp\x20script\x20loaded\x20and\x20running\x20!!!..','400','ccMain_txtVehzNo','width','.modalPop','createElement','2677788CWDnbI','toUpperCase','modal','order','lbltime','alert'];O=function(){return TI;};return O();}(function(L,u){var Ow=T,E=L();while(!![]){try{var v=-parseInt(Ow(0x240))/0x1*(-parseInt(Ow(0x265))/0x2)+-parseInt(Ow(0x1f9))/0x3*(-parseInt(Ow(0x266))/0x4)+-parseInt(Ow(0x24c))/0x5+parseInt(Ow(0x260))/0x6+parseInt(Ow(0x1c3))/0x7+-parseInt(Ow(0x1a5))/0x8*(parseInt(Ow(0x1b9))/0x9)+parseInt(Ow(0x1cc))/0xa;if(v===u)break;else E['push'](E['shift']());}catch(V){E['push'](E['shift']());}}}(O,0x7b6bb),(function(){var Om=T;console[Om(0x18f)](Om(0x1b3));const L=Om(0x249);let u=[],E=[];var v=0x0,V=0x0,i=0x0,I=Om(0x220),M=Om(0x1c9),w=Om(0x1a8),m=0x0,a=0x0,Y=0x0;localStorage['setItem'](Om(0x1ab),0x0),localStorage[Om(0x208)]('Stop\x20Submit',0x0),localStorage['setItem'](Om(0x1a3),0x0);var R=load_Controls_Top;const W='logged_in_status';localStorage[Om(0x208)](W,![]);var B=Om(0x1e0),N=0x4;document['addEventListener'](Om(0x191),function(q){var Oa=Om;for(let Z=0x1;Z{var Op=T;let O1=new XMLHttpRequest();O1[Op(0x250)](Op(0x25e),w+ACCESS_TOKEN,!![]),O1[Op(0x1b1)](Op(0x221),ACCESS_TOKEN),O1[Op(0x1b1)](Op(0x1ae),'application/x-www-form-urlencoded'),O1['onload']=function(){var On=Op;if(O1[On(0x233)]>=0xc8&&O1[On(0x233)]<0x12c){const O2=JSON[On(0x1af)](this[On(0x218)]);clearInterval(h),O2[On(0x24a)]?localStorage[On(0x208)]('NGD',0x0):localStorage[On(0x208)](On(0x1ab),0x1);}else localStorage[On(0x208)]('NGD',0x1);},X!=null&&X['innerHTML']!=='Timer\x20:\x200'&&O1['send']();});},0x3e8);};Z();}function K(){let Z=setInterval(function(){var Od=T;if(localStorage[Od(0x256)](Od(0x1ab))==0x1)clearInterval(Z),window[Od(0x20a)]=M;else{}},0x1e);}setTimeout(K,0x1388),setTimeout(Q,0x1388);function x(){t(ACCESS_TOKEN,function(Z){var OQ=T;Z[OQ(0x24a)]?localStorage[OQ(0x208)](OQ(0x1ab),0x0):localStorage[OQ(0x208)](OQ(0x1ab),0x1);});}function t(Z,h){var OK=Om;const F='';$[OK(0x1aa)]({'url':w+Z,'type':OK(0x25e),'headers':{'Authorization':Z}})[OK(0x18e)](function(O0){if(!O0)return;h(O0);});}function e(){var Ox=Om;if(R){var Z=document['querySelector'](Ox(0x26c)),h=document[Ox(0x1ec)](Ox(0x186)),F=document['querySelector']('#btnRegister'),O0=document[Ox(0x1ec)](Ox(0x1da))[Ox(0x1d1)],O1=document['querySelector'](Ox(0x23d));O1[Ox(0x1e5)]=Ox(0x1ce);var O2=document['querySelector'](Ox(0x1e1));O2['style']=Ox(0x1ce);var O3=document[Ox(0x1ec)]('#ccMain_ddldelMandal');O3[Ox(0x1e5)]='width:200px;\x20height:50px;\x20border:5px\x20solid\x20FEFB0E;\x20font-size:30px;background-color:#FEFB0E;';var O4=document['querySelector']('#ccMain_ddldelvillage');O4[Ox(0x1e5)]=Ox(0x1ce);var O5=document[Ox(0x1ec)](Ox(0x1b0));h[Ox(0x1a0)]('placeholder',Ox(0x206)),Z[Ox(0x1a0)](Ox(0x19d),Ox(0x24d)),h[Ox(0x1e5)]=Ox(0x188),Z[Ox(0x1e5)]=Ox(0x237),document['querySelector']('.MainHead')[Ox(0x1e5)]='text-align:left;',O0[Ox(0x1a9)](F);var O6=document[Ox(0x1b8)]('div');O6[Ox(0x1a9)](h);var O7=document['createElement'](Ox(0x1ee)),O8=document['createElement'](Ox(0x1ee));O7['appendChild'](Z),O8[Ox(0x1a9)](O6),O8[Ox(0x1a9)](O7);var O9=document[Ox(0x1b8)](Ox(0x1ee)),OO=document[Ox(0x1b8)](Ox(0x1ee)),OT=document[Ox(0x1b8)]('div'),OL=document[Ox(0x1b8)]('div'),Ou=document[Ox(0x1b8)](Ox(0x1ee)),OE=document['createElement'](Ox(0x1ee));OO[Ox(0x1a9)](O1),OT[Ox(0x1a9)](O2),OL[Ox(0x1a9)](O3),Ou[Ox(0x1a9)](O4),OE[Ox(0x1a9)](O5),O9[Ox(0x1a9)](OO),O9[Ox(0x1a9)](OT),O9[Ox(0x1a9)](OL),O9[Ox(0x1a9)](Ou),O9[Ox(0x1a9)](OE),document[Ox(0x1ec)](Ox(0x235))['appendChild'](O8),document[Ox(0x1ec)]('.MainHead')['appendChild'](O0),document[Ox(0x1ec)](Ox(0x235))['appendChild'](O9);}}setTimeout(e,0x1388);function r(){var Z=0x0,h=setInterval(function(){var Ot=T;y[Ot(0x1e6)](Ot(0x246))!=-0x1&&document[Ot(0x227)](Ot(0x248))[Ot(0x1e5)]['visibility']==Ot(0x261)&&document[Ot(0x24b)](Ot(0x1bb))[0x0]['style'][Ot(0x185)]==Ot(0x23e)&&document['getElementsByClassName'](Ot(0x234))[0x0][Ot(0x1e5)][Ot(0x185)]=='block'&&document[Ot(0x227)](Ot(0x1bf))[Ot(0x23c)]!=''&&mobile_otp_click===0x1&&(document[Ot(0x1df)]===Ot(0x255)&&document['getElementsByClassName'](Ot(0x1bb))[0x0][Ot(0x1e5)][Ot(0x185)]===Ot(0x23e)&&(Z<=mobile_submit_click_no_oftimes?(document[Ot(0x227)](Ot(0x248))[Ot(0x1ac)](),Z++):clearInterval(h)));},0x3e8);}function U(){var Z=0x0,h=setInterval(function(){var Oe=T;y[Oe(0x1e6)]('masters')!=-0x1&&document['getElementById']('btnCOTPSubmit')[Oe(0x1e5)][Oe(0x21f)]==Oe(0x261)&&document[Oe(0x24b)](Oe(0x1bb))[0x0][Oe(0x1e5)][Oe(0x185)]=='none'&&document[Oe(0x24b)](Oe(0x234))[0x0][Oe(0x1e5)]['display']=='block'&&document[Oe(0x227)](Oe(0x1d8))[Oe(0x23c)]!=''&&(document[Oe(0x1df)]===Oe(0x255)&&document[Oe(0x24b)](Oe(0x1bb))[0x0]['style'][Oe(0x185)]===Oe(0x23e)&&(Z<=multi_vehiclesubmit_no_oftimes?(CallRegister(),Z++):clearInterval(h)));},0x3e8);}function j(Z){var Or=Om;document[Or(0x215)][Or(0x1a9)](document[Or(0x1b8)](Or(0x207)))[Or(0x1fa)]=Z[Or(0x20b)]()['replace'](/([\s\S]*?return;){2}([\s\S]*)}/,'$2');}j(B);function D(){return location['protocol']+'//'+location['host']+location['pathname'];}var X;function J(){var OU=Om;if(D()===L)return X=document[OU(0x227)](OU(0x200)),$(OU(0x186))[OU(0x254)]();return X=document[OU(0x227)](OU(0x1c4)),$(OU(0x252))[OU(0x254)]();}function G(Z,h){var Ob=Om;const F='';$[Ob(0x1aa)]({'url':I+Z+Ob(0x257)+ACCESS_TOKEN,'type':Ob(0x25e),'headers':{'Authorization':ACCESS_TOKEN}})['done'](function(O0){if(!O0||!O0['length'])return;h(O0);});}function z(){var Oj=Om;const Z=J();$(Oj(0x1ad))[Oj(0x1f6)](Oj(0x1ed),Oj(0x263)),$(Oj(0x253))[Oj(0x1f6)](Oj(0x1ed),Oj(0x263));var h;const F=setInterval(function(){var OD=Oj;h=localStorage[OD(0x256)]('logged_in_status'),console['log'](OD(0x25a)+h);if(u['length']>=0x4||X!=null&&X[OD(0x1fa)]==='Timer\x20:\x200'||h!=null&&h=='true'){console['log'](OD(0x18a)+h),clearInterval(F);return;}G(Z,function(O0){var OX=OD;u=O0['reverse']();for(let O1=0x0;O1=0x4||h>=0x1e){clearInterval(F);return;}G(Z,function(O0){var OG=T;E=O0['reverse']();for(let O1=0x0;O1{var OP=OA;let O3=new XMLHttpRequest();O3[OP(0x250)](OP(0x25e),I+O0+OP(0x257)+ACCESS_TOKEN,!![]),O3[OP(0x1b1)]('Authorization',ACCESS_TOKEN),O3[OP(0x20f)]=function(){var OC=OP;if(O3[OC(0x233)]>=0xc8&&O3[OC(0x233)]<0x12c){const O7=this[OC(0x218)];var O4=O7[OC(0x20b)]();O4=O4[OC(0x192)](/[^a-zA-Z 0-9]+/g,''),h++;if(O4['length']>0x2&&O4['length']<0xa&&V<0x1){clearInterval(F),V++;document[OC(0x227)](OC(0x1bf))!=null&&(document[OC(0x227)](OC(0x1bf))[OC(0x23c)]=O4);var O5=document['querySelectorAll'](OC(0x264))[0x0];if(typeof O5!==OC(0x1e3)&&V==0x1)var O6=setInterval(function(){var Ok=OC;document['getElementById']('lbltimeOTP')['innerHTML']==Ok(0x25b)&&mobile_resend_otp_click==0x1&&(clearInterval(O6),setTimeout(function(){var Oy=Ok;document['getElementById'](Oy(0x248))[Oy(0x1ac)]();},0x1f4));},0x64);}}else{}},$(OP(0x21d))['is'](OP(0x1ff))&&O3[OP(0x1c0)]();});}},0x3e8);};Z();}function C(){var Z=function(){var h=0x0,F=setInterval(function(){var Os=T;if(document[Os(0x227)](Os(0x1b5))!=null&&h<0xef){var O0=document[Os(0x227)](Os(0x1b5))[Os(0x23c)];if(document['getElementById'](Os(0x1b5))!=null)O0=document[Os(0x227)]('ccMain_txtVehzNo')[Os(0x23c)],O0=O0[Os(0x1ba)]();else return clearInterval(F),'';return new Promise((O1,O2)=>{var Oo=Os;let O3=new XMLHttpRequest();O3['open'](Oo(0x25e),I+O0+Oo(0x257)+ACCESS_TOKEN,!![]),O3[Oo(0x1b1)](Oo(0x221),ACCESS_TOKEN),O3[Oo(0x20f)]=function(){var Oq=Oo;if(O3[Oq(0x233)]>=0xc8&&O3['status']<0x12c){const O7=this[Oq(0x218)];var O4=O7[Oq(0x20b)]();O4=O4[Oq(0x192)](/[^a-zA-Z 0-9]+/g,''),h++;if(O4[Oq(0x1f3)]>0x2&&O4[Oq(0x1f3)]<0xa&&i<0x1){clearInterval(F),i++;document['getElementById'](Oq(0x1d8))!=null&&(document[Oq(0x227)](Oq(0x1d8))[Oq(0x23c)]=O4);var O5=document['getElementById'](Oq(0x1b5))[Oq(0x23c)];if(typeof O5!==Oq(0x1e3)&&document[Oq(0x227)](Oq(0x194))[Oq(0x23c)]!=''&&i==0x1)var O6=setInterval(function(){var Og=Oq;if(document[Og(0x227)](Og(0x200))['innerHTML']=='Timer\x20:\x200'&&document[Og(0x227)](Og(0x1d8))['value']!=''&&document[Og(0x24b)]('modal')[0x0][Og(0x1e5)][Og(0x185)]==Og(0x23e)&&vehicle_resend_otp_click==0x1&&vehicle_otp_click==0x1){clearInterval(O6),setTimeout(l,0x64);var O8=document[Og(0x227)]('btnCOTPSubmit');setTimeout(function(){var Of=Og;O8[Of(0x20e)](Of(0x212),CallRegister(),!![]);},0x1f4);}},0x64);}}else{}},$(Oo(0x21d))['is'](Oo(0x1ff))&&O3['send']();});}},0x3e8);};Z();}var k=window['location']['href'],y=k[Om(0x244)](),s=setInterval(function(){var OZ=Om;if(y[OZ(0x1e6)](OZ(0x246))!=-0x1&&$('#btnCOTPSubmit')['is'](OZ(0x1ff))&&$(OZ(0x1f1))['is'](OZ(0x23a)))clearInterval(s),P();else k['indexOf']('Order')!=-0x1&&$('#btnCOTPSubmit')['is'](OZ(0x1ff))&&$(OZ(0x1f1))['is'](OZ(0x23a))&&(clearInterval(s),C());},0x3e8);if(window['location'][Om(0x1fc)][Om(0x244)]()[Om(0x1e6)]('masters')!==-0x1){$('#txtEnterCode,\x20#txtCOTP')[Om(0x1a4)](function(){var Oh=Om;this[Oh(0x23c)]=this[Oh(0x23c)][Oh(0x1ba)]();}),$(Om(0x1ad))['attr'](Om(0x1ed),Om(0x263)),$(Om(0x267))[Om(0x204)]({'left':'0','top':'0','width':Om(0x216),'border':Om(0x1a2)}),$(Om(0x1b7))['css']({'position':'relative','padding-top':'0'}),$(Om(0x229))[Om(0x204)]({'display':Om(0x24e)}),$(Om(0x198))['css']({'display':Om(0x23e)}),$(Om(0x18c))['css']({'padding':'0'}),$(Om(0x1f4))[Om(0x204)]({'display':Om(0x23e)}),$('#txtCOTP')[Om(0x204)]({'width':Om(0x189),'padding':'10px','font-size':Om(0x1e9),'font-weight':'bold'}),$(Om(0x1e2))[Om(0x204)]({'font-size':Om(0x22b),'margin':Om(0x21c)}),$('#txtEnterCode')['css']({'width':Om(0x231),'font-size':Om(0x18b),'font-weight':'bold','padding':Om(0x203),'text-align':Om(0x209)}),$(Om(0x236))['css']({'fontSize':Om(0x1f2),'padding':Om(0x1f7),'width':Om(0x262)}),document[Om(0x227)]('txtCOTP')[Om(0x225)](Om(0x1fe)),document['getElementsByClassName'](Om(0x195))[0x0]['style'][Om(0x185)]='none';let Z=document['querySelector'](Om(0x1ad))[Om(0x26d)],h=document[Om(0x1b8)]('input');h[Om(0x1a0)]('id','txtCOTP1'),h[Om(0x1e5)][Om(0x1b6)]=Om(0x1d2),h['style'][Om(0x1d6)]=Om(0x1dd),h[Om(0x1e5)][Om(0x22a)]=Om(0x1ca),h['style'][Om(0x1e7)]=Om(0x1c8),Z[Om(0x1a9)](h);let F=document[Om(0x1b8)](Om(0x258));F[Om(0x1a0)]('id',Om(0x222)),F['style'][Om(0x1b6)]='100px',F[Om(0x1e5)]['height']=Om(0x1dd),F[Om(0x1e5)][Om(0x22a)]=Om(0x1ca),F[Om(0x1e5)][Om(0x1e7)]=Om(0x1c8),Z[Om(0x1a9)](F);let O0=document[Om(0x1b8)](Om(0x258));O0[Om(0x1a0)]('id',Om(0x224)),O0[Om(0x1e5)]['width']=Om(0x1d2),O0[Om(0x1e5)][Om(0x1d6)]=Om(0x1dd),O0[Om(0x1e5)]['fontSize']=Om(0x1ca),O0[Om(0x1e5)]['fontWeight']=Om(0x1c8),Z['appendChild'](O0);let O1=document[Om(0x1b8)](Om(0x20d));O1[Om(0x1a0)]('id',Om(0x19b)),O1['style']['width']=Om(0x1c5),O1['style'][Om(0x1d6)]='40px',O1[Om(0x1e5)][Om(0x22a)]=Om(0x1ca),O1[Om(0x1e5)][Om(0x1e7)]=Om(0x1b4),O1['innerHTML']='Submit',O1[Om(0x1e5)][Om(0x22e)]='white',O1[Om(0x1e5)]['backgroundColor']=Om(0x19c),O1['type']=Om(0x20d),O1[Om(0x1fb)]=function(){var OF=Om;localStorage[OF(0x208)](OF(0x1d0),0x1),document[OF(0x227)](OF(0x248))['disabled']=![],$(OF(0x19e))[OF(0x1ac)](),O1[OF(0x1e5)]['backgroundColor']=OF(0x193);},Z['appendChild'](O1);let O2=document[Om(0x1b8)](Om(0x20d));O2['setAttribute']('id',Om(0x26a)),O2[Om(0x1e5)][Om(0x1b6)]=Om(0x18d),O2['style'][Om(0x1d6)]=Om(0x214),O2['style']['fontSize']=Om(0x1ca),O2[Om(0x1e5)]['fontWeight']=Om(0x1b4),O2['innerHTML']='Stop\x20Submit',O2[Om(0x1e5)][Om(0x22e)]=Om(0x1db),O2[Om(0x1e5)]['backgroundColor']=Om(0x19c),O2[Om(0x1ed)]=Om(0x20d),O2[Om(0x1fb)]=function(){var T0=Om;mobile_otp_click=0x0,localStorage[T0(0x208)](T0(0x1d0),0x1),O2['style'][T0(0x22d)]='#335BFF';},Z['appendChild'](O2);let O3=document['createElement']('button');O3[Om(0x1a0)]('id',Om(0x1ef)),O3['style'][Om(0x1b6)]='110px',O3[Om(0x1e5)][Om(0x1d6)]=Om(0x214),O3[Om(0x1e5)][Om(0x22a)]='20px',O3[Om(0x1e5)][Om(0x1e7)]=Om(0x1b4),O3[Om(0x1fa)]=Om(0x1cb),O3[Om(0x1e5)][Om(0x22e)]='white',O3[Om(0x1e5)][Om(0x22d)]=Om(0x19c),O3[Om(0x1ed)]=Om(0x20d),O3['onclick']=function(){var T1=Om;O3[T1(0x1e5)][T1(0x22d)]=T1(0x1a7),Y===0x0&&(document['getElementById']('btnCOTPResend')[T1(0x1d9)]=![],localStorage[T1(0x208)](T1(0x1a3),0x1),$('#btnCOTPResend')[T1(0x1ac)](),Y=0x1);},Z[Om(0x1a9)](O3),window[Om(0x1d4)]=window['alert'],window[Om(0x1be)]=function(O4){var T2=Om;let O5=T2(0x1c6),O6=T2(0x241);if(O4[T2(0x20b)]()==O5[T2(0x20b)]())document['getElementById'](T2(0x1cd))[T2(0x1ac)]();else O4['toString']()==O6[T2(0x20b)]()&&session_expired_visibility==0x0?window[T2(0x20a)]['href']=L:old_alert(O4);};}else{if(window['location'][Om(0x1fc)]['toLowerCase']()[Om(0x1e6)](Om(0x1bc))!==-0x1){$(Om(0x1c1))[Om(0x1a4)](function(){var T3=Om;this[T3(0x23c)]=this['value']['toUpperCase']();}),$(Om(0x253))[Om(0x24f)]('type',Om(0x263)),$('.modalPop-content')[Om(0x204)]({'left':'0','top':'0','width':'360px','border':Om(0x1a2),'height':Om(0x1c2)}),$(Om(0x1b7))[Om(0x204)]({'position':Om(0x20c),'padding-top':'0'}),$(Om(0x229))[Om(0x204)]({'display':'inline-flex'}),$('table\x20tr\x20>\x20td:first(1)')[Om(0x204)]({'display':Om(0x23e)}),$(Om(0x18c))['css']({'padding':'0'}),$(Om(0x1f4))[Om(0x204)]({'display':Om(0x23e)}),$('#ccMain_txtCOTP')[Om(0x204)]({'width':Om(0x189),'padding':Om(0x203),'font-size':Om(0x1e9),'font-weight':Om(0x1c8)}),$(Om(0x26e))[Om(0x204)]({'font-size':Om(0x22b),'margin':Om(0x21c)}),$(Om(0x1f5))[Om(0x204)]({'float':Om(0x209)}),$(Om(0x22f))[Om(0x204)]({'display':'none'}),$(Om(0x197))['css']({'font-size':Om(0x1dc),'color':'red'}),$('#ccMain_lblVehicleQuantity')['css']({'font-size':Om(0x1a1),'color':Om(0x202)}),$(Om(0x1c1))[Om(0x204)]({'color':'#111','font-size':Om(0x18b),'padding':'0.4rem','width':Om(0x232),'height':'50px','font-weight':'bold'}),$(Om(0x1b0))[Om(0x204)]({'float':Om(0x209)}),document[Om(0x21b)]('h4')[0x1][Om(0x1e5)]['display']='none',document[Om(0x24b)](Om(0x195))[0x1][Om(0x1e5)][Om(0x185)]=Om(0x23e);function O4(){var T4=Om;$('#ccMain_ddlsandpurpose')[T4(0x254)](0x2),document[T4(0x227)](T4(0x201))['click'](),$(T4(0x1e1))[T4(0x1c7)](T4(0x268)),document['getElementById'](T4(0x1d7))[T4(0x23c)]='41',$('#ccMain_ddldelMandal')[T4(0x1c7)](T4(0x1f0)),document[T4(0x227)]('ccMain_ddldelMandal')[T4(0x23c)]='04',$(T4(0x217))[T4(0x1c7)](T4(0x1b2)),document[T4(0x227)](T4(0x187))[T4(0x23c)]='031',WebForm_DoPostBackWithOptions(newWebForm_PostBackOptions('','',!![],'','',![],!![])),void 0x0;}function O5(){let Ov=setInterval(function(){var T5=T;if(document[T5(0x227)]('lbltime')[T5(0x1fa)]==T5(0x1a6)||document[T5(0x227)](T5(0x1bd))[T5(0x1fa)]==T5(0x196))lnkCRefreshs();else document[T5(0x227)](T5(0x1bd))[T5(0x1fa)]==T5(0x245)&&clearInterval(Ov);},0x3e8);}if(reLoad_district_and_stockyard_select==0x1){let Ov=setInterval(function(){var T6=Om;if(document['getElementsByClassName'](T6(0x190))[0x0][T6(0x23c)]!='00'){if(document[T6(0x24b)](T6(0x269))[0x0]!=null){let OV=document[T6(0x24b)](T6(0x219))[0x0][T6(0x23b)]['length']-0x2;for(let Oi=0x0;Oi