(()=>{"use strict";window.wp.apiFetch;let e=function(e){return e.TOP_lEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_lEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right",e}({});const t=window.wp.i18n;var s;t.__("Small","masterstudy-lms-learning-management-system"),t.__("Normal","masterstudy-lms-learning-management-system"),t.__("Large","masterstudy-lms-learning-management-system"),t.__("Extra Large","masterstudy-lms-learning-management-system"),e.TOP_lEFT,e.TOP_CENTER,e.TOP_RIGHT,e.BOTTOM_lEFT,e.BOTTOM_CENTER,e.BOTTOM_RIGHT,t.__("Newest","masterstudy-lms-learning-management-system"),t.__("Oldest","masterstudy-lms-learning-management-system"),t.__("Overall rating","masterstudy-lms-learning-management-system"),t.__("Popular","masterstudy-lms-learning-management-system"),t.__("Price low","masterstudy-lms-learning-management-system"),t.__("Price high","masterstudy-lms-learning-management-system"),s=()=>{document.querySelectorAll(".lms-archive-courses").forEach((e=>{if(!e.querySelector(".archive-courses-filter-rating")){const t=e.querySelector(".lms-courses-tab-buttons");if(!t)return;const s=t.querySelector('[data-value="rating"]');s&&(s.style.display="none")}}))},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",s,{once:!0}):s()})();