(()=>{"use strict";const e=document,t=e.querySelectorAll.bind(e),r=window.jQuery;function o(){t(".arve p:not(.arve-error p), .arve .video-wrap, .arve .fluid-width-video-wrapper, .arve .fluid-vids").forEach(e=>{i(e)}),t(".ast-oembed-container, .video-container").forEach(e=>{e.querySelector(".arve")&&i(e)}),t(".arve-iframe, .arve-video").forEach(e=>{e.removeAttribute("width"),e.removeAttribute("height"),e.removeAttribute("style")})}function i(e){const t=e.parentNode;if(!(t instanceof Node))throw new Error("Element has no parent node");for(;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}var d;"html"!==e.documentElement.id&&(e.documentElement.id?e.body.id||(e.body.id="html"):e.documentElement.id="html"),d=()=>{o()},void 0!==e&&("complete"!==e.readyState&&"interactive"!==e.readyState?e.addEventListener("DOMContentLoaded",d):d()),r&&void 0!==r.fn.fitVids&&r(e).ready(()=>{setTimeout(()=>{o()},1)})})();