locales.js 446 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800
  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:
  225. 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  226. '_'
  227. ),
  228. weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  229. weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  230. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  231. weekdaysParseExact: true,
  232. longDateFormat: {
  233. LT: 'HH:mm',
  234. LTS: 'HH:mm:ss',
  235. L: 'DD/MM/YYYY',
  236. LL: 'D MMMM YYYY',
  237. LLL: 'D MMMM YYYY HH:mm',
  238. LLLL: 'dddd D MMMM YYYY HH:mm',
  239. },
  240. calendar: {
  241. sameDay: '[اليوم على الساعة] LT',
  242. nextDay: '[غدا على الساعة] LT',
  243. nextWeek: 'dddd [على الساعة] LT',
  244. lastDay: '[أمس على الساعة] LT',
  245. lastWeek: 'dddd [على الساعة] LT',
  246. sameElse: 'L',
  247. },
  248. relativeTime: {
  249. future: 'في %s',
  250. past: 'منذ %s',
  251. s: 'ثوان',
  252. ss: '%d ثانية',
  253. m: 'دقيقة',
  254. mm: '%d دقائق',
  255. h: 'ساعة',
  256. hh: '%d ساعات',
  257. d: 'يوم',
  258. dd: '%d أيام',
  259. M: 'شهر',
  260. MM: '%d أشهر',
  261. y: 'سنة',
  262. yy: '%d سنوات',
  263. },
  264. week: {
  265. dow: 0, // Sunday is the first day of the week.
  266. doy: 12, // The week that contains Jan 12th is the first week of the year.
  267. },
  268. });
  269. //! moment.js locale configuration
  270. var symbolMap = {
  271. 1: '1',
  272. 2: '2',
  273. 3: '3',
  274. 4: '4',
  275. 5: '5',
  276. 6: '6',
  277. 7: '7',
  278. 8: '8',
  279. 9: '9',
  280. 0: '0',
  281. },
  282. pluralForm$1 = function (n) {
  283. return n === 0
  284. ? 0
  285. : n === 1
  286. ? 1
  287. : n === 2
  288. ? 2
  289. : n % 100 >= 3 && n % 100 <= 10
  290. ? 3
  291. : n % 100 >= 11
  292. ? 4
  293. : 5;
  294. },
  295. plurals$1 = {
  296. s: [
  297. 'أقل من ثانية',
  298. 'ثانية واحدة',
  299. ['ثانيتان', 'ثانيتين'],
  300. '%d ثوان',
  301. '%d ثانية',
  302. '%d ثانية',
  303. ],
  304. m: [
  305. 'أقل من دقيقة',
  306. 'دقيقة واحدة',
  307. ['دقيقتان', 'دقيقتين'],
  308. '%d دقائق',
  309. '%d دقيقة',
  310. '%d دقيقة',
  311. ],
  312. h: [
  313. 'أقل من ساعة',
  314. 'ساعة واحدة',
  315. ['ساعتان', 'ساعتين'],
  316. '%d ساعات',
  317. '%d ساعة',
  318. '%d ساعة',
  319. ],
  320. d: [
  321. 'أقل من يوم',
  322. 'يوم واحد',
  323. ['يومان', 'يومين'],
  324. '%d أيام',
  325. '%d يومًا',
  326. '%d يوم',
  327. ],
  328. M: [
  329. 'أقل من شهر',
  330. 'شهر واحد',
  331. ['شهران', 'شهرين'],
  332. '%d أشهر',
  333. '%d شهرا',
  334. '%d شهر',
  335. ],
  336. y: [
  337. 'أقل من عام',
  338. 'عام واحد',
  339. ['عامان', 'عامين'],
  340. '%d أعوام',
  341. '%d عامًا',
  342. '%d عام',
  343. ],
  344. },
  345. pluralize$1 = function (u) {
  346. return function (number, withoutSuffix, string, isFuture) {
  347. var f = pluralForm$1(number),
  348. str = plurals$1[u][pluralForm$1(number)];
  349. if (f === 2) {
  350. str = str[withoutSuffix ? 0 : 1];
  351. }
  352. return str.replace(/%d/i, number);
  353. };
  354. },
  355. months$1 = [
  356. 'يناير',
  357. 'فبراير',
  358. 'مارس',
  359. 'أبريل',
  360. 'مايو',
  361. 'يونيو',
  362. 'يوليو',
  363. 'أغسطس',
  364. 'سبتمبر',
  365. 'أكتوبر',
  366. 'نوفمبر',
  367. 'ديسمبر',
  368. ];
  369. moment.defineLocale('ar-ly', {
  370. months: months$1,
  371. monthsShort: months$1,
  372. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  373. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  374. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  375. weekdaysParseExact: true,
  376. longDateFormat: {
  377. LT: 'HH:mm',
  378. LTS: 'HH:mm:ss',
  379. L: 'D/\u200FM/\u200FYYYY',
  380. LL: 'D MMMM YYYY',
  381. LLL: 'D MMMM YYYY HH:mm',
  382. LLLL: 'dddd D MMMM YYYY HH:mm',
  383. },
  384. meridiemParse: /ص|م/,
  385. isPM: function (input) {
  386. return 'م' === input;
  387. },
  388. meridiem: function (hour, minute, isLower) {
  389. if (hour < 12) {
  390. return 'ص';
  391. } else {
  392. return 'م';
  393. }
  394. },
  395. calendar: {
  396. sameDay: '[اليوم عند الساعة] LT',
  397. nextDay: '[غدًا عند الساعة] LT',
  398. nextWeek: 'dddd [عند الساعة] LT',
  399. lastDay: '[أمس عند الساعة] LT',
  400. lastWeek: 'dddd [عند الساعة] LT',
  401. sameElse: 'L',
  402. },
  403. relativeTime: {
  404. future: 'بعد %s',
  405. past: 'منذ %s',
  406. s: pluralize$1('s'),
  407. ss: pluralize$1('s'),
  408. m: pluralize$1('m'),
  409. mm: pluralize$1('m'),
  410. h: pluralize$1('h'),
  411. hh: pluralize$1('h'),
  412. d: pluralize$1('d'),
  413. dd: pluralize$1('d'),
  414. M: pluralize$1('M'),
  415. MM: pluralize$1('M'),
  416. y: pluralize$1('y'),
  417. yy: pluralize$1('y'),
  418. },
  419. preparse: function (string) {
  420. return string.replace(/،/g, ',');
  421. },
  422. postformat: function (string) {
  423. return string
  424. .replace(/\d/g, function (match) {
  425. return symbolMap[match];
  426. })
  427. .replace(/,/g, '،');
  428. },
  429. week: {
  430. dow: 6, // Saturday is the first day of the week.
  431. doy: 12, // The week that contains Jan 12th is the first week of the year.
  432. },
  433. });
  434. //! moment.js locale configuration
  435. moment.defineLocale('ar-ma', {
  436. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  437. '_'
  438. ),
  439. monthsShort:
  440. 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  441. '_'
  442. ),
  443. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  444. weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  445. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  446. weekdaysParseExact: true,
  447. longDateFormat: {
  448. LT: 'HH:mm',
  449. LTS: 'HH:mm:ss',
  450. L: 'DD/MM/YYYY',
  451. LL: 'D MMMM YYYY',
  452. LLL: 'D MMMM YYYY HH:mm',
  453. LLLL: 'dddd D MMMM YYYY HH:mm',
  454. },
  455. calendar: {
  456. sameDay: '[اليوم على الساعة] LT',
  457. nextDay: '[غدا على الساعة] LT',
  458. nextWeek: 'dddd [على الساعة] LT',
  459. lastDay: '[أمس على الساعة] LT',
  460. lastWeek: 'dddd [على الساعة] LT',
  461. sameElse: 'L',
  462. },
  463. relativeTime: {
  464. future: 'في %s',
  465. past: 'منذ %s',
  466. s: 'ثوان',
  467. ss: '%d ثانية',
  468. m: 'دقيقة',
  469. mm: '%d دقائق',
  470. h: 'ساعة',
  471. hh: '%d ساعات',
  472. d: 'يوم',
  473. dd: '%d أيام',
  474. M: 'شهر',
  475. MM: '%d أشهر',
  476. y: 'سنة',
  477. yy: '%d سنوات',
  478. },
  479. week: {
  480. dow: 1, // Monday is the first day of the week.
  481. doy: 4, // The week that contains Jan 4th is the first week of the year.
  482. },
  483. });
  484. //! moment.js locale configuration
  485. var symbolMap$1 = {
  486. 1: '١',
  487. 2: '٢',
  488. 3: '٣',
  489. 4: '٤',
  490. 5: '٥',
  491. 6: '٦',
  492. 7: '٧',
  493. 8: '٨',
  494. 9: '٩',
  495. 0: '٠',
  496. },
  497. numberMap = {
  498. '١': '1',
  499. '٢': '2',
  500. '٣': '3',
  501. '٤': '4',
  502. '٥': '5',
  503. '٦': '6',
  504. '٧': '7',
  505. '٨': '8',
  506. '٩': '9',
  507. '٠': '0',
  508. };
  509. moment.defineLocale('ar-ps', {
  510. months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split(
  511. '_'
  512. ),
  513. monthsShort:
  514. 'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'),
  515. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  516. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  517. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  518. weekdaysParseExact: true,
  519. longDateFormat: {
  520. LT: 'HH:mm',
  521. LTS: 'HH:mm:ss',
  522. L: 'DD/MM/YYYY',
  523. LL: 'D MMMM YYYY',
  524. LLL: 'D MMMM YYYY HH:mm',
  525. LLLL: 'dddd D MMMM YYYY HH:mm',
  526. },
  527. meridiemParse: /ص|م/,
  528. isPM: function (input) {
  529. return 'م' === input;
  530. },
  531. meridiem: function (hour, minute, isLower) {
  532. if (hour < 12) {
  533. return 'ص';
  534. } else {
  535. return 'م';
  536. }
  537. },
  538. calendar: {
  539. sameDay: '[اليوم على الساعة] LT',
  540. nextDay: '[غدا على الساعة] LT',
  541. nextWeek: 'dddd [على الساعة] LT',
  542. lastDay: '[أمس على الساعة] LT',
  543. lastWeek: 'dddd [على الساعة] LT',
  544. sameElse: 'L',
  545. },
  546. relativeTime: {
  547. future: 'في %s',
  548. past: 'منذ %s',
  549. s: 'ثوان',
  550. ss: '%d ثانية',
  551. m: 'دقيقة',
  552. mm: '%d دقائق',
  553. h: 'ساعة',
  554. hh: '%d ساعات',
  555. d: 'يوم',
  556. dd: '%d أيام',
  557. M: 'شهر',
  558. MM: '%d أشهر',
  559. y: 'سنة',
  560. yy: '%d سنوات',
  561. },
  562. preparse: function (string) {
  563. return string
  564. .replace(/[٣٤٥٦٧٨٩٠]/g, function (match) {
  565. return numberMap[match];
  566. })
  567. .split('') // reversed since negative lookbehind not supported everywhere
  568. .reverse()
  569. .join('')
  570. .replace(/[١٢](?![\u062a\u0643])/g, function (match) {
  571. return numberMap[match];
  572. })
  573. .split('')
  574. .reverse()
  575. .join('')
  576. .replace(/،/g, ',');
  577. },
  578. postformat: function (string) {
  579. return string
  580. .replace(/\d/g, function (match) {
  581. return symbolMap$1[match];
  582. })
  583. .replace(/,/g, '،');
  584. },
  585. week: {
  586. dow: 0, // Sunday is the first day of the week.
  587. doy: 6, // The week that contains Jan 6th is the first week of the year.
  588. },
  589. });
  590. //! moment.js locale configuration
  591. var symbolMap$2 = {
  592. 1: '١',
  593. 2: '٢',
  594. 3: '٣',
  595. 4: '٤',
  596. 5: '٥',
  597. 6: '٦',
  598. 7: '٧',
  599. 8: '٨',
  600. 9: '٩',
  601. 0: '٠',
  602. },
  603. numberMap$1 = {
  604. '١': '1',
  605. '٢': '2',
  606. '٣': '3',
  607. '٤': '4',
  608. '٥': '5',
  609. '٦': '6',
  610. '٧': '7',
  611. '٨': '8',
  612. '٩': '9',
  613. '٠': '0',
  614. };
  615. moment.defineLocale('ar-sa', {
  616. months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  617. '_'
  618. ),
  619. monthsShort:
  620. 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  621. '_'
  622. ),
  623. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  624. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  625. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  626. weekdaysParseExact: true,
  627. longDateFormat: {
  628. LT: 'HH:mm',
  629. LTS: 'HH:mm:ss',
  630. L: 'DD/MM/YYYY',
  631. LL: 'D MMMM YYYY',
  632. LLL: 'D MMMM YYYY HH:mm',
  633. LLLL: 'dddd D MMMM YYYY HH:mm',
  634. },
  635. meridiemParse: /ص|م/,
  636. isPM: function (input) {
  637. return 'م' === input;
  638. },
  639. meridiem: function (hour, minute, isLower) {
  640. if (hour < 12) {
  641. return 'ص';
  642. } else {
  643. return 'م';
  644. }
  645. },
  646. calendar: {
  647. sameDay: '[اليوم على الساعة] LT',
  648. nextDay: '[غدا على الساعة] LT',
  649. nextWeek: 'dddd [على الساعة] LT',
  650. lastDay: '[أمس على الساعة] LT',
  651. lastWeek: 'dddd [على الساعة] LT',
  652. sameElse: 'L',
  653. },
  654. relativeTime: {
  655. future: 'في %s',
  656. past: 'منذ %s',
  657. s: 'ثوان',
  658. ss: '%d ثانية',
  659. m: 'دقيقة',
  660. mm: '%d دقائق',
  661. h: 'ساعة',
  662. hh: '%d ساعات',
  663. d: 'يوم',
  664. dd: '%d أيام',
  665. M: 'شهر',
  666. MM: '%d أشهر',
  667. y: 'سنة',
  668. yy: '%d سنوات',
  669. },
  670. preparse: function (string) {
  671. return string
  672. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  673. return numberMap$1[match];
  674. })
  675. .replace(/،/g, ',');
  676. },
  677. postformat: function (string) {
  678. return string
  679. .replace(/\d/g, function (match) {
  680. return symbolMap$2[match];
  681. })
  682. .replace(/,/g, '،');
  683. },
  684. week: {
  685. dow: 0, // Sunday is the first day of the week.
  686. doy: 6, // The week that contains Jan 6th is the first week of the year.
  687. },
  688. });
  689. //! moment.js locale configuration
  690. moment.defineLocale('ar-tn', {
  691. months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  692. '_'
  693. ),
  694. monthsShort:
  695. 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  696. '_'
  697. ),
  698. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  699. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  700. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  701. weekdaysParseExact: true,
  702. longDateFormat: {
  703. LT: 'HH:mm',
  704. LTS: 'HH:mm:ss',
  705. L: 'DD/MM/YYYY',
  706. LL: 'D MMMM YYYY',
  707. LLL: 'D MMMM YYYY HH:mm',
  708. LLLL: 'dddd D MMMM YYYY HH:mm',
  709. },
  710. calendar: {
  711. sameDay: '[اليوم على الساعة] LT',
  712. nextDay: '[غدا على الساعة] LT',
  713. nextWeek: 'dddd [على الساعة] LT',
  714. lastDay: '[أمس على الساعة] LT',
  715. lastWeek: 'dddd [على الساعة] LT',
  716. sameElse: 'L',
  717. },
  718. relativeTime: {
  719. future: 'في %s',
  720. past: 'منذ %s',
  721. s: 'ثوان',
  722. ss: '%d ثانية',
  723. m: 'دقيقة',
  724. mm: '%d دقائق',
  725. h: 'ساعة',
  726. hh: '%d ساعات',
  727. d: 'يوم',
  728. dd: '%d أيام',
  729. M: 'شهر',
  730. MM: '%d أشهر',
  731. y: 'سنة',
  732. yy: '%d سنوات',
  733. },
  734. week: {
  735. dow: 1, // Monday is the first day of the week.
  736. doy: 4, // The week that contains Jan 4th is the first week of the year.
  737. },
  738. });
  739. //! moment.js locale configuration
  740. var symbolMap$3 = {
  741. 1: '١',
  742. 2: '٢',
  743. 3: '٣',
  744. 4: '٤',
  745. 5: '٥',
  746. 6: '٦',
  747. 7: '٧',
  748. 8: '٨',
  749. 9: '٩',
  750. 0: '٠',
  751. },
  752. numberMap$2 = {
  753. '١': '1',
  754. '٢': '2',
  755. '٣': '3',
  756. '٤': '4',
  757. '٥': '5',
  758. '٦': '6',
  759. '٧': '7',
  760. '٨': '8',
  761. '٩': '9',
  762. '٠': '0',
  763. },
  764. pluralForm$2 = function (n) {
  765. return n === 0
  766. ? 0
  767. : n === 1
  768. ? 1
  769. : n === 2
  770. ? 2
  771. : n % 100 >= 3 && n % 100 <= 10
  772. ? 3
  773. : n % 100 >= 11
  774. ? 4
  775. : 5;
  776. },
  777. plurals$2 = {
  778. s: [
  779. 'أقل من ثانية',
  780. 'ثانية واحدة',
  781. ['ثانيتان', 'ثانيتين'],
  782. '%d ثوان',
  783. '%d ثانية',
  784. '%d ثانية',
  785. ],
  786. m: [
  787. 'أقل من دقيقة',
  788. 'دقيقة واحدة',
  789. ['دقيقتان', 'دقيقتين'],
  790. '%d دقائق',
  791. '%d دقيقة',
  792. '%d دقيقة',
  793. ],
  794. h: [
  795. 'أقل من ساعة',
  796. 'ساعة واحدة',
  797. ['ساعتان', 'ساعتين'],
  798. '%d ساعات',
  799. '%d ساعة',
  800. '%d ساعة',
  801. ],
  802. d: [
  803. 'أقل من يوم',
  804. 'يوم واحد',
  805. ['يومان', 'يومين'],
  806. '%d أيام',
  807. '%d يومًا',
  808. '%d يوم',
  809. ],
  810. M: [
  811. 'أقل من شهر',
  812. 'شهر واحد',
  813. ['شهران', 'شهرين'],
  814. '%d أشهر',
  815. '%d شهرا',
  816. '%d شهر',
  817. ],
  818. y: [
  819. 'أقل من عام',
  820. 'عام واحد',
  821. ['عامان', 'عامين'],
  822. '%d أعوام',
  823. '%d عامًا',
  824. '%d عام',
  825. ],
  826. },
  827. pluralize$2 = function (u) {
  828. return function (number, withoutSuffix, string, isFuture) {
  829. var f = pluralForm$2(number),
  830. str = plurals$2[u][pluralForm$2(number)];
  831. if (f === 2) {
  832. str = str[withoutSuffix ? 0 : 1];
  833. }
  834. return str.replace(/%d/i, number);
  835. };
  836. },
  837. months$2 = [
  838. 'يناير',
  839. 'فبراير',
  840. 'مارس',
  841. 'أبريل',
  842. 'مايو',
  843. 'يونيو',
  844. 'يوليو',
  845. 'أغسطس',
  846. 'سبتمبر',
  847. 'أكتوبر',
  848. 'نوفمبر',
  849. 'ديسمبر',
  850. ];
  851. moment.defineLocale('ar', {
  852. months: months$2,
  853. monthsShort: months$2,
  854. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  855. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  856. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  857. weekdaysParseExact: true,
  858. longDateFormat: {
  859. LT: 'HH:mm',
  860. LTS: 'HH:mm:ss',
  861. L: 'D/\u200FM/\u200FYYYY',
  862. LL: 'D MMMM YYYY',
  863. LLL: 'D MMMM YYYY HH:mm',
  864. LLLL: 'dddd D MMMM YYYY HH:mm',
  865. },
  866. meridiemParse: /ص|م/,
  867. isPM: function (input) {
  868. return 'م' === input;
  869. },
  870. meridiem: function (hour, minute, isLower) {
  871. if (hour < 12) {
  872. return 'ص';
  873. } else {
  874. return 'م';
  875. }
  876. },
  877. calendar: {
  878. sameDay: '[اليوم عند الساعة] LT',
  879. nextDay: '[غدًا عند الساعة] LT',
  880. nextWeek: 'dddd [عند الساعة] LT',
  881. lastDay: '[أمس عند الساعة] LT',
  882. lastWeek: 'dddd [عند الساعة] LT',
  883. sameElse: 'L',
  884. },
  885. relativeTime: {
  886. future: 'بعد %s',
  887. past: 'منذ %s',
  888. s: pluralize$2('s'),
  889. ss: pluralize$2('s'),
  890. m: pluralize$2('m'),
  891. mm: pluralize$2('m'),
  892. h: pluralize$2('h'),
  893. hh: pluralize$2('h'),
  894. d: pluralize$2('d'),
  895. dd: pluralize$2('d'),
  896. M: pluralize$2('M'),
  897. MM: pluralize$2('M'),
  898. y: pluralize$2('y'),
  899. yy: pluralize$2('y'),
  900. },
  901. preparse: function (string) {
  902. return string
  903. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  904. return numberMap$2[match];
  905. })
  906. .replace(/،/g, ',');
  907. },
  908. postformat: function (string) {
  909. return string
  910. .replace(/\d/g, function (match) {
  911. return symbolMap$3[match];
  912. })
  913. .replace(/,/g, '،');
  914. },
  915. week: {
  916. dow: 6, // Saturday is the first day of the week.
  917. doy: 12, // The week that contains Jan 12th is the first week of the year.
  918. },
  919. });
  920. //! moment.js locale configuration
  921. var suffixes = {
  922. 1: '-inci',
  923. 5: '-inci',
  924. 8: '-inci',
  925. 70: '-inci',
  926. 80: '-inci',
  927. 2: '-nci',
  928. 7: '-nci',
  929. 20: '-nci',
  930. 50: '-nci',
  931. 3: '-üncü',
  932. 4: '-üncü',
  933. 100: '-üncü',
  934. 6: '-ncı',
  935. 9: '-uncu',
  936. 10: '-uncu',
  937. 30: '-uncu',
  938. 60: '-ıncı',
  939. 90: '-ıncı',
  940. };
  941. moment.defineLocale('az', {
  942. months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(
  943. '_'
  944. ),
  945. monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
  946. weekdays:
  947. 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(
  948. '_'
  949. ),
  950. weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
  951. weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
  952. weekdaysParseExact: true,
  953. longDateFormat: {
  954. LT: 'HH:mm',
  955. LTS: 'HH:mm:ss',
  956. L: 'DD.MM.YYYY',
  957. LL: 'D MMMM YYYY',
  958. LLL: 'D MMMM YYYY HH:mm',
  959. LLLL: 'dddd, D MMMM YYYY HH:mm',
  960. },
  961. calendar: {
  962. sameDay: '[bugün saat] LT',
  963. nextDay: '[sabah saat] LT',
  964. nextWeek: '[gələn həftə] dddd [saat] LT',
  965. lastDay: '[dünən] LT',
  966. lastWeek: '[keçən həftə] dddd [saat] LT',
  967. sameElse: 'L',
  968. },
  969. relativeTime: {
  970. future: '%s sonra',
  971. past: '%s əvvəl',
  972. s: 'bir neçə saniyə',
  973. ss: '%d saniyə',
  974. m: 'bir dəqiqə',
  975. mm: '%d dəqiqə',
  976. h: 'bir saat',
  977. hh: '%d saat',
  978. d: 'bir gün',
  979. dd: '%d gün',
  980. M: 'bir ay',
  981. MM: '%d ay',
  982. y: 'bir il',
  983. yy: '%d il',
  984. },
  985. meridiemParse: /gecə|səhər|gündüz|axşam/,
  986. isPM: function (input) {
  987. return /^(gündüz|axşam)$/.test(input);
  988. },
  989. meridiem: function (hour, minute, isLower) {
  990. if (hour < 4) {
  991. return 'gecə';
  992. } else if (hour < 12) {
  993. return 'səhər';
  994. } else if (hour < 17) {
  995. return 'gündüz';
  996. } else {
  997. return 'axşam';
  998. }
  999. },
  1000. dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
  1001. ordinal: function (number) {
  1002. if (number === 0) {
  1003. // special case for zero
  1004. return number + '-ıncı';
  1005. }
  1006. var a = number % 10,
  1007. b = (number % 100) - a,
  1008. c = number >= 100 ? 100 : null;
  1009. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  1010. },
  1011. week: {
  1012. dow: 1, // Monday is the first day of the week.
  1013. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1014. },
  1015. });
  1016. //! moment.js locale configuration
  1017. function plural(word, num) {
  1018. var forms = word.split('_');
  1019. return num % 10 === 1 && num % 100 !== 11
  1020. ? forms[0]
  1021. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  1022. ? forms[1]
  1023. : forms[2];
  1024. }
  1025. function relativeTimeWithPlural(number, withoutSuffix, key) {
  1026. var format = {
  1027. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  1028. mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
  1029. hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
  1030. dd: 'дзень_дні_дзён',
  1031. MM: 'месяц_месяцы_месяцаў',
  1032. yy: 'год_гады_гадоў',
  1033. };
  1034. if (key === 'm') {
  1035. return withoutSuffix ? 'хвіліна' : 'хвіліну';
  1036. } else if (key === 'h') {
  1037. return withoutSuffix ? 'гадзіна' : 'гадзіну';
  1038. } else {
  1039. return number + ' ' + plural(format[key], +number);
  1040. }
  1041. }
  1042. moment.defineLocale('be', {
  1043. months: {
  1044. format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
  1045. '_'
  1046. ),
  1047. standalone:
  1048. 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
  1049. '_'
  1050. ),
  1051. },
  1052. monthsShort:
  1053. 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
  1054. weekdays: {
  1055. format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
  1056. '_'
  1057. ),
  1058. standalone:
  1059. 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
  1060. '_'
  1061. ),
  1062. isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
  1063. },
  1064. weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  1065. weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  1066. longDateFormat: {
  1067. LT: 'HH:mm',
  1068. LTS: 'HH:mm:ss',
  1069. L: 'DD.MM.YYYY',
  1070. LL: 'D MMMM YYYY г.',
  1071. LLL: 'D MMMM YYYY г., HH:mm',
  1072. LLLL: 'dddd, D MMMM YYYY г., HH:mm',
  1073. },
  1074. calendar: {
  1075. sameDay: '[Сёння ў] LT',
  1076. nextDay: '[Заўтра ў] LT',
  1077. lastDay: '[Учора ў] LT',
  1078. nextWeek: function () {
  1079. return '[У] dddd [ў] LT';
  1080. },
  1081. lastWeek: function () {
  1082. switch (this.day()) {
  1083. case 0:
  1084. case 3:
  1085. case 5:
  1086. case 6:
  1087. return '[У мінулую] dddd [ў] LT';
  1088. case 1:
  1089. case 2:
  1090. case 4:
  1091. return '[У мінулы] dddd [ў] LT';
  1092. }
  1093. },
  1094. sameElse: 'L',
  1095. },
  1096. relativeTime: {
  1097. future: 'праз %s',
  1098. past: '%s таму',
  1099. s: 'некалькі секунд',
  1100. m: relativeTimeWithPlural,
  1101. mm: relativeTimeWithPlural,
  1102. h: relativeTimeWithPlural,
  1103. hh: relativeTimeWithPlural,
  1104. d: 'дзень',
  1105. dd: relativeTimeWithPlural,
  1106. M: 'месяц',
  1107. MM: relativeTimeWithPlural,
  1108. y: 'год',
  1109. yy: relativeTimeWithPlural,
  1110. },
  1111. meridiemParse: /ночы|раніцы|дня|вечара/,
  1112. isPM: function (input) {
  1113. return /^(дня|вечара)$/.test(input);
  1114. },
  1115. meridiem: function (hour, minute, isLower) {
  1116. if (hour < 4) {
  1117. return 'ночы';
  1118. } else if (hour < 12) {
  1119. return 'раніцы';
  1120. } else if (hour < 17) {
  1121. return 'дня';
  1122. } else {
  1123. return 'вечара';
  1124. }
  1125. },
  1126. dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
  1127. ordinal: function (number, period) {
  1128. switch (period) {
  1129. case 'M':
  1130. case 'd':
  1131. case 'DDD':
  1132. case 'w':
  1133. case 'W':
  1134. return (number % 10 === 2 || number % 10 === 3) &&
  1135. number % 100 !== 12 &&
  1136. number % 100 !== 13
  1137. ? number + '-і'
  1138. : number + '-ы';
  1139. case 'D':
  1140. return number + '-га';
  1141. default:
  1142. return number;
  1143. }
  1144. },
  1145. week: {
  1146. dow: 1, // Monday is the first day of the week.
  1147. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1148. },
  1149. });
  1150. //! moment.js locale configuration
  1151. moment.defineLocale('bg', {
  1152. months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
  1153. '_'
  1154. ),
  1155. monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
  1156. weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
  1157. '_'
  1158. ),
  1159. weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
  1160. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  1161. longDateFormat: {
  1162. LT: 'H:mm',
  1163. LTS: 'H:mm:ss',
  1164. L: 'D.MM.YYYY',
  1165. LL: 'D MMMM YYYY',
  1166. LLL: 'D MMMM YYYY H:mm',
  1167. LLLL: 'dddd, D MMMM YYYY H:mm',
  1168. },
  1169. calendar: {
  1170. sameDay: '[Днес в] LT',
  1171. nextDay: '[Утре в] LT',
  1172. nextWeek: 'dddd [в] LT',
  1173. lastDay: '[Вчера в] LT',
  1174. lastWeek: function () {
  1175. switch (this.day()) {
  1176. case 0:
  1177. case 3:
  1178. case 6:
  1179. return '[Миналата] dddd [в] LT';
  1180. case 1:
  1181. case 2:
  1182. case 4:
  1183. case 5:
  1184. return '[Миналия] dddd [в] LT';
  1185. }
  1186. },
  1187. sameElse: 'L',
  1188. },
  1189. relativeTime: {
  1190. future: 'след %s',
  1191. past: 'преди %s',
  1192. s: 'няколко секунди',
  1193. ss: '%d секунди',
  1194. m: 'минута',
  1195. mm: '%d минути',
  1196. h: 'час',
  1197. hh: '%d часа',
  1198. d: 'ден',
  1199. dd: '%d дена',
  1200. w: 'седмица',
  1201. ww: '%d седмици',
  1202. M: 'месец',
  1203. MM: '%d месеца',
  1204. y: 'година',
  1205. yy: '%d години',
  1206. },
  1207. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  1208. ordinal: function (number) {
  1209. var lastDigit = number % 10,
  1210. last2Digits = number % 100;
  1211. if (number === 0) {
  1212. return number + '-ев';
  1213. } else if (last2Digits === 0) {
  1214. return number + '-ен';
  1215. } else if (last2Digits > 10 && last2Digits < 20) {
  1216. return number + '-ти';
  1217. } else if (lastDigit === 1) {
  1218. return number + '-ви';
  1219. } else if (lastDigit === 2) {
  1220. return number + '-ри';
  1221. } else if (lastDigit === 7 || lastDigit === 8) {
  1222. return number + '-ми';
  1223. } else {
  1224. return number + '-ти';
  1225. }
  1226. },
  1227. week: {
  1228. dow: 1, // Monday is the first day of the week.
  1229. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1230. },
  1231. });
  1232. //! moment.js locale configuration
  1233. moment.defineLocale('bm', {
  1234. months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
  1235. '_'
  1236. ),
  1237. monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
  1238. weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
  1239. weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
  1240. weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
  1241. longDateFormat: {
  1242. LT: 'HH:mm',
  1243. LTS: 'HH:mm:ss',
  1244. L: 'DD/MM/YYYY',
  1245. LL: 'MMMM [tile] D [san] YYYY',
  1246. LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  1247. LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  1248. },
  1249. calendar: {
  1250. sameDay: '[Bi lɛrɛ] LT',
  1251. nextDay: '[Sini lɛrɛ] LT',
  1252. nextWeek: 'dddd [don lɛrɛ] LT',
  1253. lastDay: '[Kunu lɛrɛ] LT',
  1254. lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
  1255. sameElse: 'L',
  1256. },
  1257. relativeTime: {
  1258. future: '%s kɔnɔ',
  1259. past: 'a bɛ %s bɔ',
  1260. s: 'sanga dama dama',
  1261. ss: 'sekondi %d',
  1262. m: 'miniti kelen',
  1263. mm: 'miniti %d',
  1264. h: 'lɛrɛ kelen',
  1265. hh: 'lɛrɛ %d',
  1266. d: 'tile kelen',
  1267. dd: 'tile %d',
  1268. M: 'kalo kelen',
  1269. MM: 'kalo %d',
  1270. y: 'san kelen',
  1271. yy: 'san %d',
  1272. },
  1273. week: {
  1274. dow: 1, // Monday is the first day of the week.
  1275. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1276. },
  1277. });
  1278. //! moment.js locale configuration
  1279. var symbolMap$4 = {
  1280. 1: '১',
  1281. 2: '২',
  1282. 3: '৩',
  1283. 4: '৪',
  1284. 5: '৫',
  1285. 6: '৬',
  1286. 7: '৭',
  1287. 8: '৮',
  1288. 9: '৯',
  1289. 0: '০',
  1290. },
  1291. numberMap$3 = {
  1292. '১': '1',
  1293. '২': '2',
  1294. '৩': '3',
  1295. '৪': '4',
  1296. '৫': '5',
  1297. '৬': '6',
  1298. '৭': '7',
  1299. '৮': '8',
  1300. '৯': '9',
  1301. '০': '0',
  1302. };
  1303. moment.defineLocale('bn-bd', {
  1304. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
  1305. '_'
  1306. ),
  1307. monthsShort:
  1308. 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
  1309. '_'
  1310. ),
  1311. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
  1312. '_'
  1313. ),
  1314. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  1315. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  1316. longDateFormat: {
  1317. LT: 'A h:mm সময়',
  1318. LTS: 'A h:mm:ss সময়',
  1319. L: 'DD/MM/YYYY',
  1320. LL: 'D MMMM YYYY',
  1321. LLL: 'D MMMM YYYY, A h:mm সময়',
  1322. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
  1323. },
  1324. calendar: {
  1325. sameDay: '[আজ] LT',
  1326. nextDay: '[আগামীকাল] LT',
  1327. nextWeek: 'dddd, LT',
  1328. lastDay: '[গতকাল] LT',
  1329. lastWeek: '[গত] dddd, LT',
  1330. sameElse: 'L',
  1331. },
  1332. relativeTime: {
  1333. future: '%s পরে',
  1334. past: '%s আগে',
  1335. s: 'কয়েক সেকেন্ড',
  1336. ss: '%d সেকেন্ড',
  1337. m: 'এক মিনিট',
  1338. mm: '%d মিনিট',
  1339. h: 'এক ঘন্টা',
  1340. hh: '%d ঘন্টা',
  1341. d: 'এক দিন',
  1342. dd: '%d দিন',
  1343. M: 'এক মাস',
  1344. MM: '%d মাস',
  1345. y: 'এক বছর',
  1346. yy: '%d বছর',
  1347. },
  1348. preparse: function (string) {
  1349. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  1350. return numberMap$3[match];
  1351. });
  1352. },
  1353. postformat: function (string) {
  1354. return string.replace(/\d/g, function (match) {
  1355. return symbolMap$4[match];
  1356. });
  1357. },
  1358. meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,
  1359. meridiemHour: function (hour, meridiem) {
  1360. if (hour === 12) {
  1361. hour = 0;
  1362. }
  1363. if (meridiem === 'রাত') {
  1364. return hour < 4 ? hour : hour + 12;
  1365. } else if (meridiem === 'ভোর') {
  1366. return hour;
  1367. } else if (meridiem === 'সকাল') {
  1368. return hour;
  1369. } else if (meridiem === 'দুপুর') {
  1370. return hour >= 3 ? hour : hour + 12;
  1371. } else if (meridiem === 'বিকাল') {
  1372. return hour + 12;
  1373. } else if (meridiem === 'সন্ধ্যা') {
  1374. return hour + 12;
  1375. }
  1376. },
  1377. meridiem: function (hour, minute, isLower) {
  1378. if (hour < 4) {
  1379. return 'রাত';
  1380. } else if (hour < 6) {
  1381. return 'ভোর';
  1382. } else if (hour < 12) {
  1383. return 'সকাল';
  1384. } else if (hour < 15) {
  1385. return 'দুপুর';
  1386. } else if (hour < 18) {
  1387. return 'বিকাল';
  1388. } else if (hour < 20) {
  1389. return 'সন্ধ্যা';
  1390. } else {
  1391. return 'রাত';
  1392. }
  1393. },
  1394. week: {
  1395. dow: 0, // Sunday is the first day of the week.
  1396. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1397. },
  1398. });
  1399. //! moment.js locale configuration
  1400. var symbolMap$5 = {
  1401. 1: '১',
  1402. 2: '২',
  1403. 3: '৩',
  1404. 4: '৪',
  1405. 5: '৫',
  1406. 6: '৬',
  1407. 7: '৭',
  1408. 8: '৮',
  1409. 9: '৯',
  1410. 0: '০',
  1411. },
  1412. numberMap$4 = {
  1413. '১': '1',
  1414. '২': '2',
  1415. '৩': '3',
  1416. '৪': '4',
  1417. '৫': '5',
  1418. '৬': '6',
  1419. '৭': '7',
  1420. '৮': '8',
  1421. '৯': '9',
  1422. '০': '0',
  1423. };
  1424. moment.defineLocale('bn', {
  1425. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
  1426. '_'
  1427. ),
  1428. monthsShort:
  1429. 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
  1430. '_'
  1431. ),
  1432. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
  1433. '_'
  1434. ),
  1435. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  1436. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  1437. longDateFormat: {
  1438. LT: 'A h:mm সময়',
  1439. LTS: 'A h:mm:ss সময়',
  1440. L: 'DD/MM/YYYY',
  1441. LL: 'D MMMM YYYY',
  1442. LLL: 'D MMMM YYYY, A h:mm সময়',
  1443. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
  1444. },
  1445. calendar: {
  1446. sameDay: '[আজ] LT',
  1447. nextDay: '[আগামীকাল] LT',
  1448. nextWeek: 'dddd, LT',
  1449. lastDay: '[গতকাল] LT',
  1450. lastWeek: '[গত] dddd, LT',
  1451. sameElse: 'L',
  1452. },
  1453. relativeTime: {
  1454. future: '%s পরে',
  1455. past: '%s আগে',
  1456. s: 'কয়েক সেকেন্ড',
  1457. ss: '%d সেকেন্ড',
  1458. m: 'এক মিনিট',
  1459. mm: '%d মিনিট',
  1460. h: 'এক ঘন্টা',
  1461. hh: '%d ঘন্টা',
  1462. d: 'এক দিন',
  1463. dd: '%d দিন',
  1464. M: 'এক মাস',
  1465. MM: '%d মাস',
  1466. y: 'এক বছর',
  1467. yy: '%d বছর',
  1468. },
  1469. preparse: function (string) {
  1470. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  1471. return numberMap$4[match];
  1472. });
  1473. },
  1474. postformat: function (string) {
  1475. return string.replace(/\d/g, function (match) {
  1476. return symbolMap$5[match];
  1477. });
  1478. },
  1479. meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
  1480. meridiemHour: function (hour, meridiem) {
  1481. if (hour === 12) {
  1482. hour = 0;
  1483. }
  1484. if (
  1485. (meridiem === 'রাত' && hour >= 4) ||
  1486. (meridiem === 'দুপুর' && hour < 5) ||
  1487. meridiem === 'বিকাল'
  1488. ) {
  1489. return hour + 12;
  1490. } else {
  1491. return hour;
  1492. }
  1493. },
  1494. meridiem: function (hour, minute, isLower) {
  1495. if (hour < 4) {
  1496. return 'রাত';
  1497. } else if (hour < 10) {
  1498. return 'সকাল';
  1499. } else if (hour < 17) {
  1500. return 'দুপুর';
  1501. } else if (hour < 20) {
  1502. return 'বিকাল';
  1503. } else {
  1504. return 'রাত';
  1505. }
  1506. },
  1507. week: {
  1508. dow: 0, // Sunday is the first day of the week.
  1509. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1510. },
  1511. });
  1512. //! moment.js locale configuration
  1513. var symbolMap$6 = {
  1514. 1: '༡',
  1515. 2: '༢',
  1516. 3: '༣',
  1517. 4: '༤',
  1518. 5: '༥',
  1519. 6: '༦',
  1520. 7: '༧',
  1521. 8: '༨',
  1522. 9: '༩',
  1523. 0: '༠',
  1524. },
  1525. numberMap$5 = {
  1526. '༡': '1',
  1527. '༢': '2',
  1528. '༣': '3',
  1529. '༤': '4',
  1530. '༥': '5',
  1531. '༦': '6',
  1532. '༧': '7',
  1533. '༨': '8',
  1534. '༩': '9',
  1535. '༠': '0',
  1536. };
  1537. moment.defineLocale('bo', {
  1538. months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(
  1539. '_'
  1540. ),
  1541. monthsShort:
  1542. 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(
  1543. '_'
  1544. ),
  1545. monthsShortRegex: /^(ཟླ་\d{1,2})/,
  1546. monthsParseExact: true,
  1547. weekdays:
  1548. 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(
  1549. '_'
  1550. ),
  1551. weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(
  1552. '_'
  1553. ),
  1554. weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),
  1555. longDateFormat: {
  1556. LT: 'A h:mm',
  1557. LTS: 'A h:mm:ss',
  1558. L: 'DD/MM/YYYY',
  1559. LL: 'D MMMM YYYY',
  1560. LLL: 'D MMMM YYYY, A h:mm',
  1561. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  1562. },
  1563. calendar: {
  1564. sameDay: '[དི་རིང] LT',
  1565. nextDay: '[སང་ཉིན] LT',
  1566. nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
  1567. lastDay: '[ཁ་སང] LT',
  1568. lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
  1569. sameElse: 'L',
  1570. },
  1571. relativeTime: {
  1572. future: '%s ལ་',
  1573. past: '%s སྔན་ལ',
  1574. s: 'ལམ་སང',
  1575. ss: '%d སྐར་ཆ།',
  1576. m: 'སྐར་མ་གཅིག',
  1577. mm: '%d སྐར་མ',
  1578. h: 'ཆུ་ཚོད་གཅིག',
  1579. hh: '%d ཆུ་ཚོད',
  1580. d: 'ཉིན་གཅིག',
  1581. dd: '%d ཉིན་',
  1582. M: 'ཟླ་བ་གཅིག',
  1583. MM: '%d ཟླ་བ',
  1584. y: 'ལོ་གཅིག',
  1585. yy: '%d ལོ',
  1586. },
  1587. preparse: function (string) {
  1588. return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
  1589. return numberMap$5[match];
  1590. });
  1591. },
  1592. postformat: function (string) {
  1593. return string.replace(/\d/g, function (match) {
  1594. return symbolMap$6[match];
  1595. });
  1596. },
  1597. meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
  1598. meridiemHour: function (hour, meridiem) {
  1599. if (hour === 12) {
  1600. hour = 0;
  1601. }
  1602. if (
  1603. (meridiem === 'མཚན་མོ' && hour >= 4) ||
  1604. (meridiem === 'ཉིན་གུང' && hour < 5) ||
  1605. meridiem === 'དགོང་དག'
  1606. ) {
  1607. return hour + 12;
  1608. } else {
  1609. return hour;
  1610. }
  1611. },
  1612. meridiem: function (hour, minute, isLower) {
  1613. if (hour < 4) {
  1614. return 'མཚན་མོ';
  1615. } else if (hour < 10) {
  1616. return 'ཞོགས་ཀས';
  1617. } else if (hour < 17) {
  1618. return 'ཉིན་གུང';
  1619. } else if (hour < 20) {
  1620. return 'དགོང་དག';
  1621. } else {
  1622. return 'མཚན་མོ';
  1623. }
  1624. },
  1625. week: {
  1626. dow: 0, // Sunday is the first day of the week.
  1627. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1628. },
  1629. });
  1630. //! moment.js locale configuration
  1631. function relativeTimeWithMutation(number, withoutSuffix, key) {
  1632. var format = {
  1633. mm: 'munutenn',
  1634. MM: 'miz',
  1635. dd: 'devezh',
  1636. };
  1637. return number + ' ' + mutation(format[key], number);
  1638. }
  1639. function specialMutationForYears(number) {
  1640. switch (lastNumber(number)) {
  1641. case 1:
  1642. case 3:
  1643. case 4:
  1644. case 5:
  1645. case 9:
  1646. return number + ' bloaz';
  1647. default:
  1648. return number + ' vloaz';
  1649. }
  1650. }
  1651. function lastNumber(number) {
  1652. if (number > 9) {
  1653. return lastNumber(number % 10);
  1654. }
  1655. return number;
  1656. }
  1657. function mutation(text, number) {
  1658. if (number === 2) {
  1659. return softMutation(text);
  1660. }
  1661. return text;
  1662. }
  1663. function softMutation(text) {
  1664. var mutationTable = {
  1665. m: 'v',
  1666. b: 'v',
  1667. d: 'z',
  1668. };
  1669. if (mutationTable[text.charAt(0)] === undefined) {
  1670. return text;
  1671. }
  1672. return mutationTable[text.charAt(0)] + text.substring(1);
  1673. }
  1674. var monthsParse = [
  1675. /^gen/i,
  1676. /^c[ʼ\']hwe/i,
  1677. /^meu/i,
  1678. /^ebr/i,
  1679. /^mae/i,
  1680. /^(mez|eve)/i,
  1681. /^gou/i,
  1682. /^eos/i,
  1683. /^gwe/i,
  1684. /^her/i,
  1685. /^du/i,
  1686. /^ker/i,
  1687. ],
  1688. monthsRegex =
  1689. /^(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,
  1690. monthsStrictRegex =
  1691. /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
  1692. monthsShortStrictRegex =
  1693. /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  1694. fullWeekdaysParse = [
  1695. /^sul/i,
  1696. /^lun/i,
  1697. /^meurzh/i,
  1698. /^merc[ʼ\']her/i,
  1699. /^yaou/i,
  1700. /^gwener/i,
  1701. /^sadorn/i,
  1702. ],
  1703. shortWeekdaysParse = [
  1704. /^Sul/i,
  1705. /^Lun/i,
  1706. /^Meu/i,
  1707. /^Mer/i,
  1708. /^Yao/i,
  1709. /^Gwe/i,
  1710. /^Sad/i,
  1711. ],
  1712. minWeekdaysParse = [
  1713. /^Su/i,
  1714. /^Lu/i,
  1715. /^Me([^r]|$)/i,
  1716. /^Mer/i,
  1717. /^Ya/i,
  1718. /^Gw/i,
  1719. /^Sa/i,
  1720. ];
  1721. moment.defineLocale('br', {
  1722. months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(
  1723. '_'
  1724. ),
  1725. monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
  1726. weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),
  1727. weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
  1728. weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
  1729. weekdaysParse: minWeekdaysParse,
  1730. fullWeekdaysParse: fullWeekdaysParse,
  1731. shortWeekdaysParse: shortWeekdaysParse,
  1732. minWeekdaysParse: minWeekdaysParse,
  1733. monthsRegex: monthsRegex,
  1734. monthsShortRegex: monthsRegex,
  1735. monthsStrictRegex: monthsStrictRegex,
  1736. monthsShortStrictRegex: monthsShortStrictRegex,
  1737. monthsParse: monthsParse,
  1738. longMonthsParse: monthsParse,
  1739. shortMonthsParse: monthsParse,
  1740. longDateFormat: {
  1741. LT: 'HH:mm',
  1742. LTS: 'HH:mm:ss',
  1743. L: 'DD/MM/YYYY',
  1744. LL: 'D [a viz] MMMM YYYY',
  1745. LLL: 'D [a viz] MMMM YYYY HH:mm',
  1746. LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',
  1747. },
  1748. calendar: {
  1749. sameDay: '[Hiziv da] LT',
  1750. nextDay: '[Warcʼhoazh da] LT',
  1751. nextWeek: 'dddd [da] LT',
  1752. lastDay: '[Decʼh da] LT',
  1753. lastWeek: 'dddd [paset da] LT',
  1754. sameElse: 'L',
  1755. },
  1756. relativeTime: {
  1757. future: 'a-benn %s',
  1758. past: '%s ʼzo',
  1759. s: 'un nebeud segondennoù',
  1760. ss: '%d eilenn',
  1761. m: 'ur vunutenn',
  1762. mm: relativeTimeWithMutation,
  1763. h: 'un eur',
  1764. hh: '%d eur',
  1765. d: 'un devezh',
  1766. dd: relativeTimeWithMutation,
  1767. M: 'ur miz',
  1768. MM: relativeTimeWithMutation,
  1769. y: 'ur bloaz',
  1770. yy: specialMutationForYears,
  1771. },
  1772. dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
  1773. ordinal: function (number) {
  1774. var output = number === 1 ? 'añ' : 'vet';
  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. meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn
  1782. isPM: function (token) {
  1783. return token === 'g.m.';
  1784. },
  1785. meridiem: function (hour, minute, isLower) {
  1786. return hour < 12 ? 'a.m.' : 'g.m.';
  1787. },
  1788. });
  1789. //! moment.js locale configuration
  1790. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  1791. switch (key) {
  1792. case 'm':
  1793. return withoutSuffix
  1794. ? 'jedna minuta'
  1795. : isFuture
  1796. ? 'jednu minutu'
  1797. : 'jedne minute';
  1798. }
  1799. }
  1800. function translate(number, withoutSuffix, key) {
  1801. var result = number + ' ';
  1802. switch (key) {
  1803. case 'ss':
  1804. if (number === 1) {
  1805. result += 'sekunda';
  1806. } else if (number === 2 || number === 3 || number === 4) {
  1807. result += 'sekunde';
  1808. } else {
  1809. result += 'sekundi';
  1810. }
  1811. return result;
  1812. case 'mm':
  1813. if (number === 1) {
  1814. result += 'minuta';
  1815. } else if (number === 2 || number === 3 || number === 4) {
  1816. result += 'minute';
  1817. } else {
  1818. result += 'minuta';
  1819. }
  1820. return result;
  1821. case 'h':
  1822. return withoutSuffix ? 'jedan sat' : 'jedan sat';
  1823. case 'hh':
  1824. if (number === 1) {
  1825. result += 'sat';
  1826. } else if (number === 2 || number === 3 || number === 4) {
  1827. result += 'sata';
  1828. } else {
  1829. result += 'sati';
  1830. }
  1831. return result;
  1832. case 'dd':
  1833. if (number === 1) {
  1834. result += 'dan';
  1835. } else {
  1836. result += 'dana';
  1837. }
  1838. return result;
  1839. case 'MM':
  1840. if (number === 1) {
  1841. result += 'mjesec';
  1842. } else if (number === 2 || number === 3 || number === 4) {
  1843. result += 'mjeseca';
  1844. } else {
  1845. result += 'mjeseci';
  1846. }
  1847. return result;
  1848. case 'yy':
  1849. if (number === 1) {
  1850. result += 'godina';
  1851. } else if (number === 2 || number === 3 || number === 4) {
  1852. result += 'godine';
  1853. } else {
  1854. result += 'godina';
  1855. }
  1856. return result;
  1857. }
  1858. }
  1859. moment.defineLocale('bs', {
  1860. months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(
  1861. '_'
  1862. ),
  1863. monthsShort:
  1864. 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(
  1865. '_'
  1866. ),
  1867. monthsParseExact: true,
  1868. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  1869. '_'
  1870. ),
  1871. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  1872. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  1873. weekdaysParseExact: true,
  1874. longDateFormat: {
  1875. LT: 'H:mm',
  1876. LTS: 'H:mm:ss',
  1877. L: 'DD.MM.YYYY',
  1878. LL: 'D. MMMM YYYY',
  1879. LLL: 'D. MMMM YYYY H:mm',
  1880. LLLL: 'dddd, D. MMMM YYYY H:mm',
  1881. },
  1882. calendar: {
  1883. sameDay: '[danas u] LT',
  1884. nextDay: '[sutra u] LT',
  1885. nextWeek: function () {
  1886. switch (this.day()) {
  1887. case 0:
  1888. return '[u] [nedjelju] [u] LT';
  1889. case 3:
  1890. return '[u] [srijedu] [u] LT';
  1891. case 6:
  1892. return '[u] [subotu] [u] LT';
  1893. case 1:
  1894. case 2:
  1895. case 4:
  1896. case 5:
  1897. return '[u] dddd [u] LT';
  1898. }
  1899. },
  1900. lastDay: '[jučer u] LT',
  1901. lastWeek: function () {
  1902. switch (this.day()) {
  1903. case 0:
  1904. case 3:
  1905. return '[prošlu] dddd [u] LT';
  1906. case 6:
  1907. return '[prošle] [subote] [u] LT';
  1908. case 1:
  1909. case 2:
  1910. case 4:
  1911. case 5:
  1912. return '[prošli] dddd [u] LT';
  1913. }
  1914. },
  1915. sameElse: 'L',
  1916. },
  1917. relativeTime: {
  1918. future: 'za %s',
  1919. past: 'prije %s',
  1920. s: 'par sekundi',
  1921. ss: translate,
  1922. m: processRelativeTime,
  1923. mm: translate,
  1924. h: translate,
  1925. hh: translate,
  1926. d: 'dan',
  1927. dd: translate,
  1928. M: 'mjesec',
  1929. MM: translate,
  1930. y: 'godinu',
  1931. yy: translate,
  1932. },
  1933. dayOfMonthOrdinalParse: /\d{1,2}\./,
  1934. ordinal: '%d.',
  1935. week: {
  1936. dow: 1, // Monday is the first day of the week.
  1937. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1938. },
  1939. });
  1940. //! moment.js locale configuration
  1941. moment.defineLocale('ca', {
  1942. months: {
  1943. standalone:
  1944. 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(
  1945. '_'
  1946. ),
  1947. 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(
  1948. '_'
  1949. ),
  1950. isFormat: /D[oD]?(\s)+MMMM/,
  1951. },
  1952. monthsShort:
  1953. 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(
  1954. '_'
  1955. ),
  1956. monthsParseExact: true,
  1957. weekdays:
  1958. 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(
  1959. '_'
  1960. ),
  1961. weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
  1962. weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
  1963. weekdaysParseExact: true,
  1964. longDateFormat: {
  1965. LT: 'H:mm',
  1966. LTS: 'H:mm:ss',
  1967. L: 'DD/MM/YYYY',
  1968. LL: 'D MMMM [de] YYYY',
  1969. ll: 'D MMM YYYY',
  1970. LLL: 'D MMMM [de] YYYY [a les] H:mm',
  1971. lll: 'D MMM YYYY, H:mm',
  1972. LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
  1973. llll: 'ddd D MMM YYYY, H:mm',
  1974. },
  1975. calendar: {
  1976. sameDay: function () {
  1977. return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1978. },
  1979. nextDay: function () {
  1980. return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1981. },
  1982. nextWeek: function () {
  1983. return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1984. },
  1985. lastDay: function () {
  1986. return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1987. },
  1988. lastWeek: function () {
  1989. return (
  1990. '[el] dddd [passat a ' +
  1991. (this.hours() !== 1 ? 'les' : 'la') +
  1992. '] LT'
  1993. );
  1994. },
  1995. sameElse: 'L',
  1996. },
  1997. relativeTime: {
  1998. future: "d'aquí %s",
  1999. past: 'fa %s',
  2000. s: 'uns segons',
  2001. ss: '%d segons',
  2002. m: 'un minut',
  2003. mm: '%d minuts',
  2004. h: 'una hora',
  2005. hh: '%d hores',
  2006. d: 'un dia',
  2007. dd: '%d dies',
  2008. M: 'un mes',
  2009. MM: '%d mesos',
  2010. y: 'un any',
  2011. yy: '%d anys',
  2012. },
  2013. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  2014. ordinal: function (number, period) {
  2015. var output =
  2016. number === 1
  2017. ? 'r'
  2018. : number === 2
  2019. ? 'n'
  2020. : number === 3
  2021. ? 'r'
  2022. : number === 4
  2023. ? 't'
  2024. : 'è';
  2025. if (period === 'w' || period === 'W') {
  2026. output = 'a';
  2027. }
  2028. return number + output;
  2029. },
  2030. week: {
  2031. dow: 1, // Monday is the first day of the week.
  2032. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2033. },
  2034. });
  2035. //! moment.js locale configuration
  2036. var months$3 = {
  2037. standalone:
  2038. 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
  2039. '_'
  2040. ),
  2041. format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split(
  2042. '_'
  2043. ),
  2044. isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/,
  2045. },
  2046. monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
  2047. monthsParse$1 = [
  2048. /^led/i,
  2049. /^úno/i,
  2050. /^bře/i,
  2051. /^dub/i,
  2052. /^kvě/i,
  2053. /^(čvn|červen$|června)/i,
  2054. /^(čvc|červenec|července)/i,
  2055. /^srp/i,
  2056. /^zář/i,
  2057. /^říj/i,
  2058. /^lis/i,
  2059. /^pro/i,
  2060. ],
  2061. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  2062. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  2063. monthsRegex$1 =
  2064. /^(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;
  2065. function plural$1(n) {
  2066. return n > 1 && n < 5 && ~~(n / 10) !== 1;
  2067. }
  2068. function translate$1(number, withoutSuffix, key, isFuture) {
  2069. var result = number + ' ';
  2070. switch (key) {
  2071. case 's': // a few seconds / in a few seconds / a few seconds ago
  2072. return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
  2073. case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
  2074. if (withoutSuffix || isFuture) {
  2075. return result + (plural$1(number) ? 'sekundy' : 'sekund');
  2076. } else {
  2077. return result + 'sekundami';
  2078. }
  2079. case 'm': // a minute / in a minute / a minute ago
  2080. return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
  2081. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  2082. if (withoutSuffix || isFuture) {
  2083. return result + (plural$1(number) ? 'minuty' : 'minut');
  2084. } else {
  2085. return result + 'minutami';
  2086. }
  2087. case 'h': // an hour / in an hour / an hour ago
  2088. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  2089. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  2090. if (withoutSuffix || isFuture) {
  2091. return result + (plural$1(number) ? 'hodiny' : 'hodin');
  2092. } else {
  2093. return result + 'hodinami';
  2094. }
  2095. case 'd': // a day / in a day / a day ago
  2096. return withoutSuffix || isFuture ? 'den' : 'dnem';
  2097. case 'dd': // 9 days / in 9 days / 9 days ago
  2098. if (withoutSuffix || isFuture) {
  2099. return result + (plural$1(number) ? 'dny' : 'dní');
  2100. } else {
  2101. return result + 'dny';
  2102. }
  2103. case 'M': // a month / in a month / a month ago
  2104. return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
  2105. case 'MM': // 9 months / in 9 months / 9 months ago
  2106. if (withoutSuffix || isFuture) {
  2107. return result + (plural$1(number) ? 'měsíce' : 'měsíců');
  2108. } else {
  2109. return result + 'měsíci';
  2110. }
  2111. case 'y': // a year / in a year / a year ago
  2112. return withoutSuffix || isFuture ? 'rok' : 'rokem';
  2113. case 'yy': // 9 years / in 9 years / 9 years ago
  2114. if (withoutSuffix || isFuture) {
  2115. return result + (plural$1(number) ? 'roky' : 'let');
  2116. } else {
  2117. return result + 'lety';
  2118. }
  2119. }
  2120. }
  2121. moment.defineLocale('cs', {
  2122. months: months$3,
  2123. monthsShort: monthsShort,
  2124. monthsRegex: monthsRegex$1,
  2125. monthsShortRegex: monthsRegex$1,
  2126. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  2127. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  2128. monthsStrictRegex:
  2129. /^(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,
  2130. monthsShortStrictRegex:
  2131. /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
  2132. monthsParse: monthsParse$1,
  2133. longMonthsParse: monthsParse$1,
  2134. shortMonthsParse: monthsParse$1,
  2135. weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
  2136. weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
  2137. weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
  2138. longDateFormat: {
  2139. LT: 'H:mm',
  2140. LTS: 'H:mm:ss',
  2141. L: 'DD.MM.YYYY',
  2142. LL: 'D. MMMM YYYY',
  2143. LLL: 'D. MMMM YYYY H:mm',
  2144. LLLL: 'dddd D. MMMM YYYY H:mm',
  2145. l: 'D. M. YYYY',
  2146. },
  2147. calendar: {
  2148. sameDay: '[dnes v] LT',
  2149. nextDay: '[zítra v] LT',
  2150. nextWeek: function () {
  2151. switch (this.day()) {
  2152. case 0:
  2153. return '[v neděli v] LT';
  2154. case 1:
  2155. case 2:
  2156. return '[v] dddd [v] LT';
  2157. case 3:
  2158. return '[ve středu v] LT';
  2159. case 4:
  2160. return '[ve čtvrtek v] LT';
  2161. case 5:
  2162. return '[v pátek v] LT';
  2163. case 6:
  2164. return '[v sobotu v] LT';
  2165. }
  2166. },
  2167. lastDay: '[včera v] LT',
  2168. lastWeek: function () {
  2169. switch (this.day()) {
  2170. case 0:
  2171. return '[minulou neděli v] LT';
  2172. case 1:
  2173. case 2:
  2174. return '[minulé] dddd [v] LT';
  2175. case 3:
  2176. return '[minulou středu v] LT';
  2177. case 4:
  2178. case 5:
  2179. return '[minulý] dddd [v] LT';
  2180. case 6:
  2181. return '[minulou sobotu v] LT';
  2182. }
  2183. },
  2184. sameElse: 'L',
  2185. },
  2186. relativeTime: {
  2187. future: 'za %s',
  2188. past: 'před %s',
  2189. s: translate$1,
  2190. ss: translate$1,
  2191. m: translate$1,
  2192. mm: translate$1,
  2193. h: translate$1,
  2194. hh: translate$1,
  2195. d: translate$1,
  2196. dd: translate$1,
  2197. M: translate$1,
  2198. MM: translate$1,
  2199. y: translate$1,
  2200. yy: translate$1,
  2201. },
  2202. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2203. ordinal: '%d.',
  2204. week: {
  2205. dow: 1, // Monday is the first day of the week.
  2206. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2207. },
  2208. });
  2209. //! moment.js locale configuration
  2210. moment.defineLocale('cv', {
  2211. months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
  2212. '_'
  2213. ),
  2214. monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  2215. weekdays:
  2216. 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
  2217. '_'
  2218. ),
  2219. weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
  2220. weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
  2221. longDateFormat: {
  2222. LT: 'HH:mm',
  2223. LTS: 'HH:mm:ss',
  2224. L: 'DD-MM-YYYY',
  2225. LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
  2226. LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  2227. LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  2228. },
  2229. calendar: {
  2230. sameDay: '[Паян] LT [сехетре]',
  2231. nextDay: '[Ыран] LT [сехетре]',
  2232. lastDay: '[Ӗнер] LT [сехетре]',
  2233. nextWeek: '[Ҫитес] dddd LT [сехетре]',
  2234. lastWeek: '[Иртнӗ] dddd LT [сехетре]',
  2235. sameElse: 'L',
  2236. },
  2237. relativeTime: {
  2238. future: function (output) {
  2239. var affix = /сехет$/i.exec(output)
  2240. ? 'рен'
  2241. : /ҫул$/i.exec(output)
  2242. ? 'тан'
  2243. : 'ран';
  2244. return output + affix;
  2245. },
  2246. past: '%s каялла',
  2247. s: 'пӗр-ик ҫеккунт',
  2248. ss: '%d ҫеккунт',
  2249. m: 'пӗр минут',
  2250. mm: '%d минут',
  2251. h: 'пӗр сехет',
  2252. hh: '%d сехет',
  2253. d: 'пӗр кун',
  2254. dd: '%d кун',
  2255. M: 'пӗр уйӑх',
  2256. MM: '%d уйӑх',
  2257. y: 'пӗр ҫул',
  2258. yy: '%d ҫул',
  2259. },
  2260. dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
  2261. ordinal: '%d-мӗш',
  2262. week: {
  2263. dow: 1, // Monday is the first day of the week.
  2264. doy: 7, // The week that contains Jan 7th is the first week of the year.
  2265. },
  2266. });
  2267. //! moment.js locale configuration
  2268. moment.defineLocale('cy', {
  2269. months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
  2270. '_'
  2271. ),
  2272. monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(
  2273. '_'
  2274. ),
  2275. weekdays:
  2276. 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(
  2277. '_'
  2278. ),
  2279. weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
  2280. weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
  2281. weekdaysParseExact: true,
  2282. // time formats are the same as en-gb
  2283. longDateFormat: {
  2284. LT: 'HH:mm',
  2285. LTS: 'HH:mm:ss',
  2286. L: 'DD/MM/YYYY',
  2287. LL: 'D MMMM YYYY',
  2288. LLL: 'D MMMM YYYY HH:mm',
  2289. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2290. },
  2291. calendar: {
  2292. sameDay: '[Heddiw am] LT',
  2293. nextDay: '[Yfory am] LT',
  2294. nextWeek: 'dddd [am] LT',
  2295. lastDay: '[Ddoe am] LT',
  2296. lastWeek: 'dddd [diwethaf am] LT',
  2297. sameElse: 'L',
  2298. },
  2299. relativeTime: {
  2300. future: 'mewn %s',
  2301. past: '%s yn ôl',
  2302. s: 'ychydig eiliadau',
  2303. ss: '%d eiliad',
  2304. m: 'munud',
  2305. mm: '%d munud',
  2306. h: 'awr',
  2307. hh: '%d awr',
  2308. d: 'diwrnod',
  2309. dd: '%d diwrnod',
  2310. M: 'mis',
  2311. MM: '%d mis',
  2312. y: 'blwyddyn',
  2313. yy: '%d flynedd',
  2314. },
  2315. dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
  2316. // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
  2317. ordinal: function (number) {
  2318. var b = number,
  2319. output = '',
  2320. lookup = [
  2321. '',
  2322. 'af',
  2323. 'il',
  2324. 'ydd',
  2325. 'ydd',
  2326. 'ed',
  2327. 'ed',
  2328. 'ed',
  2329. 'fed',
  2330. 'fed',
  2331. 'fed', // 1af to 10fed
  2332. 'eg',
  2333. 'fed',
  2334. 'eg',
  2335. 'eg',
  2336. 'fed',
  2337. 'eg',
  2338. 'eg',
  2339. 'fed',
  2340. 'eg',
  2341. 'fed', // 11eg to 20fed
  2342. ];
  2343. if (b > 20) {
  2344. if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
  2345. output = 'fed'; // not 30ain, 70ain or 90ain
  2346. } else {
  2347. output = 'ain';
  2348. }
  2349. } else if (b > 0) {
  2350. output = lookup[b];
  2351. }
  2352. return number + output;
  2353. },
  2354. week: {
  2355. dow: 1, // Monday is the first day of the week.
  2356. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2357. },
  2358. });
  2359. //! moment.js locale configuration
  2360. moment.defineLocale('da', {
  2361. months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
  2362. '_'
  2363. ),
  2364. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  2365. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  2366. weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
  2367. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  2368. longDateFormat: {
  2369. LT: 'HH:mm',
  2370. LTS: 'HH:mm:ss',
  2371. L: 'DD.MM.YYYY',
  2372. LL: 'D. MMMM YYYY',
  2373. LLL: 'D. MMMM YYYY HH:mm',
  2374. LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
  2375. },
  2376. calendar: {
  2377. sameDay: '[i dag kl.] LT',
  2378. nextDay: '[i morgen kl.] LT',
  2379. nextWeek: 'på dddd [kl.] LT',
  2380. lastDay: '[i går kl.] LT',
  2381. lastWeek: '[i] dddd[s kl.] LT',
  2382. sameElse: 'L',
  2383. },
  2384. relativeTime: {
  2385. future: 'om %s',
  2386. past: '%s siden',
  2387. s: 'få sekunder',
  2388. ss: '%d sekunder',
  2389. m: 'et minut',
  2390. mm: '%d minutter',
  2391. h: 'en time',
  2392. hh: '%d timer',
  2393. d: 'en dag',
  2394. dd: '%d dage',
  2395. M: 'en måned',
  2396. MM: '%d måneder',
  2397. y: 'et år',
  2398. yy: '%d år',
  2399. },
  2400. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2401. ordinal: '%d.',
  2402. week: {
  2403. dow: 1, // Monday is the first day of the week.
  2404. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2405. },
  2406. });
  2407. //! moment.js locale configuration
  2408. function processRelativeTime$1(number, withoutSuffix, key, isFuture) {
  2409. var format = {
  2410. m: ['eine Minute', 'einer Minute'],
  2411. h: ['eine Stunde', 'einer Stunde'],
  2412. d: ['ein Tag', 'einem Tag'],
  2413. dd: [number + ' Tage', number + ' Tagen'],
  2414. w: ['eine Woche', 'einer Woche'],
  2415. M: ['ein Monat', 'einem Monat'],
  2416. MM: [number + ' Monate', number + ' Monaten'],
  2417. y: ['ein Jahr', 'einem Jahr'],
  2418. yy: [number + ' Jahre', number + ' Jahren'],
  2419. };
  2420. return withoutSuffix ? format[key][0] : format[key][1];
  2421. }
  2422. moment.defineLocale('de-at', {
  2423. months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2424. '_'
  2425. ),
  2426. monthsShort:
  2427. 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  2428. monthsParseExact: true,
  2429. weekdays:
  2430. 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2431. '_'
  2432. ),
  2433. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  2434. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2435. weekdaysParseExact: true,
  2436. longDateFormat: {
  2437. LT: 'HH:mm',
  2438. LTS: 'HH:mm:ss',
  2439. L: 'DD.MM.YYYY',
  2440. LL: 'D. MMMM YYYY',
  2441. LLL: 'D. MMMM YYYY HH:mm',
  2442. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2443. },
  2444. calendar: {
  2445. sameDay: '[heute um] LT [Uhr]',
  2446. sameElse: 'L',
  2447. nextDay: '[morgen um] LT [Uhr]',
  2448. nextWeek: 'dddd [um] LT [Uhr]',
  2449. lastDay: '[gestern um] LT [Uhr]',
  2450. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2451. },
  2452. relativeTime: {
  2453. future: 'in %s',
  2454. past: 'vor %s',
  2455. s: 'ein paar Sekunden',
  2456. ss: '%d Sekunden',
  2457. m: processRelativeTime$1,
  2458. mm: '%d Minuten',
  2459. h: processRelativeTime$1,
  2460. hh: '%d Stunden',
  2461. d: processRelativeTime$1,
  2462. dd: processRelativeTime$1,
  2463. w: processRelativeTime$1,
  2464. ww: '%d Wochen',
  2465. M: processRelativeTime$1,
  2466. MM: processRelativeTime$1,
  2467. y: processRelativeTime$1,
  2468. yy: processRelativeTime$1,
  2469. },
  2470. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2471. ordinal: '%d.',
  2472. week: {
  2473. dow: 1, // Monday is the first day of the week.
  2474. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2475. },
  2476. });
  2477. //! moment.js locale configuration
  2478. function processRelativeTime$2(number, withoutSuffix, key, isFuture) {
  2479. var format = {
  2480. m: ['eine Minute', 'einer Minute'],
  2481. h: ['eine Stunde', 'einer Stunde'],
  2482. d: ['ein Tag', 'einem Tag'],
  2483. dd: [number + ' Tage', number + ' Tagen'],
  2484. w: ['eine Woche', 'einer Woche'],
  2485. M: ['ein Monat', 'einem Monat'],
  2486. MM: [number + ' Monate', number + ' Monaten'],
  2487. y: ['ein Jahr', 'einem Jahr'],
  2488. yy: [number + ' Jahre', number + ' Jahren'],
  2489. };
  2490. return withoutSuffix ? format[key][0] : format[key][1];
  2491. }
  2492. moment.defineLocale('de-ch', {
  2493. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2494. '_'
  2495. ),
  2496. monthsShort:
  2497. 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  2498. monthsParseExact: true,
  2499. weekdays:
  2500. 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2501. '_'
  2502. ),
  2503. weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2504. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2505. weekdaysParseExact: true,
  2506. longDateFormat: {
  2507. LT: 'HH:mm',
  2508. LTS: 'HH:mm:ss',
  2509. L: 'DD.MM.YYYY',
  2510. LL: 'D. MMMM YYYY',
  2511. LLL: 'D. MMMM YYYY HH:mm',
  2512. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2513. },
  2514. calendar: {
  2515. sameDay: '[heute um] LT [Uhr]',
  2516. sameElse: 'L',
  2517. nextDay: '[morgen um] LT [Uhr]',
  2518. nextWeek: 'dddd [um] LT [Uhr]',
  2519. lastDay: '[gestern um] LT [Uhr]',
  2520. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2521. },
  2522. relativeTime: {
  2523. future: 'in %s',
  2524. past: 'vor %s',
  2525. s: 'ein paar Sekunden',
  2526. ss: '%d Sekunden',
  2527. m: processRelativeTime$2,
  2528. mm: '%d Minuten',
  2529. h: processRelativeTime$2,
  2530. hh: '%d Stunden',
  2531. d: processRelativeTime$2,
  2532. dd: processRelativeTime$2,
  2533. w: processRelativeTime$2,
  2534. ww: '%d Wochen',
  2535. M: processRelativeTime$2,
  2536. MM: processRelativeTime$2,
  2537. y: processRelativeTime$2,
  2538. yy: processRelativeTime$2,
  2539. },
  2540. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2541. ordinal: '%d.',
  2542. week: {
  2543. dow: 1, // Monday is the first day of the week.
  2544. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2545. },
  2546. });
  2547. //! moment.js locale configuration
  2548. function processRelativeTime$3(number, withoutSuffix, key, isFuture) {
  2549. var format = {
  2550. m: ['eine Minute', 'einer Minute'],
  2551. h: ['eine Stunde', 'einer Stunde'],
  2552. d: ['ein Tag', 'einem Tag'],
  2553. dd: [number + ' Tage', number + ' Tagen'],
  2554. w: ['eine Woche', 'einer Woche'],
  2555. M: ['ein Monat', 'einem Monat'],
  2556. MM: [number + ' Monate', number + ' Monaten'],
  2557. y: ['ein Jahr', 'einem Jahr'],
  2558. yy: [number + ' Jahre', number + ' Jahren'],
  2559. };
  2560. return withoutSuffix ? format[key][0] : format[key][1];
  2561. }
  2562. moment.defineLocale('de', {
  2563. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2564. '_'
  2565. ),
  2566. monthsShort:
  2567. 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  2568. monthsParseExact: true,
  2569. weekdays:
  2570. 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2571. '_'
  2572. ),
  2573. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  2574. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2575. weekdaysParseExact: true,
  2576. longDateFormat: {
  2577. LT: 'HH:mm',
  2578. LTS: 'HH:mm:ss',
  2579. L: 'DD.MM.YYYY',
  2580. LL: 'D. MMMM YYYY',
  2581. LLL: 'D. MMMM YYYY HH:mm',
  2582. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2583. },
  2584. calendar: {
  2585. sameDay: '[heute um] LT [Uhr]',
  2586. sameElse: 'L',
  2587. nextDay: '[morgen um] LT [Uhr]',
  2588. nextWeek: 'dddd [um] LT [Uhr]',
  2589. lastDay: '[gestern um] LT [Uhr]',
  2590. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2591. },
  2592. relativeTime: {
  2593. future: 'in %s',
  2594. past: 'vor %s',
  2595. s: 'ein paar Sekunden',
  2596. ss: '%d Sekunden',
  2597. m: processRelativeTime$3,
  2598. mm: '%d Minuten',
  2599. h: processRelativeTime$3,
  2600. hh: '%d Stunden',
  2601. d: processRelativeTime$3,
  2602. dd: processRelativeTime$3,
  2603. w: processRelativeTime$3,
  2604. ww: '%d Wochen',
  2605. M: processRelativeTime$3,
  2606. MM: processRelativeTime$3,
  2607. y: processRelativeTime$3,
  2608. yy: processRelativeTime$3,
  2609. },
  2610. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2611. ordinal: '%d.',
  2612. week: {
  2613. dow: 1, // Monday is the first day of the week.
  2614. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2615. },
  2616. });
  2617. //! moment.js locale configuration
  2618. var months$4 = [
  2619. 'ޖެނުއަރީ',
  2620. 'ފެބްރުއަރީ',
  2621. 'މާރިޗު',
  2622. 'އޭޕްރީލު',
  2623. 'މޭ',
  2624. 'ޖޫން',
  2625. 'ޖުލައި',
  2626. 'އޯގަސްޓު',
  2627. 'ސެޕްޓެމްބަރު',
  2628. 'އޮކްޓޯބަރު',
  2629. 'ނޮވެމްބަރު',
  2630. 'ޑިސެމްބަރު',
  2631. ],
  2632. weekdays = [
  2633. 'އާދިއްތަ',
  2634. 'ހޯމަ',
  2635. 'އަންގާރަ',
  2636. 'ބުދަ',
  2637. 'ބުރާސްފަތި',
  2638. 'ހުކުރު',
  2639. 'ހޮނިހިރު',
  2640. ];
  2641. moment.defineLocale('dv', {
  2642. months: months$4,
  2643. monthsShort: months$4,
  2644. weekdays: weekdays,
  2645. weekdaysShort: weekdays,
  2646. weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
  2647. longDateFormat: {
  2648. LT: 'HH:mm',
  2649. LTS: 'HH:mm:ss',
  2650. L: 'D/M/YYYY',
  2651. LL: 'D MMMM YYYY',
  2652. LLL: 'D MMMM YYYY HH:mm',
  2653. LLLL: 'dddd D MMMM YYYY HH:mm',
  2654. },
  2655. meridiemParse: /މކ|މފ/,
  2656. isPM: function (input) {
  2657. return 'މފ' === input;
  2658. },
  2659. meridiem: function (hour, minute, isLower) {
  2660. if (hour < 12) {
  2661. return 'މކ';
  2662. } else {
  2663. return 'މފ';
  2664. }
  2665. },
  2666. calendar: {
  2667. sameDay: '[މިއަދު] LT',
  2668. nextDay: '[މާދަމާ] LT',
  2669. nextWeek: 'dddd LT',
  2670. lastDay: '[އިއްޔެ] LT',
  2671. lastWeek: '[ފާއިތުވި] dddd LT',
  2672. sameElse: 'L',
  2673. },
  2674. relativeTime: {
  2675. future: 'ތެރޭގައި %s',
  2676. past: 'ކުރިން %s',
  2677. s: 'ސިކުންތުކޮޅެއް',
  2678. ss: 'd% ސިކުންތު',
  2679. m: 'މިނިޓެއް',
  2680. mm: 'މިނިޓު %d',
  2681. h: 'ގަޑިއިރެއް',
  2682. hh: 'ގަޑިއިރު %d',
  2683. d: 'ދުވަހެއް',
  2684. dd: 'ދުވަސް %d',
  2685. M: 'މަހެއް',
  2686. MM: 'މަސް %d',
  2687. y: 'އަހަރެއް',
  2688. yy: 'އަހަރު %d',
  2689. },
  2690. preparse: function (string) {
  2691. return string.replace(/،/g, ',');
  2692. },
  2693. postformat: function (string) {
  2694. return string.replace(/,/g, '،');
  2695. },
  2696. week: {
  2697. dow: 7, // Sunday is the first day of the week.
  2698. doy: 12, // The week that contains Jan 12th is the first week of the year.
  2699. },
  2700. });
  2701. //! moment.js locale configuration
  2702. function isFunction(input) {
  2703. return (
  2704. (typeof Function !== 'undefined' && input instanceof Function) ||
  2705. Object.prototype.toString.call(input) === '[object Function]'
  2706. );
  2707. }
  2708. moment.defineLocale('el', {
  2709. monthsNominativeEl:
  2710. 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(
  2711. '_'
  2712. ),
  2713. monthsGenitiveEl:
  2714. 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(
  2715. '_'
  2716. ),
  2717. months: function (momentToFormat, format) {
  2718. if (!momentToFormat) {
  2719. return this._monthsNominativeEl;
  2720. } else if (
  2721. typeof format === 'string' &&
  2722. /D/.test(format.substring(0, format.indexOf('MMMM')))
  2723. ) {
  2724. // if there is a day number before 'MMMM'
  2725. return this._monthsGenitiveEl[momentToFormat.month()];
  2726. } else {
  2727. return this._monthsNominativeEl[momentToFormat.month()];
  2728. }
  2729. },
  2730. monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
  2731. weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(
  2732. '_'
  2733. ),
  2734. weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
  2735. weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
  2736. meridiem: function (hours, minutes, isLower) {
  2737. if (hours > 11) {
  2738. return isLower ? 'μμ' : 'ΜΜ';
  2739. } else {
  2740. return isLower ? 'πμ' : 'ΠΜ';
  2741. }
  2742. },
  2743. isPM: function (input) {
  2744. return (input + '').toLowerCase()[0] === 'μ';
  2745. },
  2746. meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
  2747. longDateFormat: {
  2748. LT: 'h:mm A',
  2749. LTS: 'h:mm:ss A',
  2750. L: 'DD/MM/YYYY',
  2751. LL: 'D MMMM YYYY',
  2752. LLL: 'D MMMM YYYY h:mm A',
  2753. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2754. },
  2755. calendarEl: {
  2756. sameDay: '[Σήμερα {}] LT',
  2757. nextDay: '[Αύριο {}] LT',
  2758. nextWeek: 'dddd [{}] LT',
  2759. lastDay: '[Χθες {}] LT',
  2760. lastWeek: function () {
  2761. switch (this.day()) {
  2762. case 6:
  2763. return '[το προηγούμενο] dddd [{}] LT';
  2764. default:
  2765. return '[την προηγούμενη] dddd [{}] LT';
  2766. }
  2767. },
  2768. sameElse: 'L',
  2769. },
  2770. calendar: function (key, mom) {
  2771. var output = this._calendarEl[key],
  2772. hours = mom && mom.hours();
  2773. if (isFunction(output)) {
  2774. output = output.apply(mom);
  2775. }
  2776. return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
  2777. },
  2778. relativeTime: {
  2779. future: 'σε %s',
  2780. past: '%s πριν',
  2781. s: 'λίγα δευτερόλεπτα',
  2782. ss: '%d δευτερόλεπτα',
  2783. m: 'ένα λεπτό',
  2784. mm: '%d λεπτά',
  2785. h: 'μία ώρα',
  2786. hh: '%d ώρες',
  2787. d: 'μία μέρα',
  2788. dd: '%d μέρες',
  2789. M: 'ένας μήνας',
  2790. MM: '%d μήνες',
  2791. y: 'ένας χρόνος',
  2792. yy: '%d χρόνια',
  2793. },
  2794. dayOfMonthOrdinalParse: /\d{1,2}η/,
  2795. ordinal: '%dη',
  2796. week: {
  2797. dow: 1, // Monday is the first day of the week.
  2798. doy: 4, // The week that contains Jan 4st is the first week of the year.
  2799. },
  2800. });
  2801. //! moment.js locale configuration
  2802. moment.defineLocale('en-au', {
  2803. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2804. '_'
  2805. ),
  2806. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2807. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2808. '_'
  2809. ),
  2810. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2811. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2812. longDateFormat: {
  2813. LT: 'h:mm A',
  2814. LTS: 'h:mm:ss A',
  2815. L: 'DD/MM/YYYY',
  2816. LL: 'D MMMM YYYY',
  2817. LLL: 'D MMMM YYYY h:mm A',
  2818. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2819. },
  2820. calendar: {
  2821. sameDay: '[Today at] LT',
  2822. nextDay: '[Tomorrow at] LT',
  2823. nextWeek: 'dddd [at] LT',
  2824. lastDay: '[Yesterday at] LT',
  2825. lastWeek: '[Last] dddd [at] LT',
  2826. sameElse: 'L',
  2827. },
  2828. relativeTime: {
  2829. future: 'in %s',
  2830. past: '%s ago',
  2831. s: 'a few seconds',
  2832. ss: '%d seconds',
  2833. m: 'a minute',
  2834. mm: '%d minutes',
  2835. h: 'an hour',
  2836. hh: '%d hours',
  2837. d: 'a day',
  2838. dd: '%d days',
  2839. M: 'a month',
  2840. MM: '%d months',
  2841. y: 'a year',
  2842. yy: '%d years',
  2843. },
  2844. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2845. ordinal: function (number) {
  2846. var b = number % 10,
  2847. output =
  2848. ~~((number % 100) / 10) === 1
  2849. ? 'th'
  2850. : b === 1
  2851. ? 'st'
  2852. : b === 2
  2853. ? 'nd'
  2854. : b === 3
  2855. ? 'rd'
  2856. : 'th';
  2857. return number + output;
  2858. },
  2859. week: {
  2860. dow: 0, // Sunday is the first day of the week.
  2861. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2862. },
  2863. });
  2864. //! moment.js locale configuration
  2865. moment.defineLocale('en-ca', {
  2866. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2867. '_'
  2868. ),
  2869. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2870. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2871. '_'
  2872. ),
  2873. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2874. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2875. longDateFormat: {
  2876. LT: 'h:mm A',
  2877. LTS: 'h:mm:ss A',
  2878. L: 'YYYY-MM-DD',
  2879. LL: 'MMMM D, YYYY',
  2880. LLL: 'MMMM D, YYYY h:mm A',
  2881. LLLL: 'dddd, MMMM D, YYYY h:mm A',
  2882. },
  2883. calendar: {
  2884. sameDay: '[Today at] LT',
  2885. nextDay: '[Tomorrow at] LT',
  2886. nextWeek: 'dddd [at] LT',
  2887. lastDay: '[Yesterday at] LT',
  2888. lastWeek: '[Last] dddd [at] LT',
  2889. sameElse: 'L',
  2890. },
  2891. relativeTime: {
  2892. future: 'in %s',
  2893. past: '%s ago',
  2894. s: 'a few seconds',
  2895. ss: '%d seconds',
  2896. m: 'a minute',
  2897. mm: '%d minutes',
  2898. h: 'an hour',
  2899. hh: '%d hours',
  2900. d: 'a day',
  2901. dd: '%d days',
  2902. M: 'a month',
  2903. MM: '%d months',
  2904. y: 'a year',
  2905. yy: '%d years',
  2906. },
  2907. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2908. ordinal: function (number) {
  2909. var b = number % 10,
  2910. output =
  2911. ~~((number % 100) / 10) === 1
  2912. ? 'th'
  2913. : b === 1
  2914. ? 'st'
  2915. : b === 2
  2916. ? 'nd'
  2917. : b === 3
  2918. ? 'rd'
  2919. : 'th';
  2920. return number + output;
  2921. },
  2922. });
  2923. //! moment.js locale configuration
  2924. moment.defineLocale('en-gb', {
  2925. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2926. '_'
  2927. ),
  2928. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2929. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2930. '_'
  2931. ),
  2932. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2933. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2934. longDateFormat: {
  2935. LT: 'HH:mm',
  2936. LTS: 'HH:mm:ss',
  2937. L: 'DD/MM/YYYY',
  2938. LL: 'D MMMM YYYY',
  2939. LLL: 'D MMMM YYYY HH:mm',
  2940. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2941. },
  2942. calendar: {
  2943. sameDay: '[Today at] LT',
  2944. nextDay: '[Tomorrow at] LT',
  2945. nextWeek: 'dddd [at] LT',
  2946. lastDay: '[Yesterday at] LT',
  2947. lastWeek: '[Last] dddd [at] LT',
  2948. sameElse: 'L',
  2949. },
  2950. relativeTime: {
  2951. future: 'in %s',
  2952. past: '%s ago',
  2953. s: 'a few seconds',
  2954. ss: '%d seconds',
  2955. m: 'a minute',
  2956. mm: '%d minutes',
  2957. h: 'an hour',
  2958. hh: '%d hours',
  2959. d: 'a day',
  2960. dd: '%d days',
  2961. M: 'a month',
  2962. MM: '%d months',
  2963. y: 'a year',
  2964. yy: '%d years',
  2965. },
  2966. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2967. ordinal: function (number) {
  2968. var b = number % 10,
  2969. output =
  2970. ~~((number % 100) / 10) === 1
  2971. ? 'th'
  2972. : b === 1
  2973. ? 'st'
  2974. : b === 2
  2975. ? 'nd'
  2976. : b === 3
  2977. ? 'rd'
  2978. : 'th';
  2979. return number + output;
  2980. },
  2981. week: {
  2982. dow: 1, // Monday is the first day of the week.
  2983. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2984. },
  2985. });
  2986. //! moment.js locale configuration
  2987. moment.defineLocale('en-ie', {
  2988. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2989. '_'
  2990. ),
  2991. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2992. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2993. '_'
  2994. ),
  2995. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2996. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2997. longDateFormat: {
  2998. LT: 'HH:mm',
  2999. LTS: 'HH:mm:ss',
  3000. L: 'DD/MM/YYYY',
  3001. LL: 'D MMMM YYYY',
  3002. LLL: 'D MMMM YYYY HH:mm',
  3003. LLLL: 'dddd D MMMM YYYY HH:mm',
  3004. },
  3005. calendar: {
  3006. sameDay: '[Today at] LT',
  3007. nextDay: '[Tomorrow at] LT',
  3008. nextWeek: 'dddd [at] LT',
  3009. lastDay: '[Yesterday at] LT',
  3010. lastWeek: '[Last] dddd [at] LT',
  3011. sameElse: 'L',
  3012. },
  3013. relativeTime: {
  3014. future: 'in %s',
  3015. past: '%s ago',
  3016. s: 'a few seconds',
  3017. ss: '%d seconds',
  3018. m: 'a minute',
  3019. mm: '%d minutes',
  3020. h: 'an hour',
  3021. hh: '%d hours',
  3022. d: 'a day',
  3023. dd: '%d days',
  3024. M: 'a month',
  3025. MM: '%d months',
  3026. y: 'a year',
  3027. yy: '%d years',
  3028. },
  3029. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3030. ordinal: function (number) {
  3031. var b = number % 10,
  3032. output =
  3033. ~~((number % 100) / 10) === 1
  3034. ? 'th'
  3035. : b === 1
  3036. ? 'st'
  3037. : b === 2
  3038. ? 'nd'
  3039. : b === 3
  3040. ? 'rd'
  3041. : 'th';
  3042. return number + output;
  3043. },
  3044. week: {
  3045. dow: 1, // Monday is the first day of the week.
  3046. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3047. },
  3048. });
  3049. //! moment.js locale configuration
  3050. moment.defineLocale('en-il', {
  3051. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  3052. '_'
  3053. ),
  3054. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  3055. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  3056. '_'
  3057. ),
  3058. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  3059. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  3060. longDateFormat: {
  3061. LT: 'HH:mm',
  3062. LTS: 'HH:mm:ss',
  3063. L: 'DD/MM/YYYY',
  3064. LL: 'D MMMM YYYY',
  3065. LLL: 'D MMMM YYYY HH:mm',
  3066. LLLL: 'dddd, D MMMM YYYY HH:mm',
  3067. },
  3068. calendar: {
  3069. sameDay: '[Today at] LT',
  3070. nextDay: '[Tomorrow at] LT',
  3071. nextWeek: 'dddd [at] LT',
  3072. lastDay: '[Yesterday at] LT',
  3073. lastWeek: '[Last] dddd [at] LT',
  3074. sameElse: 'L',
  3075. },
  3076. relativeTime: {
  3077. future: 'in %s',
  3078. past: '%s ago',
  3079. s: 'a few seconds',
  3080. ss: '%d seconds',
  3081. m: 'a minute',
  3082. mm: '%d minutes',
  3083. h: 'an hour',
  3084. hh: '%d hours',
  3085. d: 'a day',
  3086. dd: '%d days',
  3087. M: 'a month',
  3088. MM: '%d months',
  3089. y: 'a year',
  3090. yy: '%d years',
  3091. },
  3092. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3093. ordinal: function (number) {
  3094. var b = number % 10,
  3095. output =
  3096. ~~((number % 100) / 10) === 1
  3097. ? 'th'
  3098. : b === 1
  3099. ? 'st'
  3100. : b === 2
  3101. ? 'nd'
  3102. : b === 3
  3103. ? 'rd'
  3104. : 'th';
  3105. return number + output;
  3106. },
  3107. });
  3108. //! moment.js locale configuration
  3109. moment.defineLocale('en-in', {
  3110. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  3111. '_'
  3112. ),
  3113. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  3114. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  3115. '_'
  3116. ),
  3117. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  3118. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  3119. longDateFormat: {
  3120. LT: 'h:mm A',
  3121. LTS: 'h:mm:ss A',
  3122. L: 'DD/MM/YYYY',
  3123. LL: 'D MMMM YYYY',
  3124. LLL: 'D MMMM YYYY h:mm A',
  3125. LLLL: 'dddd, D MMMM YYYY h:mm A',
  3126. },
  3127. calendar: {
  3128. sameDay: '[Today at] LT',
  3129. nextDay: '[Tomorrow at] LT',
  3130. nextWeek: 'dddd [at] LT',
  3131. lastDay: '[Yesterday at] LT',
  3132. lastWeek: '[Last] dddd [at] LT',
  3133. sameElse: 'L',
  3134. },
  3135. relativeTime: {
  3136. future: 'in %s',
  3137. past: '%s ago',
  3138. s: 'a few seconds',
  3139. ss: '%d seconds',
  3140. m: 'a minute',
  3141. mm: '%d minutes',
  3142. h: 'an hour',
  3143. hh: '%d hours',
  3144. d: 'a day',
  3145. dd: '%d days',
  3146. M: 'a month',
  3147. MM: '%d months',
  3148. y: 'a year',
  3149. yy: '%d years',
  3150. },
  3151. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3152. ordinal: function (number) {
  3153. var b = number % 10,
  3154. output =
  3155. ~~((number % 100) / 10) === 1
  3156. ? 'th'
  3157. : b === 1
  3158. ? 'st'
  3159. : b === 2
  3160. ? 'nd'
  3161. : b === 3
  3162. ? 'rd'
  3163. : 'th';
  3164. return number + output;
  3165. },
  3166. week: {
  3167. dow: 0, // Sunday is the first day of the week.
  3168. doy: 6, // The week that contains Jan 1st is the first week of the year.
  3169. },
  3170. });
  3171. //! moment.js locale configuration
  3172. moment.defineLocale('en-nz', {
  3173. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  3174. '_'
  3175. ),
  3176. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  3177. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  3178. '_'
  3179. ),
  3180. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  3181. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  3182. longDateFormat: {
  3183. LT: 'h:mm A',
  3184. LTS: 'h:mm:ss A',
  3185. L: 'DD/MM/YYYY',
  3186. LL: 'D MMMM YYYY',
  3187. LLL: 'D MMMM YYYY h:mm A',
  3188. LLLL: 'dddd, D MMMM YYYY h:mm A',
  3189. },
  3190. calendar: {
  3191. sameDay: '[Today at] LT',
  3192. nextDay: '[Tomorrow at] LT',
  3193. nextWeek: 'dddd [at] LT',
  3194. lastDay: '[Yesterday at] LT',
  3195. lastWeek: '[Last] dddd [at] LT',
  3196. sameElse: 'L',
  3197. },
  3198. relativeTime: {
  3199. future: 'in %s',
  3200. past: '%s ago',
  3201. s: 'a few seconds',
  3202. ss: '%d seconds',
  3203. m: 'a minute',
  3204. mm: '%d minutes',
  3205. h: 'an hour',
  3206. hh: '%d hours',
  3207. d: 'a day',
  3208. dd: '%d days',
  3209. M: 'a month',
  3210. MM: '%d months',
  3211. y: 'a year',
  3212. yy: '%d years',
  3213. },
  3214. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3215. ordinal: function (number) {
  3216. var b = number % 10,
  3217. output =
  3218. ~~((number % 100) / 10) === 1
  3219. ? 'th'
  3220. : b === 1
  3221. ? 'st'
  3222. : b === 2
  3223. ? 'nd'
  3224. : b === 3
  3225. ? 'rd'
  3226. : 'th';
  3227. return number + output;
  3228. },
  3229. week: {
  3230. dow: 1, // Monday is the first day of the week.
  3231. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3232. },
  3233. });
  3234. //! moment.js locale configuration
  3235. moment.defineLocale('en-sg', {
  3236. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  3237. '_'
  3238. ),
  3239. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  3240. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  3241. '_'
  3242. ),
  3243. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  3244. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  3245. longDateFormat: {
  3246. LT: 'HH:mm',
  3247. LTS: 'HH:mm:ss',
  3248. L: 'DD/MM/YYYY',
  3249. LL: 'D MMMM YYYY',
  3250. LLL: 'D MMMM YYYY HH:mm',
  3251. LLLL: 'dddd, D MMMM YYYY HH:mm',
  3252. },
  3253. calendar: {
  3254. sameDay: '[Today at] LT',
  3255. nextDay: '[Tomorrow at] LT',
  3256. nextWeek: 'dddd [at] LT',
  3257. lastDay: '[Yesterday at] LT',
  3258. lastWeek: '[Last] dddd [at] LT',
  3259. sameElse: 'L',
  3260. },
  3261. relativeTime: {
  3262. future: 'in %s',
  3263. past: '%s ago',
  3264. s: 'a few seconds',
  3265. ss: '%d seconds',
  3266. m: 'a minute',
  3267. mm: '%d minutes',
  3268. h: 'an hour',
  3269. hh: '%d hours',
  3270. d: 'a day',
  3271. dd: '%d days',
  3272. M: 'a month',
  3273. MM: '%d months',
  3274. y: 'a year',
  3275. yy: '%d years',
  3276. },
  3277. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3278. ordinal: function (number) {
  3279. var b = number % 10,
  3280. output =
  3281. ~~((number % 100) / 10) === 1
  3282. ? 'th'
  3283. : b === 1
  3284. ? 'st'
  3285. : b === 2
  3286. ? 'nd'
  3287. : b === 3
  3288. ? 'rd'
  3289. : 'th';
  3290. return number + output;
  3291. },
  3292. week: {
  3293. dow: 1, // Monday is the first day of the week.
  3294. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3295. },
  3296. });
  3297. //! moment.js locale configuration
  3298. moment.defineLocale('eo', {
  3299. months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
  3300. '_'
  3301. ),
  3302. monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
  3303. weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
  3304. weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
  3305. weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
  3306. longDateFormat: {
  3307. LT: 'HH:mm',
  3308. LTS: 'HH:mm:ss',
  3309. L: 'YYYY-MM-DD',
  3310. LL: '[la] D[-an de] MMMM, YYYY',
  3311. LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
  3312. LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
  3313. llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
  3314. },
  3315. meridiemParse: /[ap]\.t\.m/i,
  3316. isPM: function (input) {
  3317. return input.charAt(0).toLowerCase() === 'p';
  3318. },
  3319. meridiem: function (hours, minutes, isLower) {
  3320. if (hours > 11) {
  3321. return isLower ? 'p.t.m.' : 'P.T.M.';
  3322. } else {
  3323. return isLower ? 'a.t.m.' : 'A.T.M.';
  3324. }
  3325. },
  3326. calendar: {
  3327. sameDay: '[Hodiaŭ je] LT',
  3328. nextDay: '[Morgaŭ je] LT',
  3329. nextWeek: 'dddd[n je] LT',
  3330. lastDay: '[Hieraŭ je] LT',
  3331. lastWeek: '[pasintan] dddd[n je] LT',
  3332. sameElse: 'L',
  3333. },
  3334. relativeTime: {
  3335. future: 'post %s',
  3336. past: 'antaŭ %s',
  3337. s: 'kelkaj sekundoj',
  3338. ss: '%d sekundoj',
  3339. m: 'unu minuto',
  3340. mm: '%d minutoj',
  3341. h: 'unu horo',
  3342. hh: '%d horoj',
  3343. d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo
  3344. dd: '%d tagoj',
  3345. M: 'unu monato',
  3346. MM: '%d monatoj',
  3347. y: 'unu jaro',
  3348. yy: '%d jaroj',
  3349. },
  3350. dayOfMonthOrdinalParse: /\d{1,2}a/,
  3351. ordinal: '%da',
  3352. week: {
  3353. dow: 1, // Monday is the first day of the week.
  3354. doy: 7, // The week that contains Jan 7th is the first week of the year.
  3355. },
  3356. });
  3357. //! moment.js locale configuration
  3358. var monthsShortDot =
  3359. 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3360. '_'
  3361. ),
  3362. monthsShort$1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3363. monthsParse$2 = [
  3364. /^ene/i,
  3365. /^feb/i,
  3366. /^mar/i,
  3367. /^abr/i,
  3368. /^may/i,
  3369. /^jun/i,
  3370. /^jul/i,
  3371. /^ago/i,
  3372. /^sep/i,
  3373. /^oct/i,
  3374. /^nov/i,
  3375. /^dic/i,
  3376. ],
  3377. monthsRegex$2 =
  3378. /^(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;
  3379. moment.defineLocale('es-do', {
  3380. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3381. '_'
  3382. ),
  3383. monthsShort: function (m, format) {
  3384. if (!m) {
  3385. return monthsShortDot;
  3386. } else if (/-MMM-/.test(format)) {
  3387. return monthsShort$1[m.month()];
  3388. } else {
  3389. return monthsShortDot[m.month()];
  3390. }
  3391. },
  3392. monthsRegex: monthsRegex$2,
  3393. monthsShortRegex: monthsRegex$2,
  3394. monthsStrictRegex:
  3395. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3396. monthsShortStrictRegex:
  3397. /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3398. monthsParse: monthsParse$2,
  3399. longMonthsParse: monthsParse$2,
  3400. shortMonthsParse: monthsParse$2,
  3401. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3402. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3403. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3404. weekdaysParseExact: true,
  3405. longDateFormat: {
  3406. LT: 'h:mm A',
  3407. LTS: 'h:mm:ss A',
  3408. L: 'DD/MM/YYYY',
  3409. LL: 'D [de] MMMM [de] YYYY',
  3410. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  3411. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
  3412. },
  3413. calendar: {
  3414. sameDay: function () {
  3415. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3416. },
  3417. nextDay: function () {
  3418. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3419. },
  3420. nextWeek: function () {
  3421. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3422. },
  3423. lastDay: function () {
  3424. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3425. },
  3426. lastWeek: function () {
  3427. return (
  3428. '[el] dddd [pasado a la' +
  3429. (this.hours() !== 1 ? 's' : '') +
  3430. '] LT'
  3431. );
  3432. },
  3433. sameElse: 'L',
  3434. },
  3435. relativeTime: {
  3436. future: 'en %s',
  3437. past: 'hace %s',
  3438. s: 'unos segundos',
  3439. ss: '%d segundos',
  3440. m: 'un minuto',
  3441. mm: '%d minutos',
  3442. h: 'una hora',
  3443. hh: '%d horas',
  3444. d: 'un día',
  3445. dd: '%d días',
  3446. w: 'una semana',
  3447. ww: '%d semanas',
  3448. M: 'un mes',
  3449. MM: '%d meses',
  3450. y: 'un año',
  3451. yy: '%d años',
  3452. },
  3453. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3454. ordinal: '%dº',
  3455. week: {
  3456. dow: 1, // Monday is the first day of the week.
  3457. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3458. },
  3459. });
  3460. //! moment.js locale configuration
  3461. var monthsShortDot$1 =
  3462. 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3463. '_'
  3464. ),
  3465. monthsShort$2 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3466. monthsParse$3 = [
  3467. /^ene/i,
  3468. /^feb/i,
  3469. /^mar/i,
  3470. /^abr/i,
  3471. /^may/i,
  3472. /^jun/i,
  3473. /^jul/i,
  3474. /^ago/i,
  3475. /^sep/i,
  3476. /^oct/i,
  3477. /^nov/i,
  3478. /^dic/i,
  3479. ],
  3480. monthsRegex$3 =
  3481. /^(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;
  3482. moment.defineLocale('es-mx', {
  3483. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3484. '_'
  3485. ),
  3486. monthsShort: function (m, format) {
  3487. if (!m) {
  3488. return monthsShortDot$1;
  3489. } else if (/-MMM-/.test(format)) {
  3490. return monthsShort$2[m.month()];
  3491. } else {
  3492. return monthsShortDot$1[m.month()];
  3493. }
  3494. },
  3495. monthsRegex: monthsRegex$3,
  3496. monthsShortRegex: monthsRegex$3,
  3497. monthsStrictRegex:
  3498. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3499. monthsShortStrictRegex:
  3500. /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3501. monthsParse: monthsParse$3,
  3502. longMonthsParse: monthsParse$3,
  3503. shortMonthsParse: monthsParse$3,
  3504. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3505. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3506. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3507. weekdaysParseExact: true,
  3508. longDateFormat: {
  3509. LT: 'H:mm',
  3510. LTS: 'H:mm:ss',
  3511. L: 'DD/MM/YYYY',
  3512. LL: 'D [de] MMMM [de] YYYY',
  3513. LLL: 'D [de] MMMM [de] YYYY H:mm',
  3514. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  3515. },
  3516. calendar: {
  3517. sameDay: function () {
  3518. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3519. },
  3520. nextDay: function () {
  3521. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3522. },
  3523. nextWeek: function () {
  3524. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3525. },
  3526. lastDay: function () {
  3527. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3528. },
  3529. lastWeek: function () {
  3530. return (
  3531. '[el] dddd [pasado a la' +
  3532. (this.hours() !== 1 ? 's' : '') +
  3533. '] LT'
  3534. );
  3535. },
  3536. sameElse: 'L',
  3537. },
  3538. relativeTime: {
  3539. future: 'en %s',
  3540. past: 'hace %s',
  3541. s: 'unos segundos',
  3542. ss: '%d segundos',
  3543. m: 'un minuto',
  3544. mm: '%d minutos',
  3545. h: 'una hora',
  3546. hh: '%d horas',
  3547. d: 'un día',
  3548. dd: '%d días',
  3549. w: 'una semana',
  3550. ww: '%d semanas',
  3551. M: 'un mes',
  3552. MM: '%d meses',
  3553. y: 'un año',
  3554. yy: '%d años',
  3555. },
  3556. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3557. ordinal: '%dº',
  3558. week: {
  3559. dow: 0, // Sunday is the first day of the week.
  3560. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3561. },
  3562. invalidDate: 'Fecha inválida',
  3563. });
  3564. //! moment.js locale configuration
  3565. var monthsShortDot$2 =
  3566. 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3567. '_'
  3568. ),
  3569. monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3570. monthsParse$4 = [
  3571. /^ene/i,
  3572. /^feb/i,
  3573. /^mar/i,
  3574. /^abr/i,
  3575. /^may/i,
  3576. /^jun/i,
  3577. /^jul/i,
  3578. /^ago/i,
  3579. /^sep/i,
  3580. /^oct/i,
  3581. /^nov/i,
  3582. /^dic/i,
  3583. ],
  3584. monthsRegex$4 =
  3585. /^(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;
  3586. moment.defineLocale('es-us', {
  3587. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3588. '_'
  3589. ),
  3590. monthsShort: function (m, format) {
  3591. if (!m) {
  3592. return monthsShortDot$2;
  3593. } else if (/-MMM-/.test(format)) {
  3594. return monthsShort$3[m.month()];
  3595. } else {
  3596. return monthsShortDot$2[m.month()];
  3597. }
  3598. },
  3599. monthsRegex: monthsRegex$4,
  3600. monthsShortRegex: monthsRegex$4,
  3601. monthsStrictRegex:
  3602. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3603. monthsShortStrictRegex:
  3604. /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3605. monthsParse: monthsParse$4,
  3606. longMonthsParse: monthsParse$4,
  3607. shortMonthsParse: monthsParse$4,
  3608. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3609. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3610. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3611. weekdaysParseExact: true,
  3612. longDateFormat: {
  3613. LT: 'h:mm A',
  3614. LTS: 'h:mm:ss A',
  3615. L: 'MM/DD/YYYY',
  3616. LL: 'D [de] MMMM [de] YYYY',
  3617. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  3618. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
  3619. },
  3620. calendar: {
  3621. sameDay: function () {
  3622. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3623. },
  3624. nextDay: function () {
  3625. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3626. },
  3627. nextWeek: function () {
  3628. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3629. },
  3630. lastDay: function () {
  3631. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3632. },
  3633. lastWeek: function () {
  3634. return (
  3635. '[el] dddd [pasado a la' +
  3636. (this.hours() !== 1 ? 's' : '') +
  3637. '] LT'
  3638. );
  3639. },
  3640. sameElse: 'L',
  3641. },
  3642. relativeTime: {
  3643. future: 'en %s',
  3644. past: 'hace %s',
  3645. s: 'unos segundos',
  3646. ss: '%d segundos',
  3647. m: 'un minuto',
  3648. mm: '%d minutos',
  3649. h: 'una hora',
  3650. hh: '%d horas',
  3651. d: 'un día',
  3652. dd: '%d días',
  3653. w: 'una semana',
  3654. ww: '%d semanas',
  3655. M: 'un mes',
  3656. MM: '%d meses',
  3657. y: 'un año',
  3658. yy: '%d años',
  3659. },
  3660. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3661. ordinal: '%dº',
  3662. week: {
  3663. dow: 0, // Sunday is the first day of the week.
  3664. doy: 6, // The week that contains Jan 6th is the first week of the year.
  3665. },
  3666. });
  3667. //! moment.js locale configuration
  3668. var monthsShortDot$3 =
  3669. 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3670. '_'
  3671. ),
  3672. monthsShort$4 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3673. monthsParse$5 = [
  3674. /^ene/i,
  3675. /^feb/i,
  3676. /^mar/i,
  3677. /^abr/i,
  3678. /^may/i,
  3679. /^jun/i,
  3680. /^jul/i,
  3681. /^ago/i,
  3682. /^sep/i,
  3683. /^oct/i,
  3684. /^nov/i,
  3685. /^dic/i,
  3686. ],
  3687. monthsRegex$5 =
  3688. /^(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;
  3689. moment.defineLocale('es', {
  3690. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3691. '_'
  3692. ),
  3693. monthsShort: function (m, format) {
  3694. if (!m) {
  3695. return monthsShortDot$3;
  3696. } else if (/-MMM-/.test(format)) {
  3697. return monthsShort$4[m.month()];
  3698. } else {
  3699. return monthsShortDot$3[m.month()];
  3700. }
  3701. },
  3702. monthsRegex: monthsRegex$5,
  3703. monthsShortRegex: monthsRegex$5,
  3704. monthsStrictRegex:
  3705. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3706. monthsShortStrictRegex:
  3707. /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3708. monthsParse: monthsParse$5,
  3709. longMonthsParse: monthsParse$5,
  3710. shortMonthsParse: monthsParse$5,
  3711. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3712. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3713. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3714. weekdaysParseExact: true,
  3715. longDateFormat: {
  3716. LT: 'H:mm',
  3717. LTS: 'H:mm:ss',
  3718. L: 'DD/MM/YYYY',
  3719. LL: 'D [de] MMMM [de] YYYY',
  3720. LLL: 'D [de] MMMM [de] YYYY H:mm',
  3721. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  3722. },
  3723. calendar: {
  3724. sameDay: function () {
  3725. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3726. },
  3727. nextDay: function () {
  3728. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3729. },
  3730. nextWeek: function () {
  3731. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3732. },
  3733. lastDay: function () {
  3734. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3735. },
  3736. lastWeek: function () {
  3737. return (
  3738. '[el] dddd [pasado a la' +
  3739. (this.hours() !== 1 ? 's' : '') +
  3740. '] LT'
  3741. );
  3742. },
  3743. sameElse: 'L',
  3744. },
  3745. relativeTime: {
  3746. future: 'en %s',
  3747. past: 'hace %s',
  3748. s: 'unos segundos',
  3749. ss: '%d segundos',
  3750. m: 'un minuto',
  3751. mm: '%d minutos',
  3752. h: 'una hora',
  3753. hh: '%d horas',
  3754. d: 'un día',
  3755. dd: '%d días',
  3756. w: 'una semana',
  3757. ww: '%d semanas',
  3758. M: 'un mes',
  3759. MM: '%d meses',
  3760. y: 'un año',
  3761. yy: '%d años',
  3762. },
  3763. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3764. ordinal: '%dº',
  3765. week: {
  3766. dow: 1, // Monday is the first day of the week.
  3767. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3768. },
  3769. invalidDate: 'Fecha inválida',
  3770. });
  3771. //! moment.js locale configuration
  3772. function processRelativeTime$4(number, withoutSuffix, key, isFuture) {
  3773. var format = {
  3774. s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
  3775. ss: [number + 'sekundi', number + 'sekundit'],
  3776. m: ['ühe minuti', 'üks minut'],
  3777. mm: [number + ' minuti', number + ' minutit'],
  3778. h: ['ühe tunni', 'tund aega', 'üks tund'],
  3779. hh: [number + ' tunni', number + ' tundi'],
  3780. d: ['ühe päeva', 'üks päev'],
  3781. M: ['kuu aja', 'kuu aega', 'üks kuu'],
  3782. MM: [number + ' kuu', number + ' kuud'],
  3783. y: ['ühe aasta', 'aasta', 'üks aasta'],
  3784. yy: [number + ' aasta', number + ' aastat'],
  3785. };
  3786. if (withoutSuffix) {
  3787. return format[key][2] ? format[key][2] : format[key][1];
  3788. }
  3789. return isFuture ? format[key][0] : format[key][1];
  3790. }
  3791. moment.defineLocale('et', {
  3792. months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(
  3793. '_'
  3794. ),
  3795. monthsShort:
  3796. 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
  3797. weekdays:
  3798. 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(
  3799. '_'
  3800. ),
  3801. weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
  3802. weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
  3803. longDateFormat: {
  3804. LT: 'H:mm',
  3805. LTS: 'H:mm:ss',
  3806. L: 'DD.MM.YYYY',
  3807. LL: 'D. MMMM YYYY',
  3808. LLL: 'D. MMMM YYYY H:mm',
  3809. LLLL: 'dddd, D. MMMM YYYY H:mm',
  3810. },
  3811. calendar: {
  3812. sameDay: '[Täna,] LT',
  3813. nextDay: '[Homme,] LT',
  3814. nextWeek: '[Järgmine] dddd LT',
  3815. lastDay: '[Eile,] LT',
  3816. lastWeek: '[Eelmine] dddd LT',
  3817. sameElse: 'L',
  3818. },
  3819. relativeTime: {
  3820. future: '%s pärast',
  3821. past: '%s tagasi',
  3822. s: processRelativeTime$4,
  3823. ss: processRelativeTime$4,
  3824. m: processRelativeTime$4,
  3825. mm: processRelativeTime$4,
  3826. h: processRelativeTime$4,
  3827. hh: processRelativeTime$4,
  3828. d: processRelativeTime$4,
  3829. dd: '%d päeva',
  3830. M: processRelativeTime$4,
  3831. MM: processRelativeTime$4,
  3832. y: processRelativeTime$4,
  3833. yy: processRelativeTime$4,
  3834. },
  3835. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3836. ordinal: '%d.',
  3837. week: {
  3838. dow: 1, // Monday is the first day of the week.
  3839. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3840. },
  3841. });
  3842. //! moment.js locale configuration
  3843. moment.defineLocale('eu', {
  3844. months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
  3845. '_'
  3846. ),
  3847. monthsShort:
  3848. 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(
  3849. '_'
  3850. ),
  3851. monthsParseExact: true,
  3852. weekdays:
  3853. 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(
  3854. '_'
  3855. ),
  3856. weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
  3857. weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
  3858. weekdaysParseExact: true,
  3859. longDateFormat: {
  3860. LT: 'HH:mm',
  3861. LTS: 'HH:mm:ss',
  3862. L: 'YYYY-MM-DD',
  3863. LL: 'YYYY[ko] MMMM[ren] D[a]',
  3864. LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
  3865. LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
  3866. l: 'YYYY-M-D',
  3867. ll: 'YYYY[ko] MMM D[a]',
  3868. lll: 'YYYY[ko] MMM D[a] HH:mm',
  3869. llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',
  3870. },
  3871. calendar: {
  3872. sameDay: '[gaur] LT[etan]',
  3873. nextDay: '[bihar] LT[etan]',
  3874. nextWeek: 'dddd LT[etan]',
  3875. lastDay: '[atzo] LT[etan]',
  3876. lastWeek: '[aurreko] dddd LT[etan]',
  3877. sameElse: 'L',
  3878. },
  3879. relativeTime: {
  3880. future: '%s barru',
  3881. past: 'duela %s',
  3882. s: 'segundo batzuk',
  3883. ss: '%d segundo',
  3884. m: 'minutu bat',
  3885. mm: '%d minutu',
  3886. h: 'ordu bat',
  3887. hh: '%d ordu',
  3888. d: 'egun bat',
  3889. dd: '%d egun',
  3890. M: 'hilabete bat',
  3891. MM: '%d hilabete',
  3892. y: 'urte bat',
  3893. yy: '%d urte',
  3894. },
  3895. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3896. ordinal: '%d.',
  3897. week: {
  3898. dow: 1, // Monday is the first day of the week.
  3899. doy: 7, // The week that contains Jan 7th is the first week of the year.
  3900. },
  3901. });
  3902. //! moment.js locale configuration
  3903. var symbolMap$7 = {
  3904. 1: '۱',
  3905. 2: '۲',
  3906. 3: '۳',
  3907. 4: '۴',
  3908. 5: '۵',
  3909. 6: '۶',
  3910. 7: '۷',
  3911. 8: '۸',
  3912. 9: '۹',
  3913. 0: '۰',
  3914. },
  3915. numberMap$6 = {
  3916. '۱': '1',
  3917. '۲': '2',
  3918. '۳': '3',
  3919. '۴': '4',
  3920. '۵': '5',
  3921. '۶': '6',
  3922. '۷': '7',
  3923. '۸': '8',
  3924. '۹': '9',
  3925. '۰': '0',
  3926. };
  3927. moment.defineLocale('fa', {
  3928. months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
  3929. '_'
  3930. ),
  3931. monthsShort:
  3932. 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
  3933. '_'
  3934. ),
  3935. weekdays:
  3936. 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
  3937. '_'
  3938. ),
  3939. weekdaysShort:
  3940. 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
  3941. '_'
  3942. ),
  3943. weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
  3944. weekdaysParseExact: true,
  3945. longDateFormat: {
  3946. LT: 'HH:mm',
  3947. LTS: 'HH:mm:ss',
  3948. L: 'DD/MM/YYYY',
  3949. LL: 'D MMMM YYYY',
  3950. LLL: 'D MMMM YYYY HH:mm',
  3951. LLLL: 'dddd, D MMMM YYYY HH:mm',
  3952. },
  3953. meridiemParse: /قبل از ظهر|بعد از ظهر/,
  3954. isPM: function (input) {
  3955. return /بعد از ظهر/.test(input);
  3956. },
  3957. meridiem: function (hour, minute, isLower) {
  3958. if (hour < 12) {
  3959. return 'قبل از ظهر';
  3960. } else {
  3961. return 'بعد از ظهر';
  3962. }
  3963. },
  3964. calendar: {
  3965. sameDay: '[امروز ساعت] LT',
  3966. nextDay: '[فردا ساعت] LT',
  3967. nextWeek: 'dddd [ساعت] LT',
  3968. lastDay: '[دیروز ساعت] LT',
  3969. lastWeek: 'dddd [پیش] [ساعت] LT',
  3970. sameElse: 'L',
  3971. },
  3972. relativeTime: {
  3973. future: 'در %s',
  3974. past: '%s پیش',
  3975. s: 'چند ثانیه',
  3976. ss: '%d ثانیه',
  3977. m: 'یک دقیقه',
  3978. mm: '%d دقیقه',
  3979. h: 'یک ساعت',
  3980. hh: '%d ساعت',
  3981. d: 'یک روز',
  3982. dd: '%d روز',
  3983. M: 'یک ماه',
  3984. MM: '%d ماه',
  3985. y: 'یک سال',
  3986. yy: '%d سال',
  3987. },
  3988. preparse: function (string) {
  3989. return string
  3990. .replace(/[۰-۹]/g, function (match) {
  3991. return numberMap$6[match];
  3992. })
  3993. .replace(/،/g, ',');
  3994. },
  3995. postformat: function (string) {
  3996. return string
  3997. .replace(/\d/g, function (match) {
  3998. return symbolMap$7[match];
  3999. })
  4000. .replace(/,/g, '،');
  4001. },
  4002. dayOfMonthOrdinalParse: /\d{1,2}م/,
  4003. ordinal: '%dم',
  4004. week: {
  4005. dow: 6, // Saturday is the first day of the week.
  4006. doy: 12, // The week that contains Jan 12th is the first week of the year.
  4007. },
  4008. });
  4009. //! moment.js locale configuration
  4010. var numbersPast =
  4011. 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
  4012. ' '
  4013. ),
  4014. numbersFuture = [
  4015. 'nolla',
  4016. 'yhden',
  4017. 'kahden',
  4018. 'kolmen',
  4019. 'neljän',
  4020. 'viiden',
  4021. 'kuuden',
  4022. numbersPast[7],
  4023. numbersPast[8],
  4024. numbersPast[9],
  4025. ];
  4026. function translate$2(number, withoutSuffix, key, isFuture) {
  4027. var result = '';
  4028. switch (key) {
  4029. case 's':
  4030. return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
  4031. case 'ss':
  4032. result = isFuture ? 'sekunnin' : 'sekuntia';
  4033. break;
  4034. case 'm':
  4035. return isFuture ? 'minuutin' : 'minuutti';
  4036. case 'mm':
  4037. result = isFuture ? 'minuutin' : 'minuuttia';
  4038. break;
  4039. case 'h':
  4040. return isFuture ? 'tunnin' : 'tunti';
  4041. case 'hh':
  4042. result = isFuture ? 'tunnin' : 'tuntia';
  4043. break;
  4044. case 'd':
  4045. return isFuture ? 'päivän' : 'päivä';
  4046. case 'dd':
  4047. result = isFuture ? 'päivän' : 'päivää';
  4048. break;
  4049. case 'M':
  4050. return isFuture ? 'kuukauden' : 'kuukausi';
  4051. case 'MM':
  4052. result = isFuture ? 'kuukauden' : 'kuukautta';
  4053. break;
  4054. case 'y':
  4055. return isFuture ? 'vuoden' : 'vuosi';
  4056. case 'yy':
  4057. result = isFuture ? 'vuoden' : 'vuotta';
  4058. break;
  4059. }
  4060. result = verbalNumber(number, isFuture) + ' ' + result;
  4061. return result;
  4062. }
  4063. function verbalNumber(number, isFuture) {
  4064. return number < 10
  4065. ? isFuture
  4066. ? numbersFuture[number]
  4067. : numbersPast[number]
  4068. : number;
  4069. }
  4070. moment.defineLocale('fi', {
  4071. months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(
  4072. '_'
  4073. ),
  4074. monthsShort:
  4075. 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(
  4076. '_'
  4077. ),
  4078. weekdays:
  4079. 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(
  4080. '_'
  4081. ),
  4082. weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
  4083. weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
  4084. longDateFormat: {
  4085. LT: 'HH.mm',
  4086. LTS: 'HH.mm.ss',
  4087. L: 'DD.MM.YYYY',
  4088. LL: 'Do MMMM[ta] YYYY',
  4089. LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
  4090. LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
  4091. l: 'D.M.YYYY',
  4092. ll: 'Do MMM YYYY',
  4093. lll: 'Do MMM YYYY, [klo] HH.mm',
  4094. llll: 'ddd, Do MMM YYYY, [klo] HH.mm',
  4095. },
  4096. calendar: {
  4097. sameDay: '[tänään] [klo] LT',
  4098. nextDay: '[huomenna] [klo] LT',
  4099. nextWeek: 'dddd [klo] LT',
  4100. lastDay: '[eilen] [klo] LT',
  4101. lastWeek: '[viime] dddd[na] [klo] LT',
  4102. sameElse: 'L',
  4103. },
  4104. relativeTime: {
  4105. future: '%s päästä',
  4106. past: '%s sitten',
  4107. s: translate$2,
  4108. ss: translate$2,
  4109. m: translate$2,
  4110. mm: translate$2,
  4111. h: translate$2,
  4112. hh: translate$2,
  4113. d: translate$2,
  4114. dd: translate$2,
  4115. M: translate$2,
  4116. MM: translate$2,
  4117. y: translate$2,
  4118. yy: translate$2,
  4119. },
  4120. dayOfMonthOrdinalParse: /\d{1,2}\./,
  4121. ordinal: '%d.',
  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. moment.defineLocale('fil', {
  4129. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  4130. '_'
  4131. ),
  4132. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  4133. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  4134. '_'
  4135. ),
  4136. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  4137. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  4138. longDateFormat: {
  4139. LT: 'HH:mm',
  4140. LTS: 'HH:mm:ss',
  4141. L: 'MM/D/YYYY',
  4142. LL: 'MMMM D, YYYY',
  4143. LLL: 'MMMM D, YYYY HH:mm',
  4144. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  4145. },
  4146. calendar: {
  4147. sameDay: 'LT [ngayong araw]',
  4148. nextDay: '[Bukas ng] LT',
  4149. nextWeek: 'LT [sa susunod na] dddd',
  4150. lastDay: 'LT [kahapon]',
  4151. lastWeek: 'LT [noong nakaraang] dddd',
  4152. sameElse: 'L',
  4153. },
  4154. relativeTime: {
  4155. future: 'sa loob ng %s',
  4156. past: '%s ang nakalipas',
  4157. s: 'ilang segundo',
  4158. ss: '%d segundo',
  4159. m: 'isang minuto',
  4160. mm: '%d minuto',
  4161. h: 'isang oras',
  4162. hh: '%d oras',
  4163. d: 'isang araw',
  4164. dd: '%d araw',
  4165. M: 'isang buwan',
  4166. MM: '%d buwan',
  4167. y: 'isang taon',
  4168. yy: '%d taon',
  4169. },
  4170. dayOfMonthOrdinalParse: /\d{1,2}/,
  4171. ordinal: function (number) {
  4172. return number;
  4173. },
  4174. week: {
  4175. dow: 1, // Monday is the first day of the week.
  4176. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4177. },
  4178. });
  4179. //! moment.js locale configuration
  4180. moment.defineLocale('fo', {
  4181. months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
  4182. '_'
  4183. ),
  4184. monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  4185. weekdays:
  4186. 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(
  4187. '_'
  4188. ),
  4189. weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
  4190. weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
  4191. longDateFormat: {
  4192. LT: 'HH:mm',
  4193. LTS: 'HH:mm:ss',
  4194. L: 'DD/MM/YYYY',
  4195. LL: 'D MMMM YYYY',
  4196. LLL: 'D MMMM YYYY HH:mm',
  4197. LLLL: 'dddd D. MMMM, YYYY HH:mm',
  4198. },
  4199. calendar: {
  4200. sameDay: '[Í dag kl.] LT',
  4201. nextDay: '[Í morgin kl.] LT',
  4202. nextWeek: 'dddd [kl.] LT',
  4203. lastDay: '[Í gjár kl.] LT',
  4204. lastWeek: '[síðstu] dddd [kl] LT',
  4205. sameElse: 'L',
  4206. },
  4207. relativeTime: {
  4208. future: 'um %s',
  4209. past: '%s síðani',
  4210. s: 'fá sekund',
  4211. ss: '%d sekundir',
  4212. m: 'ein minuttur',
  4213. mm: '%d minuttir',
  4214. h: 'ein tími',
  4215. hh: '%d tímar',
  4216. d: 'ein dagur',
  4217. dd: '%d dagar',
  4218. M: 'ein mánaður',
  4219. MM: '%d mánaðir',
  4220. y: 'eitt ár',
  4221. yy: '%d ár',
  4222. },
  4223. dayOfMonthOrdinalParse: /\d{1,2}\./,
  4224. ordinal: '%d.',
  4225. week: {
  4226. dow: 1, // Monday is the first day of the week.
  4227. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4228. },
  4229. });
  4230. //! moment.js locale configuration
  4231. moment.defineLocale('fr-ca', {
  4232. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  4233. '_'
  4234. ),
  4235. monthsShort:
  4236. 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  4237. '_'
  4238. ),
  4239. monthsParseExact: true,
  4240. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  4241. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  4242. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  4243. weekdaysParseExact: true,
  4244. longDateFormat: {
  4245. LT: 'HH:mm',
  4246. LTS: 'HH:mm:ss',
  4247. L: 'YYYY-MM-DD',
  4248. LL: 'D MMMM YYYY',
  4249. LLL: 'D MMMM YYYY HH:mm',
  4250. LLLL: 'dddd D MMMM YYYY HH:mm',
  4251. },
  4252. calendar: {
  4253. sameDay: '[Aujourd’hui à] LT',
  4254. nextDay: '[Demain à] LT',
  4255. nextWeek: 'dddd [à] LT',
  4256. lastDay: '[Hier à] LT',
  4257. lastWeek: 'dddd [dernier à] LT',
  4258. sameElse: 'L',
  4259. },
  4260. relativeTime: {
  4261. future: 'dans %s',
  4262. past: 'il y a %s',
  4263. s: 'quelques secondes',
  4264. ss: '%d secondes',
  4265. m: 'une minute',
  4266. mm: '%d minutes',
  4267. h: 'une heure',
  4268. hh: '%d heures',
  4269. d: 'un jour',
  4270. dd: '%d jours',
  4271. M: 'un mois',
  4272. MM: '%d mois',
  4273. y: 'un an',
  4274. yy: '%d ans',
  4275. },
  4276. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  4277. ordinal: function (number, period) {
  4278. switch (period) {
  4279. // Words with masculine grammatical gender: mois, trimestre, jour
  4280. default:
  4281. case 'M':
  4282. case 'Q':
  4283. case 'D':
  4284. case 'DDD':
  4285. case 'd':
  4286. return number + (number === 1 ? 'er' : 'e');
  4287. // Words with feminine grammatical gender: semaine
  4288. case 'w':
  4289. case 'W':
  4290. return number + (number === 1 ? 're' : 'e');
  4291. }
  4292. },
  4293. });
  4294. //! moment.js locale configuration
  4295. moment.defineLocale('fr-ch', {
  4296. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  4297. '_'
  4298. ),
  4299. monthsShort:
  4300. 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  4301. '_'
  4302. ),
  4303. monthsParseExact: true,
  4304. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  4305. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  4306. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  4307. weekdaysParseExact: true,
  4308. longDateFormat: {
  4309. LT: 'HH:mm',
  4310. LTS: 'HH:mm:ss',
  4311. L: 'DD.MM.YYYY',
  4312. LL: 'D MMMM YYYY',
  4313. LLL: 'D MMMM YYYY HH:mm',
  4314. LLLL: 'dddd D MMMM YYYY HH:mm',
  4315. },
  4316. calendar: {
  4317. sameDay: '[Aujourd’hui à] LT',
  4318. nextDay: '[Demain à] LT',
  4319. nextWeek: 'dddd [à] LT',
  4320. lastDay: '[Hier à] LT',
  4321. lastWeek: 'dddd [dernier à] LT',
  4322. sameElse: 'L',
  4323. },
  4324. relativeTime: {
  4325. future: 'dans %s',
  4326. past: 'il y a %s',
  4327. s: 'quelques secondes',
  4328. ss: '%d secondes',
  4329. m: 'une minute',
  4330. mm: '%d minutes',
  4331. h: 'une heure',
  4332. hh: '%d heures',
  4333. d: 'un jour',
  4334. dd: '%d jours',
  4335. M: 'un mois',
  4336. MM: '%d mois',
  4337. y: 'un an',
  4338. yy: '%d ans',
  4339. },
  4340. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  4341. ordinal: function (number, period) {
  4342. switch (period) {
  4343. // Words with masculine grammatical gender: mois, trimestre, jour
  4344. default:
  4345. case 'M':
  4346. case 'Q':
  4347. case 'D':
  4348. case 'DDD':
  4349. case 'd':
  4350. return number + (number === 1 ? 'er' : 'e');
  4351. // Words with feminine grammatical gender: semaine
  4352. case 'w':
  4353. case 'W':
  4354. return number + (number === 1 ? 're' : 'e');
  4355. }
  4356. },
  4357. week: {
  4358. dow: 1, // Monday is the first day of the week.
  4359. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4360. },
  4361. });
  4362. //! moment.js locale configuration
  4363. var monthsStrictRegex$1 =
  4364. /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  4365. monthsShortStrictRegex$1 =
  4366. /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
  4367. monthsRegex$6 =
  4368. /(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,
  4369. monthsParse$6 = [
  4370. /^janv/i,
  4371. /^févr/i,
  4372. /^mars/i,
  4373. /^avr/i,
  4374. /^mai/i,
  4375. /^juin/i,
  4376. /^juil/i,
  4377. /^août/i,
  4378. /^sept/i,
  4379. /^oct/i,
  4380. /^nov/i,
  4381. /^déc/i,
  4382. ];
  4383. moment.defineLocale('fr', {
  4384. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  4385. '_'
  4386. ),
  4387. monthsShort:
  4388. 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  4389. '_'
  4390. ),
  4391. monthsRegex: monthsRegex$6,
  4392. monthsShortRegex: monthsRegex$6,
  4393. monthsStrictRegex: monthsStrictRegex$1,
  4394. monthsShortStrictRegex: monthsShortStrictRegex$1,
  4395. monthsParse: monthsParse$6,
  4396. longMonthsParse: monthsParse$6,
  4397. shortMonthsParse: monthsParse$6,
  4398. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  4399. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  4400. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  4401. weekdaysParseExact: true,
  4402. longDateFormat: {
  4403. LT: 'HH:mm',
  4404. LTS: 'HH:mm:ss',
  4405. L: 'DD/MM/YYYY',
  4406. LL: 'D MMMM YYYY',
  4407. LLL: 'D MMMM YYYY HH:mm',
  4408. LLLL: 'dddd D MMMM YYYY HH:mm',
  4409. },
  4410. calendar: {
  4411. sameDay: '[Aujourd’hui à] LT',
  4412. nextDay: '[Demain à] LT',
  4413. nextWeek: 'dddd [à] LT',
  4414. lastDay: '[Hier à] LT',
  4415. lastWeek: 'dddd [dernier à] LT',
  4416. sameElse: 'L',
  4417. },
  4418. relativeTime: {
  4419. future: 'dans %s',
  4420. past: 'il y a %s',
  4421. s: 'quelques secondes',
  4422. ss: '%d secondes',
  4423. m: 'une minute',
  4424. mm: '%d minutes',
  4425. h: 'une heure',
  4426. hh: '%d heures',
  4427. d: 'un jour',
  4428. dd: '%d jours',
  4429. w: 'une semaine',
  4430. ww: '%d semaines',
  4431. M: 'un mois',
  4432. MM: '%d mois',
  4433. y: 'un an',
  4434. yy: '%d ans',
  4435. },
  4436. dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
  4437. ordinal: function (number, period) {
  4438. switch (period) {
  4439. // TODO: Return 'e' when day of month > 1. Move this case inside
  4440. // block for masculine words below.
  4441. // See https://github.com/moment/moment/issues/3375
  4442. case 'D':
  4443. return number + (number === 1 ? 'er' : '');
  4444. // Words with masculine grammatical gender: mois, trimestre, jour
  4445. default:
  4446. case 'M':
  4447. case 'Q':
  4448. case 'DDD':
  4449. case 'd':
  4450. return number + (number === 1 ? 'er' : 'e');
  4451. // Words with feminine grammatical gender: semaine
  4452. case 'w':
  4453. case 'W':
  4454. return number + (number === 1 ? 're' : 'e');
  4455. }
  4456. },
  4457. week: {
  4458. dow: 1, // Monday is the first day of the week.
  4459. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4460. },
  4461. });
  4462. //! moment.js locale configuration
  4463. var monthsShortWithDots =
  4464. 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
  4465. monthsShortWithoutDots =
  4466. 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
  4467. moment.defineLocale('fy', {
  4468. months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(
  4469. '_'
  4470. ),
  4471. monthsShort: function (m, format) {
  4472. if (!m) {
  4473. return monthsShortWithDots;
  4474. } else if (/-MMM-/.test(format)) {
  4475. return monthsShortWithoutDots[m.month()];
  4476. } else {
  4477. return monthsShortWithDots[m.month()];
  4478. }
  4479. },
  4480. monthsParseExact: true,
  4481. weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(
  4482. '_'
  4483. ),
  4484. weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
  4485. weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
  4486. weekdaysParseExact: true,
  4487. longDateFormat: {
  4488. LT: 'HH:mm',
  4489. LTS: 'HH:mm:ss',
  4490. L: 'DD-MM-YYYY',
  4491. LL: 'D MMMM YYYY',
  4492. LLL: 'D MMMM YYYY HH:mm',
  4493. LLLL: 'dddd D MMMM YYYY HH:mm',
  4494. },
  4495. calendar: {
  4496. sameDay: '[hjoed om] LT',
  4497. nextDay: '[moarn om] LT',
  4498. nextWeek: 'dddd [om] LT',
  4499. lastDay: '[juster om] LT',
  4500. lastWeek: '[ôfrûne] dddd [om] LT',
  4501. sameElse: 'L',
  4502. },
  4503. relativeTime: {
  4504. future: 'oer %s',
  4505. past: '%s lyn',
  4506. s: 'in pear sekonden',
  4507. ss: '%d sekonden',
  4508. m: 'ien minút',
  4509. mm: '%d minuten',
  4510. h: 'ien oere',
  4511. hh: '%d oeren',
  4512. d: 'ien dei',
  4513. dd: '%d dagen',
  4514. M: 'ien moanne',
  4515. MM: '%d moannen',
  4516. y: 'ien jier',
  4517. yy: '%d jierren',
  4518. },
  4519. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  4520. ordinal: function (number) {
  4521. return (
  4522. number +
  4523. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  4524. );
  4525. },
  4526. week: {
  4527. dow: 1, // Monday is the first day of the week.
  4528. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4529. },
  4530. });
  4531. //! moment.js locale configuration
  4532. var months$5 = [
  4533. 'Eanáir',
  4534. 'Feabhra',
  4535. 'Márta',
  4536. 'Aibreán',
  4537. 'Bealtaine',
  4538. 'Meitheamh',
  4539. 'Iúil',
  4540. 'Lúnasa',
  4541. 'Meán Fómhair',
  4542. 'Deireadh Fómhair',
  4543. 'Samhain',
  4544. 'Nollaig',
  4545. ],
  4546. monthsShort$5 = [
  4547. 'Ean',
  4548. 'Feabh',
  4549. 'Márt',
  4550. 'Aib',
  4551. 'Beal',
  4552. 'Meith',
  4553. 'Iúil',
  4554. 'Lún',
  4555. 'M.F.',
  4556. 'D.F.',
  4557. 'Samh',
  4558. 'Noll',
  4559. ],
  4560. weekdays$1 = [
  4561. 'Dé Domhnaigh',
  4562. 'Dé Luain',
  4563. 'Dé Máirt',
  4564. 'Dé Céadaoin',
  4565. 'Déardaoin',
  4566. 'Dé hAoine',
  4567. 'Dé Sathairn',
  4568. ],
  4569. weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
  4570. weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
  4571. moment.defineLocale('ga', {
  4572. months: months$5,
  4573. monthsShort: monthsShort$5,
  4574. monthsParseExact: true,
  4575. weekdays: weekdays$1,
  4576. weekdaysShort: weekdaysShort,
  4577. weekdaysMin: weekdaysMin,
  4578. longDateFormat: {
  4579. LT: 'HH:mm',
  4580. LTS: 'HH:mm:ss',
  4581. L: 'DD/MM/YYYY',
  4582. LL: 'D MMMM YYYY',
  4583. LLL: 'D MMMM YYYY HH:mm',
  4584. LLLL: 'dddd, D MMMM YYYY HH:mm',
  4585. },
  4586. calendar: {
  4587. sameDay: '[Inniu ag] LT',
  4588. nextDay: '[Amárach ag] LT',
  4589. nextWeek: 'dddd [ag] LT',
  4590. lastDay: '[Inné ag] LT',
  4591. lastWeek: 'dddd [seo caite] [ag] LT',
  4592. sameElse: 'L',
  4593. },
  4594. relativeTime: {
  4595. future: 'i %s',
  4596. past: '%s ó shin',
  4597. s: 'cúpla soicind',
  4598. ss: '%d soicind',
  4599. m: 'nóiméad',
  4600. mm: '%d nóiméad',
  4601. h: 'uair an chloig',
  4602. hh: '%d uair an chloig',
  4603. d: 'lá',
  4604. dd: '%d lá',
  4605. M: 'mí',
  4606. MM: '%d míonna',
  4607. y: 'bliain',
  4608. yy: '%d bliain',
  4609. },
  4610. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  4611. ordinal: function (number) {
  4612. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  4613. return number + output;
  4614. },
  4615. week: {
  4616. dow: 1, // Monday is the first day of the week.
  4617. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4618. },
  4619. });
  4620. //! moment.js locale configuration
  4621. var months$6 = [
  4622. 'Am Faoilleach',
  4623. 'An Gearran',
  4624. 'Am Màrt',
  4625. 'An Giblean',
  4626. 'An Cèitean',
  4627. 'An t-Ògmhios',
  4628. 'An t-Iuchar',
  4629. 'An Lùnastal',
  4630. 'An t-Sultain',
  4631. 'An Dàmhair',
  4632. 'An t-Samhain',
  4633. 'An Dùbhlachd',
  4634. ],
  4635. monthsShort$6 = [
  4636. 'Faoi',
  4637. 'Gear',
  4638. 'Màrt',
  4639. 'Gibl',
  4640. 'Cèit',
  4641. 'Ògmh',
  4642. 'Iuch',
  4643. 'Lùn',
  4644. 'Sult',
  4645. 'Dàmh',
  4646. 'Samh',
  4647. 'Dùbh',
  4648. ],
  4649. weekdays$2 = [
  4650. 'Didòmhnaich',
  4651. 'Diluain',
  4652. 'Dimàirt',
  4653. 'Diciadain',
  4654. 'Diardaoin',
  4655. 'Dihaoine',
  4656. 'Disathairne',
  4657. ],
  4658. weekdaysShort$1 = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
  4659. weekdaysMin$1 = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  4660. moment.defineLocale('gd', {
  4661. months: months$6,
  4662. monthsShort: monthsShort$6,
  4663. monthsParseExact: true,
  4664. weekdays: weekdays$2,
  4665. weekdaysShort: weekdaysShort$1,
  4666. weekdaysMin: weekdaysMin$1,
  4667. longDateFormat: {
  4668. LT: 'HH:mm',
  4669. LTS: 'HH:mm:ss',
  4670. L: 'DD/MM/YYYY',
  4671. LL: 'D MMMM YYYY',
  4672. LLL: 'D MMMM YYYY HH:mm',
  4673. LLLL: 'dddd, D MMMM YYYY HH:mm',
  4674. },
  4675. calendar: {
  4676. sameDay: '[An-diugh aig] LT',
  4677. nextDay: '[A-màireach aig] LT',
  4678. nextWeek: 'dddd [aig] LT',
  4679. lastDay: '[An-dè aig] LT',
  4680. lastWeek: 'dddd [seo chaidh] [aig] LT',
  4681. sameElse: 'L',
  4682. },
  4683. relativeTime: {
  4684. future: 'ann an %s',
  4685. past: 'bho chionn %s',
  4686. s: 'beagan diogan',
  4687. ss: '%d diogan',
  4688. m: 'mionaid',
  4689. mm: '%d mionaidean',
  4690. h: 'uair',
  4691. hh: '%d uairean',
  4692. d: 'latha',
  4693. dd: '%d latha',
  4694. M: 'mìos',
  4695. MM: '%d mìosan',
  4696. y: 'bliadhna',
  4697. yy: '%d bliadhna',
  4698. },
  4699. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  4700. ordinal: function (number) {
  4701. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  4702. return number + output;
  4703. },
  4704. week: {
  4705. dow: 1, // Monday is the first day of the week.
  4706. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4707. },
  4708. });
  4709. //! moment.js locale configuration
  4710. moment.defineLocale('gl', {
  4711. months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(
  4712. '_'
  4713. ),
  4714. monthsShort:
  4715. 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(
  4716. '_'
  4717. ),
  4718. monthsParseExact: true,
  4719. weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
  4720. weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
  4721. weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
  4722. weekdaysParseExact: true,
  4723. longDateFormat: {
  4724. LT: 'H:mm',
  4725. LTS: 'H:mm:ss',
  4726. L: 'DD/MM/YYYY',
  4727. LL: 'D [de] MMMM [de] YYYY',
  4728. LLL: 'D [de] MMMM [de] YYYY H:mm',
  4729. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  4730. },
  4731. calendar: {
  4732. sameDay: function () {
  4733. return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  4734. },
  4735. nextDay: function () {
  4736. return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  4737. },
  4738. nextWeek: function () {
  4739. return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
  4740. },
  4741. lastDay: function () {
  4742. return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
  4743. },
  4744. lastWeek: function () {
  4745. return (
  4746. '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'
  4747. );
  4748. },
  4749. sameElse: 'L',
  4750. },
  4751. relativeTime: {
  4752. future: function (str) {
  4753. if (str.indexOf('un') === 0) {
  4754. return 'n' + str;
  4755. }
  4756. return 'en ' + str;
  4757. },
  4758. past: 'hai %s',
  4759. s: 'uns segundos',
  4760. ss: '%d segundos',
  4761. m: 'un minuto',
  4762. mm: '%d minutos',
  4763. h: 'unha hora',
  4764. hh: '%d horas',
  4765. d: 'un día',
  4766. dd: '%d días',
  4767. M: 'un mes',
  4768. MM: '%d meses',
  4769. y: 'un ano',
  4770. yy: '%d anos',
  4771. },
  4772. dayOfMonthOrdinalParse: /\d{1,2}º/,
  4773. ordinal: '%dº',
  4774. week: {
  4775. dow: 1, // Monday is the first day of the week.
  4776. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4777. },
  4778. });
  4779. //! moment.js locale configuration
  4780. function processRelativeTime$5(number, withoutSuffix, key, isFuture) {
  4781. var format = {
  4782. s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],
  4783. ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],
  4784. m: ['एका मिणटान', 'एक मिनूट'],
  4785. mm: [number + ' मिणटांनी', number + ' मिणटां'],
  4786. h: ['एका वरान', 'एक वर'],
  4787. hh: [number + ' वरांनी', number + ' वरां'],
  4788. d: ['एका दिसान', 'एक दीस'],
  4789. dd: [number + ' दिसांनी', number + ' दीस'],
  4790. M: ['एका म्हयन्यान', 'एक म्हयनो'],
  4791. MM: [number + ' म्हयन्यानी', number + ' म्हयने'],
  4792. y: ['एका वर्सान', 'एक वर्स'],
  4793. yy: [number + ' वर्सांनी', number + ' वर्सां'],
  4794. };
  4795. return isFuture ? format[key][0] : format[key][1];
  4796. }
  4797. moment.defineLocale('gom-deva', {
  4798. months: {
  4799. standalone:
  4800. 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
  4801. '_'
  4802. ),
  4803. format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(
  4804. '_'
  4805. ),
  4806. isFormat: /MMMM(\s)+D[oD]?/,
  4807. },
  4808. monthsShort:
  4809. 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
  4810. '_'
  4811. ),
  4812. monthsParseExact: true,
  4813. weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),
  4814. weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),
  4815. weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),
  4816. weekdaysParseExact: true,
  4817. longDateFormat: {
  4818. LT: 'A h:mm [वाजतां]',
  4819. LTS: 'A h:mm:ss [वाजतां]',
  4820. L: 'DD-MM-YYYY',
  4821. LL: 'D MMMM YYYY',
  4822. LLL: 'D MMMM YYYY A h:mm [वाजतां]',
  4823. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',
  4824. llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',
  4825. },
  4826. calendar: {
  4827. sameDay: '[आयज] LT',
  4828. nextDay: '[फाल्यां] LT',
  4829. nextWeek: '[फुडलो] dddd[,] LT',
  4830. lastDay: '[काल] LT',
  4831. lastWeek: '[फाटलो] dddd[,] LT',
  4832. sameElse: 'L',
  4833. },
  4834. relativeTime: {
  4835. future: '%s',
  4836. past: '%s आदीं',
  4837. s: processRelativeTime$5,
  4838. ss: processRelativeTime$5,
  4839. m: processRelativeTime$5,
  4840. mm: processRelativeTime$5,
  4841. h: processRelativeTime$5,
  4842. hh: processRelativeTime$5,
  4843. d: processRelativeTime$5,
  4844. dd: processRelativeTime$5,
  4845. M: processRelativeTime$5,
  4846. MM: processRelativeTime$5,
  4847. y: processRelativeTime$5,
  4848. yy: processRelativeTime$5,
  4849. },
  4850. dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
  4851. ordinal: function (number, period) {
  4852. switch (period) {
  4853. // the ordinal 'वेर' only applies to day of the month
  4854. case 'D':
  4855. return number + 'वेर';
  4856. default:
  4857. case 'M':
  4858. case 'Q':
  4859. case 'DDD':
  4860. case 'd':
  4861. case 'w':
  4862. case 'W':
  4863. return number;
  4864. }
  4865. },
  4866. week: {
  4867. dow: 0, // Sunday is the first day of the week
  4868. doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  4869. },
  4870. meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
  4871. meridiemHour: function (hour, meridiem) {
  4872. if (hour === 12) {
  4873. hour = 0;
  4874. }
  4875. if (meridiem === 'राती') {
  4876. return hour < 4 ? hour : hour + 12;
  4877. } else if (meridiem === 'सकाळीं') {
  4878. return hour;
  4879. } else if (meridiem === 'दनपारां') {
  4880. return hour > 12 ? hour : hour + 12;
  4881. } else if (meridiem === 'सांजे') {
  4882. return hour + 12;
  4883. }
  4884. },
  4885. meridiem: function (hour, minute, isLower) {
  4886. if (hour < 4) {
  4887. return 'राती';
  4888. } else if (hour < 12) {
  4889. return 'सकाळीं';
  4890. } else if (hour < 16) {
  4891. return 'दनपारां';
  4892. } else if (hour < 20) {
  4893. return 'सांजे';
  4894. } else {
  4895. return 'राती';
  4896. }
  4897. },
  4898. });
  4899. //! moment.js locale configuration
  4900. function processRelativeTime$6(number, withoutSuffix, key, isFuture) {
  4901. var format = {
  4902. s: ['thoddea sekondamni', 'thodde sekond'],
  4903. ss: [number + ' sekondamni', number + ' sekond'],
  4904. m: ['eka mintan', 'ek minut'],
  4905. mm: [number + ' mintamni', number + ' mintam'],
  4906. h: ['eka voran', 'ek vor'],
  4907. hh: [number + ' voramni', number + ' voram'],
  4908. d: ['eka disan', 'ek dis'],
  4909. dd: [number + ' disamni', number + ' dis'],
  4910. M: ['eka mhoinean', 'ek mhoino'],
  4911. MM: [number + ' mhoineamni', number + ' mhoine'],
  4912. y: ['eka vorsan', 'ek voros'],
  4913. yy: [number + ' vorsamni', number + ' vorsam'],
  4914. };
  4915. return isFuture ? format[key][0] : format[key][1];
  4916. }
  4917. moment.defineLocale('gom-latn', {
  4918. months: {
  4919. standalone:
  4920. 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(
  4921. '_'
  4922. ),
  4923. format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(
  4924. '_'
  4925. ),
  4926. isFormat: /MMMM(\s)+D[oD]?/,
  4927. },
  4928. monthsShort:
  4929. 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),
  4930. monthsParseExact: true,
  4931. weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'),
  4932. weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
  4933. weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
  4934. weekdaysParseExact: true,
  4935. longDateFormat: {
  4936. LT: 'A h:mm [vazta]',
  4937. LTS: 'A h:mm:ss [vazta]',
  4938. L: 'DD-MM-YYYY',
  4939. LL: 'D MMMM YYYY',
  4940. LLL: 'D MMMM YYYY A h:mm [vazta]',
  4941. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',
  4942. llll: 'ddd, D MMM YYYY, A h:mm [vazta]',
  4943. },
  4944. calendar: {
  4945. sameDay: '[Aiz] LT',
  4946. nextDay: '[Faleam] LT',
  4947. nextWeek: '[Fuddlo] dddd[,] LT',
  4948. lastDay: '[Kal] LT',
  4949. lastWeek: '[Fattlo] dddd[,] LT',
  4950. sameElse: 'L',
  4951. },
  4952. relativeTime: {
  4953. future: '%s',
  4954. past: '%s adim',
  4955. s: processRelativeTime$6,
  4956. ss: processRelativeTime$6,
  4957. m: processRelativeTime$6,
  4958. mm: processRelativeTime$6,
  4959. h: processRelativeTime$6,
  4960. hh: processRelativeTime$6,
  4961. d: processRelativeTime$6,
  4962. dd: processRelativeTime$6,
  4963. M: processRelativeTime$6,
  4964. MM: processRelativeTime$6,
  4965. y: processRelativeTime$6,
  4966. yy: processRelativeTime$6,
  4967. },
  4968. dayOfMonthOrdinalParse: /\d{1,2}(er)/,
  4969. ordinal: function (number, period) {
  4970. switch (period) {
  4971. // the ordinal 'er' only applies to day of the month
  4972. case 'D':
  4973. return number + 'er';
  4974. default:
  4975. case 'M':
  4976. case 'Q':
  4977. case 'DDD':
  4978. case 'd':
  4979. case 'w':
  4980. case 'W':
  4981. return number;
  4982. }
  4983. },
  4984. week: {
  4985. dow: 0, // Sunday is the first day of the week
  4986. doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  4987. },
  4988. meridiemParse: /rati|sokallim|donparam|sanje/,
  4989. meridiemHour: function (hour, meridiem) {
  4990. if (hour === 12) {
  4991. hour = 0;
  4992. }
  4993. if (meridiem === 'rati') {
  4994. return hour < 4 ? hour : hour + 12;
  4995. } else if (meridiem === 'sokallim') {
  4996. return hour;
  4997. } else if (meridiem === 'donparam') {
  4998. return hour > 12 ? hour : hour + 12;
  4999. } else if (meridiem === 'sanje') {
  5000. return hour + 12;
  5001. }
  5002. },
  5003. meridiem: function (hour, minute, isLower) {
  5004. if (hour < 4) {
  5005. return 'rati';
  5006. } else if (hour < 12) {
  5007. return 'sokallim';
  5008. } else if (hour < 16) {
  5009. return 'donparam';
  5010. } else if (hour < 20) {
  5011. return 'sanje';
  5012. } else {
  5013. return 'rati';
  5014. }
  5015. },
  5016. });
  5017. //! moment.js locale configuration
  5018. var symbolMap$8 = {
  5019. 1: '૧',
  5020. 2: '૨',
  5021. 3: '૩',
  5022. 4: '૪',
  5023. 5: '૫',
  5024. 6: '૬',
  5025. 7: '૭',
  5026. 8: '૮',
  5027. 9: '૯',
  5028. 0: '૦',
  5029. },
  5030. numberMap$7 = {
  5031. '૧': '1',
  5032. '૨': '2',
  5033. '૩': '3',
  5034. '૪': '4',
  5035. '૫': '5',
  5036. '૬': '6',
  5037. '૭': '7',
  5038. '૮': '8',
  5039. '૯': '9',
  5040. '૦': '0',
  5041. };
  5042. moment.defineLocale('gu', {
  5043. months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(
  5044. '_'
  5045. ),
  5046. monthsShort:
  5047. 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(
  5048. '_'
  5049. ),
  5050. monthsParseExact: true,
  5051. weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(
  5052. '_'
  5053. ),
  5054. weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),
  5055. weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),
  5056. longDateFormat: {
  5057. LT: 'A h:mm વાગ્યે',
  5058. LTS: 'A h:mm:ss વાગ્યે',
  5059. L: 'DD/MM/YYYY',
  5060. LL: 'D MMMM YYYY',
  5061. LLL: 'D MMMM YYYY, A h:mm વાગ્યે',
  5062. LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',
  5063. },
  5064. calendar: {
  5065. sameDay: '[આજ] LT',
  5066. nextDay: '[કાલે] LT',
  5067. nextWeek: 'dddd, LT',
  5068. lastDay: '[ગઇકાલે] LT',
  5069. lastWeek: '[પાછલા] dddd, LT',
  5070. sameElse: 'L',
  5071. },
  5072. relativeTime: {
  5073. future: '%s મા',
  5074. past: '%s પહેલા',
  5075. s: 'અમુક પળો',
  5076. ss: '%d સેકંડ',
  5077. m: 'એક મિનિટ',
  5078. mm: '%d મિનિટ',
  5079. h: 'એક કલાક',
  5080. hh: '%d કલાક',
  5081. d: 'એક દિવસ',
  5082. dd: '%d દિવસ',
  5083. M: 'એક મહિનો',
  5084. MM: '%d મહિનો',
  5085. y: 'એક વર્ષ',
  5086. yy: '%d વર્ષ',
  5087. },
  5088. preparse: function (string) {
  5089. return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
  5090. return numberMap$7[match];
  5091. });
  5092. },
  5093. postformat: function (string) {
  5094. return string.replace(/\d/g, function (match) {
  5095. return symbolMap$8[match];
  5096. });
  5097. },
  5098. // Gujarati notation for meridiems are quite fuzzy in practice. While there exists
  5099. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.
  5100. meridiemParse: /રાત|બપોર|સવાર|સાંજ/,
  5101. meridiemHour: function (hour, meridiem) {
  5102. if (hour === 12) {
  5103. hour = 0;
  5104. }
  5105. if (meridiem === 'રાત') {
  5106. return hour < 4 ? hour : hour + 12;
  5107. } else if (meridiem === 'સવાર') {
  5108. return hour;
  5109. } else if (meridiem === 'બપોર') {
  5110. return hour >= 10 ? hour : hour + 12;
  5111. } else if (meridiem === 'સાંજ') {
  5112. return hour + 12;
  5113. }
  5114. },
  5115. meridiem: function (hour, minute, isLower) {
  5116. if (hour < 4) {
  5117. return 'રાત';
  5118. } else if (hour < 10) {
  5119. return 'સવાર';
  5120. } else if (hour < 17) {
  5121. return 'બપોર';
  5122. } else if (hour < 20) {
  5123. return 'સાંજ';
  5124. } else {
  5125. return 'રાત';
  5126. }
  5127. },
  5128. week: {
  5129. dow: 0, // Sunday is the first day of the week.
  5130. doy: 6, // The week that contains Jan 6th is the first week of the year.
  5131. },
  5132. });
  5133. //! moment.js locale configuration
  5134. moment.defineLocale('he', {
  5135. months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
  5136. '_'
  5137. ),
  5138. monthsShort:
  5139. 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
  5140. weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
  5141. weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
  5142. weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
  5143. longDateFormat: {
  5144. LT: 'HH:mm',
  5145. LTS: 'HH:mm:ss',
  5146. L: 'DD/MM/YYYY',
  5147. LL: 'D [ב]MMMM YYYY',
  5148. LLL: 'D [ב]MMMM YYYY HH:mm',
  5149. LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
  5150. l: 'D/M/YYYY',
  5151. ll: 'D MMM YYYY',
  5152. lll: 'D MMM YYYY HH:mm',
  5153. llll: 'ddd, D MMM YYYY HH:mm',
  5154. },
  5155. calendar: {
  5156. sameDay: '[היום ב־]LT',
  5157. nextDay: '[מחר ב־]LT',
  5158. nextWeek: 'dddd [בשעה] LT',
  5159. lastDay: '[אתמול ב־]LT',
  5160. lastWeek: '[ביום] dddd [האחרון בשעה] LT',
  5161. sameElse: 'L',
  5162. },
  5163. relativeTime: {
  5164. future: 'בעוד %s',
  5165. past: 'לפני %s',
  5166. s: 'מספר שניות',
  5167. ss: '%d שניות',
  5168. m: 'דקה',
  5169. mm: '%d דקות',
  5170. h: 'שעה',
  5171. hh: function (number) {
  5172. if (number === 2) {
  5173. return 'שעתיים';
  5174. }
  5175. return number + ' שעות';
  5176. },
  5177. d: 'יום',
  5178. dd: function (number) {
  5179. if (number === 2) {
  5180. return 'יומיים';
  5181. }
  5182. return number + ' ימים';
  5183. },
  5184. M: 'חודש',
  5185. MM: function (number) {
  5186. if (number === 2) {
  5187. return 'חודשיים';
  5188. }
  5189. return number + ' חודשים';
  5190. },
  5191. y: 'שנה',
  5192. yy: function (number) {
  5193. if (number === 2) {
  5194. return 'שנתיים';
  5195. } else if (number % 10 === 0 && number !== 10) {
  5196. return number + ' שנה';
  5197. }
  5198. return number + ' שנים';
  5199. },
  5200. },
  5201. meridiemParse:
  5202. /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
  5203. isPM: function (input) {
  5204. return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
  5205. },
  5206. meridiem: function (hour, minute, isLower) {
  5207. if (hour < 5) {
  5208. return 'לפנות בוקר';
  5209. } else if (hour < 10) {
  5210. return 'בבוקר';
  5211. } else if (hour < 12) {
  5212. return isLower ? 'לפנה"צ' : 'לפני הצהריים';
  5213. } else if (hour < 18) {
  5214. return isLower ? 'אחה"צ' : 'אחרי הצהריים';
  5215. } else {
  5216. return 'בערב';
  5217. }
  5218. },
  5219. });
  5220. //! moment.js locale configuration
  5221. var symbolMap$9 = {
  5222. 1: '१',
  5223. 2: '२',
  5224. 3: '३',
  5225. 4: '४',
  5226. 5: '५',
  5227. 6: '६',
  5228. 7: '७',
  5229. 8: '८',
  5230. 9: '९',
  5231. 0: '०',
  5232. },
  5233. numberMap$8 = {
  5234. '१': '1',
  5235. '२': '2',
  5236. '३': '3',
  5237. '४': '4',
  5238. '५': '5',
  5239. '६': '6',
  5240. '७': '7',
  5241. '८': '8',
  5242. '९': '9',
  5243. '०': '0',
  5244. },
  5245. monthsParse$7 = [
  5246. /^जन/i,
  5247. /^फ़र|फर/i,
  5248. /^मार्च/i,
  5249. /^अप्रै/i,
  5250. /^मई/i,
  5251. /^जून/i,
  5252. /^जुल/i,
  5253. /^अग/i,
  5254. /^सितं|सित/i,
  5255. /^अक्टू/i,
  5256. /^नव|नवं/i,
  5257. /^दिसं|दिस/i,
  5258. ],
  5259. shortMonthsParse = [
  5260. /^जन/i,
  5261. /^फ़र/i,
  5262. /^मार्च/i,
  5263. /^अप्रै/i,
  5264. /^मई/i,
  5265. /^जून/i,
  5266. /^जुल/i,
  5267. /^अग/i,
  5268. /^सित/i,
  5269. /^अक्टू/i,
  5270. /^नव/i,
  5271. /^दिस/i,
  5272. ];
  5273. moment.defineLocale('hi', {
  5274. months: {
  5275. format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(
  5276. '_'
  5277. ),
  5278. standalone:
  5279. 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(
  5280. '_'
  5281. ),
  5282. },
  5283. monthsShort:
  5284. 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
  5285. weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  5286. weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
  5287. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  5288. longDateFormat: {
  5289. LT: 'A h:mm बजे',
  5290. LTS: 'A h:mm:ss बजे',
  5291. L: 'DD/MM/YYYY',
  5292. LL: 'D MMMM YYYY',
  5293. LLL: 'D MMMM YYYY, A h:mm बजे',
  5294. LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',
  5295. },
  5296. monthsParse: monthsParse$7,
  5297. longMonthsParse: monthsParse$7,
  5298. shortMonthsParse: shortMonthsParse,
  5299. monthsRegex:
  5300. /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  5301. monthsShortRegex:
  5302. /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  5303. monthsStrictRegex:
  5304. /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,
  5305. monthsShortStrictRegex:
  5306. /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,
  5307. calendar: {
  5308. sameDay: '[आज] LT',
  5309. nextDay: '[कल] LT',
  5310. nextWeek: 'dddd, LT',
  5311. lastDay: '[कल] LT',
  5312. lastWeek: '[पिछले] dddd, LT',
  5313. sameElse: 'L',
  5314. },
  5315. relativeTime: {
  5316. future: '%s में',
  5317. past: '%s पहले',
  5318. s: 'कुछ ही क्षण',
  5319. ss: '%d सेकंड',
  5320. m: 'एक मिनट',
  5321. mm: '%d मिनट',
  5322. h: 'एक घंटा',
  5323. hh: '%d घंटे',
  5324. d: 'एक दिन',
  5325. dd: '%d दिन',
  5326. M: 'एक महीने',
  5327. MM: '%d महीने',
  5328. y: 'एक वर्ष',
  5329. yy: '%d वर्ष',
  5330. },
  5331. preparse: function (string) {
  5332. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  5333. return numberMap$8[match];
  5334. });
  5335. },
  5336. postformat: function (string) {
  5337. return string.replace(/\d/g, function (match) {
  5338. return symbolMap$9[match];
  5339. });
  5340. },
  5341. // Hindi notation for meridiems are quite fuzzy in practice. While there exists
  5342. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
  5343. meridiemParse: /रात|सुबह|दोपहर|शाम/,
  5344. meridiemHour: function (hour, meridiem) {
  5345. if (hour === 12) {
  5346. hour = 0;
  5347. }
  5348. if (meridiem === 'रात') {
  5349. return hour < 4 ? hour : hour + 12;
  5350. } else if (meridiem === 'सुबह') {
  5351. return hour;
  5352. } else if (meridiem === 'दोपहर') {
  5353. return hour >= 10 ? hour : hour + 12;
  5354. } else if (meridiem === 'शाम') {
  5355. return hour + 12;
  5356. }
  5357. },
  5358. meridiem: function (hour, minute, isLower) {
  5359. if (hour < 4) {
  5360. return 'रात';
  5361. } else if (hour < 10) {
  5362. return 'सुबह';
  5363. } else if (hour < 17) {
  5364. return 'दोपहर';
  5365. } else if (hour < 20) {
  5366. return 'शाम';
  5367. } else {
  5368. return 'रात';
  5369. }
  5370. },
  5371. week: {
  5372. dow: 0, // Sunday is the first day of the week.
  5373. doy: 6, // The week that contains Jan 6th is the first week of the year.
  5374. },
  5375. });
  5376. //! moment.js locale configuration
  5377. function translate$3(number, withoutSuffix, key) {
  5378. var result = number + ' ';
  5379. switch (key) {
  5380. case 'ss':
  5381. if (number === 1) {
  5382. result += 'sekunda';
  5383. } else if (number === 2 || number === 3 || number === 4) {
  5384. result += 'sekunde';
  5385. } else {
  5386. result += 'sekundi';
  5387. }
  5388. return result;
  5389. case 'm':
  5390. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  5391. case 'mm':
  5392. if (number === 1) {
  5393. result += 'minuta';
  5394. } else if (number === 2 || number === 3 || number === 4) {
  5395. result += 'minute';
  5396. } else {
  5397. result += 'minuta';
  5398. }
  5399. return result;
  5400. case 'h':
  5401. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  5402. case 'hh':
  5403. if (number === 1) {
  5404. result += 'sat';
  5405. } else if (number === 2 || number === 3 || number === 4) {
  5406. result += 'sata';
  5407. } else {
  5408. result += 'sati';
  5409. }
  5410. return result;
  5411. case 'dd':
  5412. if (number === 1) {
  5413. result += 'dan';
  5414. } else {
  5415. result += 'dana';
  5416. }
  5417. return result;
  5418. case 'MM':
  5419. if (number === 1) {
  5420. result += 'mjesec';
  5421. } else if (number === 2 || number === 3 || number === 4) {
  5422. result += 'mjeseca';
  5423. } else {
  5424. result += 'mjeseci';
  5425. }
  5426. return result;
  5427. case 'yy':
  5428. if (number === 1) {
  5429. result += 'godina';
  5430. } else if (number === 2 || number === 3 || number === 4) {
  5431. result += 'godine';
  5432. } else {
  5433. result += 'godina';
  5434. }
  5435. return result;
  5436. }
  5437. }
  5438. moment.defineLocale('hr', {
  5439. months: {
  5440. format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(
  5441. '_'
  5442. ),
  5443. standalone:
  5444. 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(
  5445. '_'
  5446. ),
  5447. },
  5448. monthsShort:
  5449. 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(
  5450. '_'
  5451. ),
  5452. monthsParseExact: true,
  5453. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  5454. '_'
  5455. ),
  5456. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  5457. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  5458. weekdaysParseExact: true,
  5459. longDateFormat: {
  5460. LT: 'H:mm',
  5461. LTS: 'H:mm:ss',
  5462. L: 'DD.MM.YYYY',
  5463. LL: 'Do MMMM YYYY',
  5464. LLL: 'Do MMMM YYYY H:mm',
  5465. LLLL: 'dddd, Do MMMM YYYY H:mm',
  5466. },
  5467. calendar: {
  5468. sameDay: '[danas u] LT',
  5469. nextDay: '[sutra u] LT',
  5470. nextWeek: function () {
  5471. switch (this.day()) {
  5472. case 0:
  5473. return '[u] [nedjelju] [u] LT';
  5474. case 3:
  5475. return '[u] [srijedu] [u] LT';
  5476. case 6:
  5477. return '[u] [subotu] [u] LT';
  5478. case 1:
  5479. case 2:
  5480. case 4:
  5481. case 5:
  5482. return '[u] dddd [u] LT';
  5483. }
  5484. },
  5485. lastDay: '[jučer u] LT',
  5486. lastWeek: function () {
  5487. switch (this.day()) {
  5488. case 0:
  5489. return '[prošlu] [nedjelju] [u] LT';
  5490. case 3:
  5491. return '[prošlu] [srijedu] [u] LT';
  5492. case 6:
  5493. return '[prošle] [subote] [u] LT';
  5494. case 1:
  5495. case 2:
  5496. case 4:
  5497. case 5:
  5498. return '[prošli] dddd [u] LT';
  5499. }
  5500. },
  5501. sameElse: 'L',
  5502. },
  5503. relativeTime: {
  5504. future: 'za %s',
  5505. past: 'prije %s',
  5506. s: 'par sekundi',
  5507. ss: translate$3,
  5508. m: translate$3,
  5509. mm: translate$3,
  5510. h: translate$3,
  5511. hh: translate$3,
  5512. d: 'dan',
  5513. dd: translate$3,
  5514. M: 'mjesec',
  5515. MM: translate$3,
  5516. y: 'godinu',
  5517. yy: translate$3,
  5518. },
  5519. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5520. ordinal: '%d.',
  5521. week: {
  5522. dow: 1, // Monday is the first day of the week.
  5523. doy: 7, // The week that contains Jan 7th is the first week of the year.
  5524. },
  5525. });
  5526. //! moment.js locale configuration
  5527. var weekEndings =
  5528. 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
  5529. function translate$4(number, withoutSuffix, key, isFuture) {
  5530. var num = number;
  5531. switch (key) {
  5532. case 's':
  5533. return isFuture || withoutSuffix
  5534. ? 'néhány másodperc'
  5535. : 'néhány másodperce';
  5536. case 'ss':
  5537. return num + (isFuture || withoutSuffix)
  5538. ? ' másodperc'
  5539. : ' másodperce';
  5540. case 'm':
  5541. return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
  5542. case 'mm':
  5543. return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
  5544. case 'h':
  5545. return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
  5546. case 'hh':
  5547. return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
  5548. case 'd':
  5549. return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
  5550. case 'dd':
  5551. return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
  5552. case 'M':
  5553. return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  5554. case 'MM':
  5555. return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  5556. case 'y':
  5557. return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
  5558. case 'yy':
  5559. return num + (isFuture || withoutSuffix ? ' év' : ' éve');
  5560. }
  5561. return '';
  5562. }
  5563. function week(isFuture) {
  5564. return (
  5565. (isFuture ? '' : '[múlt] ') +
  5566. '[' +
  5567. weekEndings[this.day()] +
  5568. '] LT[-kor]'
  5569. );
  5570. }
  5571. moment.defineLocale('hu', {
  5572. months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(
  5573. '_'
  5574. ),
  5575. monthsShort:
  5576. 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split(
  5577. '_'
  5578. ),
  5579. monthsParseExact: true,
  5580. weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
  5581. weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
  5582. weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
  5583. longDateFormat: {
  5584. LT: 'H:mm',
  5585. LTS: 'H:mm:ss',
  5586. L: 'YYYY.MM.DD.',
  5587. LL: 'YYYY. MMMM D.',
  5588. LLL: 'YYYY. MMMM D. H:mm',
  5589. LLLL: 'YYYY. MMMM D., dddd H:mm',
  5590. },
  5591. meridiemParse: /de|du/i,
  5592. isPM: function (input) {
  5593. return input.charAt(1).toLowerCase() === 'u';
  5594. },
  5595. meridiem: function (hours, minutes, isLower) {
  5596. if (hours < 12) {
  5597. return isLower === true ? 'de' : 'DE';
  5598. } else {
  5599. return isLower === true ? 'du' : 'DU';
  5600. }
  5601. },
  5602. calendar: {
  5603. sameDay: '[ma] LT[-kor]',
  5604. nextDay: '[holnap] LT[-kor]',
  5605. nextWeek: function () {
  5606. return week.call(this, true);
  5607. },
  5608. lastDay: '[tegnap] LT[-kor]',
  5609. lastWeek: function () {
  5610. return week.call(this, false);
  5611. },
  5612. sameElse: 'L',
  5613. },
  5614. relativeTime: {
  5615. future: '%s múlva',
  5616. past: '%s',
  5617. s: translate$4,
  5618. ss: translate$4,
  5619. m: translate$4,
  5620. mm: translate$4,
  5621. h: translate$4,
  5622. hh: translate$4,
  5623. d: translate$4,
  5624. dd: translate$4,
  5625. M: translate$4,
  5626. MM: translate$4,
  5627. y: translate$4,
  5628. yy: translate$4,
  5629. },
  5630. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5631. ordinal: '%d.',
  5632. week: {
  5633. dow: 1, // Monday is the first day of the week.
  5634. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5635. },
  5636. });
  5637. //! moment.js locale configuration
  5638. moment.defineLocale('hy-am', {
  5639. months: {
  5640. format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(
  5641. '_'
  5642. ),
  5643. standalone:
  5644. 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(
  5645. '_'
  5646. ),
  5647. },
  5648. monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
  5649. weekdays:
  5650. 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(
  5651. '_'
  5652. ),
  5653. weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  5654. weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  5655. longDateFormat: {
  5656. LT: 'HH:mm',
  5657. LTS: 'HH:mm:ss',
  5658. L: 'DD.MM.YYYY',
  5659. LL: 'D MMMM YYYY թ.',
  5660. LLL: 'D MMMM YYYY թ., HH:mm',
  5661. LLLL: 'dddd, D MMMM YYYY թ., HH:mm',
  5662. },
  5663. calendar: {
  5664. sameDay: '[այսօր] LT',
  5665. nextDay: '[վաղը] LT',
  5666. lastDay: '[երեկ] LT',
  5667. nextWeek: function () {
  5668. return 'dddd [օրը ժամը] LT';
  5669. },
  5670. lastWeek: function () {
  5671. return '[անցած] dddd [օրը ժամը] LT';
  5672. },
  5673. sameElse: 'L',
  5674. },
  5675. relativeTime: {
  5676. future: '%s հետո',
  5677. past: '%s առաջ',
  5678. s: 'մի քանի վայրկյան',
  5679. ss: '%d վայրկյան',
  5680. m: 'րոպե',
  5681. mm: '%d րոպե',
  5682. h: 'ժամ',
  5683. hh: '%d ժամ',
  5684. d: 'օր',
  5685. dd: '%d օր',
  5686. M: 'ամիս',
  5687. MM: '%d ամիս',
  5688. y: 'տարի',
  5689. yy: '%d տարի',
  5690. },
  5691. meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
  5692. isPM: function (input) {
  5693. return /^(ցերեկվա|երեկոյան)$/.test(input);
  5694. },
  5695. meridiem: function (hour) {
  5696. if (hour < 4) {
  5697. return 'գիշերվա';
  5698. } else if (hour < 12) {
  5699. return 'առավոտվա';
  5700. } else if (hour < 17) {
  5701. return 'ցերեկվա';
  5702. } else {
  5703. return 'երեկոյան';
  5704. }
  5705. },
  5706. dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
  5707. ordinal: function (number, period) {
  5708. switch (period) {
  5709. case 'DDD':
  5710. case 'w':
  5711. case 'W':
  5712. case 'DDDo':
  5713. if (number === 1) {
  5714. return number + '-ին';
  5715. }
  5716. return number + '-րդ';
  5717. default:
  5718. return number;
  5719. }
  5720. },
  5721. week: {
  5722. dow: 1, // Monday is the first day of the week.
  5723. doy: 7, // The week that contains Jan 7th is the first week of the year.
  5724. },
  5725. });
  5726. //! moment.js locale configuration
  5727. moment.defineLocale('id', {
  5728. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(
  5729. '_'
  5730. ),
  5731. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
  5732. weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
  5733. weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
  5734. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
  5735. longDateFormat: {
  5736. LT: 'HH.mm',
  5737. LTS: 'HH.mm.ss',
  5738. L: 'DD/MM/YYYY',
  5739. LL: 'D MMMM YYYY',
  5740. LLL: 'D MMMM YYYY [pukul] HH.mm',
  5741. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  5742. },
  5743. meridiemParse: /pagi|siang|sore|malam/,
  5744. meridiemHour: function (hour, meridiem) {
  5745. if (hour === 12) {
  5746. hour = 0;
  5747. }
  5748. if (meridiem === 'pagi') {
  5749. return hour;
  5750. } else if (meridiem === 'siang') {
  5751. return hour >= 11 ? hour : hour + 12;
  5752. } else if (meridiem === 'sore' || meridiem === 'malam') {
  5753. return hour + 12;
  5754. }
  5755. },
  5756. meridiem: function (hours, minutes, isLower) {
  5757. if (hours < 11) {
  5758. return 'pagi';
  5759. } else if (hours < 15) {
  5760. return 'siang';
  5761. } else if (hours < 19) {
  5762. return 'sore';
  5763. } else {
  5764. return 'malam';
  5765. }
  5766. },
  5767. calendar: {
  5768. sameDay: '[Hari ini pukul] LT',
  5769. nextDay: '[Besok pukul] LT',
  5770. nextWeek: 'dddd [pukul] LT',
  5771. lastDay: '[Kemarin pukul] LT',
  5772. lastWeek: 'dddd [lalu pukul] LT',
  5773. sameElse: 'L',
  5774. },
  5775. relativeTime: {
  5776. future: 'dalam %s',
  5777. past: '%s yang lalu',
  5778. s: 'beberapa detik',
  5779. ss: '%d detik',
  5780. m: 'semenit',
  5781. mm: '%d menit',
  5782. h: 'sejam',
  5783. hh: '%d jam',
  5784. d: 'sehari',
  5785. dd: '%d hari',
  5786. M: 'sebulan',
  5787. MM: '%d bulan',
  5788. y: 'setahun',
  5789. yy: '%d tahun',
  5790. },
  5791. week: {
  5792. dow: 0, // Sunday is the first day of the week.
  5793. doy: 6, // The week that contains Jan 6th is the first week of the year.
  5794. },
  5795. });
  5796. //! moment.js locale configuration
  5797. function plural$2(n) {
  5798. if (n % 100 === 11) {
  5799. return true;
  5800. } else if (n % 10 === 1) {
  5801. return false;
  5802. }
  5803. return true;
  5804. }
  5805. function translate$5(number, withoutSuffix, key, isFuture) {
  5806. var result = number + ' ';
  5807. switch (key) {
  5808. case 's':
  5809. return withoutSuffix || isFuture
  5810. ? 'nokkrar sekúndur'
  5811. : 'nokkrum sekúndum';
  5812. case 'ss':
  5813. if (plural$2(number)) {
  5814. return (
  5815. result +
  5816. (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')
  5817. );
  5818. }
  5819. return result + 'sekúnda';
  5820. case 'm':
  5821. return withoutSuffix ? 'mínúta' : 'mínútu';
  5822. case 'mm':
  5823. if (plural$2(number)) {
  5824. return (
  5825. result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')
  5826. );
  5827. } else if (withoutSuffix) {
  5828. return result + 'mínúta';
  5829. }
  5830. return result + 'mínútu';
  5831. case 'hh':
  5832. if (plural$2(number)) {
  5833. return (
  5834. result +
  5835. (withoutSuffix || isFuture
  5836. ? 'klukkustundir'
  5837. : 'klukkustundum')
  5838. );
  5839. }
  5840. return result + 'klukkustund';
  5841. case 'd':
  5842. if (withoutSuffix) {
  5843. return 'dagur';
  5844. }
  5845. return isFuture ? 'dag' : 'degi';
  5846. case 'dd':
  5847. if (plural$2(number)) {
  5848. if (withoutSuffix) {
  5849. return result + 'dagar';
  5850. }
  5851. return result + (isFuture ? 'daga' : 'dögum');
  5852. } else if (withoutSuffix) {
  5853. return result + 'dagur';
  5854. }
  5855. return result + (isFuture ? 'dag' : 'degi');
  5856. case 'M':
  5857. if (withoutSuffix) {
  5858. return 'mánuður';
  5859. }
  5860. return isFuture ? 'mánuð' : 'mánuði';
  5861. case 'MM':
  5862. if (plural$2(number)) {
  5863. if (withoutSuffix) {
  5864. return result + 'mánuðir';
  5865. }
  5866. return result + (isFuture ? 'mánuði' : 'mánuðum');
  5867. } else if (withoutSuffix) {
  5868. return result + 'mánuður';
  5869. }
  5870. return result + (isFuture ? 'mánuð' : 'mánuði');
  5871. case 'y':
  5872. return withoutSuffix || isFuture ? 'ár' : 'ári';
  5873. case 'yy':
  5874. if (plural$2(number)) {
  5875. return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
  5876. }
  5877. return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
  5878. }
  5879. }
  5880. moment.defineLocale('is', {
  5881. months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(
  5882. '_'
  5883. ),
  5884. monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
  5885. weekdays:
  5886. 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(
  5887. '_'
  5888. ),
  5889. weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
  5890. weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
  5891. longDateFormat: {
  5892. LT: 'H:mm',
  5893. LTS: 'H:mm:ss',
  5894. L: 'DD.MM.YYYY',
  5895. LL: 'D. MMMM YYYY',
  5896. LLL: 'D. MMMM YYYY [kl.] H:mm',
  5897. LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',
  5898. },
  5899. calendar: {
  5900. sameDay: '[í dag kl.] LT',
  5901. nextDay: '[á morgun kl.] LT',
  5902. nextWeek: 'dddd [kl.] LT',
  5903. lastDay: '[í gær kl.] LT',
  5904. lastWeek: '[síðasta] dddd [kl.] LT',
  5905. sameElse: 'L',
  5906. },
  5907. relativeTime: {
  5908. future: 'eftir %s',
  5909. past: 'fyrir %s síðan',
  5910. s: translate$5,
  5911. ss: translate$5,
  5912. m: translate$5,
  5913. mm: translate$5,
  5914. h: 'klukkustund',
  5915. hh: translate$5,
  5916. d: translate$5,
  5917. dd: translate$5,
  5918. M: translate$5,
  5919. MM: translate$5,
  5920. y: translate$5,
  5921. yy: translate$5,
  5922. },
  5923. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5924. ordinal: '%d.',
  5925. week: {
  5926. dow: 1, // Monday is the first day of the week.
  5927. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5928. },
  5929. });
  5930. //! moment.js locale configuration
  5931. moment.defineLocale('it-ch', {
  5932. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
  5933. '_'
  5934. ),
  5935. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  5936. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
  5937. '_'
  5938. ),
  5939. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  5940. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  5941. longDateFormat: {
  5942. LT: 'HH:mm',
  5943. LTS: 'HH:mm:ss',
  5944. L: 'DD.MM.YYYY',
  5945. LL: 'D MMMM YYYY',
  5946. LLL: 'D MMMM YYYY HH:mm',
  5947. LLLL: 'dddd D MMMM YYYY HH:mm',
  5948. },
  5949. calendar: {
  5950. sameDay: '[Oggi alle] LT',
  5951. nextDay: '[Domani alle] LT',
  5952. nextWeek: 'dddd [alle] LT',
  5953. lastDay: '[Ieri alle] LT',
  5954. lastWeek: function () {
  5955. switch (this.day()) {
  5956. case 0:
  5957. return '[la scorsa] dddd [alle] LT';
  5958. default:
  5959. return '[lo scorso] dddd [alle] LT';
  5960. }
  5961. },
  5962. sameElse: 'L',
  5963. },
  5964. relativeTime: {
  5965. future: function (s) {
  5966. return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
  5967. },
  5968. past: '%s fa',
  5969. s: 'alcuni secondi',
  5970. ss: '%d secondi',
  5971. m: 'un minuto',
  5972. mm: '%d minuti',
  5973. h: "un'ora",
  5974. hh: '%d ore',
  5975. d: 'un giorno',
  5976. dd: '%d giorni',
  5977. M: 'un mese',
  5978. MM: '%d mesi',
  5979. y: 'un anno',
  5980. yy: '%d anni',
  5981. },
  5982. dayOfMonthOrdinalParse: /\d{1,2}º/,
  5983. ordinal: '%dº',
  5984. week: {
  5985. dow: 1, // Monday is the first day of the week.
  5986. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5987. },
  5988. });
  5989. //! moment.js locale configuration
  5990. moment.defineLocale('it', {
  5991. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
  5992. '_'
  5993. ),
  5994. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  5995. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
  5996. '_'
  5997. ),
  5998. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  5999. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  6000. longDateFormat: {
  6001. LT: 'HH:mm',
  6002. LTS: 'HH:mm:ss',
  6003. L: 'DD/MM/YYYY',
  6004. LL: 'D MMMM YYYY',
  6005. LLL: 'D MMMM YYYY HH:mm',
  6006. LLLL: 'dddd D MMMM YYYY HH:mm',
  6007. },
  6008. calendar: {
  6009. sameDay: function () {
  6010. return (
  6011. '[Oggi a' +
  6012. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  6013. ']LT'
  6014. );
  6015. },
  6016. nextDay: function () {
  6017. return (
  6018. '[Domani a' +
  6019. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  6020. ']LT'
  6021. );
  6022. },
  6023. nextWeek: function () {
  6024. return (
  6025. 'dddd [a' +
  6026. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  6027. ']LT'
  6028. );
  6029. },
  6030. lastDay: function () {
  6031. return (
  6032. '[Ieri a' +
  6033. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  6034. ']LT'
  6035. );
  6036. },
  6037. lastWeek: function () {
  6038. switch (this.day()) {
  6039. case 0:
  6040. return (
  6041. '[La scorsa] dddd [a' +
  6042. (this.hours() > 1
  6043. ? 'lle '
  6044. : this.hours() === 0
  6045. ? ' '
  6046. : "ll'") +
  6047. ']LT'
  6048. );
  6049. default:
  6050. return (
  6051. '[Lo scorso] dddd [a' +
  6052. (this.hours() > 1
  6053. ? 'lle '
  6054. : this.hours() === 0
  6055. ? ' '
  6056. : "ll'") +
  6057. ']LT'
  6058. );
  6059. }
  6060. },
  6061. sameElse: 'L',
  6062. },
  6063. relativeTime: {
  6064. future: 'tra %s',
  6065. past: '%s fa',
  6066. s: 'alcuni secondi',
  6067. ss: '%d secondi',
  6068. m: 'un minuto',
  6069. mm: '%d minuti',
  6070. h: "un'ora",
  6071. hh: '%d ore',
  6072. d: 'un giorno',
  6073. dd: '%d giorni',
  6074. w: 'una settimana',
  6075. ww: '%d settimane',
  6076. M: 'un mese',
  6077. MM: '%d mesi',
  6078. y: 'un anno',
  6079. yy: '%d anni',
  6080. },
  6081. dayOfMonthOrdinalParse: /\d{1,2}º/,
  6082. ordinal: '%dº',
  6083. week: {
  6084. dow: 1, // Monday is the first day of the week.
  6085. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6086. },
  6087. });
  6088. //! moment.js locale configuration
  6089. moment.defineLocale('ja', {
  6090. eras: [
  6091. {
  6092. since: '2019-05-01',
  6093. offset: 1,
  6094. name: '令和',
  6095. narrow: '㋿',
  6096. abbr: 'R',
  6097. },
  6098. {
  6099. since: '1989-01-08',
  6100. until: '2019-04-30',
  6101. offset: 1,
  6102. name: '平成',
  6103. narrow: '㍻',
  6104. abbr: 'H',
  6105. },
  6106. {
  6107. since: '1926-12-25',
  6108. until: '1989-01-07',
  6109. offset: 1,
  6110. name: '昭和',
  6111. narrow: '㍼',
  6112. abbr: 'S',
  6113. },
  6114. {
  6115. since: '1912-07-30',
  6116. until: '1926-12-24',
  6117. offset: 1,
  6118. name: '大正',
  6119. narrow: '㍽',
  6120. abbr: 'T',
  6121. },
  6122. {
  6123. since: '1873-01-01',
  6124. until: '1912-07-29',
  6125. offset: 6,
  6126. name: '明治',
  6127. narrow: '㍾',
  6128. abbr: 'M',
  6129. },
  6130. {
  6131. since: '0001-01-01',
  6132. until: '1873-12-31',
  6133. offset: 1,
  6134. name: '西暦',
  6135. narrow: 'AD',
  6136. abbr: 'AD',
  6137. },
  6138. {
  6139. since: '0000-12-31',
  6140. until: -Infinity,
  6141. offset: 1,
  6142. name: '紀元前',
  6143. narrow: 'BC',
  6144. abbr: 'BC',
  6145. },
  6146. ],
  6147. eraYearOrdinalRegex: /(元|\d+)年/,
  6148. eraYearOrdinalParse: function (input, match) {
  6149. return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);
  6150. },
  6151. months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  6152. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  6153. '_'
  6154. ),
  6155. weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
  6156. weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
  6157. weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
  6158. longDateFormat: {
  6159. LT: 'HH:mm',
  6160. LTS: 'HH:mm:ss',
  6161. L: 'YYYY/MM/DD',
  6162. LL: 'YYYY年M月D日',
  6163. LLL: 'YYYY年M月D日 HH:mm',
  6164. LLLL: 'YYYY年M月D日 dddd HH:mm',
  6165. l: 'YYYY/MM/DD',
  6166. ll: 'YYYY年M月D日',
  6167. lll: 'YYYY年M月D日 HH:mm',
  6168. llll: 'YYYY年M月D日(ddd) HH:mm',
  6169. },
  6170. meridiemParse: /午前|午後/i,
  6171. isPM: function (input) {
  6172. return input === '午後';
  6173. },
  6174. meridiem: function (hour, minute, isLower) {
  6175. if (hour < 12) {
  6176. return '午前';
  6177. } else {
  6178. return '午後';
  6179. }
  6180. },
  6181. calendar: {
  6182. sameDay: '[今日] LT',
  6183. nextDay: '[明日] LT',
  6184. nextWeek: function (now) {
  6185. if (now.week() !== this.week()) {
  6186. return '[来週]dddd LT';
  6187. } else {
  6188. return 'dddd LT';
  6189. }
  6190. },
  6191. lastDay: '[昨日] LT',
  6192. lastWeek: function (now) {
  6193. if (this.week() !== now.week()) {
  6194. return '[先週]dddd LT';
  6195. } else {
  6196. return 'dddd LT';
  6197. }
  6198. },
  6199. sameElse: 'L',
  6200. },
  6201. dayOfMonthOrdinalParse: /\d{1,2}日/,
  6202. ordinal: function (number, period) {
  6203. switch (period) {
  6204. case 'y':
  6205. return number === 1 ? '元年' : number + '年';
  6206. case 'd':
  6207. case 'D':
  6208. case 'DDD':
  6209. return number + '日';
  6210. default:
  6211. return number;
  6212. }
  6213. },
  6214. relativeTime: {
  6215. future: '%s後',
  6216. past: '%s前',
  6217. s: '数秒',
  6218. ss: '%d秒',
  6219. m: '1分',
  6220. mm: '%d分',
  6221. h: '1時間',
  6222. hh: '%d時間',
  6223. d: '1日',
  6224. dd: '%d日',
  6225. M: '1ヶ月',
  6226. MM: '%dヶ月',
  6227. y: '1年',
  6228. yy: '%d年',
  6229. },
  6230. });
  6231. //! moment.js locale configuration
  6232. moment.defineLocale('jv', {
  6233. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(
  6234. '_'
  6235. ),
  6236. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
  6237. weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
  6238. weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
  6239. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
  6240. longDateFormat: {
  6241. LT: 'HH.mm',
  6242. LTS: 'HH.mm.ss',
  6243. L: 'DD/MM/YYYY',
  6244. LL: 'D MMMM YYYY',
  6245. LLL: 'D MMMM YYYY [pukul] HH.mm',
  6246. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  6247. },
  6248. meridiemParse: /enjing|siyang|sonten|ndalu/,
  6249. meridiemHour: function (hour, meridiem) {
  6250. if (hour === 12) {
  6251. hour = 0;
  6252. }
  6253. if (meridiem === 'enjing') {
  6254. return hour;
  6255. } else if (meridiem === 'siyang') {
  6256. return hour >= 11 ? hour : hour + 12;
  6257. } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
  6258. return hour + 12;
  6259. }
  6260. },
  6261. meridiem: function (hours, minutes, isLower) {
  6262. if (hours < 11) {
  6263. return 'enjing';
  6264. } else if (hours < 15) {
  6265. return 'siyang';
  6266. } else if (hours < 19) {
  6267. return 'sonten';
  6268. } else {
  6269. return 'ndalu';
  6270. }
  6271. },
  6272. calendar: {
  6273. sameDay: '[Dinten puniko pukul] LT',
  6274. nextDay: '[Mbenjang pukul] LT',
  6275. nextWeek: 'dddd [pukul] LT',
  6276. lastDay: '[Kala wingi pukul] LT',
  6277. lastWeek: 'dddd [kepengker pukul] LT',
  6278. sameElse: 'L',
  6279. },
  6280. relativeTime: {
  6281. future: 'wonten ing %s',
  6282. past: '%s ingkang kepengker',
  6283. s: 'sawetawis detik',
  6284. ss: '%d detik',
  6285. m: 'setunggal menit',
  6286. mm: '%d menit',
  6287. h: 'setunggal jam',
  6288. hh: '%d jam',
  6289. d: 'sedinten',
  6290. dd: '%d dinten',
  6291. M: 'sewulan',
  6292. MM: '%d wulan',
  6293. y: 'setaun',
  6294. yy: '%d taun',
  6295. },
  6296. week: {
  6297. dow: 1, // Monday is the first day of the week.
  6298. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6299. },
  6300. });
  6301. //! moment.js locale configuration
  6302. moment.defineLocale('ka', {
  6303. months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(
  6304. '_'
  6305. ),
  6306. monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
  6307. weekdays: {
  6308. standalone:
  6309. 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(
  6310. '_'
  6311. ),
  6312. format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(
  6313. '_'
  6314. ),
  6315. isFormat: /(წინა|შემდეგ)/,
  6316. },
  6317. weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
  6318. weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
  6319. longDateFormat: {
  6320. LT: 'HH:mm',
  6321. LTS: 'HH:mm:ss',
  6322. L: 'DD/MM/YYYY',
  6323. LL: 'D MMMM YYYY',
  6324. LLL: 'D MMMM YYYY HH:mm',
  6325. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6326. },
  6327. calendar: {
  6328. sameDay: '[დღეს] LT[-ზე]',
  6329. nextDay: '[ხვალ] LT[-ზე]',
  6330. lastDay: '[გუშინ] LT[-ზე]',
  6331. nextWeek: '[შემდეგ] dddd LT[-ზე]',
  6332. lastWeek: '[წინა] dddd LT-ზე',
  6333. sameElse: 'L',
  6334. },
  6335. relativeTime: {
  6336. future: function (s) {
  6337. return s.replace(
  6338. /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,
  6339. function ($0, $1, $2) {
  6340. return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';
  6341. }
  6342. );
  6343. },
  6344. past: function (s) {
  6345. if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {
  6346. return s.replace(/(ი|ე)$/, 'ის წინ');
  6347. }
  6348. if (/წელი/.test(s)) {
  6349. return s.replace(/წელი$/, 'წლის წინ');
  6350. }
  6351. return s;
  6352. },
  6353. s: 'რამდენიმე წამი',
  6354. ss: '%d წამი',
  6355. m: 'წუთი',
  6356. mm: '%d წუთი',
  6357. h: 'საათი',
  6358. hh: '%d საათი',
  6359. d: 'დღე',
  6360. dd: '%d დღე',
  6361. M: 'თვე',
  6362. MM: '%d თვე',
  6363. y: 'წელი',
  6364. yy: '%d წელი',
  6365. },
  6366. dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
  6367. ordinal: function (number) {
  6368. if (number === 0) {
  6369. return number;
  6370. }
  6371. if (number === 1) {
  6372. return number + '-ლი';
  6373. }
  6374. if (
  6375. number < 20 ||
  6376. (number <= 100 && number % 20 === 0) ||
  6377. number % 100 === 0
  6378. ) {
  6379. return 'მე-' + number;
  6380. }
  6381. return number + '-ე';
  6382. },
  6383. week: {
  6384. dow: 1,
  6385. doy: 7,
  6386. },
  6387. });
  6388. //! moment.js locale configuration
  6389. var suffixes$1 = {
  6390. 0: '-ші',
  6391. 1: '-ші',
  6392. 2: '-ші',
  6393. 3: '-ші',
  6394. 4: '-ші',
  6395. 5: '-ші',
  6396. 6: '-шы',
  6397. 7: '-ші',
  6398. 8: '-ші',
  6399. 9: '-шы',
  6400. 10: '-шы',
  6401. 20: '-шы',
  6402. 30: '-шы',
  6403. 40: '-шы',
  6404. 50: '-ші',
  6405. 60: '-шы',
  6406. 70: '-ші',
  6407. 80: '-ші',
  6408. 90: '-шы',
  6409. 100: '-ші',
  6410. };
  6411. moment.defineLocale('kk', {
  6412. months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(
  6413. '_'
  6414. ),
  6415. monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
  6416. weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(
  6417. '_'
  6418. ),
  6419. weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
  6420. weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
  6421. longDateFormat: {
  6422. LT: 'HH:mm',
  6423. LTS: 'HH:mm:ss',
  6424. L: 'DD.MM.YYYY',
  6425. LL: 'D MMMM YYYY',
  6426. LLL: 'D MMMM YYYY HH:mm',
  6427. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6428. },
  6429. calendar: {
  6430. sameDay: '[Бүгін сағат] LT',
  6431. nextDay: '[Ертең сағат] LT',
  6432. nextWeek: 'dddd [сағат] LT',
  6433. lastDay: '[Кеше сағат] LT',
  6434. lastWeek: '[Өткен аптаның] dddd [сағат] LT',
  6435. sameElse: 'L',
  6436. },
  6437. relativeTime: {
  6438. future: '%s ішінде',
  6439. past: '%s бұрын',
  6440. s: 'бірнеше секунд',
  6441. ss: '%d секунд',
  6442. m: 'бір минут',
  6443. mm: '%d минут',
  6444. h: 'бір сағат',
  6445. hh: '%d сағат',
  6446. d: 'бір күн',
  6447. dd: '%d күн',
  6448. M: 'бір ай',
  6449. MM: '%d ай',
  6450. y: 'бір жыл',
  6451. yy: '%d жыл',
  6452. },
  6453. dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
  6454. ordinal: function (number) {
  6455. var a = number % 10,
  6456. b = number >= 100 ? 100 : null;
  6457. return number + (suffixes$1[number] || suffixes$1[a] || suffixes$1[b]);
  6458. },
  6459. week: {
  6460. dow: 1, // Monday is the first day of the week.
  6461. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6462. },
  6463. });
  6464. //! moment.js locale configuration
  6465. var symbolMap$a = {
  6466. 1: '១',
  6467. 2: '២',
  6468. 3: '៣',
  6469. 4: '៤',
  6470. 5: '៥',
  6471. 6: '៦',
  6472. 7: '៧',
  6473. 8: '៨',
  6474. 9: '៩',
  6475. 0: '០',
  6476. },
  6477. numberMap$9 = {
  6478. '១': '1',
  6479. '២': '2',
  6480. '៣': '3',
  6481. '៤': '4',
  6482. '៥': '5',
  6483. '៦': '6',
  6484. '៧': '7',
  6485. '៨': '8',
  6486. '៩': '9',
  6487. '០': '0',
  6488. };
  6489. moment.defineLocale('km', {
  6490. months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
  6491. '_'
  6492. ),
  6493. monthsShort:
  6494. 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
  6495. '_'
  6496. ),
  6497. weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
  6498. weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  6499. weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  6500. weekdaysParseExact: true,
  6501. longDateFormat: {
  6502. LT: 'HH:mm',
  6503. LTS: 'HH:mm:ss',
  6504. L: 'DD/MM/YYYY',
  6505. LL: 'D MMMM YYYY',
  6506. LLL: 'D MMMM YYYY HH:mm',
  6507. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6508. },
  6509. meridiemParse: /ព្រឹក|ល្ងាច/,
  6510. isPM: function (input) {
  6511. return input === 'ល្ងាច';
  6512. },
  6513. meridiem: function (hour, minute, isLower) {
  6514. if (hour < 12) {
  6515. return 'ព្រឹក';
  6516. } else {
  6517. return 'ល្ងាច';
  6518. }
  6519. },
  6520. calendar: {
  6521. sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
  6522. nextDay: '[ស្អែក ម៉ោង] LT',
  6523. nextWeek: 'dddd [ម៉ោង] LT',
  6524. lastDay: '[ម្សិលមិញ ម៉ោង] LT',
  6525. lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
  6526. sameElse: 'L',
  6527. },
  6528. relativeTime: {
  6529. future: '%sទៀត',
  6530. past: '%sមុន',
  6531. s: 'ប៉ុន្មានវិនាទី',
  6532. ss: '%d វិនាទី',
  6533. m: 'មួយនាទី',
  6534. mm: '%d នាទី',
  6535. h: 'មួយម៉ោង',
  6536. hh: '%d ម៉ោង',
  6537. d: 'មួយថ្ងៃ',
  6538. dd: '%d ថ្ងៃ',
  6539. M: 'មួយខែ',
  6540. MM: '%d ខែ',
  6541. y: 'មួយឆ្នាំ',
  6542. yy: '%d ឆ្នាំ',
  6543. },
  6544. dayOfMonthOrdinalParse: /ទី\d{1,2}/,
  6545. ordinal: 'ទី%d',
  6546. preparse: function (string) {
  6547. return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
  6548. return numberMap$9[match];
  6549. });
  6550. },
  6551. postformat: function (string) {
  6552. return string.replace(/\d/g, function (match) {
  6553. return symbolMap$a[match];
  6554. });
  6555. },
  6556. week: {
  6557. dow: 1, // Monday is the first day of the week.
  6558. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6559. },
  6560. });
  6561. //! moment.js locale configuration
  6562. var symbolMap$b = {
  6563. 1: '೧',
  6564. 2: '೨',
  6565. 3: '೩',
  6566. 4: '೪',
  6567. 5: '೫',
  6568. 6: '೬',
  6569. 7: '೭',
  6570. 8: '೮',
  6571. 9: '೯',
  6572. 0: '೦',
  6573. },
  6574. numberMap$a = {
  6575. '೧': '1',
  6576. '೨': '2',
  6577. '೩': '3',
  6578. '೪': '4',
  6579. '೫': '5',
  6580. '೬': '6',
  6581. '೭': '7',
  6582. '೮': '8',
  6583. '೯': '9',
  6584. '೦': '0',
  6585. };
  6586. moment.defineLocale('kn', {
  6587. months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(
  6588. '_'
  6589. ),
  6590. monthsShort:
  6591. 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(
  6592. '_'
  6593. ),
  6594. monthsParseExact: true,
  6595. weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(
  6596. '_'
  6597. ),
  6598. weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
  6599. weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
  6600. longDateFormat: {
  6601. LT: 'A h:mm',
  6602. LTS: 'A h:mm:ss',
  6603. L: 'DD/MM/YYYY',
  6604. LL: 'D MMMM YYYY',
  6605. LLL: 'D MMMM YYYY, A h:mm',
  6606. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  6607. },
  6608. calendar: {
  6609. sameDay: '[ಇಂದು] LT',
  6610. nextDay: '[ನಾಳೆ] LT',
  6611. nextWeek: 'dddd, LT',
  6612. lastDay: '[ನಿನ್ನೆ] LT',
  6613. lastWeek: '[ಕೊನೆಯ] dddd, LT',
  6614. sameElse: 'L',
  6615. },
  6616. relativeTime: {
  6617. future: '%s ನಂತರ',
  6618. past: '%s ಹಿಂದೆ',
  6619. s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
  6620. ss: '%d ಸೆಕೆಂಡುಗಳು',
  6621. m: 'ಒಂದು ನಿಮಿಷ',
  6622. mm: '%d ನಿಮಿಷ',
  6623. h: 'ಒಂದು ಗಂಟೆ',
  6624. hh: '%d ಗಂಟೆ',
  6625. d: 'ಒಂದು ದಿನ',
  6626. dd: '%d ದಿನ',
  6627. M: 'ಒಂದು ತಿಂಗಳು',
  6628. MM: '%d ತಿಂಗಳು',
  6629. y: 'ಒಂದು ವರ್ಷ',
  6630. yy: '%d ವರ್ಷ',
  6631. },
  6632. preparse: function (string) {
  6633. return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
  6634. return numberMap$a[match];
  6635. });
  6636. },
  6637. postformat: function (string) {
  6638. return string.replace(/\d/g, function (match) {
  6639. return symbolMap$b[match];
  6640. });
  6641. },
  6642. meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
  6643. meridiemHour: function (hour, meridiem) {
  6644. if (hour === 12) {
  6645. hour = 0;
  6646. }
  6647. if (meridiem === 'ರಾತ್ರಿ') {
  6648. return hour < 4 ? hour : hour + 12;
  6649. } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
  6650. return hour;
  6651. } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
  6652. return hour >= 10 ? hour : hour + 12;
  6653. } else if (meridiem === 'ಸಂಜೆ') {
  6654. return hour + 12;
  6655. }
  6656. },
  6657. meridiem: function (hour, minute, isLower) {
  6658. if (hour < 4) {
  6659. return 'ರಾತ್ರಿ';
  6660. } else if (hour < 10) {
  6661. return 'ಬೆಳಿಗ್ಗೆ';
  6662. } else if (hour < 17) {
  6663. return 'ಮಧ್ಯಾಹ್ನ';
  6664. } else if (hour < 20) {
  6665. return 'ಸಂಜೆ';
  6666. } else {
  6667. return 'ರಾತ್ರಿ';
  6668. }
  6669. },
  6670. dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
  6671. ordinal: function (number) {
  6672. return number + 'ನೇ';
  6673. },
  6674. week: {
  6675. dow: 0, // Sunday is the first day of the week.
  6676. doy: 6, // The week that contains Jan 6th is the first week of the year.
  6677. },
  6678. });
  6679. //! moment.js locale configuration
  6680. moment.defineLocale('ko', {
  6681. months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  6682. monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
  6683. '_'
  6684. ),
  6685. weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
  6686. weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
  6687. weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
  6688. longDateFormat: {
  6689. LT: 'A h:mm',
  6690. LTS: 'A h:mm:ss',
  6691. L: 'YYYY.MM.DD.',
  6692. LL: 'YYYY년 MMMM D일',
  6693. LLL: 'YYYY년 MMMM D일 A h:mm',
  6694. LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
  6695. l: 'YYYY.MM.DD.',
  6696. ll: 'YYYY년 MMMM D일',
  6697. lll: 'YYYY년 MMMM D일 A h:mm',
  6698. llll: 'YYYY년 MMMM D일 dddd A h:mm',
  6699. },
  6700. calendar: {
  6701. sameDay: '오늘 LT',
  6702. nextDay: '내일 LT',
  6703. nextWeek: 'dddd LT',
  6704. lastDay: '어제 LT',
  6705. lastWeek: '지난주 dddd LT',
  6706. sameElse: 'L',
  6707. },
  6708. relativeTime: {
  6709. future: '%s 후',
  6710. past: '%s 전',
  6711. s: '몇 초',
  6712. ss: '%d초',
  6713. m: '1분',
  6714. mm: '%d분',
  6715. h: '한 시간',
  6716. hh: '%d시간',
  6717. d: '하루',
  6718. dd: '%d일',
  6719. M: '한 달',
  6720. MM: '%d달',
  6721. y: '일 년',
  6722. yy: '%d년',
  6723. },
  6724. dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
  6725. ordinal: function (number, period) {
  6726. switch (period) {
  6727. case 'd':
  6728. case 'D':
  6729. case 'DDD':
  6730. return number + '일';
  6731. case 'M':
  6732. return number + '월';
  6733. case 'w':
  6734. case 'W':
  6735. return number + '주';
  6736. default:
  6737. return number;
  6738. }
  6739. },
  6740. meridiemParse: /오전|오후/,
  6741. isPM: function (token) {
  6742. return token === '오후';
  6743. },
  6744. meridiem: function (hour, minute, isUpper) {
  6745. return hour < 12 ? '오전' : '오후';
  6746. },
  6747. });
  6748. //! moment.js locale configuration
  6749. function processRelativeTime$7(num, withoutSuffix, key, isFuture) {
  6750. var format = {
  6751. s: ['çend sanîye', 'çend sanîyeyan'],
  6752. ss: [num + ' sanîye', num + ' sanîyeyan'],
  6753. m: ['deqîqeyek', 'deqîqeyekê'],
  6754. mm: [num + ' deqîqe', num + ' deqîqeyan'],
  6755. h: ['saetek', 'saetekê'],
  6756. hh: [num + ' saet', num + ' saetan'],
  6757. d: ['rojek', 'rojekê'],
  6758. dd: [num + ' roj', num + ' rojan'],
  6759. w: ['hefteyek', 'hefteyekê'],
  6760. ww: [num + ' hefte', num + ' hefteyan'],
  6761. M: ['mehek', 'mehekê'],
  6762. MM: [num + ' meh', num + ' mehan'],
  6763. y: ['salek', 'salekê'],
  6764. yy: [num + ' sal', num + ' salan'],
  6765. };
  6766. return withoutSuffix ? format[key][0] : format[key][1];
  6767. }
  6768. // function obliqueNumSuffix(num) {
  6769. // if(num.includes(':'))
  6770. // num = parseInt(num.split(':')[0]);
  6771. // else
  6772. // num = parseInt(num);
  6773. // return num == 0 || num % 10 == 1 ? 'ê'
  6774. // : (num > 10 && num % 10 == 0 ? 'î' : 'an');
  6775. // }
  6776. function ezafeNumSuffix(num) {
  6777. num = '' + num;
  6778. var l = num.substring(num.length - 1),
  6779. ll = num.length > 1 ? num.substring(num.length - 2) : '';
  6780. if (
  6781. !(ll == 12 || ll == 13) &&
  6782. (l == '2' || l == '3' || ll == '50' || l == '70' || l == '80')
  6783. )
  6784. return 'yê';
  6785. return 'ê';
  6786. }
  6787. moment.defineLocale('ku-kmr', {
  6788. // According to the spelling rules defined by the work group of Weqfa Mezopotamyayê (Mesopotamia Foundation)
  6789. // this should be: 'Kanûna Paşîn_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Çirîya Pêşîn_Çirîya Paşîn_Kanûna Pêşîn'
  6790. // But the names below are more well known and handy
  6791. months: 'Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar'.split(
  6792. '_'
  6793. ),
  6794. monthsShort: 'Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber'.split('_'),
  6795. monthsParseExact: true,
  6796. weekdays: 'Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî'.split('_'),
  6797. weekdaysShort: 'Yek_Du_Sê_Çar_Pên_În_Şem'.split('_'),
  6798. weekdaysMin: 'Ye_Du_Sê_Ça_Pê_În_Şe'.split('_'),
  6799. meridiem: function (hours, minutes, isLower) {
  6800. if (hours < 12) {
  6801. return isLower ? 'bn' : 'BN';
  6802. } else {
  6803. return isLower ? 'pn' : 'PN';
  6804. }
  6805. },
  6806. meridiemParse: /bn|BN|pn|PN/,
  6807. longDateFormat: {
  6808. LT: 'HH:mm',
  6809. LTS: 'HH:mm:ss',
  6810. L: 'DD.MM.YYYY',
  6811. LL: 'Do MMMM[a] YYYY[an]',
  6812. LLL: 'Do MMMM[a] YYYY[an] HH:mm',
  6813. LLLL: 'dddd, Do MMMM[a] YYYY[an] HH:mm',
  6814. ll: 'Do MMM[.] YYYY[an]',
  6815. lll: 'Do MMM[.] YYYY[an] HH:mm',
  6816. llll: 'ddd[.], Do MMM[.] YYYY[an] HH:mm',
  6817. },
  6818. calendar: {
  6819. sameDay: '[Îro di saet] LT [de]',
  6820. nextDay: '[Sibê di saet] LT [de]',
  6821. nextWeek: 'dddd [di saet] LT [de]',
  6822. lastDay: '[Duh di saet] LT [de]',
  6823. lastWeek: 'dddd[a borî di saet] LT [de]',
  6824. sameElse: 'L',
  6825. },
  6826. relativeTime: {
  6827. future: 'di %s de',
  6828. past: 'berî %s',
  6829. s: processRelativeTime$7,
  6830. ss: processRelativeTime$7,
  6831. m: processRelativeTime$7,
  6832. mm: processRelativeTime$7,
  6833. h: processRelativeTime$7,
  6834. hh: processRelativeTime$7,
  6835. d: processRelativeTime$7,
  6836. dd: processRelativeTime$7,
  6837. w: processRelativeTime$7,
  6838. ww: processRelativeTime$7,
  6839. M: processRelativeTime$7,
  6840. MM: processRelativeTime$7,
  6841. y: processRelativeTime$7,
  6842. yy: processRelativeTime$7,
  6843. },
  6844. dayOfMonthOrdinalParse: /\d{1,2}(?:yê|ê|\.)/,
  6845. ordinal: function (num, period) {
  6846. var p = period.toLowerCase();
  6847. if (p.includes('w') || p.includes('m')) return num + '.';
  6848. return num + ezafeNumSuffix(num);
  6849. },
  6850. week: {
  6851. dow: 1, // Monday is the first day of the week.
  6852. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6853. },
  6854. });
  6855. //! moment.js locale configuration
  6856. var symbolMap$c = {
  6857. 1: '١',
  6858. 2: '٢',
  6859. 3: '٣',
  6860. 4: '٤',
  6861. 5: '٥',
  6862. 6: '٦',
  6863. 7: '٧',
  6864. 8: '٨',
  6865. 9: '٩',
  6866. 0: '٠',
  6867. },
  6868. numberMap$b = {
  6869. '١': '1',
  6870. '٢': '2',
  6871. '٣': '3',
  6872. '٤': '4',
  6873. '٥': '5',
  6874. '٦': '6',
  6875. '٧': '7',
  6876. '٨': '8',
  6877. '٩': '9',
  6878. '٠': '0',
  6879. },
  6880. months$7 = [
  6881. 'کانونی دووەم',
  6882. 'شوبات',
  6883. 'ئازار',
  6884. 'نیسان',
  6885. 'ئایار',
  6886. 'حوزەیران',
  6887. 'تەمموز',
  6888. 'ئاب',
  6889. 'ئەیلوول',
  6890. 'تشرینی یەكەم',
  6891. 'تشرینی دووەم',
  6892. 'كانونی یەکەم',
  6893. ];
  6894. moment.defineLocale('ku', {
  6895. months: months$7,
  6896. monthsShort: months$7,
  6897. weekdays:
  6898. 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split(
  6899. '_'
  6900. ),
  6901. weekdaysShort:
  6902. 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),
  6903. weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
  6904. weekdaysParseExact: true,
  6905. longDateFormat: {
  6906. LT: 'HH:mm',
  6907. LTS: 'HH:mm:ss',
  6908. L: 'DD/MM/YYYY',
  6909. LL: 'D MMMM YYYY',
  6910. LLL: 'D MMMM YYYY HH:mm',
  6911. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6912. },
  6913. meridiemParse: /ئێواره‌|به‌یانی/,
  6914. isPM: function (input) {
  6915. return /ئێواره‌/.test(input);
  6916. },
  6917. meridiem: function (hour, minute, isLower) {
  6918. if (hour < 12) {
  6919. return 'به‌یانی';
  6920. } else {
  6921. return 'ئێواره‌';
  6922. }
  6923. },
  6924. calendar: {
  6925. sameDay: '[ئه‌مرۆ كاتژمێر] LT',
  6926. nextDay: '[به‌یانی كاتژمێر] LT',
  6927. nextWeek: 'dddd [كاتژمێر] LT',
  6928. lastDay: '[دوێنێ كاتژمێر] LT',
  6929. lastWeek: 'dddd [كاتژمێر] LT',
  6930. sameElse: 'L',
  6931. },
  6932. relativeTime: {
  6933. future: 'له‌ %s',
  6934. past: '%s',
  6935. s: 'چه‌ند چركه‌یه‌ك',
  6936. ss: 'چركه‌ %d',
  6937. m: 'یه‌ك خوله‌ك',
  6938. mm: '%d خوله‌ك',
  6939. h: 'یه‌ك كاتژمێر',
  6940. hh: '%d كاتژمێر',
  6941. d: 'یه‌ك ڕۆژ',
  6942. dd: '%d ڕۆژ',
  6943. M: 'یه‌ك مانگ',
  6944. MM: '%d مانگ',
  6945. y: 'یه‌ك ساڵ',
  6946. yy: '%d ساڵ',
  6947. },
  6948. preparse: function (string) {
  6949. return string
  6950. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  6951. return numberMap$b[match];
  6952. })
  6953. .replace(/،/g, ',');
  6954. },
  6955. postformat: function (string) {
  6956. return string
  6957. .replace(/\d/g, function (match) {
  6958. return symbolMap$c[match];
  6959. })
  6960. .replace(/,/g, '،');
  6961. },
  6962. week: {
  6963. dow: 6, // Saturday is the first day of the week.
  6964. doy: 12, // The week that contains Jan 12th is the first week of the year.
  6965. },
  6966. });
  6967. //! moment.js locale configuration
  6968. var suffixes$2 = {
  6969. 0: '-чү',
  6970. 1: '-чи',
  6971. 2: '-чи',
  6972. 3: '-чү',
  6973. 4: '-чү',
  6974. 5: '-чи',
  6975. 6: '-чы',
  6976. 7: '-чи',
  6977. 8: '-чи',
  6978. 9: '-чу',
  6979. 10: '-чу',
  6980. 20: '-чы',
  6981. 30: '-чу',
  6982. 40: '-чы',
  6983. 50: '-чү',
  6984. 60: '-чы',
  6985. 70: '-чи',
  6986. 80: '-чи',
  6987. 90: '-чу',
  6988. 100: '-чү',
  6989. };
  6990. moment.defineLocale('ky', {
  6991. months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
  6992. '_'
  6993. ),
  6994. monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(
  6995. '_'
  6996. ),
  6997. weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(
  6998. '_'
  6999. ),
  7000. weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
  7001. weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
  7002. longDateFormat: {
  7003. LT: 'HH:mm',
  7004. LTS: 'HH:mm:ss',
  7005. L: 'DD.MM.YYYY',
  7006. LL: 'D MMMM YYYY',
  7007. LLL: 'D MMMM YYYY HH:mm',
  7008. LLLL: 'dddd, D MMMM YYYY HH:mm',
  7009. },
  7010. calendar: {
  7011. sameDay: '[Бүгүн саат] LT',
  7012. nextDay: '[Эртең саат] LT',
  7013. nextWeek: 'dddd [саат] LT',
  7014. lastDay: '[Кечээ саат] LT',
  7015. lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
  7016. sameElse: 'L',
  7017. },
  7018. relativeTime: {
  7019. future: '%s ичинде',
  7020. past: '%s мурун',
  7021. s: 'бирнече секунд',
  7022. ss: '%d секунд',
  7023. m: 'бир мүнөт',
  7024. mm: '%d мүнөт',
  7025. h: 'бир саат',
  7026. hh: '%d саат',
  7027. d: 'бир күн',
  7028. dd: '%d күн',
  7029. M: 'бир ай',
  7030. MM: '%d ай',
  7031. y: 'бир жыл',
  7032. yy: '%d жыл',
  7033. },
  7034. dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
  7035. ordinal: function (number) {
  7036. var a = number % 10,
  7037. b = number >= 100 ? 100 : null;
  7038. return number + (suffixes$2[number] || suffixes$2[a] || suffixes$2[b]);
  7039. },
  7040. week: {
  7041. dow: 1, // Monday is the first day of the week.
  7042. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7043. },
  7044. });
  7045. //! moment.js locale configuration
  7046. function processRelativeTime$8(number, withoutSuffix, key, isFuture) {
  7047. var format = {
  7048. m: ['eng Minutt', 'enger Minutt'],
  7049. h: ['eng Stonn', 'enger Stonn'],
  7050. d: ['een Dag', 'engem Dag'],
  7051. M: ['ee Mount', 'engem Mount'],
  7052. y: ['ee Joer', 'engem Joer'],
  7053. };
  7054. return withoutSuffix ? format[key][0] : format[key][1];
  7055. }
  7056. function processFutureTime(string) {
  7057. var number = string.substr(0, string.indexOf(' '));
  7058. if (eifelerRegelAppliesToNumber(number)) {
  7059. return 'a ' + string;
  7060. }
  7061. return 'an ' + string;
  7062. }
  7063. function processPastTime(string) {
  7064. var number = string.substr(0, string.indexOf(' '));
  7065. if (eifelerRegelAppliesToNumber(number)) {
  7066. return 'viru ' + string;
  7067. }
  7068. return 'virun ' + string;
  7069. }
  7070. /**
  7071. * Returns true if the word before the given number loses the '-n' ending.
  7072. * e.g. 'an 10 Deeg' but 'a 5 Deeg'
  7073. *
  7074. * @param number {integer}
  7075. * @returns {boolean}
  7076. */
  7077. function eifelerRegelAppliesToNumber(number) {
  7078. number = parseInt(number, 10);
  7079. if (isNaN(number)) {
  7080. return false;
  7081. }
  7082. if (number < 0) {
  7083. // Negative Number --> always true
  7084. return true;
  7085. } else if (number < 10) {
  7086. // Only 1 digit
  7087. if (4 <= number && number <= 7) {
  7088. return true;
  7089. }
  7090. return false;
  7091. } else if (number < 100) {
  7092. // 2 digits
  7093. var lastDigit = number % 10,
  7094. firstDigit = number / 10;
  7095. if (lastDigit === 0) {
  7096. return eifelerRegelAppliesToNumber(firstDigit);
  7097. }
  7098. return eifelerRegelAppliesToNumber(lastDigit);
  7099. } else if (number < 10000) {
  7100. // 3 or 4 digits --> recursively check first digit
  7101. while (number >= 10) {
  7102. number = number / 10;
  7103. }
  7104. return eifelerRegelAppliesToNumber(number);
  7105. } else {
  7106. // Anything larger than 4 digits: recursively check first n-3 digits
  7107. number = number / 1000;
  7108. return eifelerRegelAppliesToNumber(number);
  7109. }
  7110. }
  7111. moment.defineLocale('lb', {
  7112. months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  7113. '_'
  7114. ),
  7115. monthsShort:
  7116. 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(
  7117. '_'
  7118. ),
  7119. monthsParseExact: true,
  7120. weekdays:
  7121. 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(
  7122. '_'
  7123. ),
  7124. weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
  7125. weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
  7126. weekdaysParseExact: true,
  7127. longDateFormat: {
  7128. LT: 'H:mm [Auer]',
  7129. LTS: 'H:mm:ss [Auer]',
  7130. L: 'DD.MM.YYYY',
  7131. LL: 'D. MMMM YYYY',
  7132. LLL: 'D. MMMM YYYY H:mm [Auer]',
  7133. LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',
  7134. },
  7135. calendar: {
  7136. sameDay: '[Haut um] LT',
  7137. sameElse: 'L',
  7138. nextDay: '[Muer um] LT',
  7139. nextWeek: 'dddd [um] LT',
  7140. lastDay: '[Gëschter um] LT',
  7141. lastWeek: function () {
  7142. // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
  7143. switch (this.day()) {
  7144. case 2:
  7145. case 4:
  7146. return '[Leschten] dddd [um] LT';
  7147. default:
  7148. return '[Leschte] dddd [um] LT';
  7149. }
  7150. },
  7151. },
  7152. relativeTime: {
  7153. future: processFutureTime,
  7154. past: processPastTime,
  7155. s: 'e puer Sekonnen',
  7156. ss: '%d Sekonnen',
  7157. m: processRelativeTime$8,
  7158. mm: '%d Minutten',
  7159. h: processRelativeTime$8,
  7160. hh: '%d Stonnen',
  7161. d: processRelativeTime$8,
  7162. dd: '%d Deeg',
  7163. M: processRelativeTime$8,
  7164. MM: '%d Méint',
  7165. y: processRelativeTime$8,
  7166. yy: '%d Joer',
  7167. },
  7168. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7169. ordinal: '%d.',
  7170. week: {
  7171. dow: 1, // Monday is the first day of the week.
  7172. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7173. },
  7174. });
  7175. //! moment.js locale configuration
  7176. moment.defineLocale('lo', {
  7177. months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
  7178. '_'
  7179. ),
  7180. monthsShort:
  7181. 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
  7182. '_'
  7183. ),
  7184. weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  7185. weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  7186. weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
  7187. weekdaysParseExact: true,
  7188. longDateFormat: {
  7189. LT: 'HH:mm',
  7190. LTS: 'HH:mm:ss',
  7191. L: 'DD/MM/YYYY',
  7192. LL: 'D MMMM YYYY',
  7193. LLL: 'D MMMM YYYY HH:mm',
  7194. LLLL: 'ວັນdddd D MMMM YYYY HH:mm',
  7195. },
  7196. meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
  7197. isPM: function (input) {
  7198. return input === 'ຕອນແລງ';
  7199. },
  7200. meridiem: function (hour, minute, isLower) {
  7201. if (hour < 12) {
  7202. return 'ຕອນເຊົ້າ';
  7203. } else {
  7204. return 'ຕອນແລງ';
  7205. }
  7206. },
  7207. calendar: {
  7208. sameDay: '[ມື້ນີ້ເວລາ] LT',
  7209. nextDay: '[ມື້ອື່ນເວລາ] LT',
  7210. nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
  7211. lastDay: '[ມື້ວານນີ້ເວລາ] LT',
  7212. lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
  7213. sameElse: 'L',
  7214. },
  7215. relativeTime: {
  7216. future: 'ອີກ %s',
  7217. past: '%sຜ່ານມາ',
  7218. s: 'ບໍ່ເທົ່າໃດວິນາທີ',
  7219. ss: '%d ວິນາທີ',
  7220. m: '1 ນາທີ',
  7221. mm: '%d ນາທີ',
  7222. h: '1 ຊົ່ວໂມງ',
  7223. hh: '%d ຊົ່ວໂມງ',
  7224. d: '1 ມື້',
  7225. dd: '%d ມື້',
  7226. M: '1 ເດືອນ',
  7227. MM: '%d ເດືອນ',
  7228. y: '1 ປີ',
  7229. yy: '%d ປີ',
  7230. },
  7231. dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
  7232. ordinal: function (number) {
  7233. return 'ທີ່' + number;
  7234. },
  7235. });
  7236. //! moment.js locale configuration
  7237. var units = {
  7238. ss: 'sekundė_sekundžių_sekundes',
  7239. m: 'minutė_minutės_minutę',
  7240. mm: 'minutės_minučių_minutes',
  7241. h: 'valanda_valandos_valandą',
  7242. hh: 'valandos_valandų_valandas',
  7243. d: 'diena_dienos_dieną',
  7244. dd: 'dienos_dienų_dienas',
  7245. M: 'mėnuo_mėnesio_mėnesį',
  7246. MM: 'mėnesiai_mėnesių_mėnesius',
  7247. y: 'metai_metų_metus',
  7248. yy: 'metai_metų_metus',
  7249. };
  7250. function translateSeconds(number, withoutSuffix, key, isFuture) {
  7251. if (withoutSuffix) {
  7252. return 'kelios sekundės';
  7253. } else {
  7254. return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
  7255. }
  7256. }
  7257. function translateSingular(number, withoutSuffix, key, isFuture) {
  7258. return withoutSuffix
  7259. ? forms(key)[0]
  7260. : isFuture
  7261. ? forms(key)[1]
  7262. : forms(key)[2];
  7263. }
  7264. function special(number) {
  7265. return number % 10 === 0 || (number > 10 && number < 20);
  7266. }
  7267. function forms(key) {
  7268. return units[key].split('_');
  7269. }
  7270. function translate$6(number, withoutSuffix, key, isFuture) {
  7271. var result = number + ' ';
  7272. if (number === 1) {
  7273. return (
  7274. result + translateSingular(number, withoutSuffix, key[0], isFuture)
  7275. );
  7276. } else if (withoutSuffix) {
  7277. return result + (special(number) ? forms(key)[1] : forms(key)[0]);
  7278. } else {
  7279. if (isFuture) {
  7280. return result + forms(key)[1];
  7281. } else {
  7282. return result + (special(number) ? forms(key)[1] : forms(key)[2]);
  7283. }
  7284. }
  7285. }
  7286. moment.defineLocale('lt', {
  7287. months: {
  7288. format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(
  7289. '_'
  7290. ),
  7291. standalone:
  7292. 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(
  7293. '_'
  7294. ),
  7295. isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,
  7296. },
  7297. monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
  7298. weekdays: {
  7299. format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(
  7300. '_'
  7301. ),
  7302. standalone:
  7303. 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(
  7304. '_'
  7305. ),
  7306. isFormat: /dddd HH:mm/,
  7307. },
  7308. weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
  7309. weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),
  7310. weekdaysParseExact: true,
  7311. longDateFormat: {
  7312. LT: 'HH:mm',
  7313. LTS: 'HH:mm:ss',
  7314. L: 'YYYY-MM-DD',
  7315. LL: 'YYYY [m.] MMMM D [d.]',
  7316. LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  7317. LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
  7318. l: 'YYYY-MM-DD',
  7319. ll: 'YYYY [m.] MMMM D [d.]',
  7320. lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  7321. llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',
  7322. },
  7323. calendar: {
  7324. sameDay: '[Šiandien] LT',
  7325. nextDay: '[Rytoj] LT',
  7326. nextWeek: 'dddd LT',
  7327. lastDay: '[Vakar] LT',
  7328. lastWeek: '[Praėjusį] dddd LT',
  7329. sameElse: 'L',
  7330. },
  7331. relativeTime: {
  7332. future: 'po %s',
  7333. past: 'prieš %s',
  7334. s: translateSeconds,
  7335. ss: translate$6,
  7336. m: translateSingular,
  7337. mm: translate$6,
  7338. h: translateSingular,
  7339. hh: translate$6,
  7340. d: translateSingular,
  7341. dd: translate$6,
  7342. M: translateSingular,
  7343. MM: translate$6,
  7344. y: translateSingular,
  7345. yy: translate$6,
  7346. },
  7347. dayOfMonthOrdinalParse: /\d{1,2}-oji/,
  7348. ordinal: function (number) {
  7349. return number + '-oji';
  7350. },
  7351. week: {
  7352. dow: 1, // Monday is the first day of the week.
  7353. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7354. },
  7355. });
  7356. //! moment.js locale configuration
  7357. var units$1 = {
  7358. ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
  7359. m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  7360. mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  7361. h: 'stundas_stundām_stunda_stundas'.split('_'),
  7362. hh: 'stundas_stundām_stunda_stundas'.split('_'),
  7363. d: 'dienas_dienām_diena_dienas'.split('_'),
  7364. dd: 'dienas_dienām_diena_dienas'.split('_'),
  7365. M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  7366. MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  7367. y: 'gada_gadiem_gads_gadi'.split('_'),
  7368. yy: 'gada_gadiem_gads_gadi'.split('_'),
  7369. };
  7370. /**
  7371. * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
  7372. */
  7373. function format(forms, number, withoutSuffix) {
  7374. if (withoutSuffix) {
  7375. // E.g. "21 minūte", "3 minūtes".
  7376. return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
  7377. } else {
  7378. // E.g. "21 minūtes" as in "pēc 21 minūtes".
  7379. // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
  7380. return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
  7381. }
  7382. }
  7383. function relativeTimeWithPlural$1(number, withoutSuffix, key) {
  7384. return number + ' ' + format(units$1[key], number, withoutSuffix);
  7385. }
  7386. function relativeTimeWithSingular(number, withoutSuffix, key) {
  7387. return format(units$1[key], number, withoutSuffix);
  7388. }
  7389. function relativeSeconds(number, withoutSuffix) {
  7390. return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
  7391. }
  7392. moment.defineLocale('lv', {
  7393. months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(
  7394. '_'
  7395. ),
  7396. monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
  7397. weekdays:
  7398. 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(
  7399. '_'
  7400. ),
  7401. weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),
  7402. weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),
  7403. weekdaysParseExact: true,
  7404. longDateFormat: {
  7405. LT: 'HH:mm',
  7406. LTS: 'HH:mm:ss',
  7407. L: 'DD.MM.YYYY.',
  7408. LL: 'YYYY. [gada] D. MMMM',
  7409. LLL: 'YYYY. [gada] D. MMMM, HH:mm',
  7410. LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',
  7411. },
  7412. calendar: {
  7413. sameDay: '[Šodien pulksten] LT',
  7414. nextDay: '[Rīt pulksten] LT',
  7415. nextWeek: 'dddd [pulksten] LT',
  7416. lastDay: '[Vakar pulksten] LT',
  7417. lastWeek: '[Pagājušā] dddd [pulksten] LT',
  7418. sameElse: 'L',
  7419. },
  7420. relativeTime: {
  7421. future: 'pēc %s',
  7422. past: 'pirms %s',
  7423. s: relativeSeconds,
  7424. ss: relativeTimeWithPlural$1,
  7425. m: relativeTimeWithSingular,
  7426. mm: relativeTimeWithPlural$1,
  7427. h: relativeTimeWithSingular,
  7428. hh: relativeTimeWithPlural$1,
  7429. d: relativeTimeWithSingular,
  7430. dd: relativeTimeWithPlural$1,
  7431. M: relativeTimeWithSingular,
  7432. MM: relativeTimeWithPlural$1,
  7433. y: relativeTimeWithSingular,
  7434. yy: relativeTimeWithPlural$1,
  7435. },
  7436. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7437. ordinal: '%d.',
  7438. week: {
  7439. dow: 1, // Monday is the first day of the week.
  7440. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7441. },
  7442. });
  7443. //! moment.js locale configuration
  7444. var translator = {
  7445. words: {
  7446. //Different grammatical cases
  7447. ss: ['sekund', 'sekunda', 'sekundi'],
  7448. m: ['jedan minut', 'jednog minuta'],
  7449. mm: ['minut', 'minuta', 'minuta'],
  7450. h: ['jedan sat', 'jednog sata'],
  7451. hh: ['sat', 'sata', 'sati'],
  7452. dd: ['dan', 'dana', 'dana'],
  7453. MM: ['mjesec', 'mjeseca', 'mjeseci'],
  7454. yy: ['godina', 'godine', 'godina'],
  7455. },
  7456. correctGrammaticalCase: function (number, wordKey) {
  7457. return number === 1
  7458. ? wordKey[0]
  7459. : number >= 2 && number <= 4
  7460. ? wordKey[1]
  7461. : wordKey[2];
  7462. },
  7463. translate: function (number, withoutSuffix, key) {
  7464. var wordKey = translator.words[key];
  7465. if (key.length === 1) {
  7466. return withoutSuffix ? wordKey[0] : wordKey[1];
  7467. } else {
  7468. return (
  7469. number +
  7470. ' ' +
  7471. translator.correctGrammaticalCase(number, wordKey)
  7472. );
  7473. }
  7474. },
  7475. };
  7476. moment.defineLocale('me', {
  7477. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
  7478. '_'
  7479. ),
  7480. monthsShort:
  7481. 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  7482. monthsParseExact: true,
  7483. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  7484. '_'
  7485. ),
  7486. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  7487. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  7488. weekdaysParseExact: true,
  7489. longDateFormat: {
  7490. LT: 'H:mm',
  7491. LTS: 'H:mm:ss',
  7492. L: 'DD.MM.YYYY',
  7493. LL: 'D. MMMM YYYY',
  7494. LLL: 'D. MMMM YYYY H:mm',
  7495. LLLL: 'dddd, D. MMMM YYYY H:mm',
  7496. },
  7497. calendar: {
  7498. sameDay: '[danas u] LT',
  7499. nextDay: '[sjutra u] LT',
  7500. nextWeek: function () {
  7501. switch (this.day()) {
  7502. case 0:
  7503. return '[u] [nedjelju] [u] LT';
  7504. case 3:
  7505. return '[u] [srijedu] [u] LT';
  7506. case 6:
  7507. return '[u] [subotu] [u] LT';
  7508. case 1:
  7509. case 2:
  7510. case 4:
  7511. case 5:
  7512. return '[u] dddd [u] LT';
  7513. }
  7514. },
  7515. lastDay: '[juče u] LT',
  7516. lastWeek: function () {
  7517. var lastWeekDays = [
  7518. '[prošle] [nedjelje] [u] LT',
  7519. '[prošlog] [ponedjeljka] [u] LT',
  7520. '[prošlog] [utorka] [u] LT',
  7521. '[prošle] [srijede] [u] LT',
  7522. '[prošlog] [četvrtka] [u] LT',
  7523. '[prošlog] [petka] [u] LT',
  7524. '[prošle] [subote] [u] LT',
  7525. ];
  7526. return lastWeekDays[this.day()];
  7527. },
  7528. sameElse: 'L',
  7529. },
  7530. relativeTime: {
  7531. future: 'za %s',
  7532. past: 'prije %s',
  7533. s: 'nekoliko sekundi',
  7534. ss: translator.translate,
  7535. m: translator.translate,
  7536. mm: translator.translate,
  7537. h: translator.translate,
  7538. hh: translator.translate,
  7539. d: 'dan',
  7540. dd: translator.translate,
  7541. M: 'mjesec',
  7542. MM: translator.translate,
  7543. y: 'godinu',
  7544. yy: translator.translate,
  7545. },
  7546. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7547. ordinal: '%d.',
  7548. week: {
  7549. dow: 1, // Monday is the first day of the week.
  7550. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7551. },
  7552. });
  7553. //! moment.js locale configuration
  7554. moment.defineLocale('mi', {
  7555. 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(
  7556. '_'
  7557. ),
  7558. monthsShort:
  7559. 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(
  7560. '_'
  7561. ),
  7562. monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  7563. monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  7564. monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  7565. monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
  7566. weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
  7567. weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  7568. weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  7569. longDateFormat: {
  7570. LT: 'HH:mm',
  7571. LTS: 'HH:mm:ss',
  7572. L: 'DD/MM/YYYY',
  7573. LL: 'D MMMM YYYY',
  7574. LLL: 'D MMMM YYYY [i] HH:mm',
  7575. LLLL: 'dddd, D MMMM YYYY [i] HH:mm',
  7576. },
  7577. calendar: {
  7578. sameDay: '[i teie mahana, i] LT',
  7579. nextDay: '[apopo i] LT',
  7580. nextWeek: 'dddd [i] LT',
  7581. lastDay: '[inanahi i] LT',
  7582. lastWeek: 'dddd [whakamutunga i] LT',
  7583. sameElse: 'L',
  7584. },
  7585. relativeTime: {
  7586. future: 'i roto i %s',
  7587. past: '%s i mua',
  7588. s: 'te hēkona ruarua',
  7589. ss: '%d hēkona',
  7590. m: 'he meneti',
  7591. mm: '%d meneti',
  7592. h: 'te haora',
  7593. hh: '%d haora',
  7594. d: 'he ra',
  7595. dd: '%d ra',
  7596. M: 'he marama',
  7597. MM: '%d marama',
  7598. y: 'he tau',
  7599. yy: '%d tau',
  7600. },
  7601. dayOfMonthOrdinalParse: /\d{1,2}º/,
  7602. ordinal: '%dº',
  7603. week: {
  7604. dow: 1, // Monday is the first day of the week.
  7605. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7606. },
  7607. });
  7608. //! moment.js locale configuration
  7609. moment.defineLocale('mk', {
  7610. months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(
  7611. '_'
  7612. ),
  7613. monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
  7614. weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(
  7615. '_'
  7616. ),
  7617. weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
  7618. weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),
  7619. longDateFormat: {
  7620. LT: 'H:mm',
  7621. LTS: 'H:mm:ss',
  7622. L: 'D.MM.YYYY',
  7623. LL: 'D MMMM YYYY',
  7624. LLL: 'D MMMM YYYY H:mm',
  7625. LLLL: 'dddd, D MMMM YYYY H:mm',
  7626. },
  7627. calendar: {
  7628. sameDay: '[Денес во] LT',
  7629. nextDay: '[Утре во] LT',
  7630. nextWeek: '[Во] dddd [во] LT',
  7631. lastDay: '[Вчера во] LT',
  7632. lastWeek: function () {
  7633. switch (this.day()) {
  7634. case 0:
  7635. case 3:
  7636. case 6:
  7637. return '[Изминатата] dddd [во] LT';
  7638. case 1:
  7639. case 2:
  7640. case 4:
  7641. case 5:
  7642. return '[Изминатиот] dddd [во] LT';
  7643. }
  7644. },
  7645. sameElse: 'L',
  7646. },
  7647. relativeTime: {
  7648. future: 'за %s',
  7649. past: 'пред %s',
  7650. s: 'неколку секунди',
  7651. ss: '%d секунди',
  7652. m: 'една минута',
  7653. mm: '%d минути',
  7654. h: 'еден час',
  7655. hh: '%d часа',
  7656. d: 'еден ден',
  7657. dd: '%d дена',
  7658. M: 'еден месец',
  7659. MM: '%d месеци',
  7660. y: 'една година',
  7661. yy: '%d години',
  7662. },
  7663. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  7664. ordinal: function (number) {
  7665. var lastDigit = number % 10,
  7666. last2Digits = number % 100;
  7667. if (number === 0) {
  7668. return number + '-ев';
  7669. } else if (last2Digits === 0) {
  7670. return number + '-ен';
  7671. } else if (last2Digits > 10 && last2Digits < 20) {
  7672. return number + '-ти';
  7673. } else if (lastDigit === 1) {
  7674. return number + '-ви';
  7675. } else if (lastDigit === 2) {
  7676. return number + '-ри';
  7677. } else if (lastDigit === 7 || lastDigit === 8) {
  7678. return number + '-ми';
  7679. } else {
  7680. return number + '-ти';
  7681. }
  7682. },
  7683. week: {
  7684. dow: 1, // Monday is the first day of the week.
  7685. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7686. },
  7687. });
  7688. //! moment.js locale configuration
  7689. moment.defineLocale('ml', {
  7690. months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(
  7691. '_'
  7692. ),
  7693. monthsShort:
  7694. 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(
  7695. '_'
  7696. ),
  7697. monthsParseExact: true,
  7698. weekdays:
  7699. 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(
  7700. '_'
  7701. ),
  7702. weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
  7703. weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
  7704. longDateFormat: {
  7705. LT: 'A h:mm -നു',
  7706. LTS: 'A h:mm:ss -നു',
  7707. L: 'DD/MM/YYYY',
  7708. LL: 'D MMMM YYYY',
  7709. LLL: 'D MMMM YYYY, A h:mm -നു',
  7710. LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',
  7711. },
  7712. calendar: {
  7713. sameDay: '[ഇന്ന്] LT',
  7714. nextDay: '[നാളെ] LT',
  7715. nextWeek: 'dddd, LT',
  7716. lastDay: '[ഇന്നലെ] LT',
  7717. lastWeek: '[കഴിഞ്ഞ] dddd, LT',
  7718. sameElse: 'L',
  7719. },
  7720. relativeTime: {
  7721. future: '%s കഴിഞ്ഞ്',
  7722. past: '%s മുൻപ്',
  7723. s: 'അൽപ നിമിഷങ്ങൾ',
  7724. ss: '%d സെക്കൻഡ്',
  7725. m: 'ഒരു മിനിറ്റ്',
  7726. mm: '%d മിനിറ്റ്',
  7727. h: 'ഒരു മണിക്കൂർ',
  7728. hh: '%d മണിക്കൂർ',
  7729. d: 'ഒരു ദിവസം',
  7730. dd: '%d ദിവസം',
  7731. M: 'ഒരു മാസം',
  7732. MM: '%d മാസം',
  7733. y: 'ഒരു വർഷം',
  7734. yy: '%d വർഷം',
  7735. },
  7736. meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
  7737. meridiemHour: function (hour, meridiem) {
  7738. if (hour === 12) {
  7739. hour = 0;
  7740. }
  7741. if (
  7742. (meridiem === 'രാത്രി' && hour >= 4) ||
  7743. meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
  7744. meridiem === 'വൈകുന്നേരം'
  7745. ) {
  7746. return hour + 12;
  7747. } else {
  7748. return hour;
  7749. }
  7750. },
  7751. meridiem: function (hour, minute, isLower) {
  7752. if (hour < 4) {
  7753. return 'രാത്രി';
  7754. } else if (hour < 12) {
  7755. return 'രാവിലെ';
  7756. } else if (hour < 17) {
  7757. return 'ഉച്ച കഴിഞ്ഞ്';
  7758. } else if (hour < 20) {
  7759. return 'വൈകുന്നേരം';
  7760. } else {
  7761. return 'രാത്രി';
  7762. }
  7763. },
  7764. });
  7765. //! moment.js locale configuration
  7766. function translate$7(number, withoutSuffix, key, isFuture) {
  7767. switch (key) {
  7768. case 's':
  7769. return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
  7770. case 'ss':
  7771. return number + (withoutSuffix ? ' секунд' : ' секундын');
  7772. case 'm':
  7773. case 'mm':
  7774. return number + (withoutSuffix ? ' минут' : ' минутын');
  7775. case 'h':
  7776. case 'hh':
  7777. return number + (withoutSuffix ? ' цаг' : ' цагийн');
  7778. case 'd':
  7779. case 'dd':
  7780. return number + (withoutSuffix ? ' өдөр' : ' өдрийн');
  7781. case 'M':
  7782. case 'MM':
  7783. return number + (withoutSuffix ? ' сар' : ' сарын');
  7784. case 'y':
  7785. case 'yy':
  7786. return number + (withoutSuffix ? ' жил' : ' жилийн');
  7787. default:
  7788. return number;
  7789. }
  7790. }
  7791. moment.defineLocale('mn', {
  7792. months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(
  7793. '_'
  7794. ),
  7795. monthsShort:
  7796. '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(
  7797. '_'
  7798. ),
  7799. monthsParseExact: true,
  7800. weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),
  7801. weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),
  7802. weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),
  7803. weekdaysParseExact: true,
  7804. longDateFormat: {
  7805. LT: 'HH:mm',
  7806. LTS: 'HH:mm:ss',
  7807. L: 'YYYY-MM-DD',
  7808. LL: 'YYYY оны MMMMын D',
  7809. LLL: 'YYYY оны MMMMын D HH:mm',
  7810. LLLL: 'dddd, YYYY оны MMMMын D HH:mm',
  7811. },
  7812. meridiemParse: /ҮӨ|ҮХ/i,
  7813. isPM: function (input) {
  7814. return input === 'ҮХ';
  7815. },
  7816. meridiem: function (hour, minute, isLower) {
  7817. if (hour < 12) {
  7818. return 'ҮӨ';
  7819. } else {
  7820. return 'ҮХ';
  7821. }
  7822. },
  7823. calendar: {
  7824. sameDay: '[Өнөөдөр] LT',
  7825. nextDay: '[Маргааш] LT',
  7826. nextWeek: '[Ирэх] dddd LT',
  7827. lastDay: '[Өчигдөр] LT',
  7828. lastWeek: '[Өнгөрсөн] dddd LT',
  7829. sameElse: 'L',
  7830. },
  7831. relativeTime: {
  7832. future: '%s дараа',
  7833. past: '%s өмнө',
  7834. s: translate$7,
  7835. ss: translate$7,
  7836. m: translate$7,
  7837. mm: translate$7,
  7838. h: translate$7,
  7839. hh: translate$7,
  7840. d: translate$7,
  7841. dd: translate$7,
  7842. M: translate$7,
  7843. MM: translate$7,
  7844. y: translate$7,
  7845. yy: translate$7,
  7846. },
  7847. dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
  7848. ordinal: function (number, period) {
  7849. switch (period) {
  7850. case 'd':
  7851. case 'D':
  7852. case 'DDD':
  7853. return number + ' өдөр';
  7854. default:
  7855. return number;
  7856. }
  7857. },
  7858. });
  7859. //! moment.js locale configuration
  7860. var symbolMap$d = {
  7861. 1: '१',
  7862. 2: '२',
  7863. 3: '३',
  7864. 4: '४',
  7865. 5: '५',
  7866. 6: '६',
  7867. 7: '७',
  7868. 8: '८',
  7869. 9: '९',
  7870. 0: '०',
  7871. },
  7872. numberMap$c = {
  7873. '१': '1',
  7874. '२': '2',
  7875. '३': '3',
  7876. '४': '4',
  7877. '५': '5',
  7878. '६': '6',
  7879. '७': '7',
  7880. '८': '8',
  7881. '९': '9',
  7882. '०': '0',
  7883. };
  7884. function relativeTimeMr(number, withoutSuffix, string, isFuture) {
  7885. var output = '';
  7886. if (withoutSuffix) {
  7887. switch (string) {
  7888. case 's':
  7889. output = 'काही सेकंद';
  7890. break;
  7891. case 'ss':
  7892. output = '%d सेकंद';
  7893. break;
  7894. case 'm':
  7895. output = 'एक मिनिट';
  7896. break;
  7897. case 'mm':
  7898. output = '%d मिनिटे';
  7899. break;
  7900. case 'h':
  7901. output = 'एक तास';
  7902. break;
  7903. case 'hh':
  7904. output = '%d तास';
  7905. break;
  7906. case 'd':
  7907. output = 'एक दिवस';
  7908. break;
  7909. case 'dd':
  7910. output = '%d दिवस';
  7911. break;
  7912. case 'M':
  7913. output = 'एक महिना';
  7914. break;
  7915. case 'MM':
  7916. output = '%d महिने';
  7917. break;
  7918. case 'y':
  7919. output = 'एक वर्ष';
  7920. break;
  7921. case 'yy':
  7922. output = '%d वर्षे';
  7923. break;
  7924. }
  7925. } else {
  7926. switch (string) {
  7927. case 's':
  7928. output = 'काही सेकंदां';
  7929. break;
  7930. case 'ss':
  7931. output = '%d सेकंदां';
  7932. break;
  7933. case 'm':
  7934. output = 'एका मिनिटा';
  7935. break;
  7936. case 'mm':
  7937. output = '%d मिनिटां';
  7938. break;
  7939. case 'h':
  7940. output = 'एका तासा';
  7941. break;
  7942. case 'hh':
  7943. output = '%d तासां';
  7944. break;
  7945. case 'd':
  7946. output = 'एका दिवसा';
  7947. break;
  7948. case 'dd':
  7949. output = '%d दिवसां';
  7950. break;
  7951. case 'M':
  7952. output = 'एका महिन्या';
  7953. break;
  7954. case 'MM':
  7955. output = '%d महिन्यां';
  7956. break;
  7957. case 'y':
  7958. output = 'एका वर्षा';
  7959. break;
  7960. case 'yy':
  7961. output = '%d वर्षां';
  7962. break;
  7963. }
  7964. }
  7965. return output.replace(/%d/i, number);
  7966. }
  7967. moment.defineLocale('mr', {
  7968. months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
  7969. '_'
  7970. ),
  7971. monthsShort:
  7972. 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
  7973. '_'
  7974. ),
  7975. monthsParseExact: true,
  7976. weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  7977. weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
  7978. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  7979. longDateFormat: {
  7980. LT: 'A h:mm वाजता',
  7981. LTS: 'A h:mm:ss वाजता',
  7982. L: 'DD/MM/YYYY',
  7983. LL: 'D MMMM YYYY',
  7984. LLL: 'D MMMM YYYY, A h:mm वाजता',
  7985. LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',
  7986. },
  7987. calendar: {
  7988. sameDay: '[आज] LT',
  7989. nextDay: '[उद्या] LT',
  7990. nextWeek: 'dddd, LT',
  7991. lastDay: '[काल] LT',
  7992. lastWeek: '[मागील] dddd, LT',
  7993. sameElse: 'L',
  7994. },
  7995. relativeTime: {
  7996. future: '%sमध्ये',
  7997. past: '%sपूर्वी',
  7998. s: relativeTimeMr,
  7999. ss: relativeTimeMr,
  8000. m: relativeTimeMr,
  8001. mm: relativeTimeMr,
  8002. h: relativeTimeMr,
  8003. hh: relativeTimeMr,
  8004. d: relativeTimeMr,
  8005. dd: relativeTimeMr,
  8006. M: relativeTimeMr,
  8007. MM: relativeTimeMr,
  8008. y: relativeTimeMr,
  8009. yy: relativeTimeMr,
  8010. },
  8011. preparse: function (string) {
  8012. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  8013. return numberMap$c[match];
  8014. });
  8015. },
  8016. postformat: function (string) {
  8017. return string.replace(/\d/g, function (match) {
  8018. return symbolMap$d[match];
  8019. });
  8020. },
  8021. meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
  8022. meridiemHour: function (hour, meridiem) {
  8023. if (hour === 12) {
  8024. hour = 0;
  8025. }
  8026. if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {
  8027. return hour;
  8028. } else if (
  8029. meridiem === 'दुपारी' ||
  8030. meridiem === 'सायंकाळी' ||
  8031. meridiem === 'रात्री'
  8032. ) {
  8033. return hour >= 12 ? hour : hour + 12;
  8034. }
  8035. },
  8036. meridiem: function (hour, minute, isLower) {
  8037. if (hour >= 0 && hour < 6) {
  8038. return 'पहाटे';
  8039. } else if (hour < 12) {
  8040. return 'सकाळी';
  8041. } else if (hour < 17) {
  8042. return 'दुपारी';
  8043. } else if (hour < 20) {
  8044. return 'सायंकाळी';
  8045. } else {
  8046. return 'रात्री';
  8047. }
  8048. },
  8049. week: {
  8050. dow: 0, // Sunday is the first day of the week.
  8051. doy: 6, // The week that contains Jan 6th is the first week of the year.
  8052. },
  8053. });
  8054. //! moment.js locale configuration
  8055. moment.defineLocale('ms-my', {
  8056. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
  8057. '_'
  8058. ),
  8059. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  8060. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  8061. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  8062. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  8063. longDateFormat: {
  8064. LT: 'HH.mm',
  8065. LTS: 'HH.mm.ss',
  8066. L: 'DD/MM/YYYY',
  8067. LL: 'D MMMM YYYY',
  8068. LLL: 'D MMMM YYYY [pukul] HH.mm',
  8069. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  8070. },
  8071. meridiemParse: /pagi|tengahari|petang|malam/,
  8072. meridiemHour: function (hour, meridiem) {
  8073. if (hour === 12) {
  8074. hour = 0;
  8075. }
  8076. if (meridiem === 'pagi') {
  8077. return hour;
  8078. } else if (meridiem === 'tengahari') {
  8079. return hour >= 11 ? hour : hour + 12;
  8080. } else if (meridiem === 'petang' || meridiem === 'malam') {
  8081. return hour + 12;
  8082. }
  8083. },
  8084. meridiem: function (hours, minutes, isLower) {
  8085. if (hours < 11) {
  8086. return 'pagi';
  8087. } else if (hours < 15) {
  8088. return 'tengahari';
  8089. } else if (hours < 19) {
  8090. return 'petang';
  8091. } else {
  8092. return 'malam';
  8093. }
  8094. },
  8095. calendar: {
  8096. sameDay: '[Hari ini pukul] LT',
  8097. nextDay: '[Esok pukul] LT',
  8098. nextWeek: 'dddd [pukul] LT',
  8099. lastDay: '[Kelmarin pukul] LT',
  8100. lastWeek: 'dddd [lepas pukul] LT',
  8101. sameElse: 'L',
  8102. },
  8103. relativeTime: {
  8104. future: 'dalam %s',
  8105. past: '%s yang lepas',
  8106. s: 'beberapa saat',
  8107. ss: '%d saat',
  8108. m: 'seminit',
  8109. mm: '%d minit',
  8110. h: 'sejam',
  8111. hh: '%d jam',
  8112. d: 'sehari',
  8113. dd: '%d hari',
  8114. M: 'sebulan',
  8115. MM: '%d bulan',
  8116. y: 'setahun',
  8117. yy: '%d tahun',
  8118. },
  8119. week: {
  8120. dow: 1, // Monday is the first day of the week.
  8121. doy: 7, // The week that contains Jan 7th is the first week of the year.
  8122. },
  8123. });
  8124. //! moment.js locale configuration
  8125. moment.defineLocale('ms', {
  8126. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
  8127. '_'
  8128. ),
  8129. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  8130. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  8131. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  8132. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  8133. longDateFormat: {
  8134. LT: 'HH.mm',
  8135. LTS: 'HH.mm.ss',
  8136. L: 'DD/MM/YYYY',
  8137. LL: 'D MMMM YYYY',
  8138. LLL: 'D MMMM YYYY [pukul] HH.mm',
  8139. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  8140. },
  8141. meridiemParse: /pagi|tengahari|petang|malam/,
  8142. meridiemHour: function (hour, meridiem) {
  8143. if (hour === 12) {
  8144. hour = 0;
  8145. }
  8146. if (meridiem === 'pagi') {
  8147. return hour;
  8148. } else if (meridiem === 'tengahari') {
  8149. return hour >= 11 ? hour : hour + 12;
  8150. } else if (meridiem === 'petang' || meridiem === 'malam') {
  8151. return hour + 12;
  8152. }
  8153. },
  8154. meridiem: function (hours, minutes, isLower) {
  8155. if (hours < 11) {
  8156. return 'pagi';
  8157. } else if (hours < 15) {
  8158. return 'tengahari';
  8159. } else if (hours < 19) {
  8160. return 'petang';
  8161. } else {
  8162. return 'malam';
  8163. }
  8164. },
  8165. calendar: {
  8166. sameDay: '[Hari ini pukul] LT',
  8167. nextDay: '[Esok pukul] LT',
  8168. nextWeek: 'dddd [pukul] LT',
  8169. lastDay: '[Kelmarin pukul] LT',
  8170. lastWeek: 'dddd [lepas pukul] LT',
  8171. sameElse: 'L',
  8172. },
  8173. relativeTime: {
  8174. future: 'dalam %s',
  8175. past: '%s yang lepas',
  8176. s: 'beberapa saat',
  8177. ss: '%d saat',
  8178. m: 'seminit',
  8179. mm: '%d minit',
  8180. h: 'sejam',
  8181. hh: '%d jam',
  8182. d: 'sehari',
  8183. dd: '%d hari',
  8184. M: 'sebulan',
  8185. MM: '%d bulan',
  8186. y: 'setahun',
  8187. yy: '%d tahun',
  8188. },
  8189. week: {
  8190. dow: 1, // Monday is the first day of the week.
  8191. doy: 7, // The week that contains Jan 7th is the first week of the year.
  8192. },
  8193. });
  8194. //! moment.js locale configuration
  8195. moment.defineLocale('mt', {
  8196. months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
  8197. '_'
  8198. ),
  8199. monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
  8200. weekdays:
  8201. 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
  8202. '_'
  8203. ),
  8204. weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
  8205. weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
  8206. longDateFormat: {
  8207. LT: 'HH:mm',
  8208. LTS: 'HH:mm:ss',
  8209. L: 'DD/MM/YYYY',
  8210. LL: 'D MMMM YYYY',
  8211. LLL: 'D MMMM YYYY HH:mm',
  8212. LLLL: 'dddd, D MMMM YYYY HH:mm',
  8213. },
  8214. calendar: {
  8215. sameDay: '[Illum fil-]LT',
  8216. nextDay: '[Għada fil-]LT',
  8217. nextWeek: 'dddd [fil-]LT',
  8218. lastDay: '[Il-bieraħ fil-]LT',
  8219. lastWeek: 'dddd [li għadda] [fil-]LT',
  8220. sameElse: 'L',
  8221. },
  8222. relativeTime: {
  8223. future: 'f’ %s',
  8224. past: '%s ilu',
  8225. s: 'ftit sekondi',
  8226. ss: '%d sekondi',
  8227. m: 'minuta',
  8228. mm: '%d minuti',
  8229. h: 'siegħa',
  8230. hh: '%d siegħat',
  8231. d: 'ġurnata',
  8232. dd: '%d ġranet',
  8233. M: 'xahar',
  8234. MM: '%d xhur',
  8235. y: 'sena',
  8236. yy: '%d sni',
  8237. },
  8238. dayOfMonthOrdinalParse: /\d{1,2}º/,
  8239. ordinal: '%dº',
  8240. week: {
  8241. dow: 1, // Monday is the first day of the week.
  8242. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8243. },
  8244. });
  8245. //! moment.js locale configuration
  8246. var symbolMap$e = {
  8247. 1: '၁',
  8248. 2: '၂',
  8249. 3: '၃',
  8250. 4: '၄',
  8251. 5: '၅',
  8252. 6: '၆',
  8253. 7: '၇',
  8254. 8: '၈',
  8255. 9: '၉',
  8256. 0: '၀',
  8257. },
  8258. numberMap$d = {
  8259. '၁': '1',
  8260. '၂': '2',
  8261. '၃': '3',
  8262. '၄': '4',
  8263. '၅': '5',
  8264. '၆': '6',
  8265. '၇': '7',
  8266. '၈': '8',
  8267. '၉': '9',
  8268. '၀': '0',
  8269. };
  8270. moment.defineLocale('my', {
  8271. months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(
  8272. '_'
  8273. ),
  8274. monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
  8275. weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(
  8276. '_'
  8277. ),
  8278. weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  8279. weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  8280. longDateFormat: {
  8281. LT: 'HH:mm',
  8282. LTS: 'HH:mm:ss',
  8283. L: 'DD/MM/YYYY',
  8284. LL: 'D MMMM YYYY',
  8285. LLL: 'D MMMM YYYY HH:mm',
  8286. LLLL: 'dddd D MMMM YYYY HH:mm',
  8287. },
  8288. calendar: {
  8289. sameDay: '[ယနေ.] LT [မှာ]',
  8290. nextDay: '[မနက်ဖြန်] LT [မှာ]',
  8291. nextWeek: 'dddd LT [မှာ]',
  8292. lastDay: '[မနေ.က] LT [မှာ]',
  8293. lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
  8294. sameElse: 'L',
  8295. },
  8296. relativeTime: {
  8297. future: 'လာမည့် %s မှာ',
  8298. past: 'လွန်ခဲ့သော %s က',
  8299. s: 'စက္ကန်.အနည်းငယ်',
  8300. ss: '%d စက္ကန့်',
  8301. m: 'တစ်မိနစ်',
  8302. mm: '%d မိနစ်',
  8303. h: 'တစ်နာရီ',
  8304. hh: '%d နာရီ',
  8305. d: 'တစ်ရက်',
  8306. dd: '%d ရက်',
  8307. M: 'တစ်လ',
  8308. MM: '%d လ',
  8309. y: 'တစ်နှစ်',
  8310. yy: '%d နှစ်',
  8311. },
  8312. preparse: function (string) {
  8313. return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
  8314. return numberMap$d[match];
  8315. });
  8316. },
  8317. postformat: function (string) {
  8318. return string.replace(/\d/g, function (match) {
  8319. return symbolMap$e[match];
  8320. });
  8321. },
  8322. week: {
  8323. dow: 1, // Monday is the first day of the week.
  8324. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8325. },
  8326. });
  8327. //! moment.js locale configuration
  8328. moment.defineLocale('nb', {
  8329. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
  8330. '_'
  8331. ),
  8332. monthsShort:
  8333. 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  8334. monthsParseExact: true,
  8335. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  8336. weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
  8337. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  8338. weekdaysParseExact: true,
  8339. longDateFormat: {
  8340. LT: 'HH:mm',
  8341. LTS: 'HH:mm:ss',
  8342. L: 'DD.MM.YYYY',
  8343. LL: 'D. MMMM YYYY',
  8344. LLL: 'D. MMMM YYYY [kl.] HH:mm',
  8345. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
  8346. },
  8347. calendar: {
  8348. sameDay: '[i dag kl.] LT',
  8349. nextDay: '[i morgen kl.] LT',
  8350. nextWeek: 'dddd [kl.] LT',
  8351. lastDay: '[i går kl.] LT',
  8352. lastWeek: '[forrige] dddd [kl.] LT',
  8353. sameElse: 'L',
  8354. },
  8355. relativeTime: {
  8356. future: 'om %s',
  8357. past: '%s siden',
  8358. s: 'noen sekunder',
  8359. ss: '%d sekunder',
  8360. m: 'ett minutt',
  8361. mm: '%d minutter',
  8362. h: 'én time',
  8363. hh: '%d timer',
  8364. d: 'én dag',
  8365. dd: '%d dager',
  8366. w: 'én uke',
  8367. ww: '%d uker',
  8368. M: 'én måned',
  8369. MM: '%d måneder',
  8370. y: 'ett år',
  8371. yy: '%d år',
  8372. },
  8373. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8374. ordinal: '%d.',
  8375. week: {
  8376. dow: 1, // Monday is the first day of the week.
  8377. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8378. },
  8379. });
  8380. //! moment.js locale configuration
  8381. var symbolMap$f = {
  8382. 1: '१',
  8383. 2: '२',
  8384. 3: '३',
  8385. 4: '४',
  8386. 5: '५',
  8387. 6: '६',
  8388. 7: '७',
  8389. 8: '८',
  8390. 9: '९',
  8391. 0: '०',
  8392. },
  8393. numberMap$e = {
  8394. '१': '1',
  8395. '२': '2',
  8396. '३': '3',
  8397. '४': '4',
  8398. '५': '5',
  8399. '६': '6',
  8400. '७': '7',
  8401. '८': '8',
  8402. '९': '9',
  8403. '०': '0',
  8404. };
  8405. moment.defineLocale('ne', {
  8406. months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(
  8407. '_'
  8408. ),
  8409. monthsShort:
  8410. 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(
  8411. '_'
  8412. ),
  8413. monthsParseExact: true,
  8414. weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(
  8415. '_'
  8416. ),
  8417. weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
  8418. weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
  8419. weekdaysParseExact: true,
  8420. longDateFormat: {
  8421. LT: 'Aको h:mm बजे',
  8422. LTS: 'Aको h:mm:ss बजे',
  8423. L: 'DD/MM/YYYY',
  8424. LL: 'D MMMM YYYY',
  8425. LLL: 'D MMMM YYYY, Aको h:mm बजे',
  8426. LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',
  8427. },
  8428. preparse: function (string) {
  8429. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  8430. return numberMap$e[match];
  8431. });
  8432. },
  8433. postformat: function (string) {
  8434. return string.replace(/\d/g, function (match) {
  8435. return symbolMap$f[match];
  8436. });
  8437. },
  8438. meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
  8439. meridiemHour: function (hour, meridiem) {
  8440. if (hour === 12) {
  8441. hour = 0;
  8442. }
  8443. if (meridiem === 'राति') {
  8444. return hour < 4 ? hour : hour + 12;
  8445. } else if (meridiem === 'बिहान') {
  8446. return hour;
  8447. } else if (meridiem === 'दिउँसो') {
  8448. return hour >= 10 ? hour : hour + 12;
  8449. } else if (meridiem === 'साँझ') {
  8450. return hour + 12;
  8451. }
  8452. },
  8453. meridiem: function (hour, minute, isLower) {
  8454. if (hour < 3) {
  8455. return 'राति';
  8456. } else if (hour < 12) {
  8457. return 'बिहान';
  8458. } else if (hour < 16) {
  8459. return 'दिउँसो';
  8460. } else if (hour < 20) {
  8461. return 'साँझ';
  8462. } else {
  8463. return 'राति';
  8464. }
  8465. },
  8466. calendar: {
  8467. sameDay: '[आज] LT',
  8468. nextDay: '[भोलि] LT',
  8469. nextWeek: '[आउँदो] dddd[,] LT',
  8470. lastDay: '[हिजो] LT',
  8471. lastWeek: '[गएको] dddd[,] LT',
  8472. sameElse: 'L',
  8473. },
  8474. relativeTime: {
  8475. future: '%sमा',
  8476. past: '%s अगाडि',
  8477. s: 'केही क्षण',
  8478. ss: '%d सेकेण्ड',
  8479. m: 'एक मिनेट',
  8480. mm: '%d मिनेट',
  8481. h: 'एक घण्टा',
  8482. hh: '%d घण्टा',
  8483. d: 'एक दिन',
  8484. dd: '%d दिन',
  8485. M: 'एक महिना',
  8486. MM: '%d महिना',
  8487. y: 'एक बर्ष',
  8488. yy: '%d बर्ष',
  8489. },
  8490. week: {
  8491. dow: 0, // Sunday is the first day of the week.
  8492. doy: 6, // The week that contains Jan 6th is the first week of the year.
  8493. },
  8494. });
  8495. //! moment.js locale configuration
  8496. var monthsShortWithDots$1 =
  8497. 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  8498. monthsShortWithoutDots$1 =
  8499. 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  8500. monthsParse$8 = [
  8501. /^jan/i,
  8502. /^feb/i,
  8503. /^(maart|mrt\.?)$/i,
  8504. /^apr/i,
  8505. /^mei$/i,
  8506. /^jun[i.]?$/i,
  8507. /^jul[i.]?$/i,
  8508. /^aug/i,
  8509. /^sep/i,
  8510. /^okt/i,
  8511. /^nov/i,
  8512. /^dec/i,
  8513. ],
  8514. monthsRegex$7 =
  8515. /^(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;
  8516. moment.defineLocale('nl-be', {
  8517. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
  8518. '_'
  8519. ),
  8520. monthsShort: function (m, format) {
  8521. if (!m) {
  8522. return monthsShortWithDots$1;
  8523. } else if (/-MMM-/.test(format)) {
  8524. return monthsShortWithoutDots$1[m.month()];
  8525. } else {
  8526. return monthsShortWithDots$1[m.month()];
  8527. }
  8528. },
  8529. monthsRegex: monthsRegex$7,
  8530. monthsShortRegex: monthsRegex$7,
  8531. monthsStrictRegex:
  8532. /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  8533. monthsShortStrictRegex:
  8534. /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  8535. monthsParse: monthsParse$8,
  8536. longMonthsParse: monthsParse$8,
  8537. shortMonthsParse: monthsParse$8,
  8538. weekdays:
  8539. 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  8540. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  8541. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  8542. weekdaysParseExact: true,
  8543. longDateFormat: {
  8544. LT: 'HH:mm',
  8545. LTS: 'HH:mm:ss',
  8546. L: 'DD/MM/YYYY',
  8547. LL: 'D MMMM YYYY',
  8548. LLL: 'D MMMM YYYY HH:mm',
  8549. LLLL: 'dddd D MMMM YYYY HH:mm',
  8550. },
  8551. calendar: {
  8552. sameDay: '[vandaag om] LT',
  8553. nextDay: '[morgen om] LT',
  8554. nextWeek: 'dddd [om] LT',
  8555. lastDay: '[gisteren om] LT',
  8556. lastWeek: '[afgelopen] dddd [om] LT',
  8557. sameElse: 'L',
  8558. },
  8559. relativeTime: {
  8560. future: 'over %s',
  8561. past: '%s geleden',
  8562. s: 'een paar seconden',
  8563. ss: '%d seconden',
  8564. m: 'één minuut',
  8565. mm: '%d minuten',
  8566. h: 'één uur',
  8567. hh: '%d uur',
  8568. d: 'één dag',
  8569. dd: '%d dagen',
  8570. M: 'één maand',
  8571. MM: '%d maanden',
  8572. y: 'één jaar',
  8573. yy: '%d jaar',
  8574. },
  8575. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  8576. ordinal: function (number) {
  8577. return (
  8578. number +
  8579. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  8580. );
  8581. },
  8582. week: {
  8583. dow: 1, // Monday is the first day of the week.
  8584. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8585. },
  8586. });
  8587. //! moment.js locale configuration
  8588. var monthsShortWithDots$2 =
  8589. 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  8590. monthsShortWithoutDots$2 =
  8591. 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  8592. monthsParse$9 = [
  8593. /^jan/i,
  8594. /^feb/i,
  8595. /^(maart|mrt\.?)$/i,
  8596. /^apr/i,
  8597. /^mei$/i,
  8598. /^jun[i.]?$/i,
  8599. /^jul[i.]?$/i,
  8600. /^aug/i,
  8601. /^sep/i,
  8602. /^okt/i,
  8603. /^nov/i,
  8604. /^dec/i,
  8605. ],
  8606. monthsRegex$8 =
  8607. /^(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;
  8608. moment.defineLocale('nl', {
  8609. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
  8610. '_'
  8611. ),
  8612. monthsShort: function (m, format) {
  8613. if (!m) {
  8614. return monthsShortWithDots$2;
  8615. } else if (/-MMM-/.test(format)) {
  8616. return monthsShortWithoutDots$2[m.month()];
  8617. } else {
  8618. return monthsShortWithDots$2[m.month()];
  8619. }
  8620. },
  8621. monthsRegex: monthsRegex$8,
  8622. monthsShortRegex: monthsRegex$8,
  8623. monthsStrictRegex:
  8624. /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  8625. monthsShortStrictRegex:
  8626. /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  8627. monthsParse: monthsParse$9,
  8628. longMonthsParse: monthsParse$9,
  8629. shortMonthsParse: monthsParse$9,
  8630. weekdays:
  8631. 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  8632. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  8633. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  8634. weekdaysParseExact: true,
  8635. longDateFormat: {
  8636. LT: 'HH:mm',
  8637. LTS: 'HH:mm:ss',
  8638. L: 'DD-MM-YYYY',
  8639. LL: 'D MMMM YYYY',
  8640. LLL: 'D MMMM YYYY HH:mm',
  8641. LLLL: 'dddd D MMMM YYYY HH:mm',
  8642. },
  8643. calendar: {
  8644. sameDay: '[vandaag om] LT',
  8645. nextDay: '[morgen om] LT',
  8646. nextWeek: 'dddd [om] LT',
  8647. lastDay: '[gisteren om] LT',
  8648. lastWeek: '[afgelopen] dddd [om] LT',
  8649. sameElse: 'L',
  8650. },
  8651. relativeTime: {
  8652. future: 'over %s',
  8653. past: '%s geleden',
  8654. s: 'een paar seconden',
  8655. ss: '%d seconden',
  8656. m: 'één minuut',
  8657. mm: '%d minuten',
  8658. h: 'één uur',
  8659. hh: '%d uur',
  8660. d: 'één dag',
  8661. dd: '%d dagen',
  8662. w: 'één week',
  8663. ww: '%d weken',
  8664. M: 'één maand',
  8665. MM: '%d maanden',
  8666. y: 'één jaar',
  8667. yy: '%d jaar',
  8668. },
  8669. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  8670. ordinal: function (number) {
  8671. return (
  8672. number +
  8673. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  8674. );
  8675. },
  8676. week: {
  8677. dow: 1, // Monday is the first day of the week.
  8678. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8679. },
  8680. });
  8681. //! moment.js locale configuration
  8682. moment.defineLocale('nn', {
  8683. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
  8684. '_'
  8685. ),
  8686. monthsShort:
  8687. 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  8688. monthsParseExact: true,
  8689. weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
  8690. weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
  8691. weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
  8692. weekdaysParseExact: true,
  8693. longDateFormat: {
  8694. LT: 'HH:mm',
  8695. LTS: 'HH:mm:ss',
  8696. L: 'DD.MM.YYYY',
  8697. LL: 'D. MMMM YYYY',
  8698. LLL: 'D. MMMM YYYY [kl.] H:mm',
  8699. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
  8700. },
  8701. calendar: {
  8702. sameDay: '[I dag klokka] LT',
  8703. nextDay: '[I morgon klokka] LT',
  8704. nextWeek: 'dddd [klokka] LT',
  8705. lastDay: '[I går klokka] LT',
  8706. lastWeek: '[Føregåande] dddd [klokka] LT',
  8707. sameElse: 'L',
  8708. },
  8709. relativeTime: {
  8710. future: 'om %s',
  8711. past: '%s sidan',
  8712. s: 'nokre sekund',
  8713. ss: '%d sekund',
  8714. m: 'eit minutt',
  8715. mm: '%d minutt',
  8716. h: 'ein time',
  8717. hh: '%d timar',
  8718. d: 'ein dag',
  8719. dd: '%d dagar',
  8720. w: 'ei veke',
  8721. ww: '%d veker',
  8722. M: 'ein månad',
  8723. MM: '%d månader',
  8724. y: 'eit år',
  8725. yy: '%d år',
  8726. },
  8727. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8728. ordinal: '%d.',
  8729. week: {
  8730. dow: 1, // Monday is the first day of the week.
  8731. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8732. },
  8733. });
  8734. //! moment.js locale configuration
  8735. moment.defineLocale('oc-lnc', {
  8736. months: {
  8737. standalone:
  8738. 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(
  8739. '_'
  8740. ),
  8741. 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(
  8742. '_'
  8743. ),
  8744. isFormat: /D[oD]?(\s)+MMMM/,
  8745. },
  8746. monthsShort:
  8747. 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(
  8748. '_'
  8749. ),
  8750. monthsParseExact: true,
  8751. weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(
  8752. '_'
  8753. ),
  8754. weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),
  8755. weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
  8756. weekdaysParseExact: true,
  8757. longDateFormat: {
  8758. LT: 'H:mm',
  8759. LTS: 'H:mm:ss',
  8760. L: 'DD/MM/YYYY',
  8761. LL: 'D MMMM [de] YYYY',
  8762. ll: 'D MMM YYYY',
  8763. LLL: 'D MMMM [de] YYYY [a] H:mm',
  8764. lll: 'D MMM YYYY, H:mm',
  8765. LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',
  8766. llll: 'ddd D MMM YYYY, H:mm',
  8767. },
  8768. calendar: {
  8769. sameDay: '[uèi a] LT',
  8770. nextDay: '[deman a] LT',
  8771. nextWeek: 'dddd [a] LT',
  8772. lastDay: '[ièr a] LT',
  8773. lastWeek: 'dddd [passat a] LT',
  8774. sameElse: 'L',
  8775. },
  8776. relativeTime: {
  8777. future: "d'aquí %s",
  8778. past: 'fa %s',
  8779. s: 'unas segondas',
  8780. ss: '%d segondas',
  8781. m: 'una minuta',
  8782. mm: '%d minutas',
  8783. h: 'una ora',
  8784. hh: '%d oras',
  8785. d: 'un jorn',
  8786. dd: '%d jorns',
  8787. M: 'un mes',
  8788. MM: '%d meses',
  8789. y: 'un an',
  8790. yy: '%d ans',
  8791. },
  8792. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  8793. ordinal: function (number, period) {
  8794. var output =
  8795. number === 1
  8796. ? 'r'
  8797. : number === 2
  8798. ? 'n'
  8799. : number === 3
  8800. ? 'r'
  8801. : number === 4
  8802. ? 't'
  8803. : 'è';
  8804. if (period === 'w' || period === 'W') {
  8805. output = 'a';
  8806. }
  8807. return number + output;
  8808. },
  8809. week: {
  8810. dow: 1, // Monday is the first day of the week.
  8811. doy: 4,
  8812. },
  8813. });
  8814. //! moment.js locale configuration
  8815. var symbolMap$g = {
  8816. 1: '੧',
  8817. 2: '੨',
  8818. 3: '੩',
  8819. 4: '੪',
  8820. 5: '੫',
  8821. 6: '੬',
  8822. 7: '੭',
  8823. 8: '੮',
  8824. 9: '੯',
  8825. 0: '੦',
  8826. },
  8827. numberMap$f = {
  8828. '੧': '1',
  8829. '੨': '2',
  8830. '੩': '3',
  8831. '੪': '4',
  8832. '੫': '5',
  8833. '੬': '6',
  8834. '੭': '7',
  8835. '੮': '8',
  8836. '੯': '9',
  8837. '੦': '0',
  8838. };
  8839. moment.defineLocale('pa-in', {
  8840. // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
  8841. months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
  8842. '_'
  8843. ),
  8844. monthsShort:
  8845. 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
  8846. '_'
  8847. ),
  8848. weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(
  8849. '_'
  8850. ),
  8851. weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  8852. weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  8853. longDateFormat: {
  8854. LT: 'A h:mm ਵਜੇ',
  8855. LTS: 'A h:mm:ss ਵਜੇ',
  8856. L: 'DD/MM/YYYY',
  8857. LL: 'D MMMM YYYY',
  8858. LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',
  8859. LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',
  8860. },
  8861. calendar: {
  8862. sameDay: '[ਅਜ] LT',
  8863. nextDay: '[ਕਲ] LT',
  8864. nextWeek: '[ਅਗਲਾ] dddd, LT',
  8865. lastDay: '[ਕਲ] LT',
  8866. lastWeek: '[ਪਿਛਲੇ] dddd, LT',
  8867. sameElse: 'L',
  8868. },
  8869. relativeTime: {
  8870. future: '%s ਵਿੱਚ',
  8871. past: '%s ਪਿਛਲੇ',
  8872. s: 'ਕੁਝ ਸਕਿੰਟ',
  8873. ss: '%d ਸਕਿੰਟ',
  8874. m: 'ਇਕ ਮਿੰਟ',
  8875. mm: '%d ਮਿੰਟ',
  8876. h: 'ਇੱਕ ਘੰਟਾ',
  8877. hh: '%d ਘੰਟੇ',
  8878. d: 'ਇੱਕ ਦਿਨ',
  8879. dd: '%d ਦਿਨ',
  8880. M: 'ਇੱਕ ਮਹੀਨਾ',
  8881. MM: '%d ਮਹੀਨੇ',
  8882. y: 'ਇੱਕ ਸਾਲ',
  8883. yy: '%d ਸਾਲ',
  8884. },
  8885. preparse: function (string) {
  8886. return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
  8887. return numberMap$f[match];
  8888. });
  8889. },
  8890. postformat: function (string) {
  8891. return string.replace(/\d/g, function (match) {
  8892. return symbolMap$g[match];
  8893. });
  8894. },
  8895. // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
  8896. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
  8897. meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
  8898. meridiemHour: function (hour, meridiem) {
  8899. if (hour === 12) {
  8900. hour = 0;
  8901. }
  8902. if (meridiem === 'ਰਾਤ') {
  8903. return hour < 4 ? hour : hour + 12;
  8904. } else if (meridiem === 'ਸਵੇਰ') {
  8905. return hour;
  8906. } else if (meridiem === 'ਦੁਪਹਿਰ') {
  8907. return hour >= 10 ? hour : hour + 12;
  8908. } else if (meridiem === 'ਸ਼ਾਮ') {
  8909. return hour + 12;
  8910. }
  8911. },
  8912. meridiem: function (hour, minute, isLower) {
  8913. if (hour < 4) {
  8914. return 'ਰਾਤ';
  8915. } else if (hour < 10) {
  8916. return 'ਸਵੇਰ';
  8917. } else if (hour < 17) {
  8918. return 'ਦੁਪਹਿਰ';
  8919. } else if (hour < 20) {
  8920. return 'ਸ਼ਾਮ';
  8921. } else {
  8922. return 'ਰਾਤ';
  8923. }
  8924. },
  8925. week: {
  8926. dow: 0, // Sunday is the first day of the week.
  8927. doy: 6, // The week that contains Jan 6th is the first week of the year.
  8928. },
  8929. });
  8930. //! moment.js locale configuration
  8931. var monthsNominative =
  8932. 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
  8933. '_'
  8934. ),
  8935. monthsSubjective =
  8936. 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(
  8937. '_'
  8938. ),
  8939. monthsParse$a = [
  8940. /^sty/i,
  8941. /^lut/i,
  8942. /^mar/i,
  8943. /^kwi/i,
  8944. /^maj/i,
  8945. /^cze/i,
  8946. /^lip/i,
  8947. /^sie/i,
  8948. /^wrz/i,
  8949. /^paź/i,
  8950. /^lis/i,
  8951. /^gru/i,
  8952. ];
  8953. function plural$3(n) {
  8954. return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
  8955. }
  8956. function translate$8(number, withoutSuffix, key) {
  8957. var result = number + ' ';
  8958. switch (key) {
  8959. case 'ss':
  8960. return result + (plural$3(number) ? 'sekundy' : 'sekund');
  8961. case 'm':
  8962. return withoutSuffix ? 'minuta' : 'minutę';
  8963. case 'mm':
  8964. return result + (plural$3(number) ? 'minuty' : 'minut');
  8965. case 'h':
  8966. return withoutSuffix ? 'godzina' : 'godzinę';
  8967. case 'hh':
  8968. return result + (plural$3(number) ? 'godziny' : 'godzin');
  8969. case 'ww':
  8970. return result + (plural$3(number) ? 'tygodnie' : 'tygodni');
  8971. case 'MM':
  8972. return result + (plural$3(number) ? 'miesiące' : 'miesięcy');
  8973. case 'yy':
  8974. return result + (plural$3(number) ? 'lata' : 'lat');
  8975. }
  8976. }
  8977. moment.defineLocale('pl', {
  8978. months: function (momentToFormat, format) {
  8979. if (!momentToFormat) {
  8980. return monthsNominative;
  8981. } else if (/D MMMM/.test(format)) {
  8982. return monthsSubjective[momentToFormat.month()];
  8983. } else {
  8984. return monthsNominative[momentToFormat.month()];
  8985. }
  8986. },
  8987. monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
  8988. monthsParse: monthsParse$a,
  8989. longMonthsParse: monthsParse$a,
  8990. shortMonthsParse: monthsParse$a,
  8991. weekdays:
  8992. 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
  8993. weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
  8994. weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
  8995. longDateFormat: {
  8996. LT: 'HH:mm',
  8997. LTS: 'HH:mm:ss',
  8998. L: 'DD.MM.YYYY',
  8999. LL: 'D MMMM YYYY',
  9000. LLL: 'D MMMM YYYY HH:mm',
  9001. LLLL: 'dddd, D MMMM YYYY HH:mm',
  9002. },
  9003. calendar: {
  9004. sameDay: '[Dziś o] LT',
  9005. nextDay: '[Jutro o] LT',
  9006. nextWeek: function () {
  9007. switch (this.day()) {
  9008. case 0:
  9009. return '[W niedzielę o] LT';
  9010. case 2:
  9011. return '[We wtorek o] LT';
  9012. case 3:
  9013. return '[W środę o] LT';
  9014. case 6:
  9015. return '[W sobotę o] LT';
  9016. default:
  9017. return '[W] dddd [o] LT';
  9018. }
  9019. },
  9020. lastDay: '[Wczoraj o] LT',
  9021. lastWeek: function () {
  9022. switch (this.day()) {
  9023. case 0:
  9024. return '[W zeszłą niedzielę o] LT';
  9025. case 3:
  9026. return '[W zeszłą środę o] LT';
  9027. case 6:
  9028. return '[W zeszłą sobotę o] LT';
  9029. default:
  9030. return '[W zeszły] dddd [o] LT';
  9031. }
  9032. },
  9033. sameElse: 'L',
  9034. },
  9035. relativeTime: {
  9036. future: 'za %s',
  9037. past: '%s temu',
  9038. s: 'kilka sekund',
  9039. ss: translate$8,
  9040. m: translate$8,
  9041. mm: translate$8,
  9042. h: translate$8,
  9043. hh: translate$8,
  9044. d: '1 dzień',
  9045. dd: '%d dni',
  9046. w: 'tydzień',
  9047. ww: translate$8,
  9048. M: 'miesiąc',
  9049. MM: translate$8,
  9050. y: 'rok',
  9051. yy: translate$8,
  9052. },
  9053. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9054. ordinal: '%d.',
  9055. week: {
  9056. dow: 1, // Monday is the first day of the week.
  9057. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9058. },
  9059. });
  9060. //! moment.js locale configuration
  9061. moment.defineLocale('pt-br', {
  9062. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
  9063. '_'
  9064. ),
  9065. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  9066. weekdays:
  9067. 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(
  9068. '_'
  9069. ),
  9070. weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
  9071. weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
  9072. weekdaysParseExact: true,
  9073. longDateFormat: {
  9074. LT: 'HH:mm',
  9075. LTS: 'HH:mm:ss',
  9076. L: 'DD/MM/YYYY',
  9077. LL: 'D [de] MMMM [de] YYYY',
  9078. LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
  9079. LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',
  9080. },
  9081. calendar: {
  9082. sameDay: '[Hoje às] LT',
  9083. nextDay: '[Amanhã às] LT',
  9084. nextWeek: 'dddd [às] LT',
  9085. lastDay: '[Ontem às] LT',
  9086. lastWeek: function () {
  9087. return this.day() === 0 || this.day() === 6
  9088. ? '[Último] dddd [às] LT' // Saturday + Sunday
  9089. : '[Última] dddd [às] LT'; // Monday - Friday
  9090. },
  9091. sameElse: 'L',
  9092. },
  9093. relativeTime: {
  9094. future: 'em %s',
  9095. past: 'há %s',
  9096. s: 'poucos segundos',
  9097. ss: '%d segundos',
  9098. m: 'um minuto',
  9099. mm: '%d minutos',
  9100. h: 'uma hora',
  9101. hh: '%d horas',
  9102. d: 'um dia',
  9103. dd: '%d dias',
  9104. M: 'um mês',
  9105. MM: '%d meses',
  9106. y: 'um ano',
  9107. yy: '%d anos',
  9108. },
  9109. dayOfMonthOrdinalParse: /\d{1,2}º/,
  9110. ordinal: '%dº',
  9111. invalidDate: 'Data inválida',
  9112. });
  9113. //! moment.js locale configuration
  9114. moment.defineLocale('pt', {
  9115. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
  9116. '_'
  9117. ),
  9118. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  9119. weekdays:
  9120. 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
  9121. '_'
  9122. ),
  9123. weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  9124. weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
  9125. weekdaysParseExact: true,
  9126. longDateFormat: {
  9127. LT: 'HH:mm',
  9128. LTS: 'HH:mm:ss',
  9129. L: 'DD/MM/YYYY',
  9130. LL: 'D [de] MMMM [de] YYYY',
  9131. LLL: 'D [de] MMMM [de] YYYY HH:mm',
  9132. LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
  9133. },
  9134. calendar: {
  9135. sameDay: '[Hoje às] LT',
  9136. nextDay: '[Amanhã às] LT',
  9137. nextWeek: 'dddd [às] LT',
  9138. lastDay: '[Ontem às] LT',
  9139. lastWeek: function () {
  9140. return this.day() === 0 || this.day() === 6
  9141. ? '[Último] dddd [às] LT' // Saturday + Sunday
  9142. : '[Última] dddd [às] LT'; // Monday - Friday
  9143. },
  9144. sameElse: 'L',
  9145. },
  9146. relativeTime: {
  9147. future: 'em %s',
  9148. past: 'há %s',
  9149. s: 'segundos',
  9150. ss: '%d segundos',
  9151. m: 'um minuto',
  9152. mm: '%d minutos',
  9153. h: 'uma hora',
  9154. hh: '%d horas',
  9155. d: 'um dia',
  9156. dd: '%d dias',
  9157. w: 'uma semana',
  9158. ww: '%d semanas',
  9159. M: 'um mês',
  9160. MM: '%d meses',
  9161. y: 'um ano',
  9162. yy: '%d anos',
  9163. },
  9164. dayOfMonthOrdinalParse: /\d{1,2}º/,
  9165. ordinal: '%dº',
  9166. week: {
  9167. dow: 1, // Monday is the first day of the week.
  9168. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9169. },
  9170. });
  9171. //! moment.js locale configuration
  9172. function relativeTimeWithPlural$2(number, withoutSuffix, key) {
  9173. var format = {
  9174. ss: 'secunde',
  9175. mm: 'minute',
  9176. hh: 'ore',
  9177. dd: 'zile',
  9178. ww: 'săptămâni',
  9179. MM: 'luni',
  9180. yy: 'ani',
  9181. },
  9182. separator = ' ';
  9183. if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
  9184. separator = ' de ';
  9185. }
  9186. return number + separator + format[key];
  9187. }
  9188. moment.defineLocale('ro', {
  9189. months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(
  9190. '_'
  9191. ),
  9192. monthsShort:
  9193. 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(
  9194. '_'
  9195. ),
  9196. monthsParseExact: true,
  9197. weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
  9198. weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
  9199. weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
  9200. longDateFormat: {
  9201. LT: 'H:mm',
  9202. LTS: 'H:mm:ss',
  9203. L: 'DD.MM.YYYY',
  9204. LL: 'D MMMM YYYY',
  9205. LLL: 'D MMMM YYYY H:mm',
  9206. LLLL: 'dddd, D MMMM YYYY H:mm',
  9207. },
  9208. calendar: {
  9209. sameDay: '[azi la] LT',
  9210. nextDay: '[mâine la] LT',
  9211. nextWeek: 'dddd [la] LT',
  9212. lastDay: '[ieri la] LT',
  9213. lastWeek: '[fosta] dddd [la] LT',
  9214. sameElse: 'L',
  9215. },
  9216. relativeTime: {
  9217. future: 'peste %s',
  9218. past: '%s în urmă',
  9219. s: 'câteva secunde',
  9220. ss: relativeTimeWithPlural$2,
  9221. m: 'un minut',
  9222. mm: relativeTimeWithPlural$2,
  9223. h: 'o oră',
  9224. hh: relativeTimeWithPlural$2,
  9225. d: 'o zi',
  9226. dd: relativeTimeWithPlural$2,
  9227. w: 'o săptămână',
  9228. ww: relativeTimeWithPlural$2,
  9229. M: 'o lună',
  9230. MM: relativeTimeWithPlural$2,
  9231. y: 'un an',
  9232. yy: relativeTimeWithPlural$2,
  9233. },
  9234. week: {
  9235. dow: 1, // Monday is the first day of the week.
  9236. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9237. },
  9238. });
  9239. //! moment.js locale configuration
  9240. function plural$4(word, num) {
  9241. var forms = word.split('_');
  9242. return num % 10 === 1 && num % 100 !== 11
  9243. ? forms[0]
  9244. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  9245. ? forms[1]
  9246. : forms[2];
  9247. }
  9248. function relativeTimeWithPlural$3(number, withoutSuffix, key) {
  9249. var format = {
  9250. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  9251. mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
  9252. hh: 'час_часа_часов',
  9253. dd: 'день_дня_дней',
  9254. ww: 'неделя_недели_недель',
  9255. MM: 'месяц_месяца_месяцев',
  9256. yy: 'год_года_лет',
  9257. };
  9258. if (key === 'm') {
  9259. return withoutSuffix ? 'минута' : 'минуту';
  9260. } else {
  9261. return number + ' ' + plural$4(format[key], +number);
  9262. }
  9263. }
  9264. var monthsParse$b = [
  9265. /^янв/i,
  9266. /^фев/i,
  9267. /^мар/i,
  9268. /^апр/i,
  9269. /^ма[йя]/i,
  9270. /^июн/i,
  9271. /^июл/i,
  9272. /^авг/i,
  9273. /^сен/i,
  9274. /^окт/i,
  9275. /^ноя/i,
  9276. /^дек/i,
  9277. ];
  9278. // http://new.gramota.ru/spravka/rules/139-prop : § 103
  9279. // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
  9280. // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
  9281. moment.defineLocale('ru', {
  9282. months: {
  9283. format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(
  9284. '_'
  9285. ),
  9286. standalone:
  9287. 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
  9288. '_'
  9289. ),
  9290. },
  9291. monthsShort: {
  9292. // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку?
  9293. format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(
  9294. '_'
  9295. ),
  9296. standalone:
  9297. 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(
  9298. '_'
  9299. ),
  9300. },
  9301. weekdays: {
  9302. standalone:
  9303. 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(
  9304. '_'
  9305. ),
  9306. format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(
  9307. '_'
  9308. ),
  9309. isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,
  9310. },
  9311. weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  9312. weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  9313. monthsParse: monthsParse$b,
  9314. longMonthsParse: monthsParse$b,
  9315. shortMonthsParse: monthsParse$b,
  9316. // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
  9317. monthsRegex:
  9318. /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  9319. // копия предыдущего
  9320. monthsShortRegex:
  9321. /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  9322. // полные названия с падежами
  9323. monthsStrictRegex:
  9324. /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
  9325. // Выражение, которое соответствует только сокращённым формам
  9326. monthsShortStrictRegex:
  9327. /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
  9328. longDateFormat: {
  9329. LT: 'H:mm',
  9330. LTS: 'H:mm:ss',
  9331. L: 'DD.MM.YYYY',
  9332. LL: 'D MMMM YYYY г.',
  9333. LLL: 'D MMMM YYYY г., H:mm',
  9334. LLLL: 'dddd, D MMMM YYYY г., H:mm',
  9335. },
  9336. calendar: {
  9337. sameDay: '[Сегодня, в] LT',
  9338. nextDay: '[Завтра, в] LT',
  9339. lastDay: '[Вчера, в] LT',
  9340. nextWeek: function (now) {
  9341. if (now.week() !== this.week()) {
  9342. switch (this.day()) {
  9343. case 0:
  9344. return '[В следующее] dddd, [в] LT';
  9345. case 1:
  9346. case 2:
  9347. case 4:
  9348. return '[В следующий] dddd, [в] LT';
  9349. case 3:
  9350. case 5:
  9351. case 6:
  9352. return '[В следующую] dddd, [в] LT';
  9353. }
  9354. } else {
  9355. if (this.day() === 2) {
  9356. return '[Во] dddd, [в] LT';
  9357. } else {
  9358. return '[В] dddd, [в] LT';
  9359. }
  9360. }
  9361. },
  9362. lastWeek: function (now) {
  9363. if (now.week() !== this.week()) {
  9364. switch (this.day()) {
  9365. case 0:
  9366. return '[В прошлое] dddd, [в] LT';
  9367. case 1:
  9368. case 2:
  9369. case 4:
  9370. return '[В прошлый] dddd, [в] LT';
  9371. case 3:
  9372. case 5:
  9373. case 6:
  9374. return '[В прошлую] dddd, [в] LT';
  9375. }
  9376. } else {
  9377. if (this.day() === 2) {
  9378. return '[Во] dddd, [в] LT';
  9379. } else {
  9380. return '[В] dddd, [в] LT';
  9381. }
  9382. }
  9383. },
  9384. sameElse: 'L',
  9385. },
  9386. relativeTime: {
  9387. future: 'через %s',
  9388. past: '%s назад',
  9389. s: 'несколько секунд',
  9390. ss: relativeTimeWithPlural$3,
  9391. m: relativeTimeWithPlural$3,
  9392. mm: relativeTimeWithPlural$3,
  9393. h: 'час',
  9394. hh: relativeTimeWithPlural$3,
  9395. d: 'день',
  9396. dd: relativeTimeWithPlural$3,
  9397. w: 'неделя',
  9398. ww: relativeTimeWithPlural$3,
  9399. M: 'месяц',
  9400. MM: relativeTimeWithPlural$3,
  9401. y: 'год',
  9402. yy: relativeTimeWithPlural$3,
  9403. },
  9404. meridiemParse: /ночи|утра|дня|вечера/i,
  9405. isPM: function (input) {
  9406. return /^(дня|вечера)$/.test(input);
  9407. },
  9408. meridiem: function (hour, minute, isLower) {
  9409. if (hour < 4) {
  9410. return 'ночи';
  9411. } else if (hour < 12) {
  9412. return 'утра';
  9413. } else if (hour < 17) {
  9414. return 'дня';
  9415. } else {
  9416. return 'вечера';
  9417. }
  9418. },
  9419. dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
  9420. ordinal: function (number, period) {
  9421. switch (period) {
  9422. case 'M':
  9423. case 'd':
  9424. case 'DDD':
  9425. return number + '-й';
  9426. case 'D':
  9427. return number + '-го';
  9428. case 'w':
  9429. case 'W':
  9430. return number + '-я';
  9431. default:
  9432. return number;
  9433. }
  9434. },
  9435. week: {
  9436. dow: 1, // Monday is the first day of the week.
  9437. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9438. },
  9439. });
  9440. //! moment.js locale configuration
  9441. var months$8 = [
  9442. 'جنوري',
  9443. 'فيبروري',
  9444. 'مارچ',
  9445. 'اپريل',
  9446. 'مئي',
  9447. 'جون',
  9448. 'جولاءِ',
  9449. 'آگسٽ',
  9450. 'سيپٽمبر',
  9451. 'آڪٽوبر',
  9452. 'نومبر',
  9453. 'ڊسمبر',
  9454. ],
  9455. days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];
  9456. moment.defineLocale('sd', {
  9457. months: months$8,
  9458. monthsShort: months$8,
  9459. weekdays: days,
  9460. weekdaysShort: days,
  9461. weekdaysMin: days,
  9462. longDateFormat: {
  9463. LT: 'HH:mm',
  9464. LTS: 'HH:mm:ss',
  9465. L: 'DD/MM/YYYY',
  9466. LL: 'D MMMM YYYY',
  9467. LLL: 'D MMMM YYYY HH:mm',
  9468. LLLL: 'dddd، D MMMM YYYY HH:mm',
  9469. },
  9470. meridiemParse: /صبح|شام/,
  9471. isPM: function (input) {
  9472. return 'شام' === input;
  9473. },
  9474. meridiem: function (hour, minute, isLower) {
  9475. if (hour < 12) {
  9476. return 'صبح';
  9477. }
  9478. return 'شام';
  9479. },
  9480. calendar: {
  9481. sameDay: '[اڄ] LT',
  9482. nextDay: '[سڀاڻي] LT',
  9483. nextWeek: 'dddd [اڳين هفتي تي] LT',
  9484. lastDay: '[ڪالهه] LT',
  9485. lastWeek: '[گزريل هفتي] dddd [تي] LT',
  9486. sameElse: 'L',
  9487. },
  9488. relativeTime: {
  9489. future: '%s پوء',
  9490. past: '%s اڳ',
  9491. s: 'چند سيڪنڊ',
  9492. ss: '%d سيڪنڊ',
  9493. m: 'هڪ منٽ',
  9494. mm: '%d منٽ',
  9495. h: 'هڪ ڪلاڪ',
  9496. hh: '%d ڪلاڪ',
  9497. d: 'هڪ ڏينهن',
  9498. dd: '%d ڏينهن',
  9499. M: 'هڪ مهينو',
  9500. MM: '%d مهينا',
  9501. y: 'هڪ سال',
  9502. yy: '%d سال',
  9503. },
  9504. preparse: function (string) {
  9505. return string.replace(/،/g, ',');
  9506. },
  9507. postformat: function (string) {
  9508. return string.replace(/,/g, '،');
  9509. },
  9510. week: {
  9511. dow: 1, // Monday is the first day of the week.
  9512. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9513. },
  9514. });
  9515. //! moment.js locale configuration
  9516. moment.defineLocale('se', {
  9517. 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(
  9518. '_'
  9519. ),
  9520. monthsShort:
  9521. 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
  9522. weekdays:
  9523. 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(
  9524. '_'
  9525. ),
  9526. weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
  9527. weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
  9528. longDateFormat: {
  9529. LT: 'HH:mm',
  9530. LTS: 'HH:mm:ss',
  9531. L: 'DD.MM.YYYY',
  9532. LL: 'MMMM D. [b.] YYYY',
  9533. LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
  9534. LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',
  9535. },
  9536. calendar: {
  9537. sameDay: '[otne ti] LT',
  9538. nextDay: '[ihttin ti] LT',
  9539. nextWeek: 'dddd [ti] LT',
  9540. lastDay: '[ikte ti] LT',
  9541. lastWeek: '[ovddit] dddd [ti] LT',
  9542. sameElse: 'L',
  9543. },
  9544. relativeTime: {
  9545. future: '%s geažes',
  9546. past: 'maŋit %s',
  9547. s: 'moadde sekunddat',
  9548. ss: '%d sekunddat',
  9549. m: 'okta minuhta',
  9550. mm: '%d minuhtat',
  9551. h: 'okta diimmu',
  9552. hh: '%d diimmut',
  9553. d: 'okta beaivi',
  9554. dd: '%d beaivvit',
  9555. M: 'okta mánnu',
  9556. MM: '%d mánut',
  9557. y: 'okta jahki',
  9558. yy: '%d jagit',
  9559. },
  9560. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9561. ordinal: '%d.',
  9562. week: {
  9563. dow: 1, // Monday is the first day of the week.
  9564. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9565. },
  9566. });
  9567. //! moment.js locale configuration
  9568. /*jshint -W100*/
  9569. moment.defineLocale('si', {
  9570. months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(
  9571. '_'
  9572. ),
  9573. monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(
  9574. '_'
  9575. ),
  9576. weekdays:
  9577. 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(
  9578. '_'
  9579. ),
  9580. weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),
  9581. weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),
  9582. weekdaysParseExact: true,
  9583. longDateFormat: {
  9584. LT: 'a h:mm',
  9585. LTS: 'a h:mm:ss',
  9586. L: 'YYYY/MM/DD',
  9587. LL: 'YYYY MMMM D',
  9588. LLL: 'YYYY MMMM D, a h:mm',
  9589. LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',
  9590. },
  9591. calendar: {
  9592. sameDay: '[අද] LT[ට]',
  9593. nextDay: '[හෙට] LT[ට]',
  9594. nextWeek: 'dddd LT[ට]',
  9595. lastDay: '[ඊයේ] LT[ට]',
  9596. lastWeek: '[පසුගිය] dddd LT[ට]',
  9597. sameElse: 'L',
  9598. },
  9599. relativeTime: {
  9600. future: '%sකින්',
  9601. past: '%sකට පෙර',
  9602. s: 'තත්පර කිහිපය',
  9603. ss: 'තත්පර %d',
  9604. m: 'මිනිත්තුව',
  9605. mm: 'මිනිත්තු %d',
  9606. h: 'පැය',
  9607. hh: 'පැය %d',
  9608. d: 'දිනය',
  9609. dd: 'දින %d',
  9610. M: 'මාසය',
  9611. MM: 'මාස %d',
  9612. y: 'වසර',
  9613. yy: 'වසර %d',
  9614. },
  9615. dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
  9616. ordinal: function (number) {
  9617. return number + ' වැනි';
  9618. },
  9619. meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
  9620. isPM: function (input) {
  9621. return input === 'ප.ව.' || input === 'පස් වරු';
  9622. },
  9623. meridiem: function (hours, minutes, isLower) {
  9624. if (hours > 11) {
  9625. return isLower ? 'ප.ව.' : 'පස් වරු';
  9626. } else {
  9627. return isLower ? 'පෙ.ව.' : 'පෙර වරු';
  9628. }
  9629. },
  9630. });
  9631. //! moment.js locale configuration
  9632. var months$9 =
  9633. 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(
  9634. '_'
  9635. ),
  9636. monthsShort$7 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
  9637. function plural$5(n) {
  9638. return n > 1 && n < 5;
  9639. }
  9640. function translate$9(number, withoutSuffix, key, isFuture) {
  9641. var result = number + ' ';
  9642. switch (key) {
  9643. case 's': // a few seconds / in a few seconds / a few seconds ago
  9644. return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
  9645. case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
  9646. if (withoutSuffix || isFuture) {
  9647. return result + (plural$5(number) ? 'sekundy' : 'sekúnd');
  9648. } else {
  9649. return result + 'sekundami';
  9650. }
  9651. case 'm': // a minute / in a minute / a minute ago
  9652. return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
  9653. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  9654. if (withoutSuffix || isFuture) {
  9655. return result + (plural$5(number) ? 'minúty' : 'minút');
  9656. } else {
  9657. return result + 'minútami';
  9658. }
  9659. case 'h': // an hour / in an hour / an hour ago
  9660. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  9661. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  9662. if (withoutSuffix || isFuture) {
  9663. return result + (plural$5(number) ? 'hodiny' : 'hodín');
  9664. } else {
  9665. return result + 'hodinami';
  9666. }
  9667. case 'd': // a day / in a day / a day ago
  9668. return withoutSuffix || isFuture ? 'deň' : 'dňom';
  9669. case 'dd': // 9 days / in 9 days / 9 days ago
  9670. if (withoutSuffix || isFuture) {
  9671. return result + (plural$5(number) ? 'dni' : 'dní');
  9672. } else {
  9673. return result + 'dňami';
  9674. }
  9675. case 'M': // a month / in a month / a month ago
  9676. return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
  9677. case 'MM': // 9 months / in 9 months / 9 months ago
  9678. if (withoutSuffix || isFuture) {
  9679. return result + (plural$5(number) ? 'mesiace' : 'mesiacov');
  9680. } else {
  9681. return result + 'mesiacmi';
  9682. }
  9683. case 'y': // a year / in a year / a year ago
  9684. return withoutSuffix || isFuture ? 'rok' : 'rokom';
  9685. case 'yy': // 9 years / in 9 years / 9 years ago
  9686. if (withoutSuffix || isFuture) {
  9687. return result + (plural$5(number) ? 'roky' : 'rokov');
  9688. } else {
  9689. return result + 'rokmi';
  9690. }
  9691. }
  9692. }
  9693. moment.defineLocale('sk', {
  9694. months: months$9,
  9695. monthsShort: monthsShort$7,
  9696. weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
  9697. weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
  9698. weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
  9699. longDateFormat: {
  9700. LT: 'H:mm',
  9701. LTS: 'H:mm:ss',
  9702. L: 'DD.MM.YYYY',
  9703. LL: 'D. MMMM YYYY',
  9704. LLL: 'D. MMMM YYYY H:mm',
  9705. LLLL: 'dddd D. MMMM YYYY H:mm',
  9706. },
  9707. calendar: {
  9708. sameDay: '[dnes o] LT',
  9709. nextDay: '[zajtra o] LT',
  9710. nextWeek: function () {
  9711. switch (this.day()) {
  9712. case 0:
  9713. return '[v nedeľu o] LT';
  9714. case 1:
  9715. case 2:
  9716. return '[v] dddd [o] LT';
  9717. case 3:
  9718. return '[v stredu o] LT';
  9719. case 4:
  9720. return '[vo štvrtok o] LT';
  9721. case 5:
  9722. return '[v piatok o] LT';
  9723. case 6:
  9724. return '[v sobotu o] LT';
  9725. }
  9726. },
  9727. lastDay: '[včera o] LT',
  9728. lastWeek: function () {
  9729. switch (this.day()) {
  9730. case 0:
  9731. return '[minulú nedeľu o] LT';
  9732. case 1:
  9733. case 2:
  9734. return '[minulý] dddd [o] LT';
  9735. case 3:
  9736. return '[minulú stredu o] LT';
  9737. case 4:
  9738. case 5:
  9739. return '[minulý] dddd [o] LT';
  9740. case 6:
  9741. return '[minulú sobotu o] LT';
  9742. }
  9743. },
  9744. sameElse: 'L',
  9745. },
  9746. relativeTime: {
  9747. future: 'za %s',
  9748. past: 'pred %s',
  9749. s: translate$9,
  9750. ss: translate$9,
  9751. m: translate$9,
  9752. mm: translate$9,
  9753. h: translate$9,
  9754. hh: translate$9,
  9755. d: translate$9,
  9756. dd: translate$9,
  9757. M: translate$9,
  9758. MM: translate$9,
  9759. y: translate$9,
  9760. yy: translate$9,
  9761. },
  9762. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9763. ordinal: '%d.',
  9764. week: {
  9765. dow: 1, // Monday is the first day of the week.
  9766. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9767. },
  9768. });
  9769. //! moment.js locale configuration
  9770. function processRelativeTime$9(number, withoutSuffix, key, isFuture) {
  9771. var result = number + ' ';
  9772. switch (key) {
  9773. case 's':
  9774. return withoutSuffix || isFuture
  9775. ? 'nekaj sekund'
  9776. : 'nekaj sekundami';
  9777. case 'ss':
  9778. if (number === 1) {
  9779. result += withoutSuffix ? 'sekundo' : 'sekundi';
  9780. } else if (number === 2) {
  9781. result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';
  9782. } else if (number < 5) {
  9783. result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';
  9784. } else {
  9785. result += 'sekund';
  9786. }
  9787. return result;
  9788. case 'm':
  9789. return withoutSuffix ? 'ena minuta' : 'eno minuto';
  9790. case 'mm':
  9791. if (number === 1) {
  9792. result += withoutSuffix ? 'minuta' : 'minuto';
  9793. } else if (number === 2) {
  9794. result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
  9795. } else if (number < 5) {
  9796. result += withoutSuffix || isFuture ? 'minute' : 'minutami';
  9797. } else {
  9798. result += withoutSuffix || isFuture ? 'minut' : 'minutami';
  9799. }
  9800. return result;
  9801. case 'h':
  9802. return withoutSuffix ? 'ena ura' : 'eno uro';
  9803. case 'hh':
  9804. if (number === 1) {
  9805. result += withoutSuffix ? 'ura' : 'uro';
  9806. } else if (number === 2) {
  9807. result += withoutSuffix || isFuture ? 'uri' : 'urama';
  9808. } else if (number < 5) {
  9809. result += withoutSuffix || isFuture ? 'ure' : 'urami';
  9810. } else {
  9811. result += withoutSuffix || isFuture ? 'ur' : 'urami';
  9812. }
  9813. return result;
  9814. case 'd':
  9815. return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
  9816. case 'dd':
  9817. if (number === 1) {
  9818. result += withoutSuffix || isFuture ? 'dan' : 'dnem';
  9819. } else if (number === 2) {
  9820. result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
  9821. } else {
  9822. result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
  9823. }
  9824. return result;
  9825. case 'M':
  9826. return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
  9827. case 'MM':
  9828. if (number === 1) {
  9829. result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
  9830. } else if (number === 2) {
  9831. result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
  9832. } else if (number < 5) {
  9833. result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
  9834. } else {
  9835. result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
  9836. }
  9837. return result;
  9838. case 'y':
  9839. return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
  9840. case 'yy':
  9841. if (number === 1) {
  9842. result += withoutSuffix || isFuture ? 'leto' : 'letom';
  9843. } else if (number === 2) {
  9844. result += withoutSuffix || isFuture ? 'leti' : 'letoma';
  9845. } else if (number < 5) {
  9846. result += withoutSuffix || isFuture ? 'leta' : 'leti';
  9847. } else {
  9848. result += withoutSuffix || isFuture ? 'let' : 'leti';
  9849. }
  9850. return result;
  9851. }
  9852. }
  9853. moment.defineLocale('sl', {
  9854. months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(
  9855. '_'
  9856. ),
  9857. monthsShort:
  9858. 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(
  9859. '_'
  9860. ),
  9861. monthsParseExact: true,
  9862. weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
  9863. weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
  9864. weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
  9865. weekdaysParseExact: true,
  9866. longDateFormat: {
  9867. LT: 'H:mm',
  9868. LTS: 'H:mm:ss',
  9869. L: 'DD. MM. YYYY',
  9870. LL: 'D. MMMM YYYY',
  9871. LLL: 'D. MMMM YYYY H:mm',
  9872. LLLL: 'dddd, D. MMMM YYYY H:mm',
  9873. },
  9874. calendar: {
  9875. sameDay: '[danes ob] LT',
  9876. nextDay: '[jutri ob] LT',
  9877. nextWeek: function () {
  9878. switch (this.day()) {
  9879. case 0:
  9880. return '[v] [nedeljo] [ob] LT';
  9881. case 3:
  9882. return '[v] [sredo] [ob] LT';
  9883. case 6:
  9884. return '[v] [soboto] [ob] LT';
  9885. case 1:
  9886. case 2:
  9887. case 4:
  9888. case 5:
  9889. return '[v] dddd [ob] LT';
  9890. }
  9891. },
  9892. lastDay: '[včeraj ob] LT',
  9893. lastWeek: function () {
  9894. switch (this.day()) {
  9895. case 0:
  9896. return '[prejšnjo] [nedeljo] [ob] LT';
  9897. case 3:
  9898. return '[prejšnjo] [sredo] [ob] LT';
  9899. case 6:
  9900. return '[prejšnjo] [soboto] [ob] LT';
  9901. case 1:
  9902. case 2:
  9903. case 4:
  9904. case 5:
  9905. return '[prejšnji] dddd [ob] LT';
  9906. }
  9907. },
  9908. sameElse: 'L',
  9909. },
  9910. relativeTime: {
  9911. future: 'čez %s',
  9912. past: 'pred %s',
  9913. s: processRelativeTime$9,
  9914. ss: processRelativeTime$9,
  9915. m: processRelativeTime$9,
  9916. mm: processRelativeTime$9,
  9917. h: processRelativeTime$9,
  9918. hh: processRelativeTime$9,
  9919. d: processRelativeTime$9,
  9920. dd: processRelativeTime$9,
  9921. M: processRelativeTime$9,
  9922. MM: processRelativeTime$9,
  9923. y: processRelativeTime$9,
  9924. yy: processRelativeTime$9,
  9925. },
  9926. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9927. ordinal: '%d.',
  9928. week: {
  9929. dow: 1, // Monday is the first day of the week.
  9930. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9931. },
  9932. });
  9933. //! moment.js locale configuration
  9934. moment.defineLocale('sq', {
  9935. months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(
  9936. '_'
  9937. ),
  9938. monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
  9939. weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(
  9940. '_'
  9941. ),
  9942. weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
  9943. weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
  9944. weekdaysParseExact: true,
  9945. meridiemParse: /PD|MD/,
  9946. isPM: function (input) {
  9947. return input.charAt(0) === 'M';
  9948. },
  9949. meridiem: function (hours, minutes, isLower) {
  9950. return hours < 12 ? 'PD' : 'MD';
  9951. },
  9952. longDateFormat: {
  9953. LT: 'HH:mm',
  9954. LTS: 'HH:mm:ss',
  9955. L: 'DD/MM/YYYY',
  9956. LL: 'D MMMM YYYY',
  9957. LLL: 'D MMMM YYYY HH:mm',
  9958. LLLL: 'dddd, D MMMM YYYY HH:mm',
  9959. },
  9960. calendar: {
  9961. sameDay: '[Sot në] LT',
  9962. nextDay: '[Nesër në] LT',
  9963. nextWeek: 'dddd [në] LT',
  9964. lastDay: '[Dje në] LT',
  9965. lastWeek: 'dddd [e kaluar në] LT',
  9966. sameElse: 'L',
  9967. },
  9968. relativeTime: {
  9969. future: 'në %s',
  9970. past: '%s më parë',
  9971. s: 'disa sekonda',
  9972. ss: '%d sekonda',
  9973. m: 'një minutë',
  9974. mm: '%d minuta',
  9975. h: 'një orë',
  9976. hh: '%d orë',
  9977. d: 'një ditë',
  9978. dd: '%d ditë',
  9979. M: 'një muaj',
  9980. MM: '%d muaj',
  9981. y: 'një vit',
  9982. yy: '%d vite',
  9983. },
  9984. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9985. ordinal: '%d.',
  9986. week: {
  9987. dow: 1, // Monday is the first day of the week.
  9988. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9989. },
  9990. });
  9991. //! moment.js locale configuration
  9992. var translator$1 = {
  9993. words: {
  9994. //Different grammatical cases
  9995. ss: ['секунда', 'секунде', 'секунди'],
  9996. m: ['један минут', 'једног минута'],
  9997. mm: ['минут', 'минута', 'минута'],
  9998. h: ['један сат', 'једног сата'],
  9999. hh: ['сат', 'сата', 'сати'],
  10000. d: ['један дан', 'једног дана'],
  10001. dd: ['дан', 'дана', 'дана'],
  10002. M: ['један месец', 'једног месеца'],
  10003. MM: ['месец', 'месеца', 'месеци'],
  10004. y: ['једну годину', 'једне године'],
  10005. yy: ['годину', 'године', 'година'],
  10006. },
  10007. correctGrammaticalCase: function (number, wordKey) {
  10008. if (
  10009. number % 10 >= 1 &&
  10010. number % 10 <= 4 &&
  10011. (number % 100 < 10 || number % 100 >= 20)
  10012. ) {
  10013. return number % 10 === 1 ? wordKey[0] : wordKey[1];
  10014. }
  10015. return wordKey[2];
  10016. },
  10017. translate: function (number, withoutSuffix, key, isFuture) {
  10018. var wordKey = translator$1.words[key],
  10019. word;
  10020. if (key.length === 1) {
  10021. // Nominativ
  10022. if (key === 'y' && withoutSuffix) return 'једна година';
  10023. return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
  10024. }
  10025. word = translator$1.correctGrammaticalCase(number, wordKey);
  10026. // Nominativ
  10027. if (key === 'yy' && withoutSuffix && word === 'годину') {
  10028. return number + ' година';
  10029. }
  10030. return number + ' ' + word;
  10031. },
  10032. };
  10033. moment.defineLocale('sr-cyrl', {
  10034. months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(
  10035. '_'
  10036. ),
  10037. monthsShort:
  10038. 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
  10039. monthsParseExact: true,
  10040. weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
  10041. weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
  10042. weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
  10043. weekdaysParseExact: true,
  10044. longDateFormat: {
  10045. LT: 'H:mm',
  10046. LTS: 'H:mm:ss',
  10047. L: 'D. M. YYYY.',
  10048. LL: 'D. MMMM YYYY.',
  10049. LLL: 'D. MMMM YYYY. H:mm',
  10050. LLLL: 'dddd, D. MMMM YYYY. H:mm',
  10051. },
  10052. calendar: {
  10053. sameDay: '[данас у] LT',
  10054. nextDay: '[сутра у] LT',
  10055. nextWeek: function () {
  10056. switch (this.day()) {
  10057. case 0:
  10058. return '[у] [недељу] [у] LT';
  10059. case 3:
  10060. return '[у] [среду] [у] LT';
  10061. case 6:
  10062. return '[у] [суботу] [у] LT';
  10063. case 1:
  10064. case 2:
  10065. case 4:
  10066. case 5:
  10067. return '[у] dddd [у] LT';
  10068. }
  10069. },
  10070. lastDay: '[јуче у] LT',
  10071. lastWeek: function () {
  10072. var lastWeekDays = [
  10073. '[прошле] [недеље] [у] LT',
  10074. '[прошлог] [понедељка] [у] LT',
  10075. '[прошлог] [уторка] [у] LT',
  10076. '[прошле] [среде] [у] LT',
  10077. '[прошлог] [четвртка] [у] LT',
  10078. '[прошлог] [петка] [у] LT',
  10079. '[прошле] [суботе] [у] LT',
  10080. ];
  10081. return lastWeekDays[this.day()];
  10082. },
  10083. sameElse: 'L',
  10084. },
  10085. relativeTime: {
  10086. future: 'за %s',
  10087. past: 'пре %s',
  10088. s: 'неколико секунди',
  10089. ss: translator$1.translate,
  10090. m: translator$1.translate,
  10091. mm: translator$1.translate,
  10092. h: translator$1.translate,
  10093. hh: translator$1.translate,
  10094. d: translator$1.translate,
  10095. dd: translator$1.translate,
  10096. M: translator$1.translate,
  10097. MM: translator$1.translate,
  10098. y: translator$1.translate,
  10099. yy: translator$1.translate,
  10100. },
  10101. dayOfMonthOrdinalParse: /\d{1,2}\./,
  10102. ordinal: '%d.',
  10103. week: {
  10104. dow: 1, // Monday is the first day of the week.
  10105. doy: 7, // The week that contains Jan 1st is the first week of the year.
  10106. },
  10107. });
  10108. //! moment.js locale configuration
  10109. var translator$2 = {
  10110. words: {
  10111. //Different grammatical cases
  10112. ss: ['sekunda', 'sekunde', 'sekundi'],
  10113. m: ['jedan minut', 'jednog minuta'],
  10114. mm: ['minut', 'minuta', 'minuta'],
  10115. h: ['jedan sat', 'jednog sata'],
  10116. hh: ['sat', 'sata', 'sati'],
  10117. d: ['jedan dan', 'jednog dana'],
  10118. dd: ['dan', 'dana', 'dana'],
  10119. M: ['jedan mesec', 'jednog meseca'],
  10120. MM: ['mesec', 'meseca', 'meseci'],
  10121. y: ['jednu godinu', 'jedne godine'],
  10122. yy: ['godinu', 'godine', 'godina'],
  10123. },
  10124. correctGrammaticalCase: function (number, wordKey) {
  10125. if (
  10126. number % 10 >= 1 &&
  10127. number % 10 <= 4 &&
  10128. (number % 100 < 10 || number % 100 >= 20)
  10129. ) {
  10130. return number % 10 === 1 ? wordKey[0] : wordKey[1];
  10131. }
  10132. return wordKey[2];
  10133. },
  10134. translate: function (number, withoutSuffix, key, isFuture) {
  10135. var wordKey = translator$2.words[key],
  10136. word;
  10137. if (key.length === 1) {
  10138. // Nominativ
  10139. if (key === 'y' && withoutSuffix) return 'jedna godina';
  10140. return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
  10141. }
  10142. word = translator$2.correctGrammaticalCase(number, wordKey);
  10143. // Nominativ
  10144. if (key === 'yy' && withoutSuffix && word === 'godinu') {
  10145. return number + ' godina';
  10146. }
  10147. return number + ' ' + word;
  10148. },
  10149. };
  10150. moment.defineLocale('sr', {
  10151. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
  10152. '_'
  10153. ),
  10154. monthsShort:
  10155. 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  10156. monthsParseExact: true,
  10157. weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(
  10158. '_'
  10159. ),
  10160. weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
  10161. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  10162. weekdaysParseExact: true,
  10163. longDateFormat: {
  10164. LT: 'H:mm',
  10165. LTS: 'H:mm:ss',
  10166. L: 'D. M. YYYY.',
  10167. LL: 'D. MMMM YYYY.',
  10168. LLL: 'D. MMMM YYYY. H:mm',
  10169. LLLL: 'dddd, D. MMMM YYYY. H:mm',
  10170. },
  10171. calendar: {
  10172. sameDay: '[danas u] LT',
  10173. nextDay: '[sutra u] LT',
  10174. nextWeek: function () {
  10175. switch (this.day()) {
  10176. case 0:
  10177. return '[u] [nedelju] [u] LT';
  10178. case 3:
  10179. return '[u] [sredu] [u] LT';
  10180. case 6:
  10181. return '[u] [subotu] [u] LT';
  10182. case 1:
  10183. case 2:
  10184. case 4:
  10185. case 5:
  10186. return '[u] dddd [u] LT';
  10187. }
  10188. },
  10189. lastDay: '[juče u] LT',
  10190. lastWeek: function () {
  10191. var lastWeekDays = [
  10192. '[prošle] [nedelje] [u] LT',
  10193. '[prošlog] [ponedeljka] [u] LT',
  10194. '[prošlog] [utorka] [u] LT',
  10195. '[prošle] [srede] [u] LT',
  10196. '[prošlog] [četvrtka] [u] LT',
  10197. '[prošlog] [petka] [u] LT',
  10198. '[prošle] [subote] [u] LT',
  10199. ];
  10200. return lastWeekDays[this.day()];
  10201. },
  10202. sameElse: 'L',
  10203. },
  10204. relativeTime: {
  10205. future: 'za %s',
  10206. past: 'pre %s',
  10207. s: 'nekoliko sekundi',
  10208. ss: translator$2.translate,
  10209. m: translator$2.translate,
  10210. mm: translator$2.translate,
  10211. h: translator$2.translate,
  10212. hh: translator$2.translate,
  10213. d: translator$2.translate,
  10214. dd: translator$2.translate,
  10215. M: translator$2.translate,
  10216. MM: translator$2.translate,
  10217. y: translator$2.translate,
  10218. yy: translator$2.translate,
  10219. },
  10220. dayOfMonthOrdinalParse: /\d{1,2}\./,
  10221. ordinal: '%d.',
  10222. week: {
  10223. dow: 1, // Monday is the first day of the week.
  10224. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10225. },
  10226. });
  10227. //! moment.js locale configuration
  10228. moment.defineLocale('ss', {
  10229. months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(
  10230. '_'
  10231. ),
  10232. monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
  10233. weekdays:
  10234. 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(
  10235. '_'
  10236. ),
  10237. weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
  10238. weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
  10239. weekdaysParseExact: true,
  10240. longDateFormat: {
  10241. LT: 'h:mm A',
  10242. LTS: 'h:mm:ss A',
  10243. L: 'DD/MM/YYYY',
  10244. LL: 'D MMMM YYYY',
  10245. LLL: 'D MMMM YYYY h:mm A',
  10246. LLLL: 'dddd, D MMMM YYYY h:mm A',
  10247. },
  10248. calendar: {
  10249. sameDay: '[Namuhla nga] LT',
  10250. nextDay: '[Kusasa nga] LT',
  10251. nextWeek: 'dddd [nga] LT',
  10252. lastDay: '[Itolo nga] LT',
  10253. lastWeek: 'dddd [leliphelile] [nga] LT',
  10254. sameElse: 'L',
  10255. },
  10256. relativeTime: {
  10257. future: 'nga %s',
  10258. past: 'wenteka nga %s',
  10259. s: 'emizuzwana lomcane',
  10260. ss: '%d mzuzwana',
  10261. m: 'umzuzu',
  10262. mm: '%d emizuzu',
  10263. h: 'lihora',
  10264. hh: '%d emahora',
  10265. d: 'lilanga',
  10266. dd: '%d emalanga',
  10267. M: 'inyanga',
  10268. MM: '%d tinyanga',
  10269. y: 'umnyaka',
  10270. yy: '%d iminyaka',
  10271. },
  10272. meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
  10273. meridiem: function (hours, minutes, isLower) {
  10274. if (hours < 11) {
  10275. return 'ekuseni';
  10276. } else if (hours < 15) {
  10277. return 'emini';
  10278. } else if (hours < 19) {
  10279. return 'entsambama';
  10280. } else {
  10281. return 'ebusuku';
  10282. }
  10283. },
  10284. meridiemHour: function (hour, meridiem) {
  10285. if (hour === 12) {
  10286. hour = 0;
  10287. }
  10288. if (meridiem === 'ekuseni') {
  10289. return hour;
  10290. } else if (meridiem === 'emini') {
  10291. return hour >= 11 ? hour : hour + 12;
  10292. } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
  10293. if (hour === 0) {
  10294. return 0;
  10295. }
  10296. return hour + 12;
  10297. }
  10298. },
  10299. dayOfMonthOrdinalParse: /\d{1,2}/,
  10300. ordinal: '%d',
  10301. week: {
  10302. dow: 1, // Monday is the first day of the week.
  10303. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10304. },
  10305. });
  10306. //! moment.js locale configuration
  10307. moment.defineLocale('sv', {
  10308. months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
  10309. '_'
  10310. ),
  10311. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  10312. weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
  10313. weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
  10314. weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
  10315. longDateFormat: {
  10316. LT: 'HH:mm',
  10317. LTS: 'HH:mm:ss',
  10318. L: 'YYYY-MM-DD',
  10319. LL: 'D MMMM YYYY',
  10320. LLL: 'D MMMM YYYY [kl.] HH:mm',
  10321. LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
  10322. lll: 'D MMM YYYY HH:mm',
  10323. llll: 'ddd D MMM YYYY HH:mm',
  10324. },
  10325. calendar: {
  10326. sameDay: '[Idag] LT',
  10327. nextDay: '[Imorgon] LT',
  10328. lastDay: '[Igår] LT',
  10329. nextWeek: '[På] dddd LT',
  10330. lastWeek: '[I] dddd[s] LT',
  10331. sameElse: 'L',
  10332. },
  10333. relativeTime: {
  10334. future: 'om %s',
  10335. past: 'för %s sedan',
  10336. s: 'några sekunder',
  10337. ss: '%d sekunder',
  10338. m: 'en minut',
  10339. mm: '%d minuter',
  10340. h: 'en timme',
  10341. hh: '%d timmar',
  10342. d: 'en dag',
  10343. dd: '%d dagar',
  10344. M: 'en månad',
  10345. MM: '%d månader',
  10346. y: 'ett år',
  10347. yy: '%d år',
  10348. },
  10349. dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
  10350. ordinal: function (number) {
  10351. var b = number % 10,
  10352. output =
  10353. ~~((number % 100) / 10) === 1
  10354. ? ':e'
  10355. : b === 1
  10356. ? ':a'
  10357. : b === 2
  10358. ? ':a'
  10359. : b === 3
  10360. ? ':e'
  10361. : ':e';
  10362. return number + output;
  10363. },
  10364. week: {
  10365. dow: 1, // Monday is the first day of the week.
  10366. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10367. },
  10368. });
  10369. //! moment.js locale configuration
  10370. moment.defineLocale('sw', {
  10371. months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
  10372. '_'
  10373. ),
  10374. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  10375. weekdays:
  10376. 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
  10377. '_'
  10378. ),
  10379. weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  10380. weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  10381. weekdaysParseExact: true,
  10382. longDateFormat: {
  10383. LT: 'hh:mm A',
  10384. LTS: 'HH:mm:ss',
  10385. L: 'DD.MM.YYYY',
  10386. LL: 'D MMMM YYYY',
  10387. LLL: 'D MMMM YYYY HH:mm',
  10388. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10389. },
  10390. calendar: {
  10391. sameDay: '[leo saa] LT',
  10392. nextDay: '[kesho saa] LT',
  10393. nextWeek: '[wiki ijayo] dddd [saat] LT',
  10394. lastDay: '[jana] LT',
  10395. lastWeek: '[wiki iliyopita] dddd [saat] LT',
  10396. sameElse: 'L',
  10397. },
  10398. relativeTime: {
  10399. future: '%s baadaye',
  10400. past: 'tokea %s',
  10401. s: 'hivi punde',
  10402. ss: 'sekunde %d',
  10403. m: 'dakika moja',
  10404. mm: 'dakika %d',
  10405. h: 'saa limoja',
  10406. hh: 'masaa %d',
  10407. d: 'siku moja',
  10408. dd: 'siku %d',
  10409. M: 'mwezi mmoja',
  10410. MM: 'miezi %d',
  10411. y: 'mwaka mmoja',
  10412. yy: 'miaka %d',
  10413. },
  10414. week: {
  10415. dow: 1, // Monday is the first day of the week.
  10416. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10417. },
  10418. });
  10419. //! moment.js locale configuration
  10420. var symbolMap$h = {
  10421. 1: '௧',
  10422. 2: '௨',
  10423. 3: '௩',
  10424. 4: '௪',
  10425. 5: '௫',
  10426. 6: '௬',
  10427. 7: '௭',
  10428. 8: '௮',
  10429. 9: '௯',
  10430. 0: '௦',
  10431. },
  10432. numberMap$g = {
  10433. '௧': '1',
  10434. '௨': '2',
  10435. '௩': '3',
  10436. '௪': '4',
  10437. '௫': '5',
  10438. '௬': '6',
  10439. '௭': '7',
  10440. '௮': '8',
  10441. '௯': '9',
  10442. '௦': '0',
  10443. };
  10444. moment.defineLocale('ta', {
  10445. months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
  10446. '_'
  10447. ),
  10448. monthsShort:
  10449. 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
  10450. '_'
  10451. ),
  10452. weekdays:
  10453. 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(
  10454. '_'
  10455. ),
  10456. weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(
  10457. '_'
  10458. ),
  10459. weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
  10460. longDateFormat: {
  10461. LT: 'HH:mm',
  10462. LTS: 'HH:mm:ss',
  10463. L: 'DD/MM/YYYY',
  10464. LL: 'D MMMM YYYY',
  10465. LLL: 'D MMMM YYYY, HH:mm',
  10466. LLLL: 'dddd, D MMMM YYYY, HH:mm',
  10467. },
  10468. calendar: {
  10469. sameDay: '[இன்று] LT',
  10470. nextDay: '[நாளை] LT',
  10471. nextWeek: 'dddd, LT',
  10472. lastDay: '[நேற்று] LT',
  10473. lastWeek: '[கடந்த வாரம்] dddd, LT',
  10474. sameElse: 'L',
  10475. },
  10476. relativeTime: {
  10477. future: '%s இல்',
  10478. past: '%s முன்',
  10479. s: 'ஒரு சில விநாடிகள்',
  10480. ss: '%d விநாடிகள்',
  10481. m: 'ஒரு நிமிடம்',
  10482. mm: '%d நிமிடங்கள்',
  10483. h: 'ஒரு மணி நேரம்',
  10484. hh: '%d மணி நேரம்',
  10485. d: 'ஒரு நாள்',
  10486. dd: '%d நாட்கள்',
  10487. M: 'ஒரு மாதம்',
  10488. MM: '%d மாதங்கள்',
  10489. y: 'ஒரு வருடம்',
  10490. yy: '%d ஆண்டுகள்',
  10491. },
  10492. dayOfMonthOrdinalParse: /\d{1,2}வது/,
  10493. ordinal: function (number) {
  10494. return number + 'வது';
  10495. },
  10496. preparse: function (string) {
  10497. return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
  10498. return numberMap$g[match];
  10499. });
  10500. },
  10501. postformat: function (string) {
  10502. return string.replace(/\d/g, function (match) {
  10503. return symbolMap$h[match];
  10504. });
  10505. },
  10506. // refer http://ta.wikipedia.org/s/1er1
  10507. meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
  10508. meridiem: function (hour, minute, isLower) {
  10509. if (hour < 2) {
  10510. return ' யாமம்';
  10511. } else if (hour < 6) {
  10512. return ' வைகறை'; // வைகறை
  10513. } else if (hour < 10) {
  10514. return ' காலை'; // காலை
  10515. } else if (hour < 14) {
  10516. return ' நண்பகல்'; // நண்பகல்
  10517. } else if (hour < 18) {
  10518. return ' எற்பாடு'; // எற்பாடு
  10519. } else if (hour < 22) {
  10520. return ' மாலை'; // மாலை
  10521. } else {
  10522. return ' யாமம்';
  10523. }
  10524. },
  10525. meridiemHour: function (hour, meridiem) {
  10526. if (hour === 12) {
  10527. hour = 0;
  10528. }
  10529. if (meridiem === 'யாமம்') {
  10530. return hour < 2 ? hour : hour + 12;
  10531. } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
  10532. return hour;
  10533. } else if (meridiem === 'நண்பகல்') {
  10534. return hour >= 10 ? hour : hour + 12;
  10535. } else {
  10536. return hour + 12;
  10537. }
  10538. },
  10539. week: {
  10540. dow: 0, // Sunday is the first day of the week.
  10541. doy: 6, // The week that contains Jan 6th is the first week of the year.
  10542. },
  10543. });
  10544. //! moment.js locale configuration
  10545. moment.defineLocale('te', {
  10546. months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(
  10547. '_'
  10548. ),
  10549. monthsShort:
  10550. 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(
  10551. '_'
  10552. ),
  10553. monthsParseExact: true,
  10554. weekdays:
  10555. 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(
  10556. '_'
  10557. ),
  10558. weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
  10559. weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
  10560. longDateFormat: {
  10561. LT: 'A h:mm',
  10562. LTS: 'A h:mm:ss',
  10563. L: 'DD/MM/YYYY',
  10564. LL: 'D MMMM YYYY',
  10565. LLL: 'D MMMM YYYY, A h:mm',
  10566. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  10567. },
  10568. calendar: {
  10569. sameDay: '[నేడు] LT',
  10570. nextDay: '[రేపు] LT',
  10571. nextWeek: 'dddd, LT',
  10572. lastDay: '[నిన్న] LT',
  10573. lastWeek: '[గత] dddd, LT',
  10574. sameElse: 'L',
  10575. },
  10576. relativeTime: {
  10577. future: '%s లో',
  10578. past: '%s క్రితం',
  10579. s: 'కొన్ని క్షణాలు',
  10580. ss: '%d సెకన్లు',
  10581. m: 'ఒక నిమిషం',
  10582. mm: '%d నిమిషాలు',
  10583. h: 'ఒక గంట',
  10584. hh: '%d గంటలు',
  10585. d: 'ఒక రోజు',
  10586. dd: '%d రోజులు',
  10587. M: 'ఒక నెల',
  10588. MM: '%d నెలలు',
  10589. y: 'ఒక సంవత్సరం',
  10590. yy: '%d సంవత్సరాలు',
  10591. },
  10592. dayOfMonthOrdinalParse: /\d{1,2}వ/,
  10593. ordinal: '%dవ',
  10594. meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
  10595. meridiemHour: function (hour, meridiem) {
  10596. if (hour === 12) {
  10597. hour = 0;
  10598. }
  10599. if (meridiem === 'రాత్రి') {
  10600. return hour < 4 ? hour : hour + 12;
  10601. } else if (meridiem === 'ఉదయం') {
  10602. return hour;
  10603. } else if (meridiem === 'మధ్యాహ్నం') {
  10604. return hour >= 10 ? hour : hour + 12;
  10605. } else if (meridiem === 'సాయంత్రం') {
  10606. return hour + 12;
  10607. }
  10608. },
  10609. meridiem: function (hour, minute, isLower) {
  10610. if (hour < 4) {
  10611. return 'రాత్రి';
  10612. } else if (hour < 10) {
  10613. return 'ఉదయం';
  10614. } else if (hour < 17) {
  10615. return 'మధ్యాహ్నం';
  10616. } else if (hour < 20) {
  10617. return 'సాయంత్రం';
  10618. } else {
  10619. return 'రాత్రి';
  10620. }
  10621. },
  10622. week: {
  10623. dow: 0, // Sunday is the first day of the week.
  10624. doy: 6, // The week that contains Jan 6th is the first week of the year.
  10625. },
  10626. });
  10627. //! moment.js locale configuration
  10628. moment.defineLocale('tet', {
  10629. months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
  10630. '_'
  10631. ),
  10632. monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  10633. weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
  10634. weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
  10635. weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
  10636. longDateFormat: {
  10637. LT: 'HH:mm',
  10638. LTS: 'HH:mm:ss',
  10639. L: 'DD/MM/YYYY',
  10640. LL: 'D MMMM YYYY',
  10641. LLL: 'D MMMM YYYY HH:mm',
  10642. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10643. },
  10644. calendar: {
  10645. sameDay: '[Ohin iha] LT',
  10646. nextDay: '[Aban iha] LT',
  10647. nextWeek: 'dddd [iha] LT',
  10648. lastDay: '[Horiseik iha] LT',
  10649. lastWeek: 'dddd [semana kotuk] [iha] LT',
  10650. sameElse: 'L',
  10651. },
  10652. relativeTime: {
  10653. future: 'iha %s',
  10654. past: '%s liuba',
  10655. s: 'segundu balun',
  10656. ss: 'segundu %d',
  10657. m: 'minutu ida',
  10658. mm: 'minutu %d',
  10659. h: 'oras ida',
  10660. hh: 'oras %d',
  10661. d: 'loron ida',
  10662. dd: 'loron %d',
  10663. M: 'fulan ida',
  10664. MM: 'fulan %d',
  10665. y: 'tinan ida',
  10666. yy: 'tinan %d',
  10667. },
  10668. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  10669. ordinal: function (number) {
  10670. var b = number % 10,
  10671. output =
  10672. ~~((number % 100) / 10) === 1
  10673. ? 'th'
  10674. : b === 1
  10675. ? 'st'
  10676. : b === 2
  10677. ? 'nd'
  10678. : b === 3
  10679. ? 'rd'
  10680. : 'th';
  10681. return number + output;
  10682. },
  10683. week: {
  10684. dow: 1, // Monday is the first day of the week.
  10685. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10686. },
  10687. });
  10688. //! moment.js locale configuration
  10689. var suffixes$3 = {
  10690. 0: '-ум',
  10691. 1: '-ум',
  10692. 2: '-юм',
  10693. 3: '-юм',
  10694. 4: '-ум',
  10695. 5: '-ум',
  10696. 6: '-ум',
  10697. 7: '-ум',
  10698. 8: '-ум',
  10699. 9: '-ум',
  10700. 10: '-ум',
  10701. 12: '-ум',
  10702. 13: '-ум',
  10703. 20: '-ум',
  10704. 30: '-юм',
  10705. 40: '-ум',
  10706. 50: '-ум',
  10707. 60: '-ум',
  10708. 70: '-ум',
  10709. 80: '-ум',
  10710. 90: '-ум',
  10711. 100: '-ум',
  10712. };
  10713. moment.defineLocale('tg', {
  10714. months: {
  10715. format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split(
  10716. '_'
  10717. ),
  10718. standalone:
  10719. 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
  10720. '_'
  10721. ),
  10722. },
  10723. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  10724. weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(
  10725. '_'
  10726. ),
  10727. weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
  10728. weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
  10729. longDateFormat: {
  10730. LT: 'HH:mm',
  10731. LTS: 'HH:mm:ss',
  10732. L: 'DD.MM.YYYY',
  10733. LL: 'D MMMM YYYY',
  10734. LLL: 'D MMMM YYYY HH:mm',
  10735. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10736. },
  10737. calendar: {
  10738. sameDay: '[Имрӯз соати] LT',
  10739. nextDay: '[Фардо соати] LT',
  10740. lastDay: '[Дирӯз соати] LT',
  10741. nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
  10742. lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
  10743. sameElse: 'L',
  10744. },
  10745. relativeTime: {
  10746. future: 'баъди %s',
  10747. past: '%s пеш',
  10748. s: 'якчанд сония',
  10749. m: 'як дақиқа',
  10750. mm: '%d дақиқа',
  10751. h: 'як соат',
  10752. hh: '%d соат',
  10753. d: 'як рӯз',
  10754. dd: '%d рӯз',
  10755. M: 'як моҳ',
  10756. MM: '%d моҳ',
  10757. y: 'як сол',
  10758. yy: '%d сол',
  10759. },
  10760. meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
  10761. meridiemHour: function (hour, meridiem) {
  10762. if (hour === 12) {
  10763. hour = 0;
  10764. }
  10765. if (meridiem === 'шаб') {
  10766. return hour < 4 ? hour : hour + 12;
  10767. } else if (meridiem === 'субҳ') {
  10768. return hour;
  10769. } else if (meridiem === 'рӯз') {
  10770. return hour >= 11 ? hour : hour + 12;
  10771. } else if (meridiem === 'бегоҳ') {
  10772. return hour + 12;
  10773. }
  10774. },
  10775. meridiem: function (hour, minute, isLower) {
  10776. if (hour < 4) {
  10777. return 'шаб';
  10778. } else if (hour < 11) {
  10779. return 'субҳ';
  10780. } else if (hour < 16) {
  10781. return 'рӯз';
  10782. } else if (hour < 19) {
  10783. return 'бегоҳ';
  10784. } else {
  10785. return 'шаб';
  10786. }
  10787. },
  10788. dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
  10789. ordinal: function (number) {
  10790. var a = number % 10,
  10791. b = number >= 100 ? 100 : null;
  10792. return number + (suffixes$3[number] || suffixes$3[a] || suffixes$3[b]);
  10793. },
  10794. week: {
  10795. dow: 1, // Monday is the first day of the week.
  10796. doy: 7, // The week that contains Jan 1th is the first week of the year.
  10797. },
  10798. });
  10799. //! moment.js locale configuration
  10800. moment.defineLocale('th', {
  10801. months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(
  10802. '_'
  10803. ),
  10804. monthsShort:
  10805. 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(
  10806. '_'
  10807. ),
  10808. monthsParseExact: true,
  10809. weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
  10810. weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
  10811. weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
  10812. weekdaysParseExact: true,
  10813. longDateFormat: {
  10814. LT: 'H:mm',
  10815. LTS: 'H:mm:ss',
  10816. L: 'DD/MM/YYYY',
  10817. LL: 'D MMMM YYYY',
  10818. LLL: 'D MMMM YYYY เวลา H:mm',
  10819. LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',
  10820. },
  10821. meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
  10822. isPM: function (input) {
  10823. return input === 'หลังเที่ยง';
  10824. },
  10825. meridiem: function (hour, minute, isLower) {
  10826. if (hour < 12) {
  10827. return 'ก่อนเที่ยง';
  10828. } else {
  10829. return 'หลังเที่ยง';
  10830. }
  10831. },
  10832. calendar: {
  10833. sameDay: '[วันนี้ เวลา] LT',
  10834. nextDay: '[พรุ่งนี้ เวลา] LT',
  10835. nextWeek: 'dddd[หน้า เวลา] LT',
  10836. lastDay: '[เมื่อวานนี้ เวลา] LT',
  10837. lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
  10838. sameElse: 'L',
  10839. },
  10840. relativeTime: {
  10841. future: 'อีก %s',
  10842. past: '%sที่แล้ว',
  10843. s: 'ไม่กี่วินาที',
  10844. ss: '%d วินาที',
  10845. m: '1 นาที',
  10846. mm: '%d นาที',
  10847. h: '1 ชั่วโมง',
  10848. hh: '%d ชั่วโมง',
  10849. d: '1 วัน',
  10850. dd: '%d วัน',
  10851. w: '1 สัปดาห์',
  10852. ww: '%d สัปดาห์',
  10853. M: '1 เดือน',
  10854. MM: '%d เดือน',
  10855. y: '1 ปี',
  10856. yy: '%d ปี',
  10857. },
  10858. });
  10859. //! moment.js locale configuration
  10860. var suffixes$4 = {
  10861. 1: "'inji",
  10862. 5: "'inji",
  10863. 8: "'inji",
  10864. 70: "'inji",
  10865. 80: "'inji",
  10866. 2: "'nji",
  10867. 7: "'nji",
  10868. 20: "'nji",
  10869. 50: "'nji",
  10870. 3: "'ünji",
  10871. 4: "'ünji",
  10872. 100: "'ünji",
  10873. 6: "'njy",
  10874. 9: "'unjy",
  10875. 10: "'unjy",
  10876. 30: "'unjy",
  10877. 60: "'ynjy",
  10878. 90: "'ynjy",
  10879. };
  10880. moment.defineLocale('tk', {
  10881. months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(
  10882. '_'
  10883. ),
  10884. monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
  10885. weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(
  10886. '_'
  10887. ),
  10888. weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
  10889. weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
  10890. longDateFormat: {
  10891. LT: 'HH:mm',
  10892. LTS: 'HH:mm:ss',
  10893. L: 'DD.MM.YYYY',
  10894. LL: 'D MMMM YYYY',
  10895. LLL: 'D MMMM YYYY HH:mm',
  10896. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10897. },
  10898. calendar: {
  10899. sameDay: '[bugün sagat] LT',
  10900. nextDay: '[ertir sagat] LT',
  10901. nextWeek: '[indiki] dddd [sagat] LT',
  10902. lastDay: '[düýn] LT',
  10903. lastWeek: '[geçen] dddd [sagat] LT',
  10904. sameElse: 'L',
  10905. },
  10906. relativeTime: {
  10907. future: '%s soň',
  10908. past: '%s öň',
  10909. s: 'birnäçe sekunt',
  10910. m: 'bir minut',
  10911. mm: '%d minut',
  10912. h: 'bir sagat',
  10913. hh: '%d sagat',
  10914. d: 'bir gün',
  10915. dd: '%d gün',
  10916. M: 'bir aý',
  10917. MM: '%d aý',
  10918. y: 'bir ýyl',
  10919. yy: '%d ýyl',
  10920. },
  10921. ordinal: function (number, period) {
  10922. switch (period) {
  10923. case 'd':
  10924. case 'D':
  10925. case 'Do':
  10926. case 'DD':
  10927. return number;
  10928. default:
  10929. if (number === 0) {
  10930. // special case for zero
  10931. return number + "'unjy";
  10932. }
  10933. var a = number % 10,
  10934. b = (number % 100) - a,
  10935. c = number >= 100 ? 100 : null;
  10936. return number + (suffixes$4[a] || suffixes$4[b] || suffixes$4[c]);
  10937. }
  10938. },
  10939. week: {
  10940. dow: 1, // Monday is the first day of the week.
  10941. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10942. },
  10943. });
  10944. //! moment.js locale configuration
  10945. moment.defineLocale('tl-ph', {
  10946. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  10947. '_'
  10948. ),
  10949. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  10950. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  10951. '_'
  10952. ),
  10953. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  10954. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  10955. longDateFormat: {
  10956. LT: 'HH:mm',
  10957. LTS: 'HH:mm:ss',
  10958. L: 'MM/D/YYYY',
  10959. LL: 'MMMM D, YYYY',
  10960. LLL: 'MMMM D, YYYY HH:mm',
  10961. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  10962. },
  10963. calendar: {
  10964. sameDay: 'LT [ngayong araw]',
  10965. nextDay: '[Bukas ng] LT',
  10966. nextWeek: 'LT [sa susunod na] dddd',
  10967. lastDay: 'LT [kahapon]',
  10968. lastWeek: 'LT [noong nakaraang] dddd',
  10969. sameElse: 'L',
  10970. },
  10971. relativeTime: {
  10972. future: 'sa loob ng %s',
  10973. past: '%s ang nakalipas',
  10974. s: 'ilang segundo',
  10975. ss: '%d segundo',
  10976. m: 'isang minuto',
  10977. mm: '%d minuto',
  10978. h: 'isang oras',
  10979. hh: '%d oras',
  10980. d: 'isang araw',
  10981. dd: '%d araw',
  10982. M: 'isang buwan',
  10983. MM: '%d buwan',
  10984. y: 'isang taon',
  10985. yy: '%d taon',
  10986. },
  10987. dayOfMonthOrdinalParse: /\d{1,2}/,
  10988. ordinal: function (number) {
  10989. return number;
  10990. },
  10991. week: {
  10992. dow: 1, // Monday is the first day of the week.
  10993. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10994. },
  10995. });
  10996. //! moment.js locale configuration
  10997. var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
  10998. function translateFuture(output) {
  10999. var time = output;
  11000. time =
  11001. output.indexOf('jaj') !== -1
  11002. ? time.slice(0, -3) + 'leS'
  11003. : output.indexOf('jar') !== -1
  11004. ? time.slice(0, -3) + 'waQ'
  11005. : output.indexOf('DIS') !== -1
  11006. ? time.slice(0, -3) + 'nem'
  11007. : time + ' pIq';
  11008. return time;
  11009. }
  11010. function translatePast(output) {
  11011. var time = output;
  11012. time =
  11013. output.indexOf('jaj') !== -1
  11014. ? time.slice(0, -3) + 'Hu’'
  11015. : output.indexOf('jar') !== -1
  11016. ? time.slice(0, -3) + 'wen'
  11017. : output.indexOf('DIS') !== -1
  11018. ? time.slice(0, -3) + 'ben'
  11019. : time + ' ret';
  11020. return time;
  11021. }
  11022. function translate$a(number, withoutSuffix, string, isFuture) {
  11023. var numberNoun = numberAsNoun(number);
  11024. switch (string) {
  11025. case 'ss':
  11026. return numberNoun + ' lup';
  11027. case 'mm':
  11028. return numberNoun + ' tup';
  11029. case 'hh':
  11030. return numberNoun + ' rep';
  11031. case 'dd':
  11032. return numberNoun + ' jaj';
  11033. case 'MM':
  11034. return numberNoun + ' jar';
  11035. case 'yy':
  11036. return numberNoun + ' DIS';
  11037. }
  11038. }
  11039. function numberAsNoun(number) {
  11040. var hundred = Math.floor((number % 1000) / 100),
  11041. ten = Math.floor((number % 100) / 10),
  11042. one = number % 10,
  11043. word = '';
  11044. if (hundred > 0) {
  11045. word += numbersNouns[hundred] + 'vatlh';
  11046. }
  11047. if (ten > 0) {
  11048. word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
  11049. }
  11050. if (one > 0) {
  11051. word += (word !== '' ? ' ' : '') + numbersNouns[one];
  11052. }
  11053. return word === '' ? 'pagh' : word;
  11054. }
  11055. moment.defineLocale('tlh', {
  11056. 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(
  11057. '_'
  11058. ),
  11059. monthsShort:
  11060. '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(
  11061. '_'
  11062. ),
  11063. monthsParseExact: true,
  11064. weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
  11065. '_'
  11066. ),
  11067. weekdaysShort:
  11068. 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  11069. weekdaysMin:
  11070. 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  11071. longDateFormat: {
  11072. LT: 'HH:mm',
  11073. LTS: 'HH:mm:ss',
  11074. L: 'DD.MM.YYYY',
  11075. LL: 'D MMMM YYYY',
  11076. LLL: 'D MMMM YYYY HH:mm',
  11077. LLLL: 'dddd, D MMMM YYYY HH:mm',
  11078. },
  11079. calendar: {
  11080. sameDay: '[DaHjaj] LT',
  11081. nextDay: '[wa’leS] LT',
  11082. nextWeek: 'LLL',
  11083. lastDay: '[wa’Hu’] LT',
  11084. lastWeek: 'LLL',
  11085. sameElse: 'L',
  11086. },
  11087. relativeTime: {
  11088. future: translateFuture,
  11089. past: translatePast,
  11090. s: 'puS lup',
  11091. ss: translate$a,
  11092. m: 'wa’ tup',
  11093. mm: translate$a,
  11094. h: 'wa’ rep',
  11095. hh: translate$a,
  11096. d: 'wa’ jaj',
  11097. dd: translate$a,
  11098. M: 'wa’ jar',
  11099. MM: translate$a,
  11100. y: 'wa’ DIS',
  11101. yy: translate$a,
  11102. },
  11103. dayOfMonthOrdinalParse: /\d{1,2}\./,
  11104. ordinal: '%d.',
  11105. week: {
  11106. dow: 1, // Monday is the first day of the week.
  11107. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11108. },
  11109. });
  11110. //! moment.js locale configuration
  11111. var suffixes$5 = {
  11112. 1: "'inci",
  11113. 5: "'inci",
  11114. 8: "'inci",
  11115. 70: "'inci",
  11116. 80: "'inci",
  11117. 2: "'nci",
  11118. 7: "'nci",
  11119. 20: "'nci",
  11120. 50: "'nci",
  11121. 3: "'üncü",
  11122. 4: "'üncü",
  11123. 100: "'üncü",
  11124. 6: "'ncı",
  11125. 9: "'uncu",
  11126. 10: "'uncu",
  11127. 30: "'uncu",
  11128. 60: "'ıncı",
  11129. 90: "'ıncı",
  11130. };
  11131. moment.defineLocale('tr', {
  11132. months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(
  11133. '_'
  11134. ),
  11135. monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
  11136. weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(
  11137. '_'
  11138. ),
  11139. weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'),
  11140. weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
  11141. meridiem: function (hours, minutes, isLower) {
  11142. if (hours < 12) {
  11143. return isLower ? 'öö' : 'ÖÖ';
  11144. } else {
  11145. return isLower ? 'ös' : 'ÖS';
  11146. }
  11147. },
  11148. meridiemParse: /öö|ÖÖ|ös|ÖS/,
  11149. isPM: function (input) {
  11150. return input === 'ös' || input === 'ÖS';
  11151. },
  11152. longDateFormat: {
  11153. LT: 'HH:mm',
  11154. LTS: 'HH:mm:ss',
  11155. L: 'DD.MM.YYYY',
  11156. LL: 'D MMMM YYYY',
  11157. LLL: 'D MMMM YYYY HH:mm',
  11158. LLLL: 'dddd, D MMMM YYYY HH:mm',
  11159. },
  11160. calendar: {
  11161. sameDay: '[bugün saat] LT',
  11162. nextDay: '[yarın saat] LT',
  11163. nextWeek: '[gelecek] dddd [saat] LT',
  11164. lastDay: '[dün] LT',
  11165. lastWeek: '[geçen] dddd [saat] LT',
  11166. sameElse: 'L',
  11167. },
  11168. relativeTime: {
  11169. future: '%s sonra',
  11170. past: '%s önce',
  11171. s: 'birkaç saniye',
  11172. ss: '%d saniye',
  11173. m: 'bir dakika',
  11174. mm: '%d dakika',
  11175. h: 'bir saat',
  11176. hh: '%d saat',
  11177. d: 'bir gün',
  11178. dd: '%d gün',
  11179. w: 'bir hafta',
  11180. ww: '%d hafta',
  11181. M: 'bir ay',
  11182. MM: '%d ay',
  11183. y: 'bir yıl',
  11184. yy: '%d yıl',
  11185. },
  11186. ordinal: function (number, period) {
  11187. switch (period) {
  11188. case 'd':
  11189. case 'D':
  11190. case 'Do':
  11191. case 'DD':
  11192. return number;
  11193. default:
  11194. if (number === 0) {
  11195. // special case for zero
  11196. return number + "'ıncı";
  11197. }
  11198. var a = number % 10,
  11199. b = (number % 100) - a,
  11200. c = number >= 100 ? 100 : null;
  11201. return number + (suffixes$5[a] || suffixes$5[b] || suffixes$5[c]);
  11202. }
  11203. },
  11204. week: {
  11205. dow: 1, // Monday is the first day of the week.
  11206. doy: 7, // The week that contains Jan 7th is the first week of the year.
  11207. },
  11208. });
  11209. //! moment.js locale configuration
  11210. // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
  11211. // This is currently too difficult (maybe even impossible) to add.
  11212. moment.defineLocale('tzl', {
  11213. months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
  11214. '_'
  11215. ),
  11216. monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
  11217. weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
  11218. weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
  11219. weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
  11220. longDateFormat: {
  11221. LT: 'HH.mm',
  11222. LTS: 'HH.mm.ss',
  11223. L: 'DD.MM.YYYY',
  11224. LL: 'D. MMMM [dallas] YYYY',
  11225. LLL: 'D. MMMM [dallas] YYYY HH.mm',
  11226. LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
  11227. },
  11228. meridiemParse: /d\'o|d\'a/i,
  11229. isPM: function (input) {
  11230. return "d'o" === input.toLowerCase();
  11231. },
  11232. meridiem: function (hours, minutes, isLower) {
  11233. if (hours > 11) {
  11234. return isLower ? "d'o" : "D'O";
  11235. } else {
  11236. return isLower ? "d'a" : "D'A";
  11237. }
  11238. },
  11239. calendar: {
  11240. sameDay: '[oxhi à] LT',
  11241. nextDay: '[demà à] LT',
  11242. nextWeek: 'dddd [à] LT',
  11243. lastDay: '[ieiri à] LT',
  11244. lastWeek: '[sür el] dddd [lasteu à] LT',
  11245. sameElse: 'L',
  11246. },
  11247. relativeTime: {
  11248. future: 'osprei %s',
  11249. past: 'ja%s',
  11250. s: processRelativeTime$a,
  11251. ss: processRelativeTime$a,
  11252. m: processRelativeTime$a,
  11253. mm: processRelativeTime$a,
  11254. h: processRelativeTime$a,
  11255. hh: processRelativeTime$a,
  11256. d: processRelativeTime$a,
  11257. dd: processRelativeTime$a,
  11258. M: processRelativeTime$a,
  11259. MM: processRelativeTime$a,
  11260. y: processRelativeTime$a,
  11261. yy: processRelativeTime$a,
  11262. },
  11263. dayOfMonthOrdinalParse: /\d{1,2}\./,
  11264. ordinal: '%d.',
  11265. week: {
  11266. dow: 1, // Monday is the first day of the week.
  11267. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11268. },
  11269. });
  11270. function processRelativeTime$a(number, withoutSuffix, key, isFuture) {
  11271. var format = {
  11272. s: ['viensas secunds', "'iensas secunds"],
  11273. ss: [number + ' secunds', '' + number + ' secunds'],
  11274. m: ["'n míut", "'iens míut"],
  11275. mm: [number + ' míuts', '' + number + ' míuts'],
  11276. h: ["'n þora", "'iensa þora"],
  11277. hh: [number + ' þoras', '' + number + ' þoras'],
  11278. d: ["'n ziua", "'iensa ziua"],
  11279. dd: [number + ' ziuas', '' + number + ' ziuas'],
  11280. M: ["'n mes", "'iens mes"],
  11281. MM: [number + ' mesen', '' + number + ' mesen'],
  11282. y: ["'n ar", "'iens ar"],
  11283. yy: [number + ' ars', '' + number + ' ars'],
  11284. };
  11285. return isFuture
  11286. ? format[key][0]
  11287. : withoutSuffix
  11288. ? format[key][0]
  11289. : format[key][1];
  11290. }
  11291. //! moment.js locale configuration
  11292. moment.defineLocale('tzm-latn', {
  11293. months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  11294. '_'
  11295. ),
  11296. monthsShort:
  11297. 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  11298. '_'
  11299. ),
  11300. weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  11301. weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  11302. weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  11303. longDateFormat: {
  11304. LT: 'HH:mm',
  11305. LTS: 'HH:mm:ss',
  11306. L: 'DD/MM/YYYY',
  11307. LL: 'D MMMM YYYY',
  11308. LLL: 'D MMMM YYYY HH:mm',
  11309. LLLL: 'dddd D MMMM YYYY HH:mm',
  11310. },
  11311. calendar: {
  11312. sameDay: '[asdkh g] LT',
  11313. nextDay: '[aska g] LT',
  11314. nextWeek: 'dddd [g] LT',
  11315. lastDay: '[assant g] LT',
  11316. lastWeek: 'dddd [g] LT',
  11317. sameElse: 'L',
  11318. },
  11319. relativeTime: {
  11320. future: 'dadkh s yan %s',
  11321. past: 'yan %s',
  11322. s: 'imik',
  11323. ss: '%d imik',
  11324. m: 'minuḍ',
  11325. mm: '%d minuḍ',
  11326. h: 'saɛa',
  11327. hh: '%d tassaɛin',
  11328. d: 'ass',
  11329. dd: '%d ossan',
  11330. M: 'ayowr',
  11331. MM: '%d iyyirn',
  11332. y: 'asgas',
  11333. yy: '%d isgasn',
  11334. },
  11335. week: {
  11336. dow: 6, // Saturday is the first day of the week.
  11337. doy: 12, // The week that contains Jan 12th is the first week of the year.
  11338. },
  11339. });
  11340. //! moment.js locale configuration
  11341. moment.defineLocale('tzm', {
  11342. months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  11343. '_'
  11344. ),
  11345. monthsShort:
  11346. 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  11347. '_'
  11348. ),
  11349. weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11350. weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11351. weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11352. longDateFormat: {
  11353. LT: 'HH:mm',
  11354. LTS: 'HH:mm:ss',
  11355. L: 'DD/MM/YYYY',
  11356. LL: 'D MMMM YYYY',
  11357. LLL: 'D MMMM YYYY HH:mm',
  11358. LLLL: 'dddd D MMMM YYYY HH:mm',
  11359. },
  11360. calendar: {
  11361. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  11362. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  11363. nextWeek: 'dddd [ⴴ] LT',
  11364. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  11365. lastWeek: 'dddd [ⴴ] LT',
  11366. sameElse: 'L',
  11367. },
  11368. relativeTime: {
  11369. future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  11370. past: 'ⵢⴰⵏ %s',
  11371. s: 'ⵉⵎⵉⴽ',
  11372. ss: '%d ⵉⵎⵉⴽ',
  11373. m: 'ⵎⵉⵏⵓⴺ',
  11374. mm: '%d ⵎⵉⵏⵓⴺ',
  11375. h: 'ⵙⴰⵄⴰ',
  11376. hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  11377. d: 'ⴰⵙⵙ',
  11378. dd: '%d oⵙⵙⴰⵏ',
  11379. M: 'ⴰⵢoⵓⵔ',
  11380. MM: '%d ⵉⵢⵢⵉⵔⵏ',
  11381. y: 'ⴰⵙⴳⴰⵙ',
  11382. yy: '%d ⵉⵙⴳⴰⵙⵏ',
  11383. },
  11384. week: {
  11385. dow: 6, // Saturday is the first day of the week.
  11386. doy: 12, // The week that contains Jan 12th is the first week of the year.
  11387. },
  11388. });
  11389. //! moment.js locale configuration
  11390. moment.defineLocale('ug-cn', {
  11391. months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
  11392. '_'
  11393. ),
  11394. monthsShort:
  11395. 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
  11396. '_'
  11397. ),
  11398. weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
  11399. '_'
  11400. ),
  11401. weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  11402. weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  11403. longDateFormat: {
  11404. LT: 'HH:mm',
  11405. LTS: 'HH:mm:ss',
  11406. L: 'YYYY-MM-DD',
  11407. LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
  11408. LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  11409. LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  11410. },
  11411. meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
  11412. meridiemHour: function (hour, meridiem) {
  11413. if (hour === 12) {
  11414. hour = 0;
  11415. }
  11416. if (
  11417. meridiem === 'يېرىم كېچە' ||
  11418. meridiem === 'سەھەر' ||
  11419. meridiem === 'چۈشتىن بۇرۇن'
  11420. ) {
  11421. return hour;
  11422. } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
  11423. return hour + 12;
  11424. } else {
  11425. return hour >= 11 ? hour : hour + 12;
  11426. }
  11427. },
  11428. meridiem: function (hour, minute, isLower) {
  11429. var hm = hour * 100 + minute;
  11430. if (hm < 600) {
  11431. return 'يېرىم كېچە';
  11432. } else if (hm < 900) {
  11433. return 'سەھەر';
  11434. } else if (hm < 1130) {
  11435. return 'چۈشتىن بۇرۇن';
  11436. } else if (hm < 1230) {
  11437. return 'چۈش';
  11438. } else if (hm < 1800) {
  11439. return 'چۈشتىن كېيىن';
  11440. } else {
  11441. return 'كەچ';
  11442. }
  11443. },
  11444. calendar: {
  11445. sameDay: '[بۈگۈن سائەت] LT',
  11446. nextDay: '[ئەتە سائەت] LT',
  11447. nextWeek: '[كېلەركى] dddd [سائەت] LT',
  11448. lastDay: '[تۆنۈگۈن] LT',
  11449. lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
  11450. sameElse: 'L',
  11451. },
  11452. relativeTime: {
  11453. future: '%s كېيىن',
  11454. past: '%s بۇرۇن',
  11455. s: 'نەچچە سېكونت',
  11456. ss: '%d سېكونت',
  11457. m: 'بىر مىنۇت',
  11458. mm: '%d مىنۇت',
  11459. h: 'بىر سائەت',
  11460. hh: '%d سائەت',
  11461. d: 'بىر كۈن',
  11462. dd: '%d كۈن',
  11463. M: 'بىر ئاي',
  11464. MM: '%d ئاي',
  11465. y: 'بىر يىل',
  11466. yy: '%d يىل',
  11467. },
  11468. dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
  11469. ordinal: function (number, period) {
  11470. switch (period) {
  11471. case 'd':
  11472. case 'D':
  11473. case 'DDD':
  11474. return number + '-كۈنى';
  11475. case 'w':
  11476. case 'W':
  11477. return number + '-ھەپتە';
  11478. default:
  11479. return number;
  11480. }
  11481. },
  11482. preparse: function (string) {
  11483. return string.replace(/،/g, ',');
  11484. },
  11485. postformat: function (string) {
  11486. return string.replace(/,/g, '،');
  11487. },
  11488. week: {
  11489. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  11490. dow: 1, // Monday is the first day of the week.
  11491. doy: 7, // The week that contains Jan 1st is the first week of the year.
  11492. },
  11493. });
  11494. //! moment.js locale configuration
  11495. function plural$6(word, num) {
  11496. var forms = word.split('_');
  11497. return num % 10 === 1 && num % 100 !== 11
  11498. ? forms[0]
  11499. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  11500. ? forms[1]
  11501. : forms[2];
  11502. }
  11503. function relativeTimeWithPlural$4(number, withoutSuffix, key) {
  11504. var format = {
  11505. ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
  11506. mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
  11507. hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
  11508. dd: 'день_дні_днів',
  11509. MM: 'місяць_місяці_місяців',
  11510. yy: 'рік_роки_років',
  11511. };
  11512. if (key === 'm') {
  11513. return withoutSuffix ? 'хвилина' : 'хвилину';
  11514. } else if (key === 'h') {
  11515. return withoutSuffix ? 'година' : 'годину';
  11516. } else {
  11517. return number + ' ' + plural$6(format[key], +number);
  11518. }
  11519. }
  11520. function weekdaysCaseReplace(m, format) {
  11521. var weekdays = {
  11522. nominative:
  11523. 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(
  11524. '_'
  11525. ),
  11526. accusative:
  11527. 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(
  11528. '_'
  11529. ),
  11530. genitive:
  11531. 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(
  11532. '_'
  11533. ),
  11534. },
  11535. nounCase;
  11536. if (m === true) {
  11537. return weekdays['nominative']
  11538. .slice(1, 7)
  11539. .concat(weekdays['nominative'].slice(0, 1));
  11540. }
  11541. if (!m) {
  11542. return weekdays['nominative'];
  11543. }
  11544. nounCase = /(\[[ВвУу]\]) ?dddd/.test(format)
  11545. ? 'accusative'
  11546. : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format)
  11547. ? 'genitive'
  11548. : 'nominative';
  11549. return weekdays[nounCase][m.day()];
  11550. }
  11551. function processHoursFunction(str) {
  11552. return function () {
  11553. return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
  11554. };
  11555. }
  11556. moment.defineLocale('uk', {
  11557. months: {
  11558. format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(
  11559. '_'
  11560. ),
  11561. standalone:
  11562. 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(
  11563. '_'
  11564. ),
  11565. },
  11566. monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(
  11567. '_'
  11568. ),
  11569. weekdays: weekdaysCaseReplace,
  11570. weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  11571. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  11572. longDateFormat: {
  11573. LT: 'HH:mm',
  11574. LTS: 'HH:mm:ss',
  11575. L: 'DD.MM.YYYY',
  11576. LL: 'D MMMM YYYY р.',
  11577. LLL: 'D MMMM YYYY р., HH:mm',
  11578. LLLL: 'dddd, D MMMM YYYY р., HH:mm',
  11579. },
  11580. calendar: {
  11581. sameDay: processHoursFunction('[Сьогодні '),
  11582. nextDay: processHoursFunction('[Завтра '),
  11583. lastDay: processHoursFunction('[Вчора '),
  11584. nextWeek: processHoursFunction('[У] dddd ['),
  11585. lastWeek: function () {
  11586. switch (this.day()) {
  11587. case 0:
  11588. case 3:
  11589. case 5:
  11590. case 6:
  11591. return processHoursFunction('[Минулої] dddd [').call(this);
  11592. case 1:
  11593. case 2:
  11594. case 4:
  11595. return processHoursFunction('[Минулого] dddd [').call(this);
  11596. }
  11597. },
  11598. sameElse: 'L',
  11599. },
  11600. relativeTime: {
  11601. future: 'за %s',
  11602. past: '%s тому',
  11603. s: 'декілька секунд',
  11604. ss: relativeTimeWithPlural$4,
  11605. m: relativeTimeWithPlural$4,
  11606. mm: relativeTimeWithPlural$4,
  11607. h: 'годину',
  11608. hh: relativeTimeWithPlural$4,
  11609. d: 'день',
  11610. dd: relativeTimeWithPlural$4,
  11611. M: 'місяць',
  11612. MM: relativeTimeWithPlural$4,
  11613. y: 'рік',
  11614. yy: relativeTimeWithPlural$4,
  11615. },
  11616. // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
  11617. meridiemParse: /ночі|ранку|дня|вечора/,
  11618. isPM: function (input) {
  11619. return /^(дня|вечора)$/.test(input);
  11620. },
  11621. meridiem: function (hour, minute, isLower) {
  11622. if (hour < 4) {
  11623. return 'ночі';
  11624. } else if (hour < 12) {
  11625. return 'ранку';
  11626. } else if (hour < 17) {
  11627. return 'дня';
  11628. } else {
  11629. return 'вечора';
  11630. }
  11631. },
  11632. dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
  11633. ordinal: function (number, period) {
  11634. switch (period) {
  11635. case 'M':
  11636. case 'd':
  11637. case 'DDD':
  11638. case 'w':
  11639. case 'W':
  11640. return number + '-й';
  11641. case 'D':
  11642. return number + '-го';
  11643. default:
  11644. return number;
  11645. }
  11646. },
  11647. week: {
  11648. dow: 1, // Monday is the first day of the week.
  11649. doy: 7, // The week that contains Jan 7th is the first week of the year.
  11650. },
  11651. });
  11652. //! moment.js locale configuration
  11653. var months$a = [
  11654. 'جنوری',
  11655. 'فروری',
  11656. 'مارچ',
  11657. 'اپریل',
  11658. 'مئی',
  11659. 'جون',
  11660. 'جولائی',
  11661. 'اگست',
  11662. 'ستمبر',
  11663. 'اکتوبر',
  11664. 'نومبر',
  11665. 'دسمبر',
  11666. ],
  11667. days$1 = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
  11668. moment.defineLocale('ur', {
  11669. months: months$a,
  11670. monthsShort: months$a,
  11671. weekdays: days$1,
  11672. weekdaysShort: days$1,
  11673. weekdaysMin: days$1,
  11674. longDateFormat: {
  11675. LT: 'HH:mm',
  11676. LTS: 'HH:mm:ss',
  11677. L: 'DD/MM/YYYY',
  11678. LL: 'D MMMM YYYY',
  11679. LLL: 'D MMMM YYYY HH:mm',
  11680. LLLL: 'dddd، D MMMM YYYY HH:mm',
  11681. },
  11682. meridiemParse: /صبح|شام/,
  11683. isPM: function (input) {
  11684. return 'شام' === input;
  11685. },
  11686. meridiem: function (hour, minute, isLower) {
  11687. if (hour < 12) {
  11688. return 'صبح';
  11689. }
  11690. return 'شام';
  11691. },
  11692. calendar: {
  11693. sameDay: '[آج بوقت] LT',
  11694. nextDay: '[کل بوقت] LT',
  11695. nextWeek: 'dddd [بوقت] LT',
  11696. lastDay: '[گذشتہ روز بوقت] LT',
  11697. lastWeek: '[گذشتہ] dddd [بوقت] LT',
  11698. sameElse: 'L',
  11699. },
  11700. relativeTime: {
  11701. future: '%s بعد',
  11702. past: '%s قبل',
  11703. s: 'چند سیکنڈ',
  11704. ss: '%d سیکنڈ',
  11705. m: 'ایک منٹ',
  11706. mm: '%d منٹ',
  11707. h: 'ایک گھنٹہ',
  11708. hh: '%d گھنٹے',
  11709. d: 'ایک دن',
  11710. dd: '%d دن',
  11711. M: 'ایک ماہ',
  11712. MM: '%d ماہ',
  11713. y: 'ایک سال',
  11714. yy: '%d سال',
  11715. },
  11716. preparse: function (string) {
  11717. return string.replace(/،/g, ',');
  11718. },
  11719. postformat: function (string) {
  11720. return string.replace(/,/g, '،');
  11721. },
  11722. week: {
  11723. dow: 1, // Monday is the first day of the week.
  11724. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11725. },
  11726. });
  11727. //! moment.js locale configuration
  11728. moment.defineLocale('uz-latn', {
  11729. months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
  11730. '_'
  11731. ),
  11732. monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
  11733. weekdays:
  11734. 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
  11735. '_'
  11736. ),
  11737. weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
  11738. weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
  11739. longDateFormat: {
  11740. LT: 'HH:mm',
  11741. LTS: 'HH:mm:ss',
  11742. L: 'DD/MM/YYYY',
  11743. LL: 'D MMMM YYYY',
  11744. LLL: 'D MMMM YYYY HH:mm',
  11745. LLLL: 'D MMMM YYYY, dddd HH:mm',
  11746. },
  11747. calendar: {
  11748. sameDay: '[Bugun soat] LT [da]',
  11749. nextDay: '[Ertaga] LT [da]',
  11750. nextWeek: 'dddd [kuni soat] LT [da]',
  11751. lastDay: '[Kecha soat] LT [da]',
  11752. lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
  11753. sameElse: 'L',
  11754. },
  11755. relativeTime: {
  11756. future: 'Yaqin %s ichida',
  11757. past: 'Bir necha %s oldin',
  11758. s: 'soniya',
  11759. ss: '%d soniya',
  11760. m: 'bir daqiqa',
  11761. mm: '%d daqiqa',
  11762. h: 'bir soat',
  11763. hh: '%d soat',
  11764. d: 'bir kun',
  11765. dd: '%d kun',
  11766. M: 'bir oy',
  11767. MM: '%d oy',
  11768. y: 'bir yil',
  11769. yy: '%d yil',
  11770. },
  11771. week: {
  11772. dow: 1, // Monday is the first day of the week.
  11773. doy: 7, // The week that contains Jan 7th is the first week of the year.
  11774. },
  11775. });
  11776. //! moment.js locale configuration
  11777. moment.defineLocale('uz', {
  11778. months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
  11779. '_'
  11780. ),
  11781. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  11782. weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
  11783. weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
  11784. weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
  11785. longDateFormat: {
  11786. LT: 'HH:mm',
  11787. LTS: 'HH:mm:ss',
  11788. L: 'DD/MM/YYYY',
  11789. LL: 'D MMMM YYYY',
  11790. LLL: 'D MMMM YYYY HH:mm',
  11791. LLLL: 'D MMMM YYYY, dddd HH:mm',
  11792. },
  11793. calendar: {
  11794. sameDay: '[Бугун соат] LT [да]',
  11795. nextDay: '[Эртага] LT [да]',
  11796. nextWeek: 'dddd [куни соат] LT [да]',
  11797. lastDay: '[Кеча соат] LT [да]',
  11798. lastWeek: '[Утган] dddd [куни соат] LT [да]',
  11799. sameElse: 'L',
  11800. },
  11801. relativeTime: {
  11802. future: 'Якин %s ичида',
  11803. past: 'Бир неча %s олдин',
  11804. s: 'фурсат',
  11805. ss: '%d фурсат',
  11806. m: 'бир дакика',
  11807. mm: '%d дакика',
  11808. h: 'бир соат',
  11809. hh: '%d соат',
  11810. d: 'бир кун',
  11811. dd: '%d кун',
  11812. M: 'бир ой',
  11813. MM: '%d ой',
  11814. y: 'бир йил',
  11815. yy: '%d йил',
  11816. },
  11817. week: {
  11818. dow: 1, // Monday is the first day of the week.
  11819. doy: 7, // The week that contains Jan 4th is the first week of the year.
  11820. },
  11821. });
  11822. //! moment.js locale configuration
  11823. moment.defineLocale('vi', {
  11824. 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(
  11825. '_'
  11826. ),
  11827. monthsShort:
  11828. '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(
  11829. '_'
  11830. ),
  11831. monthsParseExact: true,
  11832. weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(
  11833. '_'
  11834. ),
  11835. weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  11836. weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  11837. weekdaysParseExact: true,
  11838. meridiemParse: /sa|ch/i,
  11839. isPM: function (input) {
  11840. return /^ch$/i.test(input);
  11841. },
  11842. meridiem: function (hours, minutes, isLower) {
  11843. if (hours < 12) {
  11844. return isLower ? 'sa' : 'SA';
  11845. } else {
  11846. return isLower ? 'ch' : 'CH';
  11847. }
  11848. },
  11849. longDateFormat: {
  11850. LT: 'HH:mm',
  11851. LTS: 'HH:mm:ss',
  11852. L: 'DD/MM/YYYY',
  11853. LL: 'D MMMM [năm] YYYY',
  11854. LLL: 'D MMMM [năm] YYYY HH:mm',
  11855. LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
  11856. l: 'DD/M/YYYY',
  11857. ll: 'D MMM YYYY',
  11858. lll: 'D MMM YYYY HH:mm',
  11859. llll: 'ddd, D MMM YYYY HH:mm',
  11860. },
  11861. calendar: {
  11862. sameDay: '[Hôm nay lúc] LT',
  11863. nextDay: '[Ngày mai lúc] LT',
  11864. nextWeek: 'dddd [tuần tới lúc] LT',
  11865. lastDay: '[Hôm qua lúc] LT',
  11866. lastWeek: 'dddd [tuần trước lúc] LT',
  11867. sameElse: 'L',
  11868. },
  11869. relativeTime: {
  11870. future: '%s tới',
  11871. past: '%s trước',
  11872. s: 'vài giây',
  11873. ss: '%d giây',
  11874. m: 'một phút',
  11875. mm: '%d phút',
  11876. h: 'một giờ',
  11877. hh: '%d giờ',
  11878. d: 'một ngày',
  11879. dd: '%d ngày',
  11880. w: 'một tuần',
  11881. ww: '%d tuần',
  11882. M: 'một tháng',
  11883. MM: '%d tháng',
  11884. y: 'một năm',
  11885. yy: '%d năm',
  11886. },
  11887. dayOfMonthOrdinalParse: /\d{1,2}/,
  11888. ordinal: function (number) {
  11889. return number;
  11890. },
  11891. week: {
  11892. dow: 1, // Monday is the first day of the week.
  11893. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11894. },
  11895. });
  11896. //! moment.js locale configuration
  11897. moment.defineLocale('x-pseudo', {
  11898. 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(
  11899. '_'
  11900. ),
  11901. monthsShort:
  11902. 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
  11903. '_'
  11904. ),
  11905. monthsParseExact: true,
  11906. weekdays:
  11907. 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
  11908. '_'
  11909. ),
  11910. weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
  11911. weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
  11912. weekdaysParseExact: true,
  11913. longDateFormat: {
  11914. LT: 'HH:mm',
  11915. L: 'DD/MM/YYYY',
  11916. LL: 'D MMMM YYYY',
  11917. LLL: 'D MMMM YYYY HH:mm',
  11918. LLLL: 'dddd, D MMMM YYYY HH:mm',
  11919. },
  11920. calendar: {
  11921. sameDay: '[T~ódá~ý át] LT',
  11922. nextDay: '[T~ómó~rró~w át] LT',
  11923. nextWeek: 'dddd [át] LT',
  11924. lastDay: '[Ý~ést~érdá~ý át] LT',
  11925. lastWeek: '[L~ást] dddd [át] LT',
  11926. sameElse: 'L',
  11927. },
  11928. relativeTime: {
  11929. future: 'í~ñ %s',
  11930. past: '%s á~gó',
  11931. s: 'á ~féw ~sécó~ñds',
  11932. ss: '%d s~écóñ~ds',
  11933. m: 'á ~míñ~úté',
  11934. mm: '%d m~íñú~tés',
  11935. h: 'á~ñ hó~úr',
  11936. hh: '%d h~óúrs',
  11937. d: 'á ~dáý',
  11938. dd: '%d d~áýs',
  11939. M: 'á ~móñ~th',
  11940. MM: '%d m~óñt~hs',
  11941. y: 'á ~ýéár',
  11942. yy: '%d ý~éárs',
  11943. },
  11944. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  11945. ordinal: function (number) {
  11946. var b = number % 10,
  11947. output =
  11948. ~~((number % 100) / 10) === 1
  11949. ? 'th'
  11950. : b === 1
  11951. ? 'st'
  11952. : b === 2
  11953. ? 'nd'
  11954. : b === 3
  11955. ? 'rd'
  11956. : 'th';
  11957. return number + output;
  11958. },
  11959. week: {
  11960. dow: 1, // Monday is the first day of the week.
  11961. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11962. },
  11963. });
  11964. //! moment.js locale configuration
  11965. moment.defineLocale('yo', {
  11966. months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
  11967. '_'
  11968. ),
  11969. monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
  11970. weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
  11971. weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
  11972. weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
  11973. longDateFormat: {
  11974. LT: 'h:mm A',
  11975. LTS: 'h:mm:ss A',
  11976. L: 'DD/MM/YYYY',
  11977. LL: 'D MMMM YYYY',
  11978. LLL: 'D MMMM YYYY h:mm A',
  11979. LLLL: 'dddd, D MMMM YYYY h:mm A',
  11980. },
  11981. calendar: {
  11982. sameDay: '[Ònì ni] LT',
  11983. nextDay: '[Ọ̀la ni] LT',
  11984. nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
  11985. lastDay: '[Àna ni] LT',
  11986. lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
  11987. sameElse: 'L',
  11988. },
  11989. relativeTime: {
  11990. future: 'ní %s',
  11991. past: '%s kọjá',
  11992. s: 'ìsẹjú aayá die',
  11993. ss: 'aayá %d',
  11994. m: 'ìsẹjú kan',
  11995. mm: 'ìsẹjú %d',
  11996. h: 'wákati kan',
  11997. hh: 'wákati %d',
  11998. d: 'ọjọ́ kan',
  11999. dd: 'ọjọ́ %d',
  12000. M: 'osù kan',
  12001. MM: 'osù %d',
  12002. y: 'ọdún kan',
  12003. yy: 'ọdún %d',
  12004. },
  12005. dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
  12006. ordinal: 'ọjọ́ %d',
  12007. week: {
  12008. dow: 1, // Monday is the first day of the week.
  12009. doy: 4, // The week that contains Jan 4th is the first week of the year.
  12010. },
  12011. });
  12012. //! moment.js locale configuration
  12013. moment.defineLocale('zh-cn', {
  12014. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  12015. '_'
  12016. ),
  12017. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  12018. '_'
  12019. ),
  12020. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  12021. weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
  12022. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  12023. longDateFormat: {
  12024. LT: 'HH:mm',
  12025. LTS: 'HH:mm:ss',
  12026. L: 'YYYY/MM/DD',
  12027. LL: 'YYYY年M月D日',
  12028. LLL: 'YYYY年M月D日Ah点mm分',
  12029. LLLL: 'YYYY年M月D日ddddAh点mm分',
  12030. l: 'YYYY/M/D',
  12031. ll: 'YYYY年M月D日',
  12032. lll: 'YYYY年M月D日 HH:mm',
  12033. llll: 'YYYY年M月D日dddd HH:mm',
  12034. },
  12035. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  12036. meridiemHour: function (hour, meridiem) {
  12037. if (hour === 12) {
  12038. hour = 0;
  12039. }
  12040. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  12041. return hour;
  12042. } else if (meridiem === '下午' || meridiem === '晚上') {
  12043. return hour + 12;
  12044. } else {
  12045. // '中午'
  12046. return hour >= 11 ? hour : hour + 12;
  12047. }
  12048. },
  12049. meridiem: function (hour, minute, isLower) {
  12050. var hm = hour * 100 + minute;
  12051. if (hm < 600) {
  12052. return '凌晨';
  12053. } else if (hm < 900) {
  12054. return '早上';
  12055. } else if (hm < 1130) {
  12056. return '上午';
  12057. } else if (hm < 1230) {
  12058. return '中午';
  12059. } else if (hm < 1800) {
  12060. return '下午';
  12061. } else {
  12062. return '晚上';
  12063. }
  12064. },
  12065. calendar: {
  12066. sameDay: '[今天]LT',
  12067. nextDay: '[明天]LT',
  12068. nextWeek: function (now) {
  12069. if (now.week() !== this.week()) {
  12070. return '[下]dddLT';
  12071. } else {
  12072. return '[本]dddLT';
  12073. }
  12074. },
  12075. lastDay: '[昨天]LT',
  12076. lastWeek: function (now) {
  12077. if (this.week() !== now.week()) {
  12078. return '[上]dddLT';
  12079. } else {
  12080. return '[本]dddLT';
  12081. }
  12082. },
  12083. sameElse: 'L',
  12084. },
  12085. dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
  12086. ordinal: function (number, period) {
  12087. switch (period) {
  12088. case 'd':
  12089. case 'D':
  12090. case 'DDD':
  12091. return number + '日';
  12092. case 'M':
  12093. return number + '月';
  12094. case 'w':
  12095. case 'W':
  12096. return number + '周';
  12097. default:
  12098. return number;
  12099. }
  12100. },
  12101. relativeTime: {
  12102. future: '%s后',
  12103. past: '%s前',
  12104. s: '几秒',
  12105. ss: '%d 秒',
  12106. m: '1 分钟',
  12107. mm: '%d 分钟',
  12108. h: '1 小时',
  12109. hh: '%d 小时',
  12110. d: '1 天',
  12111. dd: '%d 天',
  12112. w: '1 周',
  12113. ww: '%d 周',
  12114. M: '1 个月',
  12115. MM: '%d 个月',
  12116. y: '1 年',
  12117. yy: '%d 年',
  12118. },
  12119. week: {
  12120. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  12121. dow: 1, // Monday is the first day of the week.
  12122. doy: 4, // The week that contains Jan 4th is the first week of the year.
  12123. },
  12124. });
  12125. //! moment.js locale configuration
  12126. moment.defineLocale('zh-hk', {
  12127. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  12128. '_'
  12129. ),
  12130. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  12131. '_'
  12132. ),
  12133. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  12134. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  12135. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  12136. longDateFormat: {
  12137. LT: 'HH:mm',
  12138. LTS: 'HH:mm:ss',
  12139. L: 'YYYY/MM/DD',
  12140. LL: 'YYYY年M月D日',
  12141. LLL: 'YYYY年M月D日 HH:mm',
  12142. LLLL: 'YYYY年M月D日dddd HH:mm',
  12143. l: 'YYYY/M/D',
  12144. ll: 'YYYY年M月D日',
  12145. lll: 'YYYY年M月D日 HH:mm',
  12146. llll: 'YYYY年M月D日dddd HH:mm',
  12147. },
  12148. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  12149. meridiemHour: function (hour, meridiem) {
  12150. if (hour === 12) {
  12151. hour = 0;
  12152. }
  12153. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  12154. return hour;
  12155. } else if (meridiem === '中午') {
  12156. return hour >= 11 ? hour : hour + 12;
  12157. } else if (meridiem === '下午' || meridiem === '晚上') {
  12158. return hour + 12;
  12159. }
  12160. },
  12161. meridiem: function (hour, minute, isLower) {
  12162. var hm = hour * 100 + minute;
  12163. if (hm < 600) {
  12164. return '凌晨';
  12165. } else if (hm < 900) {
  12166. return '早上';
  12167. } else if (hm < 1200) {
  12168. return '上午';
  12169. } else if (hm === 1200) {
  12170. return '中午';
  12171. } else if (hm < 1800) {
  12172. return '下午';
  12173. } else {
  12174. return '晚上';
  12175. }
  12176. },
  12177. calendar: {
  12178. sameDay: '[今天]LT',
  12179. nextDay: '[明天]LT',
  12180. nextWeek: '[下]ddddLT',
  12181. lastDay: '[昨天]LT',
  12182. lastWeek: '[上]ddddLT',
  12183. sameElse: 'L',
  12184. },
  12185. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  12186. ordinal: function (number, period) {
  12187. switch (period) {
  12188. case 'd':
  12189. case 'D':
  12190. case 'DDD':
  12191. return number + '日';
  12192. case 'M':
  12193. return number + '月';
  12194. case 'w':
  12195. case 'W':
  12196. return number + '週';
  12197. default:
  12198. return number;
  12199. }
  12200. },
  12201. relativeTime: {
  12202. future: '%s後',
  12203. past: '%s前',
  12204. s: '幾秒',
  12205. ss: '%d 秒',
  12206. m: '1 分鐘',
  12207. mm: '%d 分鐘',
  12208. h: '1 小時',
  12209. hh: '%d 小時',
  12210. d: '1 天',
  12211. dd: '%d 天',
  12212. M: '1 個月',
  12213. MM: '%d 個月',
  12214. y: '1 年',
  12215. yy: '%d 年',
  12216. },
  12217. });
  12218. //! moment.js locale configuration
  12219. moment.defineLocale('zh-mo', {
  12220. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  12221. '_'
  12222. ),
  12223. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  12224. '_'
  12225. ),
  12226. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  12227. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  12228. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  12229. longDateFormat: {
  12230. LT: 'HH:mm',
  12231. LTS: 'HH:mm:ss',
  12232. L: 'DD/MM/YYYY',
  12233. LL: 'YYYY年M月D日',
  12234. LLL: 'YYYY年M月D日 HH:mm',
  12235. LLLL: 'YYYY年M月D日dddd HH:mm',
  12236. l: 'D/M/YYYY',
  12237. ll: 'YYYY年M月D日',
  12238. lll: 'YYYY年M月D日 HH:mm',
  12239. llll: 'YYYY年M月D日dddd HH:mm',
  12240. },
  12241. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  12242. meridiemHour: function (hour, meridiem) {
  12243. if (hour === 12) {
  12244. hour = 0;
  12245. }
  12246. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  12247. return hour;
  12248. } else if (meridiem === '中午') {
  12249. return hour >= 11 ? hour : hour + 12;
  12250. } else if (meridiem === '下午' || meridiem === '晚上') {
  12251. return hour + 12;
  12252. }
  12253. },
  12254. meridiem: function (hour, minute, isLower) {
  12255. var hm = hour * 100 + minute;
  12256. if (hm < 600) {
  12257. return '凌晨';
  12258. } else if (hm < 900) {
  12259. return '早上';
  12260. } else if (hm < 1130) {
  12261. return '上午';
  12262. } else if (hm < 1230) {
  12263. return '中午';
  12264. } else if (hm < 1800) {
  12265. return '下午';
  12266. } else {
  12267. return '晚上';
  12268. }
  12269. },
  12270. calendar: {
  12271. sameDay: '[今天] LT',
  12272. nextDay: '[明天] LT',
  12273. nextWeek: '[下]dddd LT',
  12274. lastDay: '[昨天] LT',
  12275. lastWeek: '[上]dddd LT',
  12276. sameElse: 'L',
  12277. },
  12278. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  12279. ordinal: function (number, period) {
  12280. switch (period) {
  12281. case 'd':
  12282. case 'D':
  12283. case 'DDD':
  12284. return number + '日';
  12285. case 'M':
  12286. return number + '月';
  12287. case 'w':
  12288. case 'W':
  12289. return number + '週';
  12290. default:
  12291. return number;
  12292. }
  12293. },
  12294. relativeTime: {
  12295. future: '%s內',
  12296. past: '%s前',
  12297. s: '幾秒',
  12298. ss: '%d 秒',
  12299. m: '1 分鐘',
  12300. mm: '%d 分鐘',
  12301. h: '1 小時',
  12302. hh: '%d 小時',
  12303. d: '1 天',
  12304. dd: '%d 天',
  12305. M: '1 個月',
  12306. MM: '%d 個月',
  12307. y: '1 年',
  12308. yy: '%d 年',
  12309. },
  12310. });
  12311. //! moment.js locale configuration
  12312. moment.defineLocale('zh-tw', {
  12313. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  12314. '_'
  12315. ),
  12316. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  12317. '_'
  12318. ),
  12319. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  12320. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  12321. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  12322. longDateFormat: {
  12323. LT: 'HH:mm',
  12324. LTS: 'HH:mm:ss',
  12325. L: 'YYYY/MM/DD',
  12326. LL: 'YYYY年M月D日',
  12327. LLL: 'YYYY年M月D日 HH:mm',
  12328. LLLL: 'YYYY年M月D日dddd HH:mm',
  12329. l: 'YYYY/M/D',
  12330. ll: 'YYYY年M月D日',
  12331. lll: 'YYYY年M月D日 HH:mm',
  12332. llll: 'YYYY年M月D日dddd HH:mm',
  12333. },
  12334. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  12335. meridiemHour: function (hour, meridiem) {
  12336. if (hour === 12) {
  12337. hour = 0;
  12338. }
  12339. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  12340. return hour;
  12341. } else if (meridiem === '中午') {
  12342. return hour >= 11 ? hour : hour + 12;
  12343. } else if (meridiem === '下午' || meridiem === '晚上') {
  12344. return hour + 12;
  12345. }
  12346. },
  12347. meridiem: function (hour, minute, isLower) {
  12348. var hm = hour * 100 + minute;
  12349. if (hm < 600) {
  12350. return '凌晨';
  12351. } else if (hm < 900) {
  12352. return '早上';
  12353. } else if (hm < 1130) {
  12354. return '上午';
  12355. } else if (hm < 1230) {
  12356. return '中午';
  12357. } else if (hm < 1800) {
  12358. return '下午';
  12359. } else {
  12360. return '晚上';
  12361. }
  12362. },
  12363. calendar: {
  12364. sameDay: '[今天] LT',
  12365. nextDay: '[明天] LT',
  12366. nextWeek: '[下]dddd LT',
  12367. lastDay: '[昨天] LT',
  12368. lastWeek: '[上]dddd LT',
  12369. sameElse: 'L',
  12370. },
  12371. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  12372. ordinal: function (number, period) {
  12373. switch (period) {
  12374. case 'd':
  12375. case 'D':
  12376. case 'DDD':
  12377. return number + '日';
  12378. case 'M':
  12379. return number + '月';
  12380. case 'w':
  12381. case 'W':
  12382. return number + '週';
  12383. default:
  12384. return number;
  12385. }
  12386. },
  12387. relativeTime: {
  12388. future: '%s後',
  12389. past: '%s前',
  12390. s: '幾秒',
  12391. ss: '%d 秒',
  12392. m: '1 分鐘',
  12393. mm: '%d 分鐘',
  12394. h: '1 小時',
  12395. hh: '%d 小時',
  12396. d: '1 天',
  12397. dd: '%d 天',
  12398. M: '1 個月',
  12399. MM: '%d 個月',
  12400. y: '1 年',
  12401. yy: '%d 年',
  12402. },
  12403. });
  12404. moment.locale('en');
  12405. return moment;
  12406. })));