document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("bplugins-plyrio-js"),t=document.querySelectorAll("audio:not(.h5ap_standard_player audio, .b_free, .h5ap_single_button audio)");if(!e&&t?.length){var n=document.createElement("link");n.href=window?.h5apAll?.plyrio_css||!1,n.rel="stylesheet",n.type="text/css",n.id="bplugins-plyrio-css",n.href&&document.getElementsByTagName("head")[0].append(n);const e=document.createElement("script");e.type="text/javascript",e.id="bplugins-plyrio-js",e.src=window?.h5apAll?.plyrio_js||!1,e.src&&document.getElementsByTagName("head")[0].append(e)}const l=setInterval(()=>{if(void 0!==window.Plyr){clearInterval(l);const e=Plyr.setup(t,window.h5apAll?.options);e?.forEach(e=>e.elements?.container?.classList?.add("h5ap_all"))}},100)});