var abort_undo_state=null,g_caption_add_cancelled=![],g_caption_cancel_flag_path=null;function writeCancelFlag(N,l){var L={'kqgXR':'caption_ca'+'ncel_flag_'+'write_fail'+'ed'};try{fs['writeFileS'+'ync'](N,l);}catch(y){tracker['error'](L['kqgXR']);}}async function check_and_reload_abort_undo_state(){var N={'ISefi':function(l,L){return l(L);},'XrjAi':'undo','vEtep':function(l,L){return l!==L;},'CxEBd':'Found\x20abor'+'t\x20info'};try{const l=N['ISefi'](getQueryParam,N['XrjAi']);N['vEtep'](l,null)?(console['log'](N['CxEBd']),console['log']('random_str'+'ing',l),await N['ISefi'](test_47_load_state,l)):console['log']('No\x20abort\x20i'+'nfo\x20found');}catch(L){console['log']('Error\x20in\x20c'+'heck_and_r'+'eload_abor'+'t_undo_sta'+'te:\x20'+L);}}function check_and_show_abort_message(){var N={'GIvnF':function(L,y){return L(y);},'ntjIo':'abort','PDpKE':function(L,p){return L===p;},'CKVBL':'Abort\x20dete'+'cted\x20at\x20ex'+'tension\x20re'+'start','JsxJT':'Task\x20abort'+'ed.\x20To\x20rev'+'ert\x20any\x20ch'+'anges,\x20jus'+'t\x20press\x20th'+'e\x20Undo\x20but'+'ton\x20at\x20the'+'\x20top\x20of\x20th'+'e\x20extensio'+'n.'};const l=N['GIvnF'](getQueryParam,N['ntjIo']);N['PDpKE'](l,'true')&&(console['log'](N['CKVBL']),N['GIvnF'](showMessage,N['JsxJT']));}function clear_abort_undo_state(){abort_undo_state=null;}function abort_and_undo(){var N={'jCiZJ':'STOP\x20AND\x20U'+'NDO\x20CHANGE'+'S','tflse':function(l,L,y){return l(L,y);},'ypTbE':function(l,L){return l+L;},'KFAsb':function(l,L){return l+L;},'AmtRn':'../client/'+'index.html'+'?undo='};tracker['event'](N['jCiZJ']),g_caption_add_cancelled=!![];g_caption_cancel_flag_path&&N['tflse'](writeCancelFlag,g_caption_cancel_flag_path,'-1');try{process['removeAllL'+'isteners'](),window['location']['href']=N['ypTbE']('../client/'+'index.html'+'?undo=',abort_undo_state);}catch(l){window['location']['href']=N['KFAsb'](N['AmtRn'],abort_undo_state);}}