ййй
This commit is contained in:
1 parent
fd42121596
commit
61a0dfb1e9
55 files changed
+60
-59
No files matched your search
+1
@@ -0,0 +1 @@
|
||||
import{_ as ye,l as xe,r as p,w as be,O as ve,P as ke,Q as V,x as o,v as l,E as h,M as J,a0 as z,aT as Me,a5 as K,T as E,s as v,F as u,L as N,B as Oe,y as S,$ as O,a3 as Z,V as Q,z as $,C as P,X as B,a2 as Pe,Z as ee,D as te,t as F,R as ne,S as ae,K as _e,a$ as Se,A as W,U as De,aN as re}from"./index-C95RwDyc.js";import{i as Fe}from"./icoUser-BuanEDF_.js";import{V as We}from"./VSwitch-Cna9Tqlh.js";import{V as Ce}from"./VTextarea-vBlWUtyD.js";import{V as Te}from"./VAlert-DCKCutjK.js";import"./VInput-B82efaBR.js";import"./VSelectionControl-CabHpyF4.js";/* empty css */import"./VField-DAxmwXK8.js";const fe=6048e5,pe=864e5,oe=Symbol.for("constructDateFrom");function T(n,e){return typeof n=="function"?n(e):n&&typeof n=="object"&&oe in n?n[oe](e):n instanceof Date?new n.constructor(e):new Date(e)}function _(n,e){return T(e||n,n)}let Ye={};function R(){return Ye}function j(n,e){var i,m,g,x;const a=R(),t=(e==null?void 0:e.weekStartsOn)??((m=(i=e==null?void 0:e.locale)==null?void 0:i.options)==null?void 0:m.weekStartsOn)??a.weekStartsOn??((x=(g=a.locale)==null?void 0:g.options)==null?void 0:x.weekStartsOn)??0,r=_(n,e==null?void 0:e.in),s=r.getDay(),c=(s<t?7:0)+s-t;return r.setDate(r.getDate()-c),r.setHours(0,0,0,0),r}function X(n,e){return j(n,{...e,weekStartsOn:1})}function me(n,e){const a=_(n,e==null?void 0:e.in),t=a.getFullYear(),r=T(a,0);r.setFullYear(t+1,0,4),r.setHours(0,0,0,0);const s=X(r),c=T(a,0);c.setFullYear(t,0,4),c.setHours(0,0,0,0);const i=X(c);return a.getTime()>=s.getTime()?t+1:a.getTime()>=i.getTime()?t:t-1}function ie(n){const e=_(n),a=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return a.setUTCFullYear(e.getFullYear()),+n-+a}function Ve(n,...e){const a=T.bind(null,e.find(t=>typeof t=="object"));return e.map(a)}function le(n,e){const a=_(n,e==null?void 0:e.in);return a.setHours(0,0,0,0),a}function Ee(n,e,a){const[t,r]=Ve(a==null?void 0:a.in,n,e),s=le(t),c=le(r),i=+s-ie(s),m=+c-ie(c);return Math.round((i-m)/pe)}function Ne(n,e){const a=me(n,e),t=T(n,0);return t.setFullYear(a,0,4),t.setHours(0,0,0,0),X(t)}function qe(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}function Le(n){return!(!qe(n)&&typeof n!="number"||isNaN(+_(n)))}function Ie(n,e){const a=_(n,e==null?void 0:e.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}const He={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ae=(n,e,a)=>{let t;const r=He[n];return typeof r=="string"?t=r:e===1?t=r.one:t=r.other.replace("{{count}}",e.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+t:t+" ago":t};function G(n){return(e={})=>{const a=e.width?String(e.width):n.defaultWidth;return n.formats[a]||n.formats[n.defaultWidth]}}const je={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Qe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Be={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Xe={date:G({formats:je,defaultWidth:"full"}),time:G({formats:Qe,defaultWidth:"full"}),dateTime:G({formats:Be,defaultWidth:"full"})},Re={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ge=(n,e,a,t)=>Re[n];function H(n){return(e,a)=>{const t=a!=null&&a.context?String(a.context):"standalone";let r;if(t==="formatting"&&n.formattingValues){const c=n.defaultFormattingWidth||n.defaultWidth,i=a!=null&&a.width?String(a.width):c;r=n.formattingValues[i]||n.formattingValues[c]}else{const c=n.defaultWidth,i=a!=null&&a.width?String(a.width):n.defaultWidth;r=n.values[i]||n.values[c]}const s=n.argumentCallback?n.argumentCallback(e):e;return r[s]}}const Ue={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Je={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ze={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","AprLine truncated
|
||||
Reference in new issue
Block a user