PageSourceSearch

https://www.tun.com/jobs/wp-content/cache/min/1/jobs/wp-content/pl…/wp-review/public/js/main.js?ver=1773015708

js tun.com collected 2026-10-01 10:39:37 UTC 2,174 bytes, 8 lines download raw bytes

1(function($){"use strict";$(document).ready(function(){$('[data-wp-review-tabs] .tab-title:first-child').addClass('active');$('[data-wp-review-tabs] .tab-content:first-of-type').fadeIn();$('[data-wp-review-tabs] .tab-title button').on('click',function(ev){ev.preventDefault();var $btn,$tabs,href;$btn=$(this);$tabs=$btn.closest('[data-wp-review-tabs]');href=$btn.attr('data-href');$tabs.find('.tab-title').removeClass('active');$btn.closest('.tab-title').addClass('active');$tabs.find('.tab-content').hide();$tabs.find(href).fadeIn()});$(document).on('click','.wpr-login-required',function(ev){ev.preventDefault();var $this=$(this),$message=$this.children('.wpr-login-required-message');if(!$message.length){$message=$('<div class="wpr-login-required-message">'+wpreview.loginRequiredMessage+'</div>');$this.append($message)}
2$message.show();return!1})})})(jQuery);function wp_review_rate($elem){var rating=$elem.find('.wp-review-user-rating-val').val();var postId=$elem.find('.wp-review-user-rating-postid').val();var token=$elem.find('.wp-review-user-rating-nonce').val();var $target=$elem;if(!$target.is('.wp-review-user-rating'))
3$target=$elem.closest('.wp-review-user-rating');
3if(rating==0){return''}
4jQuery.ajax({beforeSend:function(){$target.addClass('wp-review-loading')},data:{action:'wp_review_rate',post_id:postId,nonce:token,review:rating},type:'post',dataType:'json',url:wpreview.ajaxurl,success:function(response){$target.removeClass('wp-review-loading');if(typeof response.html!=='undefined'&&response.html!=''){$target.empty().append(response.html).addClass('has-rated').removeClass('wp-review-user-rating')}
5if(typeof response.rating_total!=='undefined'&&response.rating_total!=''){$target.parent().find('.wp-review-user-rating-total').text(response.rating_total)}
6if(typeof response.rating_count!=='undefined'&&response.rating_count!=''){$target.parent().find('.wp-review-user-rating-counter').text(response.rating_count)}
7if(response.awaiting_moderation!=undefined){$target.parent().find('.user-total-wrapper .awaiting-response-wrapper').text(response.awaiting_moderation)}
8Cookies.set('wpr_visitor_has_reviewed_post_'+postId,1,{expires:315360000000})}})}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.