var g_review_params={'startup':0.1,'main_menu_open':0.1},g_review_startup_complete=![],g_can_be_asked_for_review=![];function showReviewWithProbability(Y='startup'){const Q={'zaxFC':'g_can_be_a'+'sked_for_r'+'eview:\x20','UTbgm':'probabilit'+'y:\x20','ZEGIe':function(V,h){return V<h;},'UFmUs':function(V){return V();}};console['log']('showReview'+'WithProbab'+'ility\x20-\x20tr'+'igger:\x20',Y),console['log'](Q['zaxFC'],g_can_be_asked_for_review);if(!g_can_be_asked_for_review)return;const g=Math['random'](),N=g_review_params[Y];console['log']('rand:\x20',g),console['log'](Q['UTbgm'],N),Q['ZEGIe'](g,N)&&!g_web_tour_open&&Q['UFmUs'](showReview);}function showReview(){const Y={'veFVp':function(Q,g){return Q(g);},'BanYn':'#review'};Y['veFVp']($,Y['BanYn'])['removeClas'+'s']('hidden'),manageNotificationsPanel(),tracker['event']('REVIEW\x20SHO'+'WN');}function set_review_listeners(){const Y={'LyBjt':function(Q,g){return Q(g);},'TauCU':'#review','CCNQJ':'hidden','WaaCv':function(Q){return Q();},'ViuWG':'close-type','UKSSX':'no-rating-'+'given','qpexq':'no-to-publ'+'ic-review','VioqR':'#review-ra'+'ting','CdUsX':'rating','lKTpw':'link','MscMm':function(Q,g){return Q(g);},'wxePt':function(Q,g){return Q(g);},'dnbKL':'color','FTZVB':'filter','vJBmn':'drop-shado'+'w(0px\x200px\x20'+'3px\x20yellow'+')','KRjmJ':'none','ACqcu':function(Q,g){return Q(g);},'LJaFr':'star','OzwZe':'.review-ra'+'ting-star','KpJur':'rgb(79\x2080\x20'+'83)','qXoop':'#review-ra'+'ting\x20mouse'+'leave','HzkTc':'review\x20rat'+'ing\x20star\x20c'+'lick','FufRC':function(Q,g){return Q(g);},'EmjhD':'#review-pa'+'ge-rating','NQkYQ':'#review-pa'+'ge-ask-to-'+'share','QSOay':'#review-pa'+'ge-feedbac'+'k','YVYwY':'#review-pa'+'ge-feedbac'+'k-comments','dyGNx':'Error\x20in\x20s'+'ubmitting\x20'+'review:\x20','xPeHK':function(Q){return Q();},'SphnI':function(Q,g){return Q(g);},'TRYui':'.review-cl'+'ose-button','vFrgt':function(Q,g){return Q(g);},'zfPxI':'#review-pa'+'ge-ask-to-'+'share-yes-'+'button','KXDaD':'click','cwGbN':'mouseover','GLCab':function(Q,g){return Q(g);},'OzRgp':function(Q,g){return Q(g);},'wOUSq':'#button-su'+'bmit-revie'+'w'};$(Y['TRYui'])['on']('click',function(Q){Y['LyBjt']($,Y['TauCU'])['addClass'](Y['CCNQJ']),Y['WaaCv'](manageNotificationsPanel),tracker['event']('REVIEW\x20DIS'+'MISSED\x20:(');const g=Y['LyBjt']($,this)['data'](Y['ViuWG']);console['log']('declinedRe'+'view\x20butto'+'n_type:\x20'+g),[Y['UKSSX'],Y['qpexq']]['includes'](g)?editai_api['declinedRe'+'view'](g):editai_api['submitRevi'+'ew']({'rating':Y['LyBjt'](parseInt,Y['LyBjt']($,Y['VioqR'])['data'](Y['CdUsX'])),'comments':''}),g_can_be_asked_for_review=![];}),Y['vFrgt']($,Y['zfPxI'])['on'](Y['KXDaD'],function(Q){const g=Y['LyBjt']($,this)['attr'](Y['lKTpw']);csInterface['openURLInD'+'efaultBrow'+'ser'](g),tracker['event']('ASK\x20TO\x20SHA'+'RE\x20YES\x20BUT'+'TON\x20CLICKE'+'D\x20:)'),Y['MscMm']($,Y['TauCU'])['addClass'](Y['CCNQJ']),manageNotificationsPanel(),g_can_be_asked_for_review=![],Y['LyBjt'](confetti,{'spread':0x46,'particleCount':0x64,'ticks':0x32});}),$(Y['OzwZe'])['on'](Y['cwGbN'],function(Q){const g=Y['wxePt'](parseInt,Y['ACqcu']($,this)['data'](Y['LJaFr']));$(Y['OzwZe'])['each']((N,V)=>{const h=Y['MscMm'](parseInt,Y['wxePt']($,V)['data']('star'));h<=g?(Y['MscMm']($,V)['css'](Y['dnbKL'],'yellow'),Y['wxePt']($,V)['css'](Y['FTZVB'],Y['vJBmn'])):(Y['wxePt']($,V)['css']('color','rgb(79\x2080\x20'+'83)'),Y['LyBjt']($,V)['css'](Y['FTZVB'],Y['KRjmJ']));});}),Y['vFrgt']($,Y['VioqR'])['on']('mouseleave',function(Q){const g={'NMwDQ':Y['dnbKL'],'wygwf':Y['KpJur'],'VYzGI':function(N,V){return Y['wxePt'](N,V);},'szBxf':Y['FTZVB']};console['log'](Y['qXoop']),$(Y['OzwZe'])['each']((N,V)=>{$(V)['css'](g['NMwDQ'],g['wygwf']),g['VYzGI']($,V)['css'](g['szBxf'],'none');});}),Y['GLCab']($,'.review-ra'+'ting-star')['on'](Y['KXDaD'],function(Q){console['log'](Y['HzkTc']);const g=parseInt(Y['MscMm']($,this)['data'](Y['LJaFr']));Y['LyBjt']($,Y['VioqR'])['data'](Y['CdUsX'],g),tracker['event']('RATING\x20GIV'+'EN'),console['log']('RATING\x20GIV'+'EN:\x20'+g+'/5'),Y['FufRC']($,Y['EmjhD'])['addClass'](Y['CCNQJ']),g===-0x16a1+-0x5df+0x7*0x413?$(Y['NQkYQ'])['removeClas'+'s'](Y['CCNQJ']):$(Y['QSOay'])['removeClas'+'s'](Y['CCNQJ']);}),Y['OzRgp']($,Y['wOUSq'])['on'](Y['KXDaD'],function(Q){try{const g={'rating':Y['ACqcu'](parseInt,$('#review-ra'+'ting')['data']('rating')),'comments':$(Y['YVYwY'])['val']()};editai_api['submitRevi'+'ew'](g);}catch(N){console['log'](Y['dyGNx'],N);}Y['wxePt']($,Y['TauCU'])['addClass'](Y['CCNQJ']),Y['xPeHK'](manageNotificationsPanel),tracker['event']('REVIEW\x20SUB'+'MITTED\x20:)'),Y['SphnI'](confetti,{'spread':0x46,'particleCount':0x64,'ticks':0x32});});}