<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var reviewsWidgetController={init:function(){var reviewsCount=0;$(".widget.testimonials-carousel").each((function(i,e){console.log("init testimonials...");var dataType=$(e).data("type"),dataSrc=$(e).data("src"),dataAction=$(e).data("action"),dataCount=$(e).data("count"),dataTmpl=$(e).data("template"),dataChars=$(e).data("chars");let dataTmplStr="",dataCharsStr="";dataTmplStr=dataTmpl?"&amp;template="+dataTmpl:"",dataCharsStr=dataChars?"&amp;chars="+dataChars:"";var dataThumbs=$(e).data("thumbs");dataIndex=reviewsCount,reviewsCount++,$.ajax({type:"GET",dataType:"json",url:"/api/async.php?t="+dataType+"&amp;m="+dataSrc+"_feed&amp;a="+dataAction+"&amp;count="+dataCount+dataTmplStr+"&amp;index="+dataIndex+"&amp;thumbs="+dataThumbs+dataCharsStr,context:this,success:function(data){reviewsWidgetController.onData(data,$(this))}})}))},onData:function(data,element){data.date=1e3*data.date;var htmlAdded=$(tmpl("testimonials-carousel-post",data.post));element.find(".testimonials-owl-carousel").append(htmlAdded),element.find(".testimonials-owl-carousel").addClass("column-slider"),reviewsWidgetController.renderCarousel(element)},renderCarousel:function(element){$(element).closest('div[class*="col-"]').hasClass("autoplay");$(element).find(".testimonials-owl-carousel").owlCarousel({center:!1,items:1,loop:!0,dots:!0,autoplay:!0,margin:0,responsiveClass:!0,nav:!0,navText:['&lt;i class="icon-chevron-left"&gt;&lt;span class="sr-only"&gt;Previous&lt;/span&gt;&lt;/i&gt;','&lt;i class="icon-chevron-right"&gt;&lt;span class="sr-only"&gt;Next&lt;/span&gt;&lt;/i&gt;'],onInitialized:function(){reviewsWidgetController.addScreenReaderTextToOwlDots($(element).find(".testimonials-owl-carousel"))}}),$(element).find(".star-rating").each((function(i,e){$(e).html("");var rating=parseInt($(e).data("rating"));if(rating&gt;0){for(n=0;n&lt;rating;n++)$(e).append('&lt;i class="icon-star" role="presentation"&gt;&lt;/i&gt;');var stars_off=5-rating;for(n=0;n&lt;stars_off;n++)$(e).append('&lt;i class="icon-star-o" role="presentation"&gt;&lt;/i&gt;')}}))},addScreenReaderTextToOwlDots:function($slider){$slider.find(".owl-dots .owl-dot").each((function(index,dot){$(dot).attr("aria-label","Page "+(index+1))}))}};window.pageInfo.loadOnReady?$(window).on("load",(function(){reviewsWidgetController.init()})):reviewsWidgetController.init();</pre></body></html>