function getController(){const t=window.location.search.substring(1).split("&");for(i=0;i{if(void 0!==typeof tp&&"undefined"!=typeof trustpilot_trustbox_settings&&trustpilot_trustbox_settings.trustboxes.some(t=>t.repeat).length>0){const e=new XMLHttpRequest;e.open("POST",trustpilot_ajax_url),e.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),e.onreadystatechange=function(){4===e.readyState&&(e.status>=400?console.log(`callback error: ${e.response} ${e.status}`):(trustpilot_trustbox_settings.categoryProductsData=JSON.parse(e.response),tp("trustBox",trustpilot_trustbox_settings)))};const o={action:"get_category_product_info",products:JSON.stringify(t.products.map(t=>t.id_product)),controller:controller,user_id:user_id};e.send("settings="+btoa(encodeSettings(o)))}})}),void 0!==typeof tp&&"undefined"!=typeof trustpilot_trustbox_settings&&"complete"===document.readyState?tp("trustBox",trustpilot_trustbox_settings):window.addEventListener("DOMContentLoaded",function(){tp("trustBox",trustpilot_trustbox_settings)}); //# sourceMappingURL=tp_trustbox.min.js.map