/*! ATOOnline 2023-10-31, Copyright (c) 2023 Australian Taxation Office */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e;function c(){return e.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function s(e,t){var n,s=[];for(n=0;n>>0,s=0;sHe(e)?(r=e+1,o-He(e)):(r=e,o),{year:r,dayOfYear:a}}function Ae(e,t,n){var s,i,r=je(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Ee(i=e.year()-1,t,n):a>Ee(e.year(),t,n)?(s=a-Ee(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Ee(e,t,n){var s=je(e,t,n),i=je(e+1,t,n);return(He(e)-s+i)/7}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),H("week",5),H("isoWeek",5),he("w",K),he("ww",K,B),he("W",K),he("WW",K,B),ye(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=M(e)});z("d",0,"do","day"),z("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),z("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),z("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),he("d",K),he("e",K),he("E",K),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:m(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,s){t[s]=M(e)});var Ie="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var $e=le;var qe=le;var Be=le;function Je(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),s=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=fe(o[t]),u[t]=fe(u[t]),l[t]=fe(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qe(){return this.hours()%12||12}function Xe(e,t){z(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Qe),z("k",["kk",2],0,function(){return this.hours()||24}),z("hmm",0,0,function(){return""+Qe.apply(this)+j(this.minutes(),2)}),z("hmmss",0,0,function(){return""+Qe.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)}),z("Hmm",0,0,function(){return""+this.hours()+j(this.minutes(),2)}),z("Hmmss",0,0,function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),R("hour","h"),H("hour",13),he("a",Ke),he("A",Ke),he("H",K),he("h",K),he("HH",K,B),he("hh",K,B),he("hmm",ee),he("hmmss",te),he("Hmm",ee),he("Hmmss",te),_e(["H","HH"],we),_e(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),_e(["h","hh"],function(e,t,n){t[we]=M(e),m(n).bigHour=!0}),_e("hmm",function(e,t,n){var s=e.length-2;t[we]=M(e.substr(0,s)),t[Se]=M(e.substr(s)),m(n).bigHour=!0}),_e("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[we]=M(e.substr(0,s)),t[Se]=M(e.substr(s,2)),t[Me]=M(e.substr(i)),m(n).bigHour=!0}),_e("Hmm",function(e,t,n){var s=e.length-2;t[we]=M(e.substr(0,s)),t[Se]=M(e.substr(s))}),_e("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[we]=M(e.substr(0,s)),t[Se]=M(e.substr(s,2)),t[Me]=M(e.substr(i))});var et,tt=L("Hours",!0),nt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:be,monthsShort:Pe,week:{dow:0,doy:6},weekdays:Ie,weekdaysMin:Ze,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},st={},it={};function rt(e){return e?e.toLowerCase().replace("_","-"):e}function at(e){var t=null;if(!st[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=et._abbr,require("./locale/"+e),ot(t)}catch(e){}return st[e]}function ot(e,t){var n;return e&&(n=y(t)?lt(e):ut(e,t))&&(et=n),et._abbr}function ut(e,t){if(null===t)return delete st[e],null;var n=nt;if(t.abbr=e,null!=st[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=st[e]._config;else if(null!=t.parentLocale){if(null==st[t.parentLocale])return it[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;n=st[t.parentLocale]._config}return st[e]=new b(T(n,t)),it[e]&&it[e].forEach(function(e){ut(e.name,e.config)}),ot(e),st[e]}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return et;if(!a(e)){if(t=at(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r=t&&k(i,n,!0)>=t-1)break;t--}r++}return null}(e)}function dt(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[ve]<0||11xe(n[ge],n[ve])?pe:n[we]<0||24Ee(n,r,a)?m(e)._overflowWeeks=!0:null!=u?m(e)._overflowWeekday=!0:(o=Ne(n,s,i,r,a),e._a[ge]=o.year,e._dayOfYear=o.dayOfYear)}(e),e._dayOfYear&&(i=vt(e._a[ge],s[ge]),e._dayOfYear>He(i)&&(m(e)._overflowDayOfYear=!0),n=Ve(i,0,e._dayOfYear),e._a[ve]=n.getUTCMonth(),e._a[pe]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=s[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[we]&&0===e._a[Se]&&0===e._a[Me]&&0===e._a[ke]&&(e._nextDay=!0,e._a[we]=0),e._d=(e._useUTC?Ve:function(e,t,n,s,i,r,a){var o=new Date(e,t,n,s,i,r,a);return e<100&&0<=e&&isFinite(o.getFullYear())&&o.setFullYear(e),o}).apply(null,r),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[we]=24)}}function wt(e){if(e._f!==c.ISO_8601){e._a=[],m(e).empty=!0;var t,n,s,i,r,a,o,u,l=""+e._i,d=l.length,h=0;for(s=$(e._f,e._locale).match(N)||[],t=0;tn.valueOf():n.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},nn.isLocal=function(){return!!this.isValid()&&!this._isUTC},nn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},nn.isUtc=Ft,nn.isUTC=Ft,nn.zoneAbbr=function(){return this._isUTC?"UTC":""},nn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},nn.dates=n("dates accessor is deprecated. Use date instead.",Jt),nn.months=n("months accessor is deprecated. Use month instead",Re),nn.years=n("years accessor is deprecated. Use year instead",Ge),nn.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),nn.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!y(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),(e=St(e))._a){var t=e._isUTC?d(e._a):kt(e._a);this._isDSTShifted=this.isValid()&&0