class e{}const o=(e,o,l)=>e.reduce((e,t,a)=>t.length>e.length&&!o.indexOf(t)?{value:a,length:t.length,token:l}:e,{value:-1,length:0,token:l});const l=new class extends e{dddd(e,l,t){const a=l.locale.getDayOfWeekList({style:"long",compiledObj:t}),c=l.locale.getLocale();return l.ignoreCase?o(a.map(e=>e.toLocaleLowerCase(c)),e.toLocaleLowerCase(c)):o(a,e)}ddd(e,l,t){const a=l.locale.getDayOfWeekList({style:"short",compiledObj:t}),c=l.locale.getLocale();return l.ignoreCase?o(a.map(e=>e.toLocaleLowerCase(c)),e.toLocaleLowerCase(c)):o(a,e)}dd(e,l,t){const a=l.locale.getDayOfWeekList({style:"narrow",compiledObj:t}),c=l.locale.getLocale();return l.ignoreCase?o(a.map(e=>e.toLocaleLowerCase(c)),e.toLocaleLowerCase(c)):o(a,e)}};export{l as parser};
