test-action-debian-package/node_modules/luxon/build/global/luxon.min.js
Dawid Dziurla 9308795b8b
update
2020-03-26 15:37:35 +01:00

1 line
68 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var luxon=function(e){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function a(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t,n){return(u=function(){if("undefined"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&s(i,n.prototype),i}).apply(null,arguments)}function t(e){var r="function"==typeof Map?new Map:void 0;return(t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,n)}function n(){return u(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,e)})(e)}var n=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(t(Error)),c=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return a(e,t),e}(n),f=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return a(e,t),e}(n),l=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return a(e,t),e}(n),x=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(n),d=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return a(e,t),e}(n),h=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(n),m=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return a(t,e),t}(n),y="numeric",v="short",g="long",p={year:y,month:y,day:y},w={year:y,month:v,day:y},k={year:y,month:g,day:y},b={year:y,month:g,day:y,weekday:g},O={hour:y,minute:y},S={hour:y,minute:y,second:y},T={hour:y,minute:y,second:y,timeZoneName:v},M={hour:y,minute:y,second:y,timeZoneName:g},N={hour:y,minute:y,hour12:!1},D={hour:y,minute:y,second:y,hour12:!1},E={hour:y,minute:y,second:y,hour12:!1,timeZoneName:v},I={hour:y,minute:y,second:y,hour12:!1,timeZoneName:g},V={year:y,month:y,day:y,hour:y,minute:y},F={year:y,month:y,day:y,hour:y,minute:y,second:y},Z={year:y,month:v,day:y,hour:y,minute:y},C={year:y,month:v,day:y,hour:y,minute:y,second:y},j={year:y,month:v,day:y,weekday:v,hour:y,minute:y},A={year:y,month:g,day:y,hour:y,minute:y,timeZoneName:v},z={year:y,month:g,day:y,hour:y,minute:y,second:y,timeZoneName:v},_={year:y,month:g,day:y,weekday:g,hour:y,minute:y,timeZoneName:g},q={year:y,month:g,day:y,weekday:g,hour:y,minute:y,second:y,timeZoneName:g};function H(e){return void 0===e}function U(e){return"number"==typeof e}function R(e){return"number"==typeof e&&e%1==0}function L(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(e){return!1}}function W(){return!H(Intl.DateTimeFormat.prototype.formatToParts)}function P(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function J(e,r,i){if(0!==e.length)return e.reduce(function(e,t){var n=[r(t),t];return e&&i(e[0],n[0])===e[0]?e:n},null)[1]}function Y(n,e){return e.reduce(function(e,t){return e[t]=n[t],e},{})}function G(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function $(e,t,n){return R(e)&&t<=e&&e<=n}function B(e,t){return void 0===t&&(t=2),e.toString().length<t?("0".repeat(t)+e).slice(-t):e.toString()}function Q(e){return H(e)||null===e||""===e?void 0:parseInt(e,10)}function K(e){if(!H(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function X(e,t,n){void 0===n&&(n=!1);var r=Math.pow(10,t);return(n?Math.trunc:Math.round)(e*r)/r}function ee(e){return e%4==0&&(e%100!=0||e%400==0)}function te(e){return ee(e)?366:365}function ne(e,t){var n,r,i=(n=t-1)-(r=12)*Math.floor(n/r)+1;return 2==i?ee(e+(t-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function re(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&0<=e.year&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function ie(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4==t||3==r?53:52}function ae(e){return 99<e?e:60<e?1900+e:2e3+e}function oe(e,t,n,r){void 0===r&&(r=null);var i=new Date(e),a={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r);var o=Object.assign({timeZoneName:t},a),s=L();if(s&&W()){var u=new Intl.DateTimeFormat(n,o).formatToParts(i).find(function(e){return"timezonename"===e.type.toLowerCase()});return u?u.value:null}if(s){var c=new Intl.DateTimeFormat(n,a).format(i);return new Intl.DateTimeFormat(n,o).format(i).substring(c.length).replace(/^[, \u200e]+/,"")}return null}function se(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function ue(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new h("Invalid unit value "+e);return t}function ce(e,t,n){var r={};for(var i in e)if(G(e,i)){if(0<=n.indexOf(i))continue;var a=e[i];if(null==a)continue;r[t(i)]=ue(a)}return r}function le(e,t){var n=Math.trunc(e/60),r=Math.abs(e%60),i=0<=n&&!Object.is(n,-0)?"+":"-",a=i+Math.abs(n);switch(t){case"short":return i+B(Math.abs(n),2)+":"+B(r,2);case"narrow":return 0<r?a+":"+r:a;case"techie":return i+B(Math.abs(n),2)+B(r,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function fe(e){return Y(e,["hour","minute","second","millisecond"])}var de=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function he(e){return JSON.stringify(e,Object.keys(e).sort())}var me=["January","February","March","April","May","June","July","August","September","October","November","December"],ye=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ve=["J","F","M","A","M","J","J","A","S","O","N","D"];function ge(e){switch(e){case"narrow":return ve;case"short":return ye;case"long":return me;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}}var pe=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],we=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ke=["M","T","W","T","F","S","S"];function be(e){switch(e){case"narrow":return ke;case"short":return we;case"long":return pe;case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Oe=["AM","PM"],Se=["Before Christ","Anno Domini"],Te=["BC","AD"],Me=["B","A"];function Ne(e){switch(e){case"narrow":return Me;case"short":return Te;case"long":return Se;default:return null}}function De(e,t){var n="",r=e,i=Array.isArray(r),a=0;for(r=i?r:r[Symbol.iterator]();;){var o;if(i){if(a>=r.length)break;o=r[a++]}else{if((a=r.next()).done)break;o=a.value}o.literal?n+=o.val:n+=t(o.val)}return n}var Ee={D:p,DD:w,DDD:k,DDDD:b,t:O,tt:S,ttt:T,tttt:M,T:N,TT:D,TTT:E,TTTT:I,f:V,ff:Z,fff:A,ffff:_,F:F,FF:C,FFF:z,FFFF:q},Ie=function(){function h(e,t){this.opts=t,this.loc=e,this.systemLoc=null}h.create=function(e,t){return void 0===t&&(t={}),new h(e,t)},h.parseFormat=function(e){for(var t=null,n="",r=!1,i=[],a=0;a<e.length;a++){var o=e.charAt(a);"'"===o?(0<n.length&&i.push({literal:r,val:n}),t=null,n="",r=!r):r||o===t?n+=o:(0<n.length&&i.push({literal:!1,val:n}),t=n=o)}return 0<n.length&&i.push({literal:r,val:n}),i},h.macroTokenToFormatOpts=function(e){return Ee[e]};var e=h.prototype;return e.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,Object.assign({},this.opts,t)).format()},e.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).format()},e.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).formatToParts()},e.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).resolvedOptions()},e.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return B(e,t);var n=Object.assign({},this.opts);return 0<t&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},e.formatDateTimeFromString=function(r,e){function i(e,t){return l.loc.extract(r,e,t)}function a(e){return r.isOffsetFixed&&0===r.offset&&e.allowZ?"Z":r.isValid?r.zone.formatOffset(r.ts,e.format):""}function o(){return f?Oe[r.hour<12?0:1]:i({hour:"numeric",hour12:!0},"dayperiod")}function s(e,t){return f?(n=r,ge(e)[n.month-1]):i(t?{month:e}:{month:e,day:"numeric"},"month");var n}function u(e,t){return f?(n=r,be(e)[n.weekday-1]):i(t?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday");var n}function c(e){return f?(t=r,Ne(e)[t.year<0?0:1]):i({era:e},"era");var t}var l=this,f="en"===this.loc.listingMode(),d=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&W();return De(h.parseFormat(e),function(e){switch(e){case"S":return l.num(r.millisecond);case"u":case"SSS":return l.num(r.millisecond,3);case"s":return l.num(r.second);case"ss":return l.num(r.second,2);case"m":return l.num(r.minute);case"mm":return l.num(r.minute,2);case"h":return l.num(r.hour%12==0?12:r.hour%12);case"hh":return l.num(r.hour%12==0?12:r.hour%12,2);case"H":return l.num(r.hour);case"HH":return l.num(r.hour,2);case"Z":return a({format:"narrow",allowZ:l.opts.allowZ});case"ZZ":return a({format:"short",allowZ:l.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:l.opts.allowZ});case"ZZZZ":return r.zone.offsetName(r.ts,{format:"short",locale:l.loc.locale});case"ZZZZZ":return r.zone.offsetName(r.ts,{format:"long",locale:l.loc.locale});case"z":return r.zoneName;case"a":return o();case"d":return d?i({day:"numeric"},"day"):l.num(r.day);case"dd":return d?i({day:"2-digit"},"day"):l.num(r.day,2);case"c":return l.num(r.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return l.num(r.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return d?i({month:"numeric",day:"numeric"},"month"):l.num(r.month);case"LL":return d?i({month:"2-digit",day:"numeric"},"month"):l.num(r.month,2);case"LLL":return s("short",!0);case"LLLL":return s("long",!0);case"LLLLL":return s("narrow",!0);case"M":return d?i({month:"numeric"},"month"):l.num(r.month);case"MM":return d?i({month:"2-digit"},"month"):l.num(r.month,2);case"MMM":return s("short",!1);case"MMMM":return s("long",!1);case"MMMMM":return s("narrow",!1);case"y":return d?i({year:"numeric"},"year"):l.num(r.year);case"yy":return d?i({year:"2-digit"},"year"):l.num(r.year.toString().slice(-2),2);case"yyyy":return d?i({year:"numeric"},"year"):l.num(r.year,4);case"yyyyyy":return d?i({year:"numeric"},"year"):l.num(r.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return l.num(r.weekYear.toString().slice(-2),2);case"kkkk":return l.num(r.weekYear,4);case"W":return l.num(r.weekNumber);case"WW":return l.num(r.weekNumber,2);case"o":return l.num(r.ordinal);case"ooo":return l.num(r.ordinal,3);case"q":return l.num(r.quarter);case"qq":return l.num(r.quarter,2);case"X":return l.num(Math.floor(r.ts/1e3));case"x":return l.num(r.ts);default:return(n=h.macroTokenToFormatOpts(t=e))?l.formatWithSystemDefault(r,n):t}var t,n})},e.formatDurationFromString=function(e,t){function n(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}}var r,i=this,a=h.parseFormat(t),o=a.reduce(function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)},[]),s=e.shiftTo.apply(e,o.map(n).filter(function(e){return e}));return De(a,(r=s,function(e){var t=n(e);return t?i.num(r.get(t),e.length):e}))},h}(),Ve=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Le=function(){function e(){}var t=e.prototype;return t.offsetName=function(){throw new m},t.formatOffset=function(){throw new m},t.offset=function(){throw new m},t.equals=function(){throw new m},i(e,[{key:"type",get:function(){throw new m}},{key:"name",get:function(){throw new m}},{key:"universal",get:function(){throw new m}},{key:"isValid",get:function(){throw new m}}]),e}(),xe=null,Fe=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var n=t.prototype;return n.offsetName=function(e,t){return oe(e,t.format,t.locale)},n.formatOffset=function(e,t){return le(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"local"===e.type},i(t,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return L()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===xe&&(xe=new t),xe}}]),t}(Le),Ze=RegExp("^"+de.source+"$"),Ce={};var je={year:0,month:1,day:2,hour:3,minute:4,second:5};var Ae={},ze=function(n){function r(e){var t;return(t=n.call(this)||this).zoneName=e,t.valid=r.isValidZone(e),t}a(r,n),r.create=function(e){return Ae[e]||(Ae[e]=new r(e)),Ae[e]},r.resetCache=function(){Ae={},Ce={}},r.isValidSpecifier=function(e){return!(!e||!e.match(Ze))},r.isValidZone=function(e){try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}},r.parseGMTOffset=function(e){if(e){var t=e.match(/^Etc\/GMT([+-]\d{1,2})$/i);if(t)return-60*parseInt(t[1])}return null};var e=r.prototype;return e.offsetName=function(e,t){return oe(e,t.format,t.locale,this.name)},e.formatOffset=function(e,t){return le(this.offset(e),t)},e.offset=function(e){var t,n,r,i,a,o,s=new Date(e),u=(o=this.name,Ce[o]||(Ce[o]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:o,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ce[o]),c=u.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var a=n[i],o=a.type,s=a.value,u=je[o];H(u)||(r[u]=parseInt(s,10))}return r}(u,s):(t=s,n=u.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),i=r[1],a=r[2],[r[3],i,a,r[4],r[5],r[6]]),l=c[0],f=c[1],d=c[2],h=c[3],m=+s,y=m%1e3;return(re({year:l,month:f,day:d,hour:24===h?0:h,minute:c[4],second:c[5],millisecond:0})-(m-=0<=y?y:1e3+y))/6e4},e.equals=function(e){return"iana"===e.type&&e.name===this.name},i(r,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),r}(Le),_e=null,qe=function(n){function r(e){var t;return(t=n.call(this)||this).fixed=e,t}a(r,n),r.instance=function(e){return 0===e?r.utcInstance:new r(e)},r.parseSpecifier=function(e){if(e){var t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new r(se(t[1],t[2]))}return null},i(r,null,[{key:"utcInstance",get:function(){return null===_e&&(_e=new r(0)),_e}}]);var e=r.prototype;return e.offsetName=function(){return this.name},e.formatOffset=function(e,t){return le(this.fixed,t)},e.offset=function(){return this.fixed},e.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},i(r,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+le(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),r}(Le),He=function(n){function e(e){var t;return(t=n.call(this)||this).zoneName=e,t}a(e,n);var t=e.prototype;return t.offsetName=function(){return null},t.formatOffset=function(){return""},t.offset=function(){return NaN},t.equals=function(){return!1},i(e,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),e}(Le);function Ue(e,t){var n;if(H(e)||null===e)return t;if(e instanceof Le)return e;if("string"!=typeof e)return U(e)?qe.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new He(e);var r=e.toLowerCase();return"local"===r?t:"utc"===r||"gmt"===r?qe.utcInstance:null!=(n=ze.parseGMTOffset(e))?qe.instance(n):ze.isValidSpecifier(r)?ze.create(e):qe.parseSpecifier(r)||new He(e)}var Re=function(){return Date.now()},We=null,Pe=null,Je=null,Ye=null,Ge=!1,$e=function(){function e(){}return e.resetCaches=function(){ot.resetCache(),ze.resetCache()},i(e,null,[{key:"now",get:function(){return Re},set:function(e){Re=e}},{key:"defaultZoneName",get:function(){return e.defaultZone.name},set:function(e){We=e?Ue(e):null}},{key:"defaultZone",get:function(){return We||Fe.instance}},{key:"defaultLocale",get:function(){return Pe},set:function(e){Pe=e}},{key:"defaultNumberingSystem",get:function(){return Je},set:function(e){Je=e}},{key:"defaultOutputCalendar",get:function(){return Ye},set:function(e){Ye=e}},{key:"throwOnInvalid",get:function(){return Ge},set:function(e){Ge=e}}]),e}(),Be={};function Qe(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=Be[n];return r||(r=new Intl.DateTimeFormat(e,t),Be[n]=r),r}var Ke={};var Xe={};function et(e,t){void 0===t&&(t={});t.base;var n=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(i[n]=e[n]);return i}(t,["base"]),r=JSON.stringify([e,n]),i=Xe[r];return i||(i=new Intl.RelativeTimeFormat(e,t),Xe[r]=i),i}var tt=null;function nt(e,t,n,r,i){var a=e.listingMode(n);return"error"===a?null:("en"===a?r:i)(t)}var rt=function(){function e(e,t,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!t&&L()){var r={useGrouping:!1};0<n.padTo&&(r.minimumIntegerDigits=n.padTo),this.inf=function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=Ke[n];return r||(r=new Intl.NumberFormat(e,t),Ke[n]=r),r}(e,r)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return B(this.floor?Math.floor(e):X(e,3),this.padTo)},e}(),it=function(){function e(e,t,n){var r;if(this.opts=n,this.hasIntl=L(),e.zone.universal&&this.hasIntl?(r="UTC",n.timeZoneName?this.dt=e:this.dt=0===e.offset?e:ar.fromMillis(e.ts+60*e.offset*1e3)):"local"===e.zone.type?this.dt=e:r=(this.dt=e).zone.name,this.hasIntl){var i=Object.assign({},this.opts);r&&(i.timeZone=r),this.dtf=Qe(t,i)}}var t=e.prototype;return t.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var e=function(e){var t="EEEE, LLLL d, yyyy, h:mm a";switch(he(Y(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case he(p):return"M/d/yyyy";case he(w):return"LLL d, yyyy";case he(k):return"LLLL d, yyyy";case he(b):return"EEEE, LLLL d, yyyy";case he(O):return"h:mm a";case he(S):return"h:mm:ss a";case he(T):case he(M):return"h:mm a";case he(N):return"HH:mm";case he(D):return"HH:mm:ss";case he(E):case he(I):return"HH:mm";case he(V):return"M/d/yyyy, h:mm a";case he(Z):return"LLL d, yyyy, h:mm a";case he(A):return"LLLL d, yyyy, h:mm a";case he(_):return t;case he(F):return"M/d/yyyy, h:mm:ss a";case he(C):return"LLL d, yyyy, h:mm:ss a";case he(j):return"EEE, d LLL yyyy, h:mm a";case he(z):return"LLLL d, yyyy, h:mm:ss a";case he(q):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return t}}(this.opts),t=ot.create("en-US");return Ie.create(t).formatDateTimeFromString(this.dt,e)},t.formatToParts=function(){return this.hasIntl&&W()?this.dtf.formatToParts(this.dt.toJSDate()):[]},t.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},e}(),at=function(){function e(e,t,n){this.opts=Object.assign({style:"long"},n),!t&&P()&&(this.rtf=et(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var 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=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&a){var o="days"===e;switch(t){case 1:return o?"tomorrow":"next "+i[e][0];case-1:return o?"yesterday":"last "+i[e][0];case 0:return o?"today":"this "+i[e][0]}}var s=Object.is(t,-0)||t<0,u=Math.abs(t),c=1===u,l=i[e],f=r?!c&&l[2]||l[1]:c?i[e][0]:e;return s?u+" "+f+" ago":"in "+u+" "+f}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),ot=function(){function a(e,t,n,r){var i,a,o,s=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var n,r=e.substring(0,t);try{n=Qe(e).resolvedOptions()}catch(e){n=Qe(r).resolvedOptions()}return[r,n.numberingSystem,n.calendar]}(e),u=s[0],c=s[1],l=s[2];this.locale=u,this.numberingSystem=t||c||null,this.outputCalendar=n||l||null,this.intl=(i=this.locale,a=this.numberingSystem,o=this.outputCalendar,L()?((o||a)&&(i+="-u",o&&(i+="-ca-"+o),a&&(i+="-nu-"+a)),i):[]),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}a.fromOpts=function(e){return a.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)},a.create=function(e,t,n,r){void 0===r&&(r=!1);var i=e||$e.defaultLocale;return new a(i||(r?"en-US":function(){if(tt)return tt;if(L()){var e=(new Intl.DateTimeFormat).resolvedOptions().locale;return tt=e&&"und"!==e?e:"en-US"}return tt="en-US"}()),t||$e.defaultNumberingSystem,n||$e.defaultOutputCalendar,i)},a.resetCache=function(){tt=null,Be={},Ke={},Xe={}},a.fromObject=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.outputCalendar;return a.create(n,r,i)};var e=a.prototype;return e.listingMode=function(e){void 0===e&&(e=!0);var t=L()&&W(),n=this.isEnglish(),r=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t||n&&r||e?!t||n&&r?"en":"intl":"error"},e.clone=function(e){return e&&0!==Object.getOwnPropertyNames(e).length?a.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this},e.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!0}))},e.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!1}))},e.months=function(n,r,e){var i=this;return void 0===r&&(r=!1),void 0===e&&(e=!0),nt(this,n,e,ge,function(){var t=r?{month:n,day:"numeric"}:{month:n},e=r?"format":"standalone";return i.monthsCache[e][n]||(i.monthsCache[e][n]=function(e){for(var t=[],n=1;n<=12;n++){var r=ar.utc(2016,n,1);t.push(e(r))}return t}(function(e){return i.extract(e,t,"month")})),i.monthsCache[e][n]})},e.weekdays=function(n,r,e){var i=this;return void 0===r&&(r=!1),void 0===e&&(e=!0),nt(this,n,e,be,function(){var t=r?{weekday:n,year:"numeric",month:"long",day:"numeric"}:{weekday:n},e=r?"format":"standalone";return i.weekdaysCache[e][n]||(i.weekdaysCache[e][n]=function(e){for(var t=[],n=1;n<=7;n++){var r=ar.utc(2016,11,13+n);t.push(e(r))}return t}(function(e){return i.extract(e,t,"weekday")})),i.weekdaysCache[e][n]})},e.meridiems=function(e){var n=this;return void 0===e&&(e=!0),nt(this,void 0,e,function(){return Oe},function(){if(!n.meridiemCache){var t={hour:"numeric",hour12:!0};n.meridiemCache=[ar.utc(2016,11,13,9),ar.utc(2016,11,13,19)].map(function(e){return n.extract(e,t,"dayperiod")})}return n.meridiemCache})},e.eras=function(e,t){var n=this;return void 0===t&&(t=!0),nt(this,e,t,Ne,function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[ar.utc(-40,1,1),ar.utc(2017,1,1)].map(function(e){return n.extract(e,t,"era")})),n.eraCache[e]})},e.extract=function(e,t,n){var r=this.dtFormatter(e,t).formatToParts().find(function(e){return e.type.toLowerCase()===n});return r?r.value:null},e.numberFormatter=function(e){return void 0===e&&(e={}),new rt(this.intl,e.forceSimple||this.fastNumbers,e)},e.dtFormatter=function(e,t){return void 0===t&&(t={}),new it(e,this.intl,t)},e.relFormatter=function(e){return void 0===e&&(e={}),new at(this.intl,this.isEnglish(),e)},e.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||L()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},e.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},i(a,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||L()&&"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),a}();function st(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce(function(e,t){return e+t.source},"");return RegExp("^"+r+"$")}function ut(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(c){return t.reduce(function(e,t){var n=e[0],r=e[1],i=e[2],a=t(c,i),o=a[0],s=a[1],u=a[2];return[Object.assign(n,o),r||s,u]},[{},null,1]).slice(0,2)}}function ct(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,a=n;i<a.length;i++){var o=a[i],s=o[0],u=o[1],c=s.exec(e);if(c)return u(c)}return[null,null]}function lt(){for(var e=arguments.length,i=new Array(e),t=0;t<e;t++)i[t]=arguments[t];return function(e,t){var n,r={};for(n=0;n<i.length;n++)r[i[n]]=Q(e[t+n]);return[r,null,t+n]}}var ft=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,dt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,9}))?)?)?/,ht=RegExp(""+dt.source+ft.source+"?"),mt=RegExp("(?:T"+ht.source+")?"),yt=lt("weekYear","weekNumber","weekDay"),vt=lt("year","ordinal"),gt=RegExp(dt.source+" ?(?:"+ft.source+"|("+de.source+"))?"),pt=RegExp("(?: "+gt.source+")?");function wt(e,t,n){var r=e[t];return H(r)?n:Q(r)}function kt(e,t){return[{year:wt(e,t),month:wt(e,t+1,1),day:wt(e,t+2,1)},null,t+3]}function bt(e,t){return[{hour:wt(e,t,0),minute:wt(e,t+1,0),second:wt(e,t+2,0),millisecond:K(e[t+3])},null,t+4]}function Ot(e,t){var n=!e[t]&&!e[t+1],r=se(e[t+1],e[t+2]);return[{},n?null:qe.instance(r),t+3]}function St(e,t){return[{},e[t]?ze.create(e[t]):null,t+1]}var Tt=/^P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Mt(e){var t=e[1],n=e[2],r=e[3],i=e[4],a=e[5],o=e[6],s=e[7],u=e[8];return[{years:Q(t),months:Q(n),weeks:Q(r),days:Q(i),hours:Q(a),minutes:Q(o),seconds:Q(s),milliseconds:K(u)}]}var Nt={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e,t,n,r,i,a,o){var s={year:2===t.length?ae(Q(t)):Q(t),month:ye.indexOf(n)+1,day:Q(r),hour:Q(i),minute:Q(a)};return o&&(s.second=Q(o)),e&&(s.weekday=3<e.length?pe.indexOf(e)+1:we.indexOf(e)+1),s}var Et=/^(?:(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 It(e){var t,n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],u=e[7],c=e[8],l=e[9],f=e[10],d=e[11],h=Dt(n,a,i,r,o,s,u);return t=c?Nt[c]:l?0:se(f,d),[h,new qe(t)]}var Vt=/^(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$/,Lt=/^(Monday|Tuesday|Wedsday|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$/,xt=/^(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 Ft(e){var t=e[1],n=e[2],r=e[3];return[Dt(t,e[4],r,n,e[5],e[6],e[7]),qe.utcInstance]}function Zt(e){var t=e[1],n=e[2],r=e[3],i=e[4],a=e[5],o=e[6];return[Dt(t,e[7],n,r,i,a,o),qe.utcInstance]}var Ct=st(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,mt),jt=st(/(\d{4})-?W(\d\d)(?:-?(\d))?/,mt),At=st(/(\d{4})-?(\d{3})/,mt),zt=st(ht),_t=ut(kt,bt,Ot),qt=ut(yt,bt,Ot),Ht=ut(vt,bt),Ut=ut(bt,Ot);var Rt=st(/(\d{4})-(\d\d)-(\d\d)/,pt),Wt=st(gt),Pt=ut(kt,bt,Ot,St),Jt=ut(bt,Ot,St);var Yt={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Gt=Object.assign({years:{months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},Yt),$t=365.2425,Bt=30.436875,Qt=Object.assign({years:{months:12,weeks:$t/7,days:$t,hours:24*$t,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:$t/28,days:$t/4,hours:24*$t/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:Bt/7,days:Bt,hours:24*Bt,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},Yt),Kt=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Xt=Kt.slice(0).reverse();function en(e,t,n){void 0===n&&(n=!1);var r={values:n?t.values:Object.assign({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new rn(r)}function tn(e,t,n,r,i){var a,o=e[i][n],s=t[n]/o,u=!(Math.sign(s)===Math.sign(r[i]))&&0!==r[i]&&Math.abs(s)<=1?(a=s)<0?Math.floor(a):Math.ceil(a):Math.trunc(s);r[i]+=u,t[n]-=u*o}function nn(n,r){Xt.reduce(function(e,t){return H(r[t])?e:(e&&tn(n,r,e,r,t),t)},null)}var rn=function(){function g(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||ot.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?Qt:Gt,this.isLuxonDuration=!0}g.fromMillis=function(e,t){return g.fromObject(Object.assign({milliseconds:e},t))},g.fromObject=function(e){if(null==e||"object"!=typeof e)throw new h("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new g({values:ce(e,g.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:ot.fromObject(e),conversionAccuracy:e.conversionAccuracy})},g.fromISO=function(e,t){var n=ct(e,[Tt,Mt])[0];if(n){var r=Object.assign(n,t);return g.fromObject(r)}return g.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},g.invalid=function(e,t){if(void 0===t&&(t=null),!e)throw new h("need to specify a reason the Duration is invalid");var n=e instanceof Ve?e:new Ve(e,t);if($e.throwOnInvalid)throw new l(n);return new g({invalid:n})},g.normalizeUnit=function(e){var t={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"}[e?e.toLowerCase():e];if(!t)throw new d(e);return t},g.isDuration=function(e){return e&&e.isLuxonDuration||!1};var e=g.prototype;return e.toFormat=function(e,t){void 0===t&&(t={});var n=Object.assign({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?Ie.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"},e.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.values);return e.includeConfig&&(t.conversionAccuracy=this.conversionAccuracy,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},e.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=X(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.valueOf=function(){return this.as("milliseconds")},e.plus=function(e){if(!this.isValid)return this;var t=an(e),n={},r=Kt,i=Array.isArray(r),a=0;for(r=i?r:r[Symbol.iterator]();;){var o;if(i){if(a>=r.length)break;o=r[a++]}else{if((a=r.next()).done)break;o=a.value}var s=o;(G(t.values,s)||G(this.values,s))&&(n[s]=t.get(s)+this.get(s))}return en(this,{values:n},!0)},e.minus=function(e){if(!this.isValid)return this;var t=an(e);return this.plus(t.negate())},e.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];t[i]=ue(e(this.values[i],i))}return en(this,{values:t},!0)},e.get=function(e){return this[g.normalizeUnit(e)]},e.set=function(e){return this.isValid?en(this,{values:Object.assign(this.values,ce(e,g.normalizeUnit,[]))}):this},e.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.conversionAccuracy,a={loc:this.loc.clone({locale:n,numberingSystem:r})};return i&&(a.conversionAccuracy=i),en(this,a)},e.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},e.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return nn(this.matrix,e),en(this,{values:e},!0)},e.shiftTo=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!this.isValid)return this;if(0===t.length)return this;t=t.map(function(e){return g.normalizeUnit(e)});var r,i={},a={},o=this.toObject();nn(this.matrix,o);var s=Kt,u=Array.isArray(s),c=0;for(s=u?s:s[Symbol.iterator]();;){var l;if(u){if(c>=s.length)break;l=s[c++]}else{if((c=s.next()).done)break;l=c.value}var f=l;if(0<=t.indexOf(f)){r=f;var d=0;for(var h in a)d+=this.matrix[h][f]*a[h],a[h]=0;U(o[f])&&(d+=o[f]);var m=Math.trunc(d);for(var y in i[f]=m,a[f]=d-m,o)Kt.indexOf(y)>Kt.indexOf(f)&&tn(this.matrix,o,y,i,f)}else U(o[f])&&(a[f]=o[f])}for(var v in a)0!==a[v]&&(i[r]+=v===r?a[v]:a[v]/this.matrix[r][v]);return en(this,{values:i},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=-this.values[r]}return en(this,{values:e},!0)},e.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;var t=Kt,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if((r=t.next()).done)break;i=r.value}if(this.values[i]!==e.values[i])return!1}return!0},i(g,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),g}();function an(e){if(U(e))return rn.fromMillis(e);if(rn.isDuration(e))return e;if("object"==typeof e)return rn.fromObject(e);throw new h("Unknown duration argument "+e+" of type "+typeof e)}var on="Invalid Interval";var sn=function(){function l(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}l.invalid=function(e,t){if(void 0===t&&(t=null),!e)throw new h("need to specify a reason the Interval is invalid");var n=e instanceof Ve?e:new Ve(e,t);if($e.throwOnInvalid)throw new f(n);return new l({invalid:n})},l.fromDateTimes=function(e,t){var n,r,i=or(e),a=or(t),o=(r=a,(n=i)&&n.isValid?r&&r.isValid?r<n?sn.invalid("end before start","The end of an interval must be after its start, but you had start="+n.toISO()+" and end="+r.toISO()):null:sn.invalid("missing or invalid end"):sn.invalid("missing or invalid start"));return null==o?new l({start:i,end:a}):o},l.after=function(e,t){var n=an(t),r=or(e);return l.fromDateTimes(r,r.plus(n))},l.before=function(e,t){var n=an(t),r=or(e);return l.fromDateTimes(r.minus(n),r)},l.fromISO=function(e,t){var n=(e||"").split("/",2),r=n[0],i=n[1];if(r&&i){var a=ar.fromISO(r,t),o=ar.fromISO(i,t);if(a.isValid&&o.isValid)return l.fromDateTimes(a,o);if(a.isValid){var s=rn.fromISO(i,t);if(s.isValid)return l.after(a,s)}else if(o.isValid){var u=rn.fromISO(r,t);if(u.isValid)return l.before(o,u)}}return l.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},l.isInterval=function(e){return e&&e.isLuxonInterval||!1};var e=l.prototype;return e.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},e.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+1},e.hasSame=function(e){return!!this.isValid&&this.e.minus(1).hasSame(this.s,e)},e.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},e.isAfter=function(e){return!!this.isValid&&this.s>e},e.isBefore=function(e){return!!this.isValid&&this.e<=e},e.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},e.set=function(e){var t=void 0===e?{}:e,n=t.start,r=t.end;return this.isValid?l.fromDateTimes(n||this.s,r||this.e):this},e.splitAt=function(){var t=this;if(!this.isValid)return[];for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var i=n.map(or).filter(function(e){return t.contains(e)}).sort(),a=[],o=this.s,s=0;o<this.e;){var u=i[s]||this.e,c=+u>+this.e?this.e:u;a.push(l.fromDateTimes(o,c)),o=c,s+=1}return a},e.splitBy=function(e){var t=an(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];for(var n,r,i=this.s,a=[];i<this.e;)r=+(n=i.plus(t))>+this.e?this.e:n,a.push(l.fromDateTimes(i,r)),i=r;return a},e.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},e.overlaps=function(e){return this.e>e.s&&this.s<e.e},e.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},e.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},e.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},e.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},e.intersection=function(e){if(!this.isValid)return this;var t=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return n<t?null:l.fromDateTimes(t,n)},e.union=function(e){if(!this.isValid)return this;var t=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return l.fromDateTimes(t,n)},l.merge=function(e){var t=e.sort(function(e,t){return e.s-t.s}).reduce(function(e,t){var n=e[0],r=e[1];return r?r.overlaps(t)||r.abutsStart(t)?[n,r.union(t)]:[n.concat([r]),t]:[n,t]},[[],null]),n=t[0],r=t[1];return r&&n.push(r),n},l.xor=function(e){var t,n=null,r=0,i=[],a=e.map(function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]}),o=(t=Array.prototype).concat.apply(t,a).sort(function(e,t){return e.time-t.time}),s=Array.isArray(o),u=0;for(o=s?o:o[Symbol.iterator]();;){var c;if(s){if(u>=o.length)break;c=o[u++]}else{if((u=o.next()).done)break;c=u.value}n=1===(r+="s"===c.type?1:-1)?c.time:(n&&+n!=+c.time&&i.push(l.fromDateTimes(n,c.time)),null)}return l.merge(i)},e.difference=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return l.xor([this].concat(n)).map(function(e){return t.intersection(e)}).filter(function(e){return e&&!e.isEmpty()})},e.toString=function(){return this.isValid?"["+this.s.toISO()+" "+this.e.toISO()+")":on},e.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):on},e.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():on},e.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):on},e.toFormat=function(e,t){var n=(void 0===t?{}:t).separator,r=void 0===n?" ":n;return this.isValid?""+this.s.toFormat(e)+r+this.e.toFormat(e):on},e.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):rn.invalid(this.invalidReason)},e.mapEndpoints=function(e){return l.fromDateTimes(e(this.s),e(this.e))},i(l,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),l}(),un=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=$e.defaultZone);var t=ar.local().setZone(e).set({month:12});return!e.universal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return ze.isValidSpecifier(e)&&ze.isValidZone(e)},e.normalizeZone=function(e){return Ue(e,$e.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.outputCalendar,u=void 0===s?"gregory":s;return ot.create(i,o,u).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.outputCalendar,u=void 0===s?"gregory":s;return ot.create(i,o,u).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a;return ot.create(i,o,null).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a;return ot.create(i,o,null).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,n=void 0===t?null:t;return ot.create(n).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var n=(void 0===t?{}:t).locale,r=void 0===n?null:n;return ot.create(r,null,"gregory").eras(e)},e.features=function(){var e=!1,t=!1,n=!1,r=!1;if(L()){e=!0,t=W(),r=P();try{n="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(e){n=!1}}return{intl:e,intlTokens:t,zones:n,relative:r}},e}();function cn(e,t){function n(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()}var r=n(t)-n(e);return Math.floor(rn.fromMillis(r).as("days"))}function ln(e,t,n,r){var i=function(e,t,n){for(var r,i,a={},o=0,s=[["years",function(e,t){return t.year-e.year}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=cn(e,t);return(n-n%7)/7}],["days",cn]];o<s.length;o++){var u=s[o],c=u[0],l=u[1];if(0<=n.indexOf(c)){var f;r=c;var d,h=l(e,t);if(t<(i=e.plus(((f={})[c]=h,f))))e=e.plus(((d={})[c]=h-1,d)),--h;else e=i;a[c]=h}}return[e,a,i,r]}(e,t,n),a=i[0],o=i[1],s=i[2],u=i[3],c=t-a,l=n.filter(function(e){return 0<=["hours","minutes","seconds","milliseconds"].indexOf(e)});if(0===l.length){var f;if(s<t)s=a.plus(((f={})[u]=1,f));s!==a&&(o[u]=(o[u]||0)+c/(s-a))}var d,h=rn.fromObject(Object.assign(o,r));return 0<l.length?(d=rn.fromMillis(c,r)).shiftTo.apply(d,l).plus(h):h}var fn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},dn={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]},hn=fn.hanidec.replace(/[\[|\]]/g,"").split("");function mn(e,t){var n=e.numberingSystem;return void 0===t&&(t=""),new RegExp(""+fn[n||"latn"]+t)}var yn="missing Intl.DateTimeFormat.formatToParts support";function vn(e,n){return void 0===n&&(n=function(e){return e}),{regex:e,deser:function(e){var t=e[0];return n(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(-1!==e[n].search(fn.hanidec))t+=hn.indexOf(e[n]);else for(var i in dn){var a=dn[i],o=a[0],s=a[1];o<=r&&r<=s&&(t+=r-o)}}return parseInt(t,10)}return t}(t))}}}function gn(e){return e.replace(/\./,"\\.?")}function pn(e){return e.replace(/\./,"").toLowerCase()}function wn(n,r){return null===n?null:{regex:RegExp(n.map(gn).join("|")),deser:function(e){var t=e[0];return n.findIndex(function(e){return pn(t)===pn(e)})+r}}}function kn(e,t){return{regex:e,deser:function(e){return se(e[1],e[2])},groups:t}}function bn(e){return{regex:e,deser:function(e){return e[0]}}}function On(t,n){function r(e){return{regex:RegExp(e.val.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")),deser:function(e){return e[0]},literal:!0}}var i=mn(n),a=mn(n,"{2}"),o=mn(n,"{3}"),s=mn(n,"{4}"),u=mn(n,"{6}"),c=mn(n,"{1,2}"),l=mn(n,"{1,3}"),f=mn(n,"{1,6}"),d=mn(n,"{1,9}"),h=mn(n,"{2,4}"),m=mn(n,"{4,6}"),e=function(e){if(t.literal)return r(e);switch(e.val){case"G":return wn(n.eras("short",!1),0);case"GG":return wn(n.eras("long",!1),0);case"y":return vn(f);case"yy":return vn(h,ae);case"yyyy":return vn(s);case"yyyyy":return vn(m);case"yyyyyy":return vn(u);case"M":return vn(c);case"MM":return vn(a);case"MMM":return wn(n.months("short",!0,!1),1);case"MMMM":return wn(n.months("long",!0,!1),1);case"L":return vn(c);case"LL":return vn(a);case"LLL":return wn(n.months("short",!1,!1),1);case"LLLL":return wn(n.months("long",!1,!1),1);case"d":return vn(c);case"dd":return vn(a);case"o":return vn(l);case"ooo":return vn(o);case"HH":return vn(a);case"H":return vn(c);case"hh":return vn(a);case"h":return vn(c);case"mm":return vn(a);case"m":case"q":return vn(c);case"qq":return vn(a);case"s":return vn(c);case"ss":return vn(a);case"S":return vn(l);case"SSS":return vn(o);case"u":return bn(d);case"a":return wn(n.meridiems(),0);case"kkkk":return vn(s);case"kk":return vn(h,ae);case"W":return vn(c);case"WW":return vn(a);case"E":case"c":return vn(i);case"EEE":return wn(n.weekdays("short",!1,!1),1);case"EEEE":return wn(n.weekdays("long",!1,!1),1);case"ccc":return wn(n.weekdays("short",!0,!1),1);case"cccc":return wn(n.weekdays("long",!0,!1),1);case"Z":case"ZZ":return kn(new RegExp("([+-]"+c.source+")(?::("+a.source+"))?"),2);case"ZZZ":return kn(new RegExp("([+-]"+c.source+")("+a.source+")?"),2);case"z":return bn(/[a-z_+-/]{1,256}?/i);default:return r(e)}}(t)||{invalidReason:yn};return e.token=t,e}var Sn={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",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var Tn=null;function Mn(e,t){if(e.literal)return e;var n=Ie.macroTokenToFormatOpts(e.val);if(!n)return e;var r=Ie.create(t,n).formatDateTimeParts(Tn=Tn||ar.fromMillis(1555555555555)).map(function(e){return function(e,t){var n=e.type,r=e.value;if("literal"===n)return{literal:!0,val:r};var i=t[n],a=Sn[n];return"object"==typeof a&&(a=a[i]),a?{literal:!1,val:a}:void 0}(e,n)});return r.includes(void 0)?e:r}function Nn(t,e,n){var r,i,a,o=(r=Ie.parseFormat(n),i=t,(a=Array.prototype).concat.apply(a,r.map(function(e){return Mn(e,i)}))),s=o.map(function(e){return On(e,t)}),u=s.find(function(e){return e.invalidReason});if(u)return{input:e,tokens:o,invalidReason:u.invalidReason};var c,l,f,d=["^"+(f=s).map(function(e){return e.regex}).reduce(function(e,t){return e+"("+t.source+")"},"")+"$",f],h=d[1],m=RegExp(d[0],"i"),y=function(e,t,n){var r=e.match(t);if(r){var i={},a=1;for(var o in n)if(G(n,o)){var s=n[o],u=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(r.slice(a,a+u))),a+=u}return[r,i]}return[r,{}]}(e,m,h),v=y[0],g=y[1],p=g?(l=H((c=g).Z)?H(c.z)?null:ze.create(c.z):new qe(c.Z),H(c.q)||(c.M=3*(c.q-1)+1),H(c.h)||(c.h<12&&1===c.a?c.h+=12:12===c.h&&0===c.a&&(c.h=0)),0===c.G&&c.y&&(c.y=-c.y),H(c.u)||(c.S=K(c.u)),[Object.keys(c).reduce(function(e,t){var n=function(e){switch(e){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}}(t);return n&&(e[n]=c[t]),e},{}),l]):[null,null],w=p[0],k=p[1];if(G(g,"a")&&G(g,"H"))throw new x("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:o,regex:m,rawMatches:v,matches:g,result:w,zone:k}}var Dn=[0,31,59,90,120,151,181,212,243,273,304,334],En=[0,31,60,91,121,152,182,213,244,274,305,335];function In(e,t){return new Ve("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function Vn(e,t,n){var r=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===r?7:r}function Ln(e,t,n){return n+(ee(e)?En:Dn)[t-1]}function xn(e,t){var n=ee(e)?En:Dn,r=n.findIndex(function(e){return e<t});return{month:r+1,day:t-n[r]}}function Fn(e){var t,n=e.year,r=e.month,i=e.day,a=Ln(n,r,i),o=Vn(n,r,i),s=Math.floor((a-o+10)/7);return s<1?s=ie(t=n-1):s>ie(n)?(t=n+1,s=1):t=n,Object.assign({weekYear:t,weekNumber:s,weekday:o},fe(e))}function Zn(e){var t,n=e.weekYear,r=e.weekNumber,i=e.weekday,a=Vn(n,1,4),o=te(n),s=7*r+i-a-3;s<1?s+=te(t=n-1):o<s?(t=n+1,s-=te(n)):t=n;var u=xn(t,s),c=u.month,l=u.day;return Object.assign({year:t,month:c,day:l},fe(e))}function Cn(e){var t=e.year,n=Ln(t,e.month,e.day);return Object.assign({year:t,ordinal:n},fe(e))}function jn(e){var t=e.year,n=xn(t,e.ordinal),r=n.month,i=n.day;return Object.assign({year:t,month:r,day:i},fe(e))}function An(e){var t=R(e.year),n=$(e.month,1,12),r=$(e.day,1,ne(e.year,e.month));return t?n?!r&&In("day",e.day):In("month",e.month):In("year",e.year)}function zn(e){var t=e.hour,n=e.minute,r=e.second,i=e.millisecond,a=$(t,0,23)||24===t&&0===n&&0===r&&0===i,o=$(n,0,59),s=$(r,0,59),u=$(i,0,999);return a?o?s?!u&&In("millisecond",i):In("second",r):In("minute",n):In("hour",t)}var _n="Invalid DateTime";function qn(e){return new Ve("unsupported zone",'the zone "'+e.name+'" is not supported')}function Hn(e){return null===e.weekData&&(e.weekData=Fn(e.c)),e.weekData}function Un(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new ar(Object.assign({},n,t,{old:n}))}function Rn(e,t,n){var r=e-60*t*1e3,i=n.offset(r);if(t===i)return[r,t];r-=60*(i-t)*1e3;var a=n.offset(r);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}function Wn(e,t){e+=60*t*1e3;var 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 Pn(e,t,n){return Rn(re(e),t,n)}function Jn(e,t){var n=Object.keys(t.values);-1===n.indexOf("milliseconds")&&n.push("milliseconds"),t=t.shiftTo.apply(t,n);var r=e.o,i=e.c.year+t.years,a=e.c.month+t.months+3*t.quarters,o=Object.assign({},e.c,{year:i,month:a,day:Math.min(e.c.day,ne(i,a))+t.days+7*t.weeks}),s=rn.fromObject({hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),u=Rn(re(o),r,e.zone),c=u[0],l=u[1];return 0!==s&&(c+=s,l=e.zone.offset(c)),{ts:c,o:l}}function Yn(e,t,n,r,i){var a=n.setZone,o=n.zone;if(e&&0!==Object.keys(e).length){var s=t||o,u=ar.fromObject(Object.assign(e,n,{zone:s,setZone:void 0}));return a?u:u.setZone(o)}return ar.invalid(new Ve("unparsable",'the input "'+i+"\" can't be parsed as "+r))}function Gn(e,t,n){return void 0===n&&(n=!0),e.isValid?Ie.create(ot.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function $n(e,t){var n=t.suppressSeconds,r=void 0!==n&&n,i=t.suppressMilliseconds,a=void 0!==i&&i,o=t.includeOffset,s=t.includeZone,u=void 0!==s&&s,c=t.spaceZone,l=void 0!==c&&c,f=t.format,d=void 0===f?"extended":f,h="basic"===d?"HHmm":"HH:mm";return r&&0===e.second&&0===e.millisecond||(h+="basic"===d?"ss":":ss",a&&0===e.millisecond||(h+=".SSS")),(u||o)&&l&&(h+=" "),u?h+="z":o&&(h+="basic"===d?"ZZZ":"ZZ"),Gn(e,h)}var Bn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Qn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Kn={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Xn=["year","month","day","hour","minute","second","millisecond"],er=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],tr=["year","ordinal","hour","minute","second","millisecond"];function nr(e){var 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 d(e);return t}function rr(e,t){var n=Xn,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(i>=n.length)break;a=n[i++]}else{if((i=n.next()).done)break;a=i.value}H(e[a])&&(e[a]=Bn[a])}var o=An(e)||zn(e);if(o)return ar.invalid(o);var s=$e.now(),u=Pn(e,t.offset(s),t),c=u[0],l=u[1];return new ar({ts:c,zone:t,o:l})}function ir(t,n,r){function e(e,t){return e=X(e,a||r.calendary?0:2,!0),n.loc.clone(r).relFormatter(r).format(e,t)}function i(e){return r.calendary?n.hasSame(t,e)?0:n.startOf(e).diff(t.startOf(e),e).get(e):n.diff(t,e).get(e)}var a=!!H(r.round)||r.round;if(r.unit)return e(i(r.unit),r.unit);var o=r.units,s=Array.isArray(o),u=0;for(o=s?o:o[Symbol.iterator]();;){var c;if(s){if(u>=o.length)break;c=o[u++]}else{if((u=o.next()).done)break;c=u.value}var l=c,f=i(l);if(1<=Math.abs(f))return e(f,l)}return e(0,r.units[r.units.length-1])}var ar=function(){function L(e){var t=e.zone||$e.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new Ve("invalid input"):null)||(t.isValid?null:qn(t));this.ts=H(e.ts)?$e.now():e.ts;var r=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var a=[e.old.c,e.old.o];r=a[0],i=a[1]}else{var o=t.offset(this.ts);r=Wn(this.ts,o),r=(n=Number.isNaN(r.year)?new Ve("invalid input"):null)?null:r,i=n?null:o}this._zone=t,this.loc=e.loc||ot.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}L.local=function(e,t,n,r,i,a,o){return H(e)?new L({ts:$e.now()}):rr({year:e,month:t,day:n,hour:r,minute:i,second:a,millisecond:o},$e.defaultZone)},L.utc=function(e,t,n,r,i,a,o){return H(e)?new L({ts:$e.now(),zone:qe.utcInstance}):rr({year:e,month:t,day:n,hour:r,minute:i,second:a,millisecond:o},qe.utcInstance)},L.fromJSDate=function(e,t){void 0===t&&(t={});var n,r=(n=e,"[object Date]"===Object.prototype.toString.call(n)?e.valueOf():NaN);if(Number.isNaN(r))return L.invalid("invalid input");var i=Ue(t.zone,$e.defaultZone);return i.isValid?new L({ts:r,zone:i,loc:ot.fromObject(t)}):L.invalid(qn(i))},L.fromMillis=function(e,t){if(void 0===t&&(t={}),U(e))return e<-864e13||864e13<e?L.invalid("Timestamp out of range"):new L({ts:e,zone:Ue(t.zone,$e.defaultZone),loc:ot.fromObject(t)});throw new h("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},L.fromSeconds=function(e,t){if(void 0===t&&(t={}),U(e))return new L({ts:1e3*e,zone:Ue(t.zone,$e.defaultZone),loc:ot.fromObject(t)});throw new h("fromSeconds requires a numerical input")},L.fromObject=function(e){var t=Ue(e.zone,$e.defaultZone);if(!t.isValid)return L.invalid(qn(t));var n=$e.now(),r=t.offset(n),i=ce(e,nr,["zone","locale","outputCalendar","numberingSystem"]),a=!H(i.ordinal),o=!H(i.year),s=!H(i.month)||!H(i.day),u=o||s,c=i.weekYear||i.weekNumber,l=ot.fromObject(e);if((u||a)&&c)throw new x("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(s&&a)throw new x("Can't mix ordinal dates with month/day");var f,d,h=c||i.weekday&&!u,m=Wn(n,r);h?(f=er,d=Qn,m=Fn(m)):a?(f=tr,d=Kn,m=Cn(m)):(f=Xn,d=Bn);var y=!1,v=f,g=Array.isArray(v),p=0;for(v=g?v:v[Symbol.iterator]();;){var w;if(g){if(p>=v.length)break;w=v[p++]}else{if((p=v.next()).done)break;w=p.value}var k=w;H(i[k])?i[k]=y?d[k]:m[k]:y=!0}var b,O,S,T,M,N,D,E=(h?(M=R((T=i).weekYear),N=$(T.weekNumber,1,ie(T.weekYear)),D=$(T.weekday,1,7),M?N?!D&&In("weekday",T.weekday):In("week",T.week):In("weekYear",T.weekYear)):a?(O=R((b=i).year),S=$(b.ordinal,1,te(b.year)),O?!S&&In("ordinal",b.ordinal):In("year",b.year)):An(i))||zn(i);if(E)return L.invalid(E);var I=Pn(h?Zn(i):a?jn(i):i,r,t),V=new L({ts:I[0],zone:t,o:I[1],loc:l});return i.weekday&&u&&e.weekday!==V.weekday?L.invalid("mismatched weekday","you can't specify both a weekday of "+i.weekday+" and a date of "+V.toISO()):V},L.fromISO=function(e,t){void 0===t&&(t={});var n=ct(e,[Ct,_t],[jt,qt],[At,Ht],[zt,Ut]);return Yn(n[0],n[1],t,"ISO 8601",e)},L.fromRFC2822=function(e,t){void 0===t&&(t={});var n=ct(e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim(),[Et,It]);return Yn(n[0],n[1],t,"RFC 2822",e)},L.fromHTTP=function(e,t){void 0===t&&(t={});var n=ct(e,[Vt,Ft],[Lt,Ft],[xt,Zt]);return Yn(n[0],n[1],t,"HTTP",t)},L.fromFormat=function(e,t,n){if(void 0===n&&(n={}),H(e)||H(t))throw new h("fromFormat requires an input string and a format");var r,i=n.locale,a=void 0===i?null:i,o=n.numberingSystem,s=void 0===o?null:o,u=ot.fromOpts({locale:a,numberingSystem:s,defaultToEN:!0}),c=[(r=Nn(u,e,t)).result,r.zone,r.invalidReason],l=c[0],f=c[1],d=c[2];return d?L.invalid(d):Yn(l,f,n,"format "+t,e)},L.fromString=function(e,t,n){return void 0===n&&(n={}),L.fromFormat(e,t,n)},L.fromSQL=function(e,t){void 0===t&&(t={});var n=ct(e,[Rt,Pt],[Wt,Jt]);return Yn(n[0],n[1],t,"SQL",e)},L.invalid=function(e,t){if(void 0===t&&(t=null),!e)throw new h("need to specify a reason the DateTime is invalid");var n=e instanceof Ve?e:new Ve(e,t);if($e.throwOnInvalid)throw new c(n);return new L({invalid:n})},L.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var e=L.prototype;return e.get=function(e){return this[e]},e.resolvedLocaleOpts=function(e){void 0===e&&(e={});var t=Ie.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},e.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone(qe.instance(e),t)},e.toLocal=function(){return this.setZone($e.defaultZone)},e.setZone=function(e,t){var n=void 0===t?{}:t,r=n.keepLocalTime,i=void 0!==r&&r,a=n.keepCalendarTime,o=void 0!==a&&a;if((e=Ue(e,$e.defaultZone)).equals(this.zone))return this;if(e.isValid){var s=this.ts;if(i||o){var u=e.offset(this.ts);s=Pn(this.toObject(),u,e)[0]}return Un(this,{ts:s,zone:e})}return L.invalid(qn(e))},e.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.outputCalendar,a=this.loc.clone({locale:n,numberingSystem:r,outputCalendar:i});return Un(this,{loc:a})},e.setLocale=function(e){return this.reconfigure({locale:e})},e.set=function(e){if(!this.isValid)return this;var t,n=ce(e,nr,[]);!H(n.weekYear)||!H(n.weekNumber)||!H(n.weekday)?t=Zn(Object.assign(Fn(this.c),n)):H(n.ordinal)?(t=Object.assign(this.toObject(),n),H(n.day)&&(t.day=Math.min(ne(t.year,t.month),t.day))):t=jn(Object.assign(Cn(this.c),n));var r=Pn(t,this.o,this.zone);return Un(this,{ts:r[0],o:r[1]})},e.plus=function(e){return this.isValid?Un(this,Jn(this,an(e))):this},e.minus=function(e){return this.isValid?Un(this,Jn(this,an(e).negate())):this},e.startOf=function(e){if(!this.isValid)return this;var t={},n=rn.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);t.month=3*(r-1)+1}return this.set(t)},e.endOf=function(e){var t;return this.isValid?this.plus(((t={})[e]=1,t)).startOf(e).minus(1):this},e.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?Ie.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):_n},e.toLocaleString=function(e){return void 0===e&&(e=p),this.isValid?Ie.create(this.loc.clone(e),e).formatDateTime(this):_n},e.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?Ie.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},e.toISO=function(e){return void 0===e&&(e={}),this.isValid?this.toISODate(e)+"T"+this.toISOTime(e):null},e.toISODate=function(e){var t=(void 0===e?{}:e).format,n="basic"===(void 0===t?"extended":t)?"yyyyMMdd":"yyyy-MM-dd";return 9999<this.year&&(n="+"+n),Gn(this,n)},e.toISOWeekDate=function(){return Gn(this,"kkkk-'W'WW-c")},e.toISOTime=function(e){var t=void 0===e?{}:e,n=t.suppressMilliseconds,r=void 0!==n&&n,i=t.suppressSeconds,a=void 0!==i&&i,o=t.includeOffset,s=void 0===o||o,u=t.format;return $n(this,{suppressSeconds:a,suppressMilliseconds:r,includeOffset:s,format:void 0===u?"extended":u})},e.toRFC2822=function(){return Gn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},e.toHTTP=function(){return Gn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.toSQLDate=function(){return Gn(this,"yyyy-MM-dd")},e.toSQLTime=function(e){var t=void 0===e?{}:e,n=t.includeOffset,r=void 0===n||n,i=t.includeZone;return $n(this,{includeOffset:r,includeZone:void 0!==i&&i,spaceZone:!0})},e.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},e.toString=function(){return this.isValid?this.toISO():_n},e.valueOf=function(){return this.toMillis()},e.toMillis=function(){return this.isValid?this.ts:NaN},e.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},e.toJSON=function(){return this.toISO()},e.toBSON=function(){return this.toJSDate()},e.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},e.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.diff=function(e,t,n){if(void 0===t&&(t="milliseconds"),void 0===n&&(n={}),!this.isValid||!e.isValid)return rn.invalid(this.invalid||e.invalid,"created by diffing an invalid DateTime");var r,i=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},n),a=(r=t,(Array.isArray(r)?r:[r]).map(rn.normalizeUnit)),o=e.valueOf()>this.valueOf(),s=ln(o?this:e,o?e:this,a,i);return o?s.negate():s},e.diffNow=function(e,t){return void 0===e&&(e="milliseconds"),void 0===t&&(t={}),this.diff(L.local(),e,t)},e.until=function(e){return this.isValid?sn.fromDateTimes(this,e):this},e.hasSame=function(e,t){if(!this.isValid)return!1;if("millisecond"===t)return this.valueOf()===e.valueOf();var n=e.valueOf();return this.startOf(t)<=n&&n<=this.endOf(t)},e.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},e.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=e.base||L.fromObject({zone:this.zone}),n=e.padding?this<t?-e.padding:e.padding:0;return ir(t,this.plus(n),Object.assign(e,{numeric:"always",units:["years","months","days","hours","minutes","seconds"]}))},e.toRelativeCalendar=function(e){return void 0===e&&(e={}),this.isValid?ir(e.base||L.fromObject({zone:this.zone}),this,Object.assign(e,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},L.min=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.every(L.isDateTime))throw new h("min requires all arguments be DateTimes");return J(t,function(e){return e.valueOf()},Math.min)},L.max=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.every(L.isDateTime))throw new h("max requires all arguments be DateTimes");return J(t,function(e){return e.valueOf()},Math.max)},L.fromFormatExplain=function(e,t,n){void 0===n&&(n={});var r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a;return Nn(ot.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0}),e,t)},L.fromStringExplain=function(e,t,n){return void 0===n&&(n={}),L.fromFormatExplain(e,t,n)},i(L,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Hn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Hn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Hn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?Cn(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?un.months("short",{locale:this.locale})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?un.months("long",{locale:this.locale})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?un.weekdays("short",{locale:this.locale})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?un.weekdays("long",{locale:this.locale})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.universal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return ee(this.year)}},{key:"daysInMonth",get:function(){return ne(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?te(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ie(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return p}},{key:"DATE_MED",get:function(){return w}},{key:"DATE_FULL",get:function(){return k}},{key:"DATE_HUGE",get:function(){return b}},{key:"TIME_SIMPLE",get:function(){return O}},{key:"TIME_WITH_SECONDS",get:function(){return S}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return T}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return M}},{key:"TIME_24_SIMPLE",get:function(){return N}},{key:"TIME_24_WITH_SECONDS",get:function(){return D}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return E}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return I}},{key:"DATETIME_SHORT",get:function(){return V}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return F}},{key:"DATETIME_MED",get:function(){return Z}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return C}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return j}},{key:"DATETIME_FULL",get:function(){return A}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return z}},{key:"DATETIME_HUGE",get:function(){return _}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return q}}]),L}();function or(e){if(ar.isDateTime(e))return e;if(e&&e.valueOf&&U(e.valueOf()))return ar.fromJSDate(e);if(e&&"object"==typeof e)return ar.fromObject(e);throw new h("Unknown datetime argument: "+e+", of type "+typeof e)}return e.DateTime=ar,e.Duration=rn,e.FixedOffsetZone=qe,e.IANAZone=ze,e.Info=un,e.Interval=sn,e.InvalidZone=He,e.LocalZone=Fe,e.Settings=$e,e.Zone=Le,e}({});