import{o as n,S as i,ai as r,H as l,bo as m}from"./app-BgLa5dit.js";import{C as S}from"./BfMtaC_g.chunk.js";const a={AU_NATIONAL_SECONDARY:"9",US_ELEMENTARY:"13",US_MIDDLE:"14",US_HIGH:"15"};function D(e){const t=n(i.presentations(r.Curriculum)),s=n(i.customerPresentations(e,r.Curriculum));return{availableCurriculumPresentations:t,customerCurriculumPresentations:s}}function A(e){const t=n(i.presentations(r.Subject)),s=n(i.presentations(r.StreamableLearning)),u=n(i.customerPresentations(e,r.Subject)),c=n(i.customerPresentations(e,r.StreamableLearning));return{availableTopicPresentations:t,customerTopicPresentations:u,availableStreamablePresentations:s,customerStreamablePresentations:c}}function P(e){return e.filter(t=>t.status===m.Published)}function b(e,t){return S.isDev(t)?e:P(e)}function E(e,t,s){return S.isDev(t)?e:b(e,t).filter(o=>{if(s.contentRegion.systemName===l.US)return o.id.toString()===a.US_ELEMENTARY||o.id.toString()===a.US_HIGH||o.id.toString()===a.US_MIDDLE;if(s.contentRegion.systemName===l.AU)return o.id.toString()===a.AU_NATIONAL_SECONDARY})}export{A as a,E as b,b as g,D as u};
//# sourceMappingURL=DT_qugzF.chunk.js.map
