PageSourceSearch

https://portals.noloco.io/assets/zh-CN-DAC5Xa1d.js

js noloco.io collected 2026-09-25 18:41:04 UTC 6,882 bytes, 1 lines download raw bytes

1import{b as d,aD as o,aX as i,aY as m}from"./Icon-Ime4wSjK.js";import{i as l}from"./isSameWeek-DUFyiHMh.js";import"./_commonjsHelpers-CxYHiaSM.js";import"./index-CJZQOLKR.js";import"./index-Dhy1axWM.js";import"./index-AmsYr5ik.js";import"./jsx-runtime-esm-DgZK9P7c.js";import"./normalizeDates-p6XmbZym.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"967abcd"},t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=(function(e){for(var a=1;a<arguments.length;a++){var n=arguments[a];if(n!=null)for(var s in n)n.hasOwnProperty(s)&&(e[s]=n[s])}return e})({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:noloco-ui":!0});var r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="edf627e7-56e7-4a20-94b6-b4627fb1b7f3",t._sentryDebugIdIdentifier="sentry-dbid-edf627e7-56e7-4a20-94b6-b4627fb1b7f3")}catch{}})();const c={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},h=(t,r,e)=>{let a;const n=c[t];return typeof n=="string"?a=n:r===1?a=n.one:a=n.other.replace("{{count}}",String(r)),e?.addSuffix?e.comparison&&e.comparison>0?a+"内":a+"前":a},f={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},g={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},b={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},y={date:d({formats:f,defaultWidth:"full"}),time:d({formats:g,defaultWidth:"full"}),dateTime:d({formats:b,defaultWidth:"full"})};function u(t,r,e){const a="eeee p";return l(t,r,e)?a:t.getTime()>r.getTime()?"'下个'"+a:"'上个'"+a}const p={lastWeek:u,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:u,other:"PP p"},w=(t,r,e,a)=>{const n=p[t];return typeof n=="function"?n(r,e,a):n},P={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},v={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},M={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},W={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},k={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},D={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},E=(t,r)=>{const e=Number(t);switch(r?.unit){case"date":return e.toString()+"日";case"hour":return e.toString()+"时";case"minute":return e.toString()+"分";case"second":return e.toString()+"秒";default:return"第 "+e.toString()}},S={ordinalNumber:E,era:o({values:P,defaultWidth:"wide"}),quarter:o({values:v,defaultWidth:"wide",argumentCallback:t=>t-1}),month:o({values:M,defaultWidth:"wide"}),day:o({values:W,defaultWidth:"wide"}),dayPeriod:o({values:k,defaultWidth:"wide",formattingValues:D,defaultFormattingWidth:"wide"})}
1,x=/^(第\s*)?\d+(日|时|分|秒)?/i,z=/\d+/i,F={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},_={any:[/^(前)/i,/^(公元)/i]},T={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},X={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},N={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},V={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},L={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},C={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},I={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},Y={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},R={ordinalNumber:m({matchPattern:x,parsePattern:z,valueCallback:t=>parseInt(t,10)}),era:i({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:_,defaultParseWidth:"any"}),quarter:i({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:t=>t+1}),month:i({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),day:i({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:I,defaultMatchWidth:"any",parsePatterns:Y,defaultParseWidth:"any"})},G={code:"zh-CN",formatDistance:h,formatLong:y,formatRelative:w,localize:S,match:R,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{G as default,G as zhCN};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.