@malloy-publisher/app 0.0.182 → 0.0.183-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-doc.yaml +423 -60
- package/dist/assets/HomePage-Dn3E4CuB.js +1 -0
- package/dist/assets/{MainPage-DINuSDg0.js → MainPage-BzB3yoqi.js} +1 -1
- package/dist/assets/{ModelPage-BMcaV1YQ.js → ModelPage-C9O_sAXT.js} +1 -1
- package/dist/assets/PackagePage-DcxKEjBX.js +1 -0
- package/dist/assets/ProjectPage-BDj307rF.js +1 -0
- package/dist/assets/{RouteError-r14osUo0.js → RouteError-DAShbVCG.js} +1 -1
- package/dist/assets/{WorkbookPage-HI39NTWs.js → WorkbookPage-Cs_XYEaB.js} +1 -1
- package/dist/assets/core-CjeTkq8O.es-BqRc6yhC.js +148 -0
- package/dist/assets/engine-oniguruma-C4vnmooL.es-jdkXmgTr.js +1 -0
- package/dist/assets/github-light-JYsPkUQd.es-DAi9KRSo.js +1 -0
- package/dist/assets/index-15BOvhp0.js +456 -0
- package/dist/assets/{index-Dd6uCk_C.js → index-Bb2jqquW.js} +1 -1
- package/dist/assets/{index-JqHhhRqY.js → index-D68X76-7.js} +98 -98
- package/dist/assets/{index.umd-lwkX_kFe.js → index.umd-DGBekgSu.js} +1 -1
- package/dist/assets/json-71t8ZF9g.es-BQoSv7ci.js +1 -0
- package/dist/assets/sql-DCkt643-.es-COK4E0Yg.js +1 -0
- package/dist/assets/typescript-buWNZFwO.es-Dj6nwHGl.js +1 -0
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/HomePage-or6BbD5P.js +0 -1
- package/dist/assets/PackagePage-DXxlQcCj.js +0 -1
- package/dist/assets/ProjectPage-vfZc_Kvu.js +0 -1
- package/dist/assets/index-Bw1lh09G.js +0 -467
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as Xre}from"./index-Bw1lh09G.js";function MYe(Hg,Yg){for(var un=0;un<Yg.length;un++){const xt=Yg[un];if(typeof xt!="string"&&!Array.isArray(xt)){for(const Ms in xt)if(Ms!=="default"&&!(Ms in Hg)){const id=Object.getOwnPropertyDescriptor(xt,Ms);id&&Object.defineProperty(Hg,Ms,id.get?id:{enumerable:!0,get:()=>xt[Ms]})}}}return Object.freeze(Object.defineProperty(Hg,Symbol.toStringTag,{value:"Module"}))}var Vg={exports:{}},DYe=Vg.exports,Jre;function EYe(){return Jre||(Jre=1,(function(Hg,Yg){(function(un,xt){xt(Yg)})(DYe,function(un){class xt{constructor(){this.tagOptionExtractors={}}addExtractor(t,...n){for(const r in n)this.tagOptionExtractors[n[r]]=t}activates(t){return!1}isValidMatch(t){return!0}matches(t){return t.renderer===this.rendererName}parseTagParameters(t){const n={};for(const r in this.tagOptionExtractors){const i=t.tag(r);i&&this.tagOptionExtractors[r](n,i)}return n}}function Ms(e){if(e.isArray())return e.values.map(t=>Ms(t));if(e.isNumber()||e.isBoolean()||e.isString()||e.isNull())return e.value;if(e.isTime())return e.value.toISOString();if(e.isJSON())try{return JSON.parse(e.value)}catch{return e.value}else if(e.isRecord()){const t={};for(const n of e.columns)t[n.field.name]=Ms(n);return t}return null}class id{constructor(t){this.document=t}async render(t){const n=this.document.createElement("pre");return n.appendChild(this.document.createTextNode(JSON.stringify(Ms(t),void 0,2))),n}}const dx=class extends xt{create(t,n,r,i,a){return new id(t)}get rendererName(){return"json"}};dx.instance=new dx;let Zre=dx;class Kre{constructor(t,n,r){this.document=t,this.options=n,this.tagged=r}}class Gg extends Kre{constructor(){super(...arguments),this.childRenderers={}}get defaultStylesForChildren(){return this.childrenStyleDefaults}static make(t,n,r,i,a){return new t(n,i,a)}}var Xg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Xre<"u"?Xre:typeof self<"u"?self:{};function eie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hx,C$;function tie(){if(C$)return hx;C$=1;function e(t,n,r,i){var a=-1,o=t==null?0:t.length;for(i&&o&&(r=t[++a]);++a<o;)r=n(r,t[a],a,t);return r}return hx=e,hx}var px,A$;function nie(){if(A$)return px;A$=1;function e(t){return function(n){return t?.[n]}}return px=e,px}var mx,S$;function rie(){if(S$)return mx;S$=1;var e=nie(),t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},n=e(t);return mx=n,mx}var gx,M$;function iie(){if(M$)return gx;M$=1;var e=typeof Xg=="object"&&Xg&&Xg.Object===Object&&Xg;return gx=e,gx}var yx,D$;function aie(){if(D$)return yx;D$=1;var e=iie(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return yx=n,yx}var vx,E$;function bx(){if(E$)return vx;E$=1;var e=aie(),t=e.Symbol;return vx=t,vx}var xx,$$;function oie(){if($$)return xx;$$=1;function e(t,n){for(var r=-1,i=t==null?0:t.length,a=Array(i);++r<i;)a[r]=n(t[r],r,t);return a}return xx=e,xx}var wx,F$;function sie(){if(F$)return wx;F$=1;var e=Array.isArray;return wx=e,wx}var _x,T$;function lie(){if(T$)return _x;T$=1;var e=bx(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;function a(o){var s=n.call(o,i),l=o[i];try{o[i]=void 0;var u=!0}catch{}var c=r.call(o);return u&&(s?o[i]=l:delete o[i]),c}return _x=a,_x}var kx,O$;function uie(){if(O$)return kx;O$=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return kx=n,kx}var Cx,N$;function cie(){if(N$)return Cx;N$=1;var e=bx(),t=lie(),n=uie(),r="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?i:r:a&&a in Object(s)?t(s):n(s)}return Cx=o,Cx}var Ax,z$;function fie(){if(z$)return Ax;z$=1;function e(t){return t!=null&&typeof t=="object"}return Ax=e,Ax}var Sx,R$;function die(){if(R$)return Sx;R$=1;var e=cie(),t=fie(),n="[object Symbol]";function r(i){return typeof i=="symbol"||t(i)&&e(i)==n}return Sx=r,Sx}var Mx,P$;function hie(){if(P$)return Mx;P$=1;var e=bx(),t=oie(),n=sie(),r=die(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(s){if(typeof s=="string")return s;if(n(s))return t(s,o)+"";if(r(s))return a?a.call(s):"";var l=s+"";return l=="0"&&1/s==-1/0?"-0":l}return Mx=o,Mx}var Dx,L$;function Ex(){if(L$)return Dx;L$=1;var e=hie();function t(n){return n==null?"":e(n)}return Dx=t,Dx}var $x,q$;function pie(){if(q$)return $x;q$=1;var e=rie(),t=Ex(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",a="\\u20d0-\\u20ff",o=r+i+a,s="["+o+"]",l=RegExp(s,"g");function u(c){return c=t(c),c&&c.replace(n,e).replace(l,"")}return $x=u,$x}var Fx,B$;function mie(){if(B$)return Fx;B$=1;var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function t(n){return n.match(e)||[]}return Fx=t,Fx}var Tx,I$;function gie(){if(I$)return Tx;I$=1;var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function t(n){return e.test(n)}return Tx=t,Tx}var Ox,j$;function yie(){if(j$)return Ox;j$=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,a="\\u2700-\\u27bf",o="a-z\\xdf-\\xf6\\xf8-\\xff",s="\\xac\\xb1\\xd7\\xf7",l="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",u="\\u2000-\\u206f",c=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",f="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\ufe0e\\ufe0f",h=s+l+u+c,p="['’]",m="["+h+"]",g="["+i+"]",y="\\d+",v="["+a+"]",b="["+o+"]",x="[^"+e+h+y+a+o+f+"]",_="\\ud83c[\\udffb-\\udfff]",C="(?:"+g+"|"+_+")",w="[^"+e+"]",S="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",A="["+f+"]",$="\\u200d",F="(?:"+b+"|"+x+")",O="(?:"+A+"|"+x+")",P="(?:"+p+"(?:d|ll|m|re|s|t|ve))?",R="(?:"+p+"(?:D|LL|M|RE|S|T|VE))?",L=C+"?",V="["+d+"]?",Q="(?:"+$+"(?:"+[w,S,E].join("|")+")"+V+L+")*",U="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Y="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ee=V+L+Q,ae="(?:"+[v,S,E].join("|")+")"+ee,ue=RegExp([A+"?"+b+"+"+P+"(?="+[m,A,"$"].join("|")+")",O+"+"+R+"(?="+[m,A+F,"$"].join("|")+")",A+"?"+F+"+"+P,A+"+"+R,Y,U,y,ae].join("|"),"g");function he(ke){return ke.match(ue)||[]}return Ox=he,Ox}var Nx,U$;function vie(){if(U$)return Nx;U$=1;var e=mie(),t=gie(),n=Ex(),r=yie();function i(a,o,s){return a=n(a),o=s?void 0:o,o===void 0?t(a)?r(a):e(a):a.match(o)||[]}return Nx=i,Nx}var zx,V$;function bie(){if(V$)return zx;V$=1;var e=tie(),t=pie(),n=vie(),r="['’]",i=RegExp(r,"g");function a(o){return function(s){return e(n(t(s).replace(i,"")),o,"")}}return zx=a,zx}var Rx,W$;function xie(){if(W$)return Rx;W$=1;function e(t,n,r){var i=-1,a=t.length;n<0&&(n=-n>a?0:a+n),r=r>a?a:r,r<0&&(r+=a),a=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(a);++i<a;)o[i]=t[i+n];return o}return Rx=e,Rx}var Px,H$;function wie(){if(H$)return Px;H$=1;var e=xie();function t(n,r,i){var a=n.length;return i=i===void 0?a:i,!r&&i>=a?n:e(n,r,i)}return Px=t,Px}var Lx,Y$;function G$(){if(Y$)return Lx;Y$=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,a="\\ufe0e\\ufe0f",o="\\u200d",s=RegExp("["+o+e+i+a+"]");function l(u){return s.test(u)}return Lx=l,Lx}var qx,X$;function _ie(){if(X$)return qx;X$=1;function e(t){return t.split("")}return qx=e,qx}var Bx,J$;function kie(){if(J$)return Bx;J$=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,a="\\ufe0e\\ufe0f",o="["+e+"]",s="["+i+"]",l="\\ud83c[\\udffb-\\udfff]",u="(?:"+s+"|"+l+")",c="[^"+e+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",h="\\u200d",p=u+"?",m="["+a+"]?",g="(?:"+h+"(?:"+[c,f,d].join("|")+")"+m+p+")*",y=m+p+g,v="(?:"+[c+s+"?",s,f,d,o].join("|")+")",b=RegExp(l+"(?="+l+")|"+v+y,"g");function x(_){return _.match(b)||[]}return Bx=x,Bx}var Ix,Q$;function Cie(){if(Q$)return Ix;Q$=1;var e=_ie(),t=G$(),n=kie();function r(i){return t(i)?n(i):e(i)}return Ix=r,Ix}var jx,Z$;function Aie(){if(Z$)return jx;Z$=1;var e=wie(),t=G$(),n=Cie(),r=Ex();function i(a){return function(o){o=r(o);var s=t(o)?n(o):void 0,l=s?s[0]:o.charAt(0),u=s?e(s,1).join(""):o.slice(1);return l[a]()+u}}return jx=i,jx}var Ux,K$;function Sie(){if(K$)return Ux;K$=1;var e=Aie(),t=e("toUpperCase");return Ux=t,Ux}var Vx,eF;function Mie(){if(eF)return Vx;eF=1;var e=bie(),t=Sie(),n=e(function(r,i,a){return r+(a?" ":"")+t(i)});return Vx=n,Vx}var Die=Mie();const Eie=eie(Die);class rc extends Error{}class $ie extends rc{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Fie extends rc{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Tie extends rc{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ad extends rc{}class tF extends rc{constructor(t){super(`Invalid unit ${t}`)}}class mr extends rc{}class Bl extends rc{constructor(){super("Zone is an abstract class")}}const _e="numeric",Ea="short",Ei="long",Jg={year:_e,month:_e,day:_e},nF={year:_e,month:Ea,day:_e},Oie={year:_e,month:Ea,day:_e,weekday:Ea},rF={year:_e,month:Ei,day:_e},iF={year:_e,month:Ei,day:_e,weekday:Ei},aF={hour:_e,minute:_e},oF={hour:_e,minute:_e,second:_e},sF={hour:_e,minute:_e,second:_e,timeZoneName:Ea},lF={hour:_e,minute:_e,second:_e,timeZoneName:Ei},uF={hour:_e,minute:_e,hourCycle:"h23"},cF={hour:_e,minute:_e,second:_e,hourCycle:"h23"},fF={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:Ea},dF={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:Ei},hF={year:_e,month:_e,day:_e,hour:_e,minute:_e},pF={year:_e,month:_e,day:_e,hour:_e,minute:_e,second:_e},mF={year:_e,month:Ea,day:_e,hour:_e,minute:_e},gF={year:_e,month:Ea,day:_e,hour:_e,minute:_e,second:_e},Nie={year:_e,month:Ea,day:_e,weekday:Ea,hour:_e,minute:_e},yF={year:_e,month:Ei,day:_e,hour:_e,minute:_e,timeZoneName:Ea},vF={year:_e,month:Ei,day:_e,hour:_e,minute:_e,second:_e,timeZoneName:Ea},bF={year:_e,month:Ei,day:_e,weekday:Ei,hour:_e,minute:_e,timeZoneName:Ei},xF={year:_e,month:Ei,day:_e,weekday:Ei,hour:_e,minute:_e,second:_e,timeZoneName:Ei};class x1{get type(){throw new Bl}get name(){throw new Bl}get ianaName(){return this.name}get isUniversal(){throw new Bl}offsetName(t,n){throw new Bl}formatOffset(t,n){throw new Bl}offset(t){throw new Bl}equals(t){throw new Bl}get isValid(){throw new Bl}}let Wx=null;class Qg extends x1{static get instance(){return Wx===null&&(Wx=new Qg),Wx}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return HF(t,n,r)}formatOffset(t,n){return k1(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}const Hx=new Map;function zie(e){let t=Hx.get(e);return t===void 0&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Hx.set(e,t)),t}const Rie={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Pie(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,i,a,o,s,l,u,c]=r;return[o,i,a,s,l,u,c]}function Lie(e,t){const n=e.formatToParts(t),r=[];for(let i=0;i<n.length;i++){const{type:a,value:o}=n[i],s=Rie[a];a==="era"?r[s]=o:Xe(s)||(r[s]=parseInt(o,10))}return r}const Yx=new Map;class Ds extends x1{static create(t){let n=Yx.get(t);return n===void 0&&Yx.set(t,n=new Ds(t)),n}static resetCache(){Yx.clear(),Hx.clear()}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=Ds.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return HF(t,n,r,this.name)}formatOffset(t,n){return k1(this.offset(t),n)}offset(t){if(!this.valid)return NaN;const n=new Date(t);if(isNaN(n))return NaN;const r=zie(this.name);let[i,a,o,s,l,u,c]=r.formatToParts?Lie(r,n):Pie(r,n);s==="BC"&&(i=-Math.abs(i)+1);const f=r2({year:i,month:a,day:o,hour:l===24?0:l,minute:u,second:c,millisecond:0});let d=+n;const h=d%1e3;return d-=h>=0?h:1e3+h,(f-d)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let wF={};function qie(e,t={}){const n=JSON.stringify([e,t]);let r=wF[n];return r||(r=new Intl.ListFormat(e,t),wF[n]=r),r}const Gx=new Map;function Xx(e,t={}){const n=JSON.stringify([e,t]);let r=Gx.get(n);return r===void 0&&(r=new Intl.DateTimeFormat(e,t),Gx.set(n,r)),r}const Jx=new Map;function Bie(e,t={}){const n=JSON.stringify([e,t]);let r=Jx.get(n);return r===void 0&&(r=new Intl.NumberFormat(e,t),Jx.set(n,r)),r}const Qx=new Map;function Iie(e,t={}){const{base:n,...r}=t,i=JSON.stringify([e,r]);let a=Qx.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(e,t),Qx.set(i,a)),a}let Zg=null;function jie(){return Zg||(Zg=new Intl.DateTimeFormat().resolvedOptions().locale,Zg)}const Zx=new Map;function _F(e){let t=Zx.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Zx.set(e,t)),t}const Kx=new Map;function Uie(e){let t=Kx.get(e);if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in t||(t={...kF,...t}),Kx.set(e,t)}return t}function Vie(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,i;try{r=Xx(e).resolvedOptions(),i=e}catch{const s=e.substring(0,n);r=Xx(s).resolvedOptions(),i=s}const{numberingSystem:a,calendar:o}=r;return[i,a,o]}}function Wie(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function Hie(e){const t=[];for(let n=1;n<=12;n++){const r=Je.utc(2009,n,1);t.push(e(r))}return t}function Yie(e){const t=[];for(let n=1;n<=7;n++){const r=Je.utc(2016,11,13+n);t.push(e(r))}return t}function Kg(e,t,n,r){const i=e.listingMode();return i==="error"?null:i==="en"?n(t):r(t)}function Gie(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||_F(e.locale).numberingSystem==="latn"}class Xie{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:i,floor:a,...o}=r;if(!n||Object.keys(o).length>0){const s={useGrouping:!1,...r};r.padTo>0&&(s.minimumIntegerDigits=r.padTo),this.inf=Bie(t,s)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):l6(t,3);return Dn(n,this.padTo)}}}class Jie{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const o=-1*(t.offset/60),s=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;t.offset!==0&&Ds.create(s).valid?(i=s,this.dt=t):(i="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,i=t.zone.name):(i="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const a={...this.opts};a.timeZone=a.timeZone||i,this.dtf=Xx(n,a)}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(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Qie{constructor(t,n,r){this.opts={style:"long",...r},!n&&jF()&&(this.rtf=Iie(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):bae(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const kF={firstDay:1,minimalDays:4,weekend:[6,7]};class Mt{static fromOpts(t){return Mt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,i,a=!1){const o=t||mn.defaultLocale,s=o||(a?"en-US":jie()),l=n||mn.defaultNumberingSystem,u=r||mn.defaultOutputCalendar,c=o6(i)||mn.defaultWeekSettings;return new Mt(s,l,u,c,o)}static resetCache(){Zg=null,Gx.clear(),Jx.clear(),Qx.clear(),Zx.clear(),Kx.clear()}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:i}={}){return Mt.create(t,n,r,i)}constructor(t,n,r,i,a){const[o,s,l]=Vie(t);this.locale=o,this.numberingSystem=n||s||null,this.outputCalendar=r||l||null,this.weekSettings=i,this.intl=Wie(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=a,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Gie(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:Mt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,o6(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return Kg(this,t,XF,()=>{const r=this.intl==="ja"||this.intl.startsWith("ja-");n&=!r;const i=n?{month:t,day:"numeric"}:{month:t},a=n?"format":"standalone";if(!this.monthsCache[a][t]){const o=r?s=>this.dtFormatter(s,i).format():s=>this.extract(s,i,"month");this.monthsCache[a][t]=Hie(o)}return this.monthsCache[a][t]})}weekdays(t,n=!1){return Kg(this,t,ZF,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=n?"format":"standalone";return this.weekdaysCache[i][t]||(this.weekdaysCache[i][t]=Yie(a=>this.extract(a,r,"weekday"))),this.weekdaysCache[i][t]})}meridiems(){return Kg(this,void 0,()=>KF,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Je.utc(2016,11,13,9),Je.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Kg(this,t,eT,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Je.utc(-40,1,1),Je.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const i=this.dtFormatter(t,n),a=i.formatToParts(),o=a.find(s=>s.type.toLowerCase()===r);return o?o.value:null}numberFormatter(t={}){return new Xie(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new Jie(t,this.intl,n)}relFormatter(t={}){return new Qie(this.intl,this.isEnglish(),t)}listFormatter(t={}){return qie(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||_F(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:UF()?Uie(this.locale):kF}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}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let e6=null;class Or extends x1{static get utcInstance(){return e6===null&&(e6=new Or(0)),e6}static instance(t){return t===0?Or.utcInstance:new Or(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Or(i2(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${k1(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${k1(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return k1(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class Zie extends x1{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 Il(e,t){if(Xe(e)||e===null)return t;if(e instanceof x1)return e;if(iae(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Qg.instance:n==="utc"||n==="gmt"?Or.utcInstance:Or.parseSpecifier(n)||Ds.create(e)}else return jl(e)?Or.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new Zie(e)}const t6={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},CF={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]},Kie=t6.hanidec.replace(/[\[|\]]/g,"").split("");function eae(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(t6.hanidec)!==-1)t+=Kie.indexOf(e[n]);else for(const i in CF){const[a,o]=CF[i];r>=a&&r<=o&&(t+=r-a)}}return parseInt(t,10)}else return t}const n6=new Map;function tae(){n6.clear()}function $a({numberingSystem:e},t=""){const n=e||"latn";let r=n6.get(n);r===void 0&&(r=new Map,n6.set(n,r));let i=r.get(t);return i===void 0&&(i=new RegExp(`${t6[n]}${t}`),r.set(t,i)),i}let AF=()=>Date.now(),SF="system",MF=null,DF=null,EF=null,$F=60,FF,TF=null;class mn{static get now(){return AF}static set now(t){AF=t}static set defaultZone(t){SF=t}static get defaultZone(){return Il(SF,Qg.instance)}static get defaultLocale(){return MF}static set defaultLocale(t){MF=t}static get defaultNumberingSystem(){return DF}static set defaultNumberingSystem(t){DF=t}static get defaultOutputCalendar(){return EF}static set defaultOutputCalendar(t){EF=t}static get defaultWeekSettings(){return TF}static set defaultWeekSettings(t){TF=o6(t)}static get twoDigitCutoffYear(){return $F}static set twoDigitCutoffYear(t){$F=t%100}static get throwOnInvalid(){return FF}static set throwOnInvalid(t){FF=t}static resetCaches(){Mt.resetCache(),Ds.resetCache(),Je.resetCache(),tae()}}class Fa{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const OF=[0,31,59,90,120,151,181,212,243,273,304,334],NF=[0,31,60,91,121,152,182,213,244,274,305,335];function Yi(e,t){return new Fa("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function r6(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const i=r.getUTCDay();return i===0?7:i}function zF(e,t,n){return n+(w1(e)?NF:OF)[t-1]}function RF(e,t){const n=w1(e)?NF:OF,r=n.findIndex(a=>a<t),i=t-n[r];return{month:r+1,day:i}}function i6(e,t){return(e-t+7)%7+1}function e2(e,t=4,n=1){const{year:r,month:i,day:a}=e,o=zF(r,i,a),s=i6(r6(r,i,a),n);let l=Math.floor((o-s+14-t)/7),u;return l<1?(u=r-1,l=_1(u,t,n)):l>_1(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:s,...o2(e)}}function PF(e,t=4,n=1){const{weekYear:r,weekNumber:i,weekday:a}=e,o=i6(r6(r,1,t),n),s=sd(r);let l=i*7+a-o-7+t,u;l<1?(u=r-1,l+=sd(u)):l>s?(u=r+1,l-=sd(r)):u=r;const{month:c,day:f}=RF(u,l);return{year:u,month:c,day:f,...o2(e)}}function a6(e){const{year:t,month:n,day:r}=e,i=zF(t,n,r);return{year:t,ordinal:i,...o2(e)}}function LF(e){const{year:t,ordinal:n}=e,{month:r,day:i}=RF(t,n);return{year:t,month:r,day:i,...o2(e)}}function qF(e,t){if(!Xe(e.localWeekday)||!Xe(e.localWeekNumber)||!Xe(e.localWeekYear)){if(!Xe(e.weekday)||!Xe(e.weekNumber)||!Xe(e.weekYear))throw new ad("Cannot mix locale-based week fields with ISO-based week fields");return Xe(e.localWeekday)||(e.weekday=e.localWeekday),Xe(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Xe(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function nae(e,t=4,n=1){const r=t2(e.weekYear),i=Gi(e.weekNumber,1,_1(e.weekYear,t,n)),a=Gi(e.weekday,1,7);return r?i?a?!1:Yi("weekday",e.weekday):Yi("week",e.weekNumber):Yi("weekYear",e.weekYear)}function rae(e){const t=t2(e.year),n=Gi(e.ordinal,1,sd(e.year));return t?n?!1:Yi("ordinal",e.ordinal):Yi("year",e.year)}function BF(e){const t=t2(e.year),n=Gi(e.month,1,12),r=Gi(e.day,1,n2(e.year,e.month));return t?n?r?!1:Yi("day",e.day):Yi("month",e.month):Yi("year",e.year)}function IF(e){const{hour:t,minute:n,second:r,millisecond:i}=e,a=Gi(t,0,23)||t===24&&n===0&&r===0&&i===0,o=Gi(n,0,59),s=Gi(r,0,59),l=Gi(i,0,999);return a?o?s?l?!1:Yi("millisecond",i):Yi("second",r):Yi("minute",n):Yi("hour",t)}function Xe(e){return typeof e>"u"}function jl(e){return typeof e=="number"}function t2(e){return typeof e=="number"&&e%1===0}function iae(e){return typeof e=="string"}function aae(e){return Object.prototype.toString.call(e)==="[object Date]"}function jF(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function UF(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function oae(e){return Array.isArray(e)?e:[e]}function VF(e,t,n){if(e.length!==0)return e.reduce((r,i)=>{const a=[t(i),i];return r&&n(r[0],a[0])===r[0]?r:a},null)[1]}function sae(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function od(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o6(e){if(e==null)return null;if(typeof e!="object")throw new mr("Week settings must be an object");if(!Gi(e.firstDay,1,7)||!Gi(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!Gi(t,1,7)))throw new mr("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Gi(e,t,n){return t2(e)&&e>=t&&e<=n}function lae(e,t){return e-t*Math.floor(e/t)}function Dn(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Ul(e){if(!(Xe(e)||e===null||e===""))return parseInt(e,10)}function ic(e){if(!(Xe(e)||e===null||e===""))return parseFloat(e)}function s6(e){if(!(Xe(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function l6(e,t,n="round"){const r=10**t;switch(n){case"expand":return e>0?Math.ceil(e*r)/r:Math.floor(e*r)/r;case"trunc":return Math.trunc(e*r)/r;case"round":return Math.round(e*r)/r;case"floor":return Math.floor(e*r)/r;case"ceil":return Math.ceil(e*r)/r;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function w1(e){return e%4===0&&(e%100!==0||e%400===0)}function sd(e){return w1(e)?366:365}function n2(e,t){const n=lae(t-1,12)+1,r=e+(t-n)/12;return n===2?w1(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function r2(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function WF(e,t,n){return-i6(r6(e,1,t),n)+t-1}function _1(e,t=4,n=1){const r=WF(e,t,n),i=WF(e+1,t,n);return(sd(e)-r+i)/7}function u6(e){return e>99?e:e>mn.twoDigitCutoffYear?1900+e:2e3+e}function HF(e,t,n,r=null){const i=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r);const o={timeZoneName:t,...a},s=new Intl.DateTimeFormat(n,o).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return s?s.value:null}function i2(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,i=n<0||Object.is(n,-0)?-r:r;return n*60+i}function YF(e){const t=Number(e);if(typeof e=="boolean"||e===""||!Number.isFinite(t))throw new mr(`Invalid unit value ${e}`);return t}function a2(e,t){const n={};for(const r in e)if(od(e,r)){const i=e[r];if(i==null)continue;n[t(r)]=YF(i)}return n}function k1(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${Dn(n,2)}:${Dn(r,2)}`;case"narrow":return`${i}${n}${r>0?`:${r}`:""}`;case"techie":return`${i}${Dn(n,2)}${Dn(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function o2(e){return sae(e,["hour","minute","second","millisecond"])}const uae=["January","February","March","April","May","June","July","August","September","October","November","December"],GF=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cae=["J","F","M","A","M","J","J","A","S","O","N","D"];function XF(e){switch(e){case"narrow":return[...cae];case"short":return[...GF];case"long":return[...uae];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 JF=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],QF=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],fae=["M","T","W","T","F","S","S"];function ZF(e){switch(e){case"narrow":return[...fae];case"short":return[...QF];case"long":return[...JF];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const KF=["AM","PM"],dae=["Before Christ","Anno Domini"],hae=["BC","AD"],pae=["B","A"];function eT(e){switch(e){case"narrow":return[...pae];case"short":return[...hae];case"long":return[...dae];default:return null}}function mae(e){return KF[e.hour<12?0:1]}function gae(e,t){return ZF(t)[e.weekday-1]}function yae(e,t){return XF(t)[e.month-1]}function vae(e,t){return eT(t)[e.year<0?0:1]}function bae(e,t,n="always",r=!1){const i={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."]},a=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&a){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${i[e][0]}`;case-1:return f?"yesterday":`last ${i[e][0]}`;case 0:return f?"today":`this ${i[e][0]}`}}const o=Object.is(t,-0)||t<0,s=Math.abs(t),l=s===1,u=i[e],c=r?l?u[1]:u[2]||u[1]:l?i[e][0]:e;return o?`${s} ${c} ago`:`in ${s} ${c}`}function tT(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const xae={D:Jg,DD:nF,DDD:rF,DDDD:iF,t:aF,tt:oF,ttt:sF,tttt:lF,T:uF,TT:cF,TTT:fF,TTTT:dF,f:hF,ff:mF,fff:yF,ffff:bF,F:pF,FF:gF,FFF:vF,FFFF:xF};class gr{static create(t,n={}){return new gr(t,n)}static parseFormat(t){let n=null,r="",i=!1;const a=[];for(let o=0;o<t.length;o++){const s=t.charAt(o);s==="'"?((r.length>0||i)&&a.push({literal:i||/^\s+$/.test(r),val:r===""?"'":r}),n=null,r="",i=!i):i||s===n?r+=s:(r.length>0&&a.push({literal:/^\s+$/.test(r),val:r}),r=s,n=s)}return r.length>0&&a.push({literal:i||/^\s+$/.test(r),val:r}),a}static macroTokenToFormatOpts(t){return xae[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(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,r=void 0){if(this.opts.forceSimple)return Dn(t,n);const i={...this.opts};return n>0&&(i.padTo=n),r&&(i.signDisplay=r),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(h,p)=>this.loc.extract(t,h,p),o=h=>t.isOffsetFixed&&t.offset===0&&h.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,h.format):"",s=()=>r?mae(t):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,p)=>r?yae(t,h):a(p?{month:h}:{month:h,day:"numeric"},"month"),u=(h,p)=>r?gae(t,h):a(p?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),c=h=>{const p=gr.macroTokenToFormatOpts(h);return p?this.formatWithSystemDefault(t,p):h},f=h=>r?vae(t,h):a({era:h},"era"),d=h=>{switch(h){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 o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({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();case"d":return i?a({day:"numeric"},"day"):this.num(t.day);case"dd":return i?a({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return i?a({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return i?a({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?a({month:"numeric"},"month"):this.num(t.month);case"MM":return i?a({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?a({year:"numeric"},"year"):this.num(t.year);case"yy":return i?a({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return i?a({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return i?a({year:"numeric"},"year"):this.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("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);case"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 c(h)}};return tT(gr.parseFormat(n),d)}formatDurationFromString(t,n){const r=this.opts.signMode==="negativeLargestOnly"?-1:1,i=c=>{switch(c[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},a=(c,f)=>d=>{const h=i(d);if(h){const p=f.isNegativeDuration&&h!==f.largestUnit?r:1;let m;return this.opts.signMode==="negativeLargestOnly"&&h!==f.largestUnit?m="never":this.opts.signMode==="all"?m="always":m="auto",this.num(c.get(h)*p,d.length,m)}else return d},o=gr.parseFormat(n),s=o.reduce((c,{literal:f,val:d})=>f?c:c.concat(d),[]),l=t.shiftTo(...s.map(i).filter(c=>c)),u={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return tT(o,a(l,u))}}const nT=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ld(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function ud(...e){return t=>e.reduce(([n,r,i],a)=>{const[o,s,l]=a(t,i);return[{...n,...o},s||r,l]},[{},null,1]).slice(0,2)}function cd(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const i=n.exec(e);if(i)return r(i)}return[null,null]}function rT(...e){return(t,n)=>{const r={};let i;for(i=0;i<e.length;i++)r[e[i]]=Ul(t[n+i]);return[r,null,n+i]}}const iT=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,wae=`(?:${iT.source}?(?:\\[(${nT.source})\\])?)?`,c6=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,aT=RegExp(`${c6.source}${wae}`),f6=RegExp(`(?:[Tt]${aT.source})?`),_ae=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kae=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Cae=/(\d{4})-?(\d{3})/,Aae=rT("weekYear","weekNumber","weekDay"),Sae=rT("year","ordinal"),Mae=/(\d{4})-(\d\d)-(\d\d)/,oT=RegExp(`${c6.source} ?(?:${iT.source}|(${nT.source}))?`),Dae=RegExp(`(?: ${oT.source})?`);function fd(e,t,n){const r=e[t];return Xe(r)?n:Ul(r)}function Eae(e,t){return[{year:fd(e,t),month:fd(e,t+1,1),day:fd(e,t+2,1)},null,t+3]}function dd(e,t){return[{hours:fd(e,t,0),minutes:fd(e,t+1,0),seconds:fd(e,t+2,0),milliseconds:s6(e[t+3])},null,t+4]}function C1(e,t){const n=!e[t]&&!e[t+1],r=i2(e[t+1],e[t+2]),i=n?null:Or.instance(r);return[{},i,t+3]}function A1(e,t){const n=e[t]?Ds.create(e[t]):null;return[{},n,t+1]}const $ae=RegExp(`^T?${c6.source}$`),Fae=/^-?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 Tae(e){const[t,n,r,i,a,o,s,l,u]=e,c=t[0]==="-",f=l&&l[0]==="-",d=(h,p=!1)=>h!==void 0&&(p||h&&c)?-h:h;return[{years:d(ic(n)),months:d(ic(r)),weeks:d(ic(i)),days:d(ic(a)),hours:d(ic(o)),minutes:d(ic(s)),seconds:d(ic(l),l==="-0"),milliseconds:d(s6(u),f)}]}const Oae={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function d6(e,t,n,r,i,a,o){const s={year:t.length===2?u6(Ul(t)):Ul(t),month:GF.indexOf(n)+1,day:Ul(r),hour:Ul(i),minute:Ul(a)};return o&&(s.second=Ul(o)),e&&(s.weekday=e.length>3?JF.indexOf(e)+1:QF.indexOf(e)+1),s}const Nae=/^(?:(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 zae(e){const[,t,n,r,i,a,o,s,l,u,c,f]=e,d=d6(t,i,r,n,a,o,s);let h;return l?h=Oae[l]:u?h=0:h=i2(c,f),[d,new Or(h)]}function Rae(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Pae=/^(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$/,Lae=/^(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$/,qae=/^(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 sT(e){const[,t,n,r,i,a,o,s]=e;return[d6(t,i,r,n,a,o,s),Or.utcInstance]}function Bae(e){const[,t,n,r,i,a,o,s]=e;return[d6(t,s,n,r,i,a,o),Or.utcInstance]}const Iae=ld(_ae,f6),jae=ld(kae,f6),Uae=ld(Cae,f6),Vae=ld(aT),lT=ud(Eae,dd,C1,A1),Wae=ud(Aae,dd,C1,A1),Hae=ud(Sae,dd,C1,A1),Yae=ud(dd,C1,A1);function Gae(e){return cd(e,[Iae,lT],[jae,Wae],[Uae,Hae],[Vae,Yae])}function Xae(e){return cd(Rae(e),[Nae,zae])}function Jae(e){return cd(e,[Pae,sT],[Lae,sT],[qae,Bae])}function Qae(e){return cd(e,[Fae,Tae])}const Zae=ud(dd);function Kae(e){return cd(e,[$ae,Zae])}const eoe=ld(Mae,Dae),toe=ld(oT),noe=ud(dd,C1,A1);function roe(e){return cd(e,[eoe,lT],[toe,noe])}const uT="Invalid Duration",cT={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},ioe={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...cT},Xi=146097/400,hd=146097/4800,aoe={years:{quarters:4,months:12,weeks:Xi/7,days:Xi,hours:Xi*24,minutes:Xi*24*60,seconds:Xi*24*60*60,milliseconds:Xi*24*60*60*1e3},quarters:{months:3,weeks:Xi/28,days:Xi/4,hours:Xi*24/4,minutes:Xi*24*60/4,seconds:Xi*24*60*60/4,milliseconds:Xi*24*60*60*1e3/4},months:{weeks:hd/7,days:hd,hours:hd*24,minutes:hd*24*60,seconds:hd*24*60*60,milliseconds:hd*24*60*60*1e3},...cT},ac=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ooe=ac.slice(0).reverse();function Es(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new vt(r)}function fT(e,t){let n=t.milliseconds??0;for(const r of ooe.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function dT(e,t){const n=fT(e,t)<0?-1:1;ac.reduceRight((r,i)=>{if(Xe(t[i]))return r;if(r){const a=t[r]*n,o=e[i][r],s=Math.floor(a/o);t[i]+=s*n,t[r]-=s*o*n}return i},null),ac.reduce((r,i)=>{if(Xe(t[i]))return r;if(r){const a=t[r]%1;t[r]-=a,t[i]+=a*e[r][i]}return i},null)}function hT(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class vt{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?aoe:ioe;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||Mt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return vt.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new mr(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new vt({values:a2(t,vt.normalizeUnit),loc:Mt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(jl(t))return vt.fromMillis(t);if(vt.isDuration(t))return t;if(typeof t=="object")return vt.fromObject(t);throw new mr(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=Qae(t);return r?vt.fromObject(r,n):vt.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=Kae(t);return r?vt.fromObject(r,n):vt.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new mr("need to specify a reason the Duration is invalid");const r=t instanceof Fa?t:new Fa(t,n);if(mn.throwOnInvalid)throw new Tie(r);return new vt({invalid:r})}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 tF(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 r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?gr.create(this.loc,r).formatDurationFromString(this,t):uT}toHuman(t={}){if(!this.isValid)return uT;const n=t.showZeros!==!1,r=ac.map(i=>{const a=this.values[i];return Xe(a)||a===0&&!n?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:i.slice(0,-1)}).format(a)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=l6(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(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},Je.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?fT(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=vt.fromDurationLike(t),r={};for(const i of ac)(od(n.values,i)||od(this.values,i))&&(r[i]=n.get(i)+this.get(i));return Es(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=vt.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=YF(t(this.values[r],r));return Es(this,{values:n},!0)}get(t){return this[vt.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...a2(t,vt.normalizeUnit)};return Es(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:i}={}){const a={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:i,conversionAccuracy:r};return Es(this,a)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return dT(this.matrix,t),Es(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=hT(this.normalize().shiftToAll().toObject());return Es(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(o=>vt.normalizeUnit(o));const n={},r={},i=this.toObject();let a;for(const o of ac)if(t.indexOf(o)>=0){a=o;let s=0;for(const u in r)s+=this.matrix[u][o]*r[u],r[u]=0;jl(i[o])&&(s+=i[o]);const l=Math.trunc(s);n[o]=l,r[o]=(s*1e3-l*1e3)/1e3}else jl(i[o])&&(r[o]=i[o]);for(const o in r)r[o]!==0&&(n[a]+=o===a?r[o]:r[o]/this.matrix[a][o]);return dT(this.matrix,n),Es(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]=this.values[n]===0?0:-this.values[n];return Es(this,{values:t},!0)}removeZeros(){if(!this.isValid)return this;const t=hT(this.values);return Es(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 this.invalid===null}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(r,i){return r===void 0||r===0?i===void 0||i===0:r===i}for(const r of ac)if(!n(this.values[r],t.values[r]))return!1;return!0}}const pd="Invalid Interval";function soe(e,t){return!e||!e.isValid?gn.invalid("missing or invalid start"):!t||!t.isValid?gn.invalid("missing or invalid end"):t<e?gn.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class gn{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 mr("need to specify a reason the Interval is invalid");const r=t instanceof Fa?t:new Fa(t,n);if(mn.throwOnInvalid)throw new Fie(r);return new gn({invalid:r})}static fromDateTimes(t,n){const r=D1(t),i=D1(n);return soe(r,i)??new gn({start:r,end:i})}static after(t,n){const r=vt.fromDurationLike(n),i=D1(t);return gn.fromDateTimes(i,i.plus(r))}static before(t,n){const r=vt.fromDurationLike(n),i=D1(t);return gn.fromDateTimes(i.minus(r),i)}static fromISO(t,n){const[r,i]=(t||"").split("/",2);if(r&&i){let a,o;try{a=Je.fromISO(r,n),o=a.isValid}catch{o=!1}let s,l;try{s=Je.fromISO(i,n),l=s.isValid}catch{l=!1}if(o&&l)return gn.fromDateTimes(a,s);if(o){const u=vt.fromISO(i,n);if(u.isValid)return gn.after(a,u)}else if(l){const u=vt.fromISO(r,n);if(u.isValid)return gn.before(s,u)}}return gn.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}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 r=this.start.startOf(t,n);let i;return n!=null&&n.useLocaleWeeks?i=this.end.reconfigure({locale:r.locale}):i=this.end,i=i.startOf(t,n),Math.floor(i.diff(r,t).get(t))+(i.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?gn.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(D1).filter(o=>this.contains(o)).sort((o,s)=>o.toMillis()-s.toMillis()),r=[];let{s:i}=this,a=0;for(;i<this.e;){const o=n[a]||this.e,s=+o>+this.e?this.e:o;r.push(gn.fromDateTimes(i,s)),i=s,a+=1}return r}splitBy(t){const n=vt.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,i=1,a;const o=[];for(;r<this.e;){const s=this.start.plus(n.mapUnits(l=>l*i));a=+s>+this.e?this.e:s,o.push(gn.fromDateTimes(r,a)),r=a,i+=1}return o}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:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1: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,r=this.e<t.e?this.e:t.e;return n>=r?null:gn.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return gn.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((i,a)=>i.s-a.s).reduce(([i,a],o)=>a?a.overlaps(o)||a.abutsStart(o)?[i,a.union(o)]:[i.concat([a]),o]:[i,o],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const i=[],a=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),o=Array.prototype.concat(...a),s=o.sort((l,u)=>l.time-u.time);for(const l of s)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&i.push(gn.fromDateTimes(n,l.time)),n=null);return gn.merge(i)}difference(...t){return gn.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:pd}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=Jg,n={}){return this.isValid?gr.create(this.s.loc.clone(n),t).formatInterval(this):pd}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:pd}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:pd}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:pd}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:pd}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):vt.invalid(this.invalidReason)}mapEndpoints(t){return gn.fromDateTimes(t(this.s),t(this.e))}}let s2=class{static hasDST(e=mn.defaultZone){const t=Je.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return Ds.isValidZone(e)}static normalizeZone(e){return Il(e,mn.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Mt.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Mt.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Mt.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i="gregory"}={}){return(r||Mt.create(t,n,i)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i="gregory"}={}){return(r||Mt.create(t,n,i)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Mt.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Mt.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Mt.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Mt.create(t,null,"gregory").eras(e)}static features(){return{relative:jF(),localeWeek:UF()}}};function pT(e,t){const n=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(vt.fromMillis(r).as("days"))}function loe(e,t,n){const r=[["years",(l,u)=>u.year-l.year],["quarters",(l,u)=>u.quarter-l.quarter+(u.year-l.year)*4],["months",(l,u)=>u.month-l.month+(u.year-l.year)*12],["weeks",(l,u)=>{const c=pT(l,u);return(c-c%7)/7}],["days",pT]],i={},a=e;let o,s;for(const[l,u]of r)n.indexOf(l)>=0&&(o=l,i[l]=u(e,t),s=a.plus(i),s>t?(i[l]--,e=a.plus(i),e>t&&(s=e,i[l]--,e=a.plus(i))):e=s);return[e,i,s,o]}function uoe(e,t,n,r){let[i,a,o,s]=loe(e,t,n);const l=t-i,u=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);u.length===0&&(o<t&&(o=i.plus({[s]:1})),o!==i&&(a[s]=(a[s]||0)+l/(o-i)));const c=vt.fromObject(a,r);return u.length>0?vt.fromMillis(l,r).shiftTo(...u).plus(c):c}const coe="missing Intl.DateTimeFormat.formatToParts support";function At(e,t=n=>n){return{regex:e,deser:([n])=>t(eae(n))}}const mT="[ ]",gT=new RegExp(mT,"g");function foe(e){return e.replace(/\./g,"\\.?").replace(gT,mT)}function yT(e){return e.replace(/\./g,"").replace(gT," ").toLowerCase()}function Ta(e,t){return e===null?null:{regex:RegExp(e.map(foe).join("|")),deser:([n])=>e.findIndex(r=>yT(n)===yT(r))+t}}function vT(e,t){return{regex:e,deser:([,n,r])=>i2(n,r),groups:t}}function l2(e){return{regex:e,deser:([t])=>t}}function doe(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function hoe(e,t){const n=$a(t),r=$a(t,"{2}"),i=$a(t,"{3}"),a=$a(t,"{4}"),o=$a(t,"{6}"),s=$a(t,"{1,2}"),l=$a(t,"{1,3}"),u=$a(t,"{1,6}"),c=$a(t,"{1,9}"),f=$a(t,"{2,4}"),d=$a(t,"{4,6}"),h=m=>({regex:RegExp(doe(m.val)),deser:([g])=>g,literal:!0}),p=(m=>{if(e.literal)return h(m);switch(m.val){case"G":return Ta(t.eras("short"),0);case"GG":return Ta(t.eras("long"),0);case"y":return At(u);case"yy":return At(f,u6);case"yyyy":return At(a);case"yyyyy":return At(d);case"yyyyyy":return At(o);case"M":return At(s);case"MM":return At(r);case"MMM":return Ta(t.months("short",!0),1);case"MMMM":return Ta(t.months("long",!0),1);case"L":return At(s);case"LL":return At(r);case"LLL":return Ta(t.months("short",!1),1);case"LLLL":return Ta(t.months("long",!1),1);case"d":return At(s);case"dd":return At(r);case"o":return At(l);case"ooo":return At(i);case"HH":return At(r);case"H":return At(s);case"hh":return At(r);case"h":return At(s);case"mm":return At(r);case"m":return At(s);case"q":return At(s);case"qq":return At(r);case"s":return At(s);case"ss":return At(r);case"S":return At(l);case"SSS":return At(i);case"u":return l2(c);case"uu":return l2(s);case"uuu":return At(n);case"a":return Ta(t.meridiems(),0);case"kkkk":return At(a);case"kk":return At(f,u6);case"W":return At(s);case"WW":return At(r);case"E":case"c":return At(n);case"EEE":return Ta(t.weekdays("short",!1),1);case"EEEE":return Ta(t.weekdays("long",!1),1);case"ccc":return Ta(t.weekdays("short",!0),1);case"cccc":return Ta(t.weekdays("long",!0),1);case"Z":case"ZZ":return vT(new RegExp(`([+-]${s.source})(?::(${r.source}))?`),2);case"ZZZ":return vT(new RegExp(`([+-]${s.source})(${r.source})?`),2);case"z":return l2(/[a-z_+-/]{1,256}?/i);case" ":return l2(/[^\S\n\r]/);default:return h(m)}})(e)||{invalidReason:coe};return p.token=e,p}const poe={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"}};function moe(e,t,n){const{type:r,value:i}=e;if(r==="literal"){const l=/^\s+$/.test(i);return{literal:!l,val:l?" ":i}}const a=t[r];let o=r;r==="hour"&&(t.hour12!=null?o=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?o="hour12":o="hour24":o=n.hour12?"hour12":"hour24");let s=poe[o];if(typeof s=="object"&&(s=s[a]),s)return{literal:!1,val:s}}function goe(e){return[`^${e.map(t=>t.regex).reduce((t,n)=>`${t}(${n.source})`,"")}$`,e]}function yoe(e,t,n){const r=e.match(t);if(r){const i={};let a=1;for(const o in n)if(od(n,o)){const s=n[o],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(r.slice(a,a+l))),a+=l}return[r,i]}else return[r,{}]}function voe(e){const t=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}};let n=null,r;return Xe(e.z)||(n=Ds.create(e.z)),Xe(e.Z)||(n||(n=new Or(e.Z)),r=e.Z),Xe(e.q)||(e.M=(e.q-1)*3+1),Xe(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),Xe(e.u)||(e.S=s6(e.u)),[Object.keys(e).reduce((i,a)=>{const o=t(a);return o&&(i[o]=e[a]),i},{}),n,r]}let h6=null;function boe(){return h6||(h6=Je.fromMillis(1555555555555)),h6}function xoe(e,t){if(e.literal)return e;const n=gr.macroTokenToFormatOpts(e.val),r=_T(n,t);return r==null||r.includes(void 0)?e:r}function bT(e,t){return Array.prototype.concat(...e.map(n=>xoe(n,t)))}class xT{constructor(t,n){if(this.locale=t,this.format=n,this.tokens=bT(gr.parseFormat(n),t),this.units=this.tokens.map(r=>hoe(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){const[r,i]=goe(this.units);this.regex=RegExp(r,"i"),this.handlers=i}}explainFromTokens(t){if(this.isValid){const[n,r]=yoe(t,this.regex,this.handlers),[i,a,o]=r?voe(r):[null,null,void 0];if(od(r,"a")&&od(r,"H"))throw new ad("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:r,result:i,zone:a,specificOffset:o}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function wT(e,t,n){return new xT(e,n).explainFromTokens(t)}function woe(e,t,n){const{result:r,zone:i,specificOffset:a,invalidReason:o}=wT(e,t,n);return[r,i,a,o]}function _T(e,t){if(!e)return null;const n=gr.create(t,e).dtFormatter(boe()),r=n.formatToParts(),i=n.resolvedOptions();return r.map(a=>moe(a,e,i))}const p6="Invalid DateTime",kT=864e13;function S1(e){return new Fa("unsupported zone",`the zone "${e.name}" is not supported`)}function m6(e){return e.weekData===null&&(e.weekData=e2(e.c)),e.weekData}function g6(e){return e.localWeekData===null&&(e.localWeekData=e2(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function oc(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Je({...n,...t,old:n})}function CT(e,t,n){let r=e-t*60*1e3;const i=n.offset(r);if(t===i)return[r,t];r-=(i-t)*60*1e3;const a=n.offset(r);return i===a?[r,i]:[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function u2(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function c2(e,t,n){return CT(r2(e),t,n)}function AT(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,a={...e.c,year:r,month:i,day:Math.min(e.c.day,n2(r,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},o=vt.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"),s=r2(a);let[l,u]=CT(s,n,e.zone);return o!==0&&(l+=o,u=e.zone.offset(l)),{ts:l,o:u}}function md(e,t,n,r,i,a){const{setZone:o,zone:s}=n;if(e&&Object.keys(e).length!==0||t){const l=t||s,u=Je.fromObject(e,{...n,zone:l,specificOffset:a});return o?u:u.setZone(s)}else return Je.invalid(new Fa("unparsable",`the input "${i}" can't be parsed as ${r}`))}function f2(e,t,n=!0){return e.isValid?gr.create(Mt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function y6(e,t,n){const r=e.c.year>9999||e.c.year<0;let i="";if(r&&e.c.year>=0&&(i+="+"),i+=Dn(e.c.year,r?6:4),n==="year")return i;if(t){if(i+="-",i+=Dn(e.c.month),n==="month")return i;i+="-"}else if(i+=Dn(e.c.month),n==="month")return i;return i+=Dn(e.c.day),i}function ST(e,t,n,r,i,a,o){let s=!n||e.c.millisecond!==0||e.c.second!==0,l="";switch(o){case"day":case"month":case"year":break;default:if(l+=Dn(e.c.hour),o==="hour")break;if(t){if(l+=":",l+=Dn(e.c.minute),o==="minute")break;s&&(l+=":",l+=Dn(e.c.second))}else{if(l+=Dn(e.c.minute),o==="minute")break;s&&(l+=Dn(e.c.second))}if(o==="second")break;s&&(!r||e.c.millisecond!==0)&&(l+=".",l+=Dn(e.c.millisecond,3))}return i&&(e.isOffsetFixed&&e.offset===0&&!a?l+="Z":e.o<0?(l+="-",l+=Dn(Math.trunc(-e.o/60)),l+=":",l+=Dn(Math.trunc(-e.o%60))):(l+="+",l+=Dn(Math.trunc(e.o/60)),l+=":",l+=Dn(Math.trunc(e.o%60)))),a&&(l+="["+e.zone.ianaName+"]"),l}const MT={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},_oe={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},koe={ordinal:1,hour:0,minute:0,second:0,millisecond:0},d2=["year","month","day","hour","minute","second","millisecond"],Coe=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Aoe=["year","ordinal","hour","minute","second","millisecond"];function h2(e){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"}[e.toLowerCase()];if(!t)throw new tF(e);return t}function DT(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return h2(e)}}function Soe(e){if(M1===void 0&&(M1=mn.now()),e.type!=="iana")return e.offset(M1);const t=e.name;let n=v6.get(t);return n===void 0&&(n=e.offset(M1),v6.set(t,n)),n}function ET(e,t){const n=Il(t.zone,mn.defaultZone);if(!n.isValid)return Je.invalid(S1(n));const r=Mt.fromObject(t);let i,a;if(Xe(e.year))i=mn.now();else{for(const l of d2)Xe(e[l])&&(e[l]=MT[l]);const o=BF(e)||IF(e);if(o)return Je.invalid(o);const s=Soe(n);[i,a]=c2(e,s,n)}return new Je({ts:i,zone:n,loc:r,o:a})}function $T(e,t,n){const r=Xe(n.round)?!0:n.round,i=Xe(n.rounding)?"trunc":n.rounding,a=(s,l)=>(s=l6(s,r||n.calendary?0:2,n.calendary?"round":i),t.loc.clone(n).relFormatter(n).format(s,l)),o=s=>n.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(n.unit)return a(o(n.unit),n.unit);for(const s of n.units){const l=o(s);if(Math.abs(l)>=1)return a(l,s)}return a(e>t?-0:0,n.units[n.units.length-1])}function FT(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}let M1;const v6=new Map;class Je{constructor(t){const n=t.zone||mn.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Fa("invalid input"):null)||(n.isValid?null:S1(n));this.ts=Xe(t.ts)?mn.now():t.ts;let i=null,a=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[i,a]=[t.old.c,t.old.o];else{const o=jl(t.o)&&!t.old?t.o:n.offset(this.ts);i=u2(this.ts,o),r=Number.isNaN(i.year)?new Fa("invalid input"):null,i=r?null:i,a=r?null:o}this._zone=n,this.loc=t.loc||Mt.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=i,this.o=a,this.isLuxonDateTime=!0}static now(){return new Je({})}static local(){const[t,n]=FT(arguments),[r,i,a,o,s,l,u]=n;return ET({year:r,month:i,day:a,hour:o,minute:s,second:l,millisecond:u},t)}static utc(){const[t,n]=FT(arguments),[r,i,a,o,s,l,u]=n;return t.zone=Or.utcInstance,ET({year:r,month:i,day:a,hour:o,minute:s,second:l,millisecond:u},t)}static fromJSDate(t,n={}){const r=aae(t)?t.valueOf():NaN;if(Number.isNaN(r))return Je.invalid("invalid input");const i=Il(n.zone,mn.defaultZone);return i.isValid?new Je({ts:r,zone:i,loc:Mt.fromObject(n)}):Je.invalid(S1(i))}static fromMillis(t,n={}){if(jl(t))return t<-kT||t>kT?Je.invalid("Timestamp out of range"):new Je({ts:t,zone:Il(n.zone,mn.defaultZone),loc:Mt.fromObject(n)});throw new mr(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(jl(t))return new Je({ts:t*1e3,zone:Il(n.zone,mn.defaultZone),loc:Mt.fromObject(n)});throw new mr("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Il(n.zone,mn.defaultZone);if(!r.isValid)return Je.invalid(S1(r));const i=Mt.fromObject(n),a=a2(t,DT),{minDaysInFirstWeek:o,startOfWeek:s}=qF(a,i),l=mn.now(),u=Xe(n.specificOffset)?r.offset(l):n.specificOffset,c=!Xe(a.ordinal),f=!Xe(a.year),d=!Xe(a.month)||!Xe(a.day),h=f||d,p=a.weekYear||a.weekNumber;if((h||c)&&p)throw new ad("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&c)throw new ad("Can't mix ordinal dates with month/day");const m=p||a.weekday&&!h;let g,y,v=u2(l,u);m?(g=Coe,y=_oe,v=e2(v,o,s)):c?(g=Aoe,y=koe,v=a6(v)):(g=d2,y=MT);let b=!1;for(const A of g){const $=a[A];Xe($)?b?a[A]=y[A]:a[A]=v[A]:b=!0}const x=m?nae(a,o,s):c?rae(a):BF(a),_=x||IF(a);if(_)return Je.invalid(_);const C=m?PF(a,o,s):c?LF(a):a,[w,S]=c2(C,u,r),E=new Je({ts:w,zone:r,o:S,loc:i});return a.weekday&&h&&t.weekday!==E.weekday?Je.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${E.toISO()}`):E.isValid?E:Je.invalid(E.invalid)}static fromISO(t,n={}){const[r,i]=Gae(t);return md(r,i,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,i]=Xae(t);return md(r,i,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,i]=Jae(t);return md(r,i,n,"HTTP",n)}static fromFormat(t,n,r={}){if(Xe(t)||Xe(n))throw new mr("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:a=null}=r,o=Mt.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),[s,l,u,c]=woe(o,t,n);return c?Je.invalid(c):md(s,l,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return Je.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,i]=roe(t);return md(r,i,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new mr("need to specify a reason the DateTime is invalid");const r=t instanceof Fa?t:new Fa(t,n);if(mn.throwOnInvalid)throw new $ie(r);return new Je({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=_T(t,Mt.fromObject(n));return r?r.map(i=>i?i.val:null).join(""):null}static expandFormat(t,n={}){return bT(gr.parseFormat(t),Mt.fromObject(n)).map(r=>r.val).join("")}static resetCache(){M1=void 0,v6.clear()}get(t){return this[t]}get isValid(){return this.invalid===null}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}get 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?m6(this).weekYear:NaN}get weekNumber(){return this.isValid?m6(this).weekNumber:NaN}get weekday(){return this.isValid?m6(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?g6(this).weekday:NaN}get localWeekNumber(){return this.isValid?g6(this).weekNumber:NaN}get localWeekYear(){return this.isValid?g6(this).weekYear:NaN}get ordinal(){return this.isValid?a6(this.c).ordinal:NaN}get monthShort(){return this.isValid?s2.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?s2.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?s2.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?s2.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?!1: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,r=r2(this.c),i=this.zone.offset(r-t),a=this.zone.offset(r+t),o=this.zone.offset(r-i*n),s=this.zone.offset(r-a*n);if(o===s)return[this];const l=r-o*n,u=r-s*n,c=u2(l,o),f=u2(u,s);return c.hour===f.hour&&c.minute===f.minute&&c.second===f.second&&c.millisecond===f.millisecond?[oc(this,{ts:l}),oc(this,{ts:u})]:[this]}get isInLeapYear(){return w1(this.year)}get daysInMonth(){return n2(this.year,this.month)}get daysInYear(){return this.isValid?sd(this.year):NaN}get weeksInWeekYear(){return this.isValid?_1(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?_1(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:i}=gr.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:i}}toUTC(t=0,n={}){return this.setZone(Or.instance(t),n)}toLocal(){return this.setZone(mn.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Il(t,mn.defaultZone),t.equals(this.zone))return this;if(t.isValid){let i=this.ts;if(n||r){const a=t.offset(this.ts),o=this.toObject();[i]=c2(o,a,t)}return oc(this,{ts:i,zone:t})}else return Je.invalid(S1(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const i=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return oc(this,{loc:i})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=a2(t,DT),{minDaysInFirstWeek:r,startOfWeek:i}=qF(n,this.loc),a=!Xe(n.weekYear)||!Xe(n.weekNumber)||!Xe(n.weekday),o=!Xe(n.ordinal),s=!Xe(n.year),l=!Xe(n.month)||!Xe(n.day),u=s||l,c=n.weekYear||n.weekNumber;if((u||o)&&c)throw new ad("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new ad("Can't mix ordinal dates with month/day");let f;a?f=PF({...e2(this.c,r,i),...n},r,i):Xe(n.ordinal)?(f={...this.toObject(),...n},Xe(n.day)&&(f.day=Math.min(n2(f.year,f.month),f.day))):f=LF({...a6(this.c),...n});const[d,h]=c2(f,this.o,this.zone);return oc(this,{ts:d,o:h})}plus(t){if(!this.isValid)return this;const n=vt.fromDurationLike(t);return oc(this,AT(this,n))}minus(t){if(!this.isValid)return this;const n=vt.fromDurationLike(t).negate();return oc(this,AT(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},i=vt.normalizeUnit(t);switch(i){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(i==="weeks")if(n){const a=this.loc.getStartOfWeek(),{weekday:o}=this;o<a&&(r.weekNumber=this.weekNumber-1),r.weekday=a}else r.weekday=1;if(i==="quarters"){const a=Math.ceil(this.month/3);r.month=(a-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?gr.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):p6}toLocaleString(t=Jg,n={}){return this.isValid?gr.create(this.loc.clone(n),t).formatDateTime(this):p6}toLocaleParts(t={}){return this.isValid?gr.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:i=!0,extendedZone:a=!1,precision:o="milliseconds"}={}){if(!this.isValid)return null;o=h2(o);const s=t==="extended";let l=y6(this,s,o);return d2.indexOf(o)>=3&&(l+="T"),l+=ST(this,s,n,r,i,a,o),l}toISODate({format:t="extended",precision:n="day"}={}){return this.isValid?y6(this,t==="extended",h2(n)):null}toISOWeekDate(){return f2(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:i=!1,extendedZone:a=!1,format:o="extended",precision:s="milliseconds"}={}){return this.isValid?(s=h2(s),(i&&d2.indexOf(s)>=3?"T":"")+ST(this,o==="extended",n,t,r,a,s)):null}toRFC2822(){return f2(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return f2(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?y6(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let i="HH:mm:ss.SSS";return(n||t)&&(r&&(i+=" "),n?i+="z":t&&(i+="ZZ")),f2(this,i,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():p6}[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",r={}){if(!this.isValid||!t.isValid)return vt.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...r},a=oae(n).map(vt.normalizeUnit),o=t.valueOf()>this.valueOf(),s=o?this:t,l=o?t:this,u=uoe(s,l,a,i);return o?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(Je.now(),t,n)}until(t){return this.isValid?gn.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const i=t.valueOf(),a=this.setZone(t.zone,{keepLocalTime:!0});return a.startOf(n,r)<=i&&i<=a.endOf(n,r)}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||Je.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let i=["years","months","days","hours","minutes","seconds"],a=t.unit;return Array.isArray(t.unit)&&(i=t.unit,a=void 0),$T(n,this.plus(r),{...t,numeric:"always",units:i,unit:a})}toRelativeCalendar(t={}){return this.isValid?$T(t.base||Je.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Je.isDateTime))throw new mr("min requires all arguments be DateTimes");return VF(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Je.isDateTime))throw new mr("max requires all arguments be DateTimes");return VF(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:i=null,numberingSystem:a=null}=r,o=Mt.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});return wT(o,t,n)}static fromStringExplain(t,n,r={}){return Je.fromFormatExplain(t,n,r)}static buildFormatParser(t,n={}){const{locale:r=null,numberingSystem:i=null}=n,a=Mt.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0});return new xT(a,t)}static fromFormatParser(t,n,r={}){if(Xe(t)||Xe(n))throw new mr("fromFormatParser requires an input string and a format parser");const{locale:i=null,numberingSystem:a=null}=r,o=Mt.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!o.equals(n.locale))throw new mr(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`);const{result:s,zone:l,specificOffset:u,invalidReason:c}=n.explainFromTokens(t);return c?Je.invalid(c):md(s,l,r,`format ${n.format}`,t,u)}static get DATE_SHORT(){return Jg}static get DATE_MED(){return nF}static get DATE_MED_WITH_WEEKDAY(){return Oie}static get DATE_FULL(){return rF}static get DATE_HUGE(){return iF}static get TIME_SIMPLE(){return aF}static get TIME_WITH_SECONDS(){return oF}static get TIME_WITH_SHORT_OFFSET(){return sF}static get TIME_WITH_LONG_OFFSET(){return lF}static get TIME_24_SIMPLE(){return uF}static get TIME_24_WITH_SECONDS(){return cF}static get TIME_24_WITH_SHORT_OFFSET(){return fF}static get TIME_24_WITH_LONG_OFFSET(){return dF}static get DATETIME_SHORT(){return hF}static get DATETIME_SHORT_WITH_SECONDS(){return pF}static get DATETIME_MED(){return mF}static get DATETIME_MED_WITH_SECONDS(){return gF}static get DATETIME_MED_WITH_WEEKDAY(){return Nie}static get DATETIME_FULL(){return yF}static get DATETIME_FULL_WITH_SECONDS(){return vF}static get DATETIME_HUGE(){return bF}static get DATETIME_HUGE_WITH_SECONDS(){return xF}}function D1(e){if(Je.isDateTime(e))return e;if(e&&e.valueOf&&jl(e.valueOf()))return Je.fromJSDate(e);if(e&&typeof e=="object")return Je.fromObject(e);throw new mr(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function Oa(e,t,n=!1){if(e!==void 0)switch(e){case"ordinal":return{range:["#C2D5EE","#1A73E8"]};case"temporal":case"quantitative":return t?n?{range:["#6BA4EE","#EEA361"]}:{range:["#1A73E8","#E8710A"]}:{range:["#C2D5EE","#1A73E8"]};case"nominal":return n?{range:["#6BA4EE","#66CEDC","#EC72B8","#EEA361","#F9C85B","#AACD85","#B87CED","#ACB0B3"]}:{range:["#1A73E8","#12B5CB","#E52592","#E8710A","#F9AB00","#7CB342","#9334E6","#80868B"]}}}function Kt(e,t){return e.toString().padStart(t,"0")}function p2(e,t,n){t||(t="second");const r=Je.fromJSDate(e,{zone:n??"UTC"});switch(t){case"year":return`${Kt(r.year,4)}`;case"quarter":{const i=Kt(r.year,4),a=Math.floor(r.month/3)+1;return`${i}-Q${a}`}case"month":{const i=Kt(r.year,2),a=Kt(r.month,2);return`${i}-${a}`}case"week":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2);return`${i}-${a}-${o}-WK`}case"day":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2);return`${i}-${a}-${o}`}case"hour":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2),s=Kt(r.hour,2);return`${i}-${a}-${o} ${s}`}case"minute":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2),s=Kt(r.hour,2),l=Kt(r.minute,2);return`${i}-${a}-${o} ${s}:${l}`}case"second":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2),s=Kt(r.hour,2),l=Kt(r.minute,2),u=Kt(r.second,2);return`${i}-${a}-${o} ${s}:${l}:${u}`}default:throw new Error("Unknown timeframe.")}}function TT(e,t){const n=Je.fromJSDate(e,{zone:t??"UTC"});return new Date(n.year,n.month-1,n.day,n.hour,n.minute,n.second,n.millisecond)}let b6;const Moe=100;async function m2(){const e=Date.now();if(!(b6&&e<b6+Moe))return b6=e,new Promise(t=>{setTimeout(t,0)})}function Ji(e,t){const n=e.createElement("span");return n.classList.add("error"),n.appendChild(e.createTextNode(typeof t=="string"?t:t.message)),n}function E1(e){const t=e.createElement("span");return t.appendChild(e.createTextNode("∅")),t.classList.add("value-null"),t}function OT(e){const t=e.createElement("div");return t.classList.add("drill-icon"),t.innerHTML=`
|
|
1
|
+
import{a2 as Xre}from"./index-15BOvhp0.js";function MYe(Hg,Yg){for(var un=0;un<Yg.length;un++){const xt=Yg[un];if(typeof xt!="string"&&!Array.isArray(xt)){for(const Ms in xt)if(Ms!=="default"&&!(Ms in Hg)){const id=Object.getOwnPropertyDescriptor(xt,Ms);id&&Object.defineProperty(Hg,Ms,id.get?id:{enumerable:!0,get:()=>xt[Ms]})}}}return Object.freeze(Object.defineProperty(Hg,Symbol.toStringTag,{value:"Module"}))}var Vg={exports:{}},DYe=Vg.exports,Jre;function EYe(){return Jre||(Jre=1,(function(Hg,Yg){(function(un,xt){xt(Yg)})(DYe,function(un){class xt{constructor(){this.tagOptionExtractors={}}addExtractor(t,...n){for(const r in n)this.tagOptionExtractors[n[r]]=t}activates(t){return!1}isValidMatch(t){return!0}matches(t){return t.renderer===this.rendererName}parseTagParameters(t){const n={};for(const r in this.tagOptionExtractors){const i=t.tag(r);i&&this.tagOptionExtractors[r](n,i)}return n}}function Ms(e){if(e.isArray())return e.values.map(t=>Ms(t));if(e.isNumber()||e.isBoolean()||e.isString()||e.isNull())return e.value;if(e.isTime())return e.value.toISOString();if(e.isJSON())try{return JSON.parse(e.value)}catch{return e.value}else if(e.isRecord()){const t={};for(const n of e.columns)t[n.field.name]=Ms(n);return t}return null}class id{constructor(t){this.document=t}async render(t){const n=this.document.createElement("pre");return n.appendChild(this.document.createTextNode(JSON.stringify(Ms(t),void 0,2))),n}}const dx=class extends xt{create(t,n,r,i,a){return new id(t)}get rendererName(){return"json"}};dx.instance=new dx;let Zre=dx;class Kre{constructor(t,n,r){this.document=t,this.options=n,this.tagged=r}}class Gg extends Kre{constructor(){super(...arguments),this.childRenderers={}}get defaultStylesForChildren(){return this.childrenStyleDefaults}static make(t,n,r,i,a){return new t(n,i,a)}}var Xg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Xre<"u"?Xre:typeof self<"u"?self:{};function eie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hx,C$;function tie(){if(C$)return hx;C$=1;function e(t,n,r,i){var a=-1,o=t==null?0:t.length;for(i&&o&&(r=t[++a]);++a<o;)r=n(r,t[a],a,t);return r}return hx=e,hx}var px,A$;function nie(){if(A$)return px;A$=1;function e(t){return function(n){return t?.[n]}}return px=e,px}var mx,S$;function rie(){if(S$)return mx;S$=1;var e=nie(),t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},n=e(t);return mx=n,mx}var gx,M$;function iie(){if(M$)return gx;M$=1;var e=typeof Xg=="object"&&Xg&&Xg.Object===Object&&Xg;return gx=e,gx}var yx,D$;function aie(){if(D$)return yx;D$=1;var e=iie(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return yx=n,yx}var vx,E$;function bx(){if(E$)return vx;E$=1;var e=aie(),t=e.Symbol;return vx=t,vx}var xx,$$;function oie(){if($$)return xx;$$=1;function e(t,n){for(var r=-1,i=t==null?0:t.length,a=Array(i);++r<i;)a[r]=n(t[r],r,t);return a}return xx=e,xx}var wx,F$;function sie(){if(F$)return wx;F$=1;var e=Array.isArray;return wx=e,wx}var _x,T$;function lie(){if(T$)return _x;T$=1;var e=bx(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;function a(o){var s=n.call(o,i),l=o[i];try{o[i]=void 0;var u=!0}catch{}var c=r.call(o);return u&&(s?o[i]=l:delete o[i]),c}return _x=a,_x}var kx,O$;function uie(){if(O$)return kx;O$=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return kx=n,kx}var Cx,N$;function cie(){if(N$)return Cx;N$=1;var e=bx(),t=lie(),n=uie(),r="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?i:r:a&&a in Object(s)?t(s):n(s)}return Cx=o,Cx}var Ax,z$;function fie(){if(z$)return Ax;z$=1;function e(t){return t!=null&&typeof t=="object"}return Ax=e,Ax}var Sx,R$;function die(){if(R$)return Sx;R$=1;var e=cie(),t=fie(),n="[object Symbol]";function r(i){return typeof i=="symbol"||t(i)&&e(i)==n}return Sx=r,Sx}var Mx,P$;function hie(){if(P$)return Mx;P$=1;var e=bx(),t=oie(),n=sie(),r=die(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(s){if(typeof s=="string")return s;if(n(s))return t(s,o)+"";if(r(s))return a?a.call(s):"";var l=s+"";return l=="0"&&1/s==-1/0?"-0":l}return Mx=o,Mx}var Dx,L$;function Ex(){if(L$)return Dx;L$=1;var e=hie();function t(n){return n==null?"":e(n)}return Dx=t,Dx}var $x,q$;function pie(){if(q$)return $x;q$=1;var e=rie(),t=Ex(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",a="\\u20d0-\\u20ff",o=r+i+a,s="["+o+"]",l=RegExp(s,"g");function u(c){return c=t(c),c&&c.replace(n,e).replace(l,"")}return $x=u,$x}var Fx,B$;function mie(){if(B$)return Fx;B$=1;var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function t(n){return n.match(e)||[]}return Fx=t,Fx}var Tx,I$;function gie(){if(I$)return Tx;I$=1;var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function t(n){return e.test(n)}return Tx=t,Tx}var Ox,j$;function yie(){if(j$)return Ox;j$=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,a="\\u2700-\\u27bf",o="a-z\\xdf-\\xf6\\xf8-\\xff",s="\\xac\\xb1\\xd7\\xf7",l="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",u="\\u2000-\\u206f",c=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",f="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\ufe0e\\ufe0f",h=s+l+u+c,p="['’]",m="["+h+"]",g="["+i+"]",y="\\d+",v="["+a+"]",b="["+o+"]",x="[^"+e+h+y+a+o+f+"]",_="\\ud83c[\\udffb-\\udfff]",C="(?:"+g+"|"+_+")",w="[^"+e+"]",S="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",A="["+f+"]",$="\\u200d",F="(?:"+b+"|"+x+")",O="(?:"+A+"|"+x+")",P="(?:"+p+"(?:d|ll|m|re|s|t|ve))?",R="(?:"+p+"(?:D|LL|M|RE|S|T|VE))?",L=C+"?",V="["+d+"]?",Q="(?:"+$+"(?:"+[w,S,E].join("|")+")"+V+L+")*",U="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Y="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ee=V+L+Q,ae="(?:"+[v,S,E].join("|")+")"+ee,ue=RegExp([A+"?"+b+"+"+P+"(?="+[m,A,"$"].join("|")+")",O+"+"+R+"(?="+[m,A+F,"$"].join("|")+")",A+"?"+F+"+"+P,A+"+"+R,Y,U,y,ae].join("|"),"g");function he(ke){return ke.match(ue)||[]}return Ox=he,Ox}var Nx,U$;function vie(){if(U$)return Nx;U$=1;var e=mie(),t=gie(),n=Ex(),r=yie();function i(a,o,s){return a=n(a),o=s?void 0:o,o===void 0?t(a)?r(a):e(a):a.match(o)||[]}return Nx=i,Nx}var zx,V$;function bie(){if(V$)return zx;V$=1;var e=tie(),t=pie(),n=vie(),r="['’]",i=RegExp(r,"g");function a(o){return function(s){return e(n(t(s).replace(i,"")),o,"")}}return zx=a,zx}var Rx,W$;function xie(){if(W$)return Rx;W$=1;function e(t,n,r){var i=-1,a=t.length;n<0&&(n=-n>a?0:a+n),r=r>a?a:r,r<0&&(r+=a),a=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(a);++i<a;)o[i]=t[i+n];return o}return Rx=e,Rx}var Px,H$;function wie(){if(H$)return Px;H$=1;var e=xie();function t(n,r,i){var a=n.length;return i=i===void 0?a:i,!r&&i>=a?n:e(n,r,i)}return Px=t,Px}var Lx,Y$;function G$(){if(Y$)return Lx;Y$=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,a="\\ufe0e\\ufe0f",o="\\u200d",s=RegExp("["+o+e+i+a+"]");function l(u){return s.test(u)}return Lx=l,Lx}var qx,X$;function _ie(){if(X$)return qx;X$=1;function e(t){return t.split("")}return qx=e,qx}var Bx,J$;function kie(){if(J$)return Bx;J$=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,a="\\ufe0e\\ufe0f",o="["+e+"]",s="["+i+"]",l="\\ud83c[\\udffb-\\udfff]",u="(?:"+s+"|"+l+")",c="[^"+e+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",h="\\u200d",p=u+"?",m="["+a+"]?",g="(?:"+h+"(?:"+[c,f,d].join("|")+")"+m+p+")*",y=m+p+g,v="(?:"+[c+s+"?",s,f,d,o].join("|")+")",b=RegExp(l+"(?="+l+")|"+v+y,"g");function x(_){return _.match(b)||[]}return Bx=x,Bx}var Ix,Q$;function Cie(){if(Q$)return Ix;Q$=1;var e=_ie(),t=G$(),n=kie();function r(i){return t(i)?n(i):e(i)}return Ix=r,Ix}var jx,Z$;function Aie(){if(Z$)return jx;Z$=1;var e=wie(),t=G$(),n=Cie(),r=Ex();function i(a){return function(o){o=r(o);var s=t(o)?n(o):void 0,l=s?s[0]:o.charAt(0),u=s?e(s,1).join(""):o.slice(1);return l[a]()+u}}return jx=i,jx}var Ux,K$;function Sie(){if(K$)return Ux;K$=1;var e=Aie(),t=e("toUpperCase");return Ux=t,Ux}var Vx,eF;function Mie(){if(eF)return Vx;eF=1;var e=bie(),t=Sie(),n=e(function(r,i,a){return r+(a?" ":"")+t(i)});return Vx=n,Vx}var Die=Mie();const Eie=eie(Die);class rc extends Error{}class $ie extends rc{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Fie extends rc{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Tie extends rc{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ad extends rc{}class tF extends rc{constructor(t){super(`Invalid unit ${t}`)}}class mr extends rc{}class Bl extends rc{constructor(){super("Zone is an abstract class")}}const _e="numeric",Ea="short",Ei="long",Jg={year:_e,month:_e,day:_e},nF={year:_e,month:Ea,day:_e},Oie={year:_e,month:Ea,day:_e,weekday:Ea},rF={year:_e,month:Ei,day:_e},iF={year:_e,month:Ei,day:_e,weekday:Ei},aF={hour:_e,minute:_e},oF={hour:_e,minute:_e,second:_e},sF={hour:_e,minute:_e,second:_e,timeZoneName:Ea},lF={hour:_e,minute:_e,second:_e,timeZoneName:Ei},uF={hour:_e,minute:_e,hourCycle:"h23"},cF={hour:_e,minute:_e,second:_e,hourCycle:"h23"},fF={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:Ea},dF={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:Ei},hF={year:_e,month:_e,day:_e,hour:_e,minute:_e},pF={year:_e,month:_e,day:_e,hour:_e,minute:_e,second:_e},mF={year:_e,month:Ea,day:_e,hour:_e,minute:_e},gF={year:_e,month:Ea,day:_e,hour:_e,minute:_e,second:_e},Nie={year:_e,month:Ea,day:_e,weekday:Ea,hour:_e,minute:_e},yF={year:_e,month:Ei,day:_e,hour:_e,minute:_e,timeZoneName:Ea},vF={year:_e,month:Ei,day:_e,hour:_e,minute:_e,second:_e,timeZoneName:Ea},bF={year:_e,month:Ei,day:_e,weekday:Ei,hour:_e,minute:_e,timeZoneName:Ei},xF={year:_e,month:Ei,day:_e,weekday:Ei,hour:_e,minute:_e,second:_e,timeZoneName:Ei};class x1{get type(){throw new Bl}get name(){throw new Bl}get ianaName(){return this.name}get isUniversal(){throw new Bl}offsetName(t,n){throw new Bl}formatOffset(t,n){throw new Bl}offset(t){throw new Bl}equals(t){throw new Bl}get isValid(){throw new Bl}}let Wx=null;class Qg extends x1{static get instance(){return Wx===null&&(Wx=new Qg),Wx}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return HF(t,n,r)}formatOffset(t,n){return k1(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}const Hx=new Map;function zie(e){let t=Hx.get(e);return t===void 0&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Hx.set(e,t)),t}const Rie={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Pie(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,i,a,o,s,l,u,c]=r;return[o,i,a,s,l,u,c]}function Lie(e,t){const n=e.formatToParts(t),r=[];for(let i=0;i<n.length;i++){const{type:a,value:o}=n[i],s=Rie[a];a==="era"?r[s]=o:Xe(s)||(r[s]=parseInt(o,10))}return r}const Yx=new Map;class Ds extends x1{static create(t){let n=Yx.get(t);return n===void 0&&Yx.set(t,n=new Ds(t)),n}static resetCache(){Yx.clear(),Hx.clear()}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=Ds.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return HF(t,n,r,this.name)}formatOffset(t,n){return k1(this.offset(t),n)}offset(t){if(!this.valid)return NaN;const n=new Date(t);if(isNaN(n))return NaN;const r=zie(this.name);let[i,a,o,s,l,u,c]=r.formatToParts?Lie(r,n):Pie(r,n);s==="BC"&&(i=-Math.abs(i)+1);const f=r2({year:i,month:a,day:o,hour:l===24?0:l,minute:u,second:c,millisecond:0});let d=+n;const h=d%1e3;return d-=h>=0?h:1e3+h,(f-d)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let wF={};function qie(e,t={}){const n=JSON.stringify([e,t]);let r=wF[n];return r||(r=new Intl.ListFormat(e,t),wF[n]=r),r}const Gx=new Map;function Xx(e,t={}){const n=JSON.stringify([e,t]);let r=Gx.get(n);return r===void 0&&(r=new Intl.DateTimeFormat(e,t),Gx.set(n,r)),r}const Jx=new Map;function Bie(e,t={}){const n=JSON.stringify([e,t]);let r=Jx.get(n);return r===void 0&&(r=new Intl.NumberFormat(e,t),Jx.set(n,r)),r}const Qx=new Map;function Iie(e,t={}){const{base:n,...r}=t,i=JSON.stringify([e,r]);let a=Qx.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(e,t),Qx.set(i,a)),a}let Zg=null;function jie(){return Zg||(Zg=new Intl.DateTimeFormat().resolvedOptions().locale,Zg)}const Zx=new Map;function _F(e){let t=Zx.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Zx.set(e,t)),t}const Kx=new Map;function Uie(e){let t=Kx.get(e);if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in t||(t={...kF,...t}),Kx.set(e,t)}return t}function Vie(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,i;try{r=Xx(e).resolvedOptions(),i=e}catch{const s=e.substring(0,n);r=Xx(s).resolvedOptions(),i=s}const{numberingSystem:a,calendar:o}=r;return[i,a,o]}}function Wie(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function Hie(e){const t=[];for(let n=1;n<=12;n++){const r=Je.utc(2009,n,1);t.push(e(r))}return t}function Yie(e){const t=[];for(let n=1;n<=7;n++){const r=Je.utc(2016,11,13+n);t.push(e(r))}return t}function Kg(e,t,n,r){const i=e.listingMode();return i==="error"?null:i==="en"?n(t):r(t)}function Gie(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||_F(e.locale).numberingSystem==="latn"}class Xie{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:i,floor:a,...o}=r;if(!n||Object.keys(o).length>0){const s={useGrouping:!1,...r};r.padTo>0&&(s.minimumIntegerDigits=r.padTo),this.inf=Bie(t,s)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):l6(t,3);return Dn(n,this.padTo)}}}class Jie{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const o=-1*(t.offset/60),s=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;t.offset!==0&&Ds.create(s).valid?(i=s,this.dt=t):(i="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,i=t.zone.name):(i="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const a={...this.opts};a.timeZone=a.timeZone||i,this.dtf=Xx(n,a)}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(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Qie{constructor(t,n,r){this.opts={style:"long",...r},!n&&jF()&&(this.rtf=Iie(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):bae(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const kF={firstDay:1,minimalDays:4,weekend:[6,7]};class Mt{static fromOpts(t){return Mt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,i,a=!1){const o=t||mn.defaultLocale,s=o||(a?"en-US":jie()),l=n||mn.defaultNumberingSystem,u=r||mn.defaultOutputCalendar,c=o6(i)||mn.defaultWeekSettings;return new Mt(s,l,u,c,o)}static resetCache(){Zg=null,Gx.clear(),Jx.clear(),Qx.clear(),Zx.clear(),Kx.clear()}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:i}={}){return Mt.create(t,n,r,i)}constructor(t,n,r,i,a){const[o,s,l]=Vie(t);this.locale=o,this.numberingSystem=n||s||null,this.outputCalendar=r||l||null,this.weekSettings=i,this.intl=Wie(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=a,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Gie(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:Mt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,o6(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return Kg(this,t,XF,()=>{const r=this.intl==="ja"||this.intl.startsWith("ja-");n&=!r;const i=n?{month:t,day:"numeric"}:{month:t},a=n?"format":"standalone";if(!this.monthsCache[a][t]){const o=r?s=>this.dtFormatter(s,i).format():s=>this.extract(s,i,"month");this.monthsCache[a][t]=Hie(o)}return this.monthsCache[a][t]})}weekdays(t,n=!1){return Kg(this,t,ZF,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=n?"format":"standalone";return this.weekdaysCache[i][t]||(this.weekdaysCache[i][t]=Yie(a=>this.extract(a,r,"weekday"))),this.weekdaysCache[i][t]})}meridiems(){return Kg(this,void 0,()=>KF,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Je.utc(2016,11,13,9),Je.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Kg(this,t,eT,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Je.utc(-40,1,1),Je.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const i=this.dtFormatter(t,n),a=i.formatToParts(),o=a.find(s=>s.type.toLowerCase()===r);return o?o.value:null}numberFormatter(t={}){return new Xie(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new Jie(t,this.intl,n)}relFormatter(t={}){return new Qie(this.intl,this.isEnglish(),t)}listFormatter(t={}){return qie(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||_F(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:UF()?Uie(this.locale):kF}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}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let e6=null;class Or extends x1{static get utcInstance(){return e6===null&&(e6=new Or(0)),e6}static instance(t){return t===0?Or.utcInstance:new Or(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Or(i2(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${k1(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${k1(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return k1(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class Zie extends x1{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 Il(e,t){if(Xe(e)||e===null)return t;if(e instanceof x1)return e;if(iae(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Qg.instance:n==="utc"||n==="gmt"?Or.utcInstance:Or.parseSpecifier(n)||Ds.create(e)}else return jl(e)?Or.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new Zie(e)}const t6={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},CF={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]},Kie=t6.hanidec.replace(/[\[|\]]/g,"").split("");function eae(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(t6.hanidec)!==-1)t+=Kie.indexOf(e[n]);else for(const i in CF){const[a,o]=CF[i];r>=a&&r<=o&&(t+=r-a)}}return parseInt(t,10)}else return t}const n6=new Map;function tae(){n6.clear()}function $a({numberingSystem:e},t=""){const n=e||"latn";let r=n6.get(n);r===void 0&&(r=new Map,n6.set(n,r));let i=r.get(t);return i===void 0&&(i=new RegExp(`${t6[n]}${t}`),r.set(t,i)),i}let AF=()=>Date.now(),SF="system",MF=null,DF=null,EF=null,$F=60,FF,TF=null;class mn{static get now(){return AF}static set now(t){AF=t}static set defaultZone(t){SF=t}static get defaultZone(){return Il(SF,Qg.instance)}static get defaultLocale(){return MF}static set defaultLocale(t){MF=t}static get defaultNumberingSystem(){return DF}static set defaultNumberingSystem(t){DF=t}static get defaultOutputCalendar(){return EF}static set defaultOutputCalendar(t){EF=t}static get defaultWeekSettings(){return TF}static set defaultWeekSettings(t){TF=o6(t)}static get twoDigitCutoffYear(){return $F}static set twoDigitCutoffYear(t){$F=t%100}static get throwOnInvalid(){return FF}static set throwOnInvalid(t){FF=t}static resetCaches(){Mt.resetCache(),Ds.resetCache(),Je.resetCache(),tae()}}class Fa{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const OF=[0,31,59,90,120,151,181,212,243,273,304,334],NF=[0,31,60,91,121,152,182,213,244,274,305,335];function Yi(e,t){return new Fa("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function r6(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const i=r.getUTCDay();return i===0?7:i}function zF(e,t,n){return n+(w1(e)?NF:OF)[t-1]}function RF(e,t){const n=w1(e)?NF:OF,r=n.findIndex(a=>a<t),i=t-n[r];return{month:r+1,day:i}}function i6(e,t){return(e-t+7)%7+1}function e2(e,t=4,n=1){const{year:r,month:i,day:a}=e,o=zF(r,i,a),s=i6(r6(r,i,a),n);let l=Math.floor((o-s+14-t)/7),u;return l<1?(u=r-1,l=_1(u,t,n)):l>_1(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:s,...o2(e)}}function PF(e,t=4,n=1){const{weekYear:r,weekNumber:i,weekday:a}=e,o=i6(r6(r,1,t),n),s=sd(r);let l=i*7+a-o-7+t,u;l<1?(u=r-1,l+=sd(u)):l>s?(u=r+1,l-=sd(r)):u=r;const{month:c,day:f}=RF(u,l);return{year:u,month:c,day:f,...o2(e)}}function a6(e){const{year:t,month:n,day:r}=e,i=zF(t,n,r);return{year:t,ordinal:i,...o2(e)}}function LF(e){const{year:t,ordinal:n}=e,{month:r,day:i}=RF(t,n);return{year:t,month:r,day:i,...o2(e)}}function qF(e,t){if(!Xe(e.localWeekday)||!Xe(e.localWeekNumber)||!Xe(e.localWeekYear)){if(!Xe(e.weekday)||!Xe(e.weekNumber)||!Xe(e.weekYear))throw new ad("Cannot mix locale-based week fields with ISO-based week fields");return Xe(e.localWeekday)||(e.weekday=e.localWeekday),Xe(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Xe(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function nae(e,t=4,n=1){const r=t2(e.weekYear),i=Gi(e.weekNumber,1,_1(e.weekYear,t,n)),a=Gi(e.weekday,1,7);return r?i?a?!1:Yi("weekday",e.weekday):Yi("week",e.weekNumber):Yi("weekYear",e.weekYear)}function rae(e){const t=t2(e.year),n=Gi(e.ordinal,1,sd(e.year));return t?n?!1:Yi("ordinal",e.ordinal):Yi("year",e.year)}function BF(e){const t=t2(e.year),n=Gi(e.month,1,12),r=Gi(e.day,1,n2(e.year,e.month));return t?n?r?!1:Yi("day",e.day):Yi("month",e.month):Yi("year",e.year)}function IF(e){const{hour:t,minute:n,second:r,millisecond:i}=e,a=Gi(t,0,23)||t===24&&n===0&&r===0&&i===0,o=Gi(n,0,59),s=Gi(r,0,59),l=Gi(i,0,999);return a?o?s?l?!1:Yi("millisecond",i):Yi("second",r):Yi("minute",n):Yi("hour",t)}function Xe(e){return typeof e>"u"}function jl(e){return typeof e=="number"}function t2(e){return typeof e=="number"&&e%1===0}function iae(e){return typeof e=="string"}function aae(e){return Object.prototype.toString.call(e)==="[object Date]"}function jF(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function UF(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function oae(e){return Array.isArray(e)?e:[e]}function VF(e,t,n){if(e.length!==0)return e.reduce((r,i)=>{const a=[t(i),i];return r&&n(r[0],a[0])===r[0]?r:a},null)[1]}function sae(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function od(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o6(e){if(e==null)return null;if(typeof e!="object")throw new mr("Week settings must be an object");if(!Gi(e.firstDay,1,7)||!Gi(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!Gi(t,1,7)))throw new mr("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Gi(e,t,n){return t2(e)&&e>=t&&e<=n}function lae(e,t){return e-t*Math.floor(e/t)}function Dn(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Ul(e){if(!(Xe(e)||e===null||e===""))return parseInt(e,10)}function ic(e){if(!(Xe(e)||e===null||e===""))return parseFloat(e)}function s6(e){if(!(Xe(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function l6(e,t,n="round"){const r=10**t;switch(n){case"expand":return e>0?Math.ceil(e*r)/r:Math.floor(e*r)/r;case"trunc":return Math.trunc(e*r)/r;case"round":return Math.round(e*r)/r;case"floor":return Math.floor(e*r)/r;case"ceil":return Math.ceil(e*r)/r;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function w1(e){return e%4===0&&(e%100!==0||e%400===0)}function sd(e){return w1(e)?366:365}function n2(e,t){const n=lae(t-1,12)+1,r=e+(t-n)/12;return n===2?w1(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function r2(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function WF(e,t,n){return-i6(r6(e,1,t),n)+t-1}function _1(e,t=4,n=1){const r=WF(e,t,n),i=WF(e+1,t,n);return(sd(e)-r+i)/7}function u6(e){return e>99?e:e>mn.twoDigitCutoffYear?1900+e:2e3+e}function HF(e,t,n,r=null){const i=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r);const o={timeZoneName:t,...a},s=new Intl.DateTimeFormat(n,o).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return s?s.value:null}function i2(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,i=n<0||Object.is(n,-0)?-r:r;return n*60+i}function YF(e){const t=Number(e);if(typeof e=="boolean"||e===""||!Number.isFinite(t))throw new mr(`Invalid unit value ${e}`);return t}function a2(e,t){const n={};for(const r in e)if(od(e,r)){const i=e[r];if(i==null)continue;n[t(r)]=YF(i)}return n}function k1(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${Dn(n,2)}:${Dn(r,2)}`;case"narrow":return`${i}${n}${r>0?`:${r}`:""}`;case"techie":return`${i}${Dn(n,2)}${Dn(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function o2(e){return sae(e,["hour","minute","second","millisecond"])}const uae=["January","February","March","April","May","June","July","August","September","October","November","December"],GF=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cae=["J","F","M","A","M","J","J","A","S","O","N","D"];function XF(e){switch(e){case"narrow":return[...cae];case"short":return[...GF];case"long":return[...uae];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 JF=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],QF=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],fae=["M","T","W","T","F","S","S"];function ZF(e){switch(e){case"narrow":return[...fae];case"short":return[...QF];case"long":return[...JF];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const KF=["AM","PM"],dae=["Before Christ","Anno Domini"],hae=["BC","AD"],pae=["B","A"];function eT(e){switch(e){case"narrow":return[...pae];case"short":return[...hae];case"long":return[...dae];default:return null}}function mae(e){return KF[e.hour<12?0:1]}function gae(e,t){return ZF(t)[e.weekday-1]}function yae(e,t){return XF(t)[e.month-1]}function vae(e,t){return eT(t)[e.year<0?0:1]}function bae(e,t,n="always",r=!1){const i={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."]},a=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&a){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${i[e][0]}`;case-1:return f?"yesterday":`last ${i[e][0]}`;case 0:return f?"today":`this ${i[e][0]}`}}const o=Object.is(t,-0)||t<0,s=Math.abs(t),l=s===1,u=i[e],c=r?l?u[1]:u[2]||u[1]:l?i[e][0]:e;return o?`${s} ${c} ago`:`in ${s} ${c}`}function tT(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const xae={D:Jg,DD:nF,DDD:rF,DDDD:iF,t:aF,tt:oF,ttt:sF,tttt:lF,T:uF,TT:cF,TTT:fF,TTTT:dF,f:hF,ff:mF,fff:yF,ffff:bF,F:pF,FF:gF,FFF:vF,FFFF:xF};class gr{static create(t,n={}){return new gr(t,n)}static parseFormat(t){let n=null,r="",i=!1;const a=[];for(let o=0;o<t.length;o++){const s=t.charAt(o);s==="'"?((r.length>0||i)&&a.push({literal:i||/^\s+$/.test(r),val:r===""?"'":r}),n=null,r="",i=!i):i||s===n?r+=s:(r.length>0&&a.push({literal:/^\s+$/.test(r),val:r}),r=s,n=s)}return r.length>0&&a.push({literal:i||/^\s+$/.test(r),val:r}),a}static macroTokenToFormatOpts(t){return xae[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(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,r=void 0){if(this.opts.forceSimple)return Dn(t,n);const i={...this.opts};return n>0&&(i.padTo=n),r&&(i.signDisplay=r),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(h,p)=>this.loc.extract(t,h,p),o=h=>t.isOffsetFixed&&t.offset===0&&h.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,h.format):"",s=()=>r?mae(t):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,p)=>r?yae(t,h):a(p?{month:h}:{month:h,day:"numeric"},"month"),u=(h,p)=>r?gae(t,h):a(p?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),c=h=>{const p=gr.macroTokenToFormatOpts(h);return p?this.formatWithSystemDefault(t,p):h},f=h=>r?vae(t,h):a({era:h},"era"),d=h=>{switch(h){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 o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({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();case"d":return i?a({day:"numeric"},"day"):this.num(t.day);case"dd":return i?a({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return i?a({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return i?a({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?a({month:"numeric"},"month"):this.num(t.month);case"MM":return i?a({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?a({year:"numeric"},"year"):this.num(t.year);case"yy":return i?a({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return i?a({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return i?a({year:"numeric"},"year"):this.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("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);case"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 c(h)}};return tT(gr.parseFormat(n),d)}formatDurationFromString(t,n){const r=this.opts.signMode==="negativeLargestOnly"?-1:1,i=c=>{switch(c[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},a=(c,f)=>d=>{const h=i(d);if(h){const p=f.isNegativeDuration&&h!==f.largestUnit?r:1;let m;return this.opts.signMode==="negativeLargestOnly"&&h!==f.largestUnit?m="never":this.opts.signMode==="all"?m="always":m="auto",this.num(c.get(h)*p,d.length,m)}else return d},o=gr.parseFormat(n),s=o.reduce((c,{literal:f,val:d})=>f?c:c.concat(d),[]),l=t.shiftTo(...s.map(i).filter(c=>c)),u={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return tT(o,a(l,u))}}const nT=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ld(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function ud(...e){return t=>e.reduce(([n,r,i],a)=>{const[o,s,l]=a(t,i);return[{...n,...o},s||r,l]},[{},null,1]).slice(0,2)}function cd(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const i=n.exec(e);if(i)return r(i)}return[null,null]}function rT(...e){return(t,n)=>{const r={};let i;for(i=0;i<e.length;i++)r[e[i]]=Ul(t[n+i]);return[r,null,n+i]}}const iT=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,wae=`(?:${iT.source}?(?:\\[(${nT.source})\\])?)?`,c6=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,aT=RegExp(`${c6.source}${wae}`),f6=RegExp(`(?:[Tt]${aT.source})?`),_ae=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kae=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Cae=/(\d{4})-?(\d{3})/,Aae=rT("weekYear","weekNumber","weekDay"),Sae=rT("year","ordinal"),Mae=/(\d{4})-(\d\d)-(\d\d)/,oT=RegExp(`${c6.source} ?(?:${iT.source}|(${nT.source}))?`),Dae=RegExp(`(?: ${oT.source})?`);function fd(e,t,n){const r=e[t];return Xe(r)?n:Ul(r)}function Eae(e,t){return[{year:fd(e,t),month:fd(e,t+1,1),day:fd(e,t+2,1)},null,t+3]}function dd(e,t){return[{hours:fd(e,t,0),minutes:fd(e,t+1,0),seconds:fd(e,t+2,0),milliseconds:s6(e[t+3])},null,t+4]}function C1(e,t){const n=!e[t]&&!e[t+1],r=i2(e[t+1],e[t+2]),i=n?null:Or.instance(r);return[{},i,t+3]}function A1(e,t){const n=e[t]?Ds.create(e[t]):null;return[{},n,t+1]}const $ae=RegExp(`^T?${c6.source}$`),Fae=/^-?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 Tae(e){const[t,n,r,i,a,o,s,l,u]=e,c=t[0]==="-",f=l&&l[0]==="-",d=(h,p=!1)=>h!==void 0&&(p||h&&c)?-h:h;return[{years:d(ic(n)),months:d(ic(r)),weeks:d(ic(i)),days:d(ic(a)),hours:d(ic(o)),minutes:d(ic(s)),seconds:d(ic(l),l==="-0"),milliseconds:d(s6(u),f)}]}const Oae={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function d6(e,t,n,r,i,a,o){const s={year:t.length===2?u6(Ul(t)):Ul(t),month:GF.indexOf(n)+1,day:Ul(r),hour:Ul(i),minute:Ul(a)};return o&&(s.second=Ul(o)),e&&(s.weekday=e.length>3?JF.indexOf(e)+1:QF.indexOf(e)+1),s}const Nae=/^(?:(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 zae(e){const[,t,n,r,i,a,o,s,l,u,c,f]=e,d=d6(t,i,r,n,a,o,s);let h;return l?h=Oae[l]:u?h=0:h=i2(c,f),[d,new Or(h)]}function Rae(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Pae=/^(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$/,Lae=/^(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$/,qae=/^(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 sT(e){const[,t,n,r,i,a,o,s]=e;return[d6(t,i,r,n,a,o,s),Or.utcInstance]}function Bae(e){const[,t,n,r,i,a,o,s]=e;return[d6(t,s,n,r,i,a,o),Or.utcInstance]}const Iae=ld(_ae,f6),jae=ld(kae,f6),Uae=ld(Cae,f6),Vae=ld(aT),lT=ud(Eae,dd,C1,A1),Wae=ud(Aae,dd,C1,A1),Hae=ud(Sae,dd,C1,A1),Yae=ud(dd,C1,A1);function Gae(e){return cd(e,[Iae,lT],[jae,Wae],[Uae,Hae],[Vae,Yae])}function Xae(e){return cd(Rae(e),[Nae,zae])}function Jae(e){return cd(e,[Pae,sT],[Lae,sT],[qae,Bae])}function Qae(e){return cd(e,[Fae,Tae])}const Zae=ud(dd);function Kae(e){return cd(e,[$ae,Zae])}const eoe=ld(Mae,Dae),toe=ld(oT),noe=ud(dd,C1,A1);function roe(e){return cd(e,[eoe,lT],[toe,noe])}const uT="Invalid Duration",cT={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},ioe={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...cT},Xi=146097/400,hd=146097/4800,aoe={years:{quarters:4,months:12,weeks:Xi/7,days:Xi,hours:Xi*24,minutes:Xi*24*60,seconds:Xi*24*60*60,milliseconds:Xi*24*60*60*1e3},quarters:{months:3,weeks:Xi/28,days:Xi/4,hours:Xi*24/4,minutes:Xi*24*60/4,seconds:Xi*24*60*60/4,milliseconds:Xi*24*60*60*1e3/4},months:{weeks:hd/7,days:hd,hours:hd*24,minutes:hd*24*60,seconds:hd*24*60*60,milliseconds:hd*24*60*60*1e3},...cT},ac=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ooe=ac.slice(0).reverse();function Es(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new vt(r)}function fT(e,t){let n=t.milliseconds??0;for(const r of ooe.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function dT(e,t){const n=fT(e,t)<0?-1:1;ac.reduceRight((r,i)=>{if(Xe(t[i]))return r;if(r){const a=t[r]*n,o=e[i][r],s=Math.floor(a/o);t[i]+=s*n,t[r]-=s*o*n}return i},null),ac.reduce((r,i)=>{if(Xe(t[i]))return r;if(r){const a=t[r]%1;t[r]-=a,t[i]+=a*e[r][i]}return i},null)}function hT(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class vt{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?aoe:ioe;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||Mt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return vt.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new mr(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new vt({values:a2(t,vt.normalizeUnit),loc:Mt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(jl(t))return vt.fromMillis(t);if(vt.isDuration(t))return t;if(typeof t=="object")return vt.fromObject(t);throw new mr(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=Qae(t);return r?vt.fromObject(r,n):vt.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=Kae(t);return r?vt.fromObject(r,n):vt.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new mr("need to specify a reason the Duration is invalid");const r=t instanceof Fa?t:new Fa(t,n);if(mn.throwOnInvalid)throw new Tie(r);return new vt({invalid:r})}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 tF(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 r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?gr.create(this.loc,r).formatDurationFromString(this,t):uT}toHuman(t={}){if(!this.isValid)return uT;const n=t.showZeros!==!1,r=ac.map(i=>{const a=this.values[i];return Xe(a)||a===0&&!n?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:i.slice(0,-1)}).format(a)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=l6(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(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},Je.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?fT(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=vt.fromDurationLike(t),r={};for(const i of ac)(od(n.values,i)||od(this.values,i))&&(r[i]=n.get(i)+this.get(i));return Es(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=vt.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=YF(t(this.values[r],r));return Es(this,{values:n},!0)}get(t){return this[vt.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...a2(t,vt.normalizeUnit)};return Es(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:i}={}){const a={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:i,conversionAccuracy:r};return Es(this,a)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return dT(this.matrix,t),Es(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=hT(this.normalize().shiftToAll().toObject());return Es(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(o=>vt.normalizeUnit(o));const n={},r={},i=this.toObject();let a;for(const o of ac)if(t.indexOf(o)>=0){a=o;let s=0;for(const u in r)s+=this.matrix[u][o]*r[u],r[u]=0;jl(i[o])&&(s+=i[o]);const l=Math.trunc(s);n[o]=l,r[o]=(s*1e3-l*1e3)/1e3}else jl(i[o])&&(r[o]=i[o]);for(const o in r)r[o]!==0&&(n[a]+=o===a?r[o]:r[o]/this.matrix[a][o]);return dT(this.matrix,n),Es(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]=this.values[n]===0?0:-this.values[n];return Es(this,{values:t},!0)}removeZeros(){if(!this.isValid)return this;const t=hT(this.values);return Es(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 this.invalid===null}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(r,i){return r===void 0||r===0?i===void 0||i===0:r===i}for(const r of ac)if(!n(this.values[r],t.values[r]))return!1;return!0}}const pd="Invalid Interval";function soe(e,t){return!e||!e.isValid?gn.invalid("missing or invalid start"):!t||!t.isValid?gn.invalid("missing or invalid end"):t<e?gn.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class gn{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 mr("need to specify a reason the Interval is invalid");const r=t instanceof Fa?t:new Fa(t,n);if(mn.throwOnInvalid)throw new Fie(r);return new gn({invalid:r})}static fromDateTimes(t,n){const r=D1(t),i=D1(n);return soe(r,i)??new gn({start:r,end:i})}static after(t,n){const r=vt.fromDurationLike(n),i=D1(t);return gn.fromDateTimes(i,i.plus(r))}static before(t,n){const r=vt.fromDurationLike(n),i=D1(t);return gn.fromDateTimes(i.minus(r),i)}static fromISO(t,n){const[r,i]=(t||"").split("/",2);if(r&&i){let a,o;try{a=Je.fromISO(r,n),o=a.isValid}catch{o=!1}let s,l;try{s=Je.fromISO(i,n),l=s.isValid}catch{l=!1}if(o&&l)return gn.fromDateTimes(a,s);if(o){const u=vt.fromISO(i,n);if(u.isValid)return gn.after(a,u)}else if(l){const u=vt.fromISO(r,n);if(u.isValid)return gn.before(s,u)}}return gn.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}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 r=this.start.startOf(t,n);let i;return n!=null&&n.useLocaleWeeks?i=this.end.reconfigure({locale:r.locale}):i=this.end,i=i.startOf(t,n),Math.floor(i.diff(r,t).get(t))+(i.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?gn.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(D1).filter(o=>this.contains(o)).sort((o,s)=>o.toMillis()-s.toMillis()),r=[];let{s:i}=this,a=0;for(;i<this.e;){const o=n[a]||this.e,s=+o>+this.e?this.e:o;r.push(gn.fromDateTimes(i,s)),i=s,a+=1}return r}splitBy(t){const n=vt.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,i=1,a;const o=[];for(;r<this.e;){const s=this.start.plus(n.mapUnits(l=>l*i));a=+s>+this.e?this.e:s,o.push(gn.fromDateTimes(r,a)),r=a,i+=1}return o}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:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1: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,r=this.e<t.e?this.e:t.e;return n>=r?null:gn.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return gn.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((i,a)=>i.s-a.s).reduce(([i,a],o)=>a?a.overlaps(o)||a.abutsStart(o)?[i,a.union(o)]:[i.concat([a]),o]:[i,o],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const i=[],a=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),o=Array.prototype.concat(...a),s=o.sort((l,u)=>l.time-u.time);for(const l of s)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&i.push(gn.fromDateTimes(n,l.time)),n=null);return gn.merge(i)}difference(...t){return gn.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:pd}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=Jg,n={}){return this.isValid?gr.create(this.s.loc.clone(n),t).formatInterval(this):pd}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:pd}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:pd}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:pd}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:pd}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):vt.invalid(this.invalidReason)}mapEndpoints(t){return gn.fromDateTimes(t(this.s),t(this.e))}}let s2=class{static hasDST(e=mn.defaultZone){const t=Je.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return Ds.isValidZone(e)}static normalizeZone(e){return Il(e,mn.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Mt.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Mt.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Mt.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i="gregory"}={}){return(r||Mt.create(t,n,i)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i="gregory"}={}){return(r||Mt.create(t,n,i)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Mt.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Mt.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Mt.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Mt.create(t,null,"gregory").eras(e)}static features(){return{relative:jF(),localeWeek:UF()}}};function pT(e,t){const n=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(vt.fromMillis(r).as("days"))}function loe(e,t,n){const r=[["years",(l,u)=>u.year-l.year],["quarters",(l,u)=>u.quarter-l.quarter+(u.year-l.year)*4],["months",(l,u)=>u.month-l.month+(u.year-l.year)*12],["weeks",(l,u)=>{const c=pT(l,u);return(c-c%7)/7}],["days",pT]],i={},a=e;let o,s;for(const[l,u]of r)n.indexOf(l)>=0&&(o=l,i[l]=u(e,t),s=a.plus(i),s>t?(i[l]--,e=a.plus(i),e>t&&(s=e,i[l]--,e=a.plus(i))):e=s);return[e,i,s,o]}function uoe(e,t,n,r){let[i,a,o,s]=loe(e,t,n);const l=t-i,u=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);u.length===0&&(o<t&&(o=i.plus({[s]:1})),o!==i&&(a[s]=(a[s]||0)+l/(o-i)));const c=vt.fromObject(a,r);return u.length>0?vt.fromMillis(l,r).shiftTo(...u).plus(c):c}const coe="missing Intl.DateTimeFormat.formatToParts support";function At(e,t=n=>n){return{regex:e,deser:([n])=>t(eae(n))}}const mT="[ ]",gT=new RegExp(mT,"g");function foe(e){return e.replace(/\./g,"\\.?").replace(gT,mT)}function yT(e){return e.replace(/\./g,"").replace(gT," ").toLowerCase()}function Ta(e,t){return e===null?null:{regex:RegExp(e.map(foe).join("|")),deser:([n])=>e.findIndex(r=>yT(n)===yT(r))+t}}function vT(e,t){return{regex:e,deser:([,n,r])=>i2(n,r),groups:t}}function l2(e){return{regex:e,deser:([t])=>t}}function doe(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function hoe(e,t){const n=$a(t),r=$a(t,"{2}"),i=$a(t,"{3}"),a=$a(t,"{4}"),o=$a(t,"{6}"),s=$a(t,"{1,2}"),l=$a(t,"{1,3}"),u=$a(t,"{1,6}"),c=$a(t,"{1,9}"),f=$a(t,"{2,4}"),d=$a(t,"{4,6}"),h=m=>({regex:RegExp(doe(m.val)),deser:([g])=>g,literal:!0}),p=(m=>{if(e.literal)return h(m);switch(m.val){case"G":return Ta(t.eras("short"),0);case"GG":return Ta(t.eras("long"),0);case"y":return At(u);case"yy":return At(f,u6);case"yyyy":return At(a);case"yyyyy":return At(d);case"yyyyyy":return At(o);case"M":return At(s);case"MM":return At(r);case"MMM":return Ta(t.months("short",!0),1);case"MMMM":return Ta(t.months("long",!0),1);case"L":return At(s);case"LL":return At(r);case"LLL":return Ta(t.months("short",!1),1);case"LLLL":return Ta(t.months("long",!1),1);case"d":return At(s);case"dd":return At(r);case"o":return At(l);case"ooo":return At(i);case"HH":return At(r);case"H":return At(s);case"hh":return At(r);case"h":return At(s);case"mm":return At(r);case"m":return At(s);case"q":return At(s);case"qq":return At(r);case"s":return At(s);case"ss":return At(r);case"S":return At(l);case"SSS":return At(i);case"u":return l2(c);case"uu":return l2(s);case"uuu":return At(n);case"a":return Ta(t.meridiems(),0);case"kkkk":return At(a);case"kk":return At(f,u6);case"W":return At(s);case"WW":return At(r);case"E":case"c":return At(n);case"EEE":return Ta(t.weekdays("short",!1),1);case"EEEE":return Ta(t.weekdays("long",!1),1);case"ccc":return Ta(t.weekdays("short",!0),1);case"cccc":return Ta(t.weekdays("long",!0),1);case"Z":case"ZZ":return vT(new RegExp(`([+-]${s.source})(?::(${r.source}))?`),2);case"ZZZ":return vT(new RegExp(`([+-]${s.source})(${r.source})?`),2);case"z":return l2(/[a-z_+-/]{1,256}?/i);case" ":return l2(/[^\S\n\r]/);default:return h(m)}})(e)||{invalidReason:coe};return p.token=e,p}const poe={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"}};function moe(e,t,n){const{type:r,value:i}=e;if(r==="literal"){const l=/^\s+$/.test(i);return{literal:!l,val:l?" ":i}}const a=t[r];let o=r;r==="hour"&&(t.hour12!=null?o=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?o="hour12":o="hour24":o=n.hour12?"hour12":"hour24");let s=poe[o];if(typeof s=="object"&&(s=s[a]),s)return{literal:!1,val:s}}function goe(e){return[`^${e.map(t=>t.regex).reduce((t,n)=>`${t}(${n.source})`,"")}$`,e]}function yoe(e,t,n){const r=e.match(t);if(r){const i={};let a=1;for(const o in n)if(od(n,o)){const s=n[o],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(r.slice(a,a+l))),a+=l}return[r,i]}else return[r,{}]}function voe(e){const t=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}};let n=null,r;return Xe(e.z)||(n=Ds.create(e.z)),Xe(e.Z)||(n||(n=new Or(e.Z)),r=e.Z),Xe(e.q)||(e.M=(e.q-1)*3+1),Xe(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),Xe(e.u)||(e.S=s6(e.u)),[Object.keys(e).reduce((i,a)=>{const o=t(a);return o&&(i[o]=e[a]),i},{}),n,r]}let h6=null;function boe(){return h6||(h6=Je.fromMillis(1555555555555)),h6}function xoe(e,t){if(e.literal)return e;const n=gr.macroTokenToFormatOpts(e.val),r=_T(n,t);return r==null||r.includes(void 0)?e:r}function bT(e,t){return Array.prototype.concat(...e.map(n=>xoe(n,t)))}class xT{constructor(t,n){if(this.locale=t,this.format=n,this.tokens=bT(gr.parseFormat(n),t),this.units=this.tokens.map(r=>hoe(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){const[r,i]=goe(this.units);this.regex=RegExp(r,"i"),this.handlers=i}}explainFromTokens(t){if(this.isValid){const[n,r]=yoe(t,this.regex,this.handlers),[i,a,o]=r?voe(r):[null,null,void 0];if(od(r,"a")&&od(r,"H"))throw new ad("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:r,result:i,zone:a,specificOffset:o}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function wT(e,t,n){return new xT(e,n).explainFromTokens(t)}function woe(e,t,n){const{result:r,zone:i,specificOffset:a,invalidReason:o}=wT(e,t,n);return[r,i,a,o]}function _T(e,t){if(!e)return null;const n=gr.create(t,e).dtFormatter(boe()),r=n.formatToParts(),i=n.resolvedOptions();return r.map(a=>moe(a,e,i))}const p6="Invalid DateTime",kT=864e13;function S1(e){return new Fa("unsupported zone",`the zone "${e.name}" is not supported`)}function m6(e){return e.weekData===null&&(e.weekData=e2(e.c)),e.weekData}function g6(e){return e.localWeekData===null&&(e.localWeekData=e2(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function oc(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Je({...n,...t,old:n})}function CT(e,t,n){let r=e-t*60*1e3;const i=n.offset(r);if(t===i)return[r,t];r-=(i-t)*60*1e3;const a=n.offset(r);return i===a?[r,i]:[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function u2(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function c2(e,t,n){return CT(r2(e),t,n)}function AT(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,a={...e.c,year:r,month:i,day:Math.min(e.c.day,n2(r,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},o=vt.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"),s=r2(a);let[l,u]=CT(s,n,e.zone);return o!==0&&(l+=o,u=e.zone.offset(l)),{ts:l,o:u}}function md(e,t,n,r,i,a){const{setZone:o,zone:s}=n;if(e&&Object.keys(e).length!==0||t){const l=t||s,u=Je.fromObject(e,{...n,zone:l,specificOffset:a});return o?u:u.setZone(s)}else return Je.invalid(new Fa("unparsable",`the input "${i}" can't be parsed as ${r}`))}function f2(e,t,n=!0){return e.isValid?gr.create(Mt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function y6(e,t,n){const r=e.c.year>9999||e.c.year<0;let i="";if(r&&e.c.year>=0&&(i+="+"),i+=Dn(e.c.year,r?6:4),n==="year")return i;if(t){if(i+="-",i+=Dn(e.c.month),n==="month")return i;i+="-"}else if(i+=Dn(e.c.month),n==="month")return i;return i+=Dn(e.c.day),i}function ST(e,t,n,r,i,a,o){let s=!n||e.c.millisecond!==0||e.c.second!==0,l="";switch(o){case"day":case"month":case"year":break;default:if(l+=Dn(e.c.hour),o==="hour")break;if(t){if(l+=":",l+=Dn(e.c.minute),o==="minute")break;s&&(l+=":",l+=Dn(e.c.second))}else{if(l+=Dn(e.c.minute),o==="minute")break;s&&(l+=Dn(e.c.second))}if(o==="second")break;s&&(!r||e.c.millisecond!==0)&&(l+=".",l+=Dn(e.c.millisecond,3))}return i&&(e.isOffsetFixed&&e.offset===0&&!a?l+="Z":e.o<0?(l+="-",l+=Dn(Math.trunc(-e.o/60)),l+=":",l+=Dn(Math.trunc(-e.o%60))):(l+="+",l+=Dn(Math.trunc(e.o/60)),l+=":",l+=Dn(Math.trunc(e.o%60)))),a&&(l+="["+e.zone.ianaName+"]"),l}const MT={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},_oe={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},koe={ordinal:1,hour:0,minute:0,second:0,millisecond:0},d2=["year","month","day","hour","minute","second","millisecond"],Coe=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Aoe=["year","ordinal","hour","minute","second","millisecond"];function h2(e){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"}[e.toLowerCase()];if(!t)throw new tF(e);return t}function DT(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return h2(e)}}function Soe(e){if(M1===void 0&&(M1=mn.now()),e.type!=="iana")return e.offset(M1);const t=e.name;let n=v6.get(t);return n===void 0&&(n=e.offset(M1),v6.set(t,n)),n}function ET(e,t){const n=Il(t.zone,mn.defaultZone);if(!n.isValid)return Je.invalid(S1(n));const r=Mt.fromObject(t);let i,a;if(Xe(e.year))i=mn.now();else{for(const l of d2)Xe(e[l])&&(e[l]=MT[l]);const o=BF(e)||IF(e);if(o)return Je.invalid(o);const s=Soe(n);[i,a]=c2(e,s,n)}return new Je({ts:i,zone:n,loc:r,o:a})}function $T(e,t,n){const r=Xe(n.round)?!0:n.round,i=Xe(n.rounding)?"trunc":n.rounding,a=(s,l)=>(s=l6(s,r||n.calendary?0:2,n.calendary?"round":i),t.loc.clone(n).relFormatter(n).format(s,l)),o=s=>n.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(n.unit)return a(o(n.unit),n.unit);for(const s of n.units){const l=o(s);if(Math.abs(l)>=1)return a(l,s)}return a(e>t?-0:0,n.units[n.units.length-1])}function FT(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}let M1;const v6=new Map;class Je{constructor(t){const n=t.zone||mn.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Fa("invalid input"):null)||(n.isValid?null:S1(n));this.ts=Xe(t.ts)?mn.now():t.ts;let i=null,a=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[i,a]=[t.old.c,t.old.o];else{const o=jl(t.o)&&!t.old?t.o:n.offset(this.ts);i=u2(this.ts,o),r=Number.isNaN(i.year)?new Fa("invalid input"):null,i=r?null:i,a=r?null:o}this._zone=n,this.loc=t.loc||Mt.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=i,this.o=a,this.isLuxonDateTime=!0}static now(){return new Je({})}static local(){const[t,n]=FT(arguments),[r,i,a,o,s,l,u]=n;return ET({year:r,month:i,day:a,hour:o,minute:s,second:l,millisecond:u},t)}static utc(){const[t,n]=FT(arguments),[r,i,a,o,s,l,u]=n;return t.zone=Or.utcInstance,ET({year:r,month:i,day:a,hour:o,minute:s,second:l,millisecond:u},t)}static fromJSDate(t,n={}){const r=aae(t)?t.valueOf():NaN;if(Number.isNaN(r))return Je.invalid("invalid input");const i=Il(n.zone,mn.defaultZone);return i.isValid?new Je({ts:r,zone:i,loc:Mt.fromObject(n)}):Je.invalid(S1(i))}static fromMillis(t,n={}){if(jl(t))return t<-kT||t>kT?Je.invalid("Timestamp out of range"):new Je({ts:t,zone:Il(n.zone,mn.defaultZone),loc:Mt.fromObject(n)});throw new mr(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(jl(t))return new Je({ts:t*1e3,zone:Il(n.zone,mn.defaultZone),loc:Mt.fromObject(n)});throw new mr("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Il(n.zone,mn.defaultZone);if(!r.isValid)return Je.invalid(S1(r));const i=Mt.fromObject(n),a=a2(t,DT),{minDaysInFirstWeek:o,startOfWeek:s}=qF(a,i),l=mn.now(),u=Xe(n.specificOffset)?r.offset(l):n.specificOffset,c=!Xe(a.ordinal),f=!Xe(a.year),d=!Xe(a.month)||!Xe(a.day),h=f||d,p=a.weekYear||a.weekNumber;if((h||c)&&p)throw new ad("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&c)throw new ad("Can't mix ordinal dates with month/day");const m=p||a.weekday&&!h;let g,y,v=u2(l,u);m?(g=Coe,y=_oe,v=e2(v,o,s)):c?(g=Aoe,y=koe,v=a6(v)):(g=d2,y=MT);let b=!1;for(const A of g){const $=a[A];Xe($)?b?a[A]=y[A]:a[A]=v[A]:b=!0}const x=m?nae(a,o,s):c?rae(a):BF(a),_=x||IF(a);if(_)return Je.invalid(_);const C=m?PF(a,o,s):c?LF(a):a,[w,S]=c2(C,u,r),E=new Je({ts:w,zone:r,o:S,loc:i});return a.weekday&&h&&t.weekday!==E.weekday?Je.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${E.toISO()}`):E.isValid?E:Je.invalid(E.invalid)}static fromISO(t,n={}){const[r,i]=Gae(t);return md(r,i,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,i]=Xae(t);return md(r,i,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,i]=Jae(t);return md(r,i,n,"HTTP",n)}static fromFormat(t,n,r={}){if(Xe(t)||Xe(n))throw new mr("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:a=null}=r,o=Mt.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),[s,l,u,c]=woe(o,t,n);return c?Je.invalid(c):md(s,l,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return Je.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,i]=roe(t);return md(r,i,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new mr("need to specify a reason the DateTime is invalid");const r=t instanceof Fa?t:new Fa(t,n);if(mn.throwOnInvalid)throw new $ie(r);return new Je({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=_T(t,Mt.fromObject(n));return r?r.map(i=>i?i.val:null).join(""):null}static expandFormat(t,n={}){return bT(gr.parseFormat(t),Mt.fromObject(n)).map(r=>r.val).join("")}static resetCache(){M1=void 0,v6.clear()}get(t){return this[t]}get isValid(){return this.invalid===null}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}get 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?m6(this).weekYear:NaN}get weekNumber(){return this.isValid?m6(this).weekNumber:NaN}get weekday(){return this.isValid?m6(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?g6(this).weekday:NaN}get localWeekNumber(){return this.isValid?g6(this).weekNumber:NaN}get localWeekYear(){return this.isValid?g6(this).weekYear:NaN}get ordinal(){return this.isValid?a6(this.c).ordinal:NaN}get monthShort(){return this.isValid?s2.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?s2.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?s2.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?s2.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?!1: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,r=r2(this.c),i=this.zone.offset(r-t),a=this.zone.offset(r+t),o=this.zone.offset(r-i*n),s=this.zone.offset(r-a*n);if(o===s)return[this];const l=r-o*n,u=r-s*n,c=u2(l,o),f=u2(u,s);return c.hour===f.hour&&c.minute===f.minute&&c.second===f.second&&c.millisecond===f.millisecond?[oc(this,{ts:l}),oc(this,{ts:u})]:[this]}get isInLeapYear(){return w1(this.year)}get daysInMonth(){return n2(this.year,this.month)}get daysInYear(){return this.isValid?sd(this.year):NaN}get weeksInWeekYear(){return this.isValid?_1(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?_1(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:i}=gr.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:i}}toUTC(t=0,n={}){return this.setZone(Or.instance(t),n)}toLocal(){return this.setZone(mn.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Il(t,mn.defaultZone),t.equals(this.zone))return this;if(t.isValid){let i=this.ts;if(n||r){const a=t.offset(this.ts),o=this.toObject();[i]=c2(o,a,t)}return oc(this,{ts:i,zone:t})}else return Je.invalid(S1(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const i=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return oc(this,{loc:i})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=a2(t,DT),{minDaysInFirstWeek:r,startOfWeek:i}=qF(n,this.loc),a=!Xe(n.weekYear)||!Xe(n.weekNumber)||!Xe(n.weekday),o=!Xe(n.ordinal),s=!Xe(n.year),l=!Xe(n.month)||!Xe(n.day),u=s||l,c=n.weekYear||n.weekNumber;if((u||o)&&c)throw new ad("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new ad("Can't mix ordinal dates with month/day");let f;a?f=PF({...e2(this.c,r,i),...n},r,i):Xe(n.ordinal)?(f={...this.toObject(),...n},Xe(n.day)&&(f.day=Math.min(n2(f.year,f.month),f.day))):f=LF({...a6(this.c),...n});const[d,h]=c2(f,this.o,this.zone);return oc(this,{ts:d,o:h})}plus(t){if(!this.isValid)return this;const n=vt.fromDurationLike(t);return oc(this,AT(this,n))}minus(t){if(!this.isValid)return this;const n=vt.fromDurationLike(t).negate();return oc(this,AT(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},i=vt.normalizeUnit(t);switch(i){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(i==="weeks")if(n){const a=this.loc.getStartOfWeek(),{weekday:o}=this;o<a&&(r.weekNumber=this.weekNumber-1),r.weekday=a}else r.weekday=1;if(i==="quarters"){const a=Math.ceil(this.month/3);r.month=(a-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?gr.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):p6}toLocaleString(t=Jg,n={}){return this.isValid?gr.create(this.loc.clone(n),t).formatDateTime(this):p6}toLocaleParts(t={}){return this.isValid?gr.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:i=!0,extendedZone:a=!1,precision:o="milliseconds"}={}){if(!this.isValid)return null;o=h2(o);const s=t==="extended";let l=y6(this,s,o);return d2.indexOf(o)>=3&&(l+="T"),l+=ST(this,s,n,r,i,a,o),l}toISODate({format:t="extended",precision:n="day"}={}){return this.isValid?y6(this,t==="extended",h2(n)):null}toISOWeekDate(){return f2(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:i=!1,extendedZone:a=!1,format:o="extended",precision:s="milliseconds"}={}){return this.isValid?(s=h2(s),(i&&d2.indexOf(s)>=3?"T":"")+ST(this,o==="extended",n,t,r,a,s)):null}toRFC2822(){return f2(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return f2(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?y6(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let i="HH:mm:ss.SSS";return(n||t)&&(r&&(i+=" "),n?i+="z":t&&(i+="ZZ")),f2(this,i,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():p6}[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",r={}){if(!this.isValid||!t.isValid)return vt.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...r},a=oae(n).map(vt.normalizeUnit),o=t.valueOf()>this.valueOf(),s=o?this:t,l=o?t:this,u=uoe(s,l,a,i);return o?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(Je.now(),t,n)}until(t){return this.isValid?gn.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const i=t.valueOf(),a=this.setZone(t.zone,{keepLocalTime:!0});return a.startOf(n,r)<=i&&i<=a.endOf(n,r)}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||Je.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let i=["years","months","days","hours","minutes","seconds"],a=t.unit;return Array.isArray(t.unit)&&(i=t.unit,a=void 0),$T(n,this.plus(r),{...t,numeric:"always",units:i,unit:a})}toRelativeCalendar(t={}){return this.isValid?$T(t.base||Je.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Je.isDateTime))throw new mr("min requires all arguments be DateTimes");return VF(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Je.isDateTime))throw new mr("max requires all arguments be DateTimes");return VF(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:i=null,numberingSystem:a=null}=r,o=Mt.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});return wT(o,t,n)}static fromStringExplain(t,n,r={}){return Je.fromFormatExplain(t,n,r)}static buildFormatParser(t,n={}){const{locale:r=null,numberingSystem:i=null}=n,a=Mt.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0});return new xT(a,t)}static fromFormatParser(t,n,r={}){if(Xe(t)||Xe(n))throw new mr("fromFormatParser requires an input string and a format parser");const{locale:i=null,numberingSystem:a=null}=r,o=Mt.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!o.equals(n.locale))throw new mr(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`);const{result:s,zone:l,specificOffset:u,invalidReason:c}=n.explainFromTokens(t);return c?Je.invalid(c):md(s,l,r,`format ${n.format}`,t,u)}static get DATE_SHORT(){return Jg}static get DATE_MED(){return nF}static get DATE_MED_WITH_WEEKDAY(){return Oie}static get DATE_FULL(){return rF}static get DATE_HUGE(){return iF}static get TIME_SIMPLE(){return aF}static get TIME_WITH_SECONDS(){return oF}static get TIME_WITH_SHORT_OFFSET(){return sF}static get TIME_WITH_LONG_OFFSET(){return lF}static get TIME_24_SIMPLE(){return uF}static get TIME_24_WITH_SECONDS(){return cF}static get TIME_24_WITH_SHORT_OFFSET(){return fF}static get TIME_24_WITH_LONG_OFFSET(){return dF}static get DATETIME_SHORT(){return hF}static get DATETIME_SHORT_WITH_SECONDS(){return pF}static get DATETIME_MED(){return mF}static get DATETIME_MED_WITH_SECONDS(){return gF}static get DATETIME_MED_WITH_WEEKDAY(){return Nie}static get DATETIME_FULL(){return yF}static get DATETIME_FULL_WITH_SECONDS(){return vF}static get DATETIME_HUGE(){return bF}static get DATETIME_HUGE_WITH_SECONDS(){return xF}}function D1(e){if(Je.isDateTime(e))return e;if(e&&e.valueOf&&jl(e.valueOf()))return Je.fromJSDate(e);if(e&&typeof e=="object")return Je.fromObject(e);throw new mr(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function Oa(e,t,n=!1){if(e!==void 0)switch(e){case"ordinal":return{range:["#C2D5EE","#1A73E8"]};case"temporal":case"quantitative":return t?n?{range:["#6BA4EE","#EEA361"]}:{range:["#1A73E8","#E8710A"]}:{range:["#C2D5EE","#1A73E8"]};case"nominal":return n?{range:["#6BA4EE","#66CEDC","#EC72B8","#EEA361","#F9C85B","#AACD85","#B87CED","#ACB0B3"]}:{range:["#1A73E8","#12B5CB","#E52592","#E8710A","#F9AB00","#7CB342","#9334E6","#80868B"]}}}function Kt(e,t){return e.toString().padStart(t,"0")}function p2(e,t,n){t||(t="second");const r=Je.fromJSDate(e,{zone:n??"UTC"});switch(t){case"year":return`${Kt(r.year,4)}`;case"quarter":{const i=Kt(r.year,4),a=Math.floor(r.month/3)+1;return`${i}-Q${a}`}case"month":{const i=Kt(r.year,2),a=Kt(r.month,2);return`${i}-${a}`}case"week":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2);return`${i}-${a}-${o}-WK`}case"day":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2);return`${i}-${a}-${o}`}case"hour":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2),s=Kt(r.hour,2);return`${i}-${a}-${o} ${s}`}case"minute":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2),s=Kt(r.hour,2),l=Kt(r.minute,2);return`${i}-${a}-${o} ${s}:${l}`}case"second":{const i=Kt(r.year,2),a=Kt(r.month,2),o=Kt(r.day,2),s=Kt(r.hour,2),l=Kt(r.minute,2),u=Kt(r.second,2);return`${i}-${a}-${o} ${s}:${l}:${u}`}default:throw new Error("Unknown timeframe.")}}function TT(e,t){const n=Je.fromJSDate(e,{zone:t??"UTC"});return new Date(n.year,n.month-1,n.day,n.hour,n.minute,n.second,n.millisecond)}let b6;const Moe=100;async function m2(){const e=Date.now();if(!(b6&&e<b6+Moe))return b6=e,new Promise(t=>{setTimeout(t,0)})}function Ji(e,t){const n=e.createElement("span");return n.classList.add("error"),n.appendChild(e.createTextNode(typeof t=="string"?t:t.message)),n}function E1(e){const t=e.createElement("span");return t.appendChild(e.createTextNode("∅")),t.classList.add("value-null"),t}function OT(e){const t=e.createElement("div");return t.classList.add("drill-icon"),t.innerHTML=`
|
|
2
2
|
<style>
|
|
3
3
|
.drill-icon:hover .copy-circle {
|
|
4
4
|
fill: #eef7f9;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=Object.freeze(JSON.parse('{"displayName":"JSON","name":"json","patterns":[{"include":"#value"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.json"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.array.end.json"}},"name":"meta.structure.array.json","patterns":[{"include":"#value"},{"match":",","name":"punctuation.separator.array.json"},{"match":"[^\\\\s\\\\]]","name":"invalid.illegal.expected-array-separator.json"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.documentation.json"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.json"},{"captures":{"1":{"name":"punctuation.definition.comment.json"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.js"}]},"constant":{"match":"\\\\b(?:true|false|null)\\\\b","name":"constant.language.json"},"number":{"match":"-?(?:0|[1-9]\\\\d*)(?:(?:\\\\.\\\\d+)?(?:[eE][+-]?\\\\d+)?)?","name":"constant.numeric.json"},"object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.json"}},"end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.dictionary.end.json"}},"name":"meta.structure.dictionary.json","patterns":[{"comment":"the JSON object key","include":"#objectkey"},{"include":"#comments"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.dictionary.key-value.json"}},"end":"(,)|(?=\\\\})","endCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.json"}},"name":"meta.structure.dictionary.value.json","patterns":[{"comment":"the JSON object value","include":"#value"},{"match":"[^\\\\s,]","name":"invalid.illegal.expected-dictionary-separator.json"}]},{"match":"[^\\\\s\\\\}]","name":"invalid.illegal.expected-dictionary-separator.json"}]},"objectkey":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.support.type.property-name.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.support.type.property-name.end.json"}},"name":"string.json support.type.property-name.json","patterns":[{"include":"#stringcontent"}]},"string":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.json"}},"name":"string.quoted.double.json","patterns":[{"include":"#stringcontent"}]},"stringcontent":{"patterns":[{"match":"\\\\\\\\(?:[\\"\\\\\\\\/bfnrt]|u[0-9a-fA-F]{4})","name":"constant.character.escape.json"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.json"}]},"value":{"patterns":[{"include":"#constant"},{"include":"#number"},{"include":"#string"},{"include":"#array"},{"include":"#object"},{"include":"#comments"}]}},"scopeName":"source.json"}')),e=[n];export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze(JSON.parse('{"displayName":"SQL","name":"sql","patterns":[{"match":"((?<!@)@)\\\\b(\\\\w+)\\\\b","name":"text.variable"},{"match":"(\\\\[)[^\\\\]]*(\\\\])","name":"text.bracketed"},{"include":"#comments"},{"captures":{"1":{"name":"keyword.other.create.sql"},"2":{"name":"keyword.other.sql"},"5":{"name":"entity.name.function.sql"}},"match":"(?i:^\\\\s*(create(?:\\\\s+or\\\\s+replace)?)\\\\s+(aggregate|conversion|database|domain|function|group|(unique\\\\s+)?index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\\\s+)([\'\\"`]?)(\\\\w+)\\\\4","name":"meta.create.sql"},{"captures":{"1":{"name":"keyword.other.create.sql"},"2":{"name":"keyword.other.sql"}},"match":"(?i:^\\\\s*(drop)\\\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view))","name":"meta.drop.sql"},{"captures":{"1":{"name":"keyword.other.create.sql"},"2":{"name":"keyword.other.table.sql"},"3":{"name":"entity.name.function.sql"},"4":{"name":"keyword.other.cascade.sql"}},"match":"(?i:\\\\s*(drop)\\\\s+(table)\\\\s+(\\\\w+)(\\\\s+cascade)?\\\\b)","name":"meta.drop.sql"},{"captures":{"1":{"name":"keyword.other.create.sql"},"2":{"name":"keyword.other.table.sql"}},"match":"(?i:^\\\\s*(alter)\\\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|proc(edure)?|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\\\s+)","name":"meta.alter.sql"},{"captures":{"1":{"name":"storage.type.sql"},"2":{"name":"storage.type.sql"},"3":{"name":"constant.numeric.sql"},"4":{"name":"storage.type.sql"},"5":{"name":"constant.numeric.sql"},"6":{"name":"storage.type.sql"},"7":{"name":"constant.numeric.sql"},"8":{"name":"constant.numeric.sql"},"9":{"name":"storage.type.sql"},"10":{"name":"constant.numeric.sql"},"11":{"name":"storage.type.sql"},"12":{"name":"storage.type.sql"},"13":{"name":"storage.type.sql"},"14":{"name":"constant.numeric.sql"},"15":{"name":"storage.type.sql"}},"match":"(?xi)\\n\\n\\t\\t\\t\\t# normal stuff, capture 1\\n\\t\\t\\t\\t \\\\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\\\\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\\\\b\\n\\n\\t\\t\\t\\t# numeric suffix, capture 2 + 3i\\n\\t\\t\\t\\t|\\\\b(bit\\\\svarying|character\\\\s(?:varying)?|tinyint|var\\\\schar|float|interval)\\\\((\\\\d+)\\\\)\\n\\n\\t\\t\\t\\t# optional numeric suffix, capture 4 + 5i\\n\\t\\t\\t\\t|\\\\b(char|number|varchar\\\\d?)\\\\b(?:\\\\((\\\\d+)\\\\))?\\n\\n\\t\\t\\t\\t# special case, capture 6 + 7i + 8i\\n\\t\\t\\t\\t|\\\\b(numeric|decimal)\\\\b(?:\\\\((\\\\d+),(\\\\d+)\\\\))?\\n\\n\\t\\t\\t\\t# special case, captures 9, 10i, 11\\n\\t\\t\\t\\t|\\\\b(times?)\\\\b(?:\\\\((\\\\d+)\\\\))?(\\\\swith(?:out)?\\\\stime\\\\szone\\\\b)?\\n\\n\\t\\t\\t\\t# special case, captures 12, 13, 14i, 15\\n\\t\\t\\t\\t|\\\\b(timestamp)(?:(s|tz))?\\\\b(?:\\\\((\\\\d+)\\\\))?(\\\\s(with|without)\\\\stime\\\\szone\\\\b)?\\n\\n\\t\\t\\t"},{"match":"(?i:\\\\b((?:primary|foreign)\\\\s+key|references|on\\\\sdelete(\\\\s+cascade)?|nocheck|check|constraint|collate|default)\\\\b)","name":"storage.modifier.sql"},{"match":"\\\\b\\\\d+\\\\b","name":"constant.numeric.sql"},{"match":"(?i:\\\\b(select(\\\\s+(all|distinct))?|insert\\\\s+(ignore\\\\s+)?into|update|delete|from|set|where|group\\\\s+by|or|like|and|union(\\\\s+all)?|having|order\\\\s+by|limit|cross\\\\s+join|join|straight_join|(inner|(left|right|full)(\\\\s+outer)?)\\\\s+join|natural(\\\\s+(inner|(left|right|full)(\\\\s+outer)?))?\\\\s+join)\\\\b)","name":"keyword.other.DML.sql"},{"match":"(?i:\\\\b(on|off|((is\\\\s+)?not\\\\s+)?null)\\\\b)","name":"keyword.other.DDL.create.II.sql"},{"match":"(?i:\\\\bvalues\\\\b)","name":"keyword.other.DML.II.sql"},{"match":"(?i:\\\\b(begin(\\\\s+work)?|start\\\\s+transaction|commit(\\\\s+work)?|rollback(\\\\s+work)?)\\\\b)","name":"keyword.other.LUW.sql"},{"match":"(?i:\\\\b(grant(\\\\swith\\\\sgrant\\\\soption)?|revoke)\\\\b)","name":"keyword.other.authorization.sql"},{"match":"(?i:\\\\bin\\\\b)","name":"keyword.other.data-integrity.sql"},{"match":"(?i:^\\\\s*(comment\\\\s+on\\\\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\\\\s+.*?\\\\s+(is)\\\\s+)","name":"keyword.other.object-comments.sql"},{"match":"(?i)\\\\bAS\\\\b","name":"keyword.other.alias.sql"},{"match":"(?i)\\\\b(DESC|ASC)\\\\b","name":"keyword.other.order.sql"},{"match":"\\\\*","name":"keyword.operator.star.sql"},{"match":"[!<>]?=|<>|<|>","name":"keyword.operator.comparison.sql"},{"match":"-|\\\\+|/","name":"keyword.operator.math.sql"},{"match":"\\\\|\\\\|","name":"keyword.operator.concatenator.sql"},{"captures":{"1":{"name":"support.function.aggregate.sql"}},"match":"(?i)\\\\b(approx_count_distinct|approx_percentile_cont|approx_percentile_disc|avg|checksum_agg|count|count_big|group|grouping|grouping_id|max|min|sum|stdev|stdevp|var|varp)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.analytic.sql"}},"match":"(?i)\\\\b(cume_dist|first_value|lag|last_value|lead|percent_rank|percentile_cont|percentile_disc)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.bitmanipulation.sql"}},"match":"(?i)\\\\b(bit_count|get_bit|left_shift|right_shift|set_bit)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.conversion.sql"}},"match":"(?i)\\\\b(cast|convert|parse|try_cast|try_convert|try_parse)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.collation.sql"}},"match":"(?i)\\\\b(collationproperty|tertiary_weights)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.cryptographic.sql"}},"match":"(?i)\\\\b(asymkey_id|asymkeyproperty|certproperty|cert_id|crypt_gen_random|decryptbyasymkey|decryptbycert|decryptbykey|decryptbykeyautoasymkey|decryptbykeyautocert|decryptbypassphrase|encryptbyasymkey|encryptbycert|encryptbykey|encryptbypassphrase|hashbytes|is_objectsigned|key_guid|key_id|key_name|signbyasymkey|signbycert|symkeyproperty|verifysignedbycert|verifysignedbyasymkey)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.cursor.sql"}},"match":"(?i)\\\\b(cursor_status)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.datetime.sql"}},"match":"(?i)\\\\b(sysdatetime|sysdatetimeoffset|sysutcdatetime|current_time(stamp)?|getdate|getutcdate|datename|datepart|day|month|year|datefromparts|datetime2fromparts|datetimefromparts|datetimeoffsetfromparts|smalldatetimefromparts|timefromparts|datediff|dateadd|datetrunc|eomonth|switchoffset|todatetimeoffset|isdate|date_bucket)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.datatype.sql"}},"match":"(?i)\\\\b(datalength|ident_current|ident_incr|ident_seed|identity|sql_variant_property)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.expression.sql"}},"match":"(?i)\\\\b(coalesce|nullif)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.globalvar.sql"}},"match":"(?<!@)@@(?i)\\\\b(cursor_rows|connections|cpu_busy|datefirst|dbts|error|fetch_status|identity|idle|io_busy|langid|language|lock_timeout|max_connections|max_precision|nestlevel|options|packet_errors|pack_received|pack_sent|procid|remserver|rowcount|servername|servicename|spid|textsize|timeticks|total_errors|total_read|total_write|trancount|version)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.json.sql"}},"match":"(?i)\\\\b(json|isjson|json_object|json_array|json_value|json_query|json_modify|json_path_exists)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.logical.sql"}},"match":"(?i)\\\\b(choose|iif|greatest|least)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.mathematical.sql"}},"match":"(?i)\\\\b(abs|acos|asin|atan|atn2|ceiling|cos|cot|degrees|exp|floor|log|log10|pi|power|radians|rand|round|sign|sin|sqrt|square|tan)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.metadata.sql"}},"match":"(?i)\\\\b(app_name|applock_mode|applock_test|assemblyproperty|col_length|col_name|columnproperty|database_principal_id|databasepropertyex|db_id|db_name|file_id|file_idex|file_name|filegroup_id|filegroup_name|filegroupproperty|fileproperty|fulltextcatalogproperty|fulltextserviceproperty|index_col|indexkey_property|indexproperty|object_definition|object_id|object_name|object_schema_name|objectproperty|objectpropertyex|original_db_name|parsename|schema_id|schema_name|scope_identity|serverproperty|stats_date|type_id|type_name|typeproperty)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.ranking.sql"}},"match":"(?i)\\\\b(rank|dense_rank|ntile|row_number)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.rowset.sql"}},"match":"(?i)\\\\b(generate_series|opendatasource|openjson|openrowset|openquery|openxml|predict|string_split)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.security.sql"}},"match":"(?i)\\\\b(certencoded|certprivatekey|current_user|database_principal_id|has_perms_by_name|is_member|is_rolemember|is_srvrolemember|original_login|permissions|pwdcompare|pwdencrypt|schema_id|schema_name|session_user|suser_id|suser_sid|suser_sname|system_user|suser_name|user_id|user_name)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.string.sql"}},"match":"(?i)\\\\b(ascii|char|charindex|concat|difference|format|left|len|lower|ltrim|nchar|nodes|patindex|quotename|replace|replicate|reverse|right|rtrim|soundex|space|str|string_agg|string_escape|string_split|stuff|substring|translate|trim|unicode|upper)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.system.sql"}},"match":"(?i)\\\\b(binary_checksum|checksum|compress|connectionproperty|context_info|current_request_id|current_transaction_id|decompress|error_line|error_message|error_number|error_procedure|error_severity|error_state|formatmessage|get_filestream_transaction_context|getansinull|host_id|host_name|isnull|isnumeric|min_active_rowversion|newid|newsequentialid|rowcount_big|session_context|session_id|xact_state)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.textimage.sql"}},"match":"(?i)\\\\b(patindex|textptr|textvalid)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"constant.other.database-name.sql"},"2":{"name":"constant.other.table-name.sql"}},"match":"(\\\\w+?)\\\\.(\\\\w+)"},{"include":"#strings"},{"include":"#regexps"},{"match":"\\\\b(?i)(abort|abort_after_wait|absent|absolute|accent_sensitivity|acceptable_cursopt|acp|action|activation|add|address|admin|aes_128|aes_192|aes_256|affinity|after|aggregate|algorithm|all_constraints|all_errormsgs|all_indexes|all_levels|all_results|allow_connections|allow_dup_row|allow_encrypted_value_modifications|allow_page_locks|allow_row_locks|allow_snapshot_isolation|alter|altercolumn|always|anonymous|ansi_defaults|ansi_null_default|ansi_null_dflt_off|ansi_null_dflt_on|ansi_nulls|ansi_padding|ansi_warnings|appdomain|append|application|apply|arithabort|arithignore|array|assembly|asymmetric|asynchronous_commit|at|atan2|atomic|attach|attach_force_rebuild_log|attach_rebuild_log|audit|auth_realm|authentication|auto|auto_cleanup|auto_close|auto_create_statistics|auto_drop|auto_shrink|auto_update_statistics|auto_update_statistics_async|automated_backup_preference|automatic|autopilot|availability|availability_mode|backup|backup_priority|base64|basic|batches|batchsize|before|between|bigint|binary|binding|bit|block|blockers|blocksize|bmk|both|break|broker|broker_instance|bucket_count|buffer|buffercount|bulk_logged|by|call|caller|card|case|catalog|catch|cert|certificate|change_retention|change_tracking|change_tracking_context|changes|char|character|character_set|check_expiration|check_policy|checkconstraints|checkindex|checkpoint|checksum|cleanup_policy|clear|clear_port|close|clustered|codepage|collection|column_encryption_key|column_master_key|columnstore|columnstore_archive|colv_80_to_100|colv_100_to_80|commit_differential_base|committed|compatibility_level|compress_all_row_groups|compression|compression_delay|concat_null_yields_null|concatenate|configuration|connect|connection|containment|continue|continue_after_error|contract|contract_name|control|conversation|conversation_group_id|conversation_handle|copy|copy_only|count_rows|counter|create(\\\\\\\\s+or\\\\\\\\s+alter)?|credential|cross|cryptographic|cryptographic_provider|cube|cursor|cursor_close_on_commit|cursor_default|data|data_compression|data_flush_interval_seconds|data_mirroring|data_purity|data_source|database|database_name|database_snapshot|datafiletype|date_correlation_optimization|date|datefirst|dateformat|date_format|datetime|datetime2|datetimeoffset|day(s)?|db_chaining|dbid|dbidexec|dbo_only|deadlock_priority|deallocate|dec|decimal|declare|decrypt|decrypt_a|decryption|default_database|default_fulltext_language|default_language|default_logon_domain|default_schema|definition|delay|delayed_durability|delimitedtext|density_vector|dependent|des|description|desired_state|desx|differential|digest|disable|disable_broker|disable_def_cnst_chk|disabled|disk|distinct|distributed|distribution|drop|drop_existing|dts_buffers|dump|durability|dynamic|edition|elements|else|emergency|empty|enable|enable_broker|enabled|encoding|encrypted|encrypted_value|encryption|encryption_type|end|endpoint|endpoint_url|enhancedintegrity|entry|error_broker_conversations|errorfile|estimateonly|event|except|exec|executable|execute|exists|expand|expiredate|expiry_date|explicit|external|external_access|failover|failover_mode|failure_condition_level|fast|fast_forward|fastfirstrow|federated_service_account|fetch|field_terminator|fieldterminator|file|filelistonly|filegroup|filegrowth|filename|filestream|filestream_log|filestream_on|filetable|file_format|filter|first_row|fips_flagger|fire_triggers|first|firstrow|float|flush_interval_seconds|fmtonly|following|for|force|force_failover_allow_data_loss|force_service_allow_data_loss|forced|forceplan|formatfile|format_options|format_type|formsof|forward_only|free_cursors|free_exec_context|fullscan|fulltext|fulltextall|fulltextkey|function|generated|get|geography|geometry|global|go|goto|governor|guid|hadoop|hardening|hash|hashed|header_limit|headeronly|health_check_timeout|hidden|hierarchyid|histogram|histogram_steps|hits_cursors|hits_exec_context|hour(s)?|http|identity|identity_value|if|ifnull|ignore|ignore_constraints|ignore_dup_key|ignore_dup_row|ignore_triggers|image|immediate|implicit_transactions|include|include_null_values|incremental|index|inflectional|init|initiator|insensitive|insert|instead|int|integer|integrated|intersect|intermediate|interval_length_minutes|into|inuse_cursors|inuse_exec_context|io|is|isabout|iso_week|isolation|job_tracker_location|json|keep|keep_nulls|keep_replication|keepdefaults|keepfixed|keepidentity|keepnulls|kerberos|key|key_path|key_source|key_store_provider_name|keyset|kill|kilobytes_per_batch|labelonly|langid|language|last|lastrow|leading|legacy_cardinality_estimation|length|level|lifetime|lineage_80_to_100|lineage_100_to_80|listener_ip|listener_port|load|loadhistory|lob_compaction|local|local_service_name|locate|location|lock_escalation|lock_timeout|lockres|log|login|login_type|loop|manual|mark_in_use_for_removal|masked|master|match|matched|max_queue_readers|max_duration|max_outstanding_io_per_volume|maxdop|maxerrors|maxlength|maxtransfersize|max_plans_per_query|max_storage_size_mb|mediadescription|medianame|mediapassword|memogroup|memory_optimized|merge|message|message_forward_size|message_forwarding|microsecond|millisecond|minute(s)?|mirror_address|misses_cursors|misses_exec_context|mixed|modify|money|month|move|multi_user|must_change|name|namespace|nanosecond|native|native_compilation|nchar|ncharacter|nested_triggers|never|new_account|new_broker|newname|next|no|no_browsetable|no_checksum|no_compression|no_infomsgs|no_triggers|no_truncate|nocount|noexec|noexpand|noformat|noinit|nolock|nonatomic|nonclustered|nondurable|none|norecompute|norecovery|noreset|norewind|noskip|not|notification|nounload|now|nowait|ntext|ntlm|nulls|numeric|numeric_roundabort|nvarchar|object|objid|oem|offline|old_account|online|operation_mode|open|openjson|optimistic|option|orc|out|outer|output|over|override|owner|ownership|pad_index|page|page_checksum|page_verify|pagecount|paglock|param|parameter_sniffing|parameter_type_expansion|parameterization|parquet|parseonly|partial|partition|partner|password|path|pause|percentage|permission_set|persisted|period|physical_only|plan_forcing_mode|policy|pool|population|ports|preceding|precision|predicate|presume_abort|primary|primary_role|print|prior|priority |priority_level|private|proc(edure)?|procedure_name|profile|provider|quarter|query_capture_mode|query_governor_cost_limit|query_optimizer_hotfixes|query_store|queue|quoted_identifier|raiserror|range|raw|rcfile|rc2|rc4|rc4_128|rdbms|read_committed_snapshot|read|read_only|read_write|readcommitted|readcommittedlock|readonly|readpast|readuncommitted|readwrite|real|rebuild|receive|recmodel_70backcomp|recompile|reconfigure|recovery|recursive|recursive_triggers|redo_queue|reject_sample_value|reject_type|reject_value|relative|remote|remote_data_archive|remote_proc_transactions|remote_service_name|remove|removed_cursors|removed_exec_context|reorganize|repeat|repeatable|repeatableread|replace|replica|replicated|replnick_100_to_80|replnickarray_80_to_100|replnickarray_100_to_80|required|required_cursopt|resample|reset|resource|resource_manager_location|respect|restart|restore|restricted_user|resume|retaindays|retention|return|revert|rewind|rewindonly|returns|robust|role|rollup|root|round_robin|route|row|rowdump|rowguidcol|rowlock|row_terminator|rows|rows_per_batch|rowsets_only|rowterminator|rowversion|rsa_1024|rsa_2048|rsa_3072|rsa_4096|rsa_512|safe|safety|sample|save|scalar|schema|schemabinding|scoped|scroll|scroll_locks|sddl|second|secexpr|seconds|secondary|secondary_only|secondary_role|secret|security|securityaudit|selective|self|send|sent|sequence|serde_method|serializable|server|service|service_broker|service_name|service_objective|session_timeout|session|sessions|seterror|setopts|sets|shard_map_manager|shard_map_name|sharded|shared_memory|shortest_path|show_statistics|showplan_all|showplan_text|showplan_xml|showplan_xml_with_recompile|shrinkdb|shutdown|sid|signature|simple|single_blob|single_clob|single_nclob|single_user|singleton|site|size|size_based_cleanup_mode|skip|smalldatetime|smallint|smallmoney|snapshot|snapshot_import|snapshotrestorephase|soap|softnuma|sort_in_tempdb|sorted_data|sorted_data_reorg|spatial|sql|sql_bigint|sql_binary|sql_bit|sql_char|sql_date|sql_decimal|sql_double|sql_float|sql_guid|sql_handle|sql_longvarbinary|sql_longvarchar|sql_numeric|sql_real|sql_smallint|sql_time|sql_timestamp|sql_tinyint|sql_tsi_day|sql_tsi_frac_second|sql_tsi_hour|sql_tsi_minute|sql_tsi_month|sql_tsi_quarter|sql_tsi_second|sql_tsi_week|sql_tsi_year|sql_type_date|sql_type_time|sql_type_timestamp|sql_varbinary|sql_varchar|sql_variant|sql_wchar|sql_wlongvarchar|ssl|ssl_port|standard|standby|start|start_date|started|stat_header|state|statement|static|statistics|statistics_incremental|statistics_norecompute|statistics_only|statman|stats|stats_stream|status|stop|stop_on_error|stopat|stopatmark|stopbeforemark|stoplist|stopped|string_delimiter|subject|supplemental_logging|supported|suspend|symmetric|synchronous_commit|synonym|sysname|system|system_time|system_versioning|table|tableresults|tablock|tablockx|take|tape|target|target_index|target_partition|target_recovery_time|tcp|temporal_history_retention|text|textimage_on|then|thesaurus|throw|time|timeout|timestamp|tinyint|to|top|torn_page_detection|track_columns_updated|trailing|tran|transaction|transfer|transform_noise_words|triple_des|triple_des_3key|truncate|trustworthy|try|tsql|two_digit_year_cutoff|type|type_desc|type_warning|tzoffset|uid|unbounded|uncommitted|unique|uniqueidentifier|unlimited|unload|unlock|unsafe|updlock|url|use|useplan|useroptions|use_type_default|using|utcdatetime|valid_xml|validation|value|values|varbinary|varchar|verbose|verifyonly|version|view_metadata|virtual_device|visiblity|wait_at_low_priority|waitfor|webmethod|week|weekday|weight|well_formed_xml|when|while|widechar|widechar_ansi|widenative|window|windows|with|within|within group|witness|without|without_array_wrapper|workload|wsdl|xact_abort|xlock|xml|xmlschema|xquery|xsinil|year|zone)\\\\b","name":"keyword.other.sql"},{"captures":{"1":{"name":"punctuation.section.scope.begin.sql"},"2":{"name":"punctuation.section.scope.end.sql"}},"comment":"Allow for special ↩ behavior","match":"(\\\\()(\\\\))","name":"meta.block.sql"}],"repository":{"comment-block":{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.sql"}},"end":"\\\\*/","name":"comment.block","patterns":[{"include":"#comment-block"}]},"comments":{"patterns":[{"begin":"(^[ \\\\t]+)?(?=--)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.sql"}},"end":"(?!\\\\G)","patterns":[{"begin":"--","beginCaptures":{"0":{"name":"punctuation.definition.comment.sql"}},"end":"\\\\n","name":"comment.line.double-dash.sql"}]},{"begin":"(^[ \\\\t]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.sql"}},"end":"(?!\\\\G)","patterns":[]},{"include":"#comment-block"}]},"regexps":{"patterns":[{"begin":"/(?=\\\\S.*/)","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"/","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.regexp.sql","patterns":[{"include":"#string_interpolation"},{"match":"\\\\\\\\/","name":"constant.character.escape.slash.sql"}]},{"begin":"%r\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"comment":"We should probably handle nested bracket pairs!?! -- Allan","end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.regexp.modr.sql","patterns":[{"include":"#string_interpolation"}]}]},"string_escape":{"match":"\\\\\\\\.","name":"constant.character.escape.sql"},"string_interpolation":{"captures":{"1":{"name":"punctuation.definition.string.begin.sql"},"3":{"name":"punctuation.definition.string.end.sql"}},"match":"(#\\\\{)([^\\\\}]*)(\\\\})","name":"string.interpolated.sql"},"strings":{"patterns":[{"captures":{"2":{"name":"punctuation.definition.string.begin.sql"},"3":{"name":"punctuation.definition.string.end.sql"}},"comment":"this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.","match":"(N)?(\')[^\']*(\')","name":"string.quoted.single.sql"},{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.quoted.single.sql","patterns":[{"include":"#string_escape"}]},{"captures":{"1":{"name":"punctuation.definition.string.begin.sql"},"2":{"name":"punctuation.definition.string.end.sql"}},"comment":"this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.","match":"(`)[^`\\\\\\\\]*(`)","name":"string.quoted.other.backtick.sql"},{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"`","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.quoted.other.backtick.sql","patterns":[{"include":"#string_escape"}]},{"captures":{"1":{"name":"punctuation.definition.string.begin.sql"},"2":{"name":"punctuation.definition.string.end.sql"}},"comment":"this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.","match":"(\\")[^\\"#]*(\\")","name":"string.quoted.double.sql"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.quoted.double.sql","patterns":[{"include":"#string_interpolation"}]},{"begin":"%\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.other.quoted.brackets.sql","patterns":[{"include":"#string_interpolation"}]}]}},"scopeName":"source.sql"}')),t=[e];export{t as default};
|