var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.checkStringArgs=function(h,g,l){if(null==h)throw new TypeError("The 'this' value for String.prototype."+l+" must not be null or undefined");if(g instanceof RegExp)throw new TypeError("First argument to String.prototype."+l+" must not be a regular expression");return h+""};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;
$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(h,g,l){if(h==Array.prototype||h==Object.prototype)return h;h[g]=l.value;return h};
$jscomp.getGlobal=function(h){h=["object"==typeof globalThis&&globalThis,h,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var g=0;g<h.length;++g){var l=h[g];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};
$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(h,g){var l=$jscomp.propertyToPolyfillSymbol[g];if(null==l)return h[g];l=h[l];return void 0!==l?l:h[g]};$jscomp.polyfill=function(h,g,l,p){g&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(h,g,l,p):$jscomp.polyfillUnisolated(h,g,l,p))};
$jscomp.polyfillUnisolated=function(h,g,l,p){l=$jscomp.global;h=h.split(".");for(p=0;p<h.length-1;p++){var a=h[p];if(!(a in l))return;l=l[a]}h=h[h.length-1];p=l[h];g=g(p);g!=p&&null!=g&&$jscomp.defineProperty(l,h,{configurable:!0,writable:!0,value:g})};
$jscomp.polyfillIsolated=function(h,g,l,p){var a=h.split(".");h=1===a.length;p=a[0];p=!h&&p in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var d=0;d<a.length-1;d++){var f=a[d];if(!(f in p))return;p=p[f]}a=a[a.length-1];l=$jscomp.IS_SYMBOL_NATIVE&&"es6"===l?p[a]:null;g=g(l);null!=g&&(h?$jscomp.defineProperty($jscomp.polyfills,a,{configurable:!0,writable:!0,value:g}):g!==l&&(void 0===$jscomp.propertyToPolyfillSymbol[a]&&(l=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[a]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(a):$jscomp.POLYFILL_PREFIX+l+"$"+a),$jscomp.defineProperty(p,$jscomp.propertyToPolyfillSymbol[a],{configurable:!0,writable:!0,value:g})))};$jscomp.polyfill("String.prototype.startsWith",function(h){return h?h:function(g,l){var p=$jscomp.checkStringArgs(this,g,"startsWith");g+="";var a=p.length,d=g.length;l=Math.max(0,Math.min(l|0,p.length));for(var f=0;f<d&&l<a;)if(p[l++]!=g[f++])return!1;return f>=d}},"es6","es3");
(function(){function h(a,d,f,e){2>e&&(e=2);return a&&a.length>e?(d[f]=a.substring(e),a.substring(0,e)):a}function g(a,d){a=""+a;for(d-=a.length;0<=--d;)a="0"+a;return a}function l(a,d){return Math.round((Dates.newInstance([a.getFullYear(),a.getMonth(),a.getDate()],a.getTimeZone())-d)/864E5)}var p=zk.$extends(zk.Object,{$init:function(a,d,f,e,m,u,F,k){this.$supers("$init",arguments);this._date=1<arguments.length?Dates.newInstance([a,d,f,e,m,u,F],k):a},setOffset:function(a){this._offset=a},setFullYear:function(a){this._date.setFullYear(a)},
getFullYear:function(){return this._date.getFullYear()+(this._offset||0)},getDate:function(){return this._date.getDate()},setDate:function(a){this._date.setDate(a)},getDay:function(){return this._date.getDay()},setDay:function(a){this._date.setDay(a)},getMonth:function(){return this._date.getMonth()},setMonth:function(a){this._date.setMonth(a)},getHours:function(){return this._date.getHours()},setHours:function(a){this._date.setHours(a)},getMinutes:function(){return this._date.getMinutes()},setMinutes:function(a){this._date.setMinutes(a)},
getSeconds:function(){return this._date.getSeconds()},setSeconds:function(a){this._date.setSeconds(a)},getMilliseconds:function(){return this._date.getMilliseconds()},setMilliseconds:function(a){this._date.setMilliseconds(a)},getTimezoneOffset:function(){return this._date.getTimezoneOffset()},getRealDate:function(){return this._date},getTimeZone:function(){return this._date.getTimeZone()}});zk.fmt.Date={_isoDateTimeFormat:11>zk.ie?null:new Intl.DateTimeFormat("en-US",{year:"numeric"}),parseDate:function(a,
d,f,e,m,u,F){d||(d="yyyy/MM/dd");e=e||zUtl.today(d,u);m=m||{DOW_1ST:zk.DOW_1ST,MINDAYS:zk.MINDAYS,ERA:zk.ERA,YDELTA:zk.YDELTA,LAN_TAG:zk.LAN_TAG,SDOW:zk.SDOW,S2DOW:zk.S2DOW,FDOW:zk.FDOW,SMON:zk.SMON,S2MON:zk.S2MON,FMON:zk.FMON,APM:zk.APM};var k=e.getFullYear(),c=e.getMonth(),w=e.getDate(),E=e.getHours(),M=e.getMinutes(),N=e.getSeconds(),Q=e.getMilliseconds(),O=-1<d.indexOf("a"),B=-1!=d.indexOf("G");O=O&&(-1<d.indexOf("h")||-1<d.indexOf("K"));a:{var r=a;var t=d;-1<t.indexOf("'")&&(t=t.replace(/'/g,
""));for(var K=[],I=t.indexOf("MMM"),x=t.indexOf("E"),A=t.length,y=[],L=t.indexOf("a"),n=t.indexOf("G"),b=r.replace(/[^.]/g,"").length,q=t.replace(/[^.]/g,"").length,z=0,G=0,P=r.length;G<P;z++,G++){var H=r.charAt(G),R=A>z?t.charAt(z):"";if(H.match(/\d/))y.push(H);else if(0<=I&&I<=z||0<=x&&x<=z||-1<L&&L<=z||-1<n&&n<=z)H.match(/\w/)?y.push(H):128>H.charCodeAt(0)&&(46!=H.charCodeAt(0)||b==q||46==R.charCodeAt(0))?y.length&&(K.push(y.join("")),y=[]):y.push(H);else if(y.length){if(r.charAt(G-1).match(/\d/))for(;R==
t.charAt(z-1)&&R;)R=t.charAt(++z);K.push(y.join(""));y=[]}else if(H.match(/\w/)){r=void 0;break a}}y.length&&K.push(y.join(""));r=K}t=/.*\D.*/;K=!t.test(a);I=m.ERAS;var J,C;B&&a&&I&&(C=this._findEraKey(a,I))&&(J=I[C]);B=e._moment.toDate();x=11>zk.ie?null:new Intl.DateTimeFormat(m.LAN_TAG,{year:"numeric"});C=m.ERA||(C?C:this.getEraName(B,m,x));B=m.YDELTA||(J?0-J.firstYear+1*J.direction:this.getYDelta(B,x));if(r&&r.length){y=b=A=0;for(L=d.length;b<L;++b)if(q=d.charAt(b),"a"<=q&&"z">=q||"A"<=q&&"Z">=
q){n=1;for(x=b;++x<L&&d.charAt(x)==q;++n);var v;if(x<L){var D=d.charAt(x);D=-1!="yuMdEmsShHkKaAG".indexOf(D)}b=K?r[0].substring(b-y,x-y):r[A++];switch(q){case "u":case "y":if(f&&b&&b.length<n)return;D&&(3>n&&(n=2),b&&b.length>n&&(r[--A]=b.substring(n),b=b.substring(0,n)));if(f&&b&&t.test(b))return;isNaN(v=parseInt(b,10))||(n=Math.min(v,2E5),100>n&&n===(k+B)%100||(0===B&&100>n?(k=zk.TDYS,n=100*Math.floor(k/100)+n,b=n+100,k=n>k?n:b):("y"==q&&(n=J?J.firstYear+J.direction*(n-1):0<k+B?n-B:1-n-B),k=n)));
break;case "M":q=b?b.toLowerCase():"";z=!isNaN(b)||2>=n;if(!q)break;if(!z&&b){if(3==n)G=m.SMON;else if(4==n)G=m.FMON;else break;z=G.length;for(var S;0<=--z;)if(P=G[z].toLowerCase(),f&&q==P||!f&&q.startsWith(P)){c=P.length;b&&b.length>c&&(r[--A]=b.substring(c));c=z;S=!0;break}if(S)break}if(3==n&&b){D&&(b=h(b,r,--A,b.length));if(isNaN(v=parseInt(b,10)))return;c=v-1}else if(2>=n){D&&b&&2<b.length&&(r[--A]=b.substring(2),b=b.substring(0,2));if(isNaN(v=parseInt(b,10)))return;c=v-1}else for(c=0;;++c){if(12==
c)return;if(3==n){if(m.SMON[c]==b)break}else if(b&&m.FMON[c].startsWith(b))break}if(11<c)return;break;case "E":D&&h(b,r,--A,n);break;case "d":if(f&&b&&b.length<n)return;D&&(b=h(b,r,--A,n));if(f&&b&&t.test(b))return;if(!isNaN(v=parseInt(b,10))){w=v;var T=!0;if(0>w||31<w)return}break;case "H":case "h":case "K":case "k":if(f&&b&&b.length<n)return;if(O?"H"==q||"k"==q:"h"==q||"K"==q)break;D&&(b=h(b,r,--A,n));if(f&&b&&t.test(b))return;isNaN(v=parseInt(b,10))||(E="h"==q&&12==v||"k"==q&&24==v?0:"K"==q?v%
12:v);break;case "m":case "s":case "S":if(f&&b&&b.length<n)return;D&&(b=h(b,r,--A,n));if(f&&b&&t.test(b))return;isNaN(v=parseInt(b,10))||("m"==q?M=v:"s"==q?N=v:Q=v);break;case "a":if(!O)break;D&&(b=h(b,r,--A,n));if(!b)return;var U=b.toUpperCase().startsWith(m.APM[0].toUpperCase());break;case "G":if(D&&I){if(!C)return;b=h(b,r,--A,C.length)}C&&b!=C&&C.length>b.length&&(A+=C.match(/([\s]+)/g).length)}b=x-1}else y++;O&&!1===U&&(E+=12);1==c&&29==w&&B?(m=new p(k,c,w,E,M,N,Q,u),m.setOffset(B)):m=Dates.newInstance([k,
c,w,E,M,N,Q],u);T||m.getMonth()==c||(m=Dates.newInstance([k,c+1,0,E,M,N,Q],u));if(f||F)if(m.getFullYear()!=k||m.getMonth()!=c||m.getDate()!=w||m.getHours()!=E||m.getMinutes()!=M||m.getSeconds()!=N)return;if(f){a=a.trim();for(b=0;b<r.length;b++)a=a.replace(r[b],"");for(x=a.length;x--;)if(q=a.charAt(x),("9"<q||"0">q)&&0>d.indexOf(q))return}return+m==+e?e:m}},formatDate:function(a,d,f){d||(d="yyyy/MM/dd");f=f||{DOW_1ST:zk.DOW_1ST,MINDAYS:zk.MINDAYS,ERA:zk.ERA,YDELTA:zk.YDELTA,LAN_TAG:zk.LAN_TAG,SDOW:zk.SDOW,
S2DOW:zk.S2DOW,FDOW:zk.FDOW,SMON:zk.SMON,S2MON:zk.S2MON,FMON:zk.FMON,APM:zk.APM};for(var e="",m=11>zk.ie?null:new Intl.DateTimeFormat(f.LAN_TAG,{year:"numeric"}),u=0,F=d.length;u<F;++u){var k=d.charAt(u);if("a"<=k&&"z">=k||"A"<=k&&"Z">=k){for(var c=1;++u<F;++c)if(d.charAt(u)!=k){"r"==d.charAt(u)&&u++;break}switch(k){case "y":case "u":var w=0;"y"==k&&(w=f.YDELTA||this.getYDelta(a._moment.toDate(),m));k=a.getFullYear()+w;e=2==c?e+g(k%Math.pow(10,c),c):e+g(k,c);break;case "M":e=2>=c?e+g(a.getMonth()+
1,c):3==c?e+f.SMON[a.getMonth()]:e+f.FMON[a.getMonth()];break;case "d":e+=g(a.getDate(),c);break;case "E":e=3>=c?e+f.SDOW[(a.getDay()-f.DOW_1ST+7)%7]:e+f.FDOW[(a.getDay()-f.DOW_1ST+7)%7];break;case "D":c=a;k=Dates.newInstance([c.getFullYear(),0,1],c.getTimeZone());c=g(1+l(c,k));e+=c;break;case "w":e+=zUtl.getWeekOfYear(a.getFullYear(),a.getMonth(),a.getDate(),f.DOW_1ST,f.MINDAYS);break;case "W":c=a;w=f.DOW_1ST;k=Dates.newInstance([c.getFullYear(),c.getMonth(),1],c.getTimeZone());var E=k.getDay();
w=(w>E?E+7:E)-w;c=g(1+Math.floor((l(c,k)+w)/7));e+=c;break;case "G":e+=f.ERA||this.getEraName(a._moment.toDate(),f,m);break;case "F":c=a;k=Dates.newInstance([c.getFullYear(),c.getMonth(),1],c.getTimeZone());c=g(1+Math.floor(l(c,k)/7));e+=c;break;case "H":2>=c&&(e+=g(a.getHours(),c));break;case "k":k=a.getHours();0==k&&(k="24");2>=c&&(e+=g(k,c));break;case "K":2>=c&&(e+=g(a.getHours()%12,c));break;case "h":k=a.getHours();k%=12;0==k&&(k="12");2>=c&&(e+=g(k,c));break;case "m":2>=c&&(e+=g(a.getMinutes(),
c));break;case "s":2>=c&&(e+=g(a.getSeconds(),c));break;case "S":3>=c&&(e+=g(a.getMilliseconds(),c));break;case "Z":e+=-(a.getTimezoneOffset()/60);break;case "z":e+=-(a.getTimezoneOffset()/60);break;case "a":e+=f.APM[11<a.getHours()?1:0];break;default:e+="1"}--u}else"'"!=k&&(e+=k)}return e},getYDelta:function(a,d){return 0},getEraName:function(a,d,f){if(11>zk.ie)return"";d=d.LAN_TAG.split("-").slice(0,2).join("-");return a.toLocaleDateString(d,{era:"short",day:"numeric"}).split(" ")[0]},_findEraKey:function(a,
d){return null}};zk.fmt.Calendar=zk.$extends(zk.Object,{_offset:zk.YDELTA,$init:function(a,d){this._date=a;if(d){var f=11>zk.ie?null:new Intl.DateTimeFormat(d.LAN_TAG,{year:"numeric"});this._offset=d.YDELTA||zk.fmt.Date.getYDelta(a._moment.toDate(),f)}},getTime:function(){return this._date},setTime:function(a){this._date=a},setYearOffset:function(a){this._offset=a},getYearOffset:function(){return this._offset},formatDate:function(a,d,f){if(f){var e=11>zk.ie?null:new Intl.DateTimeFormat(f.LAN_TAG,
{year:"numeric"});this._offset=f.YDELTA||zk.fmt.Date.getYDelta(a._moment.toDate(),e)}if(this._offset&&1==a.getMonth()&&29==a.getDate()){var m=new p(a);m.setOffset(this._offset)}return zk.fmt.Date.formatDate(m||a,d,f)},toUTCDate:function(){if(p.isInstance(this._date))return this._date.getRealDate();var a;(a=this._date)&&this._offset&&(a=Dates.newInstance(a));return a},parseDate:function(a,d,f,e,m,u,F){a=zk.fmt.Date.parseDate(a,d,f,e,m,u,F);m&&(f=11>zk.ie?null:new Intl.DateTimeFormat(m.LAN_TAG,{year:"numeric"}),
this._offset=m.YDELTA||a?zk.fmt.Date.getYDelta(a._moment.toDate(),f):0);return this._offset&&d&&p.isInstance(a)?a.getRealDate():a},getYear:function(){return this._date.getFullYear()},escapeDSTConflict:function(a,d){if(a)return d=Dates.newInstance(a.getTime()+36E5,d),d.getHours()!=(a.getHours()+1)%24?d:a}})})();
