(globalThis.webpackChunkoceanwp_customizer||=[]).push([[435],{303(){let e=wp.customize,d=(document.body,document.querySelector("#site-header"),["edd-default-cat","edd-dropdown-cat"]);e("ocean_edd_cart_dropdown_style",function(e){e.bind(function(e){var t=document.querySelector(".edd-menu-icon");t.length&&(d.forEach(function(e){t.classList.remove(e)}),t.classList.add(e))})}),e("ocean_edd_menu_custom_icon",function(e){e.bind(function(e){var d=document.querySelector("#site-navigation-wrap .dropdown-menu > li > a.eddmenucart i");d.length&&(d.classList.remove(),d.classList.add(e))})}),e("ocean_edd_archive_columns",function(e){e.bind(function(e){var d=document.querySelectorAll(".oceanwp-row .edd_downloads_list");if(d.length){for(var t=0;t<d.length;t++){var o=d[t].classList[1].split("_")[3];d[t].parentNode.classList.remove("desktop-col-"+o),d[t].classList.remove("span_1_of_"+o)}for(t=0;t<d.length;t++)d[t].parentNode.classList.add("custom-col desktop-col-"+e),d[t].classList.add("span_1_of_"+e)}})}),e("ocean_edd_tablet_archive_columns",function(e){e.bind(function(e){var d=document.querySelector(".oceanwp-row .edd_downloads_list");d&&(wooProductsTabletCol.forEach(function(e){d.classList.remove(e)}),d.classList.add("tablet-col"),d.classList.add("tablet-"+e+"-col"))})}),e("ocean_edd_mobile_archive_columns",function(e){e.bind(function(e){var d=document.querySelector(".oceanwp-row .edd_downloads_list");d&&(wooProductsMobileCol.forEach(function(e){d.classList.remove(e)}),d.classList.add("mobile-col"),d.classList.add("mobile-"+e+"-col"))})}),e("ocean_edd_archive_both_sidebars_content_width",function(d){d.bind(function(d){var t=document.querySelector(".customizer-ocean_edd_archive_both_sidebars_content_width");if(d){var o='<style class="customizer-ocean_edd_archive_both_sidebars_content_width">@media only screen and (min-width: 960px){ body.edd.archive.content-both-sidebars .content-area { width: '+d+e("ocean_edd_archive_both_sidebars_content_width_unit").get()+"; } body.edd.archive.content-both-sidebars.scs-style .widget-area.sidebar-secondary, body.edd.archive.content-both-sidebars.ssc-style .widget-area {left: -"+d+e("ocean_edd_archive_both_sidebars_content_width_unit").get()+";} }</style>";t?t.outerHTML=o:document.querySelector("head").insertAdjacentHTML("beforeend",o)}else t&&t.remove()})}),e("ocean_edd_archive_both_sidebars_sidebars_width",function(d){d.bind(function(d){var t=document.querySelector(".customizer-ocean_edd_archive_both_sidebars_sidebars_width");if(d){var o='<style class="customizer-ocean_edd_archive_both_sidebars_sidebars_width">@media only screen and (min-width: 960px){ body.edd.archive.content-both-sidebars .widget-area{width:'+d+e("ocean_edd_archive_both_sidebars_sidebars_width_unit").get()+";} body.edd.archive.content-both-sidebars.scs-style .content-area {left:"+d+e("ocean_edd_archive_both_sidebars_sidebars_width_unit").get()+";} body.edd.archive.content-both-sidebars.ssc-style .content-area {left:"+2*d+e("ocean_edd_archive_both_sidebars_sidebars_width_unit").get()+";} }</style>";t?t.outerHTML=o:document.querySelector("head").insertAdjacentHTML("beforeend",o)}else t&&t.remove()})}),e("ocean_edd_download_both_sidebars_content_width",function(d){d.bind(function(d){var t=document.querySelector(".customizer-ocean_edd_download_both_sidebars_content_width");if(d){var o='<style class="customizer-ocean_edd_download_both_sidebars_content_width">@media only screen and (min-width: 960px){ body.single-edd.content-both-sidebars .content-area { width: '+d+e("ocean_edd_download_both_sidebars_content_width_unit").get()+"; } body.single-edd.content-both-sidebars.scs-style .widget-area.sidebar-secondary, body.single-edd.content-both-sidebars.ssc-style .widget-area {left: -"+d+e("ocean_edd_download_both_sidebars_content_width_unit").get()+";} }</style>";t?t.outerHTML=o:document.querySelector("head").insertAdjacentHTML("beforeend",o)}else t&&t.remove()})}),e("ocean_edd_download_both_sidebars_sidebars_width",function(d){d.bind(function(d){var t=document.querySelector(".customizer-ocean_edd_download_both_sidebars_sidebars_width");if(d){var o='<style class="customizer-ocean_edd_download_both_sidebars_sidebars_width">@media only screen and (min-width: 960px){ body.single-edd.content-both-sidebars .widget-area{width:'+d+e("ocean_edd_download_both_sidebars_sidebars_width_unit").get()+";} body.single-edd.content-both-sidebars.scs-style .content-area {left:"+d+e("ocean_edd_download_both_sidebars_sidebars_width_unit").get()+";} body.single-edd.content-both-sidebars.ssc-style .content-area {left:"+2*d+e("ocean_edd_download_both_sidebars_sidebars_width_unit").get()+";} }</style>";t?t.outerHTML=o:document.querySelector("head").insertAdjacentHTML("beforeend",o)}else t&&t.remove()})})}}]);