(function(){if(!window.jdgmSettings?.review_widget_revamp_enabled)return;const c=document.querySelectorAll(".jdgm-widget[data-entry-point]");if(c.length===0)return;const f=c[0].dataset.entryPoint,u=c[0].dataset.entryKey;if(!f||!u)return;const o=window.jdgm.CDN_BASE_URL,s=o+f;if(document.querySelector('script[src="'+s+'"]'))return;async function y(){if(!s.includes("localhost"))try{let a=function(l){const e=m[l];e&&(e.css&&e.css.forEach(r=>{const h=o+r;if(!document.querySelector('link[href="'+h+'"]')){const d=document.createElement("link");d.rel="stylesheet",d.href=h,document.head.appendChild(d)}}),e.imports&&e.imports.forEach(a))};var n=a;const i=o+"manifest.json?v="+Date.now(),m=await(await fetch(i)).json(),t=m[u];t&&t.css&&t.css.forEach(l=>{const e=o+l;if(!document.querySelector('link[href="'+e+'"]')){const r=document.createElement("link");r.rel="stylesheet",r.href=e,document.head.appendChild(r)}}),t&&t.imports&&t.imports.forEach(a)}catch(i){console.warn("Could not load manifest or CSS files:",i)}}y().finally(()=>{const n=document.createElement("script");n.type="module",n.src=s,n.onerror=()=>console.error("Failed to load Vue entry point"),document.head.appendChild(n)})})();