1import{g as e}from"./Ib1jYPSS.js";import{n as t}from"./CZ4bUvnS.js";import{f as n,n as r,t as i}from"./KLtl_-8s2.js";var a={magazines_rat_vs_xpv:`CAM-wxvanx|TCH-5g6nol|TCO-lx2qmx|CTY-5g6nol|CCO-5g6nol|PRG-xnd6kg`},o=`CAM-wxvanx|TCH-5g6nol|TCO-lx2qmx|CTY-5g6nol|CCO-5g6nol|PRG-obndpo`,s=[`digitaal`,`digitaalbasis`],c=[`year`,`annual`];function l(e){return s.includes(e.formula.code?.toLowerCase())}function u(e){return l(e)&&c.includes(e.payment?.unit)}function d(e){return!u(e)}function f(e){return e.period?e.period===`yearly`:e.mid===o}function p(e){let t=t=>{let i=new Map;for(let a of r(e.filter(t)))i.set(n(a),a);return i};return{monthly:t(d),yearly:t(u)}}function m(){let{catalogPropositions:r,brandType:a}=i(),{isEMDM:o}=t(),c=e(()=>p(r.value)),m=e(()=>Array.from(c.value.monthly.values())),h=e(()=>Array.from(c.value.yearly.values()));return{yearlySubscriptionsEnabled:e(()=>a.value===`paper`&&!o.value&&h.value.some(e=>c.value.monthly.has(n(e)))),YEARLY_FORMULAS:s,productSupportsYearly:l,isYearlyProposition:u,isMonthlyProposition:d,urlSignalsYearly:f,monthlyProducts:m,yearlyProducts:h,getBillingVariant:(e,t)=>c.value[t].get(n(e))}}export{a as n,m as t}; 2//# sourceMappingURL=CO5eCi__.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.