locales.js 422 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105
  1. ;(function (global, factory) {
  2. typeof exports === 'object' && typeof module !== 'undefined'
  3. && typeof require === 'function' ? factory(require('../moment')) :
  4. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  5. factory(global.moment)
  6. }(this, (function (moment) { 'use strict';
  7. //! moment.js locale configuration
  8. moment.defineLocale('af', {
  9. months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(
  10. '_'
  11. ),
  12. monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
  13. weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(
  14. '_'
  15. ),
  16. weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
  17. weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
  18. meridiemParse: /vm|nm/i,
  19. isPM: function (input) {
  20. return /^nm$/i.test(input);
  21. },
  22. meridiem: function (hours, minutes, isLower) {
  23. if (hours < 12) {
  24. return isLower ? 'vm' : 'VM';
  25. } else {
  26. return isLower ? 'nm' : 'NM';
  27. }
  28. },
  29. longDateFormat: {
  30. LT: 'HH:mm',
  31. LTS: 'HH:mm:ss',
  32. L: 'DD/MM/YYYY',
  33. LL: 'D MMMM YYYY',
  34. LLL: 'D MMMM YYYY HH:mm',
  35. LLLL: 'dddd, D MMMM YYYY HH:mm',
  36. },
  37. calendar: {
  38. sameDay: '[Vandag om] LT',
  39. nextDay: '[Môre om] LT',
  40. nextWeek: 'dddd [om] LT',
  41. lastDay: '[Gister om] LT',
  42. lastWeek: '[Laas] dddd [om] LT',
  43. sameElse: 'L',
  44. },
  45. relativeTime: {
  46. future: 'oor %s',
  47. past: '%s gelede',
  48. s: "'n paar sekondes",
  49. ss: '%d sekondes',
  50. m: "'n minuut",
  51. mm: '%d minute',
  52. h: "'n uur",
  53. hh: '%d ure',
  54. d: "'n dag",
  55. dd: '%d dae',
  56. M: "'n maand",
  57. MM: '%d maande',
  58. y: "'n jaar",
  59. yy: '%d jaar',
  60. },
  61. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  62. ordinal: function (number) {
  63. return (
  64. number +
  65. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  66. ); // Thanks to Joris Röling : https://github.com/jjupiter
  67. },
  68. week: {
  69. dow: 1, // Maandag is die eerste dag van die week.
  70. doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
  71. },
  72. });
  73. //! moment.js locale configuration
  74. var pluralForm = function (n) {
  75. return n === 0
  76. ? 0
  77. : n === 1
  78. ? 1
  79. : n === 2
  80. ? 2
  81. : n % 100 >= 3 && n % 100 <= 10
  82. ? 3
  83. : n % 100 >= 11
  84. ? 4
  85. : 5;
  86. },
  87. plurals = {
  88. s: [
  89. 'أقل من ثانية',
  90. 'ثانية واحدة',
  91. ['ثانيتان', 'ثانيتين'],
  92. '%d ثوان',
  93. '%d ثانية',
  94. '%d ثانية',
  95. ],
  96. m: [
  97. 'أقل من دقيقة',
  98. 'دقيقة واحدة',
  99. ['دقيقتان', 'دقيقتين'],
  100. '%d دقائق',
  101. '%d دقيقة',
  102. '%d دقيقة',
  103. ],
  104. h: [
  105. 'أقل من ساعة',
  106. 'ساعة واحدة',
  107. ['ساعتان', 'ساعتين'],
  108. '%d ساعات',
  109. '%d ساعة',
  110. '%d ساعة',
  111. ],
  112. d: [
  113. 'أقل من يوم',
  114. 'يوم واحد',
  115. ['يومان', 'يومين'],
  116. '%d أيام',
  117. '%d يومًا',
  118. '%d يوم',
  119. ],
  120. M: [
  121. 'أقل من شهر',
  122. 'شهر واحد',
  123. ['شهران', 'شهرين'],
  124. '%d أشهر',
  125. '%d شهرا',
  126. '%d شهر',
  127. ],
  128. y: [
  129. 'أقل من عام',
  130. 'عام واحد',
  131. ['عامان', 'عامين'],
  132. '%d أعوام',
  133. '%d عامًا',
  134. '%d عام',
  135. ],
  136. },
  137. pluralize = function (u) {
  138. return function (number, withoutSuffix, string, isFuture) {
  139. var f = pluralForm(number),
  140. str = plurals[u][pluralForm(number)];
  141. if (f === 2) {
  142. str = str[withoutSuffix ? 0 : 1];
  143. }
  144. return str.replace(/%d/i, number);
  145. };
  146. },
  147. months = [
  148. 'جانفي',
  149. 'فيفري',
  150. 'مارس',
  151. 'أفريل',
  152. 'ماي',
  153. 'جوان',
  154. 'جويلية',
  155. 'أوت',
  156. 'سبتمبر',
  157. 'أكتوبر',
  158. 'نوفمبر',
  159. 'ديسمبر',
  160. ];
  161. moment.defineLocale('ar-dz', {
  162. months: months,
  163. monthsShort: months,
  164. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  165. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  166. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  167. weekdaysParseExact: true,
  168. longDateFormat: {
  169. LT: 'HH:mm',
  170. LTS: 'HH:mm:ss',
  171. L: 'D/\u200FM/\u200FYYYY',
  172. LL: 'D MMMM YYYY',
  173. LLL: 'D MMMM YYYY HH:mm',
  174. LLLL: 'dddd D MMMM YYYY HH:mm',
  175. },
  176. meridiemParse: /ص|م/,
  177. isPM: function (input) {
  178. return 'م' === input;
  179. },
  180. meridiem: function (hour, minute, isLower) {
  181. if (hour < 12) {
  182. return 'ص';
  183. } else {
  184. return 'م';
  185. }
  186. },
  187. calendar: {
  188. sameDay: '[اليوم عند الساعة] LT',
  189. nextDay: '[غدًا عند الساعة] LT',
  190. nextWeek: 'dddd [عند الساعة] LT',
  191. lastDay: '[أمس عند الساعة] LT',
  192. lastWeek: 'dddd [عند الساعة] LT',
  193. sameElse: 'L',
  194. },
  195. relativeTime: {
  196. future: 'بعد %s',
  197. past: 'منذ %s',
  198. s: pluralize('s'),
  199. ss: pluralize('s'),
  200. m: pluralize('m'),
  201. mm: pluralize('m'),
  202. h: pluralize('h'),
  203. hh: pluralize('h'),
  204. d: pluralize('d'),
  205. dd: pluralize('d'),
  206. M: pluralize('M'),
  207. MM: pluralize('M'),
  208. y: pluralize('y'),
  209. yy: pluralize('y'),
  210. },
  211. postformat: function (string) {
  212. return string.replace(/,/g, '،');
  213. },
  214. week: {
  215. dow: 0, // Sunday is the first day of the week.
  216. doy: 4, // The week that contains Jan 4th is the first week of the year.
  217. },
  218. });
  219. //! moment.js locale configuration
  220. moment.defineLocale('ar-kw', {
  221. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  222. '_'
  223. ),
  224. monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  225. '_'
  226. ),
  227. weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  228. weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  229. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  230. weekdaysParseExact: true,
  231. longDateFormat: {
  232. LT: 'HH:mm',
  233. LTS: 'HH:mm:ss',
  234. L: 'DD/MM/YYYY',
  235. LL: 'D MMMM YYYY',
  236. LLL: 'D MMMM YYYY HH:mm',
  237. LLLL: 'dddd D MMMM YYYY HH:mm',
  238. },
  239. calendar: {
  240. sameDay: '[اليوم على الساعة] LT',
  241. nextDay: '[غدا على الساعة] LT',
  242. nextWeek: 'dddd [على الساعة] LT',
  243. lastDay: '[أمس على الساعة] LT',
  244. lastWeek: 'dddd [على الساعة] LT',
  245. sameElse: 'L',
  246. },
  247. relativeTime: {
  248. future: 'في %s',
  249. past: 'منذ %s',
  250. s: 'ثوان',
  251. ss: '%d ثانية',
  252. m: 'دقيقة',
  253. mm: '%d دقائق',
  254. h: 'ساعة',
  255. hh: '%d ساعات',
  256. d: 'يوم',
  257. dd: '%d أيام',
  258. M: 'شهر',
  259. MM: '%d أشهر',
  260. y: 'سنة',
  261. yy: '%d سنوات',
  262. },
  263. week: {
  264. dow: 0, // Sunday is the first day of the week.
  265. doy: 12, // The week that contains Jan 12th is the first week of the year.
  266. },
  267. });
  268. //! moment.js locale configuration
  269. var symbolMap = {
  270. '1': '1',
  271. '2': '2',
  272. '3': '3',
  273. '4': '4',
  274. '5': '5',
  275. '6': '6',
  276. '7': '7',
  277. '8': '8',
  278. '9': '9',
  279. '0': '0',
  280. },
  281. pluralForm$1 = function (n) {
  282. return n === 0
  283. ? 0
  284. : n === 1
  285. ? 1
  286. : n === 2
  287. ? 2
  288. : n % 100 >= 3 && n % 100 <= 10
  289. ? 3
  290. : n % 100 >= 11
  291. ? 4
  292. : 5;
  293. },
  294. plurals$1 = {
  295. s: [
  296. 'أقل من ثانية',
  297. 'ثانية واحدة',
  298. ['ثانيتان', 'ثانيتين'],
  299. '%d ثوان',
  300. '%d ثانية',
  301. '%d ثانية',
  302. ],
  303. m: [
  304. 'أقل من دقيقة',
  305. 'دقيقة واحدة',
  306. ['دقيقتان', 'دقيقتين'],
  307. '%d دقائق',
  308. '%d دقيقة',
  309. '%d دقيقة',
  310. ],
  311. h: [
  312. 'أقل من ساعة',
  313. 'ساعة واحدة',
  314. ['ساعتان', 'ساعتين'],
  315. '%d ساعات',
  316. '%d ساعة',
  317. '%d ساعة',
  318. ],
  319. d: [
  320. 'أقل من يوم',
  321. 'يوم واحد',
  322. ['يومان', 'يومين'],
  323. '%d أيام',
  324. '%d يومًا',
  325. '%d يوم',
  326. ],
  327. M: [
  328. 'أقل من شهر',
  329. 'شهر واحد',
  330. ['شهران', 'شهرين'],
  331. '%d أشهر',
  332. '%d شهرا',
  333. '%d شهر',
  334. ],
  335. y: [
  336. 'أقل من عام',
  337. 'عام واحد',
  338. ['عامان', 'عامين'],
  339. '%d أعوام',
  340. '%d عامًا',
  341. '%d عام',
  342. ],
  343. },
  344. pluralize$1 = function (u) {
  345. return function (number, withoutSuffix, string, isFuture) {
  346. var f = pluralForm$1(number),
  347. str = plurals$1[u][pluralForm$1(number)];
  348. if (f === 2) {
  349. str = str[withoutSuffix ? 0 : 1];
  350. }
  351. return str.replace(/%d/i, number);
  352. };
  353. },
  354. months$1 = [
  355. 'يناير',
  356. 'فبراير',
  357. 'مارس',
  358. 'أبريل',
  359. 'مايو',
  360. 'يونيو',
  361. 'يوليو',
  362. 'أغسطس',
  363. 'سبتمبر',
  364. 'أكتوبر',
  365. 'نوفمبر',
  366. 'ديسمبر',
  367. ];
  368. moment.defineLocale('ar-ly', {
  369. months: months$1,
  370. monthsShort: months$1,
  371. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  372. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  373. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  374. weekdaysParseExact: true,
  375. longDateFormat: {
  376. LT: 'HH:mm',
  377. LTS: 'HH:mm:ss',
  378. L: 'D/\u200FM/\u200FYYYY',
  379. LL: 'D MMMM YYYY',
  380. LLL: 'D MMMM YYYY HH:mm',
  381. LLLL: 'dddd D MMMM YYYY HH:mm',
  382. },
  383. meridiemParse: /ص|م/,
  384. isPM: function (input) {
  385. return 'م' === input;
  386. },
  387. meridiem: function (hour, minute, isLower) {
  388. if (hour < 12) {
  389. return 'ص';
  390. } else {
  391. return 'م';
  392. }
  393. },
  394. calendar: {
  395. sameDay: '[اليوم عند الساعة] LT',
  396. nextDay: '[غدًا عند الساعة] LT',
  397. nextWeek: 'dddd [عند الساعة] LT',
  398. lastDay: '[أمس عند الساعة] LT',
  399. lastWeek: 'dddd [عند الساعة] LT',
  400. sameElse: 'L',
  401. },
  402. relativeTime: {
  403. future: 'بعد %s',
  404. past: 'منذ %s',
  405. s: pluralize$1('s'),
  406. ss: pluralize$1('s'),
  407. m: pluralize$1('m'),
  408. mm: pluralize$1('m'),
  409. h: pluralize$1('h'),
  410. hh: pluralize$1('h'),
  411. d: pluralize$1('d'),
  412. dd: pluralize$1('d'),
  413. M: pluralize$1('M'),
  414. MM: pluralize$1('M'),
  415. y: pluralize$1('y'),
  416. yy: pluralize$1('y'),
  417. },
  418. preparse: function (string) {
  419. return string.replace(/،/g, ',');
  420. },
  421. postformat: function (string) {
  422. return string
  423. .replace(/\d/g, function (match) {
  424. return symbolMap[match];
  425. })
  426. .replace(/,/g, '،');
  427. },
  428. week: {
  429. dow: 6, // Saturday is the first day of the week.
  430. doy: 12, // The week that contains Jan 12th is the first week of the year.
  431. },
  432. });
  433. //! moment.js locale configuration
  434. moment.defineLocale('ar-ma', {
  435. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  436. '_'
  437. ),
  438. monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  439. '_'
  440. ),
  441. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  442. weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  443. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  444. weekdaysParseExact: true,
  445. longDateFormat: {
  446. LT: 'HH:mm',
  447. LTS: 'HH:mm:ss',
  448. L: 'DD/MM/YYYY',
  449. LL: 'D MMMM YYYY',
  450. LLL: 'D MMMM YYYY HH:mm',
  451. LLLL: 'dddd D MMMM YYYY HH:mm',
  452. },
  453. calendar: {
  454. sameDay: '[اليوم على الساعة] LT',
  455. nextDay: '[غدا على الساعة] LT',
  456. nextWeek: 'dddd [على الساعة] LT',
  457. lastDay: '[أمس على الساعة] LT',
  458. lastWeek: 'dddd [على الساعة] LT',
  459. sameElse: 'L',
  460. },
  461. relativeTime: {
  462. future: 'في %s',
  463. past: 'منذ %s',
  464. s: 'ثوان',
  465. ss: '%d ثانية',
  466. m: 'دقيقة',
  467. mm: '%d دقائق',
  468. h: 'ساعة',
  469. hh: '%d ساعات',
  470. d: 'يوم',
  471. dd: '%d أيام',
  472. M: 'شهر',
  473. MM: '%d أشهر',
  474. y: 'سنة',
  475. yy: '%d سنوات',
  476. },
  477. week: {
  478. dow: 6, // Saturday is the first day of the week.
  479. doy: 12, // The week that contains Jan 12th is the first week of the year.
  480. },
  481. });
  482. //! moment.js locale configuration
  483. var symbolMap$1 = {
  484. '1': '١',
  485. '2': '٢',
  486. '3': '٣',
  487. '4': '٤',
  488. '5': '٥',
  489. '6': '٦',
  490. '7': '٧',
  491. '8': '٨',
  492. '9': '٩',
  493. '0': '٠',
  494. },
  495. numberMap = {
  496. '١': '1',
  497. '٢': '2',
  498. '٣': '3',
  499. '٤': '4',
  500. '٥': '5',
  501. '٦': '6',
  502. '٧': '7',
  503. '٨': '8',
  504. '٩': '9',
  505. '٠': '0',
  506. };
  507. moment.defineLocale('ar-sa', {
  508. months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  509. '_'
  510. ),
  511. monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  512. '_'
  513. ),
  514. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  515. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  516. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  517. weekdaysParseExact: true,
  518. longDateFormat: {
  519. LT: 'HH:mm',
  520. LTS: 'HH:mm:ss',
  521. L: 'DD/MM/YYYY',
  522. LL: 'D MMMM YYYY',
  523. LLL: 'D MMMM YYYY HH:mm',
  524. LLLL: 'dddd D MMMM YYYY HH:mm',
  525. },
  526. meridiemParse: /ص|م/,
  527. isPM: function (input) {
  528. return 'م' === input;
  529. },
  530. meridiem: function (hour, minute, isLower) {
  531. if (hour < 12) {
  532. return 'ص';
  533. } else {
  534. return 'م';
  535. }
  536. },
  537. calendar: {
  538. sameDay: '[اليوم على الساعة] LT',
  539. nextDay: '[غدا على الساعة] LT',
  540. nextWeek: 'dddd [على الساعة] LT',
  541. lastDay: '[أمس على الساعة] LT',
  542. lastWeek: 'dddd [على الساعة] LT',
  543. sameElse: 'L',
  544. },
  545. relativeTime: {
  546. future: 'في %s',
  547. past: 'منذ %s',
  548. s: 'ثوان',
  549. ss: '%d ثانية',
  550. m: 'دقيقة',
  551. mm: '%d دقائق',
  552. h: 'ساعة',
  553. hh: '%d ساعات',
  554. d: 'يوم',
  555. dd: '%d أيام',
  556. M: 'شهر',
  557. MM: '%d أشهر',
  558. y: 'سنة',
  559. yy: '%d سنوات',
  560. },
  561. preparse: function (string) {
  562. return string
  563. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  564. return numberMap[match];
  565. })
  566. .replace(/،/g, ',');
  567. },
  568. postformat: function (string) {
  569. return string
  570. .replace(/\d/g, function (match) {
  571. return symbolMap$1[match];
  572. })
  573. .replace(/,/g, '،');
  574. },
  575. week: {
  576. dow: 0, // Sunday is the first day of the week.
  577. doy: 6, // The week that contains Jan 6th is the first week of the year.
  578. },
  579. });
  580. //! moment.js locale configuration
  581. moment.defineLocale('ar-tn', {
  582. months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  583. '_'
  584. ),
  585. monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  586. '_'
  587. ),
  588. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  589. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  590. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  591. weekdaysParseExact: true,
  592. longDateFormat: {
  593. LT: 'HH:mm',
  594. LTS: 'HH:mm:ss',
  595. L: 'DD/MM/YYYY',
  596. LL: 'D MMMM YYYY',
  597. LLL: 'D MMMM YYYY HH:mm',
  598. LLLL: 'dddd D MMMM YYYY HH:mm',
  599. },
  600. calendar: {
  601. sameDay: '[اليوم على الساعة] LT',
  602. nextDay: '[غدا على الساعة] LT',
  603. nextWeek: 'dddd [على الساعة] LT',
  604. lastDay: '[أمس على الساعة] LT',
  605. lastWeek: 'dddd [على الساعة] LT',
  606. sameElse: 'L',
  607. },
  608. relativeTime: {
  609. future: 'في %s',
  610. past: 'منذ %s',
  611. s: 'ثوان',
  612. ss: '%d ثانية',
  613. m: 'دقيقة',
  614. mm: '%d دقائق',
  615. h: 'ساعة',
  616. hh: '%d ساعات',
  617. d: 'يوم',
  618. dd: '%d أيام',
  619. M: 'شهر',
  620. MM: '%d أشهر',
  621. y: 'سنة',
  622. yy: '%d سنوات',
  623. },
  624. week: {
  625. dow: 1, // Monday is the first day of the week.
  626. doy: 4, // The week that contains Jan 4th is the first week of the year.
  627. },
  628. });
  629. //! moment.js locale configuration
  630. var symbolMap$2 = {
  631. '1': '١',
  632. '2': '٢',
  633. '3': '٣',
  634. '4': '٤',
  635. '5': '٥',
  636. '6': '٦',
  637. '7': '٧',
  638. '8': '٨',
  639. '9': '٩',
  640. '0': '٠',
  641. },
  642. numberMap$1 = {
  643. '١': '1',
  644. '٢': '2',
  645. '٣': '3',
  646. '٤': '4',
  647. '٥': '5',
  648. '٦': '6',
  649. '٧': '7',
  650. '٨': '8',
  651. '٩': '9',
  652. '٠': '0',
  653. },
  654. pluralForm$2 = function (n) {
  655. return n === 0
  656. ? 0
  657. : n === 1
  658. ? 1
  659. : n === 2
  660. ? 2
  661. : n % 100 >= 3 && n % 100 <= 10
  662. ? 3
  663. : n % 100 >= 11
  664. ? 4
  665. : 5;
  666. },
  667. plurals$2 = {
  668. s: [
  669. 'أقل من ثانية',
  670. 'ثانية واحدة',
  671. ['ثانيتان', 'ثانيتين'],
  672. '%d ثوان',
  673. '%d ثانية',
  674. '%d ثانية',
  675. ],
  676. m: [
  677. 'أقل من دقيقة',
  678. 'دقيقة واحدة',
  679. ['دقيقتان', 'دقيقتين'],
  680. '%d دقائق',
  681. '%d دقيقة',
  682. '%d دقيقة',
  683. ],
  684. h: [
  685. 'أقل من ساعة',
  686. 'ساعة واحدة',
  687. ['ساعتان', 'ساعتين'],
  688. '%d ساعات',
  689. '%d ساعة',
  690. '%d ساعة',
  691. ],
  692. d: [
  693. 'أقل من يوم',
  694. 'يوم واحد',
  695. ['يومان', 'يومين'],
  696. '%d أيام',
  697. '%d يومًا',
  698. '%d يوم',
  699. ],
  700. M: [
  701. 'أقل من شهر',
  702. 'شهر واحد',
  703. ['شهران', 'شهرين'],
  704. '%d أشهر',
  705. '%d شهرا',
  706. '%d شهر',
  707. ],
  708. y: [
  709. 'أقل من عام',
  710. 'عام واحد',
  711. ['عامان', 'عامين'],
  712. '%d أعوام',
  713. '%d عامًا',
  714. '%d عام',
  715. ],
  716. },
  717. pluralize$2 = function (u) {
  718. return function (number, withoutSuffix, string, isFuture) {
  719. var f = pluralForm$2(number),
  720. str = plurals$2[u][pluralForm$2(number)];
  721. if (f === 2) {
  722. str = str[withoutSuffix ? 0 : 1];
  723. }
  724. return str.replace(/%d/i, number);
  725. };
  726. },
  727. months$2 = [
  728. 'يناير',
  729. 'فبراير',
  730. 'مارس',
  731. 'أبريل',
  732. 'مايو',
  733. 'يونيو',
  734. 'يوليو',
  735. 'أغسطس',
  736. 'سبتمبر',
  737. 'أكتوبر',
  738. 'نوفمبر',
  739. 'ديسمبر',
  740. ];
  741. moment.defineLocale('ar', {
  742. months: months$2,
  743. monthsShort: months$2,
  744. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  745. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  746. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  747. weekdaysParseExact: true,
  748. longDateFormat: {
  749. LT: 'HH:mm',
  750. LTS: 'HH:mm:ss',
  751. L: 'D/\u200FM/\u200FYYYY',
  752. LL: 'D MMMM YYYY',
  753. LLL: 'D MMMM YYYY HH:mm',
  754. LLLL: 'dddd D MMMM YYYY HH:mm',
  755. },
  756. meridiemParse: /ص|م/,
  757. isPM: function (input) {
  758. return 'م' === input;
  759. },
  760. meridiem: function (hour, minute, isLower) {
  761. if (hour < 12) {
  762. return 'ص';
  763. } else {
  764. return 'م';
  765. }
  766. },
  767. calendar: {
  768. sameDay: '[اليوم عند الساعة] LT',
  769. nextDay: '[غدًا عند الساعة] LT',
  770. nextWeek: 'dddd [عند الساعة] LT',
  771. lastDay: '[أمس عند الساعة] LT',
  772. lastWeek: 'dddd [عند الساعة] LT',
  773. sameElse: 'L',
  774. },
  775. relativeTime: {
  776. future: 'بعد %s',
  777. past: 'منذ %s',
  778. s: pluralize$2('s'),
  779. ss: pluralize$2('s'),
  780. m: pluralize$2('m'),
  781. mm: pluralize$2('m'),
  782. h: pluralize$2('h'),
  783. hh: pluralize$2('h'),
  784. d: pluralize$2('d'),
  785. dd: pluralize$2('d'),
  786. M: pluralize$2('M'),
  787. MM: pluralize$2('M'),
  788. y: pluralize$2('y'),
  789. yy: pluralize$2('y'),
  790. },
  791. preparse: function (string) {
  792. return string
  793. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  794. return numberMap$1[match];
  795. })
  796. .replace(/،/g, ',');
  797. },
  798. postformat: function (string) {
  799. return string
  800. .replace(/\d/g, function (match) {
  801. return symbolMap$2[match];
  802. })
  803. .replace(/,/g, '،');
  804. },
  805. week: {
  806. dow: 6, // Saturday is the first day of the week.
  807. doy: 12, // The week that contains Jan 12th is the first week of the year.
  808. },
  809. });
  810. //! moment.js locale configuration
  811. var suffixes = {
  812. 1: '-inci',
  813. 5: '-inci',
  814. 8: '-inci',
  815. 70: '-inci',
  816. 80: '-inci',
  817. 2: '-nci',
  818. 7: '-nci',
  819. 20: '-nci',
  820. 50: '-nci',
  821. 3: '-üncü',
  822. 4: '-üncü',
  823. 100: '-üncü',
  824. 6: '-ncı',
  825. 9: '-uncu',
  826. 10: '-uncu',
  827. 30: '-uncu',
  828. 60: '-ıncı',
  829. 90: '-ıncı',
  830. };
  831. moment.defineLocale('az', {
  832. months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(
  833. '_'
  834. ),
  835. monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
  836. weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(
  837. '_'
  838. ),
  839. weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
  840. weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
  841. weekdaysParseExact: true,
  842. longDateFormat: {
  843. LT: 'HH:mm',
  844. LTS: 'HH:mm:ss',
  845. L: 'DD.MM.YYYY',
  846. LL: 'D MMMM YYYY',
  847. LLL: 'D MMMM YYYY HH:mm',
  848. LLLL: 'dddd, D MMMM YYYY HH:mm',
  849. },
  850. calendar: {
  851. sameDay: '[bugün saat] LT',
  852. nextDay: '[sabah saat] LT',
  853. nextWeek: '[gələn həftə] dddd [saat] LT',
  854. lastDay: '[dünən] LT',
  855. lastWeek: '[keçən həftə] dddd [saat] LT',
  856. sameElse: 'L',
  857. },
  858. relativeTime: {
  859. future: '%s sonra',
  860. past: '%s əvvəl',
  861. s: 'birneçə saniyə',
  862. ss: '%d saniyə',
  863. m: 'bir dəqiqə',
  864. mm: '%d dəqiqə',
  865. h: 'bir saat',
  866. hh: '%d saat',
  867. d: 'bir gün',
  868. dd: '%d gün',
  869. M: 'bir ay',
  870. MM: '%d ay',
  871. y: 'bir il',
  872. yy: '%d il',
  873. },
  874. meridiemParse: /gecə|səhər|gündüz|axşam/,
  875. isPM: function (input) {
  876. return /^(gündüz|axşam)$/.test(input);
  877. },
  878. meridiem: function (hour, minute, isLower) {
  879. if (hour < 4) {
  880. return 'gecə';
  881. } else if (hour < 12) {
  882. return 'səhər';
  883. } else if (hour < 17) {
  884. return 'gündüz';
  885. } else {
  886. return 'axşam';
  887. }
  888. },
  889. dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
  890. ordinal: function (number) {
  891. if (number === 0) {
  892. // special case for zero
  893. return number + '-ıncı';
  894. }
  895. var a = number % 10,
  896. b = (number % 100) - a,
  897. c = number >= 100 ? 100 : null;
  898. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  899. },
  900. week: {
  901. dow: 1, // Monday is the first day of the week.
  902. doy: 7, // The week that contains Jan 7th is the first week of the year.
  903. },
  904. });
  905. //! moment.js locale configuration
  906. function plural(word, num) {
  907. var forms = word.split('_');
  908. return num % 10 === 1 && num % 100 !== 11
  909. ? forms[0]
  910. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  911. ? forms[1]
  912. : forms[2];
  913. }
  914. function relativeTimeWithPlural(number, withoutSuffix, key) {
  915. var format = {
  916. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  917. mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
  918. hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
  919. dd: 'дзень_дні_дзён',
  920. MM: 'месяц_месяцы_месяцаў',
  921. yy: 'год_гады_гадоў',
  922. };
  923. if (key === 'm') {
  924. return withoutSuffix ? 'хвіліна' : 'хвіліну';
  925. } else if (key === 'h') {
  926. return withoutSuffix ? 'гадзіна' : 'гадзіну';
  927. } else {
  928. return number + ' ' + plural(format[key], +number);
  929. }
  930. }
  931. moment.defineLocale('be', {
  932. months: {
  933. format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
  934. '_'
  935. ),
  936. standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
  937. '_'
  938. ),
  939. },
  940. monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split(
  941. '_'
  942. ),
  943. weekdays: {
  944. format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
  945. '_'
  946. ),
  947. standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
  948. '_'
  949. ),
  950. isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
  951. },
  952. weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  953. weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  954. longDateFormat: {
  955. LT: 'HH:mm',
  956. LTS: 'HH:mm:ss',
  957. L: 'DD.MM.YYYY',
  958. LL: 'D MMMM YYYY г.',
  959. LLL: 'D MMMM YYYY г., HH:mm',
  960. LLLL: 'dddd, D MMMM YYYY г., HH:mm',
  961. },
  962. calendar: {
  963. sameDay: '[Сёння ў] LT',
  964. nextDay: '[Заўтра ў] LT',
  965. lastDay: '[Учора ў] LT',
  966. nextWeek: function () {
  967. return '[У] dddd [ў] LT';
  968. },
  969. lastWeek: function () {
  970. switch (this.day()) {
  971. case 0:
  972. case 3:
  973. case 5:
  974. case 6:
  975. return '[У мінулую] dddd [ў] LT';
  976. case 1:
  977. case 2:
  978. case 4:
  979. return '[У мінулы] dddd [ў] LT';
  980. }
  981. },
  982. sameElse: 'L',
  983. },
  984. relativeTime: {
  985. future: 'праз %s',
  986. past: '%s таму',
  987. s: 'некалькі секунд',
  988. m: relativeTimeWithPlural,
  989. mm: relativeTimeWithPlural,
  990. h: relativeTimeWithPlural,
  991. hh: relativeTimeWithPlural,
  992. d: 'дзень',
  993. dd: relativeTimeWithPlural,
  994. M: 'месяц',
  995. MM: relativeTimeWithPlural,
  996. y: 'год',
  997. yy: relativeTimeWithPlural,
  998. },
  999. meridiemParse: /ночы|раніцы|дня|вечара/,
  1000. isPM: function (input) {
  1001. return /^(дня|вечара)$/.test(input);
  1002. },
  1003. meridiem: function (hour, minute, isLower) {
  1004. if (hour < 4) {
  1005. return 'ночы';
  1006. } else if (hour < 12) {
  1007. return 'раніцы';
  1008. } else if (hour < 17) {
  1009. return 'дня';
  1010. } else {
  1011. return 'вечара';
  1012. }
  1013. },
  1014. dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
  1015. ordinal: function (number, period) {
  1016. switch (period) {
  1017. case 'M':
  1018. case 'd':
  1019. case 'DDD':
  1020. case 'w':
  1021. case 'W':
  1022. return (number % 10 === 2 || number % 10 === 3) &&
  1023. number % 100 !== 12 &&
  1024. number % 100 !== 13
  1025. ? number + '-і'
  1026. : number + '-ы';
  1027. case 'D':
  1028. return number + '-га';
  1029. default:
  1030. return number;
  1031. }
  1032. },
  1033. week: {
  1034. dow: 1, // Monday is the first day of the week.
  1035. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1036. },
  1037. });
  1038. //! moment.js locale configuration
  1039. moment.defineLocale('bg', {
  1040. months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
  1041. '_'
  1042. ),
  1043. monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
  1044. weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
  1045. '_'
  1046. ),
  1047. weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
  1048. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  1049. longDateFormat: {
  1050. LT: 'H:mm',
  1051. LTS: 'H:mm:ss',
  1052. L: 'D.MM.YYYY',
  1053. LL: 'D MMMM YYYY',
  1054. LLL: 'D MMMM YYYY H:mm',
  1055. LLLL: 'dddd, D MMMM YYYY H:mm',
  1056. },
  1057. calendar: {
  1058. sameDay: '[Днес в] LT',
  1059. nextDay: '[Утре в] LT',
  1060. nextWeek: 'dddd [в] LT',
  1061. lastDay: '[Вчера в] LT',
  1062. lastWeek: function () {
  1063. switch (this.day()) {
  1064. case 0:
  1065. case 3:
  1066. case 6:
  1067. return '[Миналата] dddd [в] LT';
  1068. case 1:
  1069. case 2:
  1070. case 4:
  1071. case 5:
  1072. return '[Миналия] dddd [в] LT';
  1073. }
  1074. },
  1075. sameElse: 'L',
  1076. },
  1077. relativeTime: {
  1078. future: 'след %s',
  1079. past: 'преди %s',
  1080. s: 'няколко секунди',
  1081. ss: '%d секунди',
  1082. m: 'минута',
  1083. mm: '%d минути',
  1084. h: 'час',
  1085. hh: '%d часа',
  1086. d: 'ден',
  1087. dd: '%d дена',
  1088. M: 'месец',
  1089. MM: '%d месеца',
  1090. y: 'година',
  1091. yy: '%d години',
  1092. },
  1093. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  1094. ordinal: function (number) {
  1095. var lastDigit = number % 10,
  1096. last2Digits = number % 100;
  1097. if (number === 0) {
  1098. return number + '-ев';
  1099. } else if (last2Digits === 0) {
  1100. return number + '-ен';
  1101. } else if (last2Digits > 10 && last2Digits < 20) {
  1102. return number + '-ти';
  1103. } else if (lastDigit === 1) {
  1104. return number + '-ви';
  1105. } else if (lastDigit === 2) {
  1106. return number + '-ри';
  1107. } else if (lastDigit === 7 || lastDigit === 8) {
  1108. return number + '-ми';
  1109. } else {
  1110. return number + '-ти';
  1111. }
  1112. },
  1113. week: {
  1114. dow: 1, // Monday is the first day of the week.
  1115. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1116. },
  1117. });
  1118. //! moment.js locale configuration
  1119. moment.defineLocale('bm', {
  1120. months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
  1121. '_'
  1122. ),
  1123. monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
  1124. weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
  1125. weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
  1126. weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
  1127. longDateFormat: {
  1128. LT: 'HH:mm',
  1129. LTS: 'HH:mm:ss',
  1130. L: 'DD/MM/YYYY',
  1131. LL: 'MMMM [tile] D [san] YYYY',
  1132. LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  1133. LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  1134. },
  1135. calendar: {
  1136. sameDay: '[Bi lɛrɛ] LT',
  1137. nextDay: '[Sini lɛrɛ] LT',
  1138. nextWeek: 'dddd [don lɛrɛ] LT',
  1139. lastDay: '[Kunu lɛrɛ] LT',
  1140. lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
  1141. sameElse: 'L',
  1142. },
  1143. relativeTime: {
  1144. future: '%s kɔnɔ',
  1145. past: 'a bɛ %s bɔ',
  1146. s: 'sanga dama dama',
  1147. ss: 'sekondi %d',
  1148. m: 'miniti kelen',
  1149. mm: 'miniti %d',
  1150. h: 'lɛrɛ kelen',
  1151. hh: 'lɛrɛ %d',
  1152. d: 'tile kelen',
  1153. dd: 'tile %d',
  1154. M: 'kalo kelen',
  1155. MM: 'kalo %d',
  1156. y: 'san kelen',
  1157. yy: 'san %d',
  1158. },
  1159. week: {
  1160. dow: 1, // Monday is the first day of the week.
  1161. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1162. },
  1163. });
  1164. //! moment.js locale configuration
  1165. var symbolMap$3 = {
  1166. '1': '১',
  1167. '2': '২',
  1168. '3': '৩',
  1169. '4': '৪',
  1170. '5': '৫',
  1171. '6': '৬',
  1172. '7': '৭',
  1173. '8': '৮',
  1174. '9': '৯',
  1175. '0': '০',
  1176. },
  1177. numberMap$2 = {
  1178. '১': '1',
  1179. '২': '2',
  1180. '৩': '3',
  1181. '৪': '4',
  1182. '৫': '5',
  1183. '৬': '6',
  1184. '৭': '7',
  1185. '৮': '8',
  1186. '৯': '9',
  1187. '০': '0',
  1188. };
  1189. moment.defineLocale('bn', {
  1190. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
  1191. '_'
  1192. ),
  1193. monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
  1194. '_'
  1195. ),
  1196. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
  1197. '_'
  1198. ),
  1199. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  1200. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  1201. longDateFormat: {
  1202. LT: 'A h:mm সময়',
  1203. LTS: 'A h:mm:ss সময়',
  1204. L: 'DD/MM/YYYY',
  1205. LL: 'D MMMM YYYY',
  1206. LLL: 'D MMMM YYYY, A h:mm সময়',
  1207. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
  1208. },
  1209. calendar: {
  1210. sameDay: '[আজ] LT',
  1211. nextDay: '[আগামীকাল] LT',
  1212. nextWeek: 'dddd, LT',
  1213. lastDay: '[গতকাল] LT',
  1214. lastWeek: '[গত] dddd, LT',
  1215. sameElse: 'L',
  1216. },
  1217. relativeTime: {
  1218. future: '%s পরে',
  1219. past: '%s আগে',
  1220. s: 'কয়েক সেকেন্ড',
  1221. ss: '%d সেকেন্ড',
  1222. m: 'এক মিনিট',
  1223. mm: '%d মিনিট',
  1224. h: 'এক ঘন্টা',
  1225. hh: '%d ঘন্টা',
  1226. d: 'এক দিন',
  1227. dd: '%d দিন',
  1228. M: 'এক মাস',
  1229. MM: '%d মাস',
  1230. y: 'এক বছর',
  1231. yy: '%d বছর',
  1232. },
  1233. preparse: function (string) {
  1234. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  1235. return numberMap$2[match];
  1236. });
  1237. },
  1238. postformat: function (string) {
  1239. return string.replace(/\d/g, function (match) {
  1240. return symbolMap$3[match];
  1241. });
  1242. },
  1243. meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
  1244. meridiemHour: function (hour, meridiem) {
  1245. if (hour === 12) {
  1246. hour = 0;
  1247. }
  1248. if (
  1249. (meridiem === 'রাত' && hour >= 4) ||
  1250. (meridiem === 'দুপুর' && hour < 5) ||
  1251. meridiem === 'বিকাল'
  1252. ) {
  1253. return hour + 12;
  1254. } else {
  1255. return hour;
  1256. }
  1257. },
  1258. meridiem: function (hour, minute, isLower) {
  1259. if (hour < 4) {
  1260. return 'রাত';
  1261. } else if (hour < 10) {
  1262. return 'সকাল';
  1263. } else if (hour < 17) {
  1264. return 'দুপুর';
  1265. } else if (hour < 20) {
  1266. return 'বিকাল';
  1267. } else {
  1268. return 'রাত';
  1269. }
  1270. },
  1271. week: {
  1272. dow: 0, // Sunday is the first day of the week.
  1273. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1274. },
  1275. });
  1276. //! moment.js locale configuration
  1277. var symbolMap$4 = {
  1278. '1': '༡',
  1279. '2': '༢',
  1280. '3': '༣',
  1281. '4': '༤',
  1282. '5': '༥',
  1283. '6': '༦',
  1284. '7': '༧',
  1285. '8': '༨',
  1286. '9': '༩',
  1287. '0': '༠',
  1288. },
  1289. numberMap$3 = {
  1290. '༡': '1',
  1291. '༢': '2',
  1292. '༣': '3',
  1293. '༤': '4',
  1294. '༥': '5',
  1295. '༦': '6',
  1296. '༧': '7',
  1297. '༨': '8',
  1298. '༩': '9',
  1299. '༠': '0',
  1300. };
  1301. moment.defineLocale('bo', {
  1302. months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(
  1303. '_'
  1304. ),
  1305. monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(
  1306. '_'
  1307. ),
  1308. monthsShortRegex: /^(ཟླ་\d{1,2})/,
  1309. monthsParseExact: true,
  1310. weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(
  1311. '_'
  1312. ),
  1313. weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(
  1314. '_'
  1315. ),
  1316. weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),
  1317. longDateFormat: {
  1318. LT: 'A h:mm',
  1319. LTS: 'A h:mm:ss',
  1320. L: 'DD/MM/YYYY',
  1321. LL: 'D MMMM YYYY',
  1322. LLL: 'D MMMM YYYY, A h:mm',
  1323. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  1324. },
  1325. calendar: {
  1326. sameDay: '[དི་རིང] LT',
  1327. nextDay: '[སང་ཉིན] LT',
  1328. nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
  1329. lastDay: '[ཁ་སང] LT',
  1330. lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
  1331. sameElse: 'L',
  1332. },
  1333. relativeTime: {
  1334. future: '%s ལ་',
  1335. past: '%s སྔན་ལ',
  1336. s: 'ལམ་སང',
  1337. ss: '%d སྐར་ཆ།',
  1338. m: 'སྐར་མ་གཅིག',
  1339. mm: '%d སྐར་མ',
  1340. h: 'ཆུ་ཚོད་གཅིག',
  1341. hh: '%d ཆུ་ཚོད',
  1342. d: 'ཉིན་གཅིག',
  1343. dd: '%d ཉིན་',
  1344. M: 'ཟླ་བ་གཅིག',
  1345. MM: '%d ཟླ་བ',
  1346. y: 'ལོ་གཅིག',
  1347. yy: '%d ལོ',
  1348. },
  1349. preparse: function (string) {
  1350. return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
  1351. return numberMap$3[match];
  1352. });
  1353. },
  1354. postformat: function (string) {
  1355. return string.replace(/\d/g, function (match) {
  1356. return symbolMap$4[match];
  1357. });
  1358. },
  1359. meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
  1360. meridiemHour: function (hour, meridiem) {
  1361. if (hour === 12) {
  1362. hour = 0;
  1363. }
  1364. if (
  1365. (meridiem === 'མཚན་མོ' && hour >= 4) ||
  1366. (meridiem === 'ཉིན་གུང' && hour < 5) ||
  1367. meridiem === 'དགོང་དག'
  1368. ) {
  1369. return hour + 12;
  1370. } else {
  1371. return hour;
  1372. }
  1373. },
  1374. meridiem: function (hour, minute, isLower) {
  1375. if (hour < 4) {
  1376. return 'མཚན་མོ';
  1377. } else if (hour < 10) {
  1378. return 'ཞོགས་ཀས';
  1379. } else if (hour < 17) {
  1380. return 'ཉིན་གུང';
  1381. } else if (hour < 20) {
  1382. return 'དགོང་དག';
  1383. } else {
  1384. return 'མཚན་མོ';
  1385. }
  1386. },
  1387. week: {
  1388. dow: 0, // Sunday is the first day of the week.
  1389. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1390. },
  1391. });
  1392. //! moment.js locale configuration
  1393. function relativeTimeWithMutation(number, withoutSuffix, key) {
  1394. var format = {
  1395. mm: 'munutenn',
  1396. MM: 'miz',
  1397. dd: 'devezh',
  1398. };
  1399. return number + ' ' + mutation(format[key], number);
  1400. }
  1401. function specialMutationForYears(number) {
  1402. switch (lastNumber(number)) {
  1403. case 1:
  1404. case 3:
  1405. case 4:
  1406. case 5:
  1407. case 9:
  1408. return number + ' bloaz';
  1409. default:
  1410. return number + ' vloaz';
  1411. }
  1412. }
  1413. function lastNumber(number) {
  1414. if (number > 9) {
  1415. return lastNumber(number % 10);
  1416. }
  1417. return number;
  1418. }
  1419. function mutation(text, number) {
  1420. if (number === 2) {
  1421. return softMutation(text);
  1422. }
  1423. return text;
  1424. }
  1425. function softMutation(text) {
  1426. var mutationTable = {
  1427. m: 'v',
  1428. b: 'v',
  1429. d: 'z',
  1430. };
  1431. if (mutationTable[text.charAt(0)] === undefined) {
  1432. return text;
  1433. }
  1434. return mutationTable[text.charAt(0)] + text.substring(1);
  1435. }
  1436. var monthsParse = [
  1437. /^gen/i,
  1438. /^c[ʼ\']hwe/i,
  1439. /^meu/i,
  1440. /^ebr/i,
  1441. /^mae/i,
  1442. /^(mez|eve)/i,
  1443. /^gou/i,
  1444. /^eos/i,
  1445. /^gwe/i,
  1446. /^her/i,
  1447. /^du/i,
  1448. /^ker/i,
  1449. ],
  1450. monthsRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  1451. monthsStrictRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
  1452. monthsShortStrictRegex = /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  1453. fullWeekdaysParse = [
  1454. /^sul/i,
  1455. /^lun/i,
  1456. /^meurzh/i,
  1457. /^merc[ʼ\']her/i,
  1458. /^yaou/i,
  1459. /^gwener/i,
  1460. /^sadorn/i,
  1461. ],
  1462. shortWeekdaysParse = [
  1463. /^Sul/i,
  1464. /^Lun/i,
  1465. /^Meu/i,
  1466. /^Mer/i,
  1467. /^Yao/i,
  1468. /^Gwe/i,
  1469. /^Sad/i,
  1470. ],
  1471. minWeekdaysParse = [
  1472. /^Su/i,
  1473. /^Lu/i,
  1474. /^Me([^r]|$)/i,
  1475. /^Mer/i,
  1476. /^Ya/i,
  1477. /^Gw/i,
  1478. /^Sa/i,
  1479. ];
  1480. moment.defineLocale('br', {
  1481. months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(
  1482. '_'
  1483. ),
  1484. monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
  1485. weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),
  1486. weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
  1487. weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
  1488. weekdaysParse: minWeekdaysParse,
  1489. fullWeekdaysParse: fullWeekdaysParse,
  1490. shortWeekdaysParse: shortWeekdaysParse,
  1491. minWeekdaysParse: minWeekdaysParse,
  1492. monthsRegex: monthsRegex,
  1493. monthsShortRegex: monthsRegex,
  1494. monthsStrictRegex: monthsStrictRegex,
  1495. monthsShortStrictRegex: monthsShortStrictRegex,
  1496. monthsParse: monthsParse,
  1497. longMonthsParse: monthsParse,
  1498. shortMonthsParse: monthsParse,
  1499. longDateFormat: {
  1500. LT: 'HH:mm',
  1501. LTS: 'HH:mm:ss',
  1502. L: 'DD/MM/YYYY',
  1503. LL: 'D [a viz] MMMM YYYY',
  1504. LLL: 'D [a viz] MMMM YYYY HH:mm',
  1505. LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',
  1506. },
  1507. calendar: {
  1508. sameDay: '[Hiziv da] LT',
  1509. nextDay: '[Warcʼhoazh da] LT',
  1510. nextWeek: 'dddd [da] LT',
  1511. lastDay: '[Decʼh da] LT',
  1512. lastWeek: 'dddd [paset da] LT',
  1513. sameElse: 'L',
  1514. },
  1515. relativeTime: {
  1516. future: 'a-benn %s',
  1517. past: '%s ʼzo',
  1518. s: 'un nebeud segondennoù',
  1519. ss: '%d eilenn',
  1520. m: 'ur vunutenn',
  1521. mm: relativeTimeWithMutation,
  1522. h: 'un eur',
  1523. hh: '%d eur',
  1524. d: 'un devezh',
  1525. dd: relativeTimeWithMutation,
  1526. M: 'ur miz',
  1527. MM: relativeTimeWithMutation,
  1528. y: 'ur bloaz',
  1529. yy: specialMutationForYears,
  1530. },
  1531. dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
  1532. ordinal: function (number) {
  1533. var output = number === 1 ? 'añ' : 'vet';
  1534. return number + output;
  1535. },
  1536. week: {
  1537. dow: 1, // Monday is the first day of the week.
  1538. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1539. },
  1540. meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn
  1541. isPM: function (token) {
  1542. return token === 'g.m.';
  1543. },
  1544. meridiem: function (hour, minute, isLower) {
  1545. return hour < 12 ? 'a.m.' : 'g.m.';
  1546. },
  1547. });
  1548. //! moment.js locale configuration
  1549. function translate(number, withoutSuffix, key) {
  1550. var result = number + ' ';
  1551. switch (key) {
  1552. case 'ss':
  1553. if (number === 1) {
  1554. result += 'sekunda';
  1555. } else if (number === 2 || number === 3 || number === 4) {
  1556. result += 'sekunde';
  1557. } else {
  1558. result += 'sekundi';
  1559. }
  1560. return result;
  1561. case 'm':
  1562. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  1563. case 'mm':
  1564. if (number === 1) {
  1565. result += 'minuta';
  1566. } else if (number === 2 || number === 3 || number === 4) {
  1567. result += 'minute';
  1568. } else {
  1569. result += 'minuta';
  1570. }
  1571. return result;
  1572. case 'h':
  1573. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  1574. case 'hh':
  1575. if (number === 1) {
  1576. result += 'sat';
  1577. } else if (number === 2 || number === 3 || number === 4) {
  1578. result += 'sata';
  1579. } else {
  1580. result += 'sati';
  1581. }
  1582. return result;
  1583. case 'dd':
  1584. if (number === 1) {
  1585. result += 'dan';
  1586. } else {
  1587. result += 'dana';
  1588. }
  1589. return result;
  1590. case 'MM':
  1591. if (number === 1) {
  1592. result += 'mjesec';
  1593. } else if (number === 2 || number === 3 || number === 4) {
  1594. result += 'mjeseca';
  1595. } else {
  1596. result += 'mjeseci';
  1597. }
  1598. return result;
  1599. case 'yy':
  1600. if (number === 1) {
  1601. result += 'godina';
  1602. } else if (number === 2 || number === 3 || number === 4) {
  1603. result += 'godine';
  1604. } else {
  1605. result += 'godina';
  1606. }
  1607. return result;
  1608. }
  1609. }
  1610. moment.defineLocale('bs', {
  1611. months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(
  1612. '_'
  1613. ),
  1614. monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(
  1615. '_'
  1616. ),
  1617. monthsParseExact: true,
  1618. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  1619. '_'
  1620. ),
  1621. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  1622. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  1623. weekdaysParseExact: true,
  1624. longDateFormat: {
  1625. LT: 'H:mm',
  1626. LTS: 'H:mm:ss',
  1627. L: 'DD.MM.YYYY',
  1628. LL: 'D. MMMM YYYY',
  1629. LLL: 'D. MMMM YYYY H:mm',
  1630. LLLL: 'dddd, D. MMMM YYYY H:mm',
  1631. },
  1632. calendar: {
  1633. sameDay: '[danas u] LT',
  1634. nextDay: '[sutra u] LT',
  1635. nextWeek: function () {
  1636. switch (this.day()) {
  1637. case 0:
  1638. return '[u] [nedjelju] [u] LT';
  1639. case 3:
  1640. return '[u] [srijedu] [u] LT';
  1641. case 6:
  1642. return '[u] [subotu] [u] LT';
  1643. case 1:
  1644. case 2:
  1645. case 4:
  1646. case 5:
  1647. return '[u] dddd [u] LT';
  1648. }
  1649. },
  1650. lastDay: '[jučer u] LT',
  1651. lastWeek: function () {
  1652. switch (this.day()) {
  1653. case 0:
  1654. case 3:
  1655. return '[prošlu] dddd [u] LT';
  1656. case 6:
  1657. return '[prošle] [subote] [u] LT';
  1658. case 1:
  1659. case 2:
  1660. case 4:
  1661. case 5:
  1662. return '[prošli] dddd [u] LT';
  1663. }
  1664. },
  1665. sameElse: 'L',
  1666. },
  1667. relativeTime: {
  1668. future: 'za %s',
  1669. past: 'prije %s',
  1670. s: 'par sekundi',
  1671. ss: translate,
  1672. m: translate,
  1673. mm: translate,
  1674. h: translate,
  1675. hh: translate,
  1676. d: 'dan',
  1677. dd: translate,
  1678. M: 'mjesec',
  1679. MM: translate,
  1680. y: 'godinu',
  1681. yy: translate,
  1682. },
  1683. dayOfMonthOrdinalParse: /\d{1,2}\./,
  1684. ordinal: '%d.',
  1685. week: {
  1686. dow: 1, // Monday is the first day of the week.
  1687. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1688. },
  1689. });
  1690. //! moment.js locale configuration
  1691. moment.defineLocale('ca', {
  1692. months: {
  1693. standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(
  1694. '_'
  1695. ),
  1696. format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split(
  1697. '_'
  1698. ),
  1699. isFormat: /D[oD]?(\s)+MMMM/,
  1700. },
  1701. monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(
  1702. '_'
  1703. ),
  1704. monthsParseExact: true,
  1705. weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(
  1706. '_'
  1707. ),
  1708. weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
  1709. weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
  1710. weekdaysParseExact: true,
  1711. longDateFormat: {
  1712. LT: 'H:mm',
  1713. LTS: 'H:mm:ss',
  1714. L: 'DD/MM/YYYY',
  1715. LL: 'D MMMM [de] YYYY',
  1716. ll: 'D MMM YYYY',
  1717. LLL: 'D MMMM [de] YYYY [a les] H:mm',
  1718. lll: 'D MMM YYYY, H:mm',
  1719. LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
  1720. llll: 'ddd D MMM YYYY, H:mm',
  1721. },
  1722. calendar: {
  1723. sameDay: function () {
  1724. return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1725. },
  1726. nextDay: function () {
  1727. return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1728. },
  1729. nextWeek: function () {
  1730. return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1731. },
  1732. lastDay: function () {
  1733. return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1734. },
  1735. lastWeek: function () {
  1736. return (
  1737. '[el] dddd [passat a ' +
  1738. (this.hours() !== 1 ? 'les' : 'la') +
  1739. '] LT'
  1740. );
  1741. },
  1742. sameElse: 'L',
  1743. },
  1744. relativeTime: {
  1745. future: "d'aquí %s",
  1746. past: 'fa %s',
  1747. s: 'uns segons',
  1748. ss: '%d segons',
  1749. m: 'un minut',
  1750. mm: '%d minuts',
  1751. h: 'una hora',
  1752. hh: '%d hores',
  1753. d: 'un dia',
  1754. dd: '%d dies',
  1755. M: 'un mes',
  1756. MM: '%d mesos',
  1757. y: 'un any',
  1758. yy: '%d anys',
  1759. },
  1760. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  1761. ordinal: function (number, period) {
  1762. var output =
  1763. number === 1
  1764. ? 'r'
  1765. : number === 2
  1766. ? 'n'
  1767. : number === 3
  1768. ? 'r'
  1769. : number === 4
  1770. ? 't'
  1771. : 'è';
  1772. if (period === 'w' || period === 'W') {
  1773. output = 'a';
  1774. }
  1775. return number + output;
  1776. },
  1777. week: {
  1778. dow: 1, // Monday is the first day of the week.
  1779. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1780. },
  1781. });
  1782. //! moment.js locale configuration
  1783. var months$3 = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
  1784. '_'
  1785. ),
  1786. monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
  1787. monthsParse$1 = [
  1788. /^led/i,
  1789. /^úno/i,
  1790. /^bře/i,
  1791. /^dub/i,
  1792. /^kvě/i,
  1793. /^(čvn|červen$|června)/i,
  1794. /^(čvc|červenec|července)/i,
  1795. /^srp/i,
  1796. /^zář/i,
  1797. /^říj/i,
  1798. /^lis/i,
  1799. /^pro/i,
  1800. ],
  1801. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  1802. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  1803. monthsRegex$1 = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
  1804. function plural$1(n) {
  1805. return n > 1 && n < 5 && ~~(n / 10) !== 1;
  1806. }
  1807. function translate$1(number, withoutSuffix, key, isFuture) {
  1808. var result = number + ' ';
  1809. switch (key) {
  1810. case 's': // a few seconds / in a few seconds / a few seconds ago
  1811. return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
  1812. case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
  1813. if (withoutSuffix || isFuture) {
  1814. return result + (plural$1(number) ? 'sekundy' : 'sekund');
  1815. } else {
  1816. return result + 'sekundami';
  1817. }
  1818. case 'm': // a minute / in a minute / a minute ago
  1819. return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
  1820. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  1821. if (withoutSuffix || isFuture) {
  1822. return result + (plural$1(number) ? 'minuty' : 'minut');
  1823. } else {
  1824. return result + 'minutami';
  1825. }
  1826. case 'h': // an hour / in an hour / an hour ago
  1827. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  1828. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  1829. if (withoutSuffix || isFuture) {
  1830. return result + (plural$1(number) ? 'hodiny' : 'hodin');
  1831. } else {
  1832. return result + 'hodinami';
  1833. }
  1834. case 'd': // a day / in a day / a day ago
  1835. return withoutSuffix || isFuture ? 'den' : 'dnem';
  1836. case 'dd': // 9 days / in 9 days / 9 days ago
  1837. if (withoutSuffix || isFuture) {
  1838. return result + (plural$1(number) ? 'dny' : 'dní');
  1839. } else {
  1840. return result + 'dny';
  1841. }
  1842. case 'M': // a month / in a month / a month ago
  1843. return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
  1844. case 'MM': // 9 months / in 9 months / 9 months ago
  1845. if (withoutSuffix || isFuture) {
  1846. return result + (plural$1(number) ? 'měsíce' : 'měsíců');
  1847. } else {
  1848. return result + 'měsíci';
  1849. }
  1850. case 'y': // a year / in a year / a year ago
  1851. return withoutSuffix || isFuture ? 'rok' : 'rokem';
  1852. case 'yy': // 9 years / in 9 years / 9 years ago
  1853. if (withoutSuffix || isFuture) {
  1854. return result + (plural$1(number) ? 'roky' : 'let');
  1855. } else {
  1856. return result + 'lety';
  1857. }
  1858. }
  1859. }
  1860. moment.defineLocale('cs', {
  1861. months: months$3,
  1862. monthsShort: monthsShort,
  1863. monthsRegex: monthsRegex$1,
  1864. monthsShortRegex: monthsRegex$1,
  1865. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  1866. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  1867. monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
  1868. monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
  1869. monthsParse: monthsParse$1,
  1870. longMonthsParse: monthsParse$1,
  1871. shortMonthsParse: monthsParse$1,
  1872. weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
  1873. weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
  1874. weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
  1875. longDateFormat: {
  1876. LT: 'H:mm',
  1877. LTS: 'H:mm:ss',
  1878. L: 'DD.MM.YYYY',
  1879. LL: 'D. MMMM YYYY',
  1880. LLL: 'D. MMMM YYYY H:mm',
  1881. LLLL: 'dddd D. MMMM YYYY H:mm',
  1882. l: 'D. M. YYYY',
  1883. },
  1884. calendar: {
  1885. sameDay: '[dnes v] LT',
  1886. nextDay: '[zítra v] LT',
  1887. nextWeek: function () {
  1888. switch (this.day()) {
  1889. case 0:
  1890. return '[v neděli v] LT';
  1891. case 1:
  1892. case 2:
  1893. return '[v] dddd [v] LT';
  1894. case 3:
  1895. return '[ve středu v] LT';
  1896. case 4:
  1897. return '[ve čtvrtek v] LT';
  1898. case 5:
  1899. return '[v pátek v] LT';
  1900. case 6:
  1901. return '[v sobotu v] LT';
  1902. }
  1903. },
  1904. lastDay: '[včera v] LT',
  1905. lastWeek: function () {
  1906. switch (this.day()) {
  1907. case 0:
  1908. return '[minulou neděli v] LT';
  1909. case 1:
  1910. case 2:
  1911. return '[minulé] dddd [v] LT';
  1912. case 3:
  1913. return '[minulou středu v] LT';
  1914. case 4:
  1915. case 5:
  1916. return '[minulý] dddd [v] LT';
  1917. case 6:
  1918. return '[minulou sobotu v] LT';
  1919. }
  1920. },
  1921. sameElse: 'L',
  1922. },
  1923. relativeTime: {
  1924. future: 'za %s',
  1925. past: 'před %s',
  1926. s: translate$1,
  1927. ss: translate$1,
  1928. m: translate$1,
  1929. mm: translate$1,
  1930. h: translate$1,
  1931. hh: translate$1,
  1932. d: translate$1,
  1933. dd: translate$1,
  1934. M: translate$1,
  1935. MM: translate$1,
  1936. y: translate$1,
  1937. yy: translate$1,
  1938. },
  1939. dayOfMonthOrdinalParse: /\d{1,2}\./,
  1940. ordinal: '%d.',
  1941. week: {
  1942. dow: 1, // Monday is the first day of the week.
  1943. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1944. },
  1945. });
  1946. //! moment.js locale configuration
  1947. moment.defineLocale('cv', {
  1948. months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
  1949. '_'
  1950. ),
  1951. monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  1952. weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
  1953. '_'
  1954. ),
  1955. weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
  1956. weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
  1957. longDateFormat: {
  1958. LT: 'HH:mm',
  1959. LTS: 'HH:mm:ss',
  1960. L: 'DD-MM-YYYY',
  1961. LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
  1962. LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  1963. LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  1964. },
  1965. calendar: {
  1966. sameDay: '[Паян] LT [сехетре]',
  1967. nextDay: '[Ыран] LT [сехетре]',
  1968. lastDay: '[Ӗнер] LT [сехетре]',
  1969. nextWeek: '[Ҫитес] dddd LT [сехетре]',
  1970. lastWeek: '[Иртнӗ] dddd LT [сехетре]',
  1971. sameElse: 'L',
  1972. },
  1973. relativeTime: {
  1974. future: function (output) {
  1975. var affix = /сехет$/i.exec(output)
  1976. ? 'рен'
  1977. : /ҫул$/i.exec(output)
  1978. ? 'тан'
  1979. : 'ран';
  1980. return output + affix;
  1981. },
  1982. past: '%s каялла',
  1983. s: 'пӗр-ик ҫеккунт',
  1984. ss: '%d ҫеккунт',
  1985. m: 'пӗр минут',
  1986. mm: '%d минут',
  1987. h: 'пӗр сехет',
  1988. hh: '%d сехет',
  1989. d: 'пӗр кун',
  1990. dd: '%d кун',
  1991. M: 'пӗр уйӑх',
  1992. MM: '%d уйӑх',
  1993. y: 'пӗр ҫул',
  1994. yy: '%d ҫул',
  1995. },
  1996. dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
  1997. ordinal: '%d-мӗш',
  1998. week: {
  1999. dow: 1, // Monday is the first day of the week.
  2000. doy: 7, // The week that contains Jan 7th is the first week of the year.
  2001. },
  2002. });
  2003. //! moment.js locale configuration
  2004. moment.defineLocale('cy', {
  2005. months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
  2006. '_'
  2007. ),
  2008. monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(
  2009. '_'
  2010. ),
  2011. weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(
  2012. '_'
  2013. ),
  2014. weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
  2015. weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
  2016. weekdaysParseExact: true,
  2017. // time formats are the same as en-gb
  2018. longDateFormat: {
  2019. LT: 'HH:mm',
  2020. LTS: 'HH:mm:ss',
  2021. L: 'DD/MM/YYYY',
  2022. LL: 'D MMMM YYYY',
  2023. LLL: 'D MMMM YYYY HH:mm',
  2024. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2025. },
  2026. calendar: {
  2027. sameDay: '[Heddiw am] LT',
  2028. nextDay: '[Yfory am] LT',
  2029. nextWeek: 'dddd [am] LT',
  2030. lastDay: '[Ddoe am] LT',
  2031. lastWeek: 'dddd [diwethaf am] LT',
  2032. sameElse: 'L',
  2033. },
  2034. relativeTime: {
  2035. future: 'mewn %s',
  2036. past: '%s yn ôl',
  2037. s: 'ychydig eiliadau',
  2038. ss: '%d eiliad',
  2039. m: 'munud',
  2040. mm: '%d munud',
  2041. h: 'awr',
  2042. hh: '%d awr',
  2043. d: 'diwrnod',
  2044. dd: '%d diwrnod',
  2045. M: 'mis',
  2046. MM: '%d mis',
  2047. y: 'blwyddyn',
  2048. yy: '%d flynedd',
  2049. },
  2050. dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
  2051. // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
  2052. ordinal: function (number) {
  2053. var b = number,
  2054. output = '',
  2055. lookup = [
  2056. '',
  2057. 'af',
  2058. 'il',
  2059. 'ydd',
  2060. 'ydd',
  2061. 'ed',
  2062. 'ed',
  2063. 'ed',
  2064. 'fed',
  2065. 'fed',
  2066. 'fed', // 1af to 10fed
  2067. 'eg',
  2068. 'fed',
  2069. 'eg',
  2070. 'eg',
  2071. 'fed',
  2072. 'eg',
  2073. 'eg',
  2074. 'fed',
  2075. 'eg',
  2076. 'fed', // 11eg to 20fed
  2077. ];
  2078. if (b > 20) {
  2079. if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
  2080. output = 'fed'; // not 30ain, 70ain or 90ain
  2081. } else {
  2082. output = 'ain';
  2083. }
  2084. } else if (b > 0) {
  2085. output = lookup[b];
  2086. }
  2087. return number + output;
  2088. },
  2089. week: {
  2090. dow: 1, // Monday is the first day of the week.
  2091. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2092. },
  2093. });
  2094. //! moment.js locale configuration
  2095. moment.defineLocale('da', {
  2096. months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
  2097. '_'
  2098. ),
  2099. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  2100. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  2101. weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
  2102. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  2103. longDateFormat: {
  2104. LT: 'HH:mm',
  2105. LTS: 'HH:mm:ss',
  2106. L: 'DD.MM.YYYY',
  2107. LL: 'D. MMMM YYYY',
  2108. LLL: 'D. MMMM YYYY HH:mm',
  2109. LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
  2110. },
  2111. calendar: {
  2112. sameDay: '[i dag kl.] LT',
  2113. nextDay: '[i morgen kl.] LT',
  2114. nextWeek: 'på dddd [kl.] LT',
  2115. lastDay: '[i går kl.] LT',
  2116. lastWeek: '[i] dddd[s kl.] LT',
  2117. sameElse: 'L',
  2118. },
  2119. relativeTime: {
  2120. future: 'om %s',
  2121. past: '%s siden',
  2122. s: 'få sekunder',
  2123. ss: '%d sekunder',
  2124. m: 'et minut',
  2125. mm: '%d minutter',
  2126. h: 'en time',
  2127. hh: '%d timer',
  2128. d: 'en dag',
  2129. dd: '%d dage',
  2130. M: 'en måned',
  2131. MM: '%d måneder',
  2132. y: 'et år',
  2133. yy: '%d år',
  2134. },
  2135. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2136. ordinal: '%d.',
  2137. week: {
  2138. dow: 1, // Monday is the first day of the week.
  2139. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2140. },
  2141. });
  2142. //! moment.js locale configuration
  2143. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  2144. var format = {
  2145. m: ['eine Minute', 'einer Minute'],
  2146. h: ['eine Stunde', 'einer Stunde'],
  2147. d: ['ein Tag', 'einem Tag'],
  2148. dd: [number + ' Tage', number + ' Tagen'],
  2149. w: ['eine Woche', 'einer Woche'],
  2150. M: ['ein Monat', 'einem Monat'],
  2151. MM: [number + ' Monate', number + ' Monaten'],
  2152. y: ['ein Jahr', 'einem Jahr'],
  2153. yy: [number + ' Jahre', number + ' Jahren'],
  2154. };
  2155. return withoutSuffix ? format[key][0] : format[key][1];
  2156. }
  2157. moment.defineLocale('de-at', {
  2158. months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2159. '_'
  2160. ),
  2161. monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
  2162. '_'
  2163. ),
  2164. monthsParseExact: true,
  2165. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2166. '_'
  2167. ),
  2168. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  2169. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2170. weekdaysParseExact: true,
  2171. longDateFormat: {
  2172. LT: 'HH:mm',
  2173. LTS: 'HH:mm:ss',
  2174. L: 'DD.MM.YYYY',
  2175. LL: 'D. MMMM YYYY',
  2176. LLL: 'D. MMMM YYYY HH:mm',
  2177. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2178. },
  2179. calendar: {
  2180. sameDay: '[heute um] LT [Uhr]',
  2181. sameElse: 'L',
  2182. nextDay: '[morgen um] LT [Uhr]',
  2183. nextWeek: 'dddd [um] LT [Uhr]',
  2184. lastDay: '[gestern um] LT [Uhr]',
  2185. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2186. },
  2187. relativeTime: {
  2188. future: 'in %s',
  2189. past: 'vor %s',
  2190. s: 'ein paar Sekunden',
  2191. ss: '%d Sekunden',
  2192. m: processRelativeTime,
  2193. mm: '%d Minuten',
  2194. h: processRelativeTime,
  2195. hh: '%d Stunden',
  2196. d: processRelativeTime,
  2197. dd: processRelativeTime,
  2198. w: processRelativeTime,
  2199. ww: '%d Wochen',
  2200. M: processRelativeTime,
  2201. MM: processRelativeTime,
  2202. y: processRelativeTime,
  2203. yy: processRelativeTime,
  2204. },
  2205. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2206. ordinal: '%d.',
  2207. week: {
  2208. dow: 1, // Monday is the first day of the week.
  2209. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2210. },
  2211. });
  2212. //! moment.js locale configuration
  2213. function processRelativeTime$1(number, withoutSuffix, key, isFuture) {
  2214. var format = {
  2215. m: ['eine Minute', 'einer Minute'],
  2216. h: ['eine Stunde', 'einer Stunde'],
  2217. d: ['ein Tag', 'einem Tag'],
  2218. dd: [number + ' Tage', number + ' Tagen'],
  2219. w: ['eine Woche', 'einer Woche'],
  2220. M: ['ein Monat', 'einem Monat'],
  2221. MM: [number + ' Monate', number + ' Monaten'],
  2222. y: ['ein Jahr', 'einem Jahr'],
  2223. yy: [number + ' Jahre', number + ' Jahren'],
  2224. };
  2225. return withoutSuffix ? format[key][0] : format[key][1];
  2226. }
  2227. moment.defineLocale('de-ch', {
  2228. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2229. '_'
  2230. ),
  2231. monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
  2232. '_'
  2233. ),
  2234. monthsParseExact: true,
  2235. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2236. '_'
  2237. ),
  2238. weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2239. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2240. weekdaysParseExact: true,
  2241. longDateFormat: {
  2242. LT: 'HH:mm',
  2243. LTS: 'HH:mm:ss',
  2244. L: 'DD.MM.YYYY',
  2245. LL: 'D. MMMM YYYY',
  2246. LLL: 'D. MMMM YYYY HH:mm',
  2247. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2248. },
  2249. calendar: {
  2250. sameDay: '[heute um] LT [Uhr]',
  2251. sameElse: 'L',
  2252. nextDay: '[morgen um] LT [Uhr]',
  2253. nextWeek: 'dddd [um] LT [Uhr]',
  2254. lastDay: '[gestern um] LT [Uhr]',
  2255. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2256. },
  2257. relativeTime: {
  2258. future: 'in %s',
  2259. past: 'vor %s',
  2260. s: 'ein paar Sekunden',
  2261. ss: '%d Sekunden',
  2262. m: processRelativeTime$1,
  2263. mm: '%d Minuten',
  2264. h: processRelativeTime$1,
  2265. hh: '%d Stunden',
  2266. d: processRelativeTime$1,
  2267. dd: processRelativeTime$1,
  2268. w: processRelativeTime$1,
  2269. ww: '%d Wochen',
  2270. M: processRelativeTime$1,
  2271. MM: processRelativeTime$1,
  2272. y: processRelativeTime$1,
  2273. yy: processRelativeTime$1,
  2274. },
  2275. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2276. ordinal: '%d.',
  2277. week: {
  2278. dow: 1, // Monday is the first day of the week.
  2279. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2280. },
  2281. });
  2282. //! moment.js locale configuration
  2283. function processRelativeTime$2(number, withoutSuffix, key, isFuture) {
  2284. var format = {
  2285. m: ['eine Minute', 'einer Minute'],
  2286. h: ['eine Stunde', 'einer Stunde'],
  2287. d: ['ein Tag', 'einem Tag'],
  2288. dd: [number + ' Tage', number + ' Tagen'],
  2289. w: ['eine Woche', 'einer Woche'],
  2290. M: ['ein Monat', 'einem Monat'],
  2291. MM: [number + ' Monate', number + ' Monaten'],
  2292. y: ['ein Jahr', 'einem Jahr'],
  2293. yy: [number + ' Jahre', number + ' Jahren'],
  2294. };
  2295. return withoutSuffix ? format[key][0] : format[key][1];
  2296. }
  2297. moment.defineLocale('de', {
  2298. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2299. '_'
  2300. ),
  2301. monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
  2302. '_'
  2303. ),
  2304. monthsParseExact: true,
  2305. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2306. '_'
  2307. ),
  2308. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  2309. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2310. weekdaysParseExact: true,
  2311. longDateFormat: {
  2312. LT: 'HH:mm',
  2313. LTS: 'HH:mm:ss',
  2314. L: 'DD.MM.YYYY',
  2315. LL: 'D. MMMM YYYY',
  2316. LLL: 'D. MMMM YYYY HH:mm',
  2317. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2318. },
  2319. calendar: {
  2320. sameDay: '[heute um] LT [Uhr]',
  2321. sameElse: 'L',
  2322. nextDay: '[morgen um] LT [Uhr]',
  2323. nextWeek: 'dddd [um] LT [Uhr]',
  2324. lastDay: '[gestern um] LT [Uhr]',
  2325. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2326. },
  2327. relativeTime: {
  2328. future: 'in %s',
  2329. past: 'vor %s',
  2330. s: 'ein paar Sekunden',
  2331. ss: '%d Sekunden',
  2332. m: processRelativeTime$2,
  2333. mm: '%d Minuten',
  2334. h: processRelativeTime$2,
  2335. hh: '%d Stunden',
  2336. d: processRelativeTime$2,
  2337. dd: processRelativeTime$2,
  2338. w: processRelativeTime$2,
  2339. ww: '%d Wochen',
  2340. M: processRelativeTime$2,
  2341. MM: processRelativeTime$2,
  2342. y: processRelativeTime$2,
  2343. yy: processRelativeTime$2,
  2344. },
  2345. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2346. ordinal: '%d.',
  2347. week: {
  2348. dow: 1, // Monday is the first day of the week.
  2349. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2350. },
  2351. });
  2352. //! moment.js locale configuration
  2353. var months$4 = [
  2354. 'ޖެނުއަރީ',
  2355. 'ފެބްރުއަރީ',
  2356. 'މާރިޗު',
  2357. 'އޭޕްރީލު',
  2358. 'މޭ',
  2359. 'ޖޫން',
  2360. 'ޖުލައި',
  2361. 'އޯގަސްޓު',
  2362. 'ސެޕްޓެމްބަރު',
  2363. 'އޮކްޓޯބަރު',
  2364. 'ނޮވެމްބަރު',
  2365. 'ޑިސެމްބަރު',
  2366. ],
  2367. weekdays = [
  2368. 'އާދިއްތަ',
  2369. 'ހޯމަ',
  2370. 'އަންގާރަ',
  2371. 'ބުދަ',
  2372. 'ބުރާސްފަތި',
  2373. 'ހުކުރު',
  2374. 'ހޮނިހިރު',
  2375. ];
  2376. moment.defineLocale('dv', {
  2377. months: months$4,
  2378. monthsShort: months$4,
  2379. weekdays: weekdays,
  2380. weekdaysShort: weekdays,
  2381. weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
  2382. longDateFormat: {
  2383. LT: 'HH:mm',
  2384. LTS: 'HH:mm:ss',
  2385. L: 'D/M/YYYY',
  2386. LL: 'D MMMM YYYY',
  2387. LLL: 'D MMMM YYYY HH:mm',
  2388. LLLL: 'dddd D MMMM YYYY HH:mm',
  2389. },
  2390. meridiemParse: /މކ|މފ/,
  2391. isPM: function (input) {
  2392. return 'މފ' === input;
  2393. },
  2394. meridiem: function (hour, minute, isLower) {
  2395. if (hour < 12) {
  2396. return 'މކ';
  2397. } else {
  2398. return 'މފ';
  2399. }
  2400. },
  2401. calendar: {
  2402. sameDay: '[މިއަދު] LT',
  2403. nextDay: '[މާދަމާ] LT',
  2404. nextWeek: 'dddd LT',
  2405. lastDay: '[އިއްޔެ] LT',
  2406. lastWeek: '[ފާއިތުވި] dddd LT',
  2407. sameElse: 'L',
  2408. },
  2409. relativeTime: {
  2410. future: 'ތެރޭގައި %s',
  2411. past: 'ކުރިން %s',
  2412. s: 'ސިކުންތުކޮޅެއް',
  2413. ss: 'd% ސިކުންތު',
  2414. m: 'މިނިޓެއް',
  2415. mm: 'މިނިޓު %d',
  2416. h: 'ގަޑިއިރެއް',
  2417. hh: 'ގަޑިއިރު %d',
  2418. d: 'ދުވަހެއް',
  2419. dd: 'ދުވަސް %d',
  2420. M: 'މަހެއް',
  2421. MM: 'މަސް %d',
  2422. y: 'އަހަރެއް',
  2423. yy: 'އަހަރު %d',
  2424. },
  2425. preparse: function (string) {
  2426. return string.replace(/،/g, ',');
  2427. },
  2428. postformat: function (string) {
  2429. return string.replace(/,/g, '،');
  2430. },
  2431. week: {
  2432. dow: 7, // Sunday is the first day of the week.
  2433. doy: 12, // The week that contains Jan 12th is the first week of the year.
  2434. },
  2435. });
  2436. //! moment.js locale configuration
  2437. function isFunction(input) {
  2438. return (
  2439. (typeof Function !== 'undefined' && input instanceof Function) ||
  2440. Object.prototype.toString.call(input) === '[object Function]'
  2441. );
  2442. }
  2443. moment.defineLocale('el', {
  2444. monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(
  2445. '_'
  2446. ),
  2447. monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(
  2448. '_'
  2449. ),
  2450. months: function (momentToFormat, format) {
  2451. if (!momentToFormat) {
  2452. return this._monthsNominativeEl;
  2453. } else if (
  2454. typeof format === 'string' &&
  2455. /D/.test(format.substring(0, format.indexOf('MMMM')))
  2456. ) {
  2457. // if there is a day number before 'MMMM'
  2458. return this._monthsGenitiveEl[momentToFormat.month()];
  2459. } else {
  2460. return this._monthsNominativeEl[momentToFormat.month()];
  2461. }
  2462. },
  2463. monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
  2464. weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(
  2465. '_'
  2466. ),
  2467. weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
  2468. weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
  2469. meridiem: function (hours, minutes, isLower) {
  2470. if (hours > 11) {
  2471. return isLower ? 'μμ' : 'ΜΜ';
  2472. } else {
  2473. return isLower ? 'πμ' : 'ΠΜ';
  2474. }
  2475. },
  2476. isPM: function (input) {
  2477. return (input + '').toLowerCase()[0] === 'μ';
  2478. },
  2479. meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
  2480. longDateFormat: {
  2481. LT: 'h:mm A',
  2482. LTS: 'h:mm:ss A',
  2483. L: 'DD/MM/YYYY',
  2484. LL: 'D MMMM YYYY',
  2485. LLL: 'D MMMM YYYY h:mm A',
  2486. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2487. },
  2488. calendarEl: {
  2489. sameDay: '[Σήμερα {}] LT',
  2490. nextDay: '[Αύριο {}] LT',
  2491. nextWeek: 'dddd [{}] LT',
  2492. lastDay: '[Χθες {}] LT',
  2493. lastWeek: function () {
  2494. switch (this.day()) {
  2495. case 6:
  2496. return '[το προηγούμενο] dddd [{}] LT';
  2497. default:
  2498. return '[την προηγούμενη] dddd [{}] LT';
  2499. }
  2500. },
  2501. sameElse: 'L',
  2502. },
  2503. calendar: function (key, mom) {
  2504. var output = this._calendarEl[key],
  2505. hours = mom && mom.hours();
  2506. if (isFunction(output)) {
  2507. output = output.apply(mom);
  2508. }
  2509. return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
  2510. },
  2511. relativeTime: {
  2512. future: 'σε %s',
  2513. past: '%s πριν',
  2514. s: 'λίγα δευτερόλεπτα',
  2515. ss: '%d δευτερόλεπτα',
  2516. m: 'ένα λεπτό',
  2517. mm: '%d λεπτά',
  2518. h: 'μία ώρα',
  2519. hh: '%d ώρες',
  2520. d: 'μία μέρα',
  2521. dd: '%d μέρες',
  2522. M: 'ένας μήνας',
  2523. MM: '%d μήνες',
  2524. y: 'ένας χρόνος',
  2525. yy: '%d χρόνια',
  2526. },
  2527. dayOfMonthOrdinalParse: /\d{1,2}η/,
  2528. ordinal: '%dη',
  2529. week: {
  2530. dow: 1, // Monday is the first day of the week.
  2531. doy: 4, // The week that contains Jan 4st is the first week of the year.
  2532. },
  2533. });
  2534. //! moment.js locale configuration
  2535. moment.defineLocale('en-au', {
  2536. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2537. '_'
  2538. ),
  2539. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2540. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2541. '_'
  2542. ),
  2543. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2544. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2545. longDateFormat: {
  2546. LT: 'h:mm A',
  2547. LTS: 'h:mm:ss A',
  2548. L: 'DD/MM/YYYY',
  2549. LL: 'D MMMM YYYY',
  2550. LLL: 'D MMMM YYYY h:mm A',
  2551. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2552. },
  2553. calendar: {
  2554. sameDay: '[Today at] LT',
  2555. nextDay: '[Tomorrow at] LT',
  2556. nextWeek: 'dddd [at] LT',
  2557. lastDay: '[Yesterday at] LT',
  2558. lastWeek: '[Last] dddd [at] LT',
  2559. sameElse: 'L',
  2560. },
  2561. relativeTime: {
  2562. future: 'in %s',
  2563. past: '%s ago',
  2564. s: 'a few seconds',
  2565. ss: '%d seconds',
  2566. m: 'a minute',
  2567. mm: '%d minutes',
  2568. h: 'an hour',
  2569. hh: '%d hours',
  2570. d: 'a day',
  2571. dd: '%d days',
  2572. M: 'a month',
  2573. MM: '%d months',
  2574. y: 'a year',
  2575. yy: '%d years',
  2576. },
  2577. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2578. ordinal: function (number) {
  2579. var b = number % 10,
  2580. output =
  2581. ~~((number % 100) / 10) === 1
  2582. ? 'th'
  2583. : b === 1
  2584. ? 'st'
  2585. : b === 2
  2586. ? 'nd'
  2587. : b === 3
  2588. ? 'rd'
  2589. : 'th';
  2590. return number + output;
  2591. },
  2592. week: {
  2593. dow: 0, // Sunday is the first day of the week.
  2594. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2595. },
  2596. });
  2597. //! moment.js locale configuration
  2598. moment.defineLocale('en-ca', {
  2599. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2600. '_'
  2601. ),
  2602. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2603. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2604. '_'
  2605. ),
  2606. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2607. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2608. longDateFormat: {
  2609. LT: 'h:mm A',
  2610. LTS: 'h:mm:ss A',
  2611. L: 'YYYY-MM-DD',
  2612. LL: 'MMMM D, YYYY',
  2613. LLL: 'MMMM D, YYYY h:mm A',
  2614. LLLL: 'dddd, MMMM D, YYYY h:mm A',
  2615. },
  2616. calendar: {
  2617. sameDay: '[Today at] LT',
  2618. nextDay: '[Tomorrow at] LT',
  2619. nextWeek: 'dddd [at] LT',
  2620. lastDay: '[Yesterday at] LT',
  2621. lastWeek: '[Last] dddd [at] LT',
  2622. sameElse: 'L',
  2623. },
  2624. relativeTime: {
  2625. future: 'in %s',
  2626. past: '%s ago',
  2627. s: 'a few seconds',
  2628. ss: '%d seconds',
  2629. m: 'a minute',
  2630. mm: '%d minutes',
  2631. h: 'an hour',
  2632. hh: '%d hours',
  2633. d: 'a day',
  2634. dd: '%d days',
  2635. M: 'a month',
  2636. MM: '%d months',
  2637. y: 'a year',
  2638. yy: '%d years',
  2639. },
  2640. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2641. ordinal: function (number) {
  2642. var b = number % 10,
  2643. output =
  2644. ~~((number % 100) / 10) === 1
  2645. ? 'th'
  2646. : b === 1
  2647. ? 'st'
  2648. : b === 2
  2649. ? 'nd'
  2650. : b === 3
  2651. ? 'rd'
  2652. : 'th';
  2653. return number + output;
  2654. },
  2655. });
  2656. //! moment.js locale configuration
  2657. moment.defineLocale('en-gb', {
  2658. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2659. '_'
  2660. ),
  2661. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2662. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2663. '_'
  2664. ),
  2665. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2666. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2667. longDateFormat: {
  2668. LT: 'HH:mm',
  2669. LTS: 'HH:mm:ss',
  2670. L: 'DD/MM/YYYY',
  2671. LL: 'D MMMM YYYY',
  2672. LLL: 'D MMMM YYYY HH:mm',
  2673. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2674. },
  2675. calendar: {
  2676. sameDay: '[Today at] LT',
  2677. nextDay: '[Tomorrow at] LT',
  2678. nextWeek: 'dddd [at] LT',
  2679. lastDay: '[Yesterday at] LT',
  2680. lastWeek: '[Last] dddd [at] LT',
  2681. sameElse: 'L',
  2682. },
  2683. relativeTime: {
  2684. future: 'in %s',
  2685. past: '%s ago',
  2686. s: 'a few seconds',
  2687. ss: '%d seconds',
  2688. m: 'a minute',
  2689. mm: '%d minutes',
  2690. h: 'an hour',
  2691. hh: '%d hours',
  2692. d: 'a day',
  2693. dd: '%d days',
  2694. M: 'a month',
  2695. MM: '%d months',
  2696. y: 'a year',
  2697. yy: '%d years',
  2698. },
  2699. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2700. ordinal: function (number) {
  2701. var b = number % 10,
  2702. output =
  2703. ~~((number % 100) / 10) === 1
  2704. ? 'th'
  2705. : b === 1
  2706. ? 'st'
  2707. : b === 2
  2708. ? 'nd'
  2709. : b === 3
  2710. ? 'rd'
  2711. : 'th';
  2712. return number + output;
  2713. },
  2714. week: {
  2715. dow: 1, // Monday is the first day of the week.
  2716. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2717. },
  2718. });
  2719. //! moment.js locale configuration
  2720. moment.defineLocale('en-ie', {
  2721. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2722. '_'
  2723. ),
  2724. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2725. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2726. '_'
  2727. ),
  2728. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2729. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2730. longDateFormat: {
  2731. LT: 'HH:mm',
  2732. LTS: 'HH:mm:ss',
  2733. L: 'DD/MM/YYYY',
  2734. LL: 'D MMMM YYYY',
  2735. LLL: 'D MMMM YYYY HH:mm',
  2736. LLLL: 'dddd D MMMM YYYY HH:mm',
  2737. },
  2738. calendar: {
  2739. sameDay: '[Today at] LT',
  2740. nextDay: '[Tomorrow at] LT',
  2741. nextWeek: 'dddd [at] LT',
  2742. lastDay: '[Yesterday at] LT',
  2743. lastWeek: '[Last] dddd [at] LT',
  2744. sameElse: 'L',
  2745. },
  2746. relativeTime: {
  2747. future: 'in %s',
  2748. past: '%s ago',
  2749. s: 'a few seconds',
  2750. ss: '%d seconds',
  2751. m: 'a minute',
  2752. mm: '%d minutes',
  2753. h: 'an hour',
  2754. hh: '%d hours',
  2755. d: 'a day',
  2756. dd: '%d days',
  2757. M: 'a month',
  2758. MM: '%d months',
  2759. y: 'a year',
  2760. yy: '%d years',
  2761. },
  2762. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2763. ordinal: function (number) {
  2764. var b = number % 10,
  2765. output =
  2766. ~~((number % 100) / 10) === 1
  2767. ? 'th'
  2768. : b === 1
  2769. ? 'st'
  2770. : b === 2
  2771. ? 'nd'
  2772. : b === 3
  2773. ? 'rd'
  2774. : 'th';
  2775. return number + output;
  2776. },
  2777. week: {
  2778. dow: 1, // Monday is the first day of the week.
  2779. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2780. },
  2781. });
  2782. //! moment.js locale configuration
  2783. moment.defineLocale('en-il', {
  2784. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2785. '_'
  2786. ),
  2787. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2788. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2789. '_'
  2790. ),
  2791. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2792. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2793. longDateFormat: {
  2794. LT: 'HH:mm',
  2795. LTS: 'HH:mm:ss',
  2796. L: 'DD/MM/YYYY',
  2797. LL: 'D MMMM YYYY',
  2798. LLL: 'D MMMM YYYY HH:mm',
  2799. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2800. },
  2801. calendar: {
  2802. sameDay: '[Today at] LT',
  2803. nextDay: '[Tomorrow at] LT',
  2804. nextWeek: 'dddd [at] LT',
  2805. lastDay: '[Yesterday at] LT',
  2806. lastWeek: '[Last] dddd [at] LT',
  2807. sameElse: 'L',
  2808. },
  2809. relativeTime: {
  2810. future: 'in %s',
  2811. past: '%s ago',
  2812. s: 'a few seconds',
  2813. ss: '%d seconds',
  2814. m: 'a minute',
  2815. mm: '%d minutes',
  2816. h: 'an hour',
  2817. hh: '%d hours',
  2818. d: 'a day',
  2819. dd: '%d days',
  2820. M: 'a month',
  2821. MM: '%d months',
  2822. y: 'a year',
  2823. yy: '%d years',
  2824. },
  2825. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2826. ordinal: function (number) {
  2827. var b = number % 10,
  2828. output =
  2829. ~~((number % 100) / 10) === 1
  2830. ? 'th'
  2831. : b === 1
  2832. ? 'st'
  2833. : b === 2
  2834. ? 'nd'
  2835. : b === 3
  2836. ? 'rd'
  2837. : 'th';
  2838. return number + output;
  2839. },
  2840. });
  2841. //! moment.js locale configuration
  2842. moment.defineLocale('en-in', {
  2843. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2844. '_'
  2845. ),
  2846. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2847. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2848. '_'
  2849. ),
  2850. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2851. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2852. longDateFormat: {
  2853. LT: 'h:mm A',
  2854. LTS: 'h:mm:ss A',
  2855. L: 'DD/MM/YYYY',
  2856. LL: 'D MMMM YYYY',
  2857. LLL: 'D MMMM YYYY h:mm A',
  2858. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2859. },
  2860. calendar: {
  2861. sameDay: '[Today at] LT',
  2862. nextDay: '[Tomorrow at] LT',
  2863. nextWeek: 'dddd [at] LT',
  2864. lastDay: '[Yesterday at] LT',
  2865. lastWeek: '[Last] dddd [at] LT',
  2866. sameElse: 'L',
  2867. },
  2868. relativeTime: {
  2869. future: 'in %s',
  2870. past: '%s ago',
  2871. s: 'a few seconds',
  2872. ss: '%d seconds',
  2873. m: 'a minute',
  2874. mm: '%d minutes',
  2875. h: 'an hour',
  2876. hh: '%d hours',
  2877. d: 'a day',
  2878. dd: '%d days',
  2879. M: 'a month',
  2880. MM: '%d months',
  2881. y: 'a year',
  2882. yy: '%d years',
  2883. },
  2884. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2885. ordinal: function (number) {
  2886. var b = number % 10,
  2887. output =
  2888. ~~((number % 100) / 10) === 1
  2889. ? 'th'
  2890. : b === 1
  2891. ? 'st'
  2892. : b === 2
  2893. ? 'nd'
  2894. : b === 3
  2895. ? 'rd'
  2896. : 'th';
  2897. return number + output;
  2898. },
  2899. week: {
  2900. dow: 0, // Sunday is the first day of the week.
  2901. doy: 6, // The week that contains Jan 1st is the first week of the year.
  2902. },
  2903. });
  2904. //! moment.js locale configuration
  2905. moment.defineLocale('en-nz', {
  2906. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2907. '_'
  2908. ),
  2909. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2910. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2911. '_'
  2912. ),
  2913. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2914. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2915. longDateFormat: {
  2916. LT: 'h:mm A',
  2917. LTS: 'h:mm:ss A',
  2918. L: 'DD/MM/YYYY',
  2919. LL: 'D MMMM YYYY',
  2920. LLL: 'D MMMM YYYY h:mm A',
  2921. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2922. },
  2923. calendar: {
  2924. sameDay: '[Today at] LT',
  2925. nextDay: '[Tomorrow at] LT',
  2926. nextWeek: 'dddd [at] LT',
  2927. lastDay: '[Yesterday at] LT',
  2928. lastWeek: '[Last] dddd [at] LT',
  2929. sameElse: 'L',
  2930. },
  2931. relativeTime: {
  2932. future: 'in %s',
  2933. past: '%s ago',
  2934. s: 'a few seconds',
  2935. ss: '%d seconds',
  2936. m: 'a minute',
  2937. mm: '%d minutes',
  2938. h: 'an hour',
  2939. hh: '%d hours',
  2940. d: 'a day',
  2941. dd: '%d days',
  2942. M: 'a month',
  2943. MM: '%d months',
  2944. y: 'a year',
  2945. yy: '%d years',
  2946. },
  2947. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2948. ordinal: function (number) {
  2949. var b = number % 10,
  2950. output =
  2951. ~~((number % 100) / 10) === 1
  2952. ? 'th'
  2953. : b === 1
  2954. ? 'st'
  2955. : b === 2
  2956. ? 'nd'
  2957. : b === 3
  2958. ? 'rd'
  2959. : 'th';
  2960. return number + output;
  2961. },
  2962. week: {
  2963. dow: 1, // Monday is the first day of the week.
  2964. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2965. },
  2966. });
  2967. //! moment.js locale configuration
  2968. moment.defineLocale('en-sg', {
  2969. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2970. '_'
  2971. ),
  2972. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2973. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2974. '_'
  2975. ),
  2976. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2977. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2978. longDateFormat: {
  2979. LT: 'HH:mm',
  2980. LTS: 'HH:mm:ss',
  2981. L: 'DD/MM/YYYY',
  2982. LL: 'D MMMM YYYY',
  2983. LLL: 'D MMMM YYYY HH:mm',
  2984. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2985. },
  2986. calendar: {
  2987. sameDay: '[Today at] LT',
  2988. nextDay: '[Tomorrow at] LT',
  2989. nextWeek: 'dddd [at] LT',
  2990. lastDay: '[Yesterday at] LT',
  2991. lastWeek: '[Last] dddd [at] LT',
  2992. sameElse: 'L',
  2993. },
  2994. relativeTime: {
  2995. future: 'in %s',
  2996. past: '%s ago',
  2997. s: 'a few seconds',
  2998. ss: '%d seconds',
  2999. m: 'a minute',
  3000. mm: '%d minutes',
  3001. h: 'an hour',
  3002. hh: '%d hours',
  3003. d: 'a day',
  3004. dd: '%d days',
  3005. M: 'a month',
  3006. MM: '%d months',
  3007. y: 'a year',
  3008. yy: '%d years',
  3009. },
  3010. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3011. ordinal: function (number) {
  3012. var b = number % 10,
  3013. output =
  3014. ~~((number % 100) / 10) === 1
  3015. ? 'th'
  3016. : b === 1
  3017. ? 'st'
  3018. : b === 2
  3019. ? 'nd'
  3020. : b === 3
  3021. ? 'rd'
  3022. : 'th';
  3023. return number + output;
  3024. },
  3025. week: {
  3026. dow: 1, // Monday is the first day of the week.
  3027. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3028. },
  3029. });
  3030. //! moment.js locale configuration
  3031. moment.defineLocale('eo', {
  3032. months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
  3033. '_'
  3034. ),
  3035. monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
  3036. weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
  3037. weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
  3038. weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
  3039. longDateFormat: {
  3040. LT: 'HH:mm',
  3041. LTS: 'HH:mm:ss',
  3042. L: 'YYYY-MM-DD',
  3043. LL: '[la] D[-an de] MMMM, YYYY',
  3044. LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
  3045. LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
  3046. llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
  3047. },
  3048. meridiemParse: /[ap]\.t\.m/i,
  3049. isPM: function (input) {
  3050. return input.charAt(0).toLowerCase() === 'p';
  3051. },
  3052. meridiem: function (hours, minutes, isLower) {
  3053. if (hours > 11) {
  3054. return isLower ? 'p.t.m.' : 'P.T.M.';
  3055. } else {
  3056. return isLower ? 'a.t.m.' : 'A.T.M.';
  3057. }
  3058. },
  3059. calendar: {
  3060. sameDay: '[Hodiaŭ je] LT',
  3061. nextDay: '[Morgaŭ je] LT',
  3062. nextWeek: 'dddd[n je] LT',
  3063. lastDay: '[Hieraŭ je] LT',
  3064. lastWeek: '[pasintan] dddd[n je] LT',
  3065. sameElse: 'L',
  3066. },
  3067. relativeTime: {
  3068. future: 'post %s',
  3069. past: 'antaŭ %s',
  3070. s: 'kelkaj sekundoj',
  3071. ss: '%d sekundoj',
  3072. m: 'unu minuto',
  3073. mm: '%d minutoj',
  3074. h: 'unu horo',
  3075. hh: '%d horoj',
  3076. d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo
  3077. dd: '%d tagoj',
  3078. M: 'unu monato',
  3079. MM: '%d monatoj',
  3080. y: 'unu jaro',
  3081. yy: '%d jaroj',
  3082. },
  3083. dayOfMonthOrdinalParse: /\d{1,2}a/,
  3084. ordinal: '%da',
  3085. week: {
  3086. dow: 1, // Monday is the first day of the week.
  3087. doy: 7, // The week that contains Jan 7th is the first week of the year.
  3088. },
  3089. });
  3090. //! moment.js locale configuration
  3091. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3092. '_'
  3093. ),
  3094. monthsShort$1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3095. monthsParse$2 = [
  3096. /^ene/i,
  3097. /^feb/i,
  3098. /^mar/i,
  3099. /^abr/i,
  3100. /^may/i,
  3101. /^jun/i,
  3102. /^jul/i,
  3103. /^ago/i,
  3104. /^sep/i,
  3105. /^oct/i,
  3106. /^nov/i,
  3107. /^dic/i,
  3108. ],
  3109. monthsRegex$2 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3110. moment.defineLocale('es-do', {
  3111. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3112. '_'
  3113. ),
  3114. monthsShort: function (m, format) {
  3115. if (!m) {
  3116. return monthsShortDot;
  3117. } else if (/-MMM-/.test(format)) {
  3118. return monthsShort$1[m.month()];
  3119. } else {
  3120. return monthsShortDot[m.month()];
  3121. }
  3122. },
  3123. monthsRegex: monthsRegex$2,
  3124. monthsShortRegex: monthsRegex$2,
  3125. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3126. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3127. monthsParse: monthsParse$2,
  3128. longMonthsParse: monthsParse$2,
  3129. shortMonthsParse: monthsParse$2,
  3130. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3131. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3132. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3133. weekdaysParseExact: true,
  3134. longDateFormat: {
  3135. LT: 'h:mm A',
  3136. LTS: 'h:mm:ss A',
  3137. L: 'DD/MM/YYYY',
  3138. LL: 'D [de] MMMM [de] YYYY',
  3139. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  3140. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
  3141. },
  3142. calendar: {
  3143. sameDay: function () {
  3144. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3145. },
  3146. nextDay: function () {
  3147. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3148. },
  3149. nextWeek: function () {
  3150. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3151. },
  3152. lastDay: function () {
  3153. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3154. },
  3155. lastWeek: function () {
  3156. return (
  3157. '[el] dddd [pasado a la' +
  3158. (this.hours() !== 1 ? 's' : '') +
  3159. '] LT'
  3160. );
  3161. },
  3162. sameElse: 'L',
  3163. },
  3164. relativeTime: {
  3165. future: 'en %s',
  3166. past: 'hace %s',
  3167. s: 'unos segundos',
  3168. ss: '%d segundos',
  3169. m: 'un minuto',
  3170. mm: '%d minutos',
  3171. h: 'una hora',
  3172. hh: '%d horas',
  3173. d: 'un día',
  3174. dd: '%d días',
  3175. M: 'un mes',
  3176. MM: '%d meses',
  3177. y: 'un año',
  3178. yy: '%d años',
  3179. },
  3180. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3181. ordinal: '%dº',
  3182. week: {
  3183. dow: 1, // Monday is the first day of the week.
  3184. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3185. },
  3186. });
  3187. //! moment.js locale configuration
  3188. var monthsShortDot$1 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3189. '_'
  3190. ),
  3191. monthsShort$2 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3192. monthsParse$3 = [
  3193. /^ene/i,
  3194. /^feb/i,
  3195. /^mar/i,
  3196. /^abr/i,
  3197. /^may/i,
  3198. /^jun/i,
  3199. /^jul/i,
  3200. /^ago/i,
  3201. /^sep/i,
  3202. /^oct/i,
  3203. /^nov/i,
  3204. /^dic/i,
  3205. ],
  3206. monthsRegex$3 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3207. moment.defineLocale('es-us', {
  3208. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3209. '_'
  3210. ),
  3211. monthsShort: function (m, format) {
  3212. if (!m) {
  3213. return monthsShortDot$1;
  3214. } else if (/-MMM-/.test(format)) {
  3215. return monthsShort$2[m.month()];
  3216. } else {
  3217. return monthsShortDot$1[m.month()];
  3218. }
  3219. },
  3220. monthsRegex: monthsRegex$3,
  3221. monthsShortRegex: monthsRegex$3,
  3222. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3223. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3224. monthsParse: monthsParse$3,
  3225. longMonthsParse: monthsParse$3,
  3226. shortMonthsParse: monthsParse$3,
  3227. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3228. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3229. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3230. weekdaysParseExact: true,
  3231. longDateFormat: {
  3232. LT: 'h:mm A',
  3233. LTS: 'h:mm:ss A',
  3234. L: 'MM/DD/YYYY',
  3235. LL: 'D [de] MMMM [de] YYYY',
  3236. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  3237. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
  3238. },
  3239. calendar: {
  3240. sameDay: function () {
  3241. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3242. },
  3243. nextDay: function () {
  3244. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3245. },
  3246. nextWeek: function () {
  3247. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3248. },
  3249. lastDay: function () {
  3250. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3251. },
  3252. lastWeek: function () {
  3253. return (
  3254. '[el] dddd [pasado a la' +
  3255. (this.hours() !== 1 ? 's' : '') +
  3256. '] LT'
  3257. );
  3258. },
  3259. sameElse: 'L',
  3260. },
  3261. relativeTime: {
  3262. future: 'en %s',
  3263. past: 'hace %s',
  3264. s: 'unos segundos',
  3265. ss: '%d segundos',
  3266. m: 'un minuto',
  3267. mm: '%d minutos',
  3268. h: 'una hora',
  3269. hh: '%d horas',
  3270. d: 'un día',
  3271. dd: '%d días',
  3272. M: 'un mes',
  3273. MM: '%d meses',
  3274. y: 'un año',
  3275. yy: '%d años',
  3276. },
  3277. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3278. ordinal: '%dº',
  3279. week: {
  3280. dow: 0, // Sunday is the first day of the week.
  3281. doy: 6, // The week that contains Jan 6th is the first week of the year.
  3282. },
  3283. });
  3284. //! moment.js locale configuration
  3285. var monthsShortDot$2 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3286. '_'
  3287. ),
  3288. monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3289. monthsParse$4 = [
  3290. /^ene/i,
  3291. /^feb/i,
  3292. /^mar/i,
  3293. /^abr/i,
  3294. /^may/i,
  3295. /^jun/i,
  3296. /^jul/i,
  3297. /^ago/i,
  3298. /^sep/i,
  3299. /^oct/i,
  3300. /^nov/i,
  3301. /^dic/i,
  3302. ],
  3303. monthsRegex$4 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3304. moment.defineLocale('es', {
  3305. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3306. '_'
  3307. ),
  3308. monthsShort: function (m, format) {
  3309. if (!m) {
  3310. return monthsShortDot$2;
  3311. } else if (/-MMM-/.test(format)) {
  3312. return monthsShort$3[m.month()];
  3313. } else {
  3314. return monthsShortDot$2[m.month()];
  3315. }
  3316. },
  3317. monthsRegex: monthsRegex$4,
  3318. monthsShortRegex: monthsRegex$4,
  3319. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3320. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3321. monthsParse: monthsParse$4,
  3322. longMonthsParse: monthsParse$4,
  3323. shortMonthsParse: monthsParse$4,
  3324. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3325. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3326. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3327. weekdaysParseExact: true,
  3328. longDateFormat: {
  3329. LT: 'H:mm',
  3330. LTS: 'H:mm:ss',
  3331. L: 'DD/MM/YYYY',
  3332. LL: 'D [de] MMMM [de] YYYY',
  3333. LLL: 'D [de] MMMM [de] YYYY H:mm',
  3334. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  3335. },
  3336. calendar: {
  3337. sameDay: function () {
  3338. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3339. },
  3340. nextDay: function () {
  3341. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3342. },
  3343. nextWeek: function () {
  3344. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3345. },
  3346. lastDay: function () {
  3347. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3348. },
  3349. lastWeek: function () {
  3350. return (
  3351. '[el] dddd [pasado a la' +
  3352. (this.hours() !== 1 ? 's' : '') +
  3353. '] LT'
  3354. );
  3355. },
  3356. sameElse: 'L',
  3357. },
  3358. relativeTime: {
  3359. future: 'en %s',
  3360. past: 'hace %s',
  3361. s: 'unos segundos',
  3362. ss: '%d segundos',
  3363. m: 'un minuto',
  3364. mm: '%d minutos',
  3365. h: 'una hora',
  3366. hh: '%d horas',
  3367. d: 'un día',
  3368. dd: '%d días',
  3369. M: 'un mes',
  3370. MM: '%d meses',
  3371. y: 'un año',
  3372. yy: '%d años',
  3373. },
  3374. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3375. ordinal: '%dº',
  3376. week: {
  3377. dow: 1, // Monday is the first day of the week.
  3378. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3379. },
  3380. invalidDate: 'Fecha invalida',
  3381. });
  3382. //! moment.js locale configuration
  3383. function processRelativeTime$3(number, withoutSuffix, key, isFuture) {
  3384. var format = {
  3385. s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
  3386. ss: [number + 'sekundi', number + 'sekundit'],
  3387. m: ['ühe minuti', 'üks minut'],
  3388. mm: [number + ' minuti', number + ' minutit'],
  3389. h: ['ühe tunni', 'tund aega', 'üks tund'],
  3390. hh: [number + ' tunni', number + ' tundi'],
  3391. d: ['ühe päeva', 'üks päev'],
  3392. M: ['kuu aja', 'kuu aega', 'üks kuu'],
  3393. MM: [number + ' kuu', number + ' kuud'],
  3394. y: ['ühe aasta', 'aasta', 'üks aasta'],
  3395. yy: [number + ' aasta', number + ' aastat'],
  3396. };
  3397. if (withoutSuffix) {
  3398. return format[key][2] ? format[key][2] : format[key][1];
  3399. }
  3400. return isFuture ? format[key][0] : format[key][1];
  3401. }
  3402. moment.defineLocale('et', {
  3403. months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(
  3404. '_'
  3405. ),
  3406. monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split(
  3407. '_'
  3408. ),
  3409. weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(
  3410. '_'
  3411. ),
  3412. weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
  3413. weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
  3414. longDateFormat: {
  3415. LT: 'H:mm',
  3416. LTS: 'H:mm:ss',
  3417. L: 'DD.MM.YYYY',
  3418. LL: 'D. MMMM YYYY',
  3419. LLL: 'D. MMMM YYYY H:mm',
  3420. LLLL: 'dddd, D. MMMM YYYY H:mm',
  3421. },
  3422. calendar: {
  3423. sameDay: '[Täna,] LT',
  3424. nextDay: '[Homme,] LT',
  3425. nextWeek: '[Järgmine] dddd LT',
  3426. lastDay: '[Eile,] LT',
  3427. lastWeek: '[Eelmine] dddd LT',
  3428. sameElse: 'L',
  3429. },
  3430. relativeTime: {
  3431. future: '%s pärast',
  3432. past: '%s tagasi',
  3433. s: processRelativeTime$3,
  3434. ss: processRelativeTime$3,
  3435. m: processRelativeTime$3,
  3436. mm: processRelativeTime$3,
  3437. h: processRelativeTime$3,
  3438. hh: processRelativeTime$3,
  3439. d: processRelativeTime$3,
  3440. dd: '%d päeva',
  3441. M: processRelativeTime$3,
  3442. MM: processRelativeTime$3,
  3443. y: processRelativeTime$3,
  3444. yy: processRelativeTime$3,
  3445. },
  3446. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3447. ordinal: '%d.',
  3448. week: {
  3449. dow: 1, // Monday is the first day of the week.
  3450. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3451. },
  3452. });
  3453. //! moment.js locale configuration
  3454. moment.defineLocale('eu', {
  3455. months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
  3456. '_'
  3457. ),
  3458. monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(
  3459. '_'
  3460. ),
  3461. monthsParseExact: true,
  3462. weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(
  3463. '_'
  3464. ),
  3465. weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
  3466. weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
  3467. weekdaysParseExact: true,
  3468. longDateFormat: {
  3469. LT: 'HH:mm',
  3470. LTS: 'HH:mm:ss',
  3471. L: 'YYYY-MM-DD',
  3472. LL: 'YYYY[ko] MMMM[ren] D[a]',
  3473. LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
  3474. LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
  3475. l: 'YYYY-M-D',
  3476. ll: 'YYYY[ko] MMM D[a]',
  3477. lll: 'YYYY[ko] MMM D[a] HH:mm',
  3478. llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',
  3479. },
  3480. calendar: {
  3481. sameDay: '[gaur] LT[etan]',
  3482. nextDay: '[bihar] LT[etan]',
  3483. nextWeek: 'dddd LT[etan]',
  3484. lastDay: '[atzo] LT[etan]',
  3485. lastWeek: '[aurreko] dddd LT[etan]',
  3486. sameElse: 'L',
  3487. },
  3488. relativeTime: {
  3489. future: '%s barru',
  3490. past: 'duela %s',
  3491. s: 'segundo batzuk',
  3492. ss: '%d segundo',
  3493. m: 'minutu bat',
  3494. mm: '%d minutu',
  3495. h: 'ordu bat',
  3496. hh: '%d ordu',
  3497. d: 'egun bat',
  3498. dd: '%d egun',
  3499. M: 'hilabete bat',
  3500. MM: '%d hilabete',
  3501. y: 'urte bat',
  3502. yy: '%d urte',
  3503. },
  3504. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3505. ordinal: '%d.',
  3506. week: {
  3507. dow: 1, // Monday is the first day of the week.
  3508. doy: 7, // The week that contains Jan 7th is the first week of the year.
  3509. },
  3510. });
  3511. //! moment.js locale configuration
  3512. var symbolMap$5 = {
  3513. '1': '۱',
  3514. '2': '۲',
  3515. '3': '۳',
  3516. '4': '۴',
  3517. '5': '۵',
  3518. '6': '۶',
  3519. '7': '۷',
  3520. '8': '۸',
  3521. '9': '۹',
  3522. '0': '۰',
  3523. },
  3524. numberMap$4 = {
  3525. '۱': '1',
  3526. '۲': '2',
  3527. '۳': '3',
  3528. '۴': '4',
  3529. '۵': '5',
  3530. '۶': '6',
  3531. '۷': '7',
  3532. '۸': '8',
  3533. '۹': '9',
  3534. '۰': '0',
  3535. };
  3536. moment.defineLocale('fa', {
  3537. months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
  3538. '_'
  3539. ),
  3540. monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
  3541. '_'
  3542. ),
  3543. weekdays: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
  3544. '_'
  3545. ),
  3546. weekdaysShort: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
  3547. '_'
  3548. ),
  3549. weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
  3550. weekdaysParseExact: true,
  3551. longDateFormat: {
  3552. LT: 'HH:mm',
  3553. LTS: 'HH:mm:ss',
  3554. L: 'DD/MM/YYYY',
  3555. LL: 'D MMMM YYYY',
  3556. LLL: 'D MMMM YYYY HH:mm',
  3557. LLLL: 'dddd, D MMMM YYYY HH:mm',
  3558. },
  3559. meridiemParse: /قبل از ظهر|بعد از ظهر/,
  3560. isPM: function (input) {
  3561. return /بعد از ظهر/.test(input);
  3562. },
  3563. meridiem: function (hour, minute, isLower) {
  3564. if (hour < 12) {
  3565. return 'قبل از ظهر';
  3566. } else {
  3567. return 'بعد از ظهر';
  3568. }
  3569. },
  3570. calendar: {
  3571. sameDay: '[امروز ساعت] LT',
  3572. nextDay: '[فردا ساعت] LT',
  3573. nextWeek: 'dddd [ساعت] LT',
  3574. lastDay: '[دیروز ساعت] LT',
  3575. lastWeek: 'dddd [پیش] [ساعت] LT',
  3576. sameElse: 'L',
  3577. },
  3578. relativeTime: {
  3579. future: 'در %s',
  3580. past: '%s پیش',
  3581. s: 'چند ثانیه',
  3582. ss: '%d ثانیه',
  3583. m: 'یک دقیقه',
  3584. mm: '%d دقیقه',
  3585. h: 'یک ساعت',
  3586. hh: '%d ساعت',
  3587. d: 'یک روز',
  3588. dd: '%d روز',
  3589. M: 'یک ماه',
  3590. MM: '%d ماه',
  3591. y: 'یک سال',
  3592. yy: '%d سال',
  3593. },
  3594. preparse: function (string) {
  3595. return string
  3596. .replace(/[۰-۹]/g, function (match) {
  3597. return numberMap$4[match];
  3598. })
  3599. .replace(/،/g, ',');
  3600. },
  3601. postformat: function (string) {
  3602. return string
  3603. .replace(/\d/g, function (match) {
  3604. return symbolMap$5[match];
  3605. })
  3606. .replace(/,/g, '،');
  3607. },
  3608. dayOfMonthOrdinalParse: /\d{1,2}م/,
  3609. ordinal: '%dم',
  3610. week: {
  3611. dow: 6, // Saturday is the first day of the week.
  3612. doy: 12, // The week that contains Jan 12th is the first week of the year.
  3613. },
  3614. });
  3615. //! moment.js locale configuration
  3616. var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
  3617. ' '
  3618. ),
  3619. numbersFuture = [
  3620. 'nolla',
  3621. 'yhden',
  3622. 'kahden',
  3623. 'kolmen',
  3624. 'neljän',
  3625. 'viiden',
  3626. 'kuuden',
  3627. numbersPast[7],
  3628. numbersPast[8],
  3629. numbersPast[9],
  3630. ];
  3631. function translate$2(number, withoutSuffix, key, isFuture) {
  3632. var result = '';
  3633. switch (key) {
  3634. case 's':
  3635. return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
  3636. case 'ss':
  3637. result = isFuture ? 'sekunnin' : 'sekuntia';
  3638. break;
  3639. case 'm':
  3640. return isFuture ? 'minuutin' : 'minuutti';
  3641. case 'mm':
  3642. result = isFuture ? 'minuutin' : 'minuuttia';
  3643. break;
  3644. case 'h':
  3645. return isFuture ? 'tunnin' : 'tunti';
  3646. case 'hh':
  3647. result = isFuture ? 'tunnin' : 'tuntia';
  3648. break;
  3649. case 'd':
  3650. return isFuture ? 'päivän' : 'päivä';
  3651. case 'dd':
  3652. result = isFuture ? 'päivän' : 'päivää';
  3653. break;
  3654. case 'M':
  3655. return isFuture ? 'kuukauden' : 'kuukausi';
  3656. case 'MM':
  3657. result = isFuture ? 'kuukauden' : 'kuukautta';
  3658. break;
  3659. case 'y':
  3660. return isFuture ? 'vuoden' : 'vuosi';
  3661. case 'yy':
  3662. result = isFuture ? 'vuoden' : 'vuotta';
  3663. break;
  3664. }
  3665. result = verbalNumber(number, isFuture) + ' ' + result;
  3666. return result;
  3667. }
  3668. function verbalNumber(number, isFuture) {
  3669. return number < 10
  3670. ? isFuture
  3671. ? numbersFuture[number]
  3672. : numbersPast[number]
  3673. : number;
  3674. }
  3675. moment.defineLocale('fi', {
  3676. months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(
  3677. '_'
  3678. ),
  3679. monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(
  3680. '_'
  3681. ),
  3682. weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(
  3683. '_'
  3684. ),
  3685. weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
  3686. weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
  3687. longDateFormat: {
  3688. LT: 'HH.mm',
  3689. LTS: 'HH.mm.ss',
  3690. L: 'DD.MM.YYYY',
  3691. LL: 'Do MMMM[ta] YYYY',
  3692. LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
  3693. LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
  3694. l: 'D.M.YYYY',
  3695. ll: 'Do MMM YYYY',
  3696. lll: 'Do MMM YYYY, [klo] HH.mm',
  3697. llll: 'ddd, Do MMM YYYY, [klo] HH.mm',
  3698. },
  3699. calendar: {
  3700. sameDay: '[tänään] [klo] LT',
  3701. nextDay: '[huomenna] [klo] LT',
  3702. nextWeek: 'dddd [klo] LT',
  3703. lastDay: '[eilen] [klo] LT',
  3704. lastWeek: '[viime] dddd[na] [klo] LT',
  3705. sameElse: 'L',
  3706. },
  3707. relativeTime: {
  3708. future: '%s päästä',
  3709. past: '%s sitten',
  3710. s: translate$2,
  3711. ss: translate$2,
  3712. m: translate$2,
  3713. mm: translate$2,
  3714. h: translate$2,
  3715. hh: translate$2,
  3716. d: translate$2,
  3717. dd: translate$2,
  3718. M: translate$2,
  3719. MM: translate$2,
  3720. y: translate$2,
  3721. yy: translate$2,
  3722. },
  3723. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3724. ordinal: '%d.',
  3725. week: {
  3726. dow: 1, // Monday is the first day of the week.
  3727. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3728. },
  3729. });
  3730. //! moment.js locale configuration
  3731. moment.defineLocale('fil', {
  3732. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  3733. '_'
  3734. ),
  3735. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  3736. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  3737. '_'
  3738. ),
  3739. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  3740. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  3741. longDateFormat: {
  3742. LT: 'HH:mm',
  3743. LTS: 'HH:mm:ss',
  3744. L: 'MM/D/YYYY',
  3745. LL: 'MMMM D, YYYY',
  3746. LLL: 'MMMM D, YYYY HH:mm',
  3747. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  3748. },
  3749. calendar: {
  3750. sameDay: 'LT [ngayong araw]',
  3751. nextDay: '[Bukas ng] LT',
  3752. nextWeek: 'LT [sa susunod na] dddd',
  3753. lastDay: 'LT [kahapon]',
  3754. lastWeek: 'LT [noong nakaraang] dddd',
  3755. sameElse: 'L',
  3756. },
  3757. relativeTime: {
  3758. future: 'sa loob ng %s',
  3759. past: '%s ang nakalipas',
  3760. s: 'ilang segundo',
  3761. ss: '%d segundo',
  3762. m: 'isang minuto',
  3763. mm: '%d minuto',
  3764. h: 'isang oras',
  3765. hh: '%d oras',
  3766. d: 'isang araw',
  3767. dd: '%d araw',
  3768. M: 'isang buwan',
  3769. MM: '%d buwan',
  3770. y: 'isang taon',
  3771. yy: '%d taon',
  3772. },
  3773. dayOfMonthOrdinalParse: /\d{1,2}/,
  3774. ordinal: function (number) {
  3775. return number;
  3776. },
  3777. week: {
  3778. dow: 1, // Monday is the first day of the week.
  3779. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3780. },
  3781. });
  3782. //! moment.js locale configuration
  3783. moment.defineLocale('fo', {
  3784. months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
  3785. '_'
  3786. ),
  3787. monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  3788. weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(
  3789. '_'
  3790. ),
  3791. weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
  3792. weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
  3793. longDateFormat: {
  3794. LT: 'HH:mm',
  3795. LTS: 'HH:mm:ss',
  3796. L: 'DD/MM/YYYY',
  3797. LL: 'D MMMM YYYY',
  3798. LLL: 'D MMMM YYYY HH:mm',
  3799. LLLL: 'dddd D. MMMM, YYYY HH:mm',
  3800. },
  3801. calendar: {
  3802. sameDay: '[Í dag kl.] LT',
  3803. nextDay: '[Í morgin kl.] LT',
  3804. nextWeek: 'dddd [kl.] LT',
  3805. lastDay: '[Í gjár kl.] LT',
  3806. lastWeek: '[síðstu] dddd [kl] LT',
  3807. sameElse: 'L',
  3808. },
  3809. relativeTime: {
  3810. future: 'um %s',
  3811. past: '%s síðani',
  3812. s: 'fá sekund',
  3813. ss: '%d sekundir',
  3814. m: 'ein minuttur',
  3815. mm: '%d minuttir',
  3816. h: 'ein tími',
  3817. hh: '%d tímar',
  3818. d: 'ein dagur',
  3819. dd: '%d dagar',
  3820. M: 'ein mánaður',
  3821. MM: '%d mánaðir',
  3822. y: 'eitt ár',
  3823. yy: '%d ár',
  3824. },
  3825. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3826. ordinal: '%d.',
  3827. week: {
  3828. dow: 1, // Monday is the first day of the week.
  3829. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3830. },
  3831. });
  3832. //! moment.js locale configuration
  3833. moment.defineLocale('fr-ca', {
  3834. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  3835. '_'
  3836. ),
  3837. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  3838. '_'
  3839. ),
  3840. monthsParseExact: true,
  3841. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  3842. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  3843. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  3844. weekdaysParseExact: true,
  3845. longDateFormat: {
  3846. LT: 'HH:mm',
  3847. LTS: 'HH:mm:ss',
  3848. L: 'YYYY-MM-DD',
  3849. LL: 'D MMMM YYYY',
  3850. LLL: 'D MMMM YYYY HH:mm',
  3851. LLLL: 'dddd D MMMM YYYY HH:mm',
  3852. },
  3853. calendar: {
  3854. sameDay: '[Aujourd’hui à] LT',
  3855. nextDay: '[Demain à] LT',
  3856. nextWeek: 'dddd [à] LT',
  3857. lastDay: '[Hier à] LT',
  3858. lastWeek: 'dddd [dernier à] LT',
  3859. sameElse: 'L',
  3860. },
  3861. relativeTime: {
  3862. future: 'dans %s',
  3863. past: 'il y a %s',
  3864. s: 'quelques secondes',
  3865. ss: '%d secondes',
  3866. m: 'une minute',
  3867. mm: '%d minutes',
  3868. h: 'une heure',
  3869. hh: '%d heures',
  3870. d: 'un jour',
  3871. dd: '%d jours',
  3872. M: 'un mois',
  3873. MM: '%d mois',
  3874. y: 'un an',
  3875. yy: '%d ans',
  3876. },
  3877. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  3878. ordinal: function (number, period) {
  3879. switch (period) {
  3880. // Words with masculine grammatical gender: mois, trimestre, jour
  3881. default:
  3882. case 'M':
  3883. case 'Q':
  3884. case 'D':
  3885. case 'DDD':
  3886. case 'd':
  3887. return number + (number === 1 ? 'er' : 'e');
  3888. // Words with feminine grammatical gender: semaine
  3889. case 'w':
  3890. case 'W':
  3891. return number + (number === 1 ? 're' : 'e');
  3892. }
  3893. },
  3894. });
  3895. //! moment.js locale configuration
  3896. moment.defineLocale('fr-ch', {
  3897. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  3898. '_'
  3899. ),
  3900. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  3901. '_'
  3902. ),
  3903. monthsParseExact: true,
  3904. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  3905. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  3906. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  3907. weekdaysParseExact: true,
  3908. longDateFormat: {
  3909. LT: 'HH:mm',
  3910. LTS: 'HH:mm:ss',
  3911. L: 'DD.MM.YYYY',
  3912. LL: 'D MMMM YYYY',
  3913. LLL: 'D MMMM YYYY HH:mm',
  3914. LLLL: 'dddd D MMMM YYYY HH:mm',
  3915. },
  3916. calendar: {
  3917. sameDay: '[Aujourd’hui à] LT',
  3918. nextDay: '[Demain à] LT',
  3919. nextWeek: 'dddd [à] LT',
  3920. lastDay: '[Hier à] LT',
  3921. lastWeek: 'dddd [dernier à] LT',
  3922. sameElse: 'L',
  3923. },
  3924. relativeTime: {
  3925. future: 'dans %s',
  3926. past: 'il y a %s',
  3927. s: 'quelques secondes',
  3928. ss: '%d secondes',
  3929. m: 'une minute',
  3930. mm: '%d minutes',
  3931. h: 'une heure',
  3932. hh: '%d heures',
  3933. d: 'un jour',
  3934. dd: '%d jours',
  3935. M: 'un mois',
  3936. MM: '%d mois',
  3937. y: 'un an',
  3938. yy: '%d ans',
  3939. },
  3940. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  3941. ordinal: function (number, period) {
  3942. switch (period) {
  3943. // Words with masculine grammatical gender: mois, trimestre, jour
  3944. default:
  3945. case 'M':
  3946. case 'Q':
  3947. case 'D':
  3948. case 'DDD':
  3949. case 'd':
  3950. return number + (number === 1 ? 'er' : 'e');
  3951. // Words with feminine grammatical gender: semaine
  3952. case 'w':
  3953. case 'W':
  3954. return number + (number === 1 ? 're' : 'e');
  3955. }
  3956. },
  3957. week: {
  3958. dow: 1, // Monday is the first day of the week.
  3959. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3960. },
  3961. });
  3962. //! moment.js locale configuration
  3963. var monthsStrictRegex$1 = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  3964. monthsShortStrictRegex$1 = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
  3965. monthsRegex$5 = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  3966. monthsParse$5 = [
  3967. /^janv/i,
  3968. /^févr/i,
  3969. /^mars/i,
  3970. /^avr/i,
  3971. /^mai/i,
  3972. /^juin/i,
  3973. /^juil/i,
  3974. /^août/i,
  3975. /^sept/i,
  3976. /^oct/i,
  3977. /^nov/i,
  3978. /^déc/i,
  3979. ];
  3980. moment.defineLocale('fr', {
  3981. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  3982. '_'
  3983. ),
  3984. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  3985. '_'
  3986. ),
  3987. monthsRegex: monthsRegex$5,
  3988. monthsShortRegex: monthsRegex$5,
  3989. monthsStrictRegex: monthsStrictRegex$1,
  3990. monthsShortStrictRegex: monthsShortStrictRegex$1,
  3991. monthsParse: monthsParse$5,
  3992. longMonthsParse: monthsParse$5,
  3993. shortMonthsParse: monthsParse$5,
  3994. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  3995. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  3996. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  3997. weekdaysParseExact: true,
  3998. longDateFormat: {
  3999. LT: 'HH:mm',
  4000. LTS: 'HH:mm:ss',
  4001. L: 'DD/MM/YYYY',
  4002. LL: 'D MMMM YYYY',
  4003. LLL: 'D MMMM YYYY HH:mm',
  4004. LLLL: 'dddd D MMMM YYYY HH:mm',
  4005. },
  4006. calendar: {
  4007. sameDay: '[Aujourd’hui à] LT',
  4008. nextDay: '[Demain à] LT',
  4009. nextWeek: 'dddd [à] LT',
  4010. lastDay: '[Hier à] LT',
  4011. lastWeek: 'dddd [dernier à] LT',
  4012. sameElse: 'L',
  4013. },
  4014. relativeTime: {
  4015. future: 'dans %s',
  4016. past: 'il y a %s',
  4017. s: 'quelques secondes',
  4018. ss: '%d secondes',
  4019. m: 'une minute',
  4020. mm: '%d minutes',
  4021. h: 'une heure',
  4022. hh: '%d heures',
  4023. d: 'un jour',
  4024. dd: '%d jours',
  4025. M: 'un mois',
  4026. MM: '%d mois',
  4027. y: 'un an',
  4028. yy: '%d ans',
  4029. },
  4030. dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
  4031. ordinal: function (number, period) {
  4032. switch (period) {
  4033. // TODO: Return 'e' when day of month > 1. Move this case inside
  4034. // block for masculine words below.
  4035. // See https://github.com/moment/moment/issues/3375
  4036. case 'D':
  4037. return number + (number === 1 ? 'er' : '');
  4038. // Words with masculine grammatical gender: mois, trimestre, jour
  4039. default:
  4040. case 'M':
  4041. case 'Q':
  4042. case 'DDD':
  4043. case 'd':
  4044. return number + (number === 1 ? 'er' : 'e');
  4045. // Words with feminine grammatical gender: semaine
  4046. case 'w':
  4047. case 'W':
  4048. return number + (number === 1 ? 're' : 'e');
  4049. }
  4050. },
  4051. week: {
  4052. dow: 1, // Monday is the first day of the week.
  4053. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4054. },
  4055. });
  4056. //! moment.js locale configuration
  4057. var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split(
  4058. '_'
  4059. ),
  4060. monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split(
  4061. '_'
  4062. );
  4063. moment.defineLocale('fy', {
  4064. months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(
  4065. '_'
  4066. ),
  4067. monthsShort: function (m, format) {
  4068. if (!m) {
  4069. return monthsShortWithDots;
  4070. } else if (/-MMM-/.test(format)) {
  4071. return monthsShortWithoutDots[m.month()];
  4072. } else {
  4073. return monthsShortWithDots[m.month()];
  4074. }
  4075. },
  4076. monthsParseExact: true,
  4077. weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(
  4078. '_'
  4079. ),
  4080. weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
  4081. weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
  4082. weekdaysParseExact: true,
  4083. longDateFormat: {
  4084. LT: 'HH:mm',
  4085. LTS: 'HH:mm:ss',
  4086. L: 'DD-MM-YYYY',
  4087. LL: 'D MMMM YYYY',
  4088. LLL: 'D MMMM YYYY HH:mm',
  4089. LLLL: 'dddd D MMMM YYYY HH:mm',
  4090. },
  4091. calendar: {
  4092. sameDay: '[hjoed om] LT',
  4093. nextDay: '[moarn om] LT',
  4094. nextWeek: 'dddd [om] LT',
  4095. lastDay: '[juster om] LT',
  4096. lastWeek: '[ôfrûne] dddd [om] LT',
  4097. sameElse: 'L',
  4098. },
  4099. relativeTime: {
  4100. future: 'oer %s',
  4101. past: '%s lyn',
  4102. s: 'in pear sekonden',
  4103. ss: '%d sekonden',
  4104. m: 'ien minút',
  4105. mm: '%d minuten',
  4106. h: 'ien oere',
  4107. hh: '%d oeren',
  4108. d: 'ien dei',
  4109. dd: '%d dagen',
  4110. M: 'ien moanne',
  4111. MM: '%d moannen',
  4112. y: 'ien jier',
  4113. yy: '%d jierren',
  4114. },
  4115. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  4116. ordinal: function (number) {
  4117. return (
  4118. number +
  4119. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  4120. );
  4121. },
  4122. week: {
  4123. dow: 1, // Monday is the first day of the week.
  4124. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4125. },
  4126. });
  4127. //! moment.js locale configuration
  4128. var months$5 = [
  4129. 'Eanáir',
  4130. 'Feabhra',
  4131. 'Márta',
  4132. 'Aibreán',
  4133. 'Bealtaine',
  4134. 'Meitheamh',
  4135. 'Iúil',
  4136. 'Lúnasa',
  4137. 'Meán Fómhair',
  4138. 'Deireadh Fómhair',
  4139. 'Samhain',
  4140. 'Nollaig',
  4141. ],
  4142. monthsShort$4 = [
  4143. 'Ean',
  4144. 'Feabh',
  4145. 'Márt',
  4146. 'Aib',
  4147. 'Beal',
  4148. 'Meith',
  4149. 'Iúil',
  4150. 'Lún',
  4151. 'M.F.',
  4152. 'D.F.',
  4153. 'Samh',
  4154. 'Noll',
  4155. ],
  4156. weekdays$1 = [
  4157. 'Dé Domhnaigh',
  4158. 'Dé Luain',
  4159. 'Dé Máirt',
  4160. 'Dé Céadaoin',
  4161. 'Déardaoin',
  4162. 'Dé hAoine',
  4163. 'Dé Sathairn',
  4164. ],
  4165. weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
  4166. weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
  4167. moment.defineLocale('ga', {
  4168. months: months$5,
  4169. monthsShort: monthsShort$4,
  4170. monthsParseExact: true,
  4171. weekdays: weekdays$1,
  4172. weekdaysShort: weekdaysShort,
  4173. weekdaysMin: weekdaysMin,
  4174. longDateFormat: {
  4175. LT: 'HH:mm',
  4176. LTS: 'HH:mm:ss',
  4177. L: 'DD/MM/YYYY',
  4178. LL: 'D MMMM YYYY',
  4179. LLL: 'D MMMM YYYY HH:mm',
  4180. LLLL: 'dddd, D MMMM YYYY HH:mm',
  4181. },
  4182. calendar: {
  4183. sameDay: '[Inniu ag] LT',
  4184. nextDay: '[Amárach ag] LT',
  4185. nextWeek: 'dddd [ag] LT',
  4186. lastDay: '[Inné ag] LT',
  4187. lastWeek: 'dddd [seo caite] [ag] LT',
  4188. sameElse: 'L',
  4189. },
  4190. relativeTime: {
  4191. future: 'i %s',
  4192. past: '%s ó shin',
  4193. s: 'cúpla soicind',
  4194. ss: '%d soicind',
  4195. m: 'nóiméad',
  4196. mm: '%d nóiméad',
  4197. h: 'uair an chloig',
  4198. hh: '%d uair an chloig',
  4199. d: 'lá',
  4200. dd: '%d lá',
  4201. M: 'mí',
  4202. MM: '%d míonna',
  4203. y: 'bliain',
  4204. yy: '%d bliain',
  4205. },
  4206. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  4207. ordinal: function (number) {
  4208. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  4209. return number + output;
  4210. },
  4211. week: {
  4212. dow: 1, // Monday is the first day of the week.
  4213. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4214. },
  4215. });
  4216. //! moment.js locale configuration
  4217. var months$6 = [
  4218. 'Am Faoilleach',
  4219. 'An Gearran',
  4220. 'Am Màrt',
  4221. 'An Giblean',
  4222. 'An Cèitean',
  4223. 'An t-Ògmhios',
  4224. 'An t-Iuchar',
  4225. 'An Lùnastal',
  4226. 'An t-Sultain',
  4227. 'An Dàmhair',
  4228. 'An t-Samhain',
  4229. 'An Dùbhlachd',
  4230. ],
  4231. monthsShort$5 = [
  4232. 'Faoi',
  4233. 'Gear',
  4234. 'Màrt',
  4235. 'Gibl',
  4236. 'Cèit',
  4237. 'Ògmh',
  4238. 'Iuch',
  4239. 'Lùn',
  4240. 'Sult',
  4241. 'Dàmh',
  4242. 'Samh',
  4243. 'Dùbh',
  4244. ],
  4245. weekdays$2 = [
  4246. 'Didòmhnaich',
  4247. 'Diluain',
  4248. 'Dimàirt',
  4249. 'Diciadain',
  4250. 'Diardaoin',
  4251. 'Dihaoine',
  4252. 'Disathairne',
  4253. ],
  4254. weekdaysShort$1 = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
  4255. weekdaysMin$1 = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  4256. moment.defineLocale('gd', {
  4257. months: months$6,
  4258. monthsShort: monthsShort$5,
  4259. monthsParseExact: true,
  4260. weekdays: weekdays$2,
  4261. weekdaysShort: weekdaysShort$1,
  4262. weekdaysMin: weekdaysMin$1,
  4263. longDateFormat: {
  4264. LT: 'HH:mm',
  4265. LTS: 'HH:mm:ss',
  4266. L: 'DD/MM/YYYY',
  4267. LL: 'D MMMM YYYY',
  4268. LLL: 'D MMMM YYYY HH:mm',
  4269. LLLL: 'dddd, D MMMM YYYY HH:mm',
  4270. },
  4271. calendar: {
  4272. sameDay: '[An-diugh aig] LT',
  4273. nextDay: '[A-màireach aig] LT',
  4274. nextWeek: 'dddd [aig] LT',
  4275. lastDay: '[An-dè aig] LT',
  4276. lastWeek: 'dddd [seo chaidh] [aig] LT',
  4277. sameElse: 'L',
  4278. },
  4279. relativeTime: {
  4280. future: 'ann an %s',
  4281. past: 'bho chionn %s',
  4282. s: 'beagan diogan',
  4283. ss: '%d diogan',
  4284. m: 'mionaid',
  4285. mm: '%d mionaidean',
  4286. h: 'uair',
  4287. hh: '%d uairean',
  4288. d: 'latha',
  4289. dd: '%d latha',
  4290. M: 'mìos',
  4291. MM: '%d mìosan',
  4292. y: 'bliadhna',
  4293. yy: '%d bliadhna',
  4294. },
  4295. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  4296. ordinal: function (number) {
  4297. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  4298. return number + output;
  4299. },
  4300. week: {
  4301. dow: 1, // Monday is the first day of the week.
  4302. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4303. },
  4304. });
  4305. //! moment.js locale configuration
  4306. moment.defineLocale('gl', {
  4307. months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(
  4308. '_'
  4309. ),
  4310. monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(
  4311. '_'
  4312. ),
  4313. monthsParseExact: true,
  4314. weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
  4315. weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
  4316. weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
  4317. weekdaysParseExact: true,
  4318. longDateFormat: {
  4319. LT: 'H:mm',
  4320. LTS: 'H:mm:ss',
  4321. L: 'DD/MM/YYYY',
  4322. LL: 'D [de] MMMM [de] YYYY',
  4323. LLL: 'D [de] MMMM [de] YYYY H:mm',
  4324. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  4325. },
  4326. calendar: {
  4327. sameDay: function () {
  4328. return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  4329. },
  4330. nextDay: function () {
  4331. return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  4332. },
  4333. nextWeek: function () {
  4334. return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
  4335. },
  4336. lastDay: function () {
  4337. return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
  4338. },
  4339. lastWeek: function () {
  4340. return (
  4341. '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'
  4342. );
  4343. },
  4344. sameElse: 'L',
  4345. },
  4346. relativeTime: {
  4347. future: function (str) {
  4348. if (str.indexOf('un') === 0) {
  4349. return 'n' + str;
  4350. }
  4351. return 'en ' + str;
  4352. },
  4353. past: 'hai %s',
  4354. s: 'uns segundos',
  4355. ss: '%d segundos',
  4356. m: 'un minuto',
  4357. mm: '%d minutos',
  4358. h: 'unha hora',
  4359. hh: '%d horas',
  4360. d: 'un día',
  4361. dd: '%d días',
  4362. M: 'un mes',
  4363. MM: '%d meses',
  4364. y: 'un ano',
  4365. yy: '%d anos',
  4366. },
  4367. dayOfMonthOrdinalParse: /\d{1,2}º/,
  4368. ordinal: '%dº',
  4369. week: {
  4370. dow: 1, // Monday is the first day of the week.
  4371. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4372. },
  4373. });
  4374. //! moment.js locale configuration
  4375. function processRelativeTime$4(number, withoutSuffix, key, isFuture) {
  4376. var format = {
  4377. s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],
  4378. ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],
  4379. m: ['एका मिणटान', 'एक मिनूट'],
  4380. mm: [number + ' मिणटांनी', number + ' मिणटां'],
  4381. h: ['एका वरान', 'एक वर'],
  4382. hh: [number + ' वरांनी', number + ' वरां'],
  4383. d: ['एका दिसान', 'एक दीस'],
  4384. dd: [number + ' दिसांनी', number + ' दीस'],
  4385. M: ['एका म्हयन्यान', 'एक म्हयनो'],
  4386. MM: [number + ' म्हयन्यानी', number + ' म्हयने'],
  4387. y: ['एका वर्सान', 'एक वर्स'],
  4388. yy: [number + ' वर्सांनी', number + ' वर्सां'],
  4389. };
  4390. return isFuture ? format[key][0] : format[key][1];
  4391. }
  4392. moment.defineLocale('gom-deva', {
  4393. months: {
  4394. standalone: 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
  4395. '_'
  4396. ),
  4397. format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(
  4398. '_'
  4399. ),
  4400. isFormat: /MMMM(\s)+D[oD]?/,
  4401. },
  4402. monthsShort: 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
  4403. '_'
  4404. ),
  4405. monthsParseExact: true,
  4406. weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),
  4407. weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),
  4408. weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),
  4409. weekdaysParseExact: true,
  4410. longDateFormat: {
  4411. LT: 'A h:mm [वाजतां]',
  4412. LTS: 'A h:mm:ss [वाजतां]',
  4413. L: 'DD-MM-YYYY',
  4414. LL: 'D MMMM YYYY',
  4415. LLL: 'D MMMM YYYY A h:mm [वाजतां]',
  4416. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',
  4417. llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',
  4418. },
  4419. calendar: {
  4420. sameDay: '[आयज] LT',
  4421. nextDay: '[फाल्यां] LT',
  4422. nextWeek: '[फुडलो] dddd[,] LT',
  4423. lastDay: '[काल] LT',
  4424. lastWeek: '[फाटलो] dddd[,] LT',
  4425. sameElse: 'L',
  4426. },
  4427. relativeTime: {
  4428. future: '%s',
  4429. past: '%s आदीं',
  4430. s: processRelativeTime$4,
  4431. ss: processRelativeTime$4,
  4432. m: processRelativeTime$4,
  4433. mm: processRelativeTime$4,
  4434. h: processRelativeTime$4,
  4435. hh: processRelativeTime$4,
  4436. d: processRelativeTime$4,
  4437. dd: processRelativeTime$4,
  4438. M: processRelativeTime$4,
  4439. MM: processRelativeTime$4,
  4440. y: processRelativeTime$4,
  4441. yy: processRelativeTime$4,
  4442. },
  4443. dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
  4444. ordinal: function (number, period) {
  4445. switch (period) {
  4446. // the ordinal 'वेर' only applies to day of the month
  4447. case 'D':
  4448. return number + 'वेर';
  4449. default:
  4450. case 'M':
  4451. case 'Q':
  4452. case 'DDD':
  4453. case 'd':
  4454. case 'w':
  4455. case 'W':
  4456. return number;
  4457. }
  4458. },
  4459. week: {
  4460. dow: 1, // Monday is the first day of the week.
  4461. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4462. },
  4463. meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
  4464. meridiemHour: function (hour, meridiem) {
  4465. if (hour === 12) {
  4466. hour = 0;
  4467. }
  4468. if (meridiem === 'राती') {
  4469. return hour < 4 ? hour : hour + 12;
  4470. } else if (meridiem === 'सकाळीं') {
  4471. return hour;
  4472. } else if (meridiem === 'दनपारां') {
  4473. return hour > 12 ? hour : hour + 12;
  4474. } else if (meridiem === 'सांजे') {
  4475. return hour + 12;
  4476. }
  4477. },
  4478. meridiem: function (hour, minute, isLower) {
  4479. if (hour < 4) {
  4480. return 'राती';
  4481. } else if (hour < 12) {
  4482. return 'सकाळीं';
  4483. } else if (hour < 16) {
  4484. return 'दनपारां';
  4485. } else if (hour < 20) {
  4486. return 'सांजे';
  4487. } else {
  4488. return 'राती';
  4489. }
  4490. },
  4491. });
  4492. //! moment.js locale configuration
  4493. function processRelativeTime$5(number, withoutSuffix, key, isFuture) {
  4494. var format = {
  4495. s: ['thoddea sekondamni', 'thodde sekond'],
  4496. ss: [number + ' sekondamni', number + ' sekond'],
  4497. m: ['eka mintan', 'ek minut'],
  4498. mm: [number + ' mintamni', number + ' mintam'],
  4499. h: ['eka voran', 'ek vor'],
  4500. hh: [number + ' voramni', number + ' voram'],
  4501. d: ['eka disan', 'ek dis'],
  4502. dd: [number + ' disamni', number + ' dis'],
  4503. M: ['eka mhoinean', 'ek mhoino'],
  4504. MM: [number + ' mhoineamni', number + ' mhoine'],
  4505. y: ['eka vorsan', 'ek voros'],
  4506. yy: [number + ' vorsamni', number + ' vorsam'],
  4507. };
  4508. return isFuture ? format[key][0] : format[key][1];
  4509. }
  4510. moment.defineLocale('gom-latn', {
  4511. months: {
  4512. standalone: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(
  4513. '_'
  4514. ),
  4515. format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(
  4516. '_'
  4517. ),
  4518. isFormat: /MMMM(\s)+D[oD]?/,
  4519. },
  4520. monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split(
  4521. '_'
  4522. ),
  4523. monthsParseExact: true,
  4524. weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'),
  4525. weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
  4526. weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
  4527. weekdaysParseExact: true,
  4528. longDateFormat: {
  4529. LT: 'A h:mm [vazta]',
  4530. LTS: 'A h:mm:ss [vazta]',
  4531. L: 'DD-MM-YYYY',
  4532. LL: 'D MMMM YYYY',
  4533. LLL: 'D MMMM YYYY A h:mm [vazta]',
  4534. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',
  4535. llll: 'ddd, D MMM YYYY, A h:mm [vazta]',
  4536. },
  4537. calendar: {
  4538. sameDay: '[Aiz] LT',
  4539. nextDay: '[Faleam] LT',
  4540. nextWeek: '[Fuddlo] dddd[,] LT',
  4541. lastDay: '[Kal] LT',
  4542. lastWeek: '[Fattlo] dddd[,] LT',
  4543. sameElse: 'L',
  4544. },
  4545. relativeTime: {
  4546. future: '%s',
  4547. past: '%s adim',
  4548. s: processRelativeTime$5,
  4549. ss: processRelativeTime$5,
  4550. m: processRelativeTime$5,
  4551. mm: processRelativeTime$5,
  4552. h: processRelativeTime$5,
  4553. hh: processRelativeTime$5,
  4554. d: processRelativeTime$5,
  4555. dd: processRelativeTime$5,
  4556. M: processRelativeTime$5,
  4557. MM: processRelativeTime$5,
  4558. y: processRelativeTime$5,
  4559. yy: processRelativeTime$5,
  4560. },
  4561. dayOfMonthOrdinalParse: /\d{1,2}(er)/,
  4562. ordinal: function (number, period) {
  4563. switch (period) {
  4564. // the ordinal 'er' only applies to day of the month
  4565. case 'D':
  4566. return number + 'er';
  4567. default:
  4568. case 'M':
  4569. case 'Q':
  4570. case 'DDD':
  4571. case 'd':
  4572. case 'w':
  4573. case 'W':
  4574. return number;
  4575. }
  4576. },
  4577. week: {
  4578. dow: 1, // Monday is the first day of the week.
  4579. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4580. },
  4581. meridiemParse: /rati|sokallim|donparam|sanje/,
  4582. meridiemHour: function (hour, meridiem) {
  4583. if (hour === 12) {
  4584. hour = 0;
  4585. }
  4586. if (meridiem === 'rati') {
  4587. return hour < 4 ? hour : hour + 12;
  4588. } else if (meridiem === 'sokallim') {
  4589. return hour;
  4590. } else if (meridiem === 'donparam') {
  4591. return hour > 12 ? hour : hour + 12;
  4592. } else if (meridiem === 'sanje') {
  4593. return hour + 12;
  4594. }
  4595. },
  4596. meridiem: function (hour, minute, isLower) {
  4597. if (hour < 4) {
  4598. return 'rati';
  4599. } else if (hour < 12) {
  4600. return 'sokallim';
  4601. } else if (hour < 16) {
  4602. return 'donparam';
  4603. } else if (hour < 20) {
  4604. return 'sanje';
  4605. } else {
  4606. return 'rati';
  4607. }
  4608. },
  4609. });
  4610. //! moment.js locale configuration
  4611. var symbolMap$6 = {
  4612. '1': '૧',
  4613. '2': '૨',
  4614. '3': '૩',
  4615. '4': '૪',
  4616. '5': '૫',
  4617. '6': '૬',
  4618. '7': '૭',
  4619. '8': '૮',
  4620. '9': '૯',
  4621. '0': '૦',
  4622. },
  4623. numberMap$5 = {
  4624. '૧': '1',
  4625. '૨': '2',
  4626. '૩': '3',
  4627. '૪': '4',
  4628. '૫': '5',
  4629. '૬': '6',
  4630. '૭': '7',
  4631. '૮': '8',
  4632. '૯': '9',
  4633. '૦': '0',
  4634. };
  4635. moment.defineLocale('gu', {
  4636. months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(
  4637. '_'
  4638. ),
  4639. monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(
  4640. '_'
  4641. ),
  4642. monthsParseExact: true,
  4643. weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(
  4644. '_'
  4645. ),
  4646. weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),
  4647. weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),
  4648. longDateFormat: {
  4649. LT: 'A h:mm વાગ્યે',
  4650. LTS: 'A h:mm:ss વાગ્યે',
  4651. L: 'DD/MM/YYYY',
  4652. LL: 'D MMMM YYYY',
  4653. LLL: 'D MMMM YYYY, A h:mm વાગ્યે',
  4654. LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',
  4655. },
  4656. calendar: {
  4657. sameDay: '[આજ] LT',
  4658. nextDay: '[કાલે] LT',
  4659. nextWeek: 'dddd, LT',
  4660. lastDay: '[ગઇકાલે] LT',
  4661. lastWeek: '[પાછલા] dddd, LT',
  4662. sameElse: 'L',
  4663. },
  4664. relativeTime: {
  4665. future: '%s મા',
  4666. past: '%s પહેલા',
  4667. s: 'અમુક પળો',
  4668. ss: '%d સેકંડ',
  4669. m: 'એક મિનિટ',
  4670. mm: '%d મિનિટ',
  4671. h: 'એક કલાક',
  4672. hh: '%d કલાક',
  4673. d: 'એક દિવસ',
  4674. dd: '%d દિવસ',
  4675. M: 'એક મહિનો',
  4676. MM: '%d મહિનો',
  4677. y: 'એક વર્ષ',
  4678. yy: '%d વર્ષ',
  4679. },
  4680. preparse: function (string) {
  4681. return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
  4682. return numberMap$5[match];
  4683. });
  4684. },
  4685. postformat: function (string) {
  4686. return string.replace(/\d/g, function (match) {
  4687. return symbolMap$6[match];
  4688. });
  4689. },
  4690. // Gujarati notation for meridiems are quite fuzzy in practice. While there exists
  4691. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.
  4692. meridiemParse: /રાત|બપોર|સવાર|સાંજ/,
  4693. meridiemHour: function (hour, meridiem) {
  4694. if (hour === 12) {
  4695. hour = 0;
  4696. }
  4697. if (meridiem === 'રાત') {
  4698. return hour < 4 ? hour : hour + 12;
  4699. } else if (meridiem === 'સવાર') {
  4700. return hour;
  4701. } else if (meridiem === 'બપોર') {
  4702. return hour >= 10 ? hour : hour + 12;
  4703. } else if (meridiem === 'સાંજ') {
  4704. return hour + 12;
  4705. }
  4706. },
  4707. meridiem: function (hour, minute, isLower) {
  4708. if (hour < 4) {
  4709. return 'રાત';
  4710. } else if (hour < 10) {
  4711. return 'સવાર';
  4712. } else if (hour < 17) {
  4713. return 'બપોર';
  4714. } else if (hour < 20) {
  4715. return 'સાંજ';
  4716. } else {
  4717. return 'રાત';
  4718. }
  4719. },
  4720. week: {
  4721. dow: 0, // Sunday is the first day of the week.
  4722. doy: 6, // The week that contains Jan 6th is the first week of the year.
  4723. },
  4724. });
  4725. //! moment.js locale configuration
  4726. moment.defineLocale('he', {
  4727. months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
  4728. '_'
  4729. ),
  4730. monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split(
  4731. '_'
  4732. ),
  4733. weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
  4734. weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
  4735. weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
  4736. longDateFormat: {
  4737. LT: 'HH:mm',
  4738. LTS: 'HH:mm:ss',
  4739. L: 'DD/MM/YYYY',
  4740. LL: 'D [ב]MMMM YYYY',
  4741. LLL: 'D [ב]MMMM YYYY HH:mm',
  4742. LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
  4743. l: 'D/M/YYYY',
  4744. ll: 'D MMM YYYY',
  4745. lll: 'D MMM YYYY HH:mm',
  4746. llll: 'ddd, D MMM YYYY HH:mm',
  4747. },
  4748. calendar: {
  4749. sameDay: '[היום ב־]LT',
  4750. nextDay: '[מחר ב־]LT',
  4751. nextWeek: 'dddd [בשעה] LT',
  4752. lastDay: '[אתמול ב־]LT',
  4753. lastWeek: '[ביום] dddd [האחרון בשעה] LT',
  4754. sameElse: 'L',
  4755. },
  4756. relativeTime: {
  4757. future: 'בעוד %s',
  4758. past: 'לפני %s',
  4759. s: 'מספר שניות',
  4760. ss: '%d שניות',
  4761. m: 'דקה',
  4762. mm: '%d דקות',
  4763. h: 'שעה',
  4764. hh: function (number) {
  4765. if (number === 2) {
  4766. return 'שעתיים';
  4767. }
  4768. return number + ' שעות';
  4769. },
  4770. d: 'יום',
  4771. dd: function (number) {
  4772. if (number === 2) {
  4773. return 'יומיים';
  4774. }
  4775. return number + ' ימים';
  4776. },
  4777. M: 'חודש',
  4778. MM: function (number) {
  4779. if (number === 2) {
  4780. return 'חודשיים';
  4781. }
  4782. return number + ' חודשים';
  4783. },
  4784. y: 'שנה',
  4785. yy: function (number) {
  4786. if (number === 2) {
  4787. return 'שנתיים';
  4788. } else if (number % 10 === 0 && number !== 10) {
  4789. return number + ' שנה';
  4790. }
  4791. return number + ' שנים';
  4792. },
  4793. },
  4794. meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
  4795. isPM: function (input) {
  4796. return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
  4797. },
  4798. meridiem: function (hour, minute, isLower) {
  4799. if (hour < 5) {
  4800. return 'לפנות בוקר';
  4801. } else if (hour < 10) {
  4802. return 'בבוקר';
  4803. } else if (hour < 12) {
  4804. return isLower ? 'לפנה"צ' : 'לפני הצהריים';
  4805. } else if (hour < 18) {
  4806. return isLower ? 'אחה"צ' : 'אחרי הצהריים';
  4807. } else {
  4808. return 'בערב';
  4809. }
  4810. },
  4811. });
  4812. //! moment.js locale configuration
  4813. var symbolMap$7 = {
  4814. '1': '१',
  4815. '2': '२',
  4816. '3': '३',
  4817. '4': '४',
  4818. '5': '५',
  4819. '6': '६',
  4820. '7': '७',
  4821. '8': '८',
  4822. '9': '९',
  4823. '0': '०',
  4824. },
  4825. numberMap$6 = {
  4826. '१': '1',
  4827. '२': '2',
  4828. '३': '3',
  4829. '४': '4',
  4830. '५': '5',
  4831. '६': '6',
  4832. '७': '7',
  4833. '८': '8',
  4834. '९': '9',
  4835. '०': '0',
  4836. };
  4837. moment.defineLocale('hi', {
  4838. months: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(
  4839. '_'
  4840. ),
  4841. monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split(
  4842. '_'
  4843. ),
  4844. monthsParseExact: true,
  4845. weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  4846. weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
  4847. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  4848. longDateFormat: {
  4849. LT: 'A h:mm बजे',
  4850. LTS: 'A h:mm:ss बजे',
  4851. L: 'DD/MM/YYYY',
  4852. LL: 'D MMMM YYYY',
  4853. LLL: 'D MMMM YYYY, A h:mm बजे',
  4854. LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',
  4855. },
  4856. calendar: {
  4857. sameDay: '[आज] LT',
  4858. nextDay: '[कल] LT',
  4859. nextWeek: 'dddd, LT',
  4860. lastDay: '[कल] LT',
  4861. lastWeek: '[पिछले] dddd, LT',
  4862. sameElse: 'L',
  4863. },
  4864. relativeTime: {
  4865. future: '%s में',
  4866. past: '%s पहले',
  4867. s: 'कुछ ही क्षण',
  4868. ss: '%d सेकंड',
  4869. m: 'एक मिनट',
  4870. mm: '%d मिनट',
  4871. h: 'एक घंटा',
  4872. hh: '%d घंटे',
  4873. d: 'एक दिन',
  4874. dd: '%d दिन',
  4875. M: 'एक महीने',
  4876. MM: '%d महीने',
  4877. y: 'एक वर्ष',
  4878. yy: '%d वर्ष',
  4879. },
  4880. preparse: function (string) {
  4881. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  4882. return numberMap$6[match];
  4883. });
  4884. },
  4885. postformat: function (string) {
  4886. return string.replace(/\d/g, function (match) {
  4887. return symbolMap$7[match];
  4888. });
  4889. },
  4890. // Hindi notation for meridiems are quite fuzzy in practice. While there exists
  4891. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
  4892. meridiemParse: /रात|सुबह|दोपहर|शाम/,
  4893. meridiemHour: function (hour, meridiem) {
  4894. if (hour === 12) {
  4895. hour = 0;
  4896. }
  4897. if (meridiem === 'रात') {
  4898. return hour < 4 ? hour : hour + 12;
  4899. } else if (meridiem === 'सुबह') {
  4900. return hour;
  4901. } else if (meridiem === 'दोपहर') {
  4902. return hour >= 10 ? hour : hour + 12;
  4903. } else if (meridiem === 'शाम') {
  4904. return hour + 12;
  4905. }
  4906. },
  4907. meridiem: function (hour, minute, isLower) {
  4908. if (hour < 4) {
  4909. return 'रात';
  4910. } else if (hour < 10) {
  4911. return 'सुबह';
  4912. } else if (hour < 17) {
  4913. return 'दोपहर';
  4914. } else if (hour < 20) {
  4915. return 'शाम';
  4916. } else {
  4917. return 'रात';
  4918. }
  4919. },
  4920. week: {
  4921. dow: 0, // Sunday is the first day of the week.
  4922. doy: 6, // The week that contains Jan 6th is the first week of the year.
  4923. },
  4924. });
  4925. //! moment.js locale configuration
  4926. function translate$3(number, withoutSuffix, key) {
  4927. var result = number + ' ';
  4928. switch (key) {
  4929. case 'ss':
  4930. if (number === 1) {
  4931. result += 'sekunda';
  4932. } else if (number === 2 || number === 3 || number === 4) {
  4933. result += 'sekunde';
  4934. } else {
  4935. result += 'sekundi';
  4936. }
  4937. return result;
  4938. case 'm':
  4939. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  4940. case 'mm':
  4941. if (number === 1) {
  4942. result += 'minuta';
  4943. } else if (number === 2 || number === 3 || number === 4) {
  4944. result += 'minute';
  4945. } else {
  4946. result += 'minuta';
  4947. }
  4948. return result;
  4949. case 'h':
  4950. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  4951. case 'hh':
  4952. if (number === 1) {
  4953. result += 'sat';
  4954. } else if (number === 2 || number === 3 || number === 4) {
  4955. result += 'sata';
  4956. } else {
  4957. result += 'sati';
  4958. }
  4959. return result;
  4960. case 'dd':
  4961. if (number === 1) {
  4962. result += 'dan';
  4963. } else {
  4964. result += 'dana';
  4965. }
  4966. return result;
  4967. case 'MM':
  4968. if (number === 1) {
  4969. result += 'mjesec';
  4970. } else if (number === 2 || number === 3 || number === 4) {
  4971. result += 'mjeseca';
  4972. } else {
  4973. result += 'mjeseci';
  4974. }
  4975. return result;
  4976. case 'yy':
  4977. if (number === 1) {
  4978. result += 'godina';
  4979. } else if (number === 2 || number === 3 || number === 4) {
  4980. result += 'godine';
  4981. } else {
  4982. result += 'godina';
  4983. }
  4984. return result;
  4985. }
  4986. }
  4987. moment.defineLocale('hr', {
  4988. months: {
  4989. format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(
  4990. '_'
  4991. ),
  4992. standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(
  4993. '_'
  4994. ),
  4995. },
  4996. monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(
  4997. '_'
  4998. ),
  4999. monthsParseExact: true,
  5000. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  5001. '_'
  5002. ),
  5003. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  5004. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  5005. weekdaysParseExact: true,
  5006. longDateFormat: {
  5007. LT: 'H:mm',
  5008. LTS: 'H:mm:ss',
  5009. L: 'DD.MM.YYYY',
  5010. LL: 'Do MMMM YYYY',
  5011. LLL: 'Do MMMM YYYY H:mm',
  5012. LLLL: 'dddd, Do MMMM YYYY H:mm',
  5013. },
  5014. calendar: {
  5015. sameDay: '[danas u] LT',
  5016. nextDay: '[sutra u] LT',
  5017. nextWeek: function () {
  5018. switch (this.day()) {
  5019. case 0:
  5020. return '[u] [nedjelju] [u] LT';
  5021. case 3:
  5022. return '[u] [srijedu] [u] LT';
  5023. case 6:
  5024. return '[u] [subotu] [u] LT';
  5025. case 1:
  5026. case 2:
  5027. case 4:
  5028. case 5:
  5029. return '[u] dddd [u] LT';
  5030. }
  5031. },
  5032. lastDay: '[jučer u] LT',
  5033. lastWeek: function () {
  5034. switch (this.day()) {
  5035. case 0:
  5036. return '[prošlu] [nedjelju] [u] LT';
  5037. case 3:
  5038. return '[prošlu] [srijedu] [u] LT';
  5039. case 6:
  5040. return '[prošle] [subote] [u] LT';
  5041. case 1:
  5042. case 2:
  5043. case 4:
  5044. case 5:
  5045. return '[prošli] dddd [u] LT';
  5046. }
  5047. },
  5048. sameElse: 'L',
  5049. },
  5050. relativeTime: {
  5051. future: 'za %s',
  5052. past: 'prije %s',
  5053. s: 'par sekundi',
  5054. ss: translate$3,
  5055. m: translate$3,
  5056. mm: translate$3,
  5057. h: translate$3,
  5058. hh: translate$3,
  5059. d: 'dan',
  5060. dd: translate$3,
  5061. M: 'mjesec',
  5062. MM: translate$3,
  5063. y: 'godinu',
  5064. yy: translate$3,
  5065. },
  5066. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5067. ordinal: '%d.',
  5068. week: {
  5069. dow: 1, // Monday is the first day of the week.
  5070. doy: 7, // The week that contains Jan 7th is the first week of the year.
  5071. },
  5072. });
  5073. //! moment.js locale configuration
  5074. var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(
  5075. ' '
  5076. );
  5077. function translate$4(number, withoutSuffix, key, isFuture) {
  5078. var num = number;
  5079. switch (key) {
  5080. case 's':
  5081. return isFuture || withoutSuffix
  5082. ? 'néhány másodperc'
  5083. : 'néhány másodperce';
  5084. case 'ss':
  5085. return num + (isFuture || withoutSuffix)
  5086. ? ' másodperc'
  5087. : ' másodperce';
  5088. case 'm':
  5089. return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
  5090. case 'mm':
  5091. return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
  5092. case 'h':
  5093. return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
  5094. case 'hh':
  5095. return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
  5096. case 'd':
  5097. return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
  5098. case 'dd':
  5099. return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
  5100. case 'M':
  5101. return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  5102. case 'MM':
  5103. return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  5104. case 'y':
  5105. return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
  5106. case 'yy':
  5107. return num + (isFuture || withoutSuffix ? ' év' : ' éve');
  5108. }
  5109. return '';
  5110. }
  5111. function week(isFuture) {
  5112. return (
  5113. (isFuture ? '' : '[múlt] ') +
  5114. '[' +
  5115. weekEndings[this.day()] +
  5116. '] LT[-kor]'
  5117. );
  5118. }
  5119. moment.defineLocale('hu', {
  5120. months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(
  5121. '_'
  5122. ),
  5123. monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split(
  5124. '_'
  5125. ),
  5126. weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
  5127. weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
  5128. weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
  5129. longDateFormat: {
  5130. LT: 'H:mm',
  5131. LTS: 'H:mm:ss',
  5132. L: 'YYYY.MM.DD.',
  5133. LL: 'YYYY. MMMM D.',
  5134. LLL: 'YYYY. MMMM D. H:mm',
  5135. LLLL: 'YYYY. MMMM D., dddd H:mm',
  5136. },
  5137. meridiemParse: /de|du/i,
  5138. isPM: function (input) {
  5139. return input.charAt(1).toLowerCase() === 'u';
  5140. },
  5141. meridiem: function (hours, minutes, isLower) {
  5142. if (hours < 12) {
  5143. return isLower === true ? 'de' : 'DE';
  5144. } else {
  5145. return isLower === true ? 'du' : 'DU';
  5146. }
  5147. },
  5148. calendar: {
  5149. sameDay: '[ma] LT[-kor]',
  5150. nextDay: '[holnap] LT[-kor]',
  5151. nextWeek: function () {
  5152. return week.call(this, true);
  5153. },
  5154. lastDay: '[tegnap] LT[-kor]',
  5155. lastWeek: function () {
  5156. return week.call(this, false);
  5157. },
  5158. sameElse: 'L',
  5159. },
  5160. relativeTime: {
  5161. future: '%s múlva',
  5162. past: '%s',
  5163. s: translate$4,
  5164. ss: translate$4,
  5165. m: translate$4,
  5166. mm: translate$4,
  5167. h: translate$4,
  5168. hh: translate$4,
  5169. d: translate$4,
  5170. dd: translate$4,
  5171. M: translate$4,
  5172. MM: translate$4,
  5173. y: translate$4,
  5174. yy: translate$4,
  5175. },
  5176. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5177. ordinal: '%d.',
  5178. week: {
  5179. dow: 1, // Monday is the first day of the week.
  5180. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5181. },
  5182. });
  5183. //! moment.js locale configuration
  5184. moment.defineLocale('hy-am', {
  5185. months: {
  5186. format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(
  5187. '_'
  5188. ),
  5189. standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(
  5190. '_'
  5191. ),
  5192. },
  5193. monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
  5194. weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(
  5195. '_'
  5196. ),
  5197. weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  5198. weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  5199. longDateFormat: {
  5200. LT: 'HH:mm',
  5201. LTS: 'HH:mm:ss',
  5202. L: 'DD.MM.YYYY',
  5203. LL: 'D MMMM YYYY թ.',
  5204. LLL: 'D MMMM YYYY թ., HH:mm',
  5205. LLLL: 'dddd, D MMMM YYYY թ., HH:mm',
  5206. },
  5207. calendar: {
  5208. sameDay: '[այսօր] LT',
  5209. nextDay: '[վաղը] LT',
  5210. lastDay: '[երեկ] LT',
  5211. nextWeek: function () {
  5212. return 'dddd [օրը ժամը] LT';
  5213. },
  5214. lastWeek: function () {
  5215. return '[անցած] dddd [օրը ժամը] LT';
  5216. },
  5217. sameElse: 'L',
  5218. },
  5219. relativeTime: {
  5220. future: '%s հետո',
  5221. past: '%s առաջ',
  5222. s: 'մի քանի վայրկյան',
  5223. ss: '%d վայրկյան',
  5224. m: 'րոպե',
  5225. mm: '%d րոպե',
  5226. h: 'ժամ',
  5227. hh: '%d ժամ',
  5228. d: 'օր',
  5229. dd: '%d օր',
  5230. M: 'ամիս',
  5231. MM: '%d ամիս',
  5232. y: 'տարի',
  5233. yy: '%d տարի',
  5234. },
  5235. meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
  5236. isPM: function (input) {
  5237. return /^(ցերեկվա|երեկոյան)$/.test(input);
  5238. },
  5239. meridiem: function (hour) {
  5240. if (hour < 4) {
  5241. return 'գիշերվա';
  5242. } else if (hour < 12) {
  5243. return 'առավոտվա';
  5244. } else if (hour < 17) {
  5245. return 'ցերեկվա';
  5246. } else {
  5247. return 'երեկոյան';
  5248. }
  5249. },
  5250. dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
  5251. ordinal: function (number, period) {
  5252. switch (period) {
  5253. case 'DDD':
  5254. case 'w':
  5255. case 'W':
  5256. case 'DDDo':
  5257. if (number === 1) {
  5258. return number + '-ին';
  5259. }
  5260. return number + '-րդ';
  5261. default:
  5262. return number;
  5263. }
  5264. },
  5265. week: {
  5266. dow: 1, // Monday is the first day of the week.
  5267. doy: 7, // The week that contains Jan 7th is the first week of the year.
  5268. },
  5269. });
  5270. //! moment.js locale configuration
  5271. moment.defineLocale('id', {
  5272. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(
  5273. '_'
  5274. ),
  5275. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
  5276. weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
  5277. weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
  5278. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
  5279. longDateFormat: {
  5280. LT: 'HH.mm',
  5281. LTS: 'HH.mm.ss',
  5282. L: 'DD/MM/YYYY',
  5283. LL: 'D MMMM YYYY',
  5284. LLL: 'D MMMM YYYY [pukul] HH.mm',
  5285. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  5286. },
  5287. meridiemParse: /pagi|siang|sore|malam/,
  5288. meridiemHour: function (hour, meridiem) {
  5289. if (hour === 12) {
  5290. hour = 0;
  5291. }
  5292. if (meridiem === 'pagi') {
  5293. return hour;
  5294. } else if (meridiem === 'siang') {
  5295. return hour >= 11 ? hour : hour + 12;
  5296. } else if (meridiem === 'sore' || meridiem === 'malam') {
  5297. return hour + 12;
  5298. }
  5299. },
  5300. meridiem: function (hours, minutes, isLower) {
  5301. if (hours < 11) {
  5302. return 'pagi';
  5303. } else if (hours < 15) {
  5304. return 'siang';
  5305. } else if (hours < 19) {
  5306. return 'sore';
  5307. } else {
  5308. return 'malam';
  5309. }
  5310. },
  5311. calendar: {
  5312. sameDay: '[Hari ini pukul] LT',
  5313. nextDay: '[Besok pukul] LT',
  5314. nextWeek: 'dddd [pukul] LT',
  5315. lastDay: '[Kemarin pukul] LT',
  5316. lastWeek: 'dddd [lalu pukul] LT',
  5317. sameElse: 'L',
  5318. },
  5319. relativeTime: {
  5320. future: 'dalam %s',
  5321. past: '%s yang lalu',
  5322. s: 'beberapa detik',
  5323. ss: '%d detik',
  5324. m: 'semenit',
  5325. mm: '%d menit',
  5326. h: 'sejam',
  5327. hh: '%d jam',
  5328. d: 'sehari',
  5329. dd: '%d hari',
  5330. M: 'sebulan',
  5331. MM: '%d bulan',
  5332. y: 'setahun',
  5333. yy: '%d tahun',
  5334. },
  5335. week: {
  5336. dow: 0, // Sunday is the first day of the week.
  5337. doy: 6, // The week that contains Jan 6th is the first week of the year.
  5338. },
  5339. });
  5340. //! moment.js locale configuration
  5341. function plural$2(n) {
  5342. if (n % 100 === 11) {
  5343. return true;
  5344. } else if (n % 10 === 1) {
  5345. return false;
  5346. }
  5347. return true;
  5348. }
  5349. function translate$5(number, withoutSuffix, key, isFuture) {
  5350. var result = number + ' ';
  5351. switch (key) {
  5352. case 's':
  5353. return withoutSuffix || isFuture
  5354. ? 'nokkrar sekúndur'
  5355. : 'nokkrum sekúndum';
  5356. case 'ss':
  5357. if (plural$2(number)) {
  5358. return (
  5359. result +
  5360. (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')
  5361. );
  5362. }
  5363. return result + 'sekúnda';
  5364. case 'm':
  5365. return withoutSuffix ? 'mínúta' : 'mínútu';
  5366. case 'mm':
  5367. if (plural$2(number)) {
  5368. return (
  5369. result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')
  5370. );
  5371. } else if (withoutSuffix) {
  5372. return result + 'mínúta';
  5373. }
  5374. return result + 'mínútu';
  5375. case 'hh':
  5376. if (plural$2(number)) {
  5377. return (
  5378. result +
  5379. (withoutSuffix || isFuture
  5380. ? 'klukkustundir'
  5381. : 'klukkustundum')
  5382. );
  5383. }
  5384. return result + 'klukkustund';
  5385. case 'd':
  5386. if (withoutSuffix) {
  5387. return 'dagur';
  5388. }
  5389. return isFuture ? 'dag' : 'degi';
  5390. case 'dd':
  5391. if (plural$2(number)) {
  5392. if (withoutSuffix) {
  5393. return result + 'dagar';
  5394. }
  5395. return result + (isFuture ? 'daga' : 'dögum');
  5396. } else if (withoutSuffix) {
  5397. return result + 'dagur';
  5398. }
  5399. return result + (isFuture ? 'dag' : 'degi');
  5400. case 'M':
  5401. if (withoutSuffix) {
  5402. return 'mánuður';
  5403. }
  5404. return isFuture ? 'mánuð' : 'mánuði';
  5405. case 'MM':
  5406. if (plural$2(number)) {
  5407. if (withoutSuffix) {
  5408. return result + 'mánuðir';
  5409. }
  5410. return result + (isFuture ? 'mánuði' : 'mánuðum');
  5411. } else if (withoutSuffix) {
  5412. return result + 'mánuður';
  5413. }
  5414. return result + (isFuture ? 'mánuð' : 'mánuði');
  5415. case 'y':
  5416. return withoutSuffix || isFuture ? 'ár' : 'ári';
  5417. case 'yy':
  5418. if (plural$2(number)) {
  5419. return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
  5420. }
  5421. return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
  5422. }
  5423. }
  5424. moment.defineLocale('is', {
  5425. months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(
  5426. '_'
  5427. ),
  5428. monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
  5429. weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(
  5430. '_'
  5431. ),
  5432. weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
  5433. weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
  5434. longDateFormat: {
  5435. LT: 'H:mm',
  5436. LTS: 'H:mm:ss',
  5437. L: 'DD.MM.YYYY',
  5438. LL: 'D. MMMM YYYY',
  5439. LLL: 'D. MMMM YYYY [kl.] H:mm',
  5440. LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',
  5441. },
  5442. calendar: {
  5443. sameDay: '[í dag kl.] LT',
  5444. nextDay: '[á morgun kl.] LT',
  5445. nextWeek: 'dddd [kl.] LT',
  5446. lastDay: '[í gær kl.] LT',
  5447. lastWeek: '[síðasta] dddd [kl.] LT',
  5448. sameElse: 'L',
  5449. },
  5450. relativeTime: {
  5451. future: 'eftir %s',
  5452. past: 'fyrir %s síðan',
  5453. s: translate$5,
  5454. ss: translate$5,
  5455. m: translate$5,
  5456. mm: translate$5,
  5457. h: 'klukkustund',
  5458. hh: translate$5,
  5459. d: translate$5,
  5460. dd: translate$5,
  5461. M: translate$5,
  5462. MM: translate$5,
  5463. y: translate$5,
  5464. yy: translate$5,
  5465. },
  5466. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5467. ordinal: '%d.',
  5468. week: {
  5469. dow: 1, // Monday is the first day of the week.
  5470. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5471. },
  5472. });
  5473. //! moment.js locale configuration
  5474. moment.defineLocale('it-ch', {
  5475. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
  5476. '_'
  5477. ),
  5478. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  5479. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
  5480. '_'
  5481. ),
  5482. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  5483. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  5484. longDateFormat: {
  5485. LT: 'HH:mm',
  5486. LTS: 'HH:mm:ss',
  5487. L: 'DD.MM.YYYY',
  5488. LL: 'D MMMM YYYY',
  5489. LLL: 'D MMMM YYYY HH:mm',
  5490. LLLL: 'dddd D MMMM YYYY HH:mm',
  5491. },
  5492. calendar: {
  5493. sameDay: '[Oggi alle] LT',
  5494. nextDay: '[Domani alle] LT',
  5495. nextWeek: 'dddd [alle] LT',
  5496. lastDay: '[Ieri alle] LT',
  5497. lastWeek: function () {
  5498. switch (this.day()) {
  5499. case 0:
  5500. return '[la scorsa] dddd [alle] LT';
  5501. default:
  5502. return '[lo scorso] dddd [alle] LT';
  5503. }
  5504. },
  5505. sameElse: 'L',
  5506. },
  5507. relativeTime: {
  5508. future: function (s) {
  5509. return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
  5510. },
  5511. past: '%s fa',
  5512. s: 'alcuni secondi',
  5513. ss: '%d secondi',
  5514. m: 'un minuto',
  5515. mm: '%d minuti',
  5516. h: "un'ora",
  5517. hh: '%d ore',
  5518. d: 'un giorno',
  5519. dd: '%d giorni',
  5520. M: 'un mese',
  5521. MM: '%d mesi',
  5522. y: 'un anno',
  5523. yy: '%d anni',
  5524. },
  5525. dayOfMonthOrdinalParse: /\d{1,2}º/,
  5526. ordinal: '%dº',
  5527. week: {
  5528. dow: 1, // Monday is the first day of the week.
  5529. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5530. },
  5531. });
  5532. //! moment.js locale configuration
  5533. moment.defineLocale('it', {
  5534. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
  5535. '_'
  5536. ),
  5537. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  5538. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
  5539. '_'
  5540. ),
  5541. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  5542. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  5543. longDateFormat: {
  5544. LT: 'HH:mm',
  5545. LTS: 'HH:mm:ss',
  5546. L: 'DD/MM/YYYY',
  5547. LL: 'D MMMM YYYY',
  5548. LLL: 'D MMMM YYYY HH:mm',
  5549. LLLL: 'dddd D MMMM YYYY HH:mm',
  5550. },
  5551. calendar: {
  5552. sameDay: function () {
  5553. return (
  5554. '[Oggi a' +
  5555. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5556. ']LT'
  5557. );
  5558. },
  5559. nextDay: function () {
  5560. return (
  5561. '[Domani a' +
  5562. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5563. ']LT'
  5564. );
  5565. },
  5566. nextWeek: function () {
  5567. return (
  5568. 'dddd [a' +
  5569. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5570. ']LT'
  5571. );
  5572. },
  5573. lastDay: function () {
  5574. return (
  5575. '[Ieri a' +
  5576. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5577. ']LT'
  5578. );
  5579. },
  5580. lastWeek: function () {
  5581. switch (this.day()) {
  5582. case 0:
  5583. return (
  5584. '[La scorsa] dddd [a' +
  5585. (this.hours() > 1
  5586. ? 'lle '
  5587. : this.hours() === 0
  5588. ? ' '
  5589. : "ll'") +
  5590. ']LT'
  5591. );
  5592. default:
  5593. return (
  5594. '[Lo scorso] dddd [a' +
  5595. (this.hours() > 1
  5596. ? 'lle '
  5597. : this.hours() === 0
  5598. ? ' '
  5599. : "ll'") +
  5600. ']LT'
  5601. );
  5602. }
  5603. },
  5604. sameElse: 'L',
  5605. },
  5606. relativeTime: {
  5607. future: 'tra %s',
  5608. past: '%s fa',
  5609. s: 'alcuni secondi',
  5610. ss: '%d secondi',
  5611. m: 'un minuto',
  5612. mm: '%d minuti',
  5613. h: "un'ora",
  5614. hh: '%d ore',
  5615. d: 'un giorno',
  5616. dd: '%d giorni',
  5617. M: 'un mese',
  5618. MM: '%d mesi',
  5619. y: 'un anno',
  5620. yy: '%d anni',
  5621. },
  5622. dayOfMonthOrdinalParse: /\d{1,2}º/,
  5623. ordinal: '%dº',
  5624. week: {
  5625. dow: 1, // Monday is the first day of the week.
  5626. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5627. },
  5628. });
  5629. //! moment.js locale configuration
  5630. moment.defineLocale('ja', {
  5631. eras: [
  5632. {
  5633. since: '2019-05-01',
  5634. offset: 1,
  5635. name: '令和',
  5636. narrow: '㋿',
  5637. abbr: 'R',
  5638. },
  5639. {
  5640. since: '1989-01-08',
  5641. until: '2019-04-30',
  5642. offset: 1,
  5643. name: '平成',
  5644. narrow: '㍻',
  5645. abbr: 'H',
  5646. },
  5647. {
  5648. since: '1926-12-25',
  5649. until: '1989-01-07',
  5650. offset: 1,
  5651. name: '昭和',
  5652. narrow: '㍼',
  5653. abbr: 'S',
  5654. },
  5655. {
  5656. since: '1912-07-30',
  5657. until: '1926-12-24',
  5658. offset: 1,
  5659. name: '大正',
  5660. narrow: '㍽',
  5661. abbr: 'T',
  5662. },
  5663. {
  5664. since: '1873-01-01',
  5665. until: '1912-07-29',
  5666. offset: 6,
  5667. name: '明治',
  5668. narrow: '㍾',
  5669. abbr: 'M',
  5670. },
  5671. {
  5672. since: '0001-01-01',
  5673. until: '1873-12-31',
  5674. offset: 1,
  5675. name: '西暦',
  5676. narrow: 'AD',
  5677. abbr: 'AD',
  5678. },
  5679. {
  5680. since: '0000-12-31',
  5681. until: -Infinity,
  5682. offset: 1,
  5683. name: '紀元前',
  5684. narrow: 'BC',
  5685. abbr: 'BC',
  5686. },
  5687. ],
  5688. eraYearOrdinalRegex: /(元|\d+)年/,
  5689. eraYearOrdinalParse: function (input, match) {
  5690. return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);
  5691. },
  5692. months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  5693. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  5694. '_'
  5695. ),
  5696. weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
  5697. weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
  5698. weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
  5699. longDateFormat: {
  5700. LT: 'HH:mm',
  5701. LTS: 'HH:mm:ss',
  5702. L: 'YYYY/MM/DD',
  5703. LL: 'YYYY年M月D日',
  5704. LLL: 'YYYY年M月D日 HH:mm',
  5705. LLLL: 'YYYY年M月D日 dddd HH:mm',
  5706. l: 'YYYY/MM/DD',
  5707. ll: 'YYYY年M月D日',
  5708. lll: 'YYYY年M月D日 HH:mm',
  5709. llll: 'YYYY年M月D日(ddd) HH:mm',
  5710. },
  5711. meridiemParse: /午前|午後/i,
  5712. isPM: function (input) {
  5713. return input === '午後';
  5714. },
  5715. meridiem: function (hour, minute, isLower) {
  5716. if (hour < 12) {
  5717. return '午前';
  5718. } else {
  5719. return '午後';
  5720. }
  5721. },
  5722. calendar: {
  5723. sameDay: '[今日] LT',
  5724. nextDay: '[明日] LT',
  5725. nextWeek: function (now) {
  5726. if (now.week() !== this.week()) {
  5727. return '[来週]dddd LT';
  5728. } else {
  5729. return 'dddd LT';
  5730. }
  5731. },
  5732. lastDay: '[昨日] LT',
  5733. lastWeek: function (now) {
  5734. if (this.week() !== now.week()) {
  5735. return '[先週]dddd LT';
  5736. } else {
  5737. return 'dddd LT';
  5738. }
  5739. },
  5740. sameElse: 'L',
  5741. },
  5742. dayOfMonthOrdinalParse: /\d{1,2}日/,
  5743. ordinal: function (number, period) {
  5744. switch (period) {
  5745. case 'y':
  5746. return number === 1 ? '元年' : number + '年';
  5747. case 'd':
  5748. case 'D':
  5749. case 'DDD':
  5750. return number + '日';
  5751. default:
  5752. return number;
  5753. }
  5754. },
  5755. relativeTime: {
  5756. future: '%s後',
  5757. past: '%s前',
  5758. s: '数秒',
  5759. ss: '%d秒',
  5760. m: '1分',
  5761. mm: '%d分',
  5762. h: '1時間',
  5763. hh: '%d時間',
  5764. d: '1日',
  5765. dd: '%d日',
  5766. M: '1ヶ月',
  5767. MM: '%dヶ月',
  5768. y: '1年',
  5769. yy: '%d年',
  5770. },
  5771. });
  5772. //! moment.js locale configuration
  5773. moment.defineLocale('jv', {
  5774. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(
  5775. '_'
  5776. ),
  5777. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
  5778. weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
  5779. weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
  5780. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
  5781. longDateFormat: {
  5782. LT: 'HH.mm',
  5783. LTS: 'HH.mm.ss',
  5784. L: 'DD/MM/YYYY',
  5785. LL: 'D MMMM YYYY',
  5786. LLL: 'D MMMM YYYY [pukul] HH.mm',
  5787. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  5788. },
  5789. meridiemParse: /enjing|siyang|sonten|ndalu/,
  5790. meridiemHour: function (hour, meridiem) {
  5791. if (hour === 12) {
  5792. hour = 0;
  5793. }
  5794. if (meridiem === 'enjing') {
  5795. return hour;
  5796. } else if (meridiem === 'siyang') {
  5797. return hour >= 11 ? hour : hour + 12;
  5798. } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
  5799. return hour + 12;
  5800. }
  5801. },
  5802. meridiem: function (hours, minutes, isLower) {
  5803. if (hours < 11) {
  5804. return 'enjing';
  5805. } else if (hours < 15) {
  5806. return 'siyang';
  5807. } else if (hours < 19) {
  5808. return 'sonten';
  5809. } else {
  5810. return 'ndalu';
  5811. }
  5812. },
  5813. calendar: {
  5814. sameDay: '[Dinten puniko pukul] LT',
  5815. nextDay: '[Mbenjang pukul] LT',
  5816. nextWeek: 'dddd [pukul] LT',
  5817. lastDay: '[Kala wingi pukul] LT',
  5818. lastWeek: 'dddd [kepengker pukul] LT',
  5819. sameElse: 'L',
  5820. },
  5821. relativeTime: {
  5822. future: 'wonten ing %s',
  5823. past: '%s ingkang kepengker',
  5824. s: 'sawetawis detik',
  5825. ss: '%d detik',
  5826. m: 'setunggal menit',
  5827. mm: '%d menit',
  5828. h: 'setunggal jam',
  5829. hh: '%d jam',
  5830. d: 'sedinten',
  5831. dd: '%d dinten',
  5832. M: 'sewulan',
  5833. MM: '%d wulan',
  5834. y: 'setaun',
  5835. yy: '%d taun',
  5836. },
  5837. week: {
  5838. dow: 1, // Monday is the first day of the week.
  5839. doy: 7, // The week that contains Jan 7th is the first week of the year.
  5840. },
  5841. });
  5842. //! moment.js locale configuration
  5843. moment.defineLocale('ka', {
  5844. months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(
  5845. '_'
  5846. ),
  5847. monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
  5848. weekdays: {
  5849. standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(
  5850. '_'
  5851. ),
  5852. format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(
  5853. '_'
  5854. ),
  5855. isFormat: /(წინა|შემდეგ)/,
  5856. },
  5857. weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
  5858. weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
  5859. longDateFormat: {
  5860. LT: 'HH:mm',
  5861. LTS: 'HH:mm:ss',
  5862. L: 'DD/MM/YYYY',
  5863. LL: 'D MMMM YYYY',
  5864. LLL: 'D MMMM YYYY HH:mm',
  5865. LLLL: 'dddd, D MMMM YYYY HH:mm',
  5866. },
  5867. calendar: {
  5868. sameDay: '[დღეს] LT[-ზე]',
  5869. nextDay: '[ხვალ] LT[-ზე]',
  5870. lastDay: '[გუშინ] LT[-ზე]',
  5871. nextWeek: '[შემდეგ] dddd LT[-ზე]',
  5872. lastWeek: '[წინა] dddd LT-ზე',
  5873. sameElse: 'L',
  5874. },
  5875. relativeTime: {
  5876. future: function (s) {
  5877. return s.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, function (
  5878. $0,
  5879. $1,
  5880. $2
  5881. ) {
  5882. return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';
  5883. });
  5884. },
  5885. past: function (s) {
  5886. if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {
  5887. return s.replace(/(ი|ე)$/, 'ის წინ');
  5888. }
  5889. if (/წელი/.test(s)) {
  5890. return s.replace(/წელი$/, 'წლის წინ');
  5891. }
  5892. return s;
  5893. },
  5894. s: 'რამდენიმე წამი',
  5895. ss: '%d წამი',
  5896. m: 'წუთი',
  5897. mm: '%d წუთი',
  5898. h: 'საათი',
  5899. hh: '%d საათი',
  5900. d: 'დღე',
  5901. dd: '%d დღე',
  5902. M: 'თვე',
  5903. MM: '%d თვე',
  5904. y: 'წელი',
  5905. yy: '%d წელი',
  5906. },
  5907. dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
  5908. ordinal: function (number) {
  5909. if (number === 0) {
  5910. return number;
  5911. }
  5912. if (number === 1) {
  5913. return number + '-ლი';
  5914. }
  5915. if (
  5916. number < 20 ||
  5917. (number <= 100 && number % 20 === 0) ||
  5918. number % 100 === 0
  5919. ) {
  5920. return 'მე-' + number;
  5921. }
  5922. return number + '-ე';
  5923. },
  5924. week: {
  5925. dow: 1,
  5926. doy: 7,
  5927. },
  5928. });
  5929. //! moment.js locale configuration
  5930. var suffixes$1 = {
  5931. 0: '-ші',
  5932. 1: '-ші',
  5933. 2: '-ші',
  5934. 3: '-ші',
  5935. 4: '-ші',
  5936. 5: '-ші',
  5937. 6: '-шы',
  5938. 7: '-ші',
  5939. 8: '-ші',
  5940. 9: '-шы',
  5941. 10: '-шы',
  5942. 20: '-шы',
  5943. 30: '-шы',
  5944. 40: '-шы',
  5945. 50: '-ші',
  5946. 60: '-шы',
  5947. 70: '-ші',
  5948. 80: '-ші',
  5949. 90: '-шы',
  5950. 100: '-ші',
  5951. };
  5952. moment.defineLocale('kk', {
  5953. months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(
  5954. '_'
  5955. ),
  5956. monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
  5957. weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(
  5958. '_'
  5959. ),
  5960. weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
  5961. weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
  5962. longDateFormat: {
  5963. LT: 'HH:mm',
  5964. LTS: 'HH:mm:ss',
  5965. L: 'DD.MM.YYYY',
  5966. LL: 'D MMMM YYYY',
  5967. LLL: 'D MMMM YYYY HH:mm',
  5968. LLLL: 'dddd, D MMMM YYYY HH:mm',
  5969. },
  5970. calendar: {
  5971. sameDay: '[Бүгін сағат] LT',
  5972. nextDay: '[Ертең сағат] LT',
  5973. nextWeek: 'dddd [сағат] LT',
  5974. lastDay: '[Кеше сағат] LT',
  5975. lastWeek: '[Өткен аптаның] dddd [сағат] LT',
  5976. sameElse: 'L',
  5977. },
  5978. relativeTime: {
  5979. future: '%s ішінде',
  5980. past: '%s бұрын',
  5981. s: 'бірнеше секунд',
  5982. ss: '%d секунд',
  5983. m: 'бір минут',
  5984. mm: '%d минут',
  5985. h: 'бір сағат',
  5986. hh: '%d сағат',
  5987. d: 'бір күн',
  5988. dd: '%d күн',
  5989. M: 'бір ай',
  5990. MM: '%d ай',
  5991. y: 'бір жыл',
  5992. yy: '%d жыл',
  5993. },
  5994. dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
  5995. ordinal: function (number) {
  5996. var a = number % 10,
  5997. b = number >= 100 ? 100 : null;
  5998. return number + (suffixes$1[number] || suffixes$1[a] || suffixes$1[b]);
  5999. },
  6000. week: {
  6001. dow: 1, // Monday is the first day of the week.
  6002. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6003. },
  6004. });
  6005. //! moment.js locale configuration
  6006. var symbolMap$8 = {
  6007. '1': '១',
  6008. '2': '២',
  6009. '3': '៣',
  6010. '4': '៤',
  6011. '5': '៥',
  6012. '6': '៦',
  6013. '7': '៧',
  6014. '8': '៨',
  6015. '9': '៩',
  6016. '0': '០',
  6017. },
  6018. numberMap$7 = {
  6019. '១': '1',
  6020. '២': '2',
  6021. '៣': '3',
  6022. '៤': '4',
  6023. '៥': '5',
  6024. '៦': '6',
  6025. '៧': '7',
  6026. '៨': '8',
  6027. '៩': '9',
  6028. '០': '0',
  6029. };
  6030. moment.defineLocale('km', {
  6031. months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
  6032. '_'
  6033. ),
  6034. monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
  6035. '_'
  6036. ),
  6037. weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
  6038. weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  6039. weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  6040. weekdaysParseExact: true,
  6041. longDateFormat: {
  6042. LT: 'HH:mm',
  6043. LTS: 'HH:mm:ss',
  6044. L: 'DD/MM/YYYY',
  6045. LL: 'D MMMM YYYY',
  6046. LLL: 'D MMMM YYYY HH:mm',
  6047. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6048. },
  6049. meridiemParse: /ព្រឹក|ល្ងាច/,
  6050. isPM: function (input) {
  6051. return input === 'ល្ងាច';
  6052. },
  6053. meridiem: function (hour, minute, isLower) {
  6054. if (hour < 12) {
  6055. return 'ព្រឹក';
  6056. } else {
  6057. return 'ល្ងាច';
  6058. }
  6059. },
  6060. calendar: {
  6061. sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
  6062. nextDay: '[ស្អែក ម៉ោង] LT',
  6063. nextWeek: 'dddd [ម៉ោង] LT',
  6064. lastDay: '[ម្សិលមិញ ម៉ោង] LT',
  6065. lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
  6066. sameElse: 'L',
  6067. },
  6068. relativeTime: {
  6069. future: '%sទៀត',
  6070. past: '%sមុន',
  6071. s: 'ប៉ុន្មានវិនាទី',
  6072. ss: '%d វិនាទី',
  6073. m: 'មួយនាទី',
  6074. mm: '%d នាទី',
  6075. h: 'មួយម៉ោង',
  6076. hh: '%d ម៉ោង',
  6077. d: 'មួយថ្ងៃ',
  6078. dd: '%d ថ្ងៃ',
  6079. M: 'មួយខែ',
  6080. MM: '%d ខែ',
  6081. y: 'មួយឆ្នាំ',
  6082. yy: '%d ឆ្នាំ',
  6083. },
  6084. dayOfMonthOrdinalParse: /ទី\d{1,2}/,
  6085. ordinal: 'ទី%d',
  6086. preparse: function (string) {
  6087. return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
  6088. return numberMap$7[match];
  6089. });
  6090. },
  6091. postformat: function (string) {
  6092. return string.replace(/\d/g, function (match) {
  6093. return symbolMap$8[match];
  6094. });
  6095. },
  6096. week: {
  6097. dow: 1, // Monday is the first day of the week.
  6098. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6099. },
  6100. });
  6101. //! moment.js locale configuration
  6102. var symbolMap$9 = {
  6103. '1': '೧',
  6104. '2': '೨',
  6105. '3': '೩',
  6106. '4': '೪',
  6107. '5': '೫',
  6108. '6': '೬',
  6109. '7': '೭',
  6110. '8': '೮',
  6111. '9': '೯',
  6112. '0': '೦',
  6113. },
  6114. numberMap$8 = {
  6115. '೧': '1',
  6116. '೨': '2',
  6117. '೩': '3',
  6118. '೪': '4',
  6119. '೫': '5',
  6120. '೬': '6',
  6121. '೭': '7',
  6122. '೮': '8',
  6123. '೯': '9',
  6124. '೦': '0',
  6125. };
  6126. moment.defineLocale('kn', {
  6127. months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(
  6128. '_'
  6129. ),
  6130. monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(
  6131. '_'
  6132. ),
  6133. monthsParseExact: true,
  6134. weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(
  6135. '_'
  6136. ),
  6137. weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
  6138. weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
  6139. longDateFormat: {
  6140. LT: 'A h:mm',
  6141. LTS: 'A h:mm:ss',
  6142. L: 'DD/MM/YYYY',
  6143. LL: 'D MMMM YYYY',
  6144. LLL: 'D MMMM YYYY, A h:mm',
  6145. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  6146. },
  6147. calendar: {
  6148. sameDay: '[ಇಂದು] LT',
  6149. nextDay: '[ನಾಳೆ] LT',
  6150. nextWeek: 'dddd, LT',
  6151. lastDay: '[ನಿನ್ನೆ] LT',
  6152. lastWeek: '[ಕೊನೆಯ] dddd, LT',
  6153. sameElse: 'L',
  6154. },
  6155. relativeTime: {
  6156. future: '%s ನಂತರ',
  6157. past: '%s ಹಿಂದೆ',
  6158. s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
  6159. ss: '%d ಸೆಕೆಂಡುಗಳು',
  6160. m: 'ಒಂದು ನಿಮಿಷ',
  6161. mm: '%d ನಿಮಿಷ',
  6162. h: 'ಒಂದು ಗಂಟೆ',
  6163. hh: '%d ಗಂಟೆ',
  6164. d: 'ಒಂದು ದಿನ',
  6165. dd: '%d ದಿನ',
  6166. M: 'ಒಂದು ತಿಂಗಳು',
  6167. MM: '%d ತಿಂಗಳು',
  6168. y: 'ಒಂದು ವರ್ಷ',
  6169. yy: '%d ವರ್ಷ',
  6170. },
  6171. preparse: function (string) {
  6172. return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
  6173. return numberMap$8[match];
  6174. });
  6175. },
  6176. postformat: function (string) {
  6177. return string.replace(/\d/g, function (match) {
  6178. return symbolMap$9[match];
  6179. });
  6180. },
  6181. meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
  6182. meridiemHour: function (hour, meridiem) {
  6183. if (hour === 12) {
  6184. hour = 0;
  6185. }
  6186. if (meridiem === 'ರಾತ್ರಿ') {
  6187. return hour < 4 ? hour : hour + 12;
  6188. } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
  6189. return hour;
  6190. } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
  6191. return hour >= 10 ? hour : hour + 12;
  6192. } else if (meridiem === 'ಸಂಜೆ') {
  6193. return hour + 12;
  6194. }
  6195. },
  6196. meridiem: function (hour, minute, isLower) {
  6197. if (hour < 4) {
  6198. return 'ರಾತ್ರಿ';
  6199. } else if (hour < 10) {
  6200. return 'ಬೆಳಿಗ್ಗೆ';
  6201. } else if (hour < 17) {
  6202. return 'ಮಧ್ಯಾಹ್ನ';
  6203. } else if (hour < 20) {
  6204. return 'ಸಂಜೆ';
  6205. } else {
  6206. return 'ರಾತ್ರಿ';
  6207. }
  6208. },
  6209. dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
  6210. ordinal: function (number) {
  6211. return number + 'ನೇ';
  6212. },
  6213. week: {
  6214. dow: 0, // Sunday is the first day of the week.
  6215. doy: 6, // The week that contains Jan 6th is the first week of the year.
  6216. },
  6217. });
  6218. //! moment.js locale configuration
  6219. moment.defineLocale('ko', {
  6220. months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  6221. monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
  6222. '_'
  6223. ),
  6224. weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
  6225. weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
  6226. weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
  6227. longDateFormat: {
  6228. LT: 'A h:mm',
  6229. LTS: 'A h:mm:ss',
  6230. L: 'YYYY.MM.DD.',
  6231. LL: 'YYYY년 MMMM D일',
  6232. LLL: 'YYYY년 MMMM D일 A h:mm',
  6233. LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
  6234. l: 'YYYY.MM.DD.',
  6235. ll: 'YYYY년 MMMM D일',
  6236. lll: 'YYYY년 MMMM D일 A h:mm',
  6237. llll: 'YYYY년 MMMM D일 dddd A h:mm',
  6238. },
  6239. calendar: {
  6240. sameDay: '오늘 LT',
  6241. nextDay: '내일 LT',
  6242. nextWeek: 'dddd LT',
  6243. lastDay: '어제 LT',
  6244. lastWeek: '지난주 dddd LT',
  6245. sameElse: 'L',
  6246. },
  6247. relativeTime: {
  6248. future: '%s 후',
  6249. past: '%s 전',
  6250. s: '몇 초',
  6251. ss: '%d초',
  6252. m: '1분',
  6253. mm: '%d분',
  6254. h: '한 시간',
  6255. hh: '%d시간',
  6256. d: '하루',
  6257. dd: '%d일',
  6258. M: '한 달',
  6259. MM: '%d달',
  6260. y: '일 년',
  6261. yy: '%d년',
  6262. },
  6263. dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
  6264. ordinal: function (number, period) {
  6265. switch (period) {
  6266. case 'd':
  6267. case 'D':
  6268. case 'DDD':
  6269. return number + '일';
  6270. case 'M':
  6271. return number + '월';
  6272. case 'w':
  6273. case 'W':
  6274. return number + '주';
  6275. default:
  6276. return number;
  6277. }
  6278. },
  6279. meridiemParse: /오전|오후/,
  6280. isPM: function (token) {
  6281. return token === '오후';
  6282. },
  6283. meridiem: function (hour, minute, isUpper) {
  6284. return hour < 12 ? '오전' : '오후';
  6285. },
  6286. });
  6287. //! moment.js locale configuration
  6288. var symbolMap$a = {
  6289. '1': '١',
  6290. '2': '٢',
  6291. '3': '٣',
  6292. '4': '٤',
  6293. '5': '٥',
  6294. '6': '٦',
  6295. '7': '٧',
  6296. '8': '٨',
  6297. '9': '٩',
  6298. '0': '٠',
  6299. },
  6300. numberMap$9 = {
  6301. '١': '1',
  6302. '٢': '2',
  6303. '٣': '3',
  6304. '٤': '4',
  6305. '٥': '5',
  6306. '٦': '6',
  6307. '٧': '7',
  6308. '٨': '8',
  6309. '٩': '9',
  6310. '٠': '0',
  6311. },
  6312. months$7 = [
  6313. 'کانونی دووەم',
  6314. 'شوبات',
  6315. 'ئازار',
  6316. 'نیسان',
  6317. 'ئایار',
  6318. 'حوزەیران',
  6319. 'تەمموز',
  6320. 'ئاب',
  6321. 'ئەیلوول',
  6322. 'تشرینی یەكەم',
  6323. 'تشرینی دووەم',
  6324. 'كانونی یەکەم',
  6325. ];
  6326. moment.defineLocale('ku', {
  6327. months: months$7,
  6328. monthsShort: months$7,
  6329. weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split(
  6330. '_'
  6331. ),
  6332. weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split(
  6333. '_'
  6334. ),
  6335. weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
  6336. weekdaysParseExact: true,
  6337. longDateFormat: {
  6338. LT: 'HH:mm',
  6339. LTS: 'HH:mm:ss',
  6340. L: 'DD/MM/YYYY',
  6341. LL: 'D MMMM YYYY',
  6342. LLL: 'D MMMM YYYY HH:mm',
  6343. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6344. },
  6345. meridiemParse: /ئێواره‌|به‌یانی/,
  6346. isPM: function (input) {
  6347. return /ئێواره‌/.test(input);
  6348. },
  6349. meridiem: function (hour, minute, isLower) {
  6350. if (hour < 12) {
  6351. return 'به‌یانی';
  6352. } else {
  6353. return 'ئێواره‌';
  6354. }
  6355. },
  6356. calendar: {
  6357. sameDay: '[ئه‌مرۆ كاتژمێر] LT',
  6358. nextDay: '[به‌یانی كاتژمێر] LT',
  6359. nextWeek: 'dddd [كاتژمێر] LT',
  6360. lastDay: '[دوێنێ كاتژمێر] LT',
  6361. lastWeek: 'dddd [كاتژمێر] LT',
  6362. sameElse: 'L',
  6363. },
  6364. relativeTime: {
  6365. future: 'له‌ %s',
  6366. past: '%s',
  6367. s: 'چه‌ند چركه‌یه‌ك',
  6368. ss: 'چركه‌ %d',
  6369. m: 'یه‌ك خوله‌ك',
  6370. mm: '%d خوله‌ك',
  6371. h: 'یه‌ك كاتژمێر',
  6372. hh: '%d كاتژمێر',
  6373. d: 'یه‌ك ڕۆژ',
  6374. dd: '%d ڕۆژ',
  6375. M: 'یه‌ك مانگ',
  6376. MM: '%d مانگ',
  6377. y: 'یه‌ك ساڵ',
  6378. yy: '%d ساڵ',
  6379. },
  6380. preparse: function (string) {
  6381. return string
  6382. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  6383. return numberMap$9[match];
  6384. })
  6385. .replace(/،/g, ',');
  6386. },
  6387. postformat: function (string) {
  6388. return string
  6389. .replace(/\d/g, function (match) {
  6390. return symbolMap$a[match];
  6391. })
  6392. .replace(/,/g, '،');
  6393. },
  6394. week: {
  6395. dow: 6, // Saturday is the first day of the week.
  6396. doy: 12, // The week that contains Jan 12th is the first week of the year.
  6397. },
  6398. });
  6399. //! moment.js locale configuration
  6400. var suffixes$2 = {
  6401. 0: '-чү',
  6402. 1: '-чи',
  6403. 2: '-чи',
  6404. 3: '-чү',
  6405. 4: '-чү',
  6406. 5: '-чи',
  6407. 6: '-чы',
  6408. 7: '-чи',
  6409. 8: '-чи',
  6410. 9: '-чу',
  6411. 10: '-чу',
  6412. 20: '-чы',
  6413. 30: '-чу',
  6414. 40: '-чы',
  6415. 50: '-чү',
  6416. 60: '-чы',
  6417. 70: '-чи',
  6418. 80: '-чи',
  6419. 90: '-чу',
  6420. 100: '-чү',
  6421. };
  6422. moment.defineLocale('ky', {
  6423. months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
  6424. '_'
  6425. ),
  6426. monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(
  6427. '_'
  6428. ),
  6429. weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(
  6430. '_'
  6431. ),
  6432. weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
  6433. weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
  6434. longDateFormat: {
  6435. LT: 'HH:mm',
  6436. LTS: 'HH:mm:ss',
  6437. L: 'DD.MM.YYYY',
  6438. LL: 'D MMMM YYYY',
  6439. LLL: 'D MMMM YYYY HH:mm',
  6440. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6441. },
  6442. calendar: {
  6443. sameDay: '[Бүгүн саат] LT',
  6444. nextDay: '[Эртең саат] LT',
  6445. nextWeek: 'dddd [саат] LT',
  6446. lastDay: '[Кечээ саат] LT',
  6447. lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
  6448. sameElse: 'L',
  6449. },
  6450. relativeTime: {
  6451. future: '%s ичинде',
  6452. past: '%s мурун',
  6453. s: 'бирнече секунд',
  6454. ss: '%d секунд',
  6455. m: 'бир мүнөт',
  6456. mm: '%d мүнөт',
  6457. h: 'бир саат',
  6458. hh: '%d саат',
  6459. d: 'бир күн',
  6460. dd: '%d күн',
  6461. M: 'бир ай',
  6462. MM: '%d ай',
  6463. y: 'бир жыл',
  6464. yy: '%d жыл',
  6465. },
  6466. dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
  6467. ordinal: function (number) {
  6468. var a = number % 10,
  6469. b = number >= 100 ? 100 : null;
  6470. return number + (suffixes$2[number] || suffixes$2[a] || suffixes$2[b]);
  6471. },
  6472. week: {
  6473. dow: 1, // Monday is the first day of the week.
  6474. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6475. },
  6476. });
  6477. //! moment.js locale configuration
  6478. function processRelativeTime$6(number, withoutSuffix, key, isFuture) {
  6479. var format = {
  6480. m: ['eng Minutt', 'enger Minutt'],
  6481. h: ['eng Stonn', 'enger Stonn'],
  6482. d: ['een Dag', 'engem Dag'],
  6483. M: ['ee Mount', 'engem Mount'],
  6484. y: ['ee Joer', 'engem Joer'],
  6485. };
  6486. return withoutSuffix ? format[key][0] : format[key][1];
  6487. }
  6488. function processFutureTime(string) {
  6489. var number = string.substr(0, string.indexOf(' '));
  6490. if (eifelerRegelAppliesToNumber(number)) {
  6491. return 'a ' + string;
  6492. }
  6493. return 'an ' + string;
  6494. }
  6495. function processPastTime(string) {
  6496. var number = string.substr(0, string.indexOf(' '));
  6497. if (eifelerRegelAppliesToNumber(number)) {
  6498. return 'viru ' + string;
  6499. }
  6500. return 'virun ' + string;
  6501. }
  6502. /**
  6503. * Returns true if the word before the given number loses the '-n' ending.
  6504. * e.g. 'an 10 Deeg' but 'a 5 Deeg'
  6505. *
  6506. * @param number {integer}
  6507. * @returns {boolean}
  6508. */
  6509. function eifelerRegelAppliesToNumber(number) {
  6510. number = parseInt(number, 10);
  6511. if (isNaN(number)) {
  6512. return false;
  6513. }
  6514. if (number < 0) {
  6515. // Negative Number --> always true
  6516. return true;
  6517. } else if (number < 10) {
  6518. // Only 1 digit
  6519. if (4 <= number && number <= 7) {
  6520. return true;
  6521. }
  6522. return false;
  6523. } else if (number < 100) {
  6524. // 2 digits
  6525. var lastDigit = number % 10,
  6526. firstDigit = number / 10;
  6527. if (lastDigit === 0) {
  6528. return eifelerRegelAppliesToNumber(firstDigit);
  6529. }
  6530. return eifelerRegelAppliesToNumber(lastDigit);
  6531. } else if (number < 10000) {
  6532. // 3 or 4 digits --> recursively check first digit
  6533. while (number >= 10) {
  6534. number = number / 10;
  6535. }
  6536. return eifelerRegelAppliesToNumber(number);
  6537. } else {
  6538. // Anything larger than 4 digits: recursively check first n-3 digits
  6539. number = number / 1000;
  6540. return eifelerRegelAppliesToNumber(number);
  6541. }
  6542. }
  6543. moment.defineLocale('lb', {
  6544. months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  6545. '_'
  6546. ),
  6547. monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(
  6548. '_'
  6549. ),
  6550. monthsParseExact: true,
  6551. weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(
  6552. '_'
  6553. ),
  6554. weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
  6555. weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
  6556. weekdaysParseExact: true,
  6557. longDateFormat: {
  6558. LT: 'H:mm [Auer]',
  6559. LTS: 'H:mm:ss [Auer]',
  6560. L: 'DD.MM.YYYY',
  6561. LL: 'D. MMMM YYYY',
  6562. LLL: 'D. MMMM YYYY H:mm [Auer]',
  6563. LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',
  6564. },
  6565. calendar: {
  6566. sameDay: '[Haut um] LT',
  6567. sameElse: 'L',
  6568. nextDay: '[Muer um] LT',
  6569. nextWeek: 'dddd [um] LT',
  6570. lastDay: '[Gëschter um] LT',
  6571. lastWeek: function () {
  6572. // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
  6573. switch (this.day()) {
  6574. case 2:
  6575. case 4:
  6576. return '[Leschten] dddd [um] LT';
  6577. default:
  6578. return '[Leschte] dddd [um] LT';
  6579. }
  6580. },
  6581. },
  6582. relativeTime: {
  6583. future: processFutureTime,
  6584. past: processPastTime,
  6585. s: 'e puer Sekonnen',
  6586. ss: '%d Sekonnen',
  6587. m: processRelativeTime$6,
  6588. mm: '%d Minutten',
  6589. h: processRelativeTime$6,
  6590. hh: '%d Stonnen',
  6591. d: processRelativeTime$6,
  6592. dd: '%d Deeg',
  6593. M: processRelativeTime$6,
  6594. MM: '%d Méint',
  6595. y: processRelativeTime$6,
  6596. yy: '%d Joer',
  6597. },
  6598. dayOfMonthOrdinalParse: /\d{1,2}\./,
  6599. ordinal: '%d.',
  6600. week: {
  6601. dow: 1, // Monday is the first day of the week.
  6602. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6603. },
  6604. });
  6605. //! moment.js locale configuration
  6606. moment.defineLocale('lo', {
  6607. months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
  6608. '_'
  6609. ),
  6610. monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
  6611. '_'
  6612. ),
  6613. weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  6614. weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  6615. weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
  6616. weekdaysParseExact: true,
  6617. longDateFormat: {
  6618. LT: 'HH:mm',
  6619. LTS: 'HH:mm:ss',
  6620. L: 'DD/MM/YYYY',
  6621. LL: 'D MMMM YYYY',
  6622. LLL: 'D MMMM YYYY HH:mm',
  6623. LLLL: 'ວັນdddd D MMMM YYYY HH:mm',
  6624. },
  6625. meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
  6626. isPM: function (input) {
  6627. return input === 'ຕອນແລງ';
  6628. },
  6629. meridiem: function (hour, minute, isLower) {
  6630. if (hour < 12) {
  6631. return 'ຕອນເຊົ້າ';
  6632. } else {
  6633. return 'ຕອນແລງ';
  6634. }
  6635. },
  6636. calendar: {
  6637. sameDay: '[ມື້ນີ້ເວລາ] LT',
  6638. nextDay: '[ມື້ອື່ນເວລາ] LT',
  6639. nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
  6640. lastDay: '[ມື້ວານນີ້ເວລາ] LT',
  6641. lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
  6642. sameElse: 'L',
  6643. },
  6644. relativeTime: {
  6645. future: 'ອີກ %s',
  6646. past: '%sຜ່ານມາ',
  6647. s: 'ບໍ່ເທົ່າໃດວິນາທີ',
  6648. ss: '%d ວິນາທີ',
  6649. m: '1 ນາທີ',
  6650. mm: '%d ນາທີ',
  6651. h: '1 ຊົ່ວໂມງ',
  6652. hh: '%d ຊົ່ວໂມງ',
  6653. d: '1 ມື້',
  6654. dd: '%d ມື້',
  6655. M: '1 ເດືອນ',
  6656. MM: '%d ເດືອນ',
  6657. y: '1 ປີ',
  6658. yy: '%d ປີ',
  6659. },
  6660. dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
  6661. ordinal: function (number) {
  6662. return 'ທີ່' + number;
  6663. },
  6664. });
  6665. //! moment.js locale configuration
  6666. var units = {
  6667. ss: 'sekundė_sekundžių_sekundes',
  6668. m: 'minutė_minutės_minutę',
  6669. mm: 'minutės_minučių_minutes',
  6670. h: 'valanda_valandos_valandą',
  6671. hh: 'valandos_valandų_valandas',
  6672. d: 'diena_dienos_dieną',
  6673. dd: 'dienos_dienų_dienas',
  6674. M: 'mėnuo_mėnesio_mėnesį',
  6675. MM: 'mėnesiai_mėnesių_mėnesius',
  6676. y: 'metai_metų_metus',
  6677. yy: 'metai_metų_metus',
  6678. };
  6679. function translateSeconds(number, withoutSuffix, key, isFuture) {
  6680. if (withoutSuffix) {
  6681. return 'kelios sekundės';
  6682. } else {
  6683. return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
  6684. }
  6685. }
  6686. function translateSingular(number, withoutSuffix, key, isFuture) {
  6687. return withoutSuffix
  6688. ? forms(key)[0]
  6689. : isFuture
  6690. ? forms(key)[1]
  6691. : forms(key)[2];
  6692. }
  6693. function special(number) {
  6694. return number % 10 === 0 || (number > 10 && number < 20);
  6695. }
  6696. function forms(key) {
  6697. return units[key].split('_');
  6698. }
  6699. function translate$6(number, withoutSuffix, key, isFuture) {
  6700. var result = number + ' ';
  6701. if (number === 1) {
  6702. return (
  6703. result + translateSingular(number, withoutSuffix, key[0], isFuture)
  6704. );
  6705. } else if (withoutSuffix) {
  6706. return result + (special(number) ? forms(key)[1] : forms(key)[0]);
  6707. } else {
  6708. if (isFuture) {
  6709. return result + forms(key)[1];
  6710. } else {
  6711. return result + (special(number) ? forms(key)[1] : forms(key)[2]);
  6712. }
  6713. }
  6714. }
  6715. moment.defineLocale('lt', {
  6716. months: {
  6717. format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(
  6718. '_'
  6719. ),
  6720. standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(
  6721. '_'
  6722. ),
  6723. isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,
  6724. },
  6725. monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
  6726. weekdays: {
  6727. format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(
  6728. '_'
  6729. ),
  6730. standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(
  6731. '_'
  6732. ),
  6733. isFormat: /dddd HH:mm/,
  6734. },
  6735. weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
  6736. weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),
  6737. weekdaysParseExact: true,
  6738. longDateFormat: {
  6739. LT: 'HH:mm',
  6740. LTS: 'HH:mm:ss',
  6741. L: 'YYYY-MM-DD',
  6742. LL: 'YYYY [m.] MMMM D [d.]',
  6743. LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  6744. LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
  6745. l: 'YYYY-MM-DD',
  6746. ll: 'YYYY [m.] MMMM D [d.]',
  6747. lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  6748. llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',
  6749. },
  6750. calendar: {
  6751. sameDay: '[Šiandien] LT',
  6752. nextDay: '[Rytoj] LT',
  6753. nextWeek: 'dddd LT',
  6754. lastDay: '[Vakar] LT',
  6755. lastWeek: '[Praėjusį] dddd LT',
  6756. sameElse: 'L',
  6757. },
  6758. relativeTime: {
  6759. future: 'po %s',
  6760. past: 'prieš %s',
  6761. s: translateSeconds,
  6762. ss: translate$6,
  6763. m: translateSingular,
  6764. mm: translate$6,
  6765. h: translateSingular,
  6766. hh: translate$6,
  6767. d: translateSingular,
  6768. dd: translate$6,
  6769. M: translateSingular,
  6770. MM: translate$6,
  6771. y: translateSingular,
  6772. yy: translate$6,
  6773. },
  6774. dayOfMonthOrdinalParse: /\d{1,2}-oji/,
  6775. ordinal: function (number) {
  6776. return number + '-oji';
  6777. },
  6778. week: {
  6779. dow: 1, // Monday is the first day of the week.
  6780. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6781. },
  6782. });
  6783. //! moment.js locale configuration
  6784. var units$1 = {
  6785. ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
  6786. m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  6787. mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  6788. h: 'stundas_stundām_stunda_stundas'.split('_'),
  6789. hh: 'stundas_stundām_stunda_stundas'.split('_'),
  6790. d: 'dienas_dienām_diena_dienas'.split('_'),
  6791. dd: 'dienas_dienām_diena_dienas'.split('_'),
  6792. M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  6793. MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  6794. y: 'gada_gadiem_gads_gadi'.split('_'),
  6795. yy: 'gada_gadiem_gads_gadi'.split('_'),
  6796. };
  6797. /**
  6798. * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
  6799. */
  6800. function format(forms, number, withoutSuffix) {
  6801. if (withoutSuffix) {
  6802. // E.g. "21 minūte", "3 minūtes".
  6803. return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
  6804. } else {
  6805. // E.g. "21 minūtes" as in "pēc 21 minūtes".
  6806. // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
  6807. return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
  6808. }
  6809. }
  6810. function relativeTimeWithPlural$1(number, withoutSuffix, key) {
  6811. return number + ' ' + format(units$1[key], number, withoutSuffix);
  6812. }
  6813. function relativeTimeWithSingular(number, withoutSuffix, key) {
  6814. return format(units$1[key], number, withoutSuffix);
  6815. }
  6816. function relativeSeconds(number, withoutSuffix) {
  6817. return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
  6818. }
  6819. moment.defineLocale('lv', {
  6820. months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(
  6821. '_'
  6822. ),
  6823. monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
  6824. weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(
  6825. '_'
  6826. ),
  6827. weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),
  6828. weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),
  6829. weekdaysParseExact: true,
  6830. longDateFormat: {
  6831. LT: 'HH:mm',
  6832. LTS: 'HH:mm:ss',
  6833. L: 'DD.MM.YYYY.',
  6834. LL: 'YYYY. [gada] D. MMMM',
  6835. LLL: 'YYYY. [gada] D. MMMM, HH:mm',
  6836. LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',
  6837. },
  6838. calendar: {
  6839. sameDay: '[Šodien pulksten] LT',
  6840. nextDay: '[Rīt pulksten] LT',
  6841. nextWeek: 'dddd [pulksten] LT',
  6842. lastDay: '[Vakar pulksten] LT',
  6843. lastWeek: '[Pagājušā] dddd [pulksten] LT',
  6844. sameElse: 'L',
  6845. },
  6846. relativeTime: {
  6847. future: 'pēc %s',
  6848. past: 'pirms %s',
  6849. s: relativeSeconds,
  6850. ss: relativeTimeWithPlural$1,
  6851. m: relativeTimeWithSingular,
  6852. mm: relativeTimeWithPlural$1,
  6853. h: relativeTimeWithSingular,
  6854. hh: relativeTimeWithPlural$1,
  6855. d: relativeTimeWithSingular,
  6856. dd: relativeTimeWithPlural$1,
  6857. M: relativeTimeWithSingular,
  6858. MM: relativeTimeWithPlural$1,
  6859. y: relativeTimeWithSingular,
  6860. yy: relativeTimeWithPlural$1,
  6861. },
  6862. dayOfMonthOrdinalParse: /\d{1,2}\./,
  6863. ordinal: '%d.',
  6864. week: {
  6865. dow: 1, // Monday is the first day of the week.
  6866. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6867. },
  6868. });
  6869. //! moment.js locale configuration
  6870. var translator = {
  6871. words: {
  6872. //Different grammatical cases
  6873. ss: ['sekund', 'sekunda', 'sekundi'],
  6874. m: ['jedan minut', 'jednog minuta'],
  6875. mm: ['minut', 'minuta', 'minuta'],
  6876. h: ['jedan sat', 'jednog sata'],
  6877. hh: ['sat', 'sata', 'sati'],
  6878. dd: ['dan', 'dana', 'dana'],
  6879. MM: ['mjesec', 'mjeseca', 'mjeseci'],
  6880. yy: ['godina', 'godine', 'godina'],
  6881. },
  6882. correctGrammaticalCase: function (number, wordKey) {
  6883. return number === 1
  6884. ? wordKey[0]
  6885. : number >= 2 && number <= 4
  6886. ? wordKey[1]
  6887. : wordKey[2];
  6888. },
  6889. translate: function (number, withoutSuffix, key) {
  6890. var wordKey = translator.words[key];
  6891. if (key.length === 1) {
  6892. return withoutSuffix ? wordKey[0] : wordKey[1];
  6893. } else {
  6894. return (
  6895. number +
  6896. ' ' +
  6897. translator.correctGrammaticalCase(number, wordKey)
  6898. );
  6899. }
  6900. },
  6901. };
  6902. moment.defineLocale('me', {
  6903. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
  6904. '_'
  6905. ),
  6906. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(
  6907. '_'
  6908. ),
  6909. monthsParseExact: true,
  6910. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  6911. '_'
  6912. ),
  6913. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  6914. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  6915. weekdaysParseExact: true,
  6916. longDateFormat: {
  6917. LT: 'H:mm',
  6918. LTS: 'H:mm:ss',
  6919. L: 'DD.MM.YYYY',
  6920. LL: 'D. MMMM YYYY',
  6921. LLL: 'D. MMMM YYYY H:mm',
  6922. LLLL: 'dddd, D. MMMM YYYY H:mm',
  6923. },
  6924. calendar: {
  6925. sameDay: '[danas u] LT',
  6926. nextDay: '[sjutra u] LT',
  6927. nextWeek: function () {
  6928. switch (this.day()) {
  6929. case 0:
  6930. return '[u] [nedjelju] [u] LT';
  6931. case 3:
  6932. return '[u] [srijedu] [u] LT';
  6933. case 6:
  6934. return '[u] [subotu] [u] LT';
  6935. case 1:
  6936. case 2:
  6937. case 4:
  6938. case 5:
  6939. return '[u] dddd [u] LT';
  6940. }
  6941. },
  6942. lastDay: '[juče u] LT',
  6943. lastWeek: function () {
  6944. var lastWeekDays = [
  6945. '[prošle] [nedjelje] [u] LT',
  6946. '[prošlog] [ponedjeljka] [u] LT',
  6947. '[prošlog] [utorka] [u] LT',
  6948. '[prošle] [srijede] [u] LT',
  6949. '[prošlog] [četvrtka] [u] LT',
  6950. '[prošlog] [petka] [u] LT',
  6951. '[prošle] [subote] [u] LT',
  6952. ];
  6953. return lastWeekDays[this.day()];
  6954. },
  6955. sameElse: 'L',
  6956. },
  6957. relativeTime: {
  6958. future: 'za %s',
  6959. past: 'prije %s',
  6960. s: 'nekoliko sekundi',
  6961. ss: translator.translate,
  6962. m: translator.translate,
  6963. mm: translator.translate,
  6964. h: translator.translate,
  6965. hh: translator.translate,
  6966. d: 'dan',
  6967. dd: translator.translate,
  6968. M: 'mjesec',
  6969. MM: translator.translate,
  6970. y: 'godinu',
  6971. yy: translator.translate,
  6972. },
  6973. dayOfMonthOrdinalParse: /\d{1,2}\./,
  6974. ordinal: '%d.',
  6975. week: {
  6976. dow: 1, // Monday is the first day of the week.
  6977. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6978. },
  6979. });
  6980. //! moment.js locale configuration
  6981. moment.defineLocale('mi', {
  6982. months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(
  6983. '_'
  6984. ),
  6985. monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(
  6986. '_'
  6987. ),
  6988. monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  6989. monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  6990. monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  6991. monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
  6992. weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
  6993. weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  6994. weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  6995. longDateFormat: {
  6996. LT: 'HH:mm',
  6997. LTS: 'HH:mm:ss',
  6998. L: 'DD/MM/YYYY',
  6999. LL: 'D MMMM YYYY',
  7000. LLL: 'D MMMM YYYY [i] HH:mm',
  7001. LLLL: 'dddd, D MMMM YYYY [i] HH:mm',
  7002. },
  7003. calendar: {
  7004. sameDay: '[i teie mahana, i] LT',
  7005. nextDay: '[apopo i] LT',
  7006. nextWeek: 'dddd [i] LT',
  7007. lastDay: '[inanahi i] LT',
  7008. lastWeek: 'dddd [whakamutunga i] LT',
  7009. sameElse: 'L',
  7010. },
  7011. relativeTime: {
  7012. future: 'i roto i %s',
  7013. past: '%s i mua',
  7014. s: 'te hēkona ruarua',
  7015. ss: '%d hēkona',
  7016. m: 'he meneti',
  7017. mm: '%d meneti',
  7018. h: 'te haora',
  7019. hh: '%d haora',
  7020. d: 'he ra',
  7021. dd: '%d ra',
  7022. M: 'he marama',
  7023. MM: '%d marama',
  7024. y: 'he tau',
  7025. yy: '%d tau',
  7026. },
  7027. dayOfMonthOrdinalParse: /\d{1,2}º/,
  7028. ordinal: '%dº',
  7029. week: {
  7030. dow: 1, // Monday is the first day of the week.
  7031. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7032. },
  7033. });
  7034. //! moment.js locale configuration
  7035. moment.defineLocale('mk', {
  7036. months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(
  7037. '_'
  7038. ),
  7039. monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
  7040. weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(
  7041. '_'
  7042. ),
  7043. weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
  7044. weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),
  7045. longDateFormat: {
  7046. LT: 'H:mm',
  7047. LTS: 'H:mm:ss',
  7048. L: 'D.MM.YYYY',
  7049. LL: 'D MMMM YYYY',
  7050. LLL: 'D MMMM YYYY H:mm',
  7051. LLLL: 'dddd, D MMMM YYYY H:mm',
  7052. },
  7053. calendar: {
  7054. sameDay: '[Денес во] LT',
  7055. nextDay: '[Утре во] LT',
  7056. nextWeek: '[Во] dddd [во] LT',
  7057. lastDay: '[Вчера во] LT',
  7058. lastWeek: function () {
  7059. switch (this.day()) {
  7060. case 0:
  7061. case 3:
  7062. case 6:
  7063. return '[Изминатата] dddd [во] LT';
  7064. case 1:
  7065. case 2:
  7066. case 4:
  7067. case 5:
  7068. return '[Изминатиот] dddd [во] LT';
  7069. }
  7070. },
  7071. sameElse: 'L',
  7072. },
  7073. relativeTime: {
  7074. future: 'за %s',
  7075. past: 'пред %s',
  7076. s: 'неколку секунди',
  7077. ss: '%d секунди',
  7078. m: 'една минута',
  7079. mm: '%d минути',
  7080. h: 'еден час',
  7081. hh: '%d часа',
  7082. d: 'еден ден',
  7083. dd: '%d дена',
  7084. M: 'еден месец',
  7085. MM: '%d месеци',
  7086. y: 'една година',
  7087. yy: '%d години',
  7088. },
  7089. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  7090. ordinal: function (number) {
  7091. var lastDigit = number % 10,
  7092. last2Digits = number % 100;
  7093. if (number === 0) {
  7094. return number + '-ев';
  7095. } else if (last2Digits === 0) {
  7096. return number + '-ен';
  7097. } else if (last2Digits > 10 && last2Digits < 20) {
  7098. return number + '-ти';
  7099. } else if (lastDigit === 1) {
  7100. return number + '-ви';
  7101. } else if (lastDigit === 2) {
  7102. return number + '-ри';
  7103. } else if (lastDigit === 7 || lastDigit === 8) {
  7104. return number + '-ми';
  7105. } else {
  7106. return number + '-ти';
  7107. }
  7108. },
  7109. week: {
  7110. dow: 1, // Monday is the first day of the week.
  7111. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7112. },
  7113. });
  7114. //! moment.js locale configuration
  7115. moment.defineLocale('ml', {
  7116. months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(
  7117. '_'
  7118. ),
  7119. monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(
  7120. '_'
  7121. ),
  7122. monthsParseExact: true,
  7123. weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(
  7124. '_'
  7125. ),
  7126. weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
  7127. weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
  7128. longDateFormat: {
  7129. LT: 'A h:mm -നു',
  7130. LTS: 'A h:mm:ss -നു',
  7131. L: 'DD/MM/YYYY',
  7132. LL: 'D MMMM YYYY',
  7133. LLL: 'D MMMM YYYY, A h:mm -നു',
  7134. LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',
  7135. },
  7136. calendar: {
  7137. sameDay: '[ഇന്ന്] LT',
  7138. nextDay: '[നാളെ] LT',
  7139. nextWeek: 'dddd, LT',
  7140. lastDay: '[ഇന്നലെ] LT',
  7141. lastWeek: '[കഴിഞ്ഞ] dddd, LT',
  7142. sameElse: 'L',
  7143. },
  7144. relativeTime: {
  7145. future: '%s കഴിഞ്ഞ്',
  7146. past: '%s മുൻപ്',
  7147. s: 'അൽപ നിമിഷങ്ങൾ',
  7148. ss: '%d സെക്കൻഡ്',
  7149. m: 'ഒരു മിനിറ്റ്',
  7150. mm: '%d മിനിറ്റ്',
  7151. h: 'ഒരു മണിക്കൂർ',
  7152. hh: '%d മണിക്കൂർ',
  7153. d: 'ഒരു ദിവസം',
  7154. dd: '%d ദിവസം',
  7155. M: 'ഒരു മാസം',
  7156. MM: '%d മാസം',
  7157. y: 'ഒരു വർഷം',
  7158. yy: '%d വർഷം',
  7159. },
  7160. meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
  7161. meridiemHour: function (hour, meridiem) {
  7162. if (hour === 12) {
  7163. hour = 0;
  7164. }
  7165. if (
  7166. (meridiem === 'രാത്രി' && hour >= 4) ||
  7167. meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
  7168. meridiem === 'വൈകുന്നേരം'
  7169. ) {
  7170. return hour + 12;
  7171. } else {
  7172. return hour;
  7173. }
  7174. },
  7175. meridiem: function (hour, minute, isLower) {
  7176. if (hour < 4) {
  7177. return 'രാത്രി';
  7178. } else if (hour < 12) {
  7179. return 'രാവിലെ';
  7180. } else if (hour < 17) {
  7181. return 'ഉച്ച കഴിഞ്ഞ്';
  7182. } else if (hour < 20) {
  7183. return 'വൈകുന്നേരം';
  7184. } else {
  7185. return 'രാത്രി';
  7186. }
  7187. },
  7188. });
  7189. //! moment.js locale configuration
  7190. function translate$7(number, withoutSuffix, key, isFuture) {
  7191. switch (key) {
  7192. case 's':
  7193. return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
  7194. case 'ss':
  7195. return number + (withoutSuffix ? ' секунд' : ' секундын');
  7196. case 'm':
  7197. case 'mm':
  7198. return number + (withoutSuffix ? ' минут' : ' минутын');
  7199. case 'h':
  7200. case 'hh':
  7201. return number + (withoutSuffix ? ' цаг' : ' цагийн');
  7202. case 'd':
  7203. case 'dd':
  7204. return number + (withoutSuffix ? ' өдөр' : ' өдрийн');
  7205. case 'M':
  7206. case 'MM':
  7207. return number + (withoutSuffix ? ' сар' : ' сарын');
  7208. case 'y':
  7209. case 'yy':
  7210. return number + (withoutSuffix ? ' жил' : ' жилийн');
  7211. default:
  7212. return number;
  7213. }
  7214. }
  7215. moment.defineLocale('mn', {
  7216. months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(
  7217. '_'
  7218. ),
  7219. monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(
  7220. '_'
  7221. ),
  7222. monthsParseExact: true,
  7223. weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),
  7224. weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),
  7225. weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),
  7226. weekdaysParseExact: true,
  7227. longDateFormat: {
  7228. LT: 'HH:mm',
  7229. LTS: 'HH:mm:ss',
  7230. L: 'YYYY-MM-DD',
  7231. LL: 'YYYY оны MMMMын D',
  7232. LLL: 'YYYY оны MMMMын D HH:mm',
  7233. LLLL: 'dddd, YYYY оны MMMMын D HH:mm',
  7234. },
  7235. meridiemParse: /ҮӨ|ҮХ/i,
  7236. isPM: function (input) {
  7237. return input === 'ҮХ';
  7238. },
  7239. meridiem: function (hour, minute, isLower) {
  7240. if (hour < 12) {
  7241. return 'ҮӨ';
  7242. } else {
  7243. return 'ҮХ';
  7244. }
  7245. },
  7246. calendar: {
  7247. sameDay: '[Өнөөдөр] LT',
  7248. nextDay: '[Маргааш] LT',
  7249. nextWeek: '[Ирэх] dddd LT',
  7250. lastDay: '[Өчигдөр] LT',
  7251. lastWeek: '[Өнгөрсөн] dddd LT',
  7252. sameElse: 'L',
  7253. },
  7254. relativeTime: {
  7255. future: '%s дараа',
  7256. past: '%s өмнө',
  7257. s: translate$7,
  7258. ss: translate$7,
  7259. m: translate$7,
  7260. mm: translate$7,
  7261. h: translate$7,
  7262. hh: translate$7,
  7263. d: translate$7,
  7264. dd: translate$7,
  7265. M: translate$7,
  7266. MM: translate$7,
  7267. y: translate$7,
  7268. yy: translate$7,
  7269. },
  7270. dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
  7271. ordinal: function (number, period) {
  7272. switch (period) {
  7273. case 'd':
  7274. case 'D':
  7275. case 'DDD':
  7276. return number + ' өдөр';
  7277. default:
  7278. return number;
  7279. }
  7280. },
  7281. });
  7282. //! moment.js locale configuration
  7283. var symbolMap$b = {
  7284. '1': '१',
  7285. '2': '२',
  7286. '3': '३',
  7287. '4': '४',
  7288. '5': '५',
  7289. '6': '६',
  7290. '7': '७',
  7291. '8': '८',
  7292. '9': '९',
  7293. '0': '०',
  7294. },
  7295. numberMap$a = {
  7296. '१': '1',
  7297. '२': '2',
  7298. '३': '3',
  7299. '४': '4',
  7300. '५': '5',
  7301. '६': '6',
  7302. '७': '7',
  7303. '८': '8',
  7304. '९': '9',
  7305. '०': '0',
  7306. };
  7307. function relativeTimeMr(number, withoutSuffix, string, isFuture) {
  7308. var output = '';
  7309. if (withoutSuffix) {
  7310. switch (string) {
  7311. case 's':
  7312. output = 'काही सेकंद';
  7313. break;
  7314. case 'ss':
  7315. output = '%d सेकंद';
  7316. break;
  7317. case 'm':
  7318. output = 'एक मिनिट';
  7319. break;
  7320. case 'mm':
  7321. output = '%d मिनिटे';
  7322. break;
  7323. case 'h':
  7324. output = 'एक तास';
  7325. break;
  7326. case 'hh':
  7327. output = '%d तास';
  7328. break;
  7329. case 'd':
  7330. output = 'एक दिवस';
  7331. break;
  7332. case 'dd':
  7333. output = '%d दिवस';
  7334. break;
  7335. case 'M':
  7336. output = 'एक महिना';
  7337. break;
  7338. case 'MM':
  7339. output = '%d महिने';
  7340. break;
  7341. case 'y':
  7342. output = 'एक वर्ष';
  7343. break;
  7344. case 'yy':
  7345. output = '%d वर्षे';
  7346. break;
  7347. }
  7348. } else {
  7349. switch (string) {
  7350. case 's':
  7351. output = 'काही सेकंदां';
  7352. break;
  7353. case 'ss':
  7354. output = '%d सेकंदां';
  7355. break;
  7356. case 'm':
  7357. output = 'एका मिनिटा';
  7358. break;
  7359. case 'mm':
  7360. output = '%d मिनिटां';
  7361. break;
  7362. case 'h':
  7363. output = 'एका तासा';
  7364. break;
  7365. case 'hh':
  7366. output = '%d तासां';
  7367. break;
  7368. case 'd':
  7369. output = 'एका दिवसा';
  7370. break;
  7371. case 'dd':
  7372. output = '%d दिवसां';
  7373. break;
  7374. case 'M':
  7375. output = 'एका महिन्या';
  7376. break;
  7377. case 'MM':
  7378. output = '%d महिन्यां';
  7379. break;
  7380. case 'y':
  7381. output = 'एका वर्षा';
  7382. break;
  7383. case 'yy':
  7384. output = '%d वर्षां';
  7385. break;
  7386. }
  7387. }
  7388. return output.replace(/%d/i, number);
  7389. }
  7390. moment.defineLocale('mr', {
  7391. months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
  7392. '_'
  7393. ),
  7394. monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
  7395. '_'
  7396. ),
  7397. monthsParseExact: true,
  7398. weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  7399. weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
  7400. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  7401. longDateFormat: {
  7402. LT: 'A h:mm वाजता',
  7403. LTS: 'A h:mm:ss वाजता',
  7404. L: 'DD/MM/YYYY',
  7405. LL: 'D MMMM YYYY',
  7406. LLL: 'D MMMM YYYY, A h:mm वाजता',
  7407. LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',
  7408. },
  7409. calendar: {
  7410. sameDay: '[आज] LT',
  7411. nextDay: '[उद्या] LT',
  7412. nextWeek: 'dddd, LT',
  7413. lastDay: '[काल] LT',
  7414. lastWeek: '[मागील] dddd, LT',
  7415. sameElse: 'L',
  7416. },
  7417. relativeTime: {
  7418. future: '%sमध्ये',
  7419. past: '%sपूर्वी',
  7420. s: relativeTimeMr,
  7421. ss: relativeTimeMr,
  7422. m: relativeTimeMr,
  7423. mm: relativeTimeMr,
  7424. h: relativeTimeMr,
  7425. hh: relativeTimeMr,
  7426. d: relativeTimeMr,
  7427. dd: relativeTimeMr,
  7428. M: relativeTimeMr,
  7429. MM: relativeTimeMr,
  7430. y: relativeTimeMr,
  7431. yy: relativeTimeMr,
  7432. },
  7433. preparse: function (string) {
  7434. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  7435. return numberMap$a[match];
  7436. });
  7437. },
  7438. postformat: function (string) {
  7439. return string.replace(/\d/g, function (match) {
  7440. return symbolMap$b[match];
  7441. });
  7442. },
  7443. meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
  7444. meridiemHour: function (hour, meridiem) {
  7445. if (hour === 12) {
  7446. hour = 0;
  7447. }
  7448. if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {
  7449. return hour;
  7450. } else if (
  7451. meridiem === 'दुपारी' ||
  7452. meridiem === 'सायंकाळी' ||
  7453. meridiem === 'रात्री'
  7454. ) {
  7455. return hour >= 12 ? hour : hour + 12;
  7456. }
  7457. },
  7458. meridiem: function (hour, minute, isLower) {
  7459. if (hour >= 0 && hour < 6) {
  7460. return 'पहाटे';
  7461. } else if (hour < 12) {
  7462. return 'सकाळी';
  7463. } else if (hour < 17) {
  7464. return 'दुपारी';
  7465. } else if (hour < 20) {
  7466. return 'सायंकाळी';
  7467. } else {
  7468. return 'रात्री';
  7469. }
  7470. },
  7471. week: {
  7472. dow: 0, // Sunday is the first day of the week.
  7473. doy: 6, // The week that contains Jan 6th is the first week of the year.
  7474. },
  7475. });
  7476. //! moment.js locale configuration
  7477. moment.defineLocale('ms-my', {
  7478. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
  7479. '_'
  7480. ),
  7481. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  7482. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  7483. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  7484. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  7485. longDateFormat: {
  7486. LT: 'HH.mm',
  7487. LTS: 'HH.mm.ss',
  7488. L: 'DD/MM/YYYY',
  7489. LL: 'D MMMM YYYY',
  7490. LLL: 'D MMMM YYYY [pukul] HH.mm',
  7491. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  7492. },
  7493. meridiemParse: /pagi|tengahari|petang|malam/,
  7494. meridiemHour: function (hour, meridiem) {
  7495. if (hour === 12) {
  7496. hour = 0;
  7497. }
  7498. if (meridiem === 'pagi') {
  7499. return hour;
  7500. } else if (meridiem === 'tengahari') {
  7501. return hour >= 11 ? hour : hour + 12;
  7502. } else if (meridiem === 'petang' || meridiem === 'malam') {
  7503. return hour + 12;
  7504. }
  7505. },
  7506. meridiem: function (hours, minutes, isLower) {
  7507. if (hours < 11) {
  7508. return 'pagi';
  7509. } else if (hours < 15) {
  7510. return 'tengahari';
  7511. } else if (hours < 19) {
  7512. return 'petang';
  7513. } else {
  7514. return 'malam';
  7515. }
  7516. },
  7517. calendar: {
  7518. sameDay: '[Hari ini pukul] LT',
  7519. nextDay: '[Esok pukul] LT',
  7520. nextWeek: 'dddd [pukul] LT',
  7521. lastDay: '[Kelmarin pukul] LT',
  7522. lastWeek: 'dddd [lepas pukul] LT',
  7523. sameElse: 'L',
  7524. },
  7525. relativeTime: {
  7526. future: 'dalam %s',
  7527. past: '%s yang lepas',
  7528. s: 'beberapa saat',
  7529. ss: '%d saat',
  7530. m: 'seminit',
  7531. mm: '%d minit',
  7532. h: 'sejam',
  7533. hh: '%d jam',
  7534. d: 'sehari',
  7535. dd: '%d hari',
  7536. M: 'sebulan',
  7537. MM: '%d bulan',
  7538. y: 'setahun',
  7539. yy: '%d tahun',
  7540. },
  7541. week: {
  7542. dow: 1, // Monday is the first day of the week.
  7543. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7544. },
  7545. });
  7546. //! moment.js locale configuration
  7547. moment.defineLocale('ms', {
  7548. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
  7549. '_'
  7550. ),
  7551. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  7552. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  7553. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  7554. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  7555. longDateFormat: {
  7556. LT: 'HH.mm',
  7557. LTS: 'HH.mm.ss',
  7558. L: 'DD/MM/YYYY',
  7559. LL: 'D MMMM YYYY',
  7560. LLL: 'D MMMM YYYY [pukul] HH.mm',
  7561. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  7562. },
  7563. meridiemParse: /pagi|tengahari|petang|malam/,
  7564. meridiemHour: function (hour, meridiem) {
  7565. if (hour === 12) {
  7566. hour = 0;
  7567. }
  7568. if (meridiem === 'pagi') {
  7569. return hour;
  7570. } else if (meridiem === 'tengahari') {
  7571. return hour >= 11 ? hour : hour + 12;
  7572. } else if (meridiem === 'petang' || meridiem === 'malam') {
  7573. return hour + 12;
  7574. }
  7575. },
  7576. meridiem: function (hours, minutes, isLower) {
  7577. if (hours < 11) {
  7578. return 'pagi';
  7579. } else if (hours < 15) {
  7580. return 'tengahari';
  7581. } else if (hours < 19) {
  7582. return 'petang';
  7583. } else {
  7584. return 'malam';
  7585. }
  7586. },
  7587. calendar: {
  7588. sameDay: '[Hari ini pukul] LT',
  7589. nextDay: '[Esok pukul] LT',
  7590. nextWeek: 'dddd [pukul] LT',
  7591. lastDay: '[Kelmarin pukul] LT',
  7592. lastWeek: 'dddd [lepas pukul] LT',
  7593. sameElse: 'L',
  7594. },
  7595. relativeTime: {
  7596. future: 'dalam %s',
  7597. past: '%s yang lepas',
  7598. s: 'beberapa saat',
  7599. ss: '%d saat',
  7600. m: 'seminit',
  7601. mm: '%d minit',
  7602. h: 'sejam',
  7603. hh: '%d jam',
  7604. d: 'sehari',
  7605. dd: '%d hari',
  7606. M: 'sebulan',
  7607. MM: '%d bulan',
  7608. y: 'setahun',
  7609. yy: '%d tahun',
  7610. },
  7611. week: {
  7612. dow: 1, // Monday is the first day of the week.
  7613. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7614. },
  7615. });
  7616. //! moment.js locale configuration
  7617. moment.defineLocale('mt', {
  7618. months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
  7619. '_'
  7620. ),
  7621. monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
  7622. weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
  7623. '_'
  7624. ),
  7625. weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
  7626. weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
  7627. longDateFormat: {
  7628. LT: 'HH:mm',
  7629. LTS: 'HH:mm:ss',
  7630. L: 'DD/MM/YYYY',
  7631. LL: 'D MMMM YYYY',
  7632. LLL: 'D MMMM YYYY HH:mm',
  7633. LLLL: 'dddd, D MMMM YYYY HH:mm',
  7634. },
  7635. calendar: {
  7636. sameDay: '[Illum fil-]LT',
  7637. nextDay: '[Għada fil-]LT',
  7638. nextWeek: 'dddd [fil-]LT',
  7639. lastDay: '[Il-bieraħ fil-]LT',
  7640. lastWeek: 'dddd [li għadda] [fil-]LT',
  7641. sameElse: 'L',
  7642. },
  7643. relativeTime: {
  7644. future: 'f’ %s',
  7645. past: '%s ilu',
  7646. s: 'ftit sekondi',
  7647. ss: '%d sekondi',
  7648. m: 'minuta',
  7649. mm: '%d minuti',
  7650. h: 'siegħa',
  7651. hh: '%d siegħat',
  7652. d: 'ġurnata',
  7653. dd: '%d ġranet',
  7654. M: 'xahar',
  7655. MM: '%d xhur',
  7656. y: 'sena',
  7657. yy: '%d sni',
  7658. },
  7659. dayOfMonthOrdinalParse: /\d{1,2}º/,
  7660. ordinal: '%dº',
  7661. week: {
  7662. dow: 1, // Monday is the first day of the week.
  7663. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7664. },
  7665. });
  7666. //! moment.js locale configuration
  7667. var symbolMap$c = {
  7668. '1': '၁',
  7669. '2': '၂',
  7670. '3': '၃',
  7671. '4': '၄',
  7672. '5': '၅',
  7673. '6': '၆',
  7674. '7': '၇',
  7675. '8': '၈',
  7676. '9': '၉',
  7677. '0': '၀',
  7678. },
  7679. numberMap$b = {
  7680. '၁': '1',
  7681. '၂': '2',
  7682. '၃': '3',
  7683. '၄': '4',
  7684. '၅': '5',
  7685. '၆': '6',
  7686. '၇': '7',
  7687. '၈': '8',
  7688. '၉': '9',
  7689. '၀': '0',
  7690. };
  7691. moment.defineLocale('my', {
  7692. months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(
  7693. '_'
  7694. ),
  7695. monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
  7696. weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(
  7697. '_'
  7698. ),
  7699. weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  7700. weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  7701. longDateFormat: {
  7702. LT: 'HH:mm',
  7703. LTS: 'HH:mm:ss',
  7704. L: 'DD/MM/YYYY',
  7705. LL: 'D MMMM YYYY',
  7706. LLL: 'D MMMM YYYY HH:mm',
  7707. LLLL: 'dddd D MMMM YYYY HH:mm',
  7708. },
  7709. calendar: {
  7710. sameDay: '[ယနေ.] LT [မှာ]',
  7711. nextDay: '[မနက်ဖြန်] LT [မှာ]',
  7712. nextWeek: 'dddd LT [မှာ]',
  7713. lastDay: '[မနေ.က] LT [မှာ]',
  7714. lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
  7715. sameElse: 'L',
  7716. },
  7717. relativeTime: {
  7718. future: 'လာမည့် %s မှာ',
  7719. past: 'လွန်ခဲ့သော %s က',
  7720. s: 'စက္ကန်.အနည်းငယ်',
  7721. ss: '%d စက္ကန့်',
  7722. m: 'တစ်မိနစ်',
  7723. mm: '%d မိနစ်',
  7724. h: 'တစ်နာရီ',
  7725. hh: '%d နာရီ',
  7726. d: 'တစ်ရက်',
  7727. dd: '%d ရက်',
  7728. M: 'တစ်လ',
  7729. MM: '%d လ',
  7730. y: 'တစ်နှစ်',
  7731. yy: '%d နှစ်',
  7732. },
  7733. preparse: function (string) {
  7734. return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
  7735. return numberMap$b[match];
  7736. });
  7737. },
  7738. postformat: function (string) {
  7739. return string.replace(/\d/g, function (match) {
  7740. return symbolMap$c[match];
  7741. });
  7742. },
  7743. week: {
  7744. dow: 1, // Monday is the first day of the week.
  7745. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7746. },
  7747. });
  7748. //! moment.js locale configuration
  7749. moment.defineLocale('nb', {
  7750. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
  7751. '_'
  7752. ),
  7753. monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(
  7754. '_'
  7755. ),
  7756. monthsParseExact: true,
  7757. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  7758. weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
  7759. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  7760. weekdaysParseExact: true,
  7761. longDateFormat: {
  7762. LT: 'HH:mm',
  7763. LTS: 'HH:mm:ss',
  7764. L: 'DD.MM.YYYY',
  7765. LL: 'D. MMMM YYYY',
  7766. LLL: 'D. MMMM YYYY [kl.] HH:mm',
  7767. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
  7768. },
  7769. calendar: {
  7770. sameDay: '[i dag kl.] LT',
  7771. nextDay: '[i morgen kl.] LT',
  7772. nextWeek: 'dddd [kl.] LT',
  7773. lastDay: '[i går kl.] LT',
  7774. lastWeek: '[forrige] dddd [kl.] LT',
  7775. sameElse: 'L',
  7776. },
  7777. relativeTime: {
  7778. future: 'om %s',
  7779. past: '%s siden',
  7780. s: 'noen sekunder',
  7781. ss: '%d sekunder',
  7782. m: 'ett minutt',
  7783. mm: '%d minutter',
  7784. h: 'en time',
  7785. hh: '%d timer',
  7786. d: 'en dag',
  7787. dd: '%d dager',
  7788. M: 'en måned',
  7789. MM: '%d måneder',
  7790. y: 'ett år',
  7791. yy: '%d år',
  7792. },
  7793. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7794. ordinal: '%d.',
  7795. week: {
  7796. dow: 1, // Monday is the first day of the week.
  7797. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7798. },
  7799. });
  7800. //! moment.js locale configuration
  7801. var symbolMap$d = {
  7802. '1': '१',
  7803. '2': '२',
  7804. '3': '३',
  7805. '4': '४',
  7806. '5': '५',
  7807. '6': '६',
  7808. '7': '७',
  7809. '8': '८',
  7810. '9': '९',
  7811. '0': '०',
  7812. },
  7813. numberMap$c = {
  7814. '१': '1',
  7815. '२': '2',
  7816. '३': '3',
  7817. '४': '4',
  7818. '५': '5',
  7819. '६': '6',
  7820. '७': '7',
  7821. '८': '8',
  7822. '९': '9',
  7823. '०': '0',
  7824. };
  7825. moment.defineLocale('ne', {
  7826. months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(
  7827. '_'
  7828. ),
  7829. monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(
  7830. '_'
  7831. ),
  7832. monthsParseExact: true,
  7833. weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(
  7834. '_'
  7835. ),
  7836. weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
  7837. weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
  7838. weekdaysParseExact: true,
  7839. longDateFormat: {
  7840. LT: 'Aको h:mm बजे',
  7841. LTS: 'Aको h:mm:ss बजे',
  7842. L: 'DD/MM/YYYY',
  7843. LL: 'D MMMM YYYY',
  7844. LLL: 'D MMMM YYYY, Aको h:mm बजे',
  7845. LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',
  7846. },
  7847. preparse: function (string) {
  7848. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  7849. return numberMap$c[match];
  7850. });
  7851. },
  7852. postformat: function (string) {
  7853. return string.replace(/\d/g, function (match) {
  7854. return symbolMap$d[match];
  7855. });
  7856. },
  7857. meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
  7858. meridiemHour: function (hour, meridiem) {
  7859. if (hour === 12) {
  7860. hour = 0;
  7861. }
  7862. if (meridiem === 'राति') {
  7863. return hour < 4 ? hour : hour + 12;
  7864. } else if (meridiem === 'बिहान') {
  7865. return hour;
  7866. } else if (meridiem === 'दिउँसो') {
  7867. return hour >= 10 ? hour : hour + 12;
  7868. } else if (meridiem === 'साँझ') {
  7869. return hour + 12;
  7870. }
  7871. },
  7872. meridiem: function (hour, minute, isLower) {
  7873. if (hour < 3) {
  7874. return 'राति';
  7875. } else if (hour < 12) {
  7876. return 'बिहान';
  7877. } else if (hour < 16) {
  7878. return 'दिउँसो';
  7879. } else if (hour < 20) {
  7880. return 'साँझ';
  7881. } else {
  7882. return 'राति';
  7883. }
  7884. },
  7885. calendar: {
  7886. sameDay: '[आज] LT',
  7887. nextDay: '[भोलि] LT',
  7888. nextWeek: '[आउँदो] dddd[,] LT',
  7889. lastDay: '[हिजो] LT',
  7890. lastWeek: '[गएको] dddd[,] LT',
  7891. sameElse: 'L',
  7892. },
  7893. relativeTime: {
  7894. future: '%sमा',
  7895. past: '%s अगाडि',
  7896. s: 'केही क्षण',
  7897. ss: '%d सेकेण्ड',
  7898. m: 'एक मिनेट',
  7899. mm: '%d मिनेट',
  7900. h: 'एक घण्टा',
  7901. hh: '%d घण्टा',
  7902. d: 'एक दिन',
  7903. dd: '%d दिन',
  7904. M: 'एक महिना',
  7905. MM: '%d महिना',
  7906. y: 'एक बर्ष',
  7907. yy: '%d बर्ष',
  7908. },
  7909. week: {
  7910. dow: 0, // Sunday is the first day of the week.
  7911. doy: 6, // The week that contains Jan 6th is the first week of the year.
  7912. },
  7913. });
  7914. //! moment.js locale configuration
  7915. var monthsShortWithDots$1 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(
  7916. '_'
  7917. ),
  7918. monthsShortWithoutDots$1 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(
  7919. '_'
  7920. ),
  7921. monthsParse$6 = [
  7922. /^jan/i,
  7923. /^feb/i,
  7924. /^maart|mrt.?$/i,
  7925. /^apr/i,
  7926. /^mei$/i,
  7927. /^jun[i.]?$/i,
  7928. /^jul[i.]?$/i,
  7929. /^aug/i,
  7930. /^sep/i,
  7931. /^okt/i,
  7932. /^nov/i,
  7933. /^dec/i,
  7934. ],
  7935. monthsRegex$6 = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  7936. moment.defineLocale('nl-be', {
  7937. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
  7938. '_'
  7939. ),
  7940. monthsShort: function (m, format) {
  7941. if (!m) {
  7942. return monthsShortWithDots$1;
  7943. } else if (/-MMM-/.test(format)) {
  7944. return monthsShortWithoutDots$1[m.month()];
  7945. } else {
  7946. return monthsShortWithDots$1[m.month()];
  7947. }
  7948. },
  7949. monthsRegex: monthsRegex$6,
  7950. monthsShortRegex: monthsRegex$6,
  7951. monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  7952. monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  7953. monthsParse: monthsParse$6,
  7954. longMonthsParse: monthsParse$6,
  7955. shortMonthsParse: monthsParse$6,
  7956. weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(
  7957. '_'
  7958. ),
  7959. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  7960. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  7961. weekdaysParseExact: true,
  7962. longDateFormat: {
  7963. LT: 'HH:mm',
  7964. LTS: 'HH:mm:ss',
  7965. L: 'DD/MM/YYYY',
  7966. LL: 'D MMMM YYYY',
  7967. LLL: 'D MMMM YYYY HH:mm',
  7968. LLLL: 'dddd D MMMM YYYY HH:mm',
  7969. },
  7970. calendar: {
  7971. sameDay: '[vandaag om] LT',
  7972. nextDay: '[morgen om] LT',
  7973. nextWeek: 'dddd [om] LT',
  7974. lastDay: '[gisteren om] LT',
  7975. lastWeek: '[afgelopen] dddd [om] LT',
  7976. sameElse: 'L',
  7977. },
  7978. relativeTime: {
  7979. future: 'over %s',
  7980. past: '%s geleden',
  7981. s: 'een paar seconden',
  7982. ss: '%d seconden',
  7983. m: 'één minuut',
  7984. mm: '%d minuten',
  7985. h: 'één uur',
  7986. hh: '%d uur',
  7987. d: 'één dag',
  7988. dd: '%d dagen',
  7989. M: 'één maand',
  7990. MM: '%d maanden',
  7991. y: 'één jaar',
  7992. yy: '%d jaar',
  7993. },
  7994. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  7995. ordinal: function (number) {
  7996. return (
  7997. number +
  7998. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  7999. );
  8000. },
  8001. week: {
  8002. dow: 1, // Monday is the first day of the week.
  8003. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8004. },
  8005. });
  8006. //! moment.js locale configuration
  8007. var monthsShortWithDots$2 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(
  8008. '_'
  8009. ),
  8010. monthsShortWithoutDots$2 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(
  8011. '_'
  8012. ),
  8013. monthsParse$7 = [
  8014. /^jan/i,
  8015. /^feb/i,
  8016. /^maart|mrt.?$/i,
  8017. /^apr/i,
  8018. /^mei$/i,
  8019. /^jun[i.]?$/i,
  8020. /^jul[i.]?$/i,
  8021. /^aug/i,
  8022. /^sep/i,
  8023. /^okt/i,
  8024. /^nov/i,
  8025. /^dec/i,
  8026. ],
  8027. monthsRegex$7 = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  8028. moment.defineLocale('nl', {
  8029. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
  8030. '_'
  8031. ),
  8032. monthsShort: function (m, format) {
  8033. if (!m) {
  8034. return monthsShortWithDots$2;
  8035. } else if (/-MMM-/.test(format)) {
  8036. return monthsShortWithoutDots$2[m.month()];
  8037. } else {
  8038. return monthsShortWithDots$2[m.month()];
  8039. }
  8040. },
  8041. monthsRegex: monthsRegex$7,
  8042. monthsShortRegex: monthsRegex$7,
  8043. monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  8044. monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  8045. monthsParse: monthsParse$7,
  8046. longMonthsParse: monthsParse$7,
  8047. shortMonthsParse: monthsParse$7,
  8048. weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(
  8049. '_'
  8050. ),
  8051. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  8052. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  8053. weekdaysParseExact: true,
  8054. longDateFormat: {
  8055. LT: 'HH:mm',
  8056. LTS: 'HH:mm:ss',
  8057. L: 'DD-MM-YYYY',
  8058. LL: 'D MMMM YYYY',
  8059. LLL: 'D MMMM YYYY HH:mm',
  8060. LLLL: 'dddd D MMMM YYYY HH:mm',
  8061. },
  8062. calendar: {
  8063. sameDay: '[vandaag om] LT',
  8064. nextDay: '[morgen om] LT',
  8065. nextWeek: 'dddd [om] LT',
  8066. lastDay: '[gisteren om] LT',
  8067. lastWeek: '[afgelopen] dddd [om] LT',
  8068. sameElse: 'L',
  8069. },
  8070. relativeTime: {
  8071. future: 'over %s',
  8072. past: '%s geleden',
  8073. s: 'een paar seconden',
  8074. ss: '%d seconden',
  8075. m: 'één minuut',
  8076. mm: '%d minuten',
  8077. h: 'één uur',
  8078. hh: '%d uur',
  8079. d: 'één dag',
  8080. dd: '%d dagen',
  8081. M: 'één maand',
  8082. MM: '%d maanden',
  8083. y: 'één jaar',
  8084. yy: '%d jaar',
  8085. },
  8086. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  8087. ordinal: function (number) {
  8088. return (
  8089. number +
  8090. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  8091. );
  8092. },
  8093. week: {
  8094. dow: 1, // Monday is the first day of the week.
  8095. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8096. },
  8097. });
  8098. //! moment.js locale configuration
  8099. moment.defineLocale('nn', {
  8100. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
  8101. '_'
  8102. ),
  8103. monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(
  8104. '_'
  8105. ),
  8106. monthsParseExact: true,
  8107. weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
  8108. weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
  8109. weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
  8110. weekdaysParseExact: true,
  8111. longDateFormat: {
  8112. LT: 'HH:mm',
  8113. LTS: 'HH:mm:ss',
  8114. L: 'DD.MM.YYYY',
  8115. LL: 'D. MMMM YYYY',
  8116. LLL: 'D. MMMM YYYY [kl.] H:mm',
  8117. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
  8118. },
  8119. calendar: {
  8120. sameDay: '[I dag klokka] LT',
  8121. nextDay: '[I morgon klokka] LT',
  8122. nextWeek: 'dddd [klokka] LT',
  8123. lastDay: '[I går klokka] LT',
  8124. lastWeek: '[Føregåande] dddd [klokka] LT',
  8125. sameElse: 'L',
  8126. },
  8127. relativeTime: {
  8128. future: 'om %s',
  8129. past: '%s sidan',
  8130. s: 'nokre sekund',
  8131. ss: '%d sekund',
  8132. m: 'eit minutt',
  8133. mm: '%d minutt',
  8134. h: 'ein time',
  8135. hh: '%d timar',
  8136. d: 'ein dag',
  8137. dd: '%d dagar',
  8138. M: 'ein månad',
  8139. MM: '%d månader',
  8140. y: 'eit år',
  8141. yy: '%d år',
  8142. },
  8143. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8144. ordinal: '%d.',
  8145. week: {
  8146. dow: 1, // Monday is the first day of the week.
  8147. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8148. },
  8149. });
  8150. //! moment.js locale configuration
  8151. moment.defineLocale('oc-lnc', {
  8152. months: {
  8153. standalone: 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(
  8154. '_'
  8155. ),
  8156. format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split(
  8157. '_'
  8158. ),
  8159. isFormat: /D[oD]?(\s)+MMMM/,
  8160. },
  8161. monthsShort: 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(
  8162. '_'
  8163. ),
  8164. monthsParseExact: true,
  8165. weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(
  8166. '_'
  8167. ),
  8168. weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),
  8169. weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
  8170. weekdaysParseExact: true,
  8171. longDateFormat: {
  8172. LT: 'H:mm',
  8173. LTS: 'H:mm:ss',
  8174. L: 'DD/MM/YYYY',
  8175. LL: 'D MMMM [de] YYYY',
  8176. ll: 'D MMM YYYY',
  8177. LLL: 'D MMMM [de] YYYY [a] H:mm',
  8178. lll: 'D MMM YYYY, H:mm',
  8179. LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',
  8180. llll: 'ddd D MMM YYYY, H:mm',
  8181. },
  8182. calendar: {
  8183. sameDay: '[uèi a] LT',
  8184. nextDay: '[deman a] LT',
  8185. nextWeek: 'dddd [a] LT',
  8186. lastDay: '[ièr a] LT',
  8187. lastWeek: 'dddd [passat a] LT',
  8188. sameElse: 'L',
  8189. },
  8190. relativeTime: {
  8191. future: "d'aquí %s",
  8192. past: 'fa %s',
  8193. s: 'unas segondas',
  8194. ss: '%d segondas',
  8195. m: 'una minuta',
  8196. mm: '%d minutas',
  8197. h: 'una ora',
  8198. hh: '%d oras',
  8199. d: 'un jorn',
  8200. dd: '%d jorns',
  8201. M: 'un mes',
  8202. MM: '%d meses',
  8203. y: 'un an',
  8204. yy: '%d ans',
  8205. },
  8206. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  8207. ordinal: function (number, period) {
  8208. var output =
  8209. number === 1
  8210. ? 'r'
  8211. : number === 2
  8212. ? 'n'
  8213. : number === 3
  8214. ? 'r'
  8215. : number === 4
  8216. ? 't'
  8217. : 'è';
  8218. if (period === 'w' || period === 'W') {
  8219. output = 'a';
  8220. }
  8221. return number + output;
  8222. },
  8223. week: {
  8224. dow: 1, // Monday is the first day of the week.
  8225. doy: 4,
  8226. },
  8227. });
  8228. //! moment.js locale configuration
  8229. var symbolMap$e = {
  8230. '1': '੧',
  8231. '2': '੨',
  8232. '3': '੩',
  8233. '4': '੪',
  8234. '5': '੫',
  8235. '6': '੬',
  8236. '7': '੭',
  8237. '8': '੮',
  8238. '9': '੯',
  8239. '0': '੦',
  8240. },
  8241. numberMap$d = {
  8242. '੧': '1',
  8243. '੨': '2',
  8244. '੩': '3',
  8245. '੪': '4',
  8246. '੫': '5',
  8247. '੬': '6',
  8248. '੭': '7',
  8249. '੮': '8',
  8250. '੯': '9',
  8251. '੦': '0',
  8252. };
  8253. moment.defineLocale('pa-in', {
  8254. // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
  8255. months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
  8256. '_'
  8257. ),
  8258. monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
  8259. '_'
  8260. ),
  8261. weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(
  8262. '_'
  8263. ),
  8264. weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  8265. weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  8266. longDateFormat: {
  8267. LT: 'A h:mm ਵਜੇ',
  8268. LTS: 'A h:mm:ss ਵਜੇ',
  8269. L: 'DD/MM/YYYY',
  8270. LL: 'D MMMM YYYY',
  8271. LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',
  8272. LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',
  8273. },
  8274. calendar: {
  8275. sameDay: '[ਅਜ] LT',
  8276. nextDay: '[ਕਲ] LT',
  8277. nextWeek: '[ਅਗਲਾ] dddd, LT',
  8278. lastDay: '[ਕਲ] LT',
  8279. lastWeek: '[ਪਿਛਲੇ] dddd, LT',
  8280. sameElse: 'L',
  8281. },
  8282. relativeTime: {
  8283. future: '%s ਵਿੱਚ',
  8284. past: '%s ਪਿਛਲੇ',
  8285. s: 'ਕੁਝ ਸਕਿੰਟ',
  8286. ss: '%d ਸਕਿੰਟ',
  8287. m: 'ਇਕ ਮਿੰਟ',
  8288. mm: '%d ਮਿੰਟ',
  8289. h: 'ਇੱਕ ਘੰਟਾ',
  8290. hh: '%d ਘੰਟੇ',
  8291. d: 'ਇੱਕ ਦਿਨ',
  8292. dd: '%d ਦਿਨ',
  8293. M: 'ਇੱਕ ਮਹੀਨਾ',
  8294. MM: '%d ਮਹੀਨੇ',
  8295. y: 'ਇੱਕ ਸਾਲ',
  8296. yy: '%d ਸਾਲ',
  8297. },
  8298. preparse: function (string) {
  8299. return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
  8300. return numberMap$d[match];
  8301. });
  8302. },
  8303. postformat: function (string) {
  8304. return string.replace(/\d/g, function (match) {
  8305. return symbolMap$e[match];
  8306. });
  8307. },
  8308. // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
  8309. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
  8310. meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
  8311. meridiemHour: function (hour, meridiem) {
  8312. if (hour === 12) {
  8313. hour = 0;
  8314. }
  8315. if (meridiem === 'ਰਾਤ') {
  8316. return hour < 4 ? hour : hour + 12;
  8317. } else if (meridiem === 'ਸਵੇਰ') {
  8318. return hour;
  8319. } else if (meridiem === 'ਦੁਪਹਿਰ') {
  8320. return hour >= 10 ? hour : hour + 12;
  8321. } else if (meridiem === 'ਸ਼ਾਮ') {
  8322. return hour + 12;
  8323. }
  8324. },
  8325. meridiem: function (hour, minute, isLower) {
  8326. if (hour < 4) {
  8327. return 'ਰਾਤ';
  8328. } else if (hour < 10) {
  8329. return 'ਸਵੇਰ';
  8330. } else if (hour < 17) {
  8331. return 'ਦੁਪਹਿਰ';
  8332. } else if (hour < 20) {
  8333. return 'ਸ਼ਾਮ';
  8334. } else {
  8335. return 'ਰਾਤ';
  8336. }
  8337. },
  8338. week: {
  8339. dow: 0, // Sunday is the first day of the week.
  8340. doy: 6, // The week that contains Jan 6th is the first week of the year.
  8341. },
  8342. });
  8343. //! moment.js locale configuration
  8344. var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
  8345. '_'
  8346. ),
  8347. monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(
  8348. '_'
  8349. );
  8350. function plural$3(n) {
  8351. return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
  8352. }
  8353. function translate$8(number, withoutSuffix, key) {
  8354. var result = number + ' ';
  8355. switch (key) {
  8356. case 'ss':
  8357. return result + (plural$3(number) ? 'sekundy' : 'sekund');
  8358. case 'm':
  8359. return withoutSuffix ? 'minuta' : 'minutę';
  8360. case 'mm':
  8361. return result + (plural$3(number) ? 'minuty' : 'minut');
  8362. case 'h':
  8363. return withoutSuffix ? 'godzina' : 'godzinę';
  8364. case 'hh':
  8365. return result + (plural$3(number) ? 'godziny' : 'godzin');
  8366. case 'MM':
  8367. return result + (plural$3(number) ? 'miesiące' : 'miesięcy');
  8368. case 'yy':
  8369. return result + (plural$3(number) ? 'lata' : 'lat');
  8370. }
  8371. }
  8372. moment.defineLocale('pl', {
  8373. months: function (momentToFormat, format) {
  8374. if (!momentToFormat) {
  8375. return monthsNominative;
  8376. } else if (format === '') {
  8377. // Hack: if format empty we know this is used to generate
  8378. // RegExp by moment. Give then back both valid forms of months
  8379. // in RegExp ready format.
  8380. return (
  8381. '(' +
  8382. monthsSubjective[momentToFormat.month()] +
  8383. '|' +
  8384. monthsNominative[momentToFormat.month()] +
  8385. ')'
  8386. );
  8387. } else if (/D MMMM/.test(format)) {
  8388. return monthsSubjective[momentToFormat.month()];
  8389. } else {
  8390. return monthsNominative[momentToFormat.month()];
  8391. }
  8392. },
  8393. monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
  8394. weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split(
  8395. '_'
  8396. ),
  8397. weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
  8398. weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
  8399. longDateFormat: {
  8400. LT: 'HH:mm',
  8401. LTS: 'HH:mm:ss',
  8402. L: 'DD.MM.YYYY',
  8403. LL: 'D MMMM YYYY',
  8404. LLL: 'D MMMM YYYY HH:mm',
  8405. LLLL: 'dddd, D MMMM YYYY HH:mm',
  8406. },
  8407. calendar: {
  8408. sameDay: '[Dziś o] LT',
  8409. nextDay: '[Jutro o] LT',
  8410. nextWeek: function () {
  8411. switch (this.day()) {
  8412. case 0:
  8413. return '[W niedzielę o] LT';
  8414. case 2:
  8415. return '[We wtorek o] LT';
  8416. case 3:
  8417. return '[W środę o] LT';
  8418. case 6:
  8419. return '[W sobotę o] LT';
  8420. default:
  8421. return '[W] dddd [o] LT';
  8422. }
  8423. },
  8424. lastDay: '[Wczoraj o] LT',
  8425. lastWeek: function () {
  8426. switch (this.day()) {
  8427. case 0:
  8428. return '[W zeszłą niedzielę o] LT';
  8429. case 3:
  8430. return '[W zeszłą środę o] LT';
  8431. case 6:
  8432. return '[W zeszłą sobotę o] LT';
  8433. default:
  8434. return '[W zeszły] dddd [o] LT';
  8435. }
  8436. },
  8437. sameElse: 'L',
  8438. },
  8439. relativeTime: {
  8440. future: 'za %s',
  8441. past: '%s temu',
  8442. s: 'kilka sekund',
  8443. ss: translate$8,
  8444. m: translate$8,
  8445. mm: translate$8,
  8446. h: translate$8,
  8447. hh: translate$8,
  8448. d: '1 dzień',
  8449. dd: '%d dni',
  8450. M: 'miesiąc',
  8451. MM: translate$8,
  8452. y: 'rok',
  8453. yy: translate$8,
  8454. },
  8455. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8456. ordinal: '%d.',
  8457. week: {
  8458. dow: 1, // Monday is the first day of the week.
  8459. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8460. },
  8461. });
  8462. //! moment.js locale configuration
  8463. moment.defineLocale('pt-br', {
  8464. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
  8465. '_'
  8466. ),
  8467. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  8468. weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(
  8469. '_'
  8470. ),
  8471. weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
  8472. weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
  8473. weekdaysParseExact: true,
  8474. longDateFormat: {
  8475. LT: 'HH:mm',
  8476. LTS: 'HH:mm:ss',
  8477. L: 'DD/MM/YYYY',
  8478. LL: 'D [de] MMMM [de] YYYY',
  8479. LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
  8480. LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',
  8481. },
  8482. calendar: {
  8483. sameDay: '[Hoje às] LT',
  8484. nextDay: '[Amanhã às] LT',
  8485. nextWeek: 'dddd [às] LT',
  8486. lastDay: '[Ontem às] LT',
  8487. lastWeek: function () {
  8488. return this.day() === 0 || this.day() === 6
  8489. ? '[Último] dddd [às] LT' // Saturday + Sunday
  8490. : '[Última] dddd [às] LT'; // Monday - Friday
  8491. },
  8492. sameElse: 'L',
  8493. },
  8494. relativeTime: {
  8495. future: 'em %s',
  8496. past: 'há %s',
  8497. s: 'poucos segundos',
  8498. ss: '%d segundos',
  8499. m: 'um minuto',
  8500. mm: '%d minutos',
  8501. h: 'uma hora',
  8502. hh: '%d horas',
  8503. d: 'um dia',
  8504. dd: '%d dias',
  8505. M: 'um mês',
  8506. MM: '%d meses',
  8507. y: 'um ano',
  8508. yy: '%d anos',
  8509. },
  8510. dayOfMonthOrdinalParse: /\d{1,2}º/,
  8511. ordinal: '%dº',
  8512. });
  8513. //! moment.js locale configuration
  8514. moment.defineLocale('pt', {
  8515. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
  8516. '_'
  8517. ),
  8518. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  8519. weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
  8520. '_'
  8521. ),
  8522. weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  8523. weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
  8524. weekdaysParseExact: true,
  8525. longDateFormat: {
  8526. LT: 'HH:mm',
  8527. LTS: 'HH:mm:ss',
  8528. L: 'DD/MM/YYYY',
  8529. LL: 'D [de] MMMM [de] YYYY',
  8530. LLL: 'D [de] MMMM [de] YYYY HH:mm',
  8531. LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
  8532. },
  8533. calendar: {
  8534. sameDay: '[Hoje às] LT',
  8535. nextDay: '[Amanhã às] LT',
  8536. nextWeek: 'dddd [às] LT',
  8537. lastDay: '[Ontem às] LT',
  8538. lastWeek: function () {
  8539. return this.day() === 0 || this.day() === 6
  8540. ? '[Último] dddd [às] LT' // Saturday + Sunday
  8541. : '[Última] dddd [às] LT'; // Monday - Friday
  8542. },
  8543. sameElse: 'L',
  8544. },
  8545. relativeTime: {
  8546. future: 'em %s',
  8547. past: 'há %s',
  8548. s: 'segundos',
  8549. ss: '%d segundos',
  8550. m: 'um minuto',
  8551. mm: '%d minutos',
  8552. h: 'uma hora',
  8553. hh: '%d horas',
  8554. d: 'um dia',
  8555. dd: '%d dias',
  8556. M: 'um mês',
  8557. MM: '%d meses',
  8558. y: 'um ano',
  8559. yy: '%d anos',
  8560. },
  8561. dayOfMonthOrdinalParse: /\d{1,2}º/,
  8562. ordinal: '%dº',
  8563. week: {
  8564. dow: 1, // Monday is the first day of the week.
  8565. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8566. },
  8567. });
  8568. //! moment.js locale configuration
  8569. function relativeTimeWithPlural$2(number, withoutSuffix, key) {
  8570. var format = {
  8571. ss: 'secunde',
  8572. mm: 'minute',
  8573. hh: 'ore',
  8574. dd: 'zile',
  8575. MM: 'luni',
  8576. yy: 'ani',
  8577. },
  8578. separator = ' ';
  8579. if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
  8580. separator = ' de ';
  8581. }
  8582. return number + separator + format[key];
  8583. }
  8584. moment.defineLocale('ro', {
  8585. months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(
  8586. '_'
  8587. ),
  8588. monthsShort: 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(
  8589. '_'
  8590. ),
  8591. monthsParseExact: true,
  8592. weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
  8593. weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
  8594. weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
  8595. longDateFormat: {
  8596. LT: 'H:mm',
  8597. LTS: 'H:mm:ss',
  8598. L: 'DD.MM.YYYY',
  8599. LL: 'D MMMM YYYY',
  8600. LLL: 'D MMMM YYYY H:mm',
  8601. LLLL: 'dddd, D MMMM YYYY H:mm',
  8602. },
  8603. calendar: {
  8604. sameDay: '[azi la] LT',
  8605. nextDay: '[mâine la] LT',
  8606. nextWeek: 'dddd [la] LT',
  8607. lastDay: '[ieri la] LT',
  8608. lastWeek: '[fosta] dddd [la] LT',
  8609. sameElse: 'L',
  8610. },
  8611. relativeTime: {
  8612. future: 'peste %s',
  8613. past: '%s în urmă',
  8614. s: 'câteva secunde',
  8615. ss: relativeTimeWithPlural$2,
  8616. m: 'un minut',
  8617. mm: relativeTimeWithPlural$2,
  8618. h: 'o oră',
  8619. hh: relativeTimeWithPlural$2,
  8620. d: 'o zi',
  8621. dd: relativeTimeWithPlural$2,
  8622. M: 'o lună',
  8623. MM: relativeTimeWithPlural$2,
  8624. y: 'un an',
  8625. yy: relativeTimeWithPlural$2,
  8626. },
  8627. week: {
  8628. dow: 1, // Monday is the first day of the week.
  8629. doy: 7, // The week that contains Jan 7th is the first week of the year.
  8630. },
  8631. });
  8632. //! moment.js locale configuration
  8633. function plural$4(word, num) {
  8634. var forms = word.split('_');
  8635. return num % 10 === 1 && num % 100 !== 11
  8636. ? forms[0]
  8637. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  8638. ? forms[1]
  8639. : forms[2];
  8640. }
  8641. function relativeTimeWithPlural$3(number, withoutSuffix, key) {
  8642. var format = {
  8643. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  8644. mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
  8645. hh: 'час_часа_часов',
  8646. dd: 'день_дня_дней',
  8647. MM: 'месяц_месяца_месяцев',
  8648. yy: 'год_года_лет',
  8649. };
  8650. if (key === 'm') {
  8651. return withoutSuffix ? 'минута' : 'минуту';
  8652. } else {
  8653. return number + ' ' + plural$4(format[key], +number);
  8654. }
  8655. }
  8656. var monthsParse$8 = [
  8657. /^янв/i,
  8658. /^фев/i,
  8659. /^мар/i,
  8660. /^апр/i,
  8661. /^ма[йя]/i,
  8662. /^июн/i,
  8663. /^июл/i,
  8664. /^авг/i,
  8665. /^сен/i,
  8666. /^окт/i,
  8667. /^ноя/i,
  8668. /^дек/i,
  8669. ];
  8670. // http://new.gramota.ru/spravka/rules/139-prop : § 103
  8671. // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
  8672. // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
  8673. moment.defineLocale('ru', {
  8674. months: {
  8675. format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(
  8676. '_'
  8677. ),
  8678. standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
  8679. '_'
  8680. ),
  8681. },
  8682. monthsShort: {
  8683. // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку?
  8684. format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(
  8685. '_'
  8686. ),
  8687. standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(
  8688. '_'
  8689. ),
  8690. },
  8691. weekdays: {
  8692. standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(
  8693. '_'
  8694. ),
  8695. format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(
  8696. '_'
  8697. ),
  8698. isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,
  8699. },
  8700. weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  8701. weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  8702. monthsParse: monthsParse$8,
  8703. longMonthsParse: monthsParse$8,
  8704. shortMonthsParse: monthsParse$8,
  8705. // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
  8706. monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  8707. // копия предыдущего
  8708. monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  8709. // полные названия с падежами
  8710. monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
  8711. // Выражение, которое соответствует только сокращённым формам
  8712. monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
  8713. longDateFormat: {
  8714. LT: 'H:mm',
  8715. LTS: 'H:mm:ss',
  8716. L: 'DD.MM.YYYY',
  8717. LL: 'D MMMM YYYY г.',
  8718. LLL: 'D MMMM YYYY г., H:mm',
  8719. LLLL: 'dddd, D MMMM YYYY г., H:mm',
  8720. },
  8721. calendar: {
  8722. sameDay: '[Сегодня, в] LT',
  8723. nextDay: '[Завтра, в] LT',
  8724. lastDay: '[Вчера, в] LT',
  8725. nextWeek: function (now) {
  8726. if (now.week() !== this.week()) {
  8727. switch (this.day()) {
  8728. case 0:
  8729. return '[В следующее] dddd, [в] LT';
  8730. case 1:
  8731. case 2:
  8732. case 4:
  8733. return '[В следующий] dddd, [в] LT';
  8734. case 3:
  8735. case 5:
  8736. case 6:
  8737. return '[В следующую] dddd, [в] LT';
  8738. }
  8739. } else {
  8740. if (this.day() === 2) {
  8741. return '[Во] dddd, [в] LT';
  8742. } else {
  8743. return '[В] dddd, [в] LT';
  8744. }
  8745. }
  8746. },
  8747. lastWeek: function (now) {
  8748. if (now.week() !== this.week()) {
  8749. switch (this.day()) {
  8750. case 0:
  8751. return '[В прошлое] dddd, [в] LT';
  8752. case 1:
  8753. case 2:
  8754. case 4:
  8755. return '[В прошлый] dddd, [в] LT';
  8756. case 3:
  8757. case 5:
  8758. case 6:
  8759. return '[В прошлую] dddd, [в] LT';
  8760. }
  8761. } else {
  8762. if (this.day() === 2) {
  8763. return '[Во] dddd, [в] LT';
  8764. } else {
  8765. return '[В] dddd, [в] LT';
  8766. }
  8767. }
  8768. },
  8769. sameElse: 'L',
  8770. },
  8771. relativeTime: {
  8772. future: 'через %s',
  8773. past: '%s назад',
  8774. s: 'несколько секунд',
  8775. ss: relativeTimeWithPlural$3,
  8776. m: relativeTimeWithPlural$3,
  8777. mm: relativeTimeWithPlural$3,
  8778. h: 'час',
  8779. hh: relativeTimeWithPlural$3,
  8780. d: 'день',
  8781. dd: relativeTimeWithPlural$3,
  8782. M: 'месяц',
  8783. MM: relativeTimeWithPlural$3,
  8784. y: 'год',
  8785. yy: relativeTimeWithPlural$3,
  8786. },
  8787. meridiemParse: /ночи|утра|дня|вечера/i,
  8788. isPM: function (input) {
  8789. return /^(дня|вечера)$/.test(input);
  8790. },
  8791. meridiem: function (hour, minute, isLower) {
  8792. if (hour < 4) {
  8793. return 'ночи';
  8794. } else if (hour < 12) {
  8795. return 'утра';
  8796. } else if (hour < 17) {
  8797. return 'дня';
  8798. } else {
  8799. return 'вечера';
  8800. }
  8801. },
  8802. dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
  8803. ordinal: function (number, period) {
  8804. switch (period) {
  8805. case 'M':
  8806. case 'd':
  8807. case 'DDD':
  8808. return number + '-й';
  8809. case 'D':
  8810. return number + '-го';
  8811. case 'w':
  8812. case 'W':
  8813. return number + '-я';
  8814. default:
  8815. return number;
  8816. }
  8817. },
  8818. week: {
  8819. dow: 1, // Monday is the first day of the week.
  8820. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8821. },
  8822. });
  8823. //! moment.js locale configuration
  8824. var months$8 = [
  8825. 'جنوري',
  8826. 'فيبروري',
  8827. 'مارچ',
  8828. 'اپريل',
  8829. 'مئي',
  8830. 'جون',
  8831. 'جولاءِ',
  8832. 'آگسٽ',
  8833. 'سيپٽمبر',
  8834. 'آڪٽوبر',
  8835. 'نومبر',
  8836. 'ڊسمبر',
  8837. ],
  8838. days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];
  8839. moment.defineLocale('sd', {
  8840. months: months$8,
  8841. monthsShort: months$8,
  8842. weekdays: days,
  8843. weekdaysShort: days,
  8844. weekdaysMin: days,
  8845. longDateFormat: {
  8846. LT: 'HH:mm',
  8847. LTS: 'HH:mm:ss',
  8848. L: 'DD/MM/YYYY',
  8849. LL: 'D MMMM YYYY',
  8850. LLL: 'D MMMM YYYY HH:mm',
  8851. LLLL: 'dddd، D MMMM YYYY HH:mm',
  8852. },
  8853. meridiemParse: /صبح|شام/,
  8854. isPM: function (input) {
  8855. return 'شام' === input;
  8856. },
  8857. meridiem: function (hour, minute, isLower) {
  8858. if (hour < 12) {
  8859. return 'صبح';
  8860. }
  8861. return 'شام';
  8862. },
  8863. calendar: {
  8864. sameDay: '[اڄ] LT',
  8865. nextDay: '[سڀاڻي] LT',
  8866. nextWeek: 'dddd [اڳين هفتي تي] LT',
  8867. lastDay: '[ڪالهه] LT',
  8868. lastWeek: '[گزريل هفتي] dddd [تي] LT',
  8869. sameElse: 'L',
  8870. },
  8871. relativeTime: {
  8872. future: '%s پوء',
  8873. past: '%s اڳ',
  8874. s: 'چند سيڪنڊ',
  8875. ss: '%d سيڪنڊ',
  8876. m: 'هڪ منٽ',
  8877. mm: '%d منٽ',
  8878. h: 'هڪ ڪلاڪ',
  8879. hh: '%d ڪلاڪ',
  8880. d: 'هڪ ڏينهن',
  8881. dd: '%d ڏينهن',
  8882. M: 'هڪ مهينو',
  8883. MM: '%d مهينا',
  8884. y: 'هڪ سال',
  8885. yy: '%d سال',
  8886. },
  8887. preparse: function (string) {
  8888. return string.replace(/،/g, ',');
  8889. },
  8890. postformat: function (string) {
  8891. return string.replace(/,/g, '،');
  8892. },
  8893. week: {
  8894. dow: 1, // Monday is the first day of the week.
  8895. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8896. },
  8897. });
  8898. //! moment.js locale configuration
  8899. moment.defineLocale('se', {
  8900. months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(
  8901. '_'
  8902. ),
  8903. monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split(
  8904. '_'
  8905. ),
  8906. weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(
  8907. '_'
  8908. ),
  8909. weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
  8910. weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
  8911. longDateFormat: {
  8912. LT: 'HH:mm',
  8913. LTS: 'HH:mm:ss',
  8914. L: 'DD.MM.YYYY',
  8915. LL: 'MMMM D. [b.] YYYY',
  8916. LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
  8917. LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',
  8918. },
  8919. calendar: {
  8920. sameDay: '[otne ti] LT',
  8921. nextDay: '[ihttin ti] LT',
  8922. nextWeek: 'dddd [ti] LT',
  8923. lastDay: '[ikte ti] LT',
  8924. lastWeek: '[ovddit] dddd [ti] LT',
  8925. sameElse: 'L',
  8926. },
  8927. relativeTime: {
  8928. future: '%s geažes',
  8929. past: 'maŋit %s',
  8930. s: 'moadde sekunddat',
  8931. ss: '%d sekunddat',
  8932. m: 'okta minuhta',
  8933. mm: '%d minuhtat',
  8934. h: 'okta diimmu',
  8935. hh: '%d diimmut',
  8936. d: 'okta beaivi',
  8937. dd: '%d beaivvit',
  8938. M: 'okta mánnu',
  8939. MM: '%d mánut',
  8940. y: 'okta jahki',
  8941. yy: '%d jagit',
  8942. },
  8943. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8944. ordinal: '%d.',
  8945. week: {
  8946. dow: 1, // Monday is the first day of the week.
  8947. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8948. },
  8949. });
  8950. //! moment.js locale configuration
  8951. /*jshint -W100*/
  8952. moment.defineLocale('si', {
  8953. months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(
  8954. '_'
  8955. ),
  8956. monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(
  8957. '_'
  8958. ),
  8959. weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(
  8960. '_'
  8961. ),
  8962. weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),
  8963. weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),
  8964. weekdaysParseExact: true,
  8965. longDateFormat: {
  8966. LT: 'a h:mm',
  8967. LTS: 'a h:mm:ss',
  8968. L: 'YYYY/MM/DD',
  8969. LL: 'YYYY MMMM D',
  8970. LLL: 'YYYY MMMM D, a h:mm',
  8971. LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',
  8972. },
  8973. calendar: {
  8974. sameDay: '[අද] LT[ට]',
  8975. nextDay: '[හෙට] LT[ට]',
  8976. nextWeek: 'dddd LT[ට]',
  8977. lastDay: '[ඊයේ] LT[ට]',
  8978. lastWeek: '[පසුගිය] dddd LT[ට]',
  8979. sameElse: 'L',
  8980. },
  8981. relativeTime: {
  8982. future: '%sකින්',
  8983. past: '%sකට පෙර',
  8984. s: 'තත්පර කිහිපය',
  8985. ss: 'තත්පර %d',
  8986. m: 'මිනිත්තුව',
  8987. mm: 'මිනිත්තු %d',
  8988. h: 'පැය',
  8989. hh: 'පැය %d',
  8990. d: 'දිනය',
  8991. dd: 'දින %d',
  8992. M: 'මාසය',
  8993. MM: 'මාස %d',
  8994. y: 'වසර',
  8995. yy: 'වසර %d',
  8996. },
  8997. dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
  8998. ordinal: function (number) {
  8999. return number + ' වැනි';
  9000. },
  9001. meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
  9002. isPM: function (input) {
  9003. return input === 'ප.ව.' || input === 'පස් වරු';
  9004. },
  9005. meridiem: function (hours, minutes, isLower) {
  9006. if (hours > 11) {
  9007. return isLower ? 'ප.ව.' : 'පස් වරු';
  9008. } else {
  9009. return isLower ? 'පෙ.ව.' : 'පෙර වරු';
  9010. }
  9011. },
  9012. });
  9013. //! moment.js locale configuration
  9014. var months$9 = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(
  9015. '_'
  9016. ),
  9017. monthsShort$6 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
  9018. function plural$5(n) {
  9019. return n > 1 && n < 5;
  9020. }
  9021. function translate$9(number, withoutSuffix, key, isFuture) {
  9022. var result = number + ' ';
  9023. switch (key) {
  9024. case 's': // a few seconds / in a few seconds / a few seconds ago
  9025. return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
  9026. case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
  9027. if (withoutSuffix || isFuture) {
  9028. return result + (plural$5(number) ? 'sekundy' : 'sekúnd');
  9029. } else {
  9030. return result + 'sekundami';
  9031. }
  9032. case 'm': // a minute / in a minute / a minute ago
  9033. return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
  9034. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  9035. if (withoutSuffix || isFuture) {
  9036. return result + (plural$5(number) ? 'minúty' : 'minút');
  9037. } else {
  9038. return result + 'minútami';
  9039. }
  9040. case 'h': // an hour / in an hour / an hour ago
  9041. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  9042. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  9043. if (withoutSuffix || isFuture) {
  9044. return result + (plural$5(number) ? 'hodiny' : 'hodín');
  9045. } else {
  9046. return result + 'hodinami';
  9047. }
  9048. case 'd': // a day / in a day / a day ago
  9049. return withoutSuffix || isFuture ? 'deň' : 'dňom';
  9050. case 'dd': // 9 days / in 9 days / 9 days ago
  9051. if (withoutSuffix || isFuture) {
  9052. return result + (plural$5(number) ? 'dni' : 'dní');
  9053. } else {
  9054. return result + 'dňami';
  9055. }
  9056. case 'M': // a month / in a month / a month ago
  9057. return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
  9058. case 'MM': // 9 months / in 9 months / 9 months ago
  9059. if (withoutSuffix || isFuture) {
  9060. return result + (plural$5(number) ? 'mesiace' : 'mesiacov');
  9061. } else {
  9062. return result + 'mesiacmi';
  9063. }
  9064. case 'y': // a year / in a year / a year ago
  9065. return withoutSuffix || isFuture ? 'rok' : 'rokom';
  9066. case 'yy': // 9 years / in 9 years / 9 years ago
  9067. if (withoutSuffix || isFuture) {
  9068. return result + (plural$5(number) ? 'roky' : 'rokov');
  9069. } else {
  9070. return result + 'rokmi';
  9071. }
  9072. }
  9073. }
  9074. moment.defineLocale('sk', {
  9075. months: months$9,
  9076. monthsShort: monthsShort$6,
  9077. weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
  9078. weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
  9079. weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
  9080. longDateFormat: {
  9081. LT: 'H:mm',
  9082. LTS: 'H:mm:ss',
  9083. L: 'DD.MM.YYYY',
  9084. LL: 'D. MMMM YYYY',
  9085. LLL: 'D. MMMM YYYY H:mm',
  9086. LLLL: 'dddd D. MMMM YYYY H:mm',
  9087. },
  9088. calendar: {
  9089. sameDay: '[dnes o] LT',
  9090. nextDay: '[zajtra o] LT',
  9091. nextWeek: function () {
  9092. switch (this.day()) {
  9093. case 0:
  9094. return '[v nedeľu o] LT';
  9095. case 1:
  9096. case 2:
  9097. return '[v] dddd [o] LT';
  9098. case 3:
  9099. return '[v stredu o] LT';
  9100. case 4:
  9101. return '[vo štvrtok o] LT';
  9102. case 5:
  9103. return '[v piatok o] LT';
  9104. case 6:
  9105. return '[v sobotu o] LT';
  9106. }
  9107. },
  9108. lastDay: '[včera o] LT',
  9109. lastWeek: function () {
  9110. switch (this.day()) {
  9111. case 0:
  9112. return '[minulú nedeľu o] LT';
  9113. case 1:
  9114. case 2:
  9115. return '[minulý] dddd [o] LT';
  9116. case 3:
  9117. return '[minulú stredu o] LT';
  9118. case 4:
  9119. case 5:
  9120. return '[minulý] dddd [o] LT';
  9121. case 6:
  9122. return '[minulú sobotu o] LT';
  9123. }
  9124. },
  9125. sameElse: 'L',
  9126. },
  9127. relativeTime: {
  9128. future: 'za %s',
  9129. past: 'pred %s',
  9130. s: translate$9,
  9131. ss: translate$9,
  9132. m: translate$9,
  9133. mm: translate$9,
  9134. h: translate$9,
  9135. hh: translate$9,
  9136. d: translate$9,
  9137. dd: translate$9,
  9138. M: translate$9,
  9139. MM: translate$9,
  9140. y: translate$9,
  9141. yy: translate$9,
  9142. },
  9143. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9144. ordinal: '%d.',
  9145. week: {
  9146. dow: 1, // Monday is the first day of the week.
  9147. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9148. },
  9149. });
  9150. //! moment.js locale configuration
  9151. function processRelativeTime$7(number, withoutSuffix, key, isFuture) {
  9152. var result = number + ' ';
  9153. switch (key) {
  9154. case 's':
  9155. return withoutSuffix || isFuture
  9156. ? 'nekaj sekund'
  9157. : 'nekaj sekundami';
  9158. case 'ss':
  9159. if (number === 1) {
  9160. result += withoutSuffix ? 'sekundo' : 'sekundi';
  9161. } else if (number === 2) {
  9162. result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';
  9163. } else if (number < 5) {
  9164. result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';
  9165. } else {
  9166. result += 'sekund';
  9167. }
  9168. return result;
  9169. case 'm':
  9170. return withoutSuffix ? 'ena minuta' : 'eno minuto';
  9171. case 'mm':
  9172. if (number === 1) {
  9173. result += withoutSuffix ? 'minuta' : 'minuto';
  9174. } else if (number === 2) {
  9175. result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
  9176. } else if (number < 5) {
  9177. result += withoutSuffix || isFuture ? 'minute' : 'minutami';
  9178. } else {
  9179. result += withoutSuffix || isFuture ? 'minut' : 'minutami';
  9180. }
  9181. return result;
  9182. case 'h':
  9183. return withoutSuffix ? 'ena ura' : 'eno uro';
  9184. case 'hh':
  9185. if (number === 1) {
  9186. result += withoutSuffix ? 'ura' : 'uro';
  9187. } else if (number === 2) {
  9188. result += withoutSuffix || isFuture ? 'uri' : 'urama';
  9189. } else if (number < 5) {
  9190. result += withoutSuffix || isFuture ? 'ure' : 'urami';
  9191. } else {
  9192. result += withoutSuffix || isFuture ? 'ur' : 'urami';
  9193. }
  9194. return result;
  9195. case 'd':
  9196. return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
  9197. case 'dd':
  9198. if (number === 1) {
  9199. result += withoutSuffix || isFuture ? 'dan' : 'dnem';
  9200. } else if (number === 2) {
  9201. result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
  9202. } else {
  9203. result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
  9204. }
  9205. return result;
  9206. case 'M':
  9207. return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
  9208. case 'MM':
  9209. if (number === 1) {
  9210. result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
  9211. } else if (number === 2) {
  9212. result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
  9213. } else if (number < 5) {
  9214. result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
  9215. } else {
  9216. result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
  9217. }
  9218. return result;
  9219. case 'y':
  9220. return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
  9221. case 'yy':
  9222. if (number === 1) {
  9223. result += withoutSuffix || isFuture ? 'leto' : 'letom';
  9224. } else if (number === 2) {
  9225. result += withoutSuffix || isFuture ? 'leti' : 'letoma';
  9226. } else if (number < 5) {
  9227. result += withoutSuffix || isFuture ? 'leta' : 'leti';
  9228. } else {
  9229. result += withoutSuffix || isFuture ? 'let' : 'leti';
  9230. }
  9231. return result;
  9232. }
  9233. }
  9234. moment.defineLocale('sl', {
  9235. months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(
  9236. '_'
  9237. ),
  9238. monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(
  9239. '_'
  9240. ),
  9241. monthsParseExact: true,
  9242. weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
  9243. weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
  9244. weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
  9245. weekdaysParseExact: true,
  9246. longDateFormat: {
  9247. LT: 'H:mm',
  9248. LTS: 'H:mm:ss',
  9249. L: 'DD. MM. YYYY',
  9250. LL: 'D. MMMM YYYY',
  9251. LLL: 'D. MMMM YYYY H:mm',
  9252. LLLL: 'dddd, D. MMMM YYYY H:mm',
  9253. },
  9254. calendar: {
  9255. sameDay: '[danes ob] LT',
  9256. nextDay: '[jutri ob] LT',
  9257. nextWeek: function () {
  9258. switch (this.day()) {
  9259. case 0:
  9260. return '[v] [nedeljo] [ob] LT';
  9261. case 3:
  9262. return '[v] [sredo] [ob] LT';
  9263. case 6:
  9264. return '[v] [soboto] [ob] LT';
  9265. case 1:
  9266. case 2:
  9267. case 4:
  9268. case 5:
  9269. return '[v] dddd [ob] LT';
  9270. }
  9271. },
  9272. lastDay: '[včeraj ob] LT',
  9273. lastWeek: function () {
  9274. switch (this.day()) {
  9275. case 0:
  9276. return '[prejšnjo] [nedeljo] [ob] LT';
  9277. case 3:
  9278. return '[prejšnjo] [sredo] [ob] LT';
  9279. case 6:
  9280. return '[prejšnjo] [soboto] [ob] LT';
  9281. case 1:
  9282. case 2:
  9283. case 4:
  9284. case 5:
  9285. return '[prejšnji] dddd [ob] LT';
  9286. }
  9287. },
  9288. sameElse: 'L',
  9289. },
  9290. relativeTime: {
  9291. future: 'čez %s',
  9292. past: 'pred %s',
  9293. s: processRelativeTime$7,
  9294. ss: processRelativeTime$7,
  9295. m: processRelativeTime$7,
  9296. mm: processRelativeTime$7,
  9297. h: processRelativeTime$7,
  9298. hh: processRelativeTime$7,
  9299. d: processRelativeTime$7,
  9300. dd: processRelativeTime$7,
  9301. M: processRelativeTime$7,
  9302. MM: processRelativeTime$7,
  9303. y: processRelativeTime$7,
  9304. yy: processRelativeTime$7,
  9305. },
  9306. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9307. ordinal: '%d.',
  9308. week: {
  9309. dow: 1, // Monday is the first day of the week.
  9310. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9311. },
  9312. });
  9313. //! moment.js locale configuration
  9314. moment.defineLocale('sq', {
  9315. months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(
  9316. '_'
  9317. ),
  9318. monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
  9319. weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(
  9320. '_'
  9321. ),
  9322. weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
  9323. weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
  9324. weekdaysParseExact: true,
  9325. meridiemParse: /PD|MD/,
  9326. isPM: function (input) {
  9327. return input.charAt(0) === 'M';
  9328. },
  9329. meridiem: function (hours, minutes, isLower) {
  9330. return hours < 12 ? 'PD' : 'MD';
  9331. },
  9332. longDateFormat: {
  9333. LT: 'HH:mm',
  9334. LTS: 'HH:mm:ss',
  9335. L: 'DD/MM/YYYY',
  9336. LL: 'D MMMM YYYY',
  9337. LLL: 'D MMMM YYYY HH:mm',
  9338. LLLL: 'dddd, D MMMM YYYY HH:mm',
  9339. },
  9340. calendar: {
  9341. sameDay: '[Sot në] LT',
  9342. nextDay: '[Nesër në] LT',
  9343. nextWeek: 'dddd [në] LT',
  9344. lastDay: '[Dje në] LT',
  9345. lastWeek: 'dddd [e kaluar në] LT',
  9346. sameElse: 'L',
  9347. },
  9348. relativeTime: {
  9349. future: 'në %s',
  9350. past: '%s më parë',
  9351. s: 'disa sekonda',
  9352. ss: '%d sekonda',
  9353. m: 'një minutë',
  9354. mm: '%d minuta',
  9355. h: 'një orë',
  9356. hh: '%d orë',
  9357. d: 'një ditë',
  9358. dd: '%d ditë',
  9359. M: 'një muaj',
  9360. MM: '%d muaj',
  9361. y: 'një vit',
  9362. yy: '%d vite',
  9363. },
  9364. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9365. ordinal: '%d.',
  9366. week: {
  9367. dow: 1, // Monday is the first day of the week.
  9368. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9369. },
  9370. });
  9371. //! moment.js locale configuration
  9372. var translator$1 = {
  9373. words: {
  9374. //Different grammatical cases
  9375. ss: ['секунда', 'секунде', 'секунди'],
  9376. m: ['један минут', 'једне минуте'],
  9377. mm: ['минут', 'минуте', 'минута'],
  9378. h: ['један сат', 'једног сата'],
  9379. hh: ['сат', 'сата', 'сати'],
  9380. dd: ['дан', 'дана', 'дана'],
  9381. MM: ['месец', 'месеца', 'месеци'],
  9382. yy: ['година', 'године', 'година'],
  9383. },
  9384. correctGrammaticalCase: function (number, wordKey) {
  9385. return number === 1
  9386. ? wordKey[0]
  9387. : number >= 2 && number <= 4
  9388. ? wordKey[1]
  9389. : wordKey[2];
  9390. },
  9391. translate: function (number, withoutSuffix, key) {
  9392. var wordKey = translator$1.words[key];
  9393. if (key.length === 1) {
  9394. return withoutSuffix ? wordKey[0] : wordKey[1];
  9395. } else {
  9396. return (
  9397. number +
  9398. ' ' +
  9399. translator$1.correctGrammaticalCase(number, wordKey)
  9400. );
  9401. }
  9402. },
  9403. };
  9404. moment.defineLocale('sr-cyrl', {
  9405. months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(
  9406. '_'
  9407. ),
  9408. monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split(
  9409. '_'
  9410. ),
  9411. monthsParseExact: true,
  9412. weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
  9413. weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
  9414. weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
  9415. weekdaysParseExact: true,
  9416. longDateFormat: {
  9417. LT: 'H:mm',
  9418. LTS: 'H:mm:ss',
  9419. L: 'DD.MM.YYYY',
  9420. LL: 'D. MMMM YYYY',
  9421. LLL: 'D. MMMM YYYY H:mm',
  9422. LLLL: 'dddd, D. MMMM YYYY H:mm',
  9423. },
  9424. calendar: {
  9425. sameDay: '[данас у] LT',
  9426. nextDay: '[сутра у] LT',
  9427. nextWeek: function () {
  9428. switch (this.day()) {
  9429. case 0:
  9430. return '[у] [недељу] [у] LT';
  9431. case 3:
  9432. return '[у] [среду] [у] LT';
  9433. case 6:
  9434. return '[у] [суботу] [у] LT';
  9435. case 1:
  9436. case 2:
  9437. case 4:
  9438. case 5:
  9439. return '[у] dddd [у] LT';
  9440. }
  9441. },
  9442. lastDay: '[јуче у] LT',
  9443. lastWeek: function () {
  9444. var lastWeekDays = [
  9445. '[прошле] [недеље] [у] LT',
  9446. '[прошлог] [понедељка] [у] LT',
  9447. '[прошлог] [уторка] [у] LT',
  9448. '[прошле] [среде] [у] LT',
  9449. '[прошлог] [четвртка] [у] LT',
  9450. '[прошлог] [петка] [у] LT',
  9451. '[прошле] [суботе] [у] LT',
  9452. ];
  9453. return lastWeekDays[this.day()];
  9454. },
  9455. sameElse: 'L',
  9456. },
  9457. relativeTime: {
  9458. future: 'за %s',
  9459. past: 'пре %s',
  9460. s: 'неколико секунди',
  9461. ss: translator$1.translate,
  9462. m: translator$1.translate,
  9463. mm: translator$1.translate,
  9464. h: translator$1.translate,
  9465. hh: translator$1.translate,
  9466. d: 'дан',
  9467. dd: translator$1.translate,
  9468. M: 'месец',
  9469. MM: translator$1.translate,
  9470. y: 'годину',
  9471. yy: translator$1.translate,
  9472. },
  9473. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9474. ordinal: '%d.',
  9475. week: {
  9476. dow: 1, // Monday is the first day of the week.
  9477. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9478. },
  9479. });
  9480. //! moment.js locale configuration
  9481. var translator$2 = {
  9482. words: {
  9483. //Different grammatical cases
  9484. ss: ['sekunda', 'sekunde', 'sekundi'],
  9485. m: ['jedan minut', 'jedne minute'],
  9486. mm: ['minut', 'minute', 'minuta'],
  9487. h: ['jedan sat', 'jednog sata'],
  9488. hh: ['sat', 'sata', 'sati'],
  9489. dd: ['dan', 'dana', 'dana'],
  9490. MM: ['mesec', 'meseca', 'meseci'],
  9491. yy: ['godina', 'godine', 'godina'],
  9492. },
  9493. correctGrammaticalCase: function (number, wordKey) {
  9494. return number === 1
  9495. ? wordKey[0]
  9496. : number >= 2 && number <= 4
  9497. ? wordKey[1]
  9498. : wordKey[2];
  9499. },
  9500. translate: function (number, withoutSuffix, key) {
  9501. var wordKey = translator$2.words[key];
  9502. if (key.length === 1) {
  9503. return withoutSuffix ? wordKey[0] : wordKey[1];
  9504. } else {
  9505. return (
  9506. number +
  9507. ' ' +
  9508. translator$2.correctGrammaticalCase(number, wordKey)
  9509. );
  9510. }
  9511. },
  9512. };
  9513. moment.defineLocale('sr', {
  9514. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
  9515. '_'
  9516. ),
  9517. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(
  9518. '_'
  9519. ),
  9520. monthsParseExact: true,
  9521. weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(
  9522. '_'
  9523. ),
  9524. weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
  9525. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  9526. weekdaysParseExact: true,
  9527. longDateFormat: {
  9528. LT: 'H:mm',
  9529. LTS: 'H:mm:ss',
  9530. L: 'DD.MM.YYYY',
  9531. LL: 'D. MMMM YYYY',
  9532. LLL: 'D. MMMM YYYY H:mm',
  9533. LLLL: 'dddd, D. MMMM YYYY H:mm',
  9534. },
  9535. calendar: {
  9536. sameDay: '[danas u] LT',
  9537. nextDay: '[sutra u] LT',
  9538. nextWeek: function () {
  9539. switch (this.day()) {
  9540. case 0:
  9541. return '[u] [nedelju] [u] LT';
  9542. case 3:
  9543. return '[u] [sredu] [u] LT';
  9544. case 6:
  9545. return '[u] [subotu] [u] LT';
  9546. case 1:
  9547. case 2:
  9548. case 4:
  9549. case 5:
  9550. return '[u] dddd [u] LT';
  9551. }
  9552. },
  9553. lastDay: '[juče u] LT',
  9554. lastWeek: function () {
  9555. var lastWeekDays = [
  9556. '[prošle] [nedelje] [u] LT',
  9557. '[prošlog] [ponedeljka] [u] LT',
  9558. '[prošlog] [utorka] [u] LT',
  9559. '[prošle] [srede] [u] LT',
  9560. '[prošlog] [četvrtka] [u] LT',
  9561. '[prošlog] [petka] [u] LT',
  9562. '[prošle] [subote] [u] LT',
  9563. ];
  9564. return lastWeekDays[this.day()];
  9565. },
  9566. sameElse: 'L',
  9567. },
  9568. relativeTime: {
  9569. future: 'za %s',
  9570. past: 'pre %s',
  9571. s: 'nekoliko sekundi',
  9572. ss: translator$2.translate,
  9573. m: translator$2.translate,
  9574. mm: translator$2.translate,
  9575. h: translator$2.translate,
  9576. hh: translator$2.translate,
  9577. d: 'dan',
  9578. dd: translator$2.translate,
  9579. M: 'mesec',
  9580. MM: translator$2.translate,
  9581. y: 'godinu',
  9582. yy: translator$2.translate,
  9583. },
  9584. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9585. ordinal: '%d.',
  9586. week: {
  9587. dow: 1, // Monday is the first day of the week.
  9588. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9589. },
  9590. });
  9591. //! moment.js locale configuration
  9592. moment.defineLocale('ss', {
  9593. months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(
  9594. '_'
  9595. ),
  9596. monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
  9597. weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(
  9598. '_'
  9599. ),
  9600. weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
  9601. weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
  9602. weekdaysParseExact: true,
  9603. longDateFormat: {
  9604. LT: 'h:mm A',
  9605. LTS: 'h:mm:ss A',
  9606. L: 'DD/MM/YYYY',
  9607. LL: 'D MMMM YYYY',
  9608. LLL: 'D MMMM YYYY h:mm A',
  9609. LLLL: 'dddd, D MMMM YYYY h:mm A',
  9610. },
  9611. calendar: {
  9612. sameDay: '[Namuhla nga] LT',
  9613. nextDay: '[Kusasa nga] LT',
  9614. nextWeek: 'dddd [nga] LT',
  9615. lastDay: '[Itolo nga] LT',
  9616. lastWeek: 'dddd [leliphelile] [nga] LT',
  9617. sameElse: 'L',
  9618. },
  9619. relativeTime: {
  9620. future: 'nga %s',
  9621. past: 'wenteka nga %s',
  9622. s: 'emizuzwana lomcane',
  9623. ss: '%d mzuzwana',
  9624. m: 'umzuzu',
  9625. mm: '%d emizuzu',
  9626. h: 'lihora',
  9627. hh: '%d emahora',
  9628. d: 'lilanga',
  9629. dd: '%d emalanga',
  9630. M: 'inyanga',
  9631. MM: '%d tinyanga',
  9632. y: 'umnyaka',
  9633. yy: '%d iminyaka',
  9634. },
  9635. meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
  9636. meridiem: function (hours, minutes, isLower) {
  9637. if (hours < 11) {
  9638. return 'ekuseni';
  9639. } else if (hours < 15) {
  9640. return 'emini';
  9641. } else if (hours < 19) {
  9642. return 'entsambama';
  9643. } else {
  9644. return 'ebusuku';
  9645. }
  9646. },
  9647. meridiemHour: function (hour, meridiem) {
  9648. if (hour === 12) {
  9649. hour = 0;
  9650. }
  9651. if (meridiem === 'ekuseni') {
  9652. return hour;
  9653. } else if (meridiem === 'emini') {
  9654. return hour >= 11 ? hour : hour + 12;
  9655. } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
  9656. if (hour === 0) {
  9657. return 0;
  9658. }
  9659. return hour + 12;
  9660. }
  9661. },
  9662. dayOfMonthOrdinalParse: /\d{1,2}/,
  9663. ordinal: '%d',
  9664. week: {
  9665. dow: 1, // Monday is the first day of the week.
  9666. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9667. },
  9668. });
  9669. //! moment.js locale configuration
  9670. moment.defineLocale('sv', {
  9671. months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
  9672. '_'
  9673. ),
  9674. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  9675. weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
  9676. weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
  9677. weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
  9678. longDateFormat: {
  9679. LT: 'HH:mm',
  9680. LTS: 'HH:mm:ss',
  9681. L: 'YYYY-MM-DD',
  9682. LL: 'D MMMM YYYY',
  9683. LLL: 'D MMMM YYYY [kl.] HH:mm',
  9684. LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
  9685. lll: 'D MMM YYYY HH:mm',
  9686. llll: 'ddd D MMM YYYY HH:mm',
  9687. },
  9688. calendar: {
  9689. sameDay: '[Idag] LT',
  9690. nextDay: '[Imorgon] LT',
  9691. lastDay: '[Igår] LT',
  9692. nextWeek: '[På] dddd LT',
  9693. lastWeek: '[I] dddd[s] LT',
  9694. sameElse: 'L',
  9695. },
  9696. relativeTime: {
  9697. future: 'om %s',
  9698. past: 'för %s sedan',
  9699. s: 'några sekunder',
  9700. ss: '%d sekunder',
  9701. m: 'en minut',
  9702. mm: '%d minuter',
  9703. h: 'en timme',
  9704. hh: '%d timmar',
  9705. d: 'en dag',
  9706. dd: '%d dagar',
  9707. M: 'en månad',
  9708. MM: '%d månader',
  9709. y: 'ett år',
  9710. yy: '%d år',
  9711. },
  9712. dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
  9713. ordinal: function (number) {
  9714. var b = number % 10,
  9715. output =
  9716. ~~((number % 100) / 10) === 1
  9717. ? ':e'
  9718. : b === 1
  9719. ? ':a'
  9720. : b === 2
  9721. ? ':a'
  9722. : b === 3
  9723. ? ':e'
  9724. : ':e';
  9725. return number + output;
  9726. },
  9727. week: {
  9728. dow: 1, // Monday is the first day of the week.
  9729. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9730. },
  9731. });
  9732. //! moment.js locale configuration
  9733. moment.defineLocale('sw', {
  9734. months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
  9735. '_'
  9736. ),
  9737. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  9738. weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
  9739. '_'
  9740. ),
  9741. weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  9742. weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  9743. weekdaysParseExact: true,
  9744. longDateFormat: {
  9745. LT: 'hh:mm A',
  9746. LTS: 'HH:mm:ss',
  9747. L: 'DD.MM.YYYY',
  9748. LL: 'D MMMM YYYY',
  9749. LLL: 'D MMMM YYYY HH:mm',
  9750. LLLL: 'dddd, D MMMM YYYY HH:mm',
  9751. },
  9752. calendar: {
  9753. sameDay: '[leo saa] LT',
  9754. nextDay: '[kesho saa] LT',
  9755. nextWeek: '[wiki ijayo] dddd [saat] LT',
  9756. lastDay: '[jana] LT',
  9757. lastWeek: '[wiki iliyopita] dddd [saat] LT',
  9758. sameElse: 'L',
  9759. },
  9760. relativeTime: {
  9761. future: '%s baadaye',
  9762. past: 'tokea %s',
  9763. s: 'hivi punde',
  9764. ss: 'sekunde %d',
  9765. m: 'dakika moja',
  9766. mm: 'dakika %d',
  9767. h: 'saa limoja',
  9768. hh: 'masaa %d',
  9769. d: 'siku moja',
  9770. dd: 'siku %d',
  9771. M: 'mwezi mmoja',
  9772. MM: 'miezi %d',
  9773. y: 'mwaka mmoja',
  9774. yy: 'miaka %d',
  9775. },
  9776. week: {
  9777. dow: 1, // Monday is the first day of the week.
  9778. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9779. },
  9780. });
  9781. //! moment.js locale configuration
  9782. var symbolMap$f = {
  9783. '1': '௧',
  9784. '2': '௨',
  9785. '3': '௩',
  9786. '4': '௪',
  9787. '5': '௫',
  9788. '6': '௬',
  9789. '7': '௭',
  9790. '8': '௮',
  9791. '9': '௯',
  9792. '0': '௦',
  9793. },
  9794. numberMap$e = {
  9795. '௧': '1',
  9796. '௨': '2',
  9797. '௩': '3',
  9798. '௪': '4',
  9799. '௫': '5',
  9800. '௬': '6',
  9801. '௭': '7',
  9802. '௮': '8',
  9803. '௯': '9',
  9804. '௦': '0',
  9805. };
  9806. moment.defineLocale('ta', {
  9807. months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
  9808. '_'
  9809. ),
  9810. monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
  9811. '_'
  9812. ),
  9813. weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(
  9814. '_'
  9815. ),
  9816. weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(
  9817. '_'
  9818. ),
  9819. weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
  9820. longDateFormat: {
  9821. LT: 'HH:mm',
  9822. LTS: 'HH:mm:ss',
  9823. L: 'DD/MM/YYYY',
  9824. LL: 'D MMMM YYYY',
  9825. LLL: 'D MMMM YYYY, HH:mm',
  9826. LLLL: 'dddd, D MMMM YYYY, HH:mm',
  9827. },
  9828. calendar: {
  9829. sameDay: '[இன்று] LT',
  9830. nextDay: '[நாளை] LT',
  9831. nextWeek: 'dddd, LT',
  9832. lastDay: '[நேற்று] LT',
  9833. lastWeek: '[கடந்த வாரம்] dddd, LT',
  9834. sameElse: 'L',
  9835. },
  9836. relativeTime: {
  9837. future: '%s இல்',
  9838. past: '%s முன்',
  9839. s: 'ஒரு சில விநாடிகள்',
  9840. ss: '%d விநாடிகள்',
  9841. m: 'ஒரு நிமிடம்',
  9842. mm: '%d நிமிடங்கள்',
  9843. h: 'ஒரு மணி நேரம்',
  9844. hh: '%d மணி நேரம்',
  9845. d: 'ஒரு நாள்',
  9846. dd: '%d நாட்கள்',
  9847. M: 'ஒரு மாதம்',
  9848. MM: '%d மாதங்கள்',
  9849. y: 'ஒரு வருடம்',
  9850. yy: '%d ஆண்டுகள்',
  9851. },
  9852. dayOfMonthOrdinalParse: /\d{1,2}வது/,
  9853. ordinal: function (number) {
  9854. return number + 'வது';
  9855. },
  9856. preparse: function (string) {
  9857. return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
  9858. return numberMap$e[match];
  9859. });
  9860. },
  9861. postformat: function (string) {
  9862. return string.replace(/\d/g, function (match) {
  9863. return symbolMap$f[match];
  9864. });
  9865. },
  9866. // refer http://ta.wikipedia.org/s/1er1
  9867. meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
  9868. meridiem: function (hour, minute, isLower) {
  9869. if (hour < 2) {
  9870. return ' யாமம்';
  9871. } else if (hour < 6) {
  9872. return ' வைகறை'; // வைகறை
  9873. } else if (hour < 10) {
  9874. return ' காலை'; // காலை
  9875. } else if (hour < 14) {
  9876. return ' நண்பகல்'; // நண்பகல்
  9877. } else if (hour < 18) {
  9878. return ' எற்பாடு'; // எற்பாடு
  9879. } else if (hour < 22) {
  9880. return ' மாலை'; // மாலை
  9881. } else {
  9882. return ' யாமம்';
  9883. }
  9884. },
  9885. meridiemHour: function (hour, meridiem) {
  9886. if (hour === 12) {
  9887. hour = 0;
  9888. }
  9889. if (meridiem === 'யாமம்') {
  9890. return hour < 2 ? hour : hour + 12;
  9891. } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
  9892. return hour;
  9893. } else if (meridiem === 'நண்பகல்') {
  9894. return hour >= 10 ? hour : hour + 12;
  9895. } else {
  9896. return hour + 12;
  9897. }
  9898. },
  9899. week: {
  9900. dow: 0, // Sunday is the first day of the week.
  9901. doy: 6, // The week that contains Jan 6th is the first week of the year.
  9902. },
  9903. });
  9904. //! moment.js locale configuration
  9905. moment.defineLocale('te', {
  9906. months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(
  9907. '_'
  9908. ),
  9909. monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(
  9910. '_'
  9911. ),
  9912. monthsParseExact: true,
  9913. weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(
  9914. '_'
  9915. ),
  9916. weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
  9917. weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
  9918. longDateFormat: {
  9919. LT: 'A h:mm',
  9920. LTS: 'A h:mm:ss',
  9921. L: 'DD/MM/YYYY',
  9922. LL: 'D MMMM YYYY',
  9923. LLL: 'D MMMM YYYY, A h:mm',
  9924. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  9925. },
  9926. calendar: {
  9927. sameDay: '[నేడు] LT',
  9928. nextDay: '[రేపు] LT',
  9929. nextWeek: 'dddd, LT',
  9930. lastDay: '[నిన్న] LT',
  9931. lastWeek: '[గత] dddd, LT',
  9932. sameElse: 'L',
  9933. },
  9934. relativeTime: {
  9935. future: '%s లో',
  9936. past: '%s క్రితం',
  9937. s: 'కొన్ని క్షణాలు',
  9938. ss: '%d సెకన్లు',
  9939. m: 'ఒక నిమిషం',
  9940. mm: '%d నిమిషాలు',
  9941. h: 'ఒక గంట',
  9942. hh: '%d గంటలు',
  9943. d: 'ఒక రోజు',
  9944. dd: '%d రోజులు',
  9945. M: 'ఒక నెల',
  9946. MM: '%d నెలలు',
  9947. y: 'ఒక సంవత్సరం',
  9948. yy: '%d సంవత్సరాలు',
  9949. },
  9950. dayOfMonthOrdinalParse: /\d{1,2}వ/,
  9951. ordinal: '%dవ',
  9952. meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
  9953. meridiemHour: function (hour, meridiem) {
  9954. if (hour === 12) {
  9955. hour = 0;
  9956. }
  9957. if (meridiem === 'రాత్రి') {
  9958. return hour < 4 ? hour : hour + 12;
  9959. } else if (meridiem === 'ఉదయం') {
  9960. return hour;
  9961. } else if (meridiem === 'మధ్యాహ్నం') {
  9962. return hour >= 10 ? hour : hour + 12;
  9963. } else if (meridiem === 'సాయంత్రం') {
  9964. return hour + 12;
  9965. }
  9966. },
  9967. meridiem: function (hour, minute, isLower) {
  9968. if (hour < 4) {
  9969. return 'రాత్రి';
  9970. } else if (hour < 10) {
  9971. return 'ఉదయం';
  9972. } else if (hour < 17) {
  9973. return 'మధ్యాహ్నం';
  9974. } else if (hour < 20) {
  9975. return 'సాయంత్రం';
  9976. } else {
  9977. return 'రాత్రి';
  9978. }
  9979. },
  9980. week: {
  9981. dow: 0, // Sunday is the first day of the week.
  9982. doy: 6, // The week that contains Jan 6th is the first week of the year.
  9983. },
  9984. });
  9985. //! moment.js locale configuration
  9986. moment.defineLocale('tet', {
  9987. months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
  9988. '_'
  9989. ),
  9990. monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  9991. weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
  9992. weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
  9993. weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
  9994. longDateFormat: {
  9995. LT: 'HH:mm',
  9996. LTS: 'HH:mm:ss',
  9997. L: 'DD/MM/YYYY',
  9998. LL: 'D MMMM YYYY',
  9999. LLL: 'D MMMM YYYY HH:mm',
  10000. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10001. },
  10002. calendar: {
  10003. sameDay: '[Ohin iha] LT',
  10004. nextDay: '[Aban iha] LT',
  10005. nextWeek: 'dddd [iha] LT',
  10006. lastDay: '[Horiseik iha] LT',
  10007. lastWeek: 'dddd [semana kotuk] [iha] LT',
  10008. sameElse: 'L',
  10009. },
  10010. relativeTime: {
  10011. future: 'iha %s',
  10012. past: '%s liuba',
  10013. s: 'segundu balun',
  10014. ss: 'segundu %d',
  10015. m: 'minutu ida',
  10016. mm: 'minutu %d',
  10017. h: 'oras ida',
  10018. hh: 'oras %d',
  10019. d: 'loron ida',
  10020. dd: 'loron %d',
  10021. M: 'fulan ida',
  10022. MM: 'fulan %d',
  10023. y: 'tinan ida',
  10024. yy: 'tinan %d',
  10025. },
  10026. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  10027. ordinal: function (number) {
  10028. var b = number % 10,
  10029. output =
  10030. ~~((number % 100) / 10) === 1
  10031. ? 'th'
  10032. : b === 1
  10033. ? 'st'
  10034. : b === 2
  10035. ? 'nd'
  10036. : b === 3
  10037. ? 'rd'
  10038. : 'th';
  10039. return number + output;
  10040. },
  10041. week: {
  10042. dow: 1, // Monday is the first day of the week.
  10043. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10044. },
  10045. });
  10046. //! moment.js locale configuration
  10047. var suffixes$3 = {
  10048. 0: '-ум',
  10049. 1: '-ум',
  10050. 2: '-юм',
  10051. 3: '-юм',
  10052. 4: '-ум',
  10053. 5: '-ум',
  10054. 6: '-ум',
  10055. 7: '-ум',
  10056. 8: '-ум',
  10057. 9: '-ум',
  10058. 10: '-ум',
  10059. 12: '-ум',
  10060. 13: '-ум',
  10061. 20: '-ум',
  10062. 30: '-юм',
  10063. 40: '-ум',
  10064. 50: '-ум',
  10065. 60: '-ум',
  10066. 70: '-ум',
  10067. 80: '-ум',
  10068. 90: '-ум',
  10069. 100: '-ум',
  10070. };
  10071. moment.defineLocale('tg', {
  10072. months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
  10073. '_'
  10074. ),
  10075. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  10076. weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(
  10077. '_'
  10078. ),
  10079. weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
  10080. weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
  10081. longDateFormat: {
  10082. LT: 'HH:mm',
  10083. LTS: 'HH:mm:ss',
  10084. L: 'DD/MM/YYYY',
  10085. LL: 'D MMMM YYYY',
  10086. LLL: 'D MMMM YYYY HH:mm',
  10087. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10088. },
  10089. calendar: {
  10090. sameDay: '[Имрӯз соати] LT',
  10091. nextDay: '[Пагоҳ соати] LT',
  10092. lastDay: '[Дирӯз соати] LT',
  10093. nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
  10094. lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
  10095. sameElse: 'L',
  10096. },
  10097. relativeTime: {
  10098. future: 'баъди %s',
  10099. past: '%s пеш',
  10100. s: 'якчанд сония',
  10101. m: 'як дақиқа',
  10102. mm: '%d дақиқа',
  10103. h: 'як соат',
  10104. hh: '%d соат',
  10105. d: 'як рӯз',
  10106. dd: '%d рӯз',
  10107. M: 'як моҳ',
  10108. MM: '%d моҳ',
  10109. y: 'як сол',
  10110. yy: '%d сол',
  10111. },
  10112. meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
  10113. meridiemHour: function (hour, meridiem) {
  10114. if (hour === 12) {
  10115. hour = 0;
  10116. }
  10117. if (meridiem === 'шаб') {
  10118. return hour < 4 ? hour : hour + 12;
  10119. } else if (meridiem === 'субҳ') {
  10120. return hour;
  10121. } else if (meridiem === 'рӯз') {
  10122. return hour >= 11 ? hour : hour + 12;
  10123. } else if (meridiem === 'бегоҳ') {
  10124. return hour + 12;
  10125. }
  10126. },
  10127. meridiem: function (hour, minute, isLower) {
  10128. if (hour < 4) {
  10129. return 'шаб';
  10130. } else if (hour < 11) {
  10131. return 'субҳ';
  10132. } else if (hour < 16) {
  10133. return 'рӯз';
  10134. } else if (hour < 19) {
  10135. return 'бегоҳ';
  10136. } else {
  10137. return 'шаб';
  10138. }
  10139. },
  10140. dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
  10141. ordinal: function (number) {
  10142. var a = number % 10,
  10143. b = number >= 100 ? 100 : null;
  10144. return number + (suffixes$3[number] || suffixes$3[a] || suffixes$3[b]);
  10145. },
  10146. week: {
  10147. dow: 1, // Monday is the first day of the week.
  10148. doy: 7, // The week that contains Jan 1th is the first week of the year.
  10149. },
  10150. });
  10151. //! moment.js locale configuration
  10152. moment.defineLocale('th', {
  10153. months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(
  10154. '_'
  10155. ),
  10156. monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(
  10157. '_'
  10158. ),
  10159. monthsParseExact: true,
  10160. weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
  10161. weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
  10162. weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
  10163. weekdaysParseExact: true,
  10164. longDateFormat: {
  10165. LT: 'H:mm',
  10166. LTS: 'H:mm:ss',
  10167. L: 'DD/MM/YYYY',
  10168. LL: 'D MMMM YYYY',
  10169. LLL: 'D MMMM YYYY เวลา H:mm',
  10170. LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',
  10171. },
  10172. meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
  10173. isPM: function (input) {
  10174. return input === 'หลังเที่ยง';
  10175. },
  10176. meridiem: function (hour, minute, isLower) {
  10177. if (hour < 12) {
  10178. return 'ก่อนเที่ยง';
  10179. } else {
  10180. return 'หลังเที่ยง';
  10181. }
  10182. },
  10183. calendar: {
  10184. sameDay: '[วันนี้ เวลา] LT',
  10185. nextDay: '[พรุ่งนี้ เวลา] LT',
  10186. nextWeek: 'dddd[หน้า เวลา] LT',
  10187. lastDay: '[เมื่อวานนี้ เวลา] LT',
  10188. lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
  10189. sameElse: 'L',
  10190. },
  10191. relativeTime: {
  10192. future: 'อีก %s',
  10193. past: '%sที่แล้ว',
  10194. s: 'ไม่กี่วินาที',
  10195. ss: '%d วินาที',
  10196. m: '1 นาที',
  10197. mm: '%d นาที',
  10198. h: '1 ชั่วโมง',
  10199. hh: '%d ชั่วโมง',
  10200. d: '1 วัน',
  10201. dd: '%d วัน',
  10202. M: '1 เดือน',
  10203. MM: '%d เดือน',
  10204. y: '1 ปี',
  10205. yy: '%d ปี',
  10206. },
  10207. });
  10208. //! moment.js locale configuration
  10209. var suffixes$4 = {
  10210. 1: "'inji",
  10211. 5: "'inji",
  10212. 8: "'inji",
  10213. 70: "'inji",
  10214. 80: "'inji",
  10215. 2: "'nji",
  10216. 7: "'nji",
  10217. 20: "'nji",
  10218. 50: "'nji",
  10219. 3: "'ünji",
  10220. 4: "'ünji",
  10221. 100: "'ünji",
  10222. 6: "'njy",
  10223. 9: "'unjy",
  10224. 10: "'unjy",
  10225. 30: "'unjy",
  10226. 60: "'ynjy",
  10227. 90: "'ynjy",
  10228. };
  10229. moment.defineLocale('tk', {
  10230. months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(
  10231. '_'
  10232. ),
  10233. monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
  10234. weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(
  10235. '_'
  10236. ),
  10237. weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
  10238. weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
  10239. longDateFormat: {
  10240. LT: 'HH:mm',
  10241. LTS: 'HH:mm:ss',
  10242. L: 'DD.MM.YYYY',
  10243. LL: 'D MMMM YYYY',
  10244. LLL: 'D MMMM YYYY HH:mm',
  10245. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10246. },
  10247. calendar: {
  10248. sameDay: '[bugün sagat] LT',
  10249. nextDay: '[ertir sagat] LT',
  10250. nextWeek: '[indiki] dddd [sagat] LT',
  10251. lastDay: '[düýn] LT',
  10252. lastWeek: '[geçen] dddd [sagat] LT',
  10253. sameElse: 'L',
  10254. },
  10255. relativeTime: {
  10256. future: '%s soň',
  10257. past: '%s öň',
  10258. s: 'birnäçe sekunt',
  10259. m: 'bir minut',
  10260. mm: '%d minut',
  10261. h: 'bir sagat',
  10262. hh: '%d sagat',
  10263. d: 'bir gün',
  10264. dd: '%d gün',
  10265. M: 'bir aý',
  10266. MM: '%d aý',
  10267. y: 'bir ýyl',
  10268. yy: '%d ýyl',
  10269. },
  10270. ordinal: function (number, period) {
  10271. switch (period) {
  10272. case 'd':
  10273. case 'D':
  10274. case 'Do':
  10275. case 'DD':
  10276. return number;
  10277. default:
  10278. if (number === 0) {
  10279. // special case for zero
  10280. return number + "'unjy";
  10281. }
  10282. var a = number % 10,
  10283. b = (number % 100) - a,
  10284. c = number >= 100 ? 100 : null;
  10285. return number + (suffixes$4[a] || suffixes$4[b] || suffixes$4[c]);
  10286. }
  10287. },
  10288. week: {
  10289. dow: 1, // Monday is the first day of the week.
  10290. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10291. },
  10292. });
  10293. //! moment.js locale configuration
  10294. moment.defineLocale('tl-ph', {
  10295. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  10296. '_'
  10297. ),
  10298. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  10299. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  10300. '_'
  10301. ),
  10302. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  10303. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  10304. longDateFormat: {
  10305. LT: 'HH:mm',
  10306. LTS: 'HH:mm:ss',
  10307. L: 'MM/D/YYYY',
  10308. LL: 'MMMM D, YYYY',
  10309. LLL: 'MMMM D, YYYY HH:mm',
  10310. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  10311. },
  10312. calendar: {
  10313. sameDay: 'LT [ngayong araw]',
  10314. nextDay: '[Bukas ng] LT',
  10315. nextWeek: 'LT [sa susunod na] dddd',
  10316. lastDay: 'LT [kahapon]',
  10317. lastWeek: 'LT [noong nakaraang] dddd',
  10318. sameElse: 'L',
  10319. },
  10320. relativeTime: {
  10321. future: 'sa loob ng %s',
  10322. past: '%s ang nakalipas',
  10323. s: 'ilang segundo',
  10324. ss: '%d segundo',
  10325. m: 'isang minuto',
  10326. mm: '%d minuto',
  10327. h: 'isang oras',
  10328. hh: '%d oras',
  10329. d: 'isang araw',
  10330. dd: '%d araw',
  10331. M: 'isang buwan',
  10332. MM: '%d buwan',
  10333. y: 'isang taon',
  10334. yy: '%d taon',
  10335. },
  10336. dayOfMonthOrdinalParse: /\d{1,2}/,
  10337. ordinal: function (number) {
  10338. return number;
  10339. },
  10340. week: {
  10341. dow: 1, // Monday is the first day of the week.
  10342. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10343. },
  10344. });
  10345. //! moment.js locale configuration
  10346. var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
  10347. function translateFuture(output) {
  10348. var time = output;
  10349. time =
  10350. output.indexOf('jaj') !== -1
  10351. ? time.slice(0, -3) + 'leS'
  10352. : output.indexOf('jar') !== -1
  10353. ? time.slice(0, -3) + 'waQ'
  10354. : output.indexOf('DIS') !== -1
  10355. ? time.slice(0, -3) + 'nem'
  10356. : time + ' pIq';
  10357. return time;
  10358. }
  10359. function translatePast(output) {
  10360. var time = output;
  10361. time =
  10362. output.indexOf('jaj') !== -1
  10363. ? time.slice(0, -3) + 'Hu’'
  10364. : output.indexOf('jar') !== -1
  10365. ? time.slice(0, -3) + 'wen'
  10366. : output.indexOf('DIS') !== -1
  10367. ? time.slice(0, -3) + 'ben'
  10368. : time + ' ret';
  10369. return time;
  10370. }
  10371. function translate$a(number, withoutSuffix, string, isFuture) {
  10372. var numberNoun = numberAsNoun(number);
  10373. switch (string) {
  10374. case 'ss':
  10375. return numberNoun + ' lup';
  10376. case 'mm':
  10377. return numberNoun + ' tup';
  10378. case 'hh':
  10379. return numberNoun + ' rep';
  10380. case 'dd':
  10381. return numberNoun + ' jaj';
  10382. case 'MM':
  10383. return numberNoun + ' jar';
  10384. case 'yy':
  10385. return numberNoun + ' DIS';
  10386. }
  10387. }
  10388. function numberAsNoun(number) {
  10389. var hundred = Math.floor((number % 1000) / 100),
  10390. ten = Math.floor((number % 100) / 10),
  10391. one = number % 10,
  10392. word = '';
  10393. if (hundred > 0) {
  10394. word += numbersNouns[hundred] + 'vatlh';
  10395. }
  10396. if (ten > 0) {
  10397. word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
  10398. }
  10399. if (one > 0) {
  10400. word += (word !== '' ? ' ' : '') + numbersNouns[one];
  10401. }
  10402. return word === '' ? 'pagh' : word;
  10403. }
  10404. moment.defineLocale('tlh', {
  10405. months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(
  10406. '_'
  10407. ),
  10408. monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(
  10409. '_'
  10410. ),
  10411. monthsParseExact: true,
  10412. weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
  10413. '_'
  10414. ),
  10415. weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
  10416. '_'
  10417. ),
  10418. weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
  10419. '_'
  10420. ),
  10421. longDateFormat: {
  10422. LT: 'HH:mm',
  10423. LTS: 'HH:mm:ss',
  10424. L: 'DD.MM.YYYY',
  10425. LL: 'D MMMM YYYY',
  10426. LLL: 'D MMMM YYYY HH:mm',
  10427. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10428. },
  10429. calendar: {
  10430. sameDay: '[DaHjaj] LT',
  10431. nextDay: '[wa’leS] LT',
  10432. nextWeek: 'LLL',
  10433. lastDay: '[wa’Hu’] LT',
  10434. lastWeek: 'LLL',
  10435. sameElse: 'L',
  10436. },
  10437. relativeTime: {
  10438. future: translateFuture,
  10439. past: translatePast,
  10440. s: 'puS lup',
  10441. ss: translate$a,
  10442. m: 'wa’ tup',
  10443. mm: translate$a,
  10444. h: 'wa’ rep',
  10445. hh: translate$a,
  10446. d: 'wa’ jaj',
  10447. dd: translate$a,
  10448. M: 'wa’ jar',
  10449. MM: translate$a,
  10450. y: 'wa’ DIS',
  10451. yy: translate$a,
  10452. },
  10453. dayOfMonthOrdinalParse: /\d{1,2}\./,
  10454. ordinal: '%d.',
  10455. week: {
  10456. dow: 1, // Monday is the first day of the week.
  10457. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10458. },
  10459. });
  10460. //! moment.js locale configuration
  10461. var suffixes$5 = {
  10462. 1: "'inci",
  10463. 5: "'inci",
  10464. 8: "'inci",
  10465. 70: "'inci",
  10466. 80: "'inci",
  10467. 2: "'nci",
  10468. 7: "'nci",
  10469. 20: "'nci",
  10470. 50: "'nci",
  10471. 3: "'üncü",
  10472. 4: "'üncü",
  10473. 100: "'üncü",
  10474. 6: "'ncı",
  10475. 9: "'uncu",
  10476. 10: "'uncu",
  10477. 30: "'uncu",
  10478. 60: "'ıncı",
  10479. 90: "'ıncı",
  10480. };
  10481. moment.defineLocale('tr', {
  10482. months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(
  10483. '_'
  10484. ),
  10485. monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
  10486. weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(
  10487. '_'
  10488. ),
  10489. weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
  10490. weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
  10491. meridiem: function (hours, minutes, isLower) {
  10492. if (hours < 12) {
  10493. return isLower ? 'öö' : 'ÖÖ';
  10494. } else {
  10495. return isLower ? 'ös' : 'ÖS';
  10496. }
  10497. },
  10498. meridiemParse: /öö|ÖÖ|ös|ÖS/,
  10499. isPM: function (input) {
  10500. return input === 'ös' || input === 'ÖS';
  10501. },
  10502. longDateFormat: {
  10503. LT: 'HH:mm',
  10504. LTS: 'HH:mm:ss',
  10505. L: 'DD.MM.YYYY',
  10506. LL: 'D MMMM YYYY',
  10507. LLL: 'D MMMM YYYY HH:mm',
  10508. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10509. },
  10510. calendar: {
  10511. sameDay: '[bugün saat] LT',
  10512. nextDay: '[yarın saat] LT',
  10513. nextWeek: '[gelecek] dddd [saat] LT',
  10514. lastDay: '[dün] LT',
  10515. lastWeek: '[geçen] dddd [saat] LT',
  10516. sameElse: 'L',
  10517. },
  10518. relativeTime: {
  10519. future: '%s sonra',
  10520. past: '%s önce',
  10521. s: 'birkaç saniye',
  10522. ss: '%d saniye',
  10523. m: 'bir dakika',
  10524. mm: '%d dakika',
  10525. h: 'bir saat',
  10526. hh: '%d saat',
  10527. d: 'bir gün',
  10528. dd: '%d gün',
  10529. M: 'bir ay',
  10530. MM: '%d ay',
  10531. y: 'bir yıl',
  10532. yy: '%d yıl',
  10533. },
  10534. ordinal: function (number, period) {
  10535. switch (period) {
  10536. case 'd':
  10537. case 'D':
  10538. case 'Do':
  10539. case 'DD':
  10540. return number;
  10541. default:
  10542. if (number === 0) {
  10543. // special case for zero
  10544. return number + "'ıncı";
  10545. }
  10546. var a = number % 10,
  10547. b = (number % 100) - a,
  10548. c = number >= 100 ? 100 : null;
  10549. return number + (suffixes$5[a] || suffixes$5[b] || suffixes$5[c]);
  10550. }
  10551. },
  10552. week: {
  10553. dow: 1, // Monday is the first day of the week.
  10554. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10555. },
  10556. });
  10557. //! moment.js locale configuration
  10558. // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
  10559. // This is currently too difficult (maybe even impossible) to add.
  10560. moment.defineLocale('tzl', {
  10561. months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
  10562. '_'
  10563. ),
  10564. monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
  10565. weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
  10566. weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
  10567. weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
  10568. longDateFormat: {
  10569. LT: 'HH.mm',
  10570. LTS: 'HH.mm.ss',
  10571. L: 'DD.MM.YYYY',
  10572. LL: 'D. MMMM [dallas] YYYY',
  10573. LLL: 'D. MMMM [dallas] YYYY HH.mm',
  10574. LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
  10575. },
  10576. meridiemParse: /d\'o|d\'a/i,
  10577. isPM: function (input) {
  10578. return "d'o" === input.toLowerCase();
  10579. },
  10580. meridiem: function (hours, minutes, isLower) {
  10581. if (hours > 11) {
  10582. return isLower ? "d'o" : "D'O";
  10583. } else {
  10584. return isLower ? "d'a" : "D'A";
  10585. }
  10586. },
  10587. calendar: {
  10588. sameDay: '[oxhi à] LT',
  10589. nextDay: '[demà à] LT',
  10590. nextWeek: 'dddd [à] LT',
  10591. lastDay: '[ieiri à] LT',
  10592. lastWeek: '[sür el] dddd [lasteu à] LT',
  10593. sameElse: 'L',
  10594. },
  10595. relativeTime: {
  10596. future: 'osprei %s',
  10597. past: 'ja%s',
  10598. s: processRelativeTime$8,
  10599. ss: processRelativeTime$8,
  10600. m: processRelativeTime$8,
  10601. mm: processRelativeTime$8,
  10602. h: processRelativeTime$8,
  10603. hh: processRelativeTime$8,
  10604. d: processRelativeTime$8,
  10605. dd: processRelativeTime$8,
  10606. M: processRelativeTime$8,
  10607. MM: processRelativeTime$8,
  10608. y: processRelativeTime$8,
  10609. yy: processRelativeTime$8,
  10610. },
  10611. dayOfMonthOrdinalParse: /\d{1,2}\./,
  10612. ordinal: '%d.',
  10613. week: {
  10614. dow: 1, // Monday is the first day of the week.
  10615. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10616. },
  10617. });
  10618. function processRelativeTime$8(number, withoutSuffix, key, isFuture) {
  10619. var format = {
  10620. s: ['viensas secunds', "'iensas secunds"],
  10621. ss: [number + ' secunds', '' + number + ' secunds'],
  10622. m: ["'n míut", "'iens míut"],
  10623. mm: [number + ' míuts', '' + number + ' míuts'],
  10624. h: ["'n þora", "'iensa þora"],
  10625. hh: [number + ' þoras', '' + number + ' þoras'],
  10626. d: ["'n ziua", "'iensa ziua"],
  10627. dd: [number + ' ziuas', '' + number + ' ziuas'],
  10628. M: ["'n mes", "'iens mes"],
  10629. MM: [number + ' mesen', '' + number + ' mesen'],
  10630. y: ["'n ar", "'iens ar"],
  10631. yy: [number + ' ars', '' + number + ' ars'],
  10632. };
  10633. return isFuture
  10634. ? format[key][0]
  10635. : withoutSuffix
  10636. ? format[key][0]
  10637. : format[key][1];
  10638. }
  10639. //! moment.js locale configuration
  10640. moment.defineLocale('tzm-latn', {
  10641. months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  10642. '_'
  10643. ),
  10644. monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  10645. '_'
  10646. ),
  10647. weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  10648. weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  10649. weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  10650. longDateFormat: {
  10651. LT: 'HH:mm',
  10652. LTS: 'HH:mm:ss',
  10653. L: 'DD/MM/YYYY',
  10654. LL: 'D MMMM YYYY',
  10655. LLL: 'D MMMM YYYY HH:mm',
  10656. LLLL: 'dddd D MMMM YYYY HH:mm',
  10657. },
  10658. calendar: {
  10659. sameDay: '[asdkh g] LT',
  10660. nextDay: '[aska g] LT',
  10661. nextWeek: 'dddd [g] LT',
  10662. lastDay: '[assant g] LT',
  10663. lastWeek: 'dddd [g] LT',
  10664. sameElse: 'L',
  10665. },
  10666. relativeTime: {
  10667. future: 'dadkh s yan %s',
  10668. past: 'yan %s',
  10669. s: 'imik',
  10670. ss: '%d imik',
  10671. m: 'minuḍ',
  10672. mm: '%d minuḍ',
  10673. h: 'saɛa',
  10674. hh: '%d tassaɛin',
  10675. d: 'ass',
  10676. dd: '%d ossan',
  10677. M: 'ayowr',
  10678. MM: '%d iyyirn',
  10679. y: 'asgas',
  10680. yy: '%d isgasn',
  10681. },
  10682. week: {
  10683. dow: 6, // Saturday is the first day of the week.
  10684. doy: 12, // The week that contains Jan 12th is the first week of the year.
  10685. },
  10686. });
  10687. //! moment.js locale configuration
  10688. moment.defineLocale('tzm', {
  10689. months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  10690. '_'
  10691. ),
  10692. monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  10693. '_'
  10694. ),
  10695. weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  10696. weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  10697. weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  10698. longDateFormat: {
  10699. LT: 'HH:mm',
  10700. LTS: 'HH:mm:ss',
  10701. L: 'DD/MM/YYYY',
  10702. LL: 'D MMMM YYYY',
  10703. LLL: 'D MMMM YYYY HH:mm',
  10704. LLLL: 'dddd D MMMM YYYY HH:mm',
  10705. },
  10706. calendar: {
  10707. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  10708. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  10709. nextWeek: 'dddd [ⴴ] LT',
  10710. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  10711. lastWeek: 'dddd [ⴴ] LT',
  10712. sameElse: 'L',
  10713. },
  10714. relativeTime: {
  10715. future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  10716. past: 'ⵢⴰⵏ %s',
  10717. s: 'ⵉⵎⵉⴽ',
  10718. ss: '%d ⵉⵎⵉⴽ',
  10719. m: 'ⵎⵉⵏⵓⴺ',
  10720. mm: '%d ⵎⵉⵏⵓⴺ',
  10721. h: 'ⵙⴰⵄⴰ',
  10722. hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  10723. d: 'ⴰⵙⵙ',
  10724. dd: '%d oⵙⵙⴰⵏ',
  10725. M: 'ⴰⵢoⵓⵔ',
  10726. MM: '%d ⵉⵢⵢⵉⵔⵏ',
  10727. y: 'ⴰⵙⴳⴰⵙ',
  10728. yy: '%d ⵉⵙⴳⴰⵙⵏ',
  10729. },
  10730. week: {
  10731. dow: 6, // Saturday is the first day of the week.
  10732. doy: 12, // The week that contains Jan 12th is the first week of the year.
  10733. },
  10734. });
  10735. //! moment.js language configuration
  10736. moment.defineLocale('ug-cn', {
  10737. months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
  10738. '_'
  10739. ),
  10740. monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
  10741. '_'
  10742. ),
  10743. weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
  10744. '_'
  10745. ),
  10746. weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  10747. weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  10748. longDateFormat: {
  10749. LT: 'HH:mm',
  10750. LTS: 'HH:mm:ss',
  10751. L: 'YYYY-MM-DD',
  10752. LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
  10753. LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  10754. LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  10755. },
  10756. meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
  10757. meridiemHour: function (hour, meridiem) {
  10758. if (hour === 12) {
  10759. hour = 0;
  10760. }
  10761. if (
  10762. meridiem === 'يېرىم كېچە' ||
  10763. meridiem === 'سەھەر' ||
  10764. meridiem === 'چۈشتىن بۇرۇن'
  10765. ) {
  10766. return hour;
  10767. } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
  10768. return hour + 12;
  10769. } else {
  10770. return hour >= 11 ? hour : hour + 12;
  10771. }
  10772. },
  10773. meridiem: function (hour, minute, isLower) {
  10774. var hm = hour * 100 + minute;
  10775. if (hm < 600) {
  10776. return 'يېرىم كېچە';
  10777. } else if (hm < 900) {
  10778. return 'سەھەر';
  10779. } else if (hm < 1130) {
  10780. return 'چۈشتىن بۇرۇن';
  10781. } else if (hm < 1230) {
  10782. return 'چۈش';
  10783. } else if (hm < 1800) {
  10784. return 'چۈشتىن كېيىن';
  10785. } else {
  10786. return 'كەچ';
  10787. }
  10788. },
  10789. calendar: {
  10790. sameDay: '[بۈگۈن سائەت] LT',
  10791. nextDay: '[ئەتە سائەت] LT',
  10792. nextWeek: '[كېلەركى] dddd [سائەت] LT',
  10793. lastDay: '[تۆنۈگۈن] LT',
  10794. lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
  10795. sameElse: 'L',
  10796. },
  10797. relativeTime: {
  10798. future: '%s كېيىن',
  10799. past: '%s بۇرۇن',
  10800. s: 'نەچچە سېكونت',
  10801. ss: '%d سېكونت',
  10802. m: 'بىر مىنۇت',
  10803. mm: '%d مىنۇت',
  10804. h: 'بىر سائەت',
  10805. hh: '%d سائەت',
  10806. d: 'بىر كۈن',
  10807. dd: '%d كۈن',
  10808. M: 'بىر ئاي',
  10809. MM: '%d ئاي',
  10810. y: 'بىر يىل',
  10811. yy: '%d يىل',
  10812. },
  10813. dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
  10814. ordinal: function (number, period) {
  10815. switch (period) {
  10816. case 'd':
  10817. case 'D':
  10818. case 'DDD':
  10819. return number + '-كۈنى';
  10820. case 'w':
  10821. case 'W':
  10822. return number + '-ھەپتە';
  10823. default:
  10824. return number;
  10825. }
  10826. },
  10827. preparse: function (string) {
  10828. return string.replace(/،/g, ',');
  10829. },
  10830. postformat: function (string) {
  10831. return string.replace(/,/g, '،');
  10832. },
  10833. week: {
  10834. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  10835. dow: 1, // Monday is the first day of the week.
  10836. doy: 7, // The week that contains Jan 1st is the first week of the year.
  10837. },
  10838. });
  10839. //! moment.js locale configuration
  10840. function plural$6(word, num) {
  10841. var forms = word.split('_');
  10842. return num % 10 === 1 && num % 100 !== 11
  10843. ? forms[0]
  10844. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  10845. ? forms[1]
  10846. : forms[2];
  10847. }
  10848. function relativeTimeWithPlural$4(number, withoutSuffix, key) {
  10849. var format = {
  10850. ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
  10851. mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
  10852. hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
  10853. dd: 'день_дні_днів',
  10854. MM: 'місяць_місяці_місяців',
  10855. yy: 'рік_роки_років',
  10856. };
  10857. if (key === 'm') {
  10858. return withoutSuffix ? 'хвилина' : 'хвилину';
  10859. } else if (key === 'h') {
  10860. return withoutSuffix ? 'година' : 'годину';
  10861. } else {
  10862. return number + ' ' + plural$6(format[key], +number);
  10863. }
  10864. }
  10865. function weekdaysCaseReplace(m, format) {
  10866. var weekdays = {
  10867. nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(
  10868. '_'
  10869. ),
  10870. accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(
  10871. '_'
  10872. ),
  10873. genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(
  10874. '_'
  10875. ),
  10876. },
  10877. nounCase;
  10878. if (m === true) {
  10879. return weekdays['nominative']
  10880. .slice(1, 7)
  10881. .concat(weekdays['nominative'].slice(0, 1));
  10882. }
  10883. if (!m) {
  10884. return weekdays['nominative'];
  10885. }
  10886. nounCase = /(\[[ВвУу]\]) ?dddd/.test(format)
  10887. ? 'accusative'
  10888. : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format)
  10889. ? 'genitive'
  10890. : 'nominative';
  10891. return weekdays[nounCase][m.day()];
  10892. }
  10893. function processHoursFunction(str) {
  10894. return function () {
  10895. return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
  10896. };
  10897. }
  10898. moment.defineLocale('uk', {
  10899. months: {
  10900. format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(
  10901. '_'
  10902. ),
  10903. standalone: 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(
  10904. '_'
  10905. ),
  10906. },
  10907. monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(
  10908. '_'
  10909. ),
  10910. weekdays: weekdaysCaseReplace,
  10911. weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  10912. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  10913. longDateFormat: {
  10914. LT: 'HH:mm',
  10915. LTS: 'HH:mm:ss',
  10916. L: 'DD.MM.YYYY',
  10917. LL: 'D MMMM YYYY р.',
  10918. LLL: 'D MMMM YYYY р., HH:mm',
  10919. LLLL: 'dddd, D MMMM YYYY р., HH:mm',
  10920. },
  10921. calendar: {
  10922. sameDay: processHoursFunction('[Сьогодні '),
  10923. nextDay: processHoursFunction('[Завтра '),
  10924. lastDay: processHoursFunction('[Вчора '),
  10925. nextWeek: processHoursFunction('[У] dddd ['),
  10926. lastWeek: function () {
  10927. switch (this.day()) {
  10928. case 0:
  10929. case 3:
  10930. case 5:
  10931. case 6:
  10932. return processHoursFunction('[Минулої] dddd [').call(this);
  10933. case 1:
  10934. case 2:
  10935. case 4:
  10936. return processHoursFunction('[Минулого] dddd [').call(this);
  10937. }
  10938. },
  10939. sameElse: 'L',
  10940. },
  10941. relativeTime: {
  10942. future: 'за %s',
  10943. past: '%s тому',
  10944. s: 'декілька секунд',
  10945. ss: relativeTimeWithPlural$4,
  10946. m: relativeTimeWithPlural$4,
  10947. mm: relativeTimeWithPlural$4,
  10948. h: 'годину',
  10949. hh: relativeTimeWithPlural$4,
  10950. d: 'день',
  10951. dd: relativeTimeWithPlural$4,
  10952. M: 'місяць',
  10953. MM: relativeTimeWithPlural$4,
  10954. y: 'рік',
  10955. yy: relativeTimeWithPlural$4,
  10956. },
  10957. // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
  10958. meridiemParse: /ночі|ранку|дня|вечора/,
  10959. isPM: function (input) {
  10960. return /^(дня|вечора)$/.test(input);
  10961. },
  10962. meridiem: function (hour, minute, isLower) {
  10963. if (hour < 4) {
  10964. return 'ночі';
  10965. } else if (hour < 12) {
  10966. return 'ранку';
  10967. } else if (hour < 17) {
  10968. return 'дня';
  10969. } else {
  10970. return 'вечора';
  10971. }
  10972. },
  10973. dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
  10974. ordinal: function (number, period) {
  10975. switch (period) {
  10976. case 'M':
  10977. case 'd':
  10978. case 'DDD':
  10979. case 'w':
  10980. case 'W':
  10981. return number + '-й';
  10982. case 'D':
  10983. return number + '-го';
  10984. default:
  10985. return number;
  10986. }
  10987. },
  10988. week: {
  10989. dow: 1, // Monday is the first day of the week.
  10990. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10991. },
  10992. });
  10993. //! moment.js locale configuration
  10994. var months$a = [
  10995. 'جنوری',
  10996. 'فروری',
  10997. 'مارچ',
  10998. 'اپریل',
  10999. 'مئی',
  11000. 'جون',
  11001. 'جولائی',
  11002. 'اگست',
  11003. 'ستمبر',
  11004. 'اکتوبر',
  11005. 'نومبر',
  11006. 'دسمبر',
  11007. ],
  11008. days$1 = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
  11009. moment.defineLocale('ur', {
  11010. months: months$a,
  11011. monthsShort: months$a,
  11012. weekdays: days$1,
  11013. weekdaysShort: days$1,
  11014. weekdaysMin: days$1,
  11015. longDateFormat: {
  11016. LT: 'HH:mm',
  11017. LTS: 'HH:mm:ss',
  11018. L: 'DD/MM/YYYY',
  11019. LL: 'D MMMM YYYY',
  11020. LLL: 'D MMMM YYYY HH:mm',
  11021. LLLL: 'dddd، D MMMM YYYY HH:mm',
  11022. },
  11023. meridiemParse: /صبح|شام/,
  11024. isPM: function (input) {
  11025. return 'شام' === input;
  11026. },
  11027. meridiem: function (hour, minute, isLower) {
  11028. if (hour < 12) {
  11029. return 'صبح';
  11030. }
  11031. return 'شام';
  11032. },
  11033. calendar: {
  11034. sameDay: '[آج بوقت] LT',
  11035. nextDay: '[کل بوقت] LT',
  11036. nextWeek: 'dddd [بوقت] LT',
  11037. lastDay: '[گذشتہ روز بوقت] LT',
  11038. lastWeek: '[گذشتہ] dddd [بوقت] LT',
  11039. sameElse: 'L',
  11040. },
  11041. relativeTime: {
  11042. future: '%s بعد',
  11043. past: '%s قبل',
  11044. s: 'چند سیکنڈ',
  11045. ss: '%d سیکنڈ',
  11046. m: 'ایک منٹ',
  11047. mm: '%d منٹ',
  11048. h: 'ایک گھنٹہ',
  11049. hh: '%d گھنٹے',
  11050. d: 'ایک دن',
  11051. dd: '%d دن',
  11052. M: 'ایک ماہ',
  11053. MM: '%d ماہ',
  11054. y: 'ایک سال',
  11055. yy: '%d سال',
  11056. },
  11057. preparse: function (string) {
  11058. return string.replace(/،/g, ',');
  11059. },
  11060. postformat: function (string) {
  11061. return string.replace(/,/g, '،');
  11062. },
  11063. week: {
  11064. dow: 1, // Monday is the first day of the week.
  11065. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11066. },
  11067. });
  11068. //! moment.js locale configuration
  11069. moment.defineLocale('uz-latn', {
  11070. months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
  11071. '_'
  11072. ),
  11073. monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
  11074. weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
  11075. '_'
  11076. ),
  11077. weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
  11078. weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
  11079. longDateFormat: {
  11080. LT: 'HH:mm',
  11081. LTS: 'HH:mm:ss',
  11082. L: 'DD/MM/YYYY',
  11083. LL: 'D MMMM YYYY',
  11084. LLL: 'D MMMM YYYY HH:mm',
  11085. LLLL: 'D MMMM YYYY, dddd HH:mm',
  11086. },
  11087. calendar: {
  11088. sameDay: '[Bugun soat] LT [da]',
  11089. nextDay: '[Ertaga] LT [da]',
  11090. nextWeek: 'dddd [kuni soat] LT [da]',
  11091. lastDay: '[Kecha soat] LT [da]',
  11092. lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
  11093. sameElse: 'L',
  11094. },
  11095. relativeTime: {
  11096. future: 'Yaqin %s ichida',
  11097. past: 'Bir necha %s oldin',
  11098. s: 'soniya',
  11099. ss: '%d soniya',
  11100. m: 'bir daqiqa',
  11101. mm: '%d daqiqa',
  11102. h: 'bir soat',
  11103. hh: '%d soat',
  11104. d: 'bir kun',
  11105. dd: '%d kun',
  11106. M: 'bir oy',
  11107. MM: '%d oy',
  11108. y: 'bir yil',
  11109. yy: '%d yil',
  11110. },
  11111. week: {
  11112. dow: 1, // Monday is the first day of the week.
  11113. doy: 7, // The week that contains Jan 7th is the first week of the year.
  11114. },
  11115. });
  11116. //! moment.js locale configuration
  11117. moment.defineLocale('uz', {
  11118. months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
  11119. '_'
  11120. ),
  11121. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  11122. weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
  11123. weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
  11124. weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
  11125. longDateFormat: {
  11126. LT: 'HH:mm',
  11127. LTS: 'HH:mm:ss',
  11128. L: 'DD/MM/YYYY',
  11129. LL: 'D MMMM YYYY',
  11130. LLL: 'D MMMM YYYY HH:mm',
  11131. LLLL: 'D MMMM YYYY, dddd HH:mm',
  11132. },
  11133. calendar: {
  11134. sameDay: '[Бугун соат] LT [да]',
  11135. nextDay: '[Эртага] LT [да]',
  11136. nextWeek: 'dddd [куни соат] LT [да]',
  11137. lastDay: '[Кеча соат] LT [да]',
  11138. lastWeek: '[Утган] dddd [куни соат] LT [да]',
  11139. sameElse: 'L',
  11140. },
  11141. relativeTime: {
  11142. future: 'Якин %s ичида',
  11143. past: 'Бир неча %s олдин',
  11144. s: 'фурсат',
  11145. ss: '%d фурсат',
  11146. m: 'бир дакика',
  11147. mm: '%d дакика',
  11148. h: 'бир соат',
  11149. hh: '%d соат',
  11150. d: 'бир кун',
  11151. dd: '%d кун',
  11152. M: 'бир ой',
  11153. MM: '%d ой',
  11154. y: 'бир йил',
  11155. yy: '%d йил',
  11156. },
  11157. week: {
  11158. dow: 1, // Monday is the first day of the week.
  11159. doy: 7, // The week that contains Jan 4th is the first week of the year.
  11160. },
  11161. });
  11162. //! moment.js locale configuration
  11163. moment.defineLocale('vi', {
  11164. months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split(
  11165. '_'
  11166. ),
  11167. monthsShort: 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(
  11168. '_'
  11169. ),
  11170. monthsParseExact: true,
  11171. weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(
  11172. '_'
  11173. ),
  11174. weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  11175. weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  11176. weekdaysParseExact: true,
  11177. meridiemParse: /sa|ch/i,
  11178. isPM: function (input) {
  11179. return /^ch$/i.test(input);
  11180. },
  11181. meridiem: function (hours, minutes, isLower) {
  11182. if (hours < 12) {
  11183. return isLower ? 'sa' : 'SA';
  11184. } else {
  11185. return isLower ? 'ch' : 'CH';
  11186. }
  11187. },
  11188. longDateFormat: {
  11189. LT: 'HH:mm',
  11190. LTS: 'HH:mm:ss',
  11191. L: 'DD/MM/YYYY',
  11192. LL: 'D MMMM [năm] YYYY',
  11193. LLL: 'D MMMM [năm] YYYY HH:mm',
  11194. LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
  11195. l: 'DD/M/YYYY',
  11196. ll: 'D MMM YYYY',
  11197. lll: 'D MMM YYYY HH:mm',
  11198. llll: 'ddd, D MMM YYYY HH:mm',
  11199. },
  11200. calendar: {
  11201. sameDay: '[Hôm nay lúc] LT',
  11202. nextDay: '[Ngày mai lúc] LT',
  11203. nextWeek: 'dddd [tuần tới lúc] LT',
  11204. lastDay: '[Hôm qua lúc] LT',
  11205. lastWeek: 'dddd [tuần trước lúc] LT',
  11206. sameElse: 'L',
  11207. },
  11208. relativeTime: {
  11209. future: '%s tới',
  11210. past: '%s trước',
  11211. s: 'vài giây',
  11212. ss: '%d giây',
  11213. m: 'một phút',
  11214. mm: '%d phút',
  11215. h: 'một giờ',
  11216. hh: '%d giờ',
  11217. d: 'một ngày',
  11218. dd: '%d ngày',
  11219. M: 'một tháng',
  11220. MM: '%d tháng',
  11221. y: 'một năm',
  11222. yy: '%d năm',
  11223. },
  11224. dayOfMonthOrdinalParse: /\d{1,2}/,
  11225. ordinal: function (number) {
  11226. return number;
  11227. },
  11228. week: {
  11229. dow: 1, // Monday is the first day of the week.
  11230. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11231. },
  11232. });
  11233. //! moment.js locale configuration
  11234. moment.defineLocale('x-pseudo', {
  11235. months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
  11236. '_'
  11237. ),
  11238. monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
  11239. '_'
  11240. ),
  11241. monthsParseExact: true,
  11242. weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
  11243. '_'
  11244. ),
  11245. weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
  11246. weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
  11247. weekdaysParseExact: true,
  11248. longDateFormat: {
  11249. LT: 'HH:mm',
  11250. L: 'DD/MM/YYYY',
  11251. LL: 'D MMMM YYYY',
  11252. LLL: 'D MMMM YYYY HH:mm',
  11253. LLLL: 'dddd, D MMMM YYYY HH:mm',
  11254. },
  11255. calendar: {
  11256. sameDay: '[T~ódá~ý át] LT',
  11257. nextDay: '[T~ómó~rró~w át] LT',
  11258. nextWeek: 'dddd [át] LT',
  11259. lastDay: '[Ý~ést~érdá~ý át] LT',
  11260. lastWeek: '[L~ást] dddd [át] LT',
  11261. sameElse: 'L',
  11262. },
  11263. relativeTime: {
  11264. future: 'í~ñ %s',
  11265. past: '%s á~gó',
  11266. s: 'á ~féw ~sécó~ñds',
  11267. ss: '%d s~écóñ~ds',
  11268. m: 'á ~míñ~úté',
  11269. mm: '%d m~íñú~tés',
  11270. h: 'á~ñ hó~úr',
  11271. hh: '%d h~óúrs',
  11272. d: 'á ~dáý',
  11273. dd: '%d d~áýs',
  11274. M: 'á ~móñ~th',
  11275. MM: '%d m~óñt~hs',
  11276. y: 'á ~ýéár',
  11277. yy: '%d ý~éárs',
  11278. },
  11279. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  11280. ordinal: function (number) {
  11281. var b = number % 10,
  11282. output =
  11283. ~~((number % 100) / 10) === 1
  11284. ? 'th'
  11285. : b === 1
  11286. ? 'st'
  11287. : b === 2
  11288. ? 'nd'
  11289. : b === 3
  11290. ? 'rd'
  11291. : 'th';
  11292. return number + output;
  11293. },
  11294. week: {
  11295. dow: 1, // Monday is the first day of the week.
  11296. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11297. },
  11298. });
  11299. //! moment.js locale configuration
  11300. moment.defineLocale('yo', {
  11301. months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
  11302. '_'
  11303. ),
  11304. monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
  11305. weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
  11306. weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
  11307. weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
  11308. longDateFormat: {
  11309. LT: 'h:mm A',
  11310. LTS: 'h:mm:ss A',
  11311. L: 'DD/MM/YYYY',
  11312. LL: 'D MMMM YYYY',
  11313. LLL: 'D MMMM YYYY h:mm A',
  11314. LLLL: 'dddd, D MMMM YYYY h:mm A',
  11315. },
  11316. calendar: {
  11317. sameDay: '[Ònì ni] LT',
  11318. nextDay: '[Ọ̀la ni] LT',
  11319. nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
  11320. lastDay: '[Àna ni] LT',
  11321. lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
  11322. sameElse: 'L',
  11323. },
  11324. relativeTime: {
  11325. future: 'ní %s',
  11326. past: '%s kọjá',
  11327. s: 'ìsẹjú aayá die',
  11328. ss: 'aayá %d',
  11329. m: 'ìsẹjú kan',
  11330. mm: 'ìsẹjú %d',
  11331. h: 'wákati kan',
  11332. hh: 'wákati %d',
  11333. d: 'ọjọ́ kan',
  11334. dd: 'ọjọ́ %d',
  11335. M: 'osù kan',
  11336. MM: 'osù %d',
  11337. y: 'ọdún kan',
  11338. yy: 'ọdún %d',
  11339. },
  11340. dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
  11341. ordinal: 'ọjọ́ %d',
  11342. week: {
  11343. dow: 1, // Monday is the first day of the week.
  11344. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11345. },
  11346. });
  11347. //! moment.js locale configuration
  11348. moment.defineLocale('zh-cn', {
  11349. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11350. '_'
  11351. ),
  11352. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11353. '_'
  11354. ),
  11355. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11356. weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
  11357. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11358. longDateFormat: {
  11359. LT: 'HH:mm',
  11360. LTS: 'HH:mm:ss',
  11361. L: 'YYYY/MM/DD',
  11362. LL: 'YYYY年M月D日',
  11363. LLL: 'YYYY年M月D日Ah点mm分',
  11364. LLLL: 'YYYY年M月D日ddddAh点mm分',
  11365. l: 'YYYY/M/D',
  11366. ll: 'YYYY年M月D日',
  11367. lll: 'YYYY年M月D日 HH:mm',
  11368. llll: 'YYYY年M月D日dddd HH:mm',
  11369. },
  11370. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11371. meridiemHour: function (hour, meridiem) {
  11372. if (hour === 12) {
  11373. hour = 0;
  11374. }
  11375. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11376. return hour;
  11377. } else if (meridiem === '下午' || meridiem === '晚上') {
  11378. return hour + 12;
  11379. } else {
  11380. // '中午'
  11381. return hour >= 11 ? hour : hour + 12;
  11382. }
  11383. },
  11384. meridiem: function (hour, minute, isLower) {
  11385. var hm = hour * 100 + minute;
  11386. if (hm < 600) {
  11387. return '凌晨';
  11388. } else if (hm < 900) {
  11389. return '早上';
  11390. } else if (hm < 1130) {
  11391. return '上午';
  11392. } else if (hm < 1230) {
  11393. return '中午';
  11394. } else if (hm < 1800) {
  11395. return '下午';
  11396. } else {
  11397. return '晚上';
  11398. }
  11399. },
  11400. calendar: {
  11401. sameDay: '[今天]LT',
  11402. nextDay: '[明天]LT',
  11403. nextWeek: function (now) {
  11404. if (now.week() !== this.week()) {
  11405. return '[下]dddLT';
  11406. } else {
  11407. return '[本]dddLT';
  11408. }
  11409. },
  11410. lastDay: '[昨天]LT',
  11411. lastWeek: function (now) {
  11412. if (this.week() !== now.week()) {
  11413. return '[上]dddLT';
  11414. } else {
  11415. return '[本]dddLT';
  11416. }
  11417. },
  11418. sameElse: 'L',
  11419. },
  11420. dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
  11421. ordinal: function (number, period) {
  11422. switch (period) {
  11423. case 'd':
  11424. case 'D':
  11425. case 'DDD':
  11426. return number + '日';
  11427. case 'M':
  11428. return number + '月';
  11429. case 'w':
  11430. case 'W':
  11431. return number + '周';
  11432. default:
  11433. return number;
  11434. }
  11435. },
  11436. relativeTime: {
  11437. future: '%s后',
  11438. past: '%s前',
  11439. s: '几秒',
  11440. ss: '%d 秒',
  11441. m: '1 分钟',
  11442. mm: '%d 分钟',
  11443. h: '1 小时',
  11444. hh: '%d 小时',
  11445. d: '1 天',
  11446. dd: '%d 天',
  11447. M: '1 个月',
  11448. MM: '%d 个月',
  11449. y: '1 年',
  11450. yy: '%d 年',
  11451. },
  11452. week: {
  11453. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  11454. dow: 1, // Monday is the first day of the week.
  11455. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11456. },
  11457. });
  11458. //! moment.js locale configuration
  11459. moment.defineLocale('zh-hk', {
  11460. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11461. '_'
  11462. ),
  11463. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11464. '_'
  11465. ),
  11466. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11467. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  11468. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11469. longDateFormat: {
  11470. LT: 'HH:mm',
  11471. LTS: 'HH:mm:ss',
  11472. L: 'YYYY/MM/DD',
  11473. LL: 'YYYY年M月D日',
  11474. LLL: 'YYYY年M月D日 HH:mm',
  11475. LLLL: 'YYYY年M月D日dddd HH:mm',
  11476. l: 'YYYY/M/D',
  11477. ll: 'YYYY年M月D日',
  11478. lll: 'YYYY年M月D日 HH:mm',
  11479. llll: 'YYYY年M月D日dddd HH:mm',
  11480. },
  11481. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11482. meridiemHour: function (hour, meridiem) {
  11483. if (hour === 12) {
  11484. hour = 0;
  11485. }
  11486. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11487. return hour;
  11488. } else if (meridiem === '中午') {
  11489. return hour >= 11 ? hour : hour + 12;
  11490. } else if (meridiem === '下午' || meridiem === '晚上') {
  11491. return hour + 12;
  11492. }
  11493. },
  11494. meridiem: function (hour, minute, isLower) {
  11495. var hm = hour * 100 + minute;
  11496. if (hm < 600) {
  11497. return '凌晨';
  11498. } else if (hm < 900) {
  11499. return '早上';
  11500. } else if (hm < 1200) {
  11501. return '上午';
  11502. } else if (hm === 1200) {
  11503. return '中午';
  11504. } else if (hm < 1800) {
  11505. return '下午';
  11506. } else {
  11507. return '晚上';
  11508. }
  11509. },
  11510. calendar: {
  11511. sameDay: '[今天]LT',
  11512. nextDay: '[明天]LT',
  11513. nextWeek: '[下]ddddLT',
  11514. lastDay: '[昨天]LT',
  11515. lastWeek: '[上]ddddLT',
  11516. sameElse: 'L',
  11517. },
  11518. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  11519. ordinal: function (number, period) {
  11520. switch (period) {
  11521. case 'd':
  11522. case 'D':
  11523. case 'DDD':
  11524. return number + '日';
  11525. case 'M':
  11526. return number + '月';
  11527. case 'w':
  11528. case 'W':
  11529. return number + '週';
  11530. default:
  11531. return number;
  11532. }
  11533. },
  11534. relativeTime: {
  11535. future: '%s後',
  11536. past: '%s前',
  11537. s: '幾秒',
  11538. ss: '%d 秒',
  11539. m: '1 分鐘',
  11540. mm: '%d 分鐘',
  11541. h: '1 小時',
  11542. hh: '%d 小時',
  11543. d: '1 天',
  11544. dd: '%d 天',
  11545. M: '1 個月',
  11546. MM: '%d 個月',
  11547. y: '1 年',
  11548. yy: '%d 年',
  11549. },
  11550. });
  11551. //! moment.js locale configuration
  11552. moment.defineLocale('zh-mo', {
  11553. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11554. '_'
  11555. ),
  11556. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11557. '_'
  11558. ),
  11559. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11560. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  11561. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11562. longDateFormat: {
  11563. LT: 'HH:mm',
  11564. LTS: 'HH:mm:ss',
  11565. L: 'DD/MM/YYYY',
  11566. LL: 'YYYY年M月D日',
  11567. LLL: 'YYYY年M月D日 HH:mm',
  11568. LLLL: 'YYYY年M月D日dddd HH:mm',
  11569. l: 'D/M/YYYY',
  11570. ll: 'YYYY年M月D日',
  11571. lll: 'YYYY年M月D日 HH:mm',
  11572. llll: 'YYYY年M月D日dddd HH:mm',
  11573. },
  11574. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11575. meridiemHour: function (hour, meridiem) {
  11576. if (hour === 12) {
  11577. hour = 0;
  11578. }
  11579. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11580. return hour;
  11581. } else if (meridiem === '中午') {
  11582. return hour >= 11 ? hour : hour + 12;
  11583. } else if (meridiem === '下午' || meridiem === '晚上') {
  11584. return hour + 12;
  11585. }
  11586. },
  11587. meridiem: function (hour, minute, isLower) {
  11588. var hm = hour * 100 + minute;
  11589. if (hm < 600) {
  11590. return '凌晨';
  11591. } else if (hm < 900) {
  11592. return '早上';
  11593. } else if (hm < 1130) {
  11594. return '上午';
  11595. } else if (hm < 1230) {
  11596. return '中午';
  11597. } else if (hm < 1800) {
  11598. return '下午';
  11599. } else {
  11600. return '晚上';
  11601. }
  11602. },
  11603. calendar: {
  11604. sameDay: '[今天] LT',
  11605. nextDay: '[明天] LT',
  11606. nextWeek: '[下]dddd LT',
  11607. lastDay: '[昨天] LT',
  11608. lastWeek: '[上]dddd LT',
  11609. sameElse: 'L',
  11610. },
  11611. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  11612. ordinal: function (number, period) {
  11613. switch (period) {
  11614. case 'd':
  11615. case 'D':
  11616. case 'DDD':
  11617. return number + '日';
  11618. case 'M':
  11619. return number + '月';
  11620. case 'w':
  11621. case 'W':
  11622. return number + '週';
  11623. default:
  11624. return number;
  11625. }
  11626. },
  11627. relativeTime: {
  11628. future: '%s內',
  11629. past: '%s前',
  11630. s: '幾秒',
  11631. ss: '%d 秒',
  11632. m: '1 分鐘',
  11633. mm: '%d 分鐘',
  11634. h: '1 小時',
  11635. hh: '%d 小時',
  11636. d: '1 天',
  11637. dd: '%d 天',
  11638. M: '1 個月',
  11639. MM: '%d 個月',
  11640. y: '1 年',
  11641. yy: '%d 年',
  11642. },
  11643. });
  11644. //! moment.js locale configuration
  11645. moment.defineLocale('zh-tw', {
  11646. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11647. '_'
  11648. ),
  11649. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11650. '_'
  11651. ),
  11652. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11653. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  11654. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11655. longDateFormat: {
  11656. LT: 'HH:mm',
  11657. LTS: 'HH:mm:ss',
  11658. L: 'YYYY/MM/DD',
  11659. LL: 'YYYY年M月D日',
  11660. LLL: 'YYYY年M月D日 HH:mm',
  11661. LLLL: 'YYYY年M月D日dddd HH:mm',
  11662. l: 'YYYY/M/D',
  11663. ll: 'YYYY年M月D日',
  11664. lll: 'YYYY年M月D日 HH:mm',
  11665. llll: 'YYYY年M月D日dddd HH:mm',
  11666. },
  11667. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11668. meridiemHour: function (hour, meridiem) {
  11669. if (hour === 12) {
  11670. hour = 0;
  11671. }
  11672. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11673. return hour;
  11674. } else if (meridiem === '中午') {
  11675. return hour >= 11 ? hour : hour + 12;
  11676. } else if (meridiem === '下午' || meridiem === '晚上') {
  11677. return hour + 12;
  11678. }
  11679. },
  11680. meridiem: function (hour, minute, isLower) {
  11681. var hm = hour * 100 + minute;
  11682. if (hm < 600) {
  11683. return '凌晨';
  11684. } else if (hm < 900) {
  11685. return '早上';
  11686. } else if (hm < 1130) {
  11687. return '上午';
  11688. } else if (hm < 1230) {
  11689. return '中午';
  11690. } else if (hm < 1800) {
  11691. return '下午';
  11692. } else {
  11693. return '晚上';
  11694. }
  11695. },
  11696. calendar: {
  11697. sameDay: '[今天] LT',
  11698. nextDay: '[明天] LT',
  11699. nextWeek: '[下]dddd LT',
  11700. lastDay: '[昨天] LT',
  11701. lastWeek: '[上]dddd LT',
  11702. sameElse: 'L',
  11703. },
  11704. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  11705. ordinal: function (number, period) {
  11706. switch (period) {
  11707. case 'd':
  11708. case 'D':
  11709. case 'DDD':
  11710. return number + '日';
  11711. case 'M':
  11712. return number + '月';
  11713. case 'w':
  11714. case 'W':
  11715. return number + '週';
  11716. default:
  11717. return number;
  11718. }
  11719. },
  11720. relativeTime: {
  11721. future: '%s後',
  11722. past: '%s前',
  11723. s: '幾秒',
  11724. ss: '%d 秒',
  11725. m: '1 分鐘',
  11726. mm: '%d 分鐘',
  11727. h: '1 小時',
  11728. hh: '%d 小時',
  11729. d: '1 天',
  11730. dd: '%d 天',
  11731. M: '1 個月',
  11732. MM: '%d 個月',
  11733. y: '1 年',
  11734. yy: '%d 年',
  11735. },
  11736. });
  11737. moment.locale('en');
  11738. return moment;
  11739. })));