1(self.webpackChunkng_zorro_antd_doc=self.webpackChunkng_zorro_antd_doc||[]).push([[1933],{1933:(le,W,A)=>{"use strict";A.r(W),A.d(W,{NzDemoCronExpressionModule:()=>Ot});var L=A(4190),Z=A(6242),z=A(7582),p=A(6814),e=A(9212),h=A(6223),T=A(2096),d=A(9773),C=A(8527),x=A(2189),_=A(6700),w=A(337),k=A(227),B=A(7191);function S(l,J){if(1&l&&(e._uU(0),e.ALo(1,"date")),2&l){const m=e.oxw(2);e.hij(" ",e.xi3(1,1,m.TimeList[0],"YYYY-MM-dd HH:mm:ss")," ")}}function $(l,J){}function q(l,J){if(1&l&&e.YNc(0,$,0,0,"ng-template",4),2&l){const m=e.oxw(2);e.Q6J("ngTemplateOutlet",m.nzSemantic)}}function V(l,J){if(1&l&&e.YNc(0,S,2,4)(1,q,1,1),2&l){const m=e.oxw();e.um2(0,m.nzSemantic?1:0)}}function F(l,J){if(1&l&&e._uU(0),2&l){const m=e.oxw();e.hij(" ",m.locale.cronError," ")}}function R(l,J){if(1&l&&(e.TgZ(0,"li"),e._uU(1),e.ALo(2,"date"),e.qZA()),2&l){const m=J.$implicit;e.xp6(),e.hij(" ",e.xi3(2,1,m,"YYYY-MM-dd HH:mm:ss")," ")}}function ee(l,J){if(1&l){const m=e.EpF();e.TgZ(0,"div",5)(1,"ul",6),e.SjG(2,R,3,4,"li",null,e.x6l),e.TgZ(4,"li")(5,"a",7),e.NdJ("click",function(){e.CHM(m);const y=e.oxw();return e.KtG(y.loadMorePreview.emit())}),e._uU(6,"\xb7\xb7\xb7"),e.qZA()()()()}if(2&l){const m=e.oxw();e.xp6(2),e.wJu(m.TimeList)}}function D(l,J){if(1&l){const m=e.EpF();e.TgZ(0,"li")(1,"span",8),e.NdJ("click",function(){e.CHM(m);const y=e.oxw();return e.KtG(y.setExpand())}),e.qZA()()}}function H(l,J){if(1&l){const m=e.EpF();e.TgZ(0,"li")(1,"span",9),e.NdJ("click",function(){e.CHM(m);const y=e.oxw();return e.KtG(y.setExpand())}),e.qZA()()}}function j(l,J){if(1&l){const m=e.EpF();e.TgZ(0,"nz-cron-expression-input",6),e.NdJ("focusEffect",function(y){e.CHM(m);const E=e.oxw();return e.KtG(E.focusEffect(y))})("blurEffect",function(){e.CHM(m);const y=e.oxw();return e.KtG(y.blurEffect())})("getValue",function(y){e.CHM(m);const E=e.oxw();return e.KtG(E.getValue(y))}),e.qZA()}if(2&l){const m=J.$implicit,f=e.oxw();e.Q6J("value",f.validateForm.controls[m].value)("label",m)("disabled",f.nzDisabled)}}function se(l,J){if(1&l&&e._UZ(0,"nz-cron-expression-label",7),2&l){const m=J.$implicit,f=e.oxw();e.Q6J("type",m)("labelFocus",f.labelFocus)("locale",f.locale)}}function ce(l,J){if(1&l){const m=e.EpF();e.TgZ(0,"nz-cron-expression-preview",8),e.NdJ("loadMorePreview",function(){e.CHM(m);const y=e.oxw();return e.KtG(y.loadMorePreview())}),e.qZA()}if(2&l){const m=e.oxw();e.Q6J("TimeList",m.nextTimeList)("visible",m.validateForm.valid)("locale",m.locale)("nzSemantic",m.nzSemantic)}}function it(l,J){}function Et(l,J){if(1&l&&(e.TgZ(0,"div",9),e.YNc(1,it,0,0,"ng-template",10),e.qZA()),2&l){const m=e.oxw();e.xp6(),e.Q6J("ngTemplateOutlet",m.nzExtra)}}let Be=(()=>{class l{constructor(){this.value="0",this.label="second",this.disabled=!1,this.focusEffect=new e.vpe,this.blurEffect=new e.vpe,this.getValue=new e.vpe}focusInputEffect(m){this.focusEffect.emit(this.label),m.target.select()}blurInputEffect(){this.blurEffect.emit()}setValue(){this.getValue.emit({label:this.label,value:this.value})}static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-cron-expression-input"]],inputs:{value:"value",label:"label",disabled:"disabled"},outputs:{focusEffect:"focusEffect",blurEffect:"blurEffect",getValue:"getValue"},exportAs:["nzCronExpressionInput"],standalone:!0,features:[e.jDz],decls:2,vars:3,consts:[[1,"ant-cron-expression-input"],["nz-input","",3,"ngModel","name","disabled","ngModelChange","focus","blur"]],template:function(f,y){1&f&&(e.TgZ(0,"div",0)(1,"input",1),e.NdJ("ngModelChange",function(G){return y.value=G})("focus",function(G){return y.focusInputEffect(G)})("blur",function(){return y.blurInputEffect()})("ngModelChange",function(){return y.setValue()}),e.qZA()()),2&f&&(e.xp6(),e.Q6J("ngModel",y.value)("name",y.label)("disabled",y.disabled))},dependencies:[w.o7,w.Zp,h.u5,h.Fj,h.JJ,h.On],encapsulation:2,changeDetection:0})}return l})(),at=(()=>{class l{constructor(){this.type="second",this.labelFocus=null}static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-cron-expression-label"]],inputs:{type:"type",locale:"locale",labelFocus:"labelFocus"},exportAs:["nzCronExpressionLabel"],standalone:!0,features:[e.jDz],decls:3,vars:3,consts:[[1,"ant-cron-expression-label"]],template:function(f,y){1&f&&(e.TgZ(0,"div",0)(1,"label"),e._uU(2),e.qZA()()),2&f&&(e.ekj("ant-cron-expression-label-foucs",y.labelFocus===y.type),e.xp6(2),e.hij(" ",y.locale[y.type]," "))},encapsulation:2,changeDetection:0})}return l})(),Je=(()=>{class l{constructor(m){this.cdr=m,this.TimeList=[],this.visible=!0,this.nzSemantic=null,this.loadMorePreview=new e.vpe,this.isExpand=!0}setExpand(){this.isExpand=!this.isExpand,this.cdr.markForCheck()}static#e=this.\u0275fac=function(f){return new(f||l)(e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-cron-expression-preview"]],inputs:{TimeList:"TimeList",visible:"visible",locale:"locale",nzSemantic:"nzSemantic"},outputs:{loadMorePreview:"loadMorePreview"},exportAs:["nzCronExpressionPreview"],standalone:!0,features:[e.jDz],decls:8,vars:5,consts:[[1,"ant-collapse","ant-collapse-borderless","ant-cron-expression-preview"],[1,"ant-cron-expression-preview-dateTime"],["class","ant-cron-expression-preview-content"],[1,"ant-cron-expression-preview-icon"],[3,"ngTemplateOutlet"],[1,"ant-cron-expression-preview-content"],[1,"ant-cron-expression-preview-list"],[3,"click"],["nz-icon","","nzType","down","nzTheme","outline",3,"click"],["nz-icon","","nzType","up","nzTheme","outline",3,"click"]],template:function(f,y){1&f&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,V,2,1)(3,F,1,1),e.qZA(),e.YNc(4,ee,7,0,"div",2),e.TgZ(5,"ul",3),e.YNc(6,D,2,0,"li")(7,H,2,0),e.qZA()()),2&f&&(e.xp6(),e.ekj("ant-cron-expression-preview-dateTime-center",!y.isExpand),e.xp6(),e.um2(2,y.visible?2:3),e.xp6(2),e.um2(4,y.visible&&!y.isExpand?4:-1),e.xp6(2),e.um2(6,y.isExpand?6:7))},dependencies:[p.tP,p.uU,k.PV,k.Ls],encapsulation:2,changeDetection:0})}return(0,z.gn)([(0,_.yF)()],l.prototype,"visible",void 0),l})();function Ge(l){return"spring"===l?["second","minute","hour","day","month","week"]:["minute","hour","day","month","week"]}let ne=(()=>{class l{convertFormat(m){const f=m.split(" "),y=this.labels.reduce((E,G,oe)=>(E[G]=f[oe],E),{});this.validateForm.patchValue(y)}writeValue(m){m&&this.convertFormat(m)}registerOnChange(m){this.onChange=m}registerOnTouched(m){this.onTouch=m}validate(){return(0,T.of)(this.validateForm.valid?null:{error:!0})}setDisabledState(m){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||m,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}constructor(m,f,y){this.formBuilder=m,this.cdr=f,this.i18n=y,this.nzSize="default",this.nzType="linux",this.nzCollapseDisable=!1,this.nzExtra=null,this.nzSemantic=null,this.nzBorderless=!1,this.nzDisabled=!1,this.focus=!1,this.labelFocus=null,this.labels=Ge(this.nzType),this.nextTimeList=[],this.isNzDisableFirstChange=!0,this.destroy$=(0,e.f3M)(x.kn),this.onChange=()=>{},this.onTouch=()=>null,this.checkValid=E=>{if(E.value)try{const G=[];
1this.labels.forEach(oe=>{G.push(E.value[oe])}),(0,C.parseExpression)(G.join(" "))}catch{return{error:!0}}return null},this.validateForm=this.formBuilder.nonNullable.group({second:["0",h.kI.required],minute:["*",h.kI.required],hour:["*",h.kI.required],day:["*",h.kI.required],month:["*",h.kI.required],week:["*",h.kI.required]},{validators:this.checkValid})}ngOnInit(){this.i18n.localeChange.pipe((0,d.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("CronExpression"),this.cdr.markForCheck()}),this.cronFormType(),this.previewDate(this.validateForm.value),this.validateForm.valueChanges.pipe((0,d.R)(this.destroy$)).subscribe(m=>{this.onChange(Object.values(m).join(" ")),this.previewDate(m),this.cdr.markForCheck()})}ngOnChanges(m){const{nzType:f}=m;f&&(this.labels=Ge(this.nzType),this.cronFormType())}cronFormType(){"spring"===this.nzType?this.validateForm.controls.second.enable():this.validateForm.controls.second.disable()}previewDate(m){try{this.interval=(0,C.parseExpression)(Object.values(m).join(" ")),this.nextTimeList=[this.interval.next().toDate(),this.interval.next().toDate(),this.interval.next().toDate(),this.interval.next().toDate(),this.interval.next().toDate()]}catch{return}}loadMorePreview(){this.nextTimeList=[...this.nextTimeList,this.interval.next().toDate(),this.interval.next().toDate(),this.interval.next().toDate(),this.interval.next().toDate(),this.interval.next().toDate()],this.cdr.markForCheck()}focusEffect(m){this.focus=!0,this.labelFocus=m,this.cdr.markForCheck()}blurEffect(){this.focus=!1,this.labelFocus=null,this.cdr.markForCheck()}getValue(m){this.validateForm.controls[m.label].patchValue(m.value),this.cdr.markForCheck()}static#e=this.\u0275fac=function(f){return new(f||l)(e.Y36(h.qu),e.Y36(e.sBO),e.Y36(B.wi))};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-cron-expression"]],inputs:{nzSize:"nzSize",nzType:"nzType",nzCollapseDisable:"nzCollapseDisable",nzExtra:"nzExtra",nzSemantic:"nzSemantic",nzBorderless:"nzBorderless",nzDisabled:"nzDisabled"},exportAs:["nzCronExpression"],standalone:!0,features:[e._Bn([{provide:h.SD,useExisting:(0,e.Gpc)(()=>l),multi:!0},{provide:h.JU,useExisting:(0,e.Gpc)(()=>l),multi:!0},x.kn]),e.TTD,e.jDz],decls:10,vars:22,consts:[[1,"ant-cron-expression"],[1,"ant-cron-expression-content"],[1,"ant-input","ant-cron-expression-input-group"],[1,"ant-cron-expression-label-group"],[3,"TimeList","visible","locale","nzSemantic"],["class","ant-cron-expression-map"],[3,"value","label","disabled","focusEffect","blurEffect","getValue"],[3,"type","labelFocus","locale"],[3,"TimeList","visible","locale","nzSemantic","loadMorePreview"],[1,"ant-cron-expression-map"],[3,"ngTemplateOutlet"],[3,"value","label","disabled"]],template:function(f,y){1&f&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e.SjG(3,j,1,3,"nz-cron-expression-input",11,e.x6l),e.qZA(),e.TgZ(5,"div",3),e.SjG(6,se,1,3,"
1nz-cron-expression-label",7,e.x6l),e.qZA(),e.YNc(8,ce,1,4,"nz-cron-expression-preview",4),e.qZA(),e.YNc(9,Et,2,1,"div",5),e.qZA()),2&f&&(e.xp6(2),e.ekj("ant-input-lg","large"===y.nzSize)("ant-input-sm","small"===y.nzSize)("ant-input-borderless",y.nzBorderless)("ant-cron-expression-input-group-focus",y.focus&&!y.nzBorderless)("ant-input-status-error",!y.validateForm.valid&&!y.nzBorderless)("ant-cron-expression-input-group-error-focus",!y.validateForm.valid&&y.focus&&!y.nzBorderless)("ant-input-disabled",y.nzDisabled),e.xp6(),e.wJu(y.labels),e.xp6(2),e.ekj("ant-input-lg","large"===y.nzSize)("ant-cron-expression-label-group-default","default"===y.nzSize)("ant-input-sm","small"===y.nzSize),e.xp6(),e.wJu(y.labels),e.xp6(2),e.um2(8,y.nzCollapseDisable?-1:8),e.xp6(),e.um2(9,y.nzExtra?9:-1))},dependencies:[Be,at,Je,p.tP],encapsulation:2,changeDetection:0})}return(0,z.gn)([(0,_.yF)()],l.prototype,"nzCollapseDisable",void 0),(0,z.gn)([(0,_.yF)()],l.prototype,"nzBorderless",void 0),(0,z.gn)([(0,_.yF)()],l.prototype,"nzDisabled",void 0),l})(),Ye=(()=>{class l{static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275mod=e.oAB({type:l});static#n=this.\u0275inj=e.cJS({imports:[ne,Be,Je]})}return l})();var de=A(8271),ge=A(4119),ve=A(266);const kt=[Ye,de.U5,w.o7,ge.sL,ve.b1,k.PV];var Ee=A(379),ke=A(5393),_e=A(8101),te=A(3185),Pe=A(8332),Se=A(1687);let Ae=(()=>{class l{static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression-basic"]],decls:4,vars:0,consts:[["nzDisabled",""]],template:function(f,y){1&f&&e._UZ(0,"nz-cron-expression")(1,"br")(2,"br")(3,"nz-cron-expression",0)},dependencies:[ne],encapsulation:2})}return l})(),Ue=(()=>{class l{static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression-borderless"]],decls:1,vars:0,consts:[["nzBorderless",""]],template:function(f,y){1&f&&e._UZ(0,"nz-cron-expression",0)},dependencies:[ne],encapsulation:2})}return l})(),Ne=(()=>{class l{static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression-collapse"]],decls:1,vars:1,consts:[[3,"nzCollapseDisable"]],template:function(f,y){1&f&&e._UZ(0,"nz-cron-expression",0),2&f&&e.Q6J("nzCollapseDisable",!0)},dependencies:[ne],encapsulation:2})}return l})();function St(l,J){if(1&l&&(e._uU(0),e.ALo(1,"date")),2&l){const m=e.oxw();e.hij("Next Time: ",e.xi3(1,1,m.semantic,"YYYY-MM-dd HH:mm:ss"),"")}}let Oe=(()=>{class l{constructor(){this.value="10 * * * *"}getValue(m){try{const f=(0,C.parseExpression)(m);this.semantic=f.next().toDate()}catch{return}}static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression-semantic"]],decls:3,vars:2,consts:[[3,"nzSemantic","ngModel","ngModelChange"],["semanticTemplate",""]],template:function(f,y){if(1&f&&(e.TgZ(0,"nz-cron-expression",0),e.NdJ("ngModelChange",function(G){return y.getValue(G)}),e.qZA(),e.YNc(1,St,2,4,"ng-template",null,1,e.W1O)),2&f){const E=e.MAs(2);e.Q6J("nzSemantic",E)("ngModel",y.value)}},dependencies:[h.JJ,h.On,ne,p.uU],encapsulation:2})}return l})();var ut=A(2987),ye=A(6869);const At=(l,J)=>J.value;function lt(l,J){if(1&l){const m=e.EpF();e.TgZ(0,"li",6),e.NdJ("click",function(){const E=e.CHM(m).$implicit,G=e.oxw(2);return e.KtG(G.setValue(E.value))}),e._uU(1),e.qZA()}if(2&l){const m=J.$implicit;e.Q6J("value",m.value),e.xp6(),e.Oqu(m.label)}}function Ut(l,J){if(1&l&&(e.TgZ(0,"button",2),e._uU(1," Shortcuts "),e._UZ(2,"span",3),e.qZA(),e.TgZ(3,"nz-dropdown-menu",null,4)(5,"ul",5),e.SjG(6,lt,2,2,"li",7,At),e.qZA()()),2&l){const m=e.MAs(4),f=e.oxw();e.Q6J("nzDropdownMenu",m),e.xp6(6),e.wJu(f.options)}}let ct=(()=>{class l{constructor(){this.value="1 1 * * *",this.cron="",this.options=[{label:"Every hour",value:"0 0-23/1 * * *"},{label:"Every day at eight",value:"0 8 * * *"},{label:"Every Friday",value:"0 0 * * 5"}]}setValue(m){this.value=m}getValue(m){this.cron=m}static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression-shortcuts"]],decls:5,vars:3,consts:[[3,"nzExtra","
1ngModel","ngModelChange"],["shortcuts",""],["nz-button","","nz-dropdown","",3,"nzDropdownMenu"],["nz-icon","","nzType","down"],["menu","nzDropdownMenu"],["nz-menu","","nzSelectable",""],["nz-menu-item","",3,"value","click"],["nz-menu-item","",3,"value"]],template:function(f,y){if(1&f&&(e.TgZ(0,"nz-cron-expression",0),e.NdJ("ngModelChange",function(G){return y.value=G})("ngModelChange",function(G){return y.getValue(G)}),e.qZA(),e.YNc(1,Ut,8,1,"ng-template",null,1,e.W1O),e.TgZ(3,"p"),e._uU(4),e.qZA()),2&f){const E=e.MAs(2);e.Q6J("nzExtra",E)("ngModel",y.value),e.xp6(4),e.hij("cron: ",y.cron," ")}},dependencies:[h.JJ,h.On,k.Ls,ne,ge.ix,Se.w,ut.dQ,ye.wO,ye.u9,ve.cm,ve.RR,ve.wA],encapsulation:2})}return l})(),dt=(()=>{class l{static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression-size"]],decls:4,vars:0,consts:[[1,"example-cron-expression"],["nzSize","small"],["nzSize","default"],["nzSize","large"]],template:function(f,y){1&f&&(e.TgZ(0,"div",0),e._UZ(1,"nz-cron-expression",1)(2,"nz-cron-expression",2)(3,"nz-cron-expression",3),e.qZA())},dependencies:[ne],styles:[".example-cron-expression[_ngcontent-%COMP%] nz-cron-expression[_ngcontent-%COMP%]{margin:0 8px 8px 0}"]})}return l})(),ft=(()=>{class l{static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression-type"]],decls:3,vars:0,consts:[[1,"example-cron-expression"],["nzType","linux"],["nzType","spring"]],template:function(f,y){1&f&&(e.TgZ(0,"div",0),e._UZ(1,"nz-cron-expression",1)(2,"nz-cron-expression",2),e.qZA())},dependencies:[ne],styles:[".example-cron-expression[_ngcontent-%COMP%] nz-cron-expression[_ngcontent-%COMP%]{margin:0 8px 8px 0}"]})}return l})(),mt=(()=>{class l{constructor(m){this.fb=m,this.validateForm=this.fb.group({userName:["cron-expression",[h.kI.required]],cronLinux:["* 1 * * *",[h.kI.required]],cronSpring:["0 * 1 * * *",[h.kI.required]]})}submitForm(){console.log(this.validateForm.value)}static#e=this.\u0275fac=function(f){return new(f||l)(e.Y36(h.qu))};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression-use"]],decls:20,vars:9,consts:[["nz-form","",3,"nzLayout","formGroup","ngSubmit"],[3,"nzSpan"],["nz-input","","formControlName","userName"],["formControlName","cronLinux"],["formControlName","cronSpring","nzType","spring"],["nz-button","","nzType","primary",3,"disabled"]],template:function(f,y){1&f&&(e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(){return y.submitForm()}),e.TgZ(1,"nz-form-item")(2,"nz-form-label",1),e._uU(3,"name"),e.qZA(),e.TgZ(4,"nz-form-control",1),e._UZ(5,"input",2),e.qZA()(),e.TgZ(6,"nz-form-item")(7,"nz-form-label",1),e._uU(8,"nz-cron-linux"),e.qZA(),e.TgZ(9,"nz-form-control",1),e._UZ(10,"nz-cron-expression",3),e.qZA()(),e.TgZ(11,"nz-form-item")(12,"nz-form-label",1),e._uU(13,"nz-cron-spring"),e.qZA(),e.TgZ(14,"nz-form-control",1),e._UZ(15,"nz-cron-expression",4),e.qZA()(),e.TgZ(16,"nz-form-item")(17,"nz-form-control")(18,"button",5),e._uU(19,"submit"),e.qZA()()()()),2&f&&(e.Q6J("nzLayout","vertical")("formGroup",y.validateForm),e.xp6(2),e.Q6J("nzSpan",6),e.xp6(2),e.Q6J("nzSpan",14),e.xp6(3),e.Q6J("nzSpan",6),e.xp6(2),e.Q6J("nzSpan",14),e.xp6(3),e.Q6J("nzSpan",6),e.xp6(2),e.Q6J("nzSpan",14),e.xp6(4),e.Q6J("disabled",!y.validateForm.valid))},dependencies:[h._Y,h.Fj,h.JJ,h.JL,h.sg,h.u,te.t3,te.SK,ne,de.Lr,de.Nx,de.iK,de.Fd,w.Zp,ge.ix,Se.w,ut.dQ],encapsulation:2})}return l})(),De=(()=>{class l{constructor(){this.expanded=!1}goLink(m){window&&(window.location.hash=m)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(m=>{m.nzExpanded=this.expanded,m.expandCode(this.expanded),m.check()})}static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression"]],viewQuery:function(f,y){if(1&f&&e.Gf(Ee.G,5),2&f){let E;e.iGM(E=e.CRH())&&(y.codeBoxes=E)}},decls:378,vars:36,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-cron-expression-demo-basic","nzTitle","\u57fa\u672c"],["nzHref","#components-cron-expression-demo-size","nzTitle","\u4e09\u79cd\u5927\u5c0f"],["nzHref","#components-cron-expression-demo-borderless","nzTitle","\u65e0\u8fb9\u6846"],["nzHref","#components-cron-expression-demo-type","nzTitle","\u4e24\u79cd\u89c4\u5219\u7c7b\u578b"],["nzHref","#components-cron-expression-demo-collapse","nzTitle","\u9690\u85cf\u6298\u53e0\u9762\u677f"],["nzHref","#components-cron-expression-demo-shortcuts","nzTitle","\u989d\u5916\u8282\u70b9"],["nzHref","#components-cron-expression-demo-semantic","nzTitle","\u81ea\u5b9a\u4e49\u6e32\u67d3 cron \u65f6\u95f4"],["nzHref","#components-cron-expression-demo-use","nzTitle","\u7ed3\u5408\u8868\u5355\u4f7f\u7528"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nz-icon","","nzType","edit"],[2,"border-color","#faad14"],["id","\u4f55\u65f6\u4f7f\u7528"],["onclick","window.location.hash = '\u4f55\u65f6\u4f7f\u7528'",1,"anchor"],["id","\u5f15\u5165\u6a21\u5757"],["onclick","window.location.hash = '\u5f15\u5165\u6a21\u5757'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5c55\u5f00\u5168\u90e8\u4ee3\u7801",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nzTitle","\u57fa\u672c","nzSelector","nz-demo-cron-expression-basic","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-basic <name>","nzComponentName","NzDemoCronExpressionBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u4e09\u79cd\u5927\u5c0f","nzSelector","nz-demo-cron-expression-size","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-size <name>","nzComponentName","NzDemoCronExpressionSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u65e0\u8fb9\u6846","nzSelector","nz-demo-cron-expression-borderless","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-borderless <name>","nzComponentName","NzDemoCronExpressionBorderlessComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u4e24\u79cd\u89c4\u5219\u7c7b\u578b","nzSelector","nz-demo-cron-expression-type","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-type <name>","nzComponentName","NzDemoCronExpressionTypeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u9690\u85cf\u6298\u53e0\u9762\u677f","nzSelector","nz-demo-cron-expression-collapse","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-collapse <name>","nzComponentName","NzDemoCronExpressionCollapseComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u989d\u5916\u8282\u70b9","nzSelector","nz-demo-cron-expression-shortcuts","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-shortcuts <name>","nzComponentName","NzDemoCronExpressionShortcutsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81ea\u5b9a\u4e49\u6e32\u67d3 cron \u65f6\u95f4","nzSelector","nz-demo-cron-expression-semantic","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-semantic <name>","nzComponentName","NzDemoCronExpressionSemanticComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u7ed3\u5408\u8868\u5355\u4f7f\u7528","nzSelector","nz-demo-cron-expression-use","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-use <name>","nzComponentName","NzDemoCronExpressionUseComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-sh"],[1,"token","operator"],["id","nz-cron-expression:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-cron-expression:standalone'",1,"anchor"],["id","\u6ce8\u610f"],["onclick","window.location.hash = '\u6ce8\u610f'",1,"anchor"],["id","\u652f\u6301\u683c\u5f0f"],["onclick","window.location.hash = '\u652f\u6301\u683c\u5f0f'",1,"anchor"],[1,"language-text"],[1,"token","number"]],template:function(f,y){1&f&&(e.TgZ(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.NdJ("nzClick",function(G){return y.goLink(G)}),e._UZ(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10),e.qZA()(),e.TgZ(12,"section",11)(13,"h1"),e._uU(14,"Cron Expression"),e.TgZ(15,"span",12),e._uU(16,"cron \u8868\u5355"),e.qZA(),e._UZ(17,"span",13),e.TgZ(18,"a",14),e._UZ(19,"span",15),e.qZA()(),e.TgZ(20,"section",11),e.IAx(),e.TgZ(21,"blockquote",16)(22,"p"),e._uU(23,"NG-ZORRO \u5b9e\u9a8c\u6027\u529f\u80fd\u662f\u6307\u5df2\u53d1\u5e03\u4f46\u4e0d\u7a33\u5b9a\u6216\u8005\u8fd8\u672a\u51c6\u5907\u597d\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u7684\u529f\u80fd\u3002"),e.qZA(),e.TgZ(24,"p"),e._uU(25,"\u5f00\u53d1\u8005\u6216\u7528\u6237\u53ef\u4ee5\u9009\u62e9\u5
1728\u6b63\u5f0f\u53d1\u5e03\u524d\u4f7f\u7528\u8fd9\u4e9b\u529f\u80fd\uff0c\u4f46\u662f\u6bcf\u6b21\u53d1\u5e03\u7248\u672c\u65f6\u90fd\u53ef\u80fd\u5b58\u5728 "),e.TgZ(26,"strong"),e._uU(27,"breaking changes"),e.qZA(),e._uU(28,"\u3002"),e.qZA()(),e.TgZ(29,"h2",17)(30,"span"),e._uU(31,"\u4f55\u65f6\u4f7f\u7528"),e.qZA(),e.TgZ(32,"a",18),e._uU(33,"#"),e.qZA()(),e.TgZ(34,"p"),e._uU(35,"\u9700\u8981\u5728\u8868\u5355\u4e2d\u4f7f\u7528 cron \u683c\u5f0f\u9a8c\u8bc1\u65f6\u4f7f\u7528\u3002"),e.qZA(),e.TgZ(36,"h3",19)(37,"span"),e._uU(38,"\u5f15\u5165\u6a21\u5757"),e.qZA(),e.TgZ(39,"a",20),e._uU(40,"#"),e.qZA()(),e.TgZ(41,"pre",21)(42,"code")(43,"span",22),e._uU(44,"import"),e.qZA(),e._uU(45," "),e.TgZ(46,"span",23),e._uU(47,"{"),e.qZA(),e._uU(48," NzCronExpressionModule "),e.TgZ(49,"span",23),e._uU(50,"}"),e.qZA(),e._uU(51," "),e.TgZ(52,"span",22),e._uU(53,"from"),e.qZA(),e._uU(54," "),e.TgZ(55,"span",24),e._uU(56,"'ng-zorro-antd/cron-expression'"),e.qZA(),e.TgZ(57,"span",23),e._uU(58,";"),e.qZA()()(),e.fQ9(),e.qZA(),e.TgZ(59,"h2")(60,"span"),e._uU(61,"\u4ee3\u7801\u6f14\u793a"),e.qZA(),e.TgZ(62,"span",25),e.NdJ("click",function(){return y.expandAllCode()}),e.qZA()()(),e.TgZ(63,"div",26)(64,"div",27)(65,"nz-code-box",28),e._UZ(66,"nz-demo-cron-expression-basic",29),e.TgZ(67,"div",30),e.IAx(),e.TgZ(68,"p"),e._uU(69,"\u6700\u7b80\u5355\u7684\u7528\u6cd5\u3002"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(70,"nz-code-box",31),e._UZ(71,"nz-demo-cron-expression-size",29),e.TgZ(72,"div",30),e.IAx(),e.TgZ(73,"p"),e._uU(74,"\u6211\u4eec\u4e3a "),e.TgZ(75,"code"),e._uU(76,"nz-cron-expression"),e.qZA(),e._uU(77," \u8f93\u5165\u6846\u5b9a\u4e49\u4e86\u4e09\u79cd\u5c3a\u5bf8\uff08\u5927\u3001\u9ed8\u8ba4\u3001\u5c0f\uff09\uff0c\u9ad8\u5ea6\u5206\u522b\u4e3a "),e.TgZ(78,"code"),e._uU(79,"40px"),e.qZA(),e._uU(80,"\u3001"),e.TgZ(81,"code"),e._uU(82,"32px"),e.qZA(),e._uU(83," \u548c "),e.TgZ(84,"code"),e._uU(85,"24px"),e.qZA(),e._uU(86,"\u3002"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(87,"nz-code-box",32),e._UZ(88,"nz-demo-cron-expression-borderless",29),e.TgZ(89,"div",30),e.IAx(),e.TgZ(90,"p"),e._uU(91,"\u6ca1\u6709\u8fb9\u6846"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(92,"nz-code-box",33),e._UZ(93,"nz-demo-cron-expression-type",29),e.TgZ(94,"div",30),e.IAx(),e.TgZ(95,"p"),e._uU(96,"\u6211\u4eec\u4e3a "),e.TgZ(97,"code"),e._uU(98,"nz-cron-expression"),e.qZA(),e._uU(99," \u8f93\u5165\u6846\u5b9a\u4e49\u4e86\u4e24\u79cd\u89c4\u5219\u7c7b\u578b\uff08\u4e94\u6bb5\u5f0f\uff0c \u516d\u6bb5\u5f0f\uff09\uff0c\u5206\u522b\u4e3a: "),e.TgZ(100,"code"),e._uU(101,'nzType="linux"'),e.qZA(),e._uU(102,"\u3001"),e.TgZ(103,"code"),e._uU(104,'nzType="spring"'),e.qZA(),e._uU(105,"\u3002"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(106,"nz-code-box",34),e._UZ(107,"nz-demo-cron-expression-collapse",29),e.TgZ(108,"div",30),e.IAx(),e.TgZ(109,"p")(110,"code"),e._uU(111,'[nzCollapseDisable]="true"'),e.qZA()(),e.fQ9(),e.qZA()(),e.TgZ(112,"nz-code-box",35),e._UZ(113,"nz-demo-cron-expression-shortcuts",29),e.TgZ(114,"div",30),e.IAx(),e.TgZ(115,"p"),e._uU(116,"\u4f60\u53ef\u4ee5\u901a\u8fc7 nzExtra \u6765\u6307\u5b9a\u53f3\u4fa7\u7684\u5185\u5bb9\u3002"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(117,"nz-code-box",36),e._UZ(118,"nz-demo-cron-expression-semantic",29),e.TgZ(119,"div",30),e.IAx(),e.TgZ(120,"p"),e._uU(121,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u4e0b\u6b21\u6267\u884c\u65f6\u95f4"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(122,"nz-code-box",37),e._UZ(123,"nz-demo-cron-expression-use",29),e.TgZ(124,"div",30),e.IAx(),e.TgZ(125,"p")(126,"code"),e._uU(127,'<nz-cron-expression formControlName="cron"></nz-cron-expression>'),e.qZA()(),e.fQ9(),e.qZA()()()(),e.TgZ(128,"section",38),e.IAx(),e.TgZ(129,"h2",39)(130,"span"),e._uU(131,"API"),e.qZA(),e.TgZ(132,"a",40),e._uU(133,"#"),e.qZA()(),e.TgZ(134,"p"),e._uU(135,"\u522b\u5fd8\u8bb0\u5148\u5b89\u88c5 cron-parser\uff1a"),e.qZA(),e.TgZ(136,"pre",41)(137,"code"),e._uU(138,"npm install cron"),e.TgZ(139,"span",42),e._uU(140,"-"),e.qZA(),e._uU(141,"parser"),e.qZA()(),e.TgZ(142,"h3",43)(143,"span"),e._uU(144,"nz-cron-expression"),e.qZA(),e.TgZ(145,"label",44),e._uU(146,"component"),e.qZA(),e.TgZ(147,"label",45),e._uU(148,"standalone"),e.qZA(),e.TgZ(149,"a",46),e._uU(150,"#"),e.qZA()(),e.TgZ(151,"table")(152,"thead")(153,"tr")(154,"th"),e._uU(155,"\u53c2\u6570"),e.qZA(),e.TgZ(156,"th"),e._uU(157,"\u8bf4\u660e"),e.qZA(),e.TgZ(158,"th"),e._uU(159,"\u7c7b\u578b"),e.qZA(),e.TgZ(160,"th"),e._uU(161,"\u9ed8\u8ba4\u503c"),e.qZA()()(),e.TgZ(162,"tbody")(163,"tr")(164,"td")(165,"code"),e._uU(166,"[nzType]"),e.qZA()(),e.TgZ(167,"td"),e._uU(168,"cron \u89c4\u5219\u7c7b\u578b"),e.qZA(),e.TgZ(169,"td")(170,"code"),e._uU(171,"'linux'\uff5c'spring'"),e.qZA()(),e.TgZ(172,"td")(173,"code"),e._uU(174,"linux"),e.qZA()()(),e.TgZ(175,"tr")(176,"td")(177,"code"),e._uU(178,"[nzSize]"),e.qZA()(),e.TgZ(179,"td"),e._uU(180,"\u8bbe\u7f6e\u8f93\u5165\u6846\u5927\u5c0f"),e.qZA(),e.TgZ(181,"td")(182,"code"),e._uU(183,"'large'\uff5c'small'\uff5c'default'"),e.qZA()(),e.TgZ(184,"td")(185,"code"),e._uU(186,"default"),e.qZA()()(),e.TgZ(187,"tr")(188,"td")(189,"code"),e._uU(190,"[nzDisabled]"),e.qZA()(),e.TgZ(191,"td"),e._uU(192,"\u7981\u7528"),e.qZA(),e.TgZ(193,"td")(194,"code"),e._uU(195,"boolean"),e.qZA()(),e.TgZ(196,"td")(197,"code"),e._uU(198,"false"),e.qZA()()(),e.TgZ(199,"tr")(200,"td")(201,"code"),e._uU(202,"[nzBorderless]"),e.qZA()(),e.TgZ(203,"td"),e._uU(204,"\u662f\u5426\u9690\u85cf\u8fb9\u6846"),e.qZA(),e.TgZ(205,"td")(206,"code"),e._uU(207,"boolean"),e.qZA()(),e.TgZ(208,"td")(209,"code"),e._uU(210,"false"),e.qZA()()(),e.TgZ(211,"tr")(212,"td")(213,"code"),e._uU(214,"[nzCollapseDisable]"),e.qZA()(),e.TgZ(215,"td"),e._uU(216,"\u9690\u85cf\u6298\u53e0\u9762\u677f"),e.qZA(),e.TgZ(217,"td")(218,"code"),e._uU(219,"boolean"),e.qZA()(),e.TgZ(220,"td")(221,"code"),e._uU(222,"false"),e.qZA()()(),e.TgZ(223,"tr")(224,"td")(225,"code"),e._uU(226,"[nzExtra]"),e.qZA()(),e.TgZ(227,"td"),e._uU(228,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u53f3\u4fa7\u7684\u5185\u5bb9"),e.qZA(),e.TgZ(229,"td")(230,"code"),e._uU(231,"TemplateRef<void>"),e.qZA()(),e.TgZ(232,"td"),e._uU(233,"-"),e.qZA()(),e.TgZ(234,"tr")(235,"td")(236,"code"),e._uU(237,"[nzSemantic]"),e.qZA()(),e.TgZ(238,"td"),e._uU(239,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u4e0b\u6b21\u6267\u884c\u65f6\u95f4"),e.qZA(),e.TgZ(240,"td")(241,"code"),e._uU(242,"TemplateRef<void>"),e.qZA()(),e.TgZ(243,"td"),e._uU(244,"-"),e.qZA()()()(),e.TgZ(245,"h2",47)(246,"span"),e._uU(247,"\u6ce8\u610f"),e.qZA(),e.TgZ(248,"a",48),e._uU(249,"#"),e.qZA()(),e.TgZ(250,"h3",49)(251,"span"),e._uU(252,"\u652f\u6301\u683c\u5f0f"),e.qZA(),e.TgZ(253,"a",50),e._uU(254,"#"),e.qZA()(),e.TgZ(255,"pre",51)(256,"code")(257,"span",42),e._uU(258,"*"),e.qZA(),e._uU(259," "),e.TgZ(260,"span",42),e._uU(261,"*"),e.qZA(),e._uU(262," "),e.TgZ(263,"span",42),e._uU(264,"*"),e.qZA(),e._uU(265," "),e.TgZ(266,"span",42),e._uU(267,"*"),e.qZA(),e._uU(268," "),e.TgZ(269,"span",42),e._uU(270,"*"),e.qZA(),e._uU(271," "),e.TgZ(272,"span",42),e._uU(273,"*"),e.qZA(),e._uU(274,"\n\u252c \u252c \u252c \u252c \u252c \u252c\n\u2502 \u2502 \u2502 \u2502 \u2502 |\n\u2502 \u2502 \u2502 \u2502 \u2502 \u2514 day of week "),e.TgZ(275,"span",23),e._uU(276,"("),e.qZA(),e.TgZ(277,"span",52),e._uU(278,"0"),e.qZA(),e._uU(279," "),e.TgZ(280,"span",42),e._uU(281,"-"),e.qZA(),e._uU(282," "),e.TgZ(283,"span",52),e._uU(284,"7"),e.qZA(),e.TgZ(285,"span",23),e._uU(286,","),e.qZA(),e._uU(287," 1L "),e.TgZ(288,"span",42),e._uU(289,"-"),e.qZA(),e._uU(290," 7L"),e.TgZ(291,"span",23),e._uU(292,")"),e.qZA(),e._uU(293," "),e.TgZ(294,"span",23),e._uU(295,"("),e.qZA(),e.TgZ(296,"span",52),e._uU(297,"0"),e.qZA(),e._uU(298," "),e.TgZ(299,"span",42),e._uU(300,"or"),e.qZA(),e._uU(301," "),e.TgZ(302,"span",52),e._uU(303,"7"),e.qZA(),e._uU(304," is Sun"),e.TgZ(305,"span",23),e._uU(306,")"),e.qZA(),e._uU(307,"\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500 month "),e.TgZ(308,"span",23),e._uU(309,"("),e.qZA(),e.TgZ(310,"span",52),e._uU(311,"1"),e.qZA(),e._uU(312," "),e.TgZ(313,"span",42),e._uU(314,"-"),e.qZA(),e._uU(315," "),e.TgZ(316,"span",52),e._uU(317,"12"),e.qZA(),e.TgZ(318,"span",23),e._uU(319,")"),e.qZA(),e._uU(320,"\n\u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 day of month "),e.TgZ(321,"span",23),e._uU(322,"("),e.qZA(),e.TgZ(323,"span",52),e._uU(324,"1"),e.qZA(),e._uU(325," "),e.TgZ(326,"span",42),e._uU(327,"-"),e.qZA(),e._uU(328," "),e.TgZ(329,"span",52),e._uU(330,"31"),e.qZA(),e.TgZ(331,"span",23),e._uU(332,","),e.qZA(),e._uU(333," L"),e.TgZ(334,"span",23),e._uU(335,")"),e.qZA(),e._uU(336,"\n\u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 hour "),e.TgZ(337,"span",23),e._uU(338,"("),e.qZA(),e.TgZ(339,"span",52),e._uU(340,"0"),e.qZA(),e._uU(341," "),e.TgZ(342,"span",42),e._uU(343,"-"),e.qZA(),e._uU(344," "),e.TgZ(345,"span",52),e._uU(346,"23"),e.qZA(),e.TgZ(347,"span",23),e._uU(348,")"),e.qZA(),e._uU(349,"\n\u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 minute "),e.TgZ(350,"span",23),e._uU(351,"("),e.qZA(),e.TgZ(352,"span",52),e._uU(353,"0"),e.qZA(),e._uU(354," "),e.TgZ(355,"span",42),e._uU(356,"-"),e.qZA(),e._uU(357," "),e.TgZ(358,"span",52),e._uU(359,"59"),e.qZA(),e.TgZ(360,"span",23),e._uU(361,")"),e.qZA(),e._uU(362,"\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 second "),e.TgZ(363,"span",23),e._uU(364,"("),e.qZA(),e.TgZ(365,"span",52),e._uU(366,"0"),e.qZA(),e._uU(367," "),e.TgZ(368,"span",42),e._uU(369,"-"),e.qZA(),e._uU(370," "),e.TgZ(371,"span",52),e._uU(372,"59"),e.qZA(),e.TgZ(373,"span",23),e._uU(374,","),e.qZA(),e._uU(375," optional"),e.TgZ(376,"span",23),e._uU(377,")"),e.qZA()()(),e.fQ9(),e.qZA()()),2&f&&(e.xp6(),e.Q6J("nzOffsetTop",16),e.xp6(),e.Q6J("nzAffix",!1),e.xp6(61),e.Q6J("nzGutter",8),e.xp6(),e.Q6J("nzSpan",24),e.xp6(),e.Q6J("nzId","components-cron-expression-demo-basic")("nzLink","components-cron-expression-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/basic.md"),e.xp6(5),e.Q6J("nzId","components-cron-expression-demo-size")("nzLink","components-cron-expression-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/size.md"),e.xp6(17),e.Q6J("nzId","components-cron-expression-demo-borderless")("nzLink","components-cron-expression-demo-borderless")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/borderless.md"),e.xp6(5),e.Q6J("nzId","components-cron-expression-demo-type")("nzLink","components-cron-expression-demo-type")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/type.md"),e.xp6(14),e.Q6J("nzId","components-cron-expression-demo-collapse")("nzLink","components-cron-expression-demo-collapse")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/collapse.md"),e.xp6(6),e.Q6J("nzId","components-cron-expression-demo-shortcuts")("nzLink","components-cron-expression-demo-shortcuts")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/shortcuts.md"),e.xp6(5),e.Q6J("nzId","components-cron-expression-demo-semantic")("nzLink","components-cron-expression-demo-semantic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/semantic.md"),e.xp6(5),e.Q6J("nzId","components-cron-expression-demo-use")("nzLink","components-cron-expression-demo-use")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/use.md"))},dependencies:[Ee.G,ke.IT,ke.Fp,_e.$,te.t3,te.SK,Pe.SY,k.Ls,Se.w,Ae,Ue,Ne,Oe,ct,dt,ft,mt],encapsulation:2})}return l})(),Nt=(()=>{class l{constructor(){this.expanded=!1}goLink(m){window&&(window.location.hash=m)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEac
1h(m=>{m.nzExpanded=this.expanded,m.expandCode(this.expanded),m.check()})}static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275cmp=e.Xpm({type:l,selectors:[["nz-demo-cron-expression"]],viewQuery:function(f,y){if(1&f&&e.Gf(Ee.G,5),2&f){let E;e.iGM(E=e.CRH())&&(y.codeBoxes=E)}},decls:375,vars:36,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-cron-expression-demo-basic","nzTitle","Basic"],["nzHref","#components-cron-expression-demo-size","nzTitle","Three sizes of Input"],["nzHref","#components-cron-expression-demo-borderless","nzTitle","Borderless"],["nzHref","#components-cron-expression-demo-type","nzTitle","Two rule types"],["nzHref","#components-cron-expression-demo-collapse","nzTitle","Hide Collapse"],["nzHref","#components-cron-expression-demo-shortcuts","nzTitle","Extra Node"],["nzHref","#components-cron-expression-demo-semantic","nzTitle","Custom rendering cron time"],["nzHref","#components-cron-expression-demo-use","nzTitle","Basic"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nz-icon","","nzType","edit"],[2,"border-color","#faad14"],["id","when-to-use"],["onclick","window.location.hash = 'when-to-use'",1,"anchor"],["id","import-module"],["onclick","window.location.hash = 'import-module'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nzTitle","Basic","nzSelector","nz-demo-cron-expression-basic","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-basic <name>","nzComponentName","NzDemoCronExpressionBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Three sizes of Input","nzSelector","nz-demo-cron-expression-size","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-size <name>","nzComponentName","NzDemoCronExpressionSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Borderless","nzSelector","nz-demo-cron-expression-borderless","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-borderless <name>","nzComponentName","NzDemoCronExpressionBorderlessComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Two rule types","nzSelector","nz-demo-cron-expression-type","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-type <name>","nzComponentName","NzDemoCronExpressionTypeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Hide Collapse","nzSelector","nz-demo-cron-expression-collapse","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-collapse <name>","nzComponentName","NzDemoCronExpressionCollapseComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Extra Node","nzSelector","nz-demo-cron-expression-shortcuts","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-shortcuts <name>","nzComponentName","NzDemoCronExpressionShortcutsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Custom rendering cron time","nzSelector","nz-demo-cron-expression-semantic","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-semantic <name>","nzComponentName","NzDemoCronExpressionSemanticComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Basic","nzSelector","nz-demo-cron-expression-use","nzGenerateCommand","ng g ng-zorro-antd:cron-expression-use <name>","nzComponentName","NzDemoCronExpressionUseComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-sh"],[1,"token","operator"],["id","nz-cron-expression:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-cron-expression:standalone'",1,"anchor"],["id","note"],["onclick","window.location.hash = 'note'",1,"anchor"],["id","supp
1orted-format"],["onclick","window.location.hash = 'supported-format'",1,"anchor"],[1,"language-text"],[1,"token","number"]],template:function(f,y){1&f&&(e.TgZ(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.NdJ("nzClick",function(G){return y.goLink(G)}),e._UZ(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10),e.qZA()(),e.TgZ(12,"section",11)(13,"h1"),e._uU(14,"Cron Expression"),e.TgZ(15,"span",12),e._uU(16,"cron form"),e.qZA(),e._UZ(17,"span",13),e.TgZ(18,"a",14),e._UZ(19,"span",15),e.qZA()(),e.TgZ(20,"section",11),e.IAx(),e.TgZ(21,"blockquote",16)(22,"p"),e._uU(23,"NG-ZORRO experiments are features that are released but not yet considered stable or production ready"),e.qZA(),e.TgZ(24,"p"),e._uU(25,"Developers and users can opt-in into these features before they are fully released. But "),e.TgZ(26,"strong"),e._uU(27,"breaking changes"),e.qZA(),e._uU(28," may occur with any release."),e.qZA()(),e.TgZ(29,"h2",17)(30,"span"),e._uU(31,"When To Use"),e.qZA(),e.TgZ(32,"a",18),e._uU(33,"#"),e.qZA()(),e.TgZ(34,"p"),e._uU(35,"When you want to use cron in Angular."),e.qZA(),e.TgZ(36,"h3",19)(37,"span"),e._uU(38,"Import Module"),e.qZA(),e.TgZ(39,"a",20),e._uU(40,"#"),e.qZA()(),e.TgZ(41,"pre",21)(42,"code")(43,"span",22),e._uU(44,"import"),e.qZA(),e._uU(45," "),e.TgZ(46,"span",23),e._uU(47,"{"),e.qZA(),e._uU(48," NzCronExpressionModule "),e.TgZ(49,"span",23),e._uU(50,"}"),e.qZA(),e._uU(51," "),e.TgZ(52,"span",22),e._uU(53,"from"),e.qZA(),e._uU(54," "),e.TgZ(55,"span",24),e._uU(56,"'ng-zorro-antd/cron-expression'"),e.qZA(),e.TgZ(57,"span",23),e._uU(58,";"),e.qZA()()(),e.fQ9(),e.qZA(),e.TgZ(59,"h2")(60,"span"),e._uU(61,"Examples"),e.qZA(),e.TgZ(62,"span",25),e.NdJ("click",function(){return y.expandAllCode()}),e.qZA()()(),e.TgZ(63,"div",26)(64,"div",27)(65,"nz-code-box",28),e._UZ(66,"nz-demo-cron-expression-basic",29),e.TgZ(67,"div",30),e.IAx(),e.TgZ(68,"p"),e._uU(69,"The simplest usage."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(70,"nz-code-box",31),e._UZ(71,"nz-demo-cron-expression-size",29),e.TgZ(72,"div",30),e.IAx(),e.TgZ(73,"p"),e._uU(74,"There are three sizes of an CronExpression box: "),e.TgZ(75,"code"),e._uU(76,"large"),e.qZA(),e._uU(77," (40px)\u3001"),e.TgZ(78,"code"),e._uU(79,"default"),e.qZA(),e._uU(80," (32px) and "),e.TgZ(81,"code"),e._uU(82,"small"),e.qZA(),e._uU(83," (24px)."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(84,"nz-code-box",32),e._UZ(85,"nz-demo-cron-expression-borderless",29),e.TgZ(86,"div",30),e.IAx(),e.TgZ(87,"p"),e._uU(88,"No bezel."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(89,"nz-code-box",33),e._UZ(90,"nz-demo-cron-expression-type",29),e.TgZ(91,"div",30),e.IAx(),e.TgZ(92,"p"),e._uU(93,"There are two rule types of an CronExpression box: "),e.TgZ(94,"code"),e._uU(95,'nzType="linux"'),e.qZA(),e._uU(96," (five-segment) and"),e.TgZ(97,"code"),e._uU(98,'nzType="spring"'),e.qZA(),e._uU(99," (six-segment)."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(100,"nz-code-box",34),e._UZ(101,"nz-demo-cron-expression-collapse",29),e.TgZ(102,"div",30),e.IAx(),e.TgZ(103,"p")(104,"code"),e._uU(105,'[nzCollapseDisable]="true"'),e.qZA()(),e.fQ9(),e.qZA()(),e.TgZ(106,"nz-code-box",35),e._UZ(107,"nz-demo-cron-expression-shortcuts",29),e.TgZ(108,"div",30),e.IAx(),e.TgZ(109,"p"),e._uU(110,"You can use nzExtra to specify the content on the right."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(111,"nz-code-box",36),e._UZ(112,"nz-demo-cron-expression-semantic",29),e.TgZ(113,"div",30),e.IAx(),e.TgZ(114,"p"),e._uU(115,"Custom rendering next execution time."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(116,"nz-code-box",37),e._UZ(117,"nz-demo-cron-expression-use",29),e.TgZ(118,"div",30),e.IAx(),e.TgZ(119,"p")(120,"code"),e._uU(121,'<nz-cron-expression formControlName="cron"></nz-cron-expression>'),e.qZA()(),e.fQ9(),e.qZA()()()(),e.TgZ(122,"section",38),e.IAx(),e.TgZ(123,"h2",39)(124,"span"),e._uU(125,"API"),e.qZA(),e.TgZ(126,"a",40),e._uU(127,"#"),e.qZA()(),e.TgZ(128,"p"),e._uU(129,"Install "),e.TgZ(130,"code"),e._uU(131,"cron-parser"),e.qZA(),e._uU(132," in your project first:"),e.qZA(),e.TgZ(133,"pre",41)(134,"code"),e._uU(135,"npm install cron"),e.TgZ(136,"span",42),e._uU(137,"-"),e.qZA(),e._uU(138,"parser"),e.qZA()(),e.TgZ(139,"h3",43)(140,"span"),e._uU(141,"nz-cron-expression"),e.qZA(),e.TgZ(142,"label",44),e._uU(143,"component"),e.qZA(),e.TgZ(144,"label",45),e._uU(145,"standalone"),e.qZA(),e.TgZ(146,"a",46),e._uU(147,"#"),e.qZA()(),e.TgZ(148,"table")(149,"thead")(150,"tr")(151,"th"),e._uU(152,"Parameter"),e.qZA(),e.TgZ(153,"th"),e._uU(154,"Description"),e.qZA(),e.TgZ(155,"th"),e._uU(156,"Type"),e.qZA(),e.TgZ(157,"th"),e._uU(158,"Default"),e.qZA()()(),e.TgZ(159,"tbody")(160,"tr")(161,"td")(162,"code"),e._uU(163,"[nzType]"),e.qZA()(),e.TgZ(164,"td"),e._uU(165,"Cron rule type"),e.qZA(),e.TgZ(166,"td")(167,"code"),e._uU(168,"'linux'\uff5c'spring'"),e.qZA()(),e.TgZ(169,"td")(170,"code"),e._uU(171,"linux"),e.qZA()()(),e.TgZ(172,"tr")(173,"td")(174,"code"),e._uU(175,"[nzDisabled]"),e.qZA()(),e.TgZ(176,"td"),e._uU(177,"Disable"),e.qZA(),e.TgZ(178,"td")(179,"code"),e._uU(180,"boolean"),e.qZA()(),e.TgZ(181,"td")(182,"code"),e._uU(183,"false"),e.qZA()()(),e.TgZ(184,"tr")(185,"td")(186,"code"),e._uU(187,"[nzBorderless]"),e.qZA()(),e.TgZ(188,"td"),e._uU(189,"Whether to hide the border"),e.qZA(),e.TgZ(190,"td")(191,"code"),e._uU(192,"boolean"),e.qZA()(),e.TgZ(193,"td")(194,"code"),e._uU(195,"false"),e.qZA()()(),e.TgZ(196,"tr")(197,"td")(198,"code"),e._uU(199,"[nzSize]"),e.qZA()(),e.TgZ(200,"td"),e._uU(201,"The size of the input box."),e.qZA(),e.TgZ(202,"td")(203,"code"),e._uU(204,"'large'\uff5c'small'\uff5c'default'"),e.qZA()(),e.TgZ(205,"td")(206,"code"),e._uU(207,"default"),e.qZA()()(),e.TgZ(208,"tr")(209,"td")(210,"code"),e._uU(211,"[nzCollapseDisable]"),e.qZA()(),e.TgZ(212,"td"),e._uU(213,"Hide collapse"),e.qZA(),e.TgZ(214,"td")(215,"code"),e._uU(216,"boolean"),e.qZA()(),e.TgZ(217,"td")(218,"code"),e._uU(219,"false"),e.qZA()()(),e.TgZ(220,"tr")(221,"td")(222,"code"),e._uU(223,"[nzExtra]"),e.qZA()(),e.TgZ(224,"td"),e._uU(225,"Render the content on the right"),e.qZA(),e.TgZ(226,"td")(227,"code"),e._uU(228,"TemplateRef<void>"),e.qZA()(),e.TgZ(229,"td"),e._uU(230,"-"),e.qZA()(),e.TgZ(231,"tr")(232,"td")(233,"code"),e._uU(234,"[nzSemantic]"),e.qZA()(),e.TgZ(235,"td"),e._uU(236,"Custom rendering next execution time"),e.qZA(),e.TgZ(237,"td")(238,"code"),e._uU(239,"TemplateRef<void>"),e.qZA()(),e.TgZ(240,"td"),e._uU(241,"-"),e.qZA()()()(),e.TgZ(242,"h2",47)(243,"span"),e._uU(244,"Note"),e.qZA(),e.TgZ(245,"a",48),e._uU(246,"#"),e.qZA()(),e.TgZ(247,"h3",49)(248,"span"),e._uU(249,"Supported format"),e.qZA(),e.TgZ(250,"a",50),e._uU(251,"#"),e.qZA()(),e.TgZ(252,"pre",51)(253,"code")(254,"span",42),e._uU(255,"*"),e.qZA(),e._uU(256," "),e.TgZ(257,"span",42),e._uU(258,"*"),e.qZA(),e._uU(259," "),e.TgZ(260,"span",42),e._uU(261,"*"),e.qZA(),e._uU(262," "),e.TgZ(263,"span",42),e._uU(264,"*"),e.qZA(),e._uU(265," "),e.TgZ(266,"span",42),e._uU(267,"*"),e.qZA(),e._uU(268," "),e.TgZ(269,"span",42),e._uU(270,"*"),e.qZA(),e._uU(271,"\n\u252c \u252c \u252c \u252c \u252c \u252c\n\u2502 \u2502 \u2502 \u2502 \u2502 |\n\u2502 \u2502 \u2502 \u2502 \u2502 \u2514 day of week "),e.TgZ(272,"span",23),e._uU(273,"("),e.qZA(),e.TgZ(274,"span",52),e._uU(275,"0"),e.qZA(),e._uU(276," "),e.TgZ(277,"span",42),e._uU(278,"-"),e.qZA(),e._uU(279," "),e.TgZ(280,"span",52),e._uU(281,"7"),e.qZA(),e.TgZ(282,"span",23),e._uU(283,","),e.qZA(),e._uU(284," 1L "),e.TgZ(285,"span",42),e._uU(286,"-"),e.qZA(),e._uU(287," 7L"),e.TgZ(288,"span",23),e._uU(289,")"),e.qZA(),e._uU(290," "),e.TgZ(291,"span",23),e._uU(292,"("),e.qZA(),e.TgZ(293,"span",52),e._uU(294,"0"),e.qZA(),e._uU(295," "),e.TgZ(296,"span",42),e._uU(297,"or"),e.qZA(),e._uU(298," "),e.TgZ(299,"span",52),e._uU(300,"7"),e.qZA(),e._uU(301," is Sun"),e.TgZ(302,"span",23),e._uU(303,")"),e.qZA(),e._uU(304,"\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500 month "),e.TgZ(305,"span",23),e._uU(306,"("),e.qZA(),e.TgZ(307,"span",52),e._uU(308,"1"),e.qZA(),e._uU(309," "),e.TgZ(310,"span",42),e._uU(311,"-"),e.qZA(),e._uU(312," "),e.TgZ(313,"span",52),e._uU(314,"12"),e.qZA(),e.TgZ(315,"span",23),e._uU(316,")"),e.qZA(),e._uU(317,"\n\u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 day of month "),e.TgZ(318,"span",23),e._uU(319,"("),e.qZA(),e.TgZ(320,"span",52),e._uU(321,"1"),e.qZA(),e._uU(322," "),e.TgZ(323,"span",42),e._uU(324,"-"),e.qZA(),e._uU(325," "),e.TgZ(326,"span",52),e._uU(327,"31"),e.qZA(),e.TgZ(328,"span",23),e._uU(329,","),e.qZA(),e._uU(330," L"),e.TgZ(331,"span",23),e._uU(332,")"),e.qZA(),e._uU(333,"\n\u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 hour "),e.TgZ(334,"span",23),e._uU(335,"("),e.qZA(),e.TgZ(336,"span",52),e._uU(337,"0"),e.qZA(),e._uU(338," "),e.TgZ(339,"span",42),e._uU(340,"-"),e.qZA(),e._uU(341," "),e.TgZ(342,"span",52),e._uU(343,"23"),e.qZA(),e.TgZ(344,"span",23),e._uU(345,")"),e.qZA(),e._uU(346,"\n\u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 minute "),e.TgZ(347,"span",23),e._uU(348,"("),e.qZA(),e.TgZ(349,"span",52),e._uU(350,"0"),e.qZA(),e._uU(351," "),e.TgZ(352,"span",42),e._uU(353,"-"),e.qZA(),e._uU(354," "),e.TgZ(355,"span",52),e._uU(356,"59"),e.qZA(),e.TgZ(357,"span",23),e._uU(358,")"),e.qZA(),e._uU(359,"\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 second "),e.TgZ(360,"span",23),e._uU(361,"("),e.qZA(),e.TgZ(362,"span",52),e._uU(363,"0"),e.qZA(),e._uU(364," "),e.TgZ(365,"span",42),e._uU(366,"-"),e.qZA(),e._uU(367," "),e.TgZ(368,"span",52),e._uU(369,"59"),e.qZA(),e.TgZ(370,"span",23),e._uU(371,","),e.qZA(),e._uU(372," optional"),e.TgZ(373,"span",23),e._uU(374,")"),e.qZA()()(),e.fQ9(),e.qZA()()),2&f&&(e.xp6(),e.Q6J("nzOffsetTop",16),e.xp6(),e.Q6J("nzAffix",!1),e.xp6(61),e.Q6J("nzGutter",8),e.xp6(),e.Q6J("nzSpan",24),e.xp6(),e.Q6J("nzId","components-cron-expression-demo-basic")("nzLink","components-cron-expression-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/basic.md"),e.xp6(5),e.Q6J("nzId","components-cron-expression-demo-size")("nzLink","components-cron-expression-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/size.md"),e.xp6(14),e.Q6J("nzId","components-cron-expression-demo-borderless")("nzLink","components-cron-expression-demo-borderless")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/borderless.md"),e.xp6(5),e.Q6J("nzId","components-cron-expression-demo-type")("nzLink","components-cron-expression-demo-type")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/type.md"),e.xp6(11),e.Q6J("nzId","components-cron-expression-demo-collapse")("nzLink","components-cron-expression-demo-collapse")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/collapse.md"),e.xp6(6),e.Q6J("nzId","components-cron-expression-demo-shortcuts")("nzLink","components-cron-expression-demo-shortcuts")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/shortcuts.md"),e.xp6(5),e.Q6J("nzId","components-cron-expression-demo-semantic")("nzLink","components-cron-expression-demo-semantic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/semantic.md"),e.xp6(5),e.Q6J("nzId","components-cron-expression-demo-use")("nzLink","components-cron-expression-demo-use")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/cron-expression/demo/use.md"))},dependencies:[Ee.G,ke.IT,ke.Fp,_e.$,te.t3,te.SK,Pe.SY,k.Ls,Se.w,Ae,Ue,Ne,Oe,ct,dt,ft,mt],encapsulation:2})}return l})(),Ot=(()=>{class l{static#e=this.\u0275fac=function(f){return new(f||l)};static#t=this.\u0275mod=e.oAB({type:l});static#n=this.\u0275inj=e.cJS({imports:[Z.G,kt,L.Bz.forChild([{path:"en",component:Nt},{path:"zh",component:De}])]})}return l})()},92:(le,W,A)=>{"use strict";var L=A(9030);function Z(z,p){var e={zone:p};if(z?z instanceof Z?this._date=z._date:z instanceof Date?this._date=L.DateTime.fromJSDate(z,e):"number"==typeof z?this._date=L.DateTime.fromMillis(z,e):"string"==typeof z&&(this._date=L.DateTime.fromISO(z,e),this._date.isValid||(this._date=L.DateTime.fromRFC2822(z,e)),this._date.isValid||(this._date=L.DateTime.fromSQL(z,e)),this._date.isValid||(this._date=L.DateTime.fromFormat(z,"EEE, d MMM yyyy HH:mm:ss",e))):this._date=L.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(z));
1p&&p!==this._date.zoneName&&(this._date=this._date.setZone(p))}Z.prototype.addYear=function(){this._date=this._date.plus({years:1})},Z.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")},Z.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")},Z.prototype.addHour=function(){var z=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=z&&(this._date=this._date.plus({hours:1}))},Z.prototype.addMinute=function(){var z=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date<z&&(this._date=this._date.plus({hours:1}))},Z.prototype.addSecond=function(){var z=this._date;this._date=this._date.plus({seconds:1}).startOf("second"),this._date<z&&(this._date=this._date.plus({hours:1}))},Z.prototype.subtractYear=function(){this._date=this._date.minus({years:1})},Z.prototype.subtractMonth=function(){this._date=this._date.minus({months:1}).endOf("month").startOf("second")},Z.prototype.subtractDay=function(){this._date=this._date.minus({days:1}).endOf("day").startOf("second")},Z.prototype.subtractHour=function(){var z=this._date;this._date=this._date.minus({hours:1}).endOf("hour").startOf("second"),this._date>=z&&(this._date=this._date.minus({hours:1}))},Z.prototype.subtractMinute=function(){var z=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>z&&(this._date=this._date.minus({hours:1}))},Z.prototype.subtractSecond=function(){var z=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>z&&(this._date=this._date.minus({hours:1}))},Z.prototype.getDate=function(){return this._date.day},Z.prototype.getFullYear=function(){return this._date.year},Z.prototype.getDay=function(){var z=this._date.weekday;return 7==z?0:z},Z.prototype.getMonth=function(){return this._date.month-1},Z.prototype.getHours=function(){return this._date.hour},Z.prototype.getMinutes=function(){return this._date.minute},Z.prototype.getSeconds=function(){return this._date.second},Z.prototype.getMilliseconds=function(){return this._date.millisecond},Z.prototype.getTime=function(){return this._date.valueOf()},Z.prototype.getUTCDate=function(){return this._getUTC().day},Z.prototype.getUTCFullYear=function(){return this._getUTC().year},Z.prototype.getUTCDay=function(){var z=this._getUTC().weekday;return 7==z?0:z},Z.prototype.getUTCMonth=function(){return this._getUTC().month-1},Z.prototype.getUTCHours=function(){return this._getUTC().hour},Z.prototype.getUTCMinutes=function(){return this._getUTC().minute},Z.prototype.getUTCSeconds=function(){return this._getUTC().second},Z.prototype.toISOString=function(){return this._date.toUTC().toISO()},Z.prototype.toJSON=function(){return this._date.toJSON()},Z.prototype.setDate=function(z){this._date=this._date.set({day:z})},Z.prototype.setFullYear=function(z){this._date=this._date.set({year:z})},Z.prototype.setDay=function(z){this._date=this._date.set({weekday:z})},Z.prototype.setMonth=function(z){this._date=this._date.set({month:z+1})},Z.prototype.setHours=function(z){this._date=this._date.set({hour:z})},Z.prototype.setMinutes=function(z){this._date=this._date.set({minute:z})},Z.prototype.setSeconds=function(z){this._date=this._date.set({second:z})},Z.prototype.setMilliseconds=function(z){this._date=this._date.set({millisecond:z})},Z.prototype._getUTC=function(){return this._date.toUTC()},Z.prototype.toString=function(){return this.toDate().toString()},Z.prototype.toDate=function(){return this._date.toJSDate()},Z.prototype.isLastDayOfMonth=function(){var z=this._date.plus({days:1}).startOf("day");return this._date.month!==z.month},Z.prototype.isLastWeekdayOfMonth=function(){var z=this._date.plus({days:7}).startOf("day");return this._date.month!==z.month},le.exports=Z},2118:(le,W,A)=>{"use strict";var L=A(92),Z=A(279);function p(e,h){this._options=h,this._utc=h.utc||!1,this._tz=this._utc?"UTC":h.tz,this._currentDate=new L(h.currentDate,this._tz),this._startDate=h.startDate?new L(h.startDate,this._tz):null,this._endDate=h.endDate?new L(h.endDate,this._tz):null,this._isIterator=h.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=h.nthDayOfWeek||0,this.fields=p._freezeFields(e)}p.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"],p.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"},p.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}],p.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31],p.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug
1:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}},p.parseDefaults=["0","*","*","*","*","*"],p.standardValidCharacters=/^[,*\d/-]+$/,p.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/,p.validCharacters={second:p.standardValidCharacters,minute:p.standardValidCharacters,hour:p.standardValidCharacters,dayOfMonth:p.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/,month:p.standardValidCharacters,dayOfWeek:p.dayOfWeekValidCharacters},p._isValidConstraintChar=function(h,T){return"string"==typeof T&&h.chars.some(function(d){return T.indexOf(d)>-1})},p._parseField=function(h,T,d){switch(h){case"month":case"dayOfWeek":var C=p.aliases[h];T=T.replace(/[a-z]{3}/gi,function(k){if(k=k.toLowerCase(),typeof C[k]<"u")return C[k];throw new Error('Validation error, cannot resolve alias "'+k+'"')})}if(!p.validCharacters[h].test(T))throw new Error("Invalid characters, got value: "+T);function _(k){var S=k.split("/");if(S.length>2)throw new Error("Invalid repeat: "+k);return S.length>1?(S[0]==+S[0]&&(S=[S[0]+"-"+d.max,S[1]]),w(S[0],S[S.length-1])):w(k,1)}function w(k,B){var S=[],$=k.split("-");if($.length>1){if($.length<2)return+k;if(!$[0].length){if(!$[1].length)throw new Error("Invalid range: "+k);return+k}var q=+$[0],V=+$[1];if(Number.isNaN(q)||Number.isNaN(V)||q<d.min||V>d.max)throw new Error("Constraint error, got range "+q+"-"+V+" expected range "+d.min+"-"+d.max);if(q>V)throw new Error("Invalid range: "+k);var F=+B;if(Number.isNaN(F)||F<=0)throw new Error("Constraint error, cannot repeat at every "+F+" time.");"dayOfWeek"===h&&V%7==0&&S.push(0);for(var R=q,ee=V;R<=ee;R++)-1===S.indexOf(R)&&F>0&&F%B==0?(F=1,S.push(R)):F++;return S}return Number.isNaN(+k)?k:+k}return-1!==T.indexOf("*")?T=T.replace(/\*/g,d.min+"-"+d.max):-1!==T.indexOf("?")&&(T=T.replace(/\?/g,d.min+"-"+d.max)),function x(k){var B=[];function S(F){if(F instanceof Array)for(var R=0,ee=F.length;R<ee;R++){var D=F[R];if(p._isValidConstraintChar(d,D))B.push(D);else{if("number"!=typeof D||Number.isNaN(D)||D<d.min||D>d.max)throw new Error("Constraint error, got value "+D+" expected range "+d.min+"-"+d.max);B.push(D)}}else{if(p._isValidConstraintChar(d,F))return void B.push(F);var H=+F;if(Number.isNaN(H)||H<d.min||H>d.max)throw new Error("Constraint error, got value "+F+" expected range "+d.min+"-"+d.max);"dayOfWeek"===h&&(H%=7),B.push(H)}}var $=k.split(",");if(!$.every(function(F){return F.length>0}))throw new Error("Invalid list value format");if($.length>1)for(var q=0,V=$.length;q<V;q++)S(_($[q]));else S(_(k));return B.sort(p._sortCompareFn),B}(T)},p._sortCompareFn=function(e,h){var T="number"==typeof e,d="number"==typeof h;return T&&d?e-h:!T&&d?1:T&&!d?-1:e.localeCompare(h)},p._handleMaxDaysInMonth=function(e){if(1===e.month.length){var h=p.daysInMonth[e.month[0]-1];if(e.dayOfMonth[0]>h)throw new Error("Invalid explicit day of month definition");return e.dayOfMonth.filter(function(T){return"L"===T||T<=h}).sort(p._sortCompareFn)}},p._freezeFields=function(e){for(var h=0,T=p.map.length;h<T;++h){var d=p.map[h];e[d]=Object.freeze(e[d])}return Object.freeze(e)},p.prototype._applyTimezoneShift=function(e,h,T){if("Month"===T||"Day"===T){var d=e.getTime();e[h+T](),d===e.getTime()&&(0===e.getMinutes()&&0===e.getSeconds()?e.addHour():59===e.getMinutes()&&59===e.getSeconds()&&e.subtractHour())}else{var x=e.getHours();e[h+T]();var _=e.getHours(),w=_-x;2===w?24!==this.fields.hour.length&&(this._dstStart=_):0===w&&0===e.getMinutes()&&0===e.getSeconds()&&24!==this.fields.hour.length&&(this._dstEnd=_)}},p.prototype._findSchedule=function(h){function T(D,H){for(var j=0,se=H.length;j<se;j++)if(H[j]>=D)return H[j]===D;return H[0]===D}function d(D,H){if(H<6){if(D.getDate()<8&&1===H)return!0;var j=D.getDate()%7?1:0,se=D.getDate()-D.getDate()%7;return Math.floor(se/7)+j===H}return!1}function C(D){return D.length>0&&D.some(function(H){return"string"==typeof H&&H.indexOf("L")>=0})}for(var x=(h=h||!1)?"subtract":"add",_=new L(this._currentDate,this._tz),w=this._startDate,k=this._endDate,B=_.getTime(),S=0;S<1e4;){if(S++,h){if(w&&_.getTime()-w.getTime()<0)throw new Error("Out of the timespan range")}else if(k&&k.getTime()-_.getTime()<0)throw new Error("Out of the timespan range");var q=T(_.getDate(),this.fields.dayOfMonth);C(this.fields.dayOfMonth)&&(q=q||_.isLastDayOfMonth());var V=T(_.getDay(),this.fields.dayOfWeek);C(this.fields.dayOfWeek)&&(V=V||this.fields.dayOfWeek.some(function(H){if(!C([H]))return!1;var j=Number.parseInt(H[0])%7;if(Number.isNaN(j))throw new Error("Invalid last weekday of the month expression: "+H);return _.getDay()===j&&_.isLastWeekdayOfMonth()}));var F=this.fields.dayOfMonth.length>=p.daysInMonth[_.getMonth()],R=this.fields.dayOfWeek.length===p.constraints[5].max-p.constraints[5].min+1,ee=_.getHours();if(q||V&&!R)if(F||!R||q)if(!F||R||V)if(this._nthDayOfWeek>0&&!d(_,this._nthDayOfWeek))this._applyTimezoneShift(_,x,"Day");else if(T(_.getMonth()+1,this.fields.month)){if(T(ee,this.fields.hour)){if(this._dstEnd===ee&&!h){this._dstEnd=null,this._applyTimezoneShift(_,"add","Hour");continue}}else{if(this._dstStart!==ee){this._dstStart=null,this._applyTimezoneShift(_,x,"Hour");continue}if(!T(ee-1,this.fields.hour)){_[x+"Hour"]();continue}}if(T(_.getMinutes(),this.fields.minute))if(T(_.getSeconds(),this.fields.second)){if(B!==_.getTime())break;"add"===x||0===_.getMilliseconds()?this._applyTimezoneShift(_,x,"Second"):_.setMilliseconds(0)}else this._applyTimezoneShift(_,x,"Second");else this._applyTimezoneShift(_,x,"Minute")}else this._applyTimezoneShift(_,x,"Month");else this._applyTimezoneShift(_,x,"Day");else this._applyTimezoneShift(_,x,"Day");else this._applyTimezoneShift(_,x,"Day")}if(S>=1e4)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new L(_,this._tz),this._hasIterated=!0,_},p.prototype.next=function(){var h=this._findSchedule();return this._isIterator?{value:h,done:!this.hasNext()}:h},p.prototype.prev=function(){var h=this._findSchedule(!0);return this._isIterator?{value:h,done:!this.hasPrev()}:h},p.prototype.hasNext=function(){var e=this._currentDate,h=this._hasIterated;try{return this._findSchedule(),!0}catch{return!1}finally{this._currentDate=e,this._hasIterated=h}},p.prototype.hasPrev=function(){var e=this._currentDate,h=this._hasIterated;try{return this._findSchedule(!0),!0}catch{return!1}finally{this._currentDate=e,this._hasIterated=h}},p.prototype.iterate=function(h,T){var d=[];if(h>=0)for(var C=0,x=h;C<x;C++)try{var _=this.next();d.push(_),T&&T(_,C)}catch{break}else for(C=0,x=h;C>x;C--)try{_=this.prev(),d.push(_),T&&T(_,C)}catch{break}return d},p.prototype.reset=function(h){this._currentDate=new L(h||this._options.currentDate)},p.prototype.stringify=function(h){for(var T=[],d=h?0:1,C=p.map.length;d<C;++d){var x=p.map[d],_=this.fields[x],w=p.constraints[d];"dayOfMonth"===x&&1===this.fields.month.length?w={min:1,max:p.daysInMonth[this.fields.month[0]-1]}:"dayOfWeek"===x&&(w={min:0,max:6},_=7===_[_.length-1]?_.slice(0,-1):_),T.push(Z(_,w.min,w.max))}return T.join(" ")},p.parse=function(h,T){var d=this;return"function"==typeof T&&(T={}),function C(x,_){_||(_={}),typeof _.currentDate>"u"&&(_.currentDate=new L(void 0,d._tz)),p.predefined[x]&&(x=p.predefined[x]);var w=[],k=(x+"").trim().split(/\s+/);if(k.length>6)throw new Error("Invalid cron expression");for(var B=p.map.length-k.length,S=0,$=p.map.length;S<$;++S){var q=p.map[S],V=k[k.length>$?S:S-B];if(S<B||!V)w.push(p._parseField(q,p.parseDefaults[S],p.constraints[S]));else{var F="dayOfWeek"===q?H(V):V;w.push(p._parseField(q,F,p.constraints[S]))}}var R={};for(S=0,$=p.map.length;S<$;S++)R[p.map[S]]=w[S];var D=p._handleMaxDaysInMonth(R);return R.dayOfMonth=D||R.dayOfMonth,new p(R,_);function H(j){var se=j.split("#");if(se.length>1){var ce=+se[se.length-1];if(/,/.test(j))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(j))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(j))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(se.length>2||Number.isNaN(ce)||ce<1||ce>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return _.nthDayOfWeek=ce,se[0]}return j}}(h,T)},p.fieldsToExpression=function(h,T){function d(q,V,F){if(!V)throw new Error("Validation error, Field "+q+" is missing");if(0===V.length)throw new Error("Validation error, Field "+q+" contains
1no values");for(var R=0,ee=V.length;R<ee;R++){var D=V[R];if(!p._isValidConstraintChar(F,D)&&("number"!=typeof D||Number.isNaN(D)||D<F.min||D>F.max))throw new Error("Constraint error, got value "+D+" expected range "+F.min+"-"+F.max)}}for(var C={},x=0,_=p.map.length;x<_;++x){var w=p.map[x],k=h[w];d(w,k,p.constraints[x]);for(var B=[],S=-1;++S<k.length;)B[S]=k[S];if((k=B.sort(p._sortCompareFn).filter(function(q,V,F){return!V||q!==F[V-1]})).length!==B.length)throw new Error("Validation error, Field "+w+" contains duplicate values");C[w]=k}var $=p._handleMaxDaysInMonth(C);return C.dayOfMonth=$||C.dayOfMonth,new p(C,T||{})},le.exports=p},3605:le=>{"use strict";function W(z){return{start:z,count:1}}function A(z,p){z.end=p,z.step=p-z.start,z.count=2}function L(z,p,e){p&&(2===p.count?(z.push(W(p.start)),z.push(W(p.end))):z.push(p)),e&&z.push(e)}le.exports=function Z(z){for(var p=[],e=void 0,h=0;h<z.length;h++){var T=z[h];"number"!=typeof T?(L(p,e,W(T)),e=void 0):e?1===e.count?A(e,T):e.step===T-e.end?(e.count++,e.end=T):2===e.count?(p.push(W(e.start)),A(e=W(e.end),T)):(L(p,e),e=W(T)):e=W(T)}return L(p,e),p}},279:(le,W,A)=>{"use strict";var L=A(3605);le.exports=function Z(z,p,e){var h=L(z);if(1===h.length){var T=h[0];if(1===(d=T.step)&&T.start===p&&T.end===e)return"*";if(1!==d&&T.start===p&&T.end===e-d+1)return"*/"+d}for(var C=[],x=0,_=h.length;x<_;++x){var w=h[x];if(1!==w.count){var d=w.step;1!==w.step?w.step*(0==w.start?w.count-1:w.count)>w.end?C=C.concat(Array.from({length:w.end-w.start+1}).map(function(S,$){var q=w.start+$;return(q-w.start)%w.step==0?q:null}).filter(function(S){return null!=S})):C.push(w.end===e-w.step+1?w.start+"/"+w.step:w.start+"-"+w.end+"/"+w.step):C.push(w.start+"-"+w.end)}else C.push(w.start)}return C.join(",")}},8527:(le,W,A)=>{"use strict";var L=A(2118);function Z(){}Z._parseEntry=function(p){var e=p.split(" ");if(6===e.length)return{interval:L.parse(p)};if(e.length>6)return{interval:L.parse(e.slice(0,6).join(" ")),command:e.slice(6,e.length)};throw new Error("Invalid entry: "+p)},Z.parseExpression=function(p,e){return L.parse(p,e)},Z.fieldsToExpression=function(p,e){return L.fieldsToExpression(p,e)},Z.parseString=function(p){for(var e=p.split("\n"),h={variables:{},expressions:[],errors:{}},T=0,d=e.length;T<d;T++){var x=null,_=e[T].trim();if(_.length>0){if(_.match(/^#/))continue;if(x=_.match(/^(.*)=(.*)$/))h.variables[x[1]]=x[2];else{var w=null;try{w=Z._parseEntry("0 "+_),h.expressions.push(w.interval)}catch(k){h.errors[_]=k}}}}return h},Z.parseFile=function(p,e){A(7281).readFile(p,function(h,T){if(!h)return e(null,Z.parseString(T.toString()));e(h)})},le.exports=Z},9030:(le,W)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0});class A extends Error{}class L extends A{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Z extends A{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class z extends A{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class p extends A{}class e extends A{constructor(t){super(`Invalid unit ${t}`)}}class h extends A{}class T extends A{constructor(){super("Zone is an abstract class")}}const d="numeric",C="short",x="long",_={year:d,month:d,day:d},w={year:d,month:C,day:d},k={year:d,month:C,day:d,weekday:C},B={year:d,month:x,day:d},S={year:d,month:x,day:d,weekday:x},$={hour:d,minute:d},q={hour:d,minute:d,second:d},V={hour:d,minute:d,second:d,timeZoneName:C},F={hour:d,minute:d,second:d,timeZoneName:x},R={hour:d,minute:d,hourCycle:"h23"},ee={hour:d,minute:d,second:d,hourCycle:"h23"},D={hour:d,minute:d,second:d,hourCycle:"h23",timeZoneName:C},H={hour:d,minute:d,second:d,hourCycle:"h23",timeZoneName:x},j={year:d,month:d,day:d,hour:d,minute:d},se={year:d,month:d,day:d,hour:d,minute:d,second:d},ce={year:d,month:C,day:d,hour:d,minute:d},it={year:d,month:C,day:d,hour:d,minute:d,second:d},Et={year:d,month:C,day:d,weekday:C,hour:d,minute:d},Be={year:d,month:x,day:d,hour:d,minute:d,timeZoneName:C},at={year:d,month:x,day:d,hour:d,minute:d,second:d,timeZoneName:C},Je={year:d,month:x,day:d,weekday:x,hour:d,minute:d,timeZoneName:x},Ge={year:d,month:x,day:d,weekday:x,hour:d,minute:d,second:d,timeZoneName:x};
1class ne{get type(){throw new T}get name(){throw new T}get ianaName(){return this.name}get isUniversal(){throw new T}offsetName(t,n){throw new T}formatOffset(t,n){throw new T}offset(t){throw new T}equals(t){throw new T}get isValid(){throw new T}}let Ye=null;class de extends ne{static get instance(){return null===Ye&&(Ye=new de),Ye}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:s}){return Tn(t,n,s)}formatOffset(t,n){return Ke(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let ge={};const kt={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let _e={};class te extends ne{static create(t){return _e[t]||(_e[t]=new te(t)),_e[t]}static resetCache(){_e={},ge={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=te.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:s}){return Tn(t,n,s,this.name)}formatOffset(t,n){return Ke(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const s=function ve(r){return ge[r]||(ge[r]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ge[r]}(this.name);let[o,i,a,u,c,g,v]=s.formatToParts?function ke(r,t){const n=r.formatToParts(t),s=[];for(let o=0;o<n.length;o++){const{type:i,value:a}=n[o],u=kt[i];"era"===i?s[u]=a:N(u)||(s[u]=parseInt(a,10))}return s}(s,n):function Ee(r,t){const n=r.format(t).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,i,a,u,c,g,v]=s;return[a,o,i,u,c,g,v]}(s,n);"BC"===u&&(o=1-Math.abs(o));let U=+n;const X=U%1e3;return U-=X>=0?X:1e3+X,(yt({year:o,month:i,day:a,hour:24===c?0:c,minute:g,second:v,millisecond:0})-U)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pe={},Ae={};function Ue(r,t={}){const n=JSON.stringify([r,t]);let s=Ae[n];return s||(s=new Intl.DateTimeFormat(r,t),Ae[n]=s),s}let Ne={},Oe={},ye=null,lt={};function De(r,t,n,s){const o=r.listingMode();return"error"===o?null:"en"===o?n(t):s(t)}class Ot{constructor(t,n,s){this.padTo=s.padTo||0,this.floor=s.floor||!1;const{padTo:o,floor:i,...a}=s;if(!n||Object.keys(a).length>0){const u={useGrouping:!1,...s};s.padTo>0&&(u.minimumIntegerDigits=s.padTo),this.inf=function St(r,t={}){const n=JSON.stringify([r,t]);let s=Ne[n];return s||(s=new Intl.NumberFormat(r,t),Ne[n]=s),s}(t,u)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}return K(this.floor?Math.floor(t):Mt(t,3),this.padTo)}}class l{constructor(t,n,s){let o;if(this.opts=s,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const a=t.offset/60*-1,u=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;0!==t.offset&&te.create(u).valid?(o=u,this.dt=t):(o="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const i={...this.opts};i.timeZone=i.timeZone||o,this.dtf=Ue(n,i)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if("timeZoneName"===n.type){const s=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:s}}return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class J{constructor(t,n,s){this.opts={style:"long",...s},!n&&hn()&&(this.rtf=function ut(r,t={}){const{base:n,...s}=t,o=JSON.stringify([r,s]);let i=Oe[o];return i||(i=new Intl.RelativeTimeFormat(r,t),Oe[o]=i),i}(t,s))}format(t,n){return this.rtf?this.rtf.format(t,n):function wr(r,t,n="al
1ways",s=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(r);if("auto"===n&&i){const b="days"===r;switch(t){case 1:return b?"tomorrow":`next ${o[r][0]}`;case-1:return b?"yesterday":`last ${o[r][0]}`;case 0:return b?"today":`this ${o[r][0]}`}}const a=Object.is(t,-0)||t<0,u=Math.abs(t),c=1===u,g=o[r],v=s?c?g[1]:g[2]||g[1]:c?o[r][0]:r;return a?`${u} ${v} ago`:`in ${u} ${v}`}(n,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const m={firstDay:1,minimalDays:4,weekend:[6,7]};class f{static fromOpts(t){return f.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,s,o,i=!1){const a=t||Q.defaultLocale,u=a||(i?"en-US":function At(){return ye||(ye=(new Intl.DateTimeFormat).resolvedOptions().locale,ye)}()),c=n||Q.defaultNumberingSystem,g=s||Q.defaultOutputCalendar,v=It(o)||Q.defaultWeekSettings;return new f(u,c,g,v,a)}static resetCache(){ye=null,Ae={},Ne={},Oe={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:s,weekSettings:o}={}){return f.create(t,n,s,o)}constructor(t,n,s,o,i){const[a,u,c]=function ct(r){const t=r.indexOf("-x-");-1!==t&&(r=r.substring(0,t));const n=r.indexOf("-u-");if(-1===n)return[r];{let s,o;try{s=Ue(r).resolvedOptions(),o=r}catch{const c=r.substring(0,n);s=Ue(c).resolvedOptions(),o=c}const{numberingSystem:i,calendar:a}=s;return[o,i,a]}}(t);this.locale=a,this.numberingSystem=n||u||null,this.outputCalendar=s||c||null,this.weekSettings=o,this.intl=function dt(r,t,n){return(n||t)&&(r.includes("-u-")||(r+="-u"),n&&(r+=`-ca-${n}`),t&&(r+=`-nu-${t}`)),r}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function Nt(r){return(!r.numberingSystem||"latn"===r.numberingSystem)&&("latn"===r.numberingSystem||!r.locale||r.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(r.intl).resolvedOptions().numberingSystem)}(this)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?f.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,It(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return De(this,t,Zn,()=>{const s=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=function ft(r){const t=[];for(let n=1;n<=12;n++){const s=O.utc(2009,n,1);t.push(r(s))}return t}(i=>this.extract(i,s,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return De(this,t,Cn,()=>{const s=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=function mt(r){const t=[];for(let n=1;n<=7;n++){const s=O.utc(2016,11,13+n);t.push(r(s))}return t}(i=>this.extract(i,s,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return De(this,void 0,()=>vn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[O.utc(2016,11,13,9),O.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return De(this,t,En,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[O.utc(-40,1,1),O.utc(2017,1,1)].map(s=>this.extract(s,n,"era"))),this.eraCache[t]})}extract(t,n,s){const a=this.dtFormatter(t,n).formatToParts().find(u=>u.type.toLowerCase()===s);return a?a.value:null}numberFormatter(t={}){return new Ot(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new l(t,this.intl,n)}relFormatter(t={}
1){return new J(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function Se(r,t={}){const n=JSON.stringify([r,t]);let s=Pe[n];return s||(s=new Intl.ListFormat(r,t),Pe[n]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:pn()?function Ut(r){let t=lt[r];if(!t){const n=new Intl.Locale(r);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,lt[r]=t}return t}(this.locale):m}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let y=null;class E extends ne{static get utcInstance(){return null===y&&(y=new E(0)),y}static instance(t){return 0===t?E.utcInstance:new E(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new E(Tt(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Ke(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Ke(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Ke(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class G extends ne{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function oe(r,t){if(N(r)||null===r)return t;if(r instanceof ne)return r;if(function ur(r){return"string"==typeof r}(r)){const n=r.toLowerCase();return"default"===n?t:"local"===n||"system"===n?de.instance:"utc"===n||"gmt"===n?E.utcInstance:E.parseSpecifier(n)||te.create(r)}return Ze(r)?E.instance(r):"object"==typeof r&&"offset"in r&&"function"==typeof r.offset?r:new G(r)}let nn,Qt=()=>Date.now(),jt="system",Kt=null,Xt=null,en=null,tn=60,rn=null;class Q{static get now(){return Qt}static set now(t){Qt=t}static set defaultZone(t){jt=t}static get defaultZone(){return oe(jt,de.instance)}static get defaultLocale(){return Kt}static set defaultLocale(t){Kt=t}static get defaultNumberingSystem(){return Xt}static set defaultNumberingSystem(t){Xt=t}
1static get defaultOutputCalendar(){return en}static set defaultOutputCalendar(t){en=t}static get defaultWeekSettings(){return rn}static set defaultWeekSettings(t){rn=It(t)}static get twoDigitCutoffYear(){return tn}static set twoDigitCutoffYear(t){tn=t%100}static get throwOnInvalid(){return nn}static set throwOnInvalid(t){nn=t}static resetCaches(){f.resetCache(),te.resetCache()}}class fe{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const sn=[0,31,59,90,120,151,181,212,243,273,304,334],on=[0,31,60,91,121,152,182,213,244,274,305,335];function ie(r,t){return new fe("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${r}, which is invalid`)}function Dt(r,t,n){const s=new Date(Date.UTC(r,t-1,n));r<100&&r>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const o=s.getUTCDay();return 0===o?7:o}function an(r,t,n){return n+(Qe(r)?on:sn)[t-1]}function un(r,t){const n=Qe(r)?on:sn,s=n.findIndex(i=>i<t);return{month:s+1,day:t-n[s]}}function bt(r,t){return(r-t+7)%7+1}function ht(r,t=4,n=1){const{year:s,month:o,day:i}=r,a=an(s,o,i),u=bt(Dt(s,o,i),n);let g,c=Math.floor((a-u+14-t)/7);return c<1?(g=s-1,c=je(g,t,n)):c>je(s,t,n)?(g=s+1,c=1):g=s,{weekYear:g,weekNumber:c,weekday:u,..._t(r)}}function ln(r,t=4,n=1){const{weekYear:s,weekNumber:o,weekday:i}=r,a=bt(Dt(s,1,t),n),u=Fe(s);let g,c=7*o+i-a-7+t;c<1?(g=s-1,c+=Fe(g)):c>u?(g=s+1,c-=Fe(s)):g=s;const{month:v,day:b}=un(g,c);return{year:g,month:v,day:b,..._t(r)}}function Ft(r){const{year:t,month:n,day:s}=r;return{year:t,ordinal:an(t,n,s),..._t(r)}}function cn(r){const{year:t,ordinal:n}=r,{month:s,day:o}=un(t,n);return{year:t,month:s,day:o,..._t(r)}}function dn(r,t){if(N(r.localWeekday)&&N(r.localWeekNumber)&&N(r.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(!N(r.weekday)||!N(r.weekNumber)||!N(r.weekYear))throw new p("Cannot mix locale-based week fields with ISO-based week fields");return N(r.localWeekday)||(r.weekday=r.localWeekday),N(r.localWeekNumber)||(r.weekNumber=r.localWeekNumber),N(r.localWeekYear)||(r.weekYear=r.localWeekYear),delete r.localWeekday,delete r.localWeekNumber,delete r.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}function fn(r){const t=pt(r.year),n=ae(r.month,1,12),s=ae(r.day,1,gt(r.year,r.month));return t?n?!s&&ie("day",r.day):ie("month",r.month):ie("year",r.year)}function mn(r){const{hour:t,minute:n,second:s,millisecond:o}=r,i=ae(t,0,23)||24===t&&0===n&&0===s&&0===o,a=ae(n,0,59),u=ae(s,0,59),c=ae(o,0,999);return i?a?u?!c&&ie("millisecond",o):ie("second",s):ie("minute",n):ie("hour",t)}function N(r){return typeof r>"u"}function Ze(r){return"number"==typeof r}function pt(r){return"number"==typeof r&&r%1==0}function hn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function pn(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function gn(r,t,n){if(0!==r.length)return r.reduce((s,o)=>{const i=[t(o),o];return s&&n(s[0],i[0])===s[0]?s:i},null)[1]}function be(r,t){return Object.prototype.hasOwnProperty.call(r,t)}function It(r){if(null==r)return null;if("object"!=typeof r)throw new h("Week settings must be an object");if(!ae(r.firstDay,1,7)||!ae(r.minimalDays,1,7)||!Array.isArray(r.weekend)||r.weekend.some(t=>!ae(t,1,7)))throw new h("Invalid week settings");return{firstDay:r.firstDay,minimalDays:r.minimalDays,weekend:Array.from(r.weekend)}}function ae(r,t,n){return pt(r)&&r>=t&&r<=n}function K(r,t=2){let s;return s=r<0?"-"+(""+-r).padStart(t,"0"):(""+r).padStart(t,"0"),s}function Te(r){if(!N(r)&&null!==r&&""!==r)return parseInt(r,10)}function xe(r){if(!N(r)&&null!==r&&""!==r)return parseFloat(r)}function qt(r){if(!N(r)&&null!==r&&""!==r){const t=1e3*parseFloat("0."+r);return Math.floor(t)}}function Mt(r,t,n=!1){const s=10**t;return(n?Math.trunc:Math.round)(r*s)/s}function Qe(r){return r%4==0&&(r%100!=0||r%400==0)}function Fe(r){return Qe(r)?366:365}function gt(r,t){const n=function fr(r,t){return r-t*Math.floor(r/t)}(t-1,12)+1;return 2===n?Qe(r+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function yt(r){let t=Date.UTC(r.year,r.month-1,r.day,r.hour,r.minute,r.second,r.millisecond);return r.year<100&&r.year>=0&&(t=new Date(t),t.setUTCFullYear(r.year,r.month-1,r.day)),+t}function yn(r,t,n){return-bt(Dt(r,1,t),n)+t-1}function je(r,t=4,n=1){const s=yn(r,t,n),o=yn(r+1,t,n);return(Fe(r)-s+o)/7}function Lt(r){return r>99?r:r>Q.twoDigitCutoffYear?1900+r:2e3+r}function Tn(r,t,n,s=null){const o=new Date(r),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(i.timeZone=s);const a={timeZoneName:t,...i},u=new Intl.DateTimeFormat(n,a).formatToParts(o).find(c=>"timezonename"===c.type.toLowerCase());return u?u.value:null}function Tt(r,t){let n=parseInt(r,10);Number.isNaN(n)&&(n=0);const s=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-s:s)}function zn(r){const t=Number(r);
vendor: 6,133 bytes, line 1
1if("boolean"==typeof r||""===r||Number.isNaN(t))throw new h(`Invalid unit value ${r}`);return t}function zt(r,t){const n={};for(const s in r)if(be(r,s)){const o=r[s];if(null==o)continue;n[t(s)]=zn(o)}return n}function Ke(r,t){const n=Math.trunc(Math.abs(r/60)),s=Math.trunc(Math.abs(r%60)),o=r>=0?"+":"-";switch(t){case"short":return`${o}${K(n,2)}:${K(s,2)}`;case"narrow":return`${o}${n}${s>0?`:${s}`:""}`;case"techie":return`${o}${K(n,2)}${K(s,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function _t(r){return function dr(r,t){return t.reduce((n,s)=>(n[s]=r[s],n),{})}(r,["hour","minute","second","millisecond"])}const mr=["January","February","March","April","May","June","July","August","September","October","November","December"],_n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],hr=["J","F","M","A","M","J","J","A","S","O","N","D"];function Zn(r){switch(r){case"narrow":return[...hr];case"short":return[..._n];case"long":return[...mr];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const xn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],wn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],pr=["M","T","W","T","F","S","S"];function Cn(r){switch(r){case"narrow":return[...pr];case"short":return[...wn];case"long":return[...xn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const vn=["AM","PM"],gr=["Before Christ","Anno Domini"],yr=["BC","AD"],Tr=["B","A"];function En(r){switch(r){case"narrow":return[...Tr];case"short":return[...yr];case"long":return[...gr];default:return null}}function kn(r,t){let n="";for(const s of r)n+=s.literal?s.val:t(s.val);return n}const Cr={D:_,DD:w,DDD:B,DDDD:S,t:$,tt:q,ttt:V,tttt:F,T:R,TT:ee,TTT:D,TTTT:H,f:j,ff:ce,fff:Be,ffff:Je,F:se,FF:it,FFF:at,FFFF:Ge};class re{static create(t,n={}){return new re(t,n)}static parseFormat(t){let n=null,s="",o=!1;const i=[];for(let a=0;a<t.length;a++){const u=t.charAt(a);"'"===u?(s.length>0&&i.push({literal:o||/^\s+$/.test(s),val:s}),n=null,s="",o=!o):o||u===n?s+=u:(s.length>0&&i.push({literal:/^\s+$/.test(s),val:s}),s=u,n=u)}return s.length>0&&i.push({literal:o||/^\s+$/.test(s),val:s}),i}static macroTokenToFormatOpts(t){return Cr[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return K(t,n);const s={...this.opts};return n>0&&(s.padTo=n),this.loc.numberFormatter(s).format(t)}formatDateTimeFromString(t,n){const s="en"===this.loc.listingMode(),o=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,i=(U,X)=>this.loc.extract(t,U,X),a=U=>t.isOffsetFixed&&0===t.offset&&U.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,U.format):"",c=(U,X)=>s?function Zr(r,t){return Zn(t)[r.month-1]}(t,U):i(X?{month:U}:{month:U,day:"numeric"},"month"),g=(U,X)=>s?function _r(r,t){return Cn(t)[r.weekday-1]}(t,U):i(X?{weekday:U}:{weekday:U,month:"long",day:"numeric"},"weekday"),v=U=>{const X=re.macroTokenToFormatOpts(U);return X?this.formatWithSystemDefault(t,X):U},b=U=>s?function xr(r,t){return En(t)[r.year<0?0:1]}(t,U):i({era:U},"era");return kn(re.parseFormat(n),U=>{switch(U){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return s?function zr(r){return vn[r.hour<12?0:1]}(t):i({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return o?i({day:"numeric"},"day"):this.num(t.day);case"dd":return o?i({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return g("short",!0);case"cccc":return g("long",!0);case"ccccc":return g("narrow",!0);case"EEE":return g("short",!1);case"EEEE":return g("long",!1);case"EEEEE":return g("narrow",!1);case"L":return o?i({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?i({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return o?i({month:"numeric"},"month"):this.num(t.month);case"MM":return o?i({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return o?i({year:"numeric"},"year"):this.num(t.year);case"yy":return o?i({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?i({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?i({year:"numeric"},"year"):this.num(t.year,6);case"G":return b("short");case"GG":return b("long");case"GGGGG":return b("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);
1case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return v(U)}})}formatDurationFromString(t,n){const s=c=>{switch(c[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},i=re.parseFormat(n),a=i.reduce((c,{literal:g,val:v})=>g?c:c.concat(v),[]);return kn(i,(c=>g=>{const v=s(g);return v?this.num(c.get(v),g.length):g})(t.shiftTo(...a.map(s).filter(c=>c))))}}const Sn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ie(...r){const t=r.reduce((n,s)=>n+s.source,"");return RegExp(`^${t}$`)}function qe(...r){return t=>r.reduce(([n,s,o],i)=>{const[a,u,c]=i(t,o);return[{...n,...a},u||s,c]},[{},null,1]).slice(0,2)}function Me(r,...t){if(null==r)return[null,null];for(const[n,s]of t){const o=n.exec(r);if(o)return s(o)}return[null,null]}function An(...r){return(t,n)=>{const s={};let o;for(o=0;o<r.length;o++)s[r[o]]=Te(t[n+o]);return[s,null,n+o]}}const Un=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Vt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${Vt.source}(?:${Un.source}?(?:\\[(${Sn.source})\\])?)?`),Ht=RegExp(`(?:T${Nn.source})?`),Ar=An("weekYear","weekNumber","weekDay"),Ur=An("year","ordinal"),On=RegExp(`${Vt.source} ?(?:${Un.source}|(${Sn.source}))?`),Or=RegExp(`(?: ${On.source})?`);function Le(r,t,n){const s=r[t];return N(s)?n:Te(s)}function Ve(r,t){return[{hours:Le(r,t,0),minutes:Le(r,t+1,0),seconds:Le(r,t+2,0),milliseconds:qt(r[t+3])},null,t+4]}function Xe(r,t){const n=!r[t]&&!r[t+1],s=Tt(r[t+1],r[t+2]);return[{},n?null:E.instance(s),t+3]}function et(r,t){return[{},r[t]?te.create(r[t]):null,t+1]}const br=RegExp(`^T?${Vt.source}$`),Fr=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ir(r){const[t,n,s,o,i,a,u,c,g]=r,v="-"===t[0],b=c&&"-"===c[0],P=(U,X=!1)=>void 0!==U&&(X||U&&v)?-U:U;return[{years:P(xe(n)),months:P(xe(s)),weeks:P(xe(o)),days:P(xe(i)),hours:P(xe(a)),minutes:P(xe(u)),seconds:P(xe(c),"-0"===c),milliseconds:P(qt(g),b)}]}const qr={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wt(r,t,n,s,o,i,a){const u={year:2===t.length?Lt(Te(t)):Te(t),month:_n.indexOf(n)+1,day:Te(s),hour:Te(o),minute:Te(i)};return a&&(u.second=Te(a)),r&&(u.weekday=r.length>3?xn.indexOf(r)+1:wn.indexOf(r)+1),u}const Mr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Lr(r){const[,t,n,s,o,i,a,u,c,g,v,b]=r,P=Wt(t,o,s,n,i,a,u);let U;return U=c?qr[c]:g?0:Tt(v,b),[P,new E(U)]}const Hr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Wr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,$r=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Dn(r){const[,t,n,s,o,i,a,u]=r;return[Wt(t,o,s,n,i,a,u),E.utcInstance]}function Rr(r){const[,t,n,s,o,i,a,u]=r;return[Wt(t,u,n,s,o,i,a),E.utcInstance]}const Br=Ie(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ht),Jr=Ie(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Ht),Gr=Ie(/(\d{4})-?(\d{3})/,Ht),Yr=Ie(Nn),bn=qe(function Dr(r,t){return[{year:Le(r,t),month:Le(r,t+1,1),day:Le(r,t+2,1)},null,t+3]},Ve,Xe,et),Pr=qe(Ar,Ve,Xe,et),Qr=qe(Ur,Ve,Xe,et),jr=qe(Ve,Xe,et),ns=qe(Ve),ss=Ie(/(\d{4})-(\d\d)-(\d\d)/,Or),os=Ie(On),is=qe(Ve,Xe,et),Fn="Invalid Duration",In={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},us={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...In},ue=365.2425,He=30.436875,ls={years:{quarters:4,months:12,weeks:ue/7,days:ue,hours:24*ue,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:ue/28,days:ue/4,hours:24*ue/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:He/7,days:He,hours:24*He,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...In},we=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],cs=we.slice(0).reverse();function ze(r,t,n=!1){const s={values:n?t.values:{...r.values,...t.values||{}},loc:r.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||r.conversionAccuracy,matrix:t.matrix||r.matrix};return new I(s)}function qn(r,t){var n;let s=null!=(n=t.milliseconds)?n:0;for(const o of cs.slice(1))t[o]&&(s+=t[o]*r[o].milliseconds);return s}function Mn(r,t){const n=qn(r,t)<0?-1:1;we.reduceRight((s,o)=>
vendor: 4,857 bytes, line 1
1{if(N(t[o]))return s;if(s){const a=r[o][s],u=Math.floor(t[s]*n/a);t[o]+=u*n,t[s]-=u*a*n}return o},null),we.reduce((s,o)=>{if(N(t[o]))return s;if(s){const i=t[s]%1;t[s]-=i,t[o]+=i*r[s][o]}return o},null)}class I{constructor(t){const n="longterm"===t.conversionAccuracy||!1;let s=n?ls:us;t.matrix&&(s=t.matrix),this.values=t.values,this.loc=t.loc||f.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=s,this.isLuxonDuration=!0}static fromMillis(t,n){return I.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(null==t||"object"!=typeof t)throw new h("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new I({values:zt(t,I.normalizeUnit),loc:f.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(Ze(t))return I.fromMillis(t);if(I.isDuration(t))return t;if("object"==typeof t)return I.fromObject(t);throw new h(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[s]=function ts(r){return Me(r,[Fr,Ir])}(t);return s?I.fromObject(s,n):I.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[s]=function rs(r){return Me(r,[br,ns])}(t);return s?I.fromObject(s,n):I.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new h("need to specify a reason the Duration is invalid");const s=t instanceof fe?t:new fe(t,n);if(Q.throwOnInvalid)throw new z(s);return new I({invalid:s})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new e(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const s={...n,floor:!1!==n.round&&!1!==n.floor};return this.isValid?re.create(this.loc,s).formatDurationFromString(this,t):Fn}toHuman(t={}){if(!this.isValid)return Fn;const n=we.map(s=>{const o=this.values[s];return N(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:s.slice(0,-1)}).format(o)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(t+=Mt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},O.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?qn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=I.fromDurationLike(t),s={};for(const o of we)(be(n.values,o)||be(this.values,o))&&(s[o]=n.get(o)+this.get(o));return ze(this,{values:s},!0)}minus(t){if(!this.isValid)return this;const n=I.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const s of Object.keys(this.values))n[s]=zn(t(this.values[s],s));return ze(this,{values:n},!0)}get(t){return this[I.normalizeUnit(t)]}set(t){return this.isValid?ze(this,{values:{...this.values,...zt(t,I.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:s,matrix:o}={}){return ze(this,{loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:s})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Mn(this.matrix,t),ze(this,{values:t},!0)}rescale(){return this.isValid?ze(this,{values:function ds(r){const t={};for(const[n,s]of Object.entries(r))0!==s&&(t[n]=s);return t}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(a=>
vendor: 1,524 bytes, line 1
1I.normalizeUnit(a));const n={},s={},o=this.toObject();let i;for(const a of we)if(t.indexOf(a)>=0){i=a;let u=0;for(const g in s)u+=this.matrix[g][a]*s[g],s[g]=0;Ze(o[a])&&(u+=o[a]);const c=Math.trunc(u);n[a]=c,s[a]=(1e3*u-1e3*c)/1e3}else Ze(o[a])&&(s[a]=o[a]);for(const a in s)0!==s[a]&&(n[i]+=a===i?s[a]:s[a]/this.matrix[i][a]);return Mn(this.matrix,n),ze(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=0===this.values[n]?0:-this.values[n];return ze(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(s,o){return void 0===s||0===s?void 0===o||0===o:s===o}
1for(const s of we)if(!n(this.values[s],t.values[s]))return!1;return!0}}const We="Invalid Interval";class Y{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new h("need to specify a reason the Interval is invalid");const s=t instanceof fe?t:new fe(t,n);if(Q.throwOnInvalid)throw new Z(s);return new Y({invalid:s})}static fromDateTimes(t,n){const s=rt(t),o=rt(n),i=function fs(r,t){return r&&r.isValid?t&&t.isValid?t<r?Y.invalid("end before start",`The end of an interval must be after its start, but you had start=${r.toISO()} and end=${t.toISO()}`):null:Y.invalid("missing or invalid end"):Y.invalid("missing or invalid start")}(s,o);return i??new Y({start:s,end:o})}static after(t,n){const s=I.fromDurationLike(n),o=rt(t);return Y.fromDateTimes(o,o.plus(s))}static before(t,n){const s=I.fromDurationLike(n),o=rt(t);return Y.fromDateTimes(o.minus(s),o)}static fromISO(t,n){const[s,o]=(t||"").split("/",2);if(s&&o){let i,a,u,c;try{i=O.fromISO(s,n),a=i.isValid}catch{a=!1}try{u=O.fromISO(o,n),c=u.isValid}catch{c=!1}if(a&&c)return Y.fromDateTimes(i,u);if(a){const g=I.fromISO(o,n);if(g.isValid)return Y.after(i,g)}else if(c){const g=I.fromISO(s,n);if(g.isValid)return Y.before(u,g)}}return Y.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const s=this.start.startOf(t,n);let o;return o=null!=n&&n.useLocaleWeeks?this.end.reconfigure({locale:s.locale}):this.end,o=o.startOf(t,n),Math.floor(o.diff(s,t).get(t))+(o.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:n}={}){return this.isValid?Y.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(rt).filter(a=>this.contains(a)).sort((a,u)=>a.toMillis()-u.toMillis()),s=[];let{s:o}=this,i=0;for(;o<this.e;){const a=n[i]||this.e,u=+a>+this.e?this.e:a;s.push(Y.fromDateTimes(o,u)),o=u,i+=1}return s}splitBy(t){const n=I.fromDurationLike(t);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];let i,{s}=this,o=1;const a=[];for(;s<this.e;){const u=this.start.plus(n.mapUnits(c=>c*o));i=+u>+this.e?this.e:u,a.push(Y.fromDateTimes(s,i)),s=i,o+=1}return a}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,s=this.e<t.e?this.e:t.e;return n>=s?null:Y.fromDateTimes(n,s)}union(t){return this.isValid?Y.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[n,s]=t.sort((o,i)=>o.s-i.s).reduce(([o,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[o,i.union(a)]:[o.concat([i]),a]:[o,a],[[],null]);return s&&n.push(s),n}static xor(t){let n=null,s=0;const o=[],i=t.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),u=Array.prototype.concat(...i).sort((c,g)=>c.time-g.time);for(const c of u)s+="s"===c.type?1:-1,1===s?n=c.time:(n&&+n!=+c.time&&o.push(Y.fromDateTimes(n,c.time)),n=null);return Y.merge(o)}difference(...t){return Y.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:We}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}
1toLocaleString(t=_,n={}){return this.isValid?re.create(this.s.loc.clone(n),t).formatInterval(this):We}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:We}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:We}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:We}toFormat(t,{separator:n=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:We}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):I.invalid(this.invalidReason)}mapEndpoints(t){return Y.fromDateTimes(t(this.s),t(this.e))}}class tt{static hasDST(t=Q.defaultZone){const n=O.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return te.isValidZone(t)}static normalizeZone(t){return oe(t,Q.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||f.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||f.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||f.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:s=null,locObj:o=null,outputCalendar:i="gregory"}={}){return(o||f.create(n,s,i)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:s=null,locObj:o=null,outputCalendar:i="gregory"}={}){return(o||f.create(n,s,i)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:s=null,locObj:o=null}={}){return(o||f.create(n,s,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:s=null,locObj:o=null}={}){return(o||f.create(n,s,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return f.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return f.create(n,null,"gregory").eras(t)}static features(){return{relative:hn(),localeWeek:pn()}}}function Ln(r,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(t)-n(r);return Math.floor(I.fromMillis(s).as("days"))}const $t={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},Vn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ps=$t.hanidec.replace(/[\[|\]]/g,"").split("");function me({numberingSystem:r},t=""){return new RegExp(`${$t[r||"latn"]}${t}`)}function M(r,t=(n=>n)){return{regex:r,deser:([n])=>t(function gs(r){let t=parseInt(r,10);if(isNaN(t)){t="";for(let n=0;n<r.length;n++){const s=r.charCodeAt(n);if(-1!==r[n].search($t.hanidec))t+=ps.indexOf(r[n]);else for(const o in Vn){const[i,a]=Vn[o];s>=i&&s<=a&&(t+=s-i)}}return parseInt(t,10)}return t}(n))}}const Hn=`[ ${String.fromCharCode(160)}]`,Wn=new RegExp(Hn,"g");function Ts(r){return r.replace(/\./g,"\\.?").replace(Wn,Hn)}function $n(r){return r.replace(/\./g,"").replace(Wn," ").toLowerCase()}function he(r,t){return null===r?null:{regex:RegExp(r.map(Ts).join("|")),deser:([n])=>r.findIndex(s=>$n(n)===$n(s))+t}}function Rn(r,t){return{regex:r,deser:([,n,s])=>Tt(n,s),groups:t}}function Zt(r){return{regex:r,deser:([t])=>t}}function zs(r){return r.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const Zs={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Rt=null;function Bn(r,t){return Array.prototype.concat(...r.map(n=>function ks(r,t){if(r.literal)return r;const s=Gn(re.macroTokenToFormatOpts(r.val),t);return null==s||s.includes(void 0)?r:s}(n,t)))}function Jn(r,t,n){const s=Bn(re.parseFormat(n),r),o=s.map(a=>function _s(r,t){const n=me(t),s=me(t,"{2}"),o=me(t,"{3}"),i=me(t,"{4}"),a=me(t,"{6}"),u=me(t,"{1,2}
1"),c=me(t,"{1,3}"),g=me(t,"{1,6}"),v=me(t,"{1,9}"),b=me(t,"{2,4}"),P=me(t,"{4,6}"),U=pe=>({regex:RegExp(zs(pe.val)),deser:([Re])=>Re,literal:!0}),$e=(pe=>{if(r.literal)return U(pe);switch(pe.val){case"G":return he(t.eras("short"),0);case"GG":return he(t.eras("long"),0);case"y":return M(g);case"yy":case"kk":return M(b,Lt);case"yyyy":case"kkkk":return M(i);case"yyyyy":return M(P);case"yyyyyy":return M(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return M(u);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return M(s);case"MMM":return he(t.months("short",!0),1);case"MMMM":return he(t.months("long",!0),1);case"LLL":return he(t.months("short",!1),1);case"LLLL":return he(t.months("long",!1),1);case"o":case"S":return M(c);case"ooo":case"SSS":return M(o);case"u":return Zt(v);case"uu":return Zt(u);case"uuu":case"E":case"c":return M(n);case"a":return he(t.meridiems(),0);case"EEE":return he(t.weekdays("short",!1),1);case"EEEE":return he(t.weekdays("long",!1),1);case"ccc":return he(t.weekdays("short",!0),1);case"cccc":return he(t.weekdays("long",!0),1);case"Z":case"ZZ":return Rn(new RegExp(`([+-]${u.source})(?::(${s.source}))?`),2);case"ZZZ":return Rn(new RegExp(`([+-]${u.source})(${s.source})?`),2);case"z":return Zt(/[a-z_+-/]{1,256}?/i);case" ":return Zt(/[^\S\n\r]/);default:return U(pe)}})(r)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return $e.token=r,$e}(a,r)),i=o.find(a=>a.invalidReason);if(i)return{input:t,tokens:s,invalidReason:i.invalidReason};{const[a,u]=function ws(r){return[`^${r.map(n=>n.regex).reduce((n,s)=>`${n}(${s.source})`,"")}$`,r]}(o),c=RegExp(a,"i"),[g,v]=function Cs(r,t,n){const s=r.match(t);if(s){const o={};let i=1;for(const a in n)if(be(n,a)){const u=n[a],c=u.groups?u.groups+1:1;!u.literal&&u.token&&(o[u.token.val[0]]=u.deser(s.slice(i,i+c))),i+=c}return[s,o]}return[s,{}]}(t,c,u),[b,P,U]=v?function vs(r){let s,n=null;return N(r.z)||(n=te.create(r.z)),N(r.Z)||(n||(n=new E(r.Z)),s=r.Z),N(r.q)||(r.M=3*(r.q-1)+1),N(r.h)||(r.h<12&&1===r.a?r.h+=12:12===r.h&&0===r.a&&(r.h=0)),0===r.G&&r.y&&(r.y=-r.y),N(r.u)||(r.S=qt(r.u)),[Object.keys(r).reduce((i,a)=>{const u=(i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(a);return u&&(i[u]=r[a]),i},{}),n,s]}(v):[null,null,void 0];if(be(v,"a")&&be(v,"H"))throw new p("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:s,regex:c,rawMatches:g,matches:v,result:b,zone:P,specificOffset:U}}}function Gn(r,t){if(!r)return null;const s=re.create(t,r).dtFormatter(function Es(){return Rt||(Rt=O.fromMillis(1555555555555)),Rt}()),o=s.formatToParts(),i=s.resolvedOptions();return o.map(a=>function xs(r,t,n){const{type:s,value:o}=r;if("literal"===s){const c=/^\s+$/.test(o);return{literal:!c,val:c?" ":o}}let a=s;"hour"===s&&(a=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let u=Zs[a];if("object"==typeof u&&(u=u[t[s]]),u)return{literal:!1,val:u}}(a,r,i))}const Bt="Invalid DateTime",Yn=864e13;function xt(r){return new fe("unsupported zone",`the zone "${r.name}" is not supported`)}function Jt(r){return null===r.weekData&&(r.weekData=ht(r.c)),r.weekData}function Gt(r){return null===r.localWeekData&&(r.localWeekData=ht(r.c,r.loc.getMinDaysInFirstWeek(),r.loc.getStartOfWeek())),r.localWeekData}function Ce(r,t){const n={ts:r.ts,zone:r.zone,c:r.c,o:r.o,loc:r.loc,invalid:r.invalid};return new O({...n,...t,old:n})}function Pn(r,t,n){let s=r-60*t*1e3;const o=n.offset(s);if(t===o)return[s,t];s-=60*(o-t)*1e3;const i=n.offset(s);return o===i?[s,o]:[r-60*Math.min(o,i)*1e3,Math.max(o,i)]}function wt(r,t){const n=new Date(r+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Ct(r,t,n){return Pn(yt(r),t,n)}function Qn(r,t){const n=r.o,s=r.c.year+Math.trunc(t.years),o=r.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),i={...r.c,year:s,month:o,day:Math.min(r.c.day,gt(s,o))+Math.trunc(t.days)+
vendor: 4,521 bytes, line 1
17*Math.trunc(t.weeks)},a=I.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),u=yt(i);let[c,g]=Pn(u,n,r.zone);return 0!==a&&(c+=a,g=r.zone.offset(c)),{ts:c,o:g}}function nt(r,t,n,s,o,i){const{setZone:a,zone:u}=n;if(r&&0!==Object.keys(r).length||t){const c=t||u,g=O.fromObject(r,{...n,zone:c,specificOffset:i});return a?g:g.setZone(u)}return O.invalid(new fe("unparsable",`the input "${o}" can't be parsed as ${s}`))}function vt(r,t,n=!0){return r.isValid?re.create(f.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(r,t):null}function Yt(r,t){const n=r.c.year>9999||r.c.year<0;let s="";return n&&r.c.year>=0&&(s+="+"),s+=K(r.c.year,n?6:4),t?(s+="-",s+=K(r.c.month),s+="-",s+=K(r.c.day)):(s+=K(r.c.month),s+=K(r.c.day)),s}function jn(r,t,n,s,o,i){let a=K(r.c.hour);return t?(a+=":",a+=K(r.c.minute),(0!==r.c.millisecond||0!==r.c.second||!n)&&(a+=":")):a+=K(r.c.minute),(0!==r.c.millisecond||0!==r.c.second||!n)&&(a+=K(r.c.second),(0!==r.c.millisecond||!s)&&(a+=".",a+=K(r.c.millisecond,3))),o&&(r.isOffsetFixed&&0===r.offset&&!i?a+="Z":r.o<0?(a+="-",a+=K(Math.trunc(-r.o/60)),a+=":",a+=K(Math.trunc(-r.o%60))):(a+="+",a+=K(Math.trunc(r.o/60)),a+=":",a+=K(Math.trunc(r.o%60)))),i&&(a+="["+r.zone.ianaName+"]"),a}const Kn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},As={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Us={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Xn=["year","month","day","hour","minute","second","millisecond"],Ns=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Os=["year","ordinal","hour","minute","second","millisecond"];function er(r){switch(r.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function Ds(r){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[r.toLowerCase()];if(!t)throw new e(r);return t}(r)}}function tr(r,t){const n=oe(t.zone,Q.defaultZone),s=f.fromObject(t),o=Q.now();let i,a;if(N(r.year))i=o;else{for(const g of Xn)N(r[g])&&(r[g]=Kn[g]);const u=fn(r)||mn(r);if(u)return O.invalid(u);const c=n.offset(o);[i,a]=Ct(r,c,n)}return new O({ts:i,zone:n,loc:s,o:a})}function nr(r,t,n){const s=!!N(n.round)||n.round,o=(a,u)=>(a=Mt(a,s||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(a,u)),i=a=>n.calendary?t.hasSame(r,a)?0:t.startOf(a).diff(r.startOf(a),a).get(a):t.diff(r,a).get(a);if(n.unit)return o(i(n.unit),n.unit);for(const a of n.units){const u=i(a);if(Math.abs(u)>=1)return o(u,a)}return o(r>t?-0:0,n.units[n.units.length-1])}function rr(r){let n,t={};return r.length>0&&"object"==typeof r[r.length-1]?(t=r[r.length-1],n=Array.from(r).slice(0,r.length-1)):n=Array.from(r),[t,n]}class O{constructor(t){const n=t.zone||Q.defaultZone;let s=t.invalid||(Number.isNaN(t.ts)?new fe("invalid input"):null)||(n.isValid?null:xt(n));this.ts=N(t.ts)?Q.now():t.ts;let o=null,i=null;if(!s)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,i]=[t.old.c,t.old.o];else{const u=n.offset(this.ts);o=wt(this.ts,u),s=Number.isNaN(o.year)?new fe("invalid input"):null,o=s?null:o,i=s?null:u}this._zone=n,this.loc=t.loc||f.create(),this.invalid=s,this.weekData=null,this.localWeekData=null,this.c=o,this.o=i,this.isLuxonDateTime=!0}static now(){return new O({})}static local(){const[t,n]=rr(arguments),[s,o,i,a,u,c,g]=n;return tr({year:s,month:o,day:i,hour:a,minute:u,second:c,millisecond:g},t)}static utc(){const[t,n]=rr(arguments),[s,o,i,a,u,c,g]=n;return t.zone=E.utcInstance,tr({year:s,month:o,day:i,hour:a,minute:u,second:c,millisecond:g},t)}static fromJSDate(t,n={}){const s=function lr(r){return"[object Date]"===Object.prototype.toString.call(r)}(t)?t.valueOf():NaN;if(Number.isNaN(s))return O.invalid("invalid input");const o=oe(n.zone,Q.defaultZone);return o.isValid?new O({ts:s,zone:o,loc:f.fromObject(n)}
vendor: 3,509 bytes, line 1
1):O.invalid(xt(o))}static fromMillis(t,n={}){if(Ze(t))return t<-Yn||t>Yn?O.invalid("Timestamp out of range"):new O({ts:t,zone:oe(n.zone,Q.defaultZone),loc:f.fromObject(n)});throw new h(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(Ze(t))return new O({ts:1e3*t,zone:oe(n.zone,Q.defaultZone),loc:f.fromObject(n)});throw new h("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const s=oe(n.zone,Q.defaultZone);if(!s.isValid)return O.invalid(xt(s));const o=f.fromObject(n),i=zt(t,er),{minDaysInFirstWeek:a,startOfWeek:u}=dn(i,o),c=Q.now(),g=N(n.specificOffset)?s.offset(c):n.specificOffset,v=!N(i.ordinal),b=!N(i.year),P=!N(i.month)||!N(i.day),U=b||P,X=i.weekYear||i.weekNumber;if((U||v)&&X)throw new p("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(P&&v)throw new p("Can't mix ordinal dates with month/day");const $e=X||i.weekday&&!U;let pe,Re,st=wt(c,g);$e?(pe=Ns,Re=As,st=ht(st,a,u)):v?(pe=Os,Re=Us,st=Ft(st)):(pe=Xn,Re=Kn);let sr=!1;for(const ot of pe)N(i[ot])?i[ot]=sr?Re[ot]:st[ot]:sr=!0;const Fs=$e?function ir(r,t=4,n=1){const s=pt(r.weekYear),o=ae(r.weekNumber,1,je(r.weekYear,t,n)),i=ae(r.weekday,1,7);return s?o?!i&&ie("weekday",r.weekday):ie("week",r.weekNumber):ie("weekYear",r.weekYear)}(i,a,u):v?function ar(r){const t=pt(r.year),n=ae(r.ordinal,1,Fe(r.year));return t?!n&&ie("ordinal",r.ordinal):ie("year",r.year)}(i):fn(i),or=Fs||mn(i);if(or)return O.invalid(or);const Is=$e?ln(i,a,u):v?cn(i):i,[qs,Ms]=Ct(Is,g,s),Pt=new O({ts:qs,zone:s,o:Ms,loc:o});return i.weekday&&U&&t.weekday!==Pt.weekday?O.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${Pt.toISO()}`):Pt}static fromISO(t,n={}){const[s,o]=function Kr(r){return Me(r,[Br,bn],[Jr,Pr],[Gr,Qr],[Yr,jr])}(t);return nt(s,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[s,o]=function Xr(r){return Me(function Vr(r){return r.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(r),[Mr,Lr])}(t);return nt(s,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[s,o]=function es(r){return Me(r,[Hr,Dn],[Wr,Dn],[$r,Rr])}(t);return nt(s,o,n,"HTTP",n)}static fromFormat(t,n,s={}){if(N(t)||N(n))throw new h("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:i=null}=s,a=f.fromOpts({locale:o,numberingSystem:i,defaultToEN:!0}),[u,c,g,v]=function Ss(r,t,n){const{result:s,zone:o,specificOffset:i,invalidReason:a}=Jn(r,t,n);return[s,o,i,a]}(a,t,n);return v?O.invalid(v):nt(u,c,s,`format ${n}`,t,g)}static fromString(t,n,s={}){return O.fromFormat(t,n,s)}static fromSQL(t,n={}){const[s,o]=function as(r){return Me(r,[ss,bn],[os,is])}(t);return nt(s,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new h("need to specify a reason the DateTime is invalid");const s=t instanceof fe?t:new fe(t,n);if(Q.throwOnInvalid)throw new L(s);return new O({invalid:s})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const s=Gn(t,f.fromObject(n));return s?s.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return Bn(re.parseFormat(t),f.fromObject(n)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}
vendor: 4,176 bytes, line 1
1get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Jt(this).weekYear:NaN}get weekNumber(){return this.isValid?Jt(this).weekNumber:NaN}get weekday(){return this.isValid?Jt(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Gt(this).weekday:NaN}get localWeekNumber(){return this.isValid?Gt(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Gt(this).weekYear:NaN}get ordinal(){return this.isValid?Ft(this.c).ordinal:NaN}get monthShort(){return this.isValid?tt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?tt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?tt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?tt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,s=yt(this.c),o=this.zone.offset(s-t),i=this.zone.offset(s+t),a=this.zone.offset(s-o*n),u=this.zone.offset(s-i*n);if(a===u)return[this];const c=s-a*n,g=s-u*n,v=wt(c,a),b=wt(g,u);return v.hour===b.hour&&v.minute===b.minute&&v.second===b.second&&v.millisecond===b.millisecond?[Ce(this,{ts:c}),Ce(this,{ts:g})]:[this]}get isInLeapYear(){return Qe(this.year)}get daysInMonth(){return gt(this.year,this.month)}get daysInYear(){return this.isValid?Fe(this.year):NaN}get weeksInWeekYear(){return this.isValid?je(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?je(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:s,calendar:o}=re.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:s,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(E.instance(t),n)}toLocal(){return this.setZone(Q.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:s=!1}={}){if((t=oe(t,Q.defaultZone)).equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||s){const i=t.offset(this.ts),a=this.toObject();[o]=Ct(a,i,t)}return Ce(this,{ts:o,zone:t})}return O.invalid(xt(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:s}={}){return Ce(this,{loc:this.loc.clone({locale:t,numberingSystem:n,outputCalendar:s})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=zt(t,er),{minDaysInFirstWeek:s,startOfWeek:o}=dn(n,this.loc),i=!N(n.weekYear)||!N(n.weekNumber)||!N(n.weekday),a=!N(n.ordinal),u=!N(n.year),c=!N(n.month)||!N(n.day);if((u||c||a)&&(n.weekYear||n.weekNumber))throw new p("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new p("Can't mix ordinal dates with month/day");let b;i?b=ln({...ht(this.c,s,o),...n},s,o):N(n.ordinal)?(b={...this.toObject(),...n},N(n.day)&&(b.day=Math.min(gt(b.year,b.month),b.day))):b=cn({...Ft(this.c),...n});const[P,U]=Ct(b,this.o,this.zone);return Ce(this,{ts:P,o:U})}plus(t){return this.isValid?Ce(this,Qn(this,I.fromDurationLike(t))):this}minus(t){return this.isValid?Ce(this,Qn(this,I.fromDurationLike(t).negate())):this}
vendor: 6,288 bytes, line 1
1startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const s={},o=I.normalizeUnit(t);switch(o){case"years":s.month=1;case"quarters":case"months":s.day=1;case"weeks":case"days":s.hour=0;case"hours":s.minute=0;case"minutes":s.second=0;case"seconds":s.millisecond=0}if("weeks"===o)if(n){const i=this.loc.getStartOfWeek(),{weekday:a}=this;a<i&&(s.weekNumber=this.weekNumber-1),s.weekday=i}else s.weekday=1;if("quarters"===o){const i=Math.ceil(this.month/3);s.month=3*(i-1)+1}return this.set(s)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?re.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Bt}toLocaleString(t=_,n={}){return this.isValid?re.create(this.loc.clone(n),t).formatDateTime(this):Bt}toLocaleParts(t={}){return this.isValid?re.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:s=!1,includeOffset:o=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const a="extended"===t;let u=Yt(this,a);return u+="T",u+=jn(this,a,n,s,o,i),u}toISODate({format:t="extended"}={}){return this.isValid?Yt(this,"extended"===t):null}toISOWeekDate(){return vt(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:s=!0,includePrefix:o=!1,extendedZone:i=!1,format:a="extended"}={}){return this.isValid?(o?"T":"")+jn(this,"extended"===a,n,t,s,i):null}toRFC2822(){return vt(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return vt(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Yt(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:s=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(s&&(o+=" "),n?o+="z":t&&(o+="ZZ")),vt(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Bt}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",s={}){if(!this.isValid||!t.isValid)return I.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...s},i=function cr(r){return Array.isArray(r)?r:[r]}(n).map(I.normalizeUnit),a=t.valueOf()>this.valueOf(),g=function hs(r,t,n,s){let[o,i,a,u]=function ms(r,t,n){const s=[["years",(c,g)=>g.year-c.year],["quarters",(c,g)=>g.quarter-c.quarter+4*(g.year-c.year)],["months",(c,g)=>g.month-c.month+12*(g.year-c.year)],["weeks",(c,g)=>{const v=Ln(c,g);return(v-v%7)/7}],["days",Ln]],o={},i=r;let a,u;for(const[c,g]of s)n.indexOf(c)>=0&&(a=c,o[c]=g(r,t),u=i.plus(o),u>t?(o[c]--,(r=i.plus(o))>t&&(u=r,o[c]--,r=i.plus(o))):r=u);return[r,o,u,a]}(r,t,n);const c=t-o,g=n.filter(b=>["hours","minutes","seconds","milliseconds"].indexOf(b)>=0);0===g.length&&(a<t&&(a=o.plus({[u]:1})),a!==o&&(i[u]=(i[u]||0)+c/(a-o)));const v=I.fromObject(i,s);return g.length>0?I.fromMillis(c,s).shiftTo(...g).plus(v):v}(a?this:t,a?t:this,i,o);return a?g.negate():g}diffNow(t="milliseconds",n={}){return this.diff(O.now(),t,n)}until(t){return this.isValid?Y.fromDateTimes(this,t):this}hasSame(t,n,s){if(!this.isValid)return!1;const o=t.valueOf(),i=this.setZone(t.zone,{keepLocalTime:!0});return i.startOf(n,s)<=o&&o<=i.endOf(n,s)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||O.fromObject({},{zone:this.zone}),s=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],i=t.unit;return Array.isArray(t.unit)&&(o=t.unit,i=void 0),nr(n,this.plus(s),{...t,numeric:"always",units:o,unit:i})}toRelativeCalendar(t={}){return this.isValid?nr(t.base||O.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(O.isDateTime))throw new h("min requires all arguments be DateTimes");return gn(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(O.isDateTime))throw new h("max requires all arguments be DateTimes");return gn(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,s={}){const{locale:o=null,numberingSystem:i=null}=s;return Jn(f.fromOpts({locale:o,numberingSystem:i,defaultToEN:!0}),t,n)}static fromStringExplain(t,n,s={}){return O.fromFormatExplain(t,n,s)}static get DATE_SHORT(){return _}static get DATE_MED(){return w}static get DATE_MED_WITH_WEEKDAY(){return k}static get DATE_FULL(){return B}static get DATE_HUGE(){return S}static get TIME_SIMPLE(){return $}static get TIME_WITH_SECONDS(){return q}static get TIME_WITH_SHORT_OFFSET(){return V}static get TIME_WITH_LONG_OFFSET(){return F}static get TIME_24_SIMPLE(){return R}static get TIME_24_WITH_SECONDS(){return ee}static get TIME_24_WITH_SHORT_OFFSET(){return D}static get TIME_24_WITH_LONG_OFFSET(){return H}static get DATETIME_SHORT(){return j}static get DATETIME_SHORT_WITH_SECONDS(){return se}static get DATETIME_MED(){return ce}static get DATETIME_MED_WITH_SECONDS(){return it}static get DATETIME_MED_WITH_WEEKDAY(){return Et}static get DATETIME_FULL(){return Be}static get DATETIME_FULL_WITH_SECONDS(){return at}static get DATETIME_HUGE(){return Je}static get DATETIME_HUGE_WITH_SECONDS(){return Ge}}function rt(r){if(O.isDateTime(r))return r;if(r&&r.valueOf&&Ze(r.valueOf()))return O.fromJSDate(r);if(r&&"object"==typeof r)return O.fromObject(r);throw new h(`Unknown datetime argument: ${r}, of type ${typeof r}`)}W.DateTime=O,W.Duration=I,W.FixedOffsetZone=E,W.IANAZone=te,W.Info=tt,W.Interval=Y,W.InvalidZone=G,W.Settings=Q,W.SystemZone=de,W.VERSION="3.4.4",W.Zone=ne},7281:()=>{}}]);
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.