var g_review_params={'startup':0.1,'main_menu_open':0.1},g_review_startup_complete=![],g_can_be_asked_for_review=![];function showReviewWithProbability(N='startup'){const l={'ViGLc':'g_can_be_a'+'sked_for_r'+'eview:\x20','GGXdn':'rand:\x20','dlHud':'probabilit'+'y:\x20'};console['log']('showReview'+'WithProbab'+'ility\x20-\x20tr'+'igger:\x20',N),console['log'](l['ViGLc'],g_can_be_asked_for_review);if(!g_can_be_asked_for_review)return;const L=Math['random'](),y=g_review_params[N];console['log'](l['GGXdn'],L),console['log'](l['dlHud'],y),L<y&&!g_web_tour_open&&showReview();}function showReview(){const N={'Wlyjh':function(l,L){return l(L);},'EqonS':'hidden','VYdQU':function(l){return l();}};N['Wlyjh']($,'#review')['removeClas'+'s'](N['EqonS']),N['VYdQU'](manageNotificationsPanel),tracker['event']('REVIEW\x20SHO'+'WN');}function set_review_listeners(){const N={'ungmJ':function(l,L){return l(L);},'UeqmA':'#review','eoeIJ':'close-type','AKEnP':'no-rating-'+'given','MszNr':'no-to-publ'+'ic-review','BMGWo':'#review-ra'+'ting','ynBfz':'rating','RAWUZ':'link','XySFE':'hidden','wxKig':function(l){return l();},'SckQN':'yellow','mUnaT':'drop-shado'+'w(0px\x200px\x20'+'3px\x20yellow'+')','QNdnX':'rgb(79\x2080\x20'+'83)','BfHxf':'filter','ZsZhn':'none','ZKuNv':'star','uYnHx':function(l,L){return l(L);},'ZhNtS':'.review-ra'+'ting-star','Ikzme':function(l,L){return l(L);},'MzgQR':'#review-ra'+'ting\x20mouse'+'leave','LdOLM':'review\x20rat'+'ing\x20star\x20c'+'lick','rBfhN':function(l,L){return l(L);},'gjtqv':function(l,L){return l(L);},'aQxKf':function(l,L){return l===L;},'tKihu':function(l,L){return l(L);},'VinWh':'#review-pa'+'ge-ask-to-'+'share','xsvoa':'#review-pa'+'ge-feedbac'+'k','aNZss':function(l,L){return l(L);},'xgElt':'#review-pa'+'ge-feedbac'+'k-comments','DaQCj':'Error\x20in\x20s'+'ubmitting\x20'+'review:\x20','ORGhu':'.review-cl'+'ose-button','RGxgw':'click','LyAHG':function(l,L){return l(L);},'QTmSa':'#review-pa'+'ge-ask-to-'+'share-yes-'+'button','oPsCC':'mouseover','XmvUE':'mouseleave','ocOJf':function(l,L){return l(L);},'uJUcP':'#button-su'+'bmit-revie'+'w'};N['uYnHx']($,N['ORGhu'])['on'](N['RGxgw'],function(l){N['ungmJ']($,N['UeqmA'])['addClass']('hidden'),manageNotificationsPanel(),tracker['event']('REVIEW\x20DIS'+'MISSED\x20:(');const L=N['ungmJ']($,this)['data'](N['eoeIJ']);console['log']('declinedRe'+'view\x20butto'+'n_type:\x20'+L),[N['AKEnP'],N['MszNr']]['includes'](L)?editai_api['declinedRe'+'view'](L):editai_api['submitRevi'+'ew']({'rating':N['ungmJ'](parseInt,N['ungmJ']($,N['BMGWo'])['data'](N['ynBfz'])),'comments':''}),g_can_be_asked_for_review=![];}),N['LyAHG']($,N['QTmSa'])['on'](N['RGxgw'],function(l){const L=$(this)['attr'](N['RAWUZ']);csInterface['openURLInD'+'efaultBrow'+'ser'](L),tracker['event']('ASK\x20TO\x20SHA'+'RE\x20YES\x20BUT'+'TON\x20CLICKE'+'D\x20:)'),N['ungmJ']($,N['UeqmA'])['addClass'](N['XySFE']),N['wxKig'](manageNotificationsPanel),g_can_be_asked_for_review=![],confetti({'spread':0x46,'particleCount':0x64,'ticks':0x32});}),N['ungmJ']($,'.review-ra'+'ting-star')['on'](N['oPsCC'],function(l){const L={'iIxbc':function(p,M){return N['ungmJ'](p,M);},'fFXhD':function(p,M){return p<=M;},'gKVhc':'color','bvhlC':N['SckQN'],'RuopK':N['mUnaT'],'toWru':N['QNdnX'],'SsVUv':N['BfHxf'],'wXQfM':N['ZsZhn']},y=N['ungmJ'](parseInt,$(this)['data'](N['ZKuNv']));N['uYnHx']($,N['ZhNtS'])['each']((p,M)=>{const O=L['iIxbc'](parseInt,$(M)['data']('star'));L['fFXhD'](O,y)?(L['iIxbc']($,M)['css'](L['gKVhc'],L['bvhlC']),$(M)['css']('filter',L['RuopK'])):($(M)['css'](L['gKVhc'],L['toWru']),L['iIxbc']($,M)['css'](L['SsVUv'],L['wXQfM']));});}),$(N['BMGWo'])['on'](N['XmvUE'],function(l){console['log'](N['MzgQR']),N['Ikzme']($,'.review-ra'+'ting-star')['each']((L,y)=>{$(y)['css']('color','rgb(79\x2080\x20'+'83)'),N['Ikzme']($,y)['css'](N['BfHxf'],N['ZsZhn']);});}),N['ocOJf']($,N['ZhNtS'])['on'](N['RGxgw'],function(l){console['log'](N['LdOLM']);const L=N['Ikzme'](parseInt,N['rBfhN']($,this)['data'](N['ZKuNv']));N['Ikzme']($,N['BMGWo'])['data'](N['ynBfz'],L),tracker['event']('RATING\x20GIV'+'EN'),console['log']('RATING\x20GIV'+'EN:\x20'+L+'/5'),N['gjtqv']($,'#review-pa'+'ge-rating')['addClass'](N['XySFE']),N['aQxKf'](L,0x96*-0x23+-0x1*0x10a6+-0x1*-0x252d)?N['tKihu']($,N['VinWh'])['removeClas'+'s']('hidden'):N['tKihu']($,N['xsvoa'])['removeClas'+'s']('hidden');}),N['tKihu']($,N['uJUcP'])['on'](N['RGxgw'],function(l){try{const L={'rating':N['Ikzme'](parseInt,N['aNZss']($,N['BMGWo'])['data']('rating')),'comments':$(N['xgElt'])['val']()};editai_api['submitRevi'+'ew'](L);}catch(y){console['log'](N['DaQCj'],y);}N['ungmJ']($,N['UeqmA'])['addClass'](N['XySFE']),manageNotificationsPanel(),tracker['event']('REVIEW\x20SUB'+'MITTED\x20:)'),confetti({'spread':0x46,'particleCount':0x64,'ticks':0x32});});}