")),n===e.type&&($(".alireview-sort__label").html(i+'\n \n '),$('input[name="sort-type"]').val(n))})),$(".alireview-sort__type").html("").append(t)}function q(){if($(".list-alireview").length>0){for(var e=document.querySelectorAll("link"),t=0;t=1800?i=6:o>=1500?i=5:o>=1200?i=4:o>=768&&(i=3);var a=!!(e>i&&A);if($(".list-alireview").length>0)for(var s=document.querySelectorAll("link"),u=0;u',''],onChanged:c,onResized:d,responsiveClass:!0,responsive:{0:{items:2,margin:7,nav:!1},376:{items:2,nav:!1},768:{items:3,nav:!1},1200:{items:4},1500:{items:5},1800:{items:6}}});break}}function c(e){var i=e.item.index,o=$("#shopify-ali-review"),a=o.find(".shop_info").attr("shop-id"),s=o.attr("product-id"),u=$("input[name='id-widget']").val(),c=$("input[name='type-widget']").val(),d=$("input[name='type-page']").val(),f=$("input[name='product-in-cart']").val(),p=H(),h=r.a.widget_url+"/v1/widget/review-widget";if(!(null!=k&&E>=k||i