var g_review_params={'startup':0.1,'main_menu_open':0.1},g_review_startup_complete=![],g_can_be_asked_for_review=![];function showReviewWithProbability(t='startup'){const K={'lLgMR':'g_can_be_a'+'sked_for_r'+'eview:\x20','fvuKt':'rand:\x20','SUvjx':function(z,h){return z<h;}};console['log']('showReview'+'WithProbab'+'ility\x20-\x20tr'+'igger:\x20',t),console['log'](K['lLgMR'],g_can_be_asked_for_review);if(!g_can_be_asked_for_review)return;const e=Math['random'](),O=g_review_params[t];console['log'](K['fvuKt'],e),console['log']('probabilit'+'y:\x20',O),K['SUvjx'](e,O)&&showReview();}function showReview(){const t={'gtRwK':function(K,e){return K(e);},'cvXql':'#review','Iuzbu':'hidden'};t['gtRwK']($,t['cvXql'])['removeClas'+'s'](t['Iuzbu']),manageNotificationsPanel(),tracker['event']('REVIEW\x20SHO'+'WN');}function set_review_listeners(){const t={'ubwWp':function(K,e){return K(e);},'ghVMQ':'hidden','BZwcM':function(K){return K();},'pWzHN':'close-type','AUgdq':'no-to-publ'+'ic-review','fVkiW':'#review-ra'+'ting','ADsAH':'rating','ZQpfL':'link','DZcls':function(K,e){return K(e);},'qFGZI':function(K,e){return K(e);},'kKCGw':'star','Jnhpz':function(K,e){return K(e);},'iXMzq':'color','AzZeS':function(K,e){return K(e);},'wUoWO':function(K,e){return K(e);},'QlYdT':'filter','YEGLK':function(K,e){return K(e);},'jTXjg':'rgb(79\x2080\x20'+'83)','RHttX':'none','QAyYI':'#review-ra'+'ting\x20mouse'+'leave','RPMnp':'.review-ra'+'ting-star','CzEcF':'review\x20rat'+'ing\x20star\x20c'+'lick','xVdJL':function(K,e){return K(e);},'cVTxi':'#review-pa'+'ge-rating','JoDZQ':function(K,e){return K(e);},'tOOog':'#review-pa'+'ge-ask-to-'+'share','QVzDm':function(K,e){return K(e);},'XOztP':'#review-pa'+'ge-feedbac'+'k','GhGdA':function(K,e){return K(e);},'eWgKl':function(K,e){return K(e);},'wCFSY':'#review-pa'+'ge-feedbac'+'k-comments','geLyS':'Error\x20in\x20s'+'ubmitting\x20'+'review:\x20','xRmqs':function(K,e){return K(e);},'MMQwU':'#review','CtEgn':'.review-cl'+'ose-button','QdZjf':'click','rweGu':'#review-pa'+'ge-ask-to-'+'share-yes-'+'button','uqJux':'mouseleave','IdDIt':function(K,e){return K(e);},'KfhAs':'#button-su'+'bmit-revie'+'w'};$(t['CtEgn'])['on'](t['QdZjf'],function(K){t['ubwWp']($,'#review')['addClass'](t['ghVMQ']),t['BZwcM'](manageNotificationsPanel),tracker['event']('REVIEW\x20DIS'+'MISSED\x20:(');const O=$(this)['data'](t['pWzHN']);console['log']('declinedRe'+'view\x20butto'+'n_type:\x20'+O),['no-rating-'+'given',t['AUgdq']]['includes'](O)?editai_api['declinedRe'+'view'](O):editai_api['submitRevi'+'ew']({'rating':t['ubwWp'](parseInt,$(t['fVkiW'])['data'](t['ADsAH'])),'comments':''}),g_can_be_asked_for_review=![];}),$(t['rweGu'])['on'](t['QdZjf'],function(K){const O=$(this)['attr'](t['ZQpfL']);csInterface['openURLInD'+'efaultBrow'+'ser'](O),tracker['event']('ASK\x20TO\x20SHA'+'RE\x20YES\x20BUT'+'TON\x20CLICKE'+'D\x20:)'),t['ubwWp']($,'#review')['addClass'](t['ghVMQ']),manageNotificationsPanel(),g_can_be_asked_for_review=![],t['ubwWp'](confetti,{'spread':0x46,'particleCount':0x64,'ticks':0x32});}),t['AzZeS']($,t['RPMnp'])['on']('mouseover',function(K){const O=parseInt(t['AzZeS']($,this)['data'](t['kKCGw']));t['AzZeS']($,'.review-ra'+'ting-star')['each']((z,y)=>{const h=t['DZcls'](parseInt,t['qFGZI']($,y)['data'](t['kKCGw']));h<=O?(t['Jnhpz']($,y)['css'](t['iXMzq'],'yellow'),t['Jnhpz']($,y)['css']('filter','drop-shado'+'w(0px\x200px\x20'+'3px\x20yellow'+')')):(t['AzZeS']($,y)['css'](t['iXMzq'],'rgb(79\x2080\x20'+'83)'),t['wUoWO']($,y)['css'](t['QlYdT'],'none'));});}),t['YEGLK']($,t['fVkiW'])['on'](t['uqJux'],function(K){console['log'](t['QAyYI']),t['qFGZI']($,t['RPMnp'])['each']((O,z)=>{t['YEGLK']($,z)['css'](t['iXMzq'],t['jTXjg']),t['YEGLK']($,z)['css'](t['QlYdT'],t['RHttX']);});}),$(t['RPMnp'])['on'](t['QdZjf'],function(K){console['log'](t['CzEcF']);const O=parseInt(t['ubwWp']($,this)['data'](t['kKCGw']));t['xVdJL']($,t['fVkiW'])['data'](t['ADsAH'],O),tracker['event']('RATING\x20GIV'+'EN'),console['log']('RATING\x20GIV'+'EN:\x20'+O+'/5'),$(t['cVTxi'])['addClass'](t['ghVMQ']),O===0x1684+-0x25ee+0x525*0x3?t['JoDZQ']($,t['tOOog'])['removeClas'+'s']('hidden'):t['QVzDm']($,t['XOztP'])['removeClas'+'s']('hidden');}),t['IdDIt']($,t['KfhAs'])['on']('click',function(K){try{const O={'rating':t['GhGdA'](parseInt,t['eWgKl']($,t['fVkiW'])['data']('rating')),'comments':t['eWgKl']($,t['wCFSY'])['val']()};editai_api['submitRevi'+'ew'](O);}catch(z){console['log'](t['geLyS'],z);}t['xRmqs']($,t['MMQwU'])['addClass']('hidden'),manageNotificationsPanel(),tracker['event']('REVIEW\x20SUB'+'MITTED\x20:)'),t['xVdJL'](confetti,{'spread':0x46,'particleCount':0x64,'ticks':0x32});});}