({57:function(){learndash.views=learndash.views||{},learndash.views.breakpoints=learndash.views.breakpoints||{},((e,s,t)=>{"use strict";t.selectors={container:'[data-js="learndash-view"]',breakpointClassPrefix:"ld-breakpoint--"},t.breakpoints={},t.debounce=(e,s)=>{let t;return(...a)=>{clearTimeout(t),t=setTimeout(()=>e.apply(this,a),s)}},t.setContainerClasses=(e,s)=>{const a=Object.keys(s.breakpoints);e.classList.add(`${t.selectors.breakpointClassPrefix}initialized`),a.forEach(a=>{const n=t.selectors.breakpointClassPrefix+a;t.breakpoints[a]=s.breakpoints[a],e.offsetWidth<s.breakpoints[a]?e.classList.remove(n):e.classList.add(n)})},t.handleResize=e=>{t.setContainerClasses(e.data.container,e.data.data)},t.unbindEvents=s=>{e.removeEventListener("resize",t.handleResize),s.removeEventListener("beforeAjaxSuccess",t.deinit)},t.bindEvents=(s,a)=>{const n=t.debounce(()=>{t.handleResize({data:{container:s,data:a}})},100);e.addEventListener("resize",n),s.addEventListener("beforeAjaxSuccess",()=>{t.deinit({data:{container:s}})})},t.deinit=e=>{t.unbindEvents(e.data.container)},t.initTasks=function(e){const s=JSON.parse(e.dataset.learndashBreakpoints||"{}");t.bindEvents(e,s),t.setContainerClasses(e,s),s.initialized=!0,e.dataset.learndashBreakpoints=JSON.stringify(s)},t.init=function(e){const s=JSON.parse(e.dataset.learndashBreakpoints||"{}");s&&s.initialized||t.initTasks(e)},t.setup=function(e){e.matches(t.selectors.container)&&t.initTasks(e)},t.ready=function(){s.querySelectorAll(t.selectors.container).forEach(e=>{t.init(e)})},s.addEventListener("DOMContentLoaded",t.ready)})(window,document,learndash.views.breakpoints)}})[57].call({});