1import{M as c,N as h}from"./index-DfZbfU1p.js";import{d as m,b as d,a as s,c as g}from"./buildMatchPatternFn-gl_-3tNL.js";var o={exports:{}},b=o.exports,u;function p(){return u||(u=1,(function(a,n){(function(t,e){a.exports=e(c())})(b,(function(t){function e(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var r=e(t),l={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquà %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(i){return""+i+(i===1||i===3?"r":i===2?"n":i===4?"t":"è")}};return r.default.locale(l,null,!0),l}))})(o)),o.exports}var f=p();const I=h(f),v={lessThanXSeconds:{one:"menys d'un segon",eleven:"menys d'onze segons",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",eleven:"menys d'onze minuts",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXWeeks:{one:"aproximadament una setmana",other:"aproximadament {{count}} setmanes"},xWeeks:{one:"1 setmana",other:"{{count}} setmanes"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",eleven:"més d'onze anys",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}},M=(a,n,t)=>{let e;const r=v[a];return typeof r=="string"?e=r:n===1?e=r.one:n===11&&r.eleven?e=r.eleven:e=r.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"en "+e:"fa "+e:e},y={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},w={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},_={full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},D={date:m({formats:y,defaultWidth:"full"}),time:m({formats:w,defaultWidth:"full"}),dateTime:m({formats:_,defaultWidth:"full"})},P={lastWeek:"'el' eeee 'passat a la' LT",yesterday:"'ahir a la' p",today:"'avui a la' p",tomorrow:"'demà a la' p",nextWeek:"eeee 'a la' p",other:"P"},j={lastWeek:"'el' eeee 'passat a les' p",yesterday:"'ahir a les' p",today:"'avui a les' p",tomorrow:"'demà a les' p",nextWeek:"eeee 'a les' p",other:"P"},Y=(a,n,t,e)=>n.getHours()!==1?j[a]:P[a],C={narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","després de Crist"]},x={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},W={narrow:["GN","FB","MÃ","AB","MG","JN","JL","AG","ST","OC","NV","DS"],abbreviated:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],wide:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},L={narrow:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],short:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],wide:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},H={narrow:{am:"am",pm:"pm",midnight:"mitjanit",noon:"migdia",morning:"matÃ",afternoon:"tarda",evening:"vespre",night:"nit"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mitjanit",noon:"migdia",morning:"matÃ",afternoon:"tarda",evening:"vespre",night:"nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mitjanit",noon:"migdia",morning:"matÃ",afternoon:"tarda",evening:"vespre",night:"nit"}},N={narrow:{am:"am",pm:"pm",midnight:"de la mitjanit",noon:"del migdia",morning:"del matÃ",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},abbreviated:{am:"AM",pm:"PM",midnight:"de la mitjanit",noon:"del migdia",morning:"del matÃ",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"de la mitjanit",noon:"del migdia",morning:"del matÃ",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"}},S=(a,n)=>{const t=Number(a),e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"r";case 2:return t+"n";case 3:return t+"r";case 4:return t+"t"}return t+"è"},k={ordinalNumber:S,era:d({values:C,defaultWidth:"wide"}),quarter:d({values:x,defaultWidth:"wide",argumentCallback:a=>a-1}),month:d({values:W,defaultWidth:"wide"}),day:d({values:L,defaultWidth:"wide"}),dayPeriod:d({values:H,defaultWidth:"wide",formattingValues:N,defaultFormattingWidth:"wide"})},T=/^(\d+)(è|r|n|r|t)?/i,F=/\d+/i,A={narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},z={narrow:[/^aC/i,/^dC/i],abbreviated:[/^(a. de C.)/i,/^(d. de C.)/i],wide:[/^(abans de Crist)/i,/^(despr[eé]s de Crist)/i]},G={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},V={any:[/1/i,/2/i,/3/i,/4/i]},J={narrow:/^(GN|FB|MÃ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,abbreviated:/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,wide:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i},E={narrow:[/^GN/i,/^FB/i,/^MÃ/i,/^AB/i,/^MG/i,/^JN/i,/^JL/i,/^AG/i,/^ST/i,/^OC/i,/^NV/i,/^DS/i],abbreviated:[/^gen./i,/^febr./i,/^març/i,/^abr./i,/^maig/i,/^juny/i,/^jul./i,/^ag./i,/^set./i,/^oct./i,/^nov./i,/^des./i],wide:[/^gener/i,/^febrer/i,/^març/i,/^abril/i,/^maig/i,/^juny/i,/^juliol/i,/^agost/i,/^setembre/i,/^octubre/i,/^novembre/i,/^desembre/i]},O={narrow:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,short:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,abbreviated:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,wide:/^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i},X={narrow:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],abbreviated:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],wide:[/^diumenge/i,/^dilluns/i,/^dimarts/i,/^dimecres/i,/^dijous/i,/^divendres/i,/^disssabte/i]},q={narrow:/^(a|p|mn|md|(del|de la) (matÃ|tarda|vespre|nit))/i,abbreviated:/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matÃ|tarda|vespre|nit))/i,wide:/^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matÃ|tarda|vespre|nit))/i},B={any:{am:/^a/i,pm:/^p/i,midnight:/^mitjanit/i,noon:/^migdia/i,morning:/matÃ/i,afternoon:/tarda/i,evening:/vespre/i,night:/nit/i}},R={ordinalNumber:g({matchPattern:T,parsePattern:F,valueCallback:a=>parseInt(a,10)}),era:s({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"wide"}),quarter:s({matchPatterns:G,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any",valueCallback:a=>a+1}),month:s({matchPatterns:J,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"wide"}),day:s({matchPatterns:O,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"wide"}),dayPeriod:s({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"})},K={code:"ca",formatDistance:M,formatLong:D,formatRelative:Y,localize:k,match:R,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{K as dayPickerLocale,I as dayjsLocale};
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.