(function(k,b){typeof exports=="object"&&typeof module<"u"?module.exports=b():typeof define=="function"&&define.amd?define(b):(k=typeof globalThis<"u"?globalThis:k||self,k.UniverDesignViVN=b())})(this,function(){"use strict";function k(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var b={exports:{}},F={exports:{}},pe=F.exports,G;function ye(){return G||(G=1,function(i,m){(function(d,a){i.exports=a()})(pe,function(){var d=1e3,a=6e4,p=36e5,l="millisecond",f="second",M="minute",S="hour",Y="day",K="week",D="month",fe="quarter",T="year",H="date",he="Invalid Date",Oe=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,we=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,je={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var r=["th","st","nd","rd"],e=s%100;return"["+s+(r[(e-20)%10]||r[e]||r[0])+"]"}},X=function(s,r,e){var n=String(s);return!n||n.length>=r?s:""+Array(r+1-n.length).join(e)+s},Pe={s:X,z:function(s){var r=-s.utcOffset(),e=Math.abs(r),n=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+X(n,2,"0")+":"+X(t,2,"0")},m:function s(r,e){if(r.date()1)return s(o[0])}else{var h=r.name;w[h]=r,t=h}return!n&&t&&(N=t),t||!n&&N},v=function(s,r){if(Q(s))return s.clone();var e=typeof r=="object"?r:{};return e.date=s,e.args=arguments,new A(e)},c=Pe;c.l=W,c.i=Q,c.w=function(s,r){return v(s,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var A=function(){function s(e){this.$L=W(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[de]=!0}var r=s.prototype;return r.parse=function(e){this.$d=function(n){var t=n.date,u=n.utc;if(t===null)return new Date(NaN);if(c.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var o=t.match(Oe);if(o){var h=o[2]-1||0,y=(o[7]||"0").substring(0,3);return u?new Date(Date.UTC(o[1],h,o[3]||1,o[4]||0,o[5]||0,o[6]||0,y)):new Date(o[1],h,o[3]||1,o[4]||0,o[5]||0,o[6]||0,y)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return c},r.isValid=function(){return this.$d.toString()!==he},r.isSame=function(e,n){var t=v(e);return this.startOf(n)<=t&&t<=this.endOf(n)},r.isAfter=function(e,n){return v(e)