/*! ATOGOV - SPA 2025-03-18, Copyright (c) 2025 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 H;function p(){return H.apply(null,arguments)}function _(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function L(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function G(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function V(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function j(e,t){for(var n=[],s=0;s>>0,s=0;sze(e)?(r=e+1,a-ze(e)):(r=e,a);return{year:r,dayOfYear:o}}function Xe(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+Ke(i=e.year()-1,t,n):a>Ke(e.year(),t,n)?(s=a-Ke(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Ke(e,t,n){var s=Je(e,t,n),i=Je(e+1,t,n);return(ze(e)-s+i)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),m("w",h),m("ww",h,i),m("W",h),m("WW",h,i),We(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=o(e)});s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),m("d",h),m("e",h),m("E",h),m("dd",function(e,t){return t.weekdaysMinRegex(e)}),m("ddd",function(e,t){return t.weekdaysShortRegex(e)}),m("dddd",function(e,t){return t.weekdaysRegex(e)}),We(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:w(n).invalidWeekday=e}),We(["d","e","E"],function(e,t,n,s){t[s]=o(e)});var et="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var tt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var st=xe;var it=xe;var rt=xe;function at(){function e(e,t){return t.length-e.length}for(var t,n,s,i,r=[],a=[],o=[],u=[],l=0;l<7;l++)t=d([2e3,1]).day(l),n=this.weekdaysMin(t,""),s=this.weekdaysShort(t,""),i=this.weekdays(t,""),r.push(n),a.push(s),o.push(i),u.push(n),u.push(s),u.push(i);for(r.sort(e),a.sort(e),o.sort(e),u.sort(e),l=0;l<7;l++)a[l]=be(a[l]),o[l]=be(o[l]),u[l]=be(u[l]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ot(){return this.hours()%12||12}function ut(e,t){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function lt(e,t){return t._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,ot),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+ot.apply(this)+l(this.minutes(),2)}),s("hmmss",0,0,function(){return""+ot.apply(this)+l(this.minutes(),2)+l(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+l(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+l(this.minutes(),2)+l(this.seconds(),2)}),ut("a",!0),ut("A",!1),t("hour","h"),n("hour",13),m("a",lt),m("A",lt),m("H",h),m("h",h),m("HH",h,i),m("hh",h,i),m("hmm",ge),m("hmmss",pe),m("Hmm",ge),m("Hmmss",pe),v(["H","HH"],D),v(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),v(["h","hh"],function(e,t,n){t[D]=o(e),w(n).bigHour=!0}),v("hmm",function(e,t,n){var s=e.length-2;t[D]=o(e.substr(0,s)),t[Y]=o(e.substr(s)),w(n).bigHour=!0}),v("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[D]=o(e.substr(0,s)),t[Y]=o(e.substr(s,2)),t[x]=o(e.substr(i)),w(n).bigHour=!0}),v("Hmm",function(e,t,n){var s=e.length-2;t[D]=o(e.substr(0,s)),t[Y]=o(e.substr(s))}),v("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[D]=o(e.substr(0,s)),t[Y]=o(e.substr(s,2)),t[x]=o(e.substr(i))});var dt,ht=ie("Hours",!0),ct={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:Ge,monthsShort:Ve,week:{dow:0,doy:6},weekdays:et,weekdaysMin:nt,weekdaysShort:tt,meridiemParse:/[ap]\.?m?\.?/i},T={},ft={};function mt(e){return e&&e.toLowerCase().replace("_","-")}function _t(e){var t;if(!T[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=dt._abbr,require("./locale/"+e),yt(t)}catch(n){}return T[e]}function yt(e,t){var n;return(dt=e&&(n=r(t)?b(e):gt(e,t))?n:dt)._abbr}function gt(e,t){if(null===t)return delete T[e],null;var n=ct;if(t.abbr=e,null!=T[e])Q("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=T[e]._config;else if(null!=t.parentLocale){if(null==T[t.parentLocale])return ft[t.parentLocale]||(ft[t.parentLocale]=[]),ft[t.parentLocale].push({name:e,config:t}),null;n=T[t.parentLocale]._config}return T[e]=new K(X(n,t)),ft[e]&&ft[e].forEach(function(e){gt(e.name,e.config)}),yt(e),T[e]}function b(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return dt;if(!_(e)){if(t=_t(e))return t;e=[e]}for(var n,s,i,r,a=e,o=0;o=n&&q(r,s,!0)>=n-1)break;n--}o++}return null}function pt(e){var t,n=e._a;return n&&-2===w(e).overflow&&(t=n[M]<0||11He(n[S],n[M])?k:n[D]<0||24Ke(l,c,f)?w(o)._overflowWeeks=!0:null!=_?w(o)._overflowWeekday=!0:(m=Qe(l,d,h,c,f),o._a[S]=m.year,o._dayOfYear=m.dayOfYear)),e._dayOfYear&&(i=xt(e._a[S],s[S]),e._dayOfYear>ze(i)&&(w(e)._overflowDayOfYear=!0),n=Be(i,0,e._dayOfYear),e._a[M]=n.getUTCMonth(),e._a[k]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=g[t]=s[t];for(;t<7;t++)e._a[t]=g[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[D]&&0===e._a[Y]&&0===e._a[x]&&0===e._a[Re]&&(e._nextDay=!0,e._a[D]=0),e._d=(e._useUTC?Be:qe).apply(null,g),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[D]=24)}}function Tt(e){if(e._f===p.ISO_8601)Yt(e);else{e._a=[],w(e).empty=!0;for(var t,n,s,i,r,a,o=""+e._i,u=o.length,l=0,d=ce(e._f,e._locale).match(oe)||[],h=0;hn.valueOf():n.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},R.isLocal=function(){return!!this.isValid()&&!this._isUTC},R.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},R.isUtc=Et,R.isUTC=Et,R.zoneAbbr=function(){return this._isUTC?"UTC":""},R.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},R.dates=e("dates accessor is deprecated. Use date instead.",nn),R.months=e("months accessor is deprecated. Use month instead",Ne),R.years=e("years accessor is deprecated. Use year instead",$e),R.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),R.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return r(this._isDSTShifted)&&(z(e={},this),(e=bt(e))._a?(t=(e._isUTC?d:P)(e._a),this._isDSTShifted=this.isValid()&&0