@react-querybuilder/antd 4.5.1 → 5.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -8
- package/dist/index.cjs.js +20 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +870 -3938
- package/dist/index.es.js.map +1 -1
- package/dist/types/AntD.test.d.ts +3 -0
- package/dist/types/AntDDragHandle.d.ts +2 -2
- package/dist/types/AntDValueEditor.d.ts +2 -3
- package/dist/types/AntDValueSelector.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils.d.ts +2 -2
- package/package.json +16 -10
package/README.md
CHANGED
|
@@ -14,8 +14,10 @@ yarn add react-querybuilder @react-querybuilder/antd @ant-design/icons antd
|
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
|
+
This package exports `antdControlElements` which can be assigned directly to the `controlElements` prop on `<QueryBuilder />`, and also exports each component individually. However, the recommended usage is to wrap a `<QueryBuilder />` element in `<QueryBuilderAntD />`, like this:
|
|
18
|
+
|
|
17
19
|
```tsx
|
|
18
|
-
import {
|
|
20
|
+
import { QueryBuilderAntD } from '@react-querybuilder/antd';
|
|
19
21
|
import { QueryBuilder, RuleGroupType } from 'react-querybuilder';
|
|
20
22
|
|
|
21
23
|
const fields = [
|
|
@@ -27,17 +29,14 @@ const App = () => {
|
|
|
27
29
|
const [query, setQuery] = useState<RuleGroupType>({ combinator: 'and', rules: [] });
|
|
28
30
|
|
|
29
31
|
return (
|
|
30
|
-
<
|
|
31
|
-
fields={fields}
|
|
32
|
-
|
|
33
|
-
onQueryChange={q => setQuery(q)}
|
|
34
|
-
controlElements={antdControlElements}
|
|
35
|
-
/>
|
|
32
|
+
<QueryBuilderAntD>
|
|
33
|
+
<QueryBuilder fields={fields} query={query} onQueryChange={q => setQuery(q)} />
|
|
34
|
+
</QueryBuilderAntD>
|
|
36
35
|
);
|
|
37
36
|
};
|
|
38
37
|
```
|
|
39
38
|
|
|
40
|
-
You may also want to reduce the width of the value editor component
|
|
39
|
+
You may also want to reduce the width of the value editor component (100% by default) with the following CSS rule:
|
|
41
40
|
|
|
42
41
|
```css
|
|
43
42
|
.queryBuilder .ant-input {
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const A=require("react-querybuilder"),P=require("antd"),se=require("react"),yr=require("@ant-design/icons"),Er=require("moment"),Ne=f=>f&&typeof f=="object"&&"default"in f?f:{default:f},Be=Ne(se),re=Ne(Er);var fe={exports:{}},H={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,14 +6,23 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Ut={};function Jt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),Ut[e]||(Bt(t),Ut[e]=!0)}l.suppressDeprecationWarnings=!1;l.deprecationHandler=null;function B(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Kr(e){var t,r;for(r in e)w(e,r)&&(t=e[r],B(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function dt(e,t){var r=ne({},e),s;for(s in t)w(t,s)&&(he(e[s])&&he(t[s])?(r[s]={},ne(r[s],e[s]),ne(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)w(e,s)&&!w(t,s)&&he(e[s])&&(r[s]=ne({},r[s]));return r}function pt(e){e!=null&&this.set(e)}var ht;Object.keys?ht=Object.keys:ht=function(e){var t,r=[];for(t in e)w(e,t)&&r.push(t);return r};var es={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ts(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return B(s)?s.call(t,r):s}function Z(e,t,r){var s=""+Math.abs(e),n=t-s.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+s}var Mt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,We=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,it={},ye={};function h(e,t,r,s){var n=s;typeof s=="string"&&(n=function(){return this[s]()}),e&&(ye[e]=n),t&&(ye[t[0]]=function(){return Z(n.apply(this,arguments),t[1],t[2])}),r&&(ye[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function rs(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ss(e){var t=e.match(Mt),r,s;for(r=0,s=t.length;r<s;r++)ye[t[r]]?t[r]=ye[t[r]]:t[r]=rs(t[r]);return function(n){var a="",i;for(i=0;i<s;i++)a+=B(t[i])?t[i].call(n,e):t[i];return a}}function Ae(e,t){return e.isValid()?(t=Qt(t,e.localeData()),it[t]=it[t]||ss(t),it[t](e)):e.localeData().invalidDate()}function Qt(e,t){var r=5;function s(n){return t.longDateFormat(n)||n}for(We.lastIndex=0;r>=0&&We.test(e);)e=e.replace(We,s),We.lastIndex=0,r-=1;return e}var ns={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"};function as(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Mt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var is="Invalid date";function os(){return this._invalidDate}var ls="%d",us=/\d{1,2}/;function ds(e){return this._ordinal.replace("%d",e)}var hs={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function fs(e,t,r,s){var n=this._relativeTime[r];return B(n)?n(e,t,r,s):n.replace(/%d/i,e)}function cs(e,t){var r=this._relativeTime[e>0?"future":"past"];return B(r)?r(t):r.replace(/%s/i,t)}var ve={};function P(e,t){var r=e.toLowerCase();ve[r]=ve[r+"s"]=ve[t]=e}function U(e){return typeof e=="string"?ve[e]||ve[e.toLowerCase()]:void 0}function gt(e){var t={},r,s;for(s in e)w(e,s)&&(r=U(s),r&&(t[r]=e[s]));return t}var Xt={};function R(e,t){Xt[e]=t}function _s(e){var t=[],r;for(r in e)w(e,r)&&t.push({unit:r,priority:Xt[r]});return t.sort(function(s,n){return s.priority-n.priority}),t}function Ze(e){return e%4===0&&e%100!==0||e%400===0}function C(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=C(t)),r}function ke(e,t){return function(r){return r!=null?(Kt(this,e,r),l.updateOffset(this,t),this):Ce(this,e)}}function Ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Kt(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Ze(e.year())&&e.month()===1&&e.date()===29?(r=_(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Ke(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function ms(e){return e=U(e),B(this[e])?this[e]():this}function ys(e,t){if(typeof e=="object"){e=gt(e);var r=_s(e),s,n=r.length;for(s=0;s<n;s++)this[r[s].unit](e[r[s].unit])}else if(e=U(e),B(this[e]))return this[e](t);return this}var er=/\d/,A=/\d\d/,tr=/\d{3}/,vt=/\d{4}/,qe=/[+-]?\d{6}/,M=/\d\d?/,rr=/\d\d\d\d?/,sr=/\d\d\d\d\d\d?/,Be=/\d{1,3}/,Yt=/\d{1,4}/,Je=/[+-]?\d{1,6}/,De=/\d+/,Qe=/[+-]?\d+/,ws=/Z|[+-]\d\d:?\d\d/gi,Xe=/Z|[+-]\d\d(?::?\d\d)?/gi,Ss=/[+-]?\d+(\.\d{1,3})?/,Re=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ee;Ee={};function u(e,t,r){Ee[e]=B(t)?t:function(s,n){return s&&r?r:t}}function ks(e,t){return w(Ee,e)?Ee[e](t._strict,t._locale):new RegExp(Ds(e))}function Ds(e){return F(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,n,a){return r||s||n||a}))}function F(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ft={};function D(e,t){var r,s=t,n;for(typeof e=="string"&&(e=[e]),te(t)&&(s=function(a,i){i[t]=_(a)}),n=e.length,r=0;r<n;r++)ft[e[r]]=s}function Ne(e,t){D(e,function(r,s,n,a){n._w=n._w||{},t(r,n._w,n,a)})}function ps(e,t,r){t!=null&&w(ft,e)&&ft[e](t,r._a,r,e)}var b=0,X=1,$=2,T=3,H=4,K=5,ue=6,Ms=7,gs=8;function vs(e,t){return(e%t+t)%t}var Y;Array.prototype.indexOf?Y=Array.prototype.indexOf:Y=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=vs(t,12);return e+=(t-r)/12,r===1?Ze(e)?29:28:31-r%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1});h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});h("MMMM",0,0,function(e){return this.localeData().months(this,e)});P("month","M");R("month",8);u("M",M);u("MM",M,A);u("MMM",function(e,t){return t.monthsShortRegex(e)});u("MMMM",function(e,t){return t.monthsRegex(e)});D(["M","MM"],function(e,t){t[X]=_(e)-1});D(["MMM","MMMM"],function(e,t,r,s){var n=r._locale.monthsParse(e,s,r._strict);n!=null?t[X]=n:c(r).invalidMonth=e});var Ys="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ar=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Os=Re,Ts=Re;function xs(e,t){return e?V(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ar).test(t)?"format":"standalone"][e.month()]:V(this._months)?this._months:this._months.standalone}function bs(e,t){return e?V(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ar.test(t)?"format":"standalone"][e.month()]:V(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ps(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)a=q([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null):(n=Y.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:(n=Y.call(this._longMonthsParse,i),n!==-1?n:null)):(n=Y.call(this._longMonthsParse,i),n!==-1?n:(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null))}function Rs(e,t,r){var s,n,a;if(this._monthsParseExact)return Ps.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=q([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function ir(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!te(t))return e}return r=Math.min(e.date(),Ke(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function or(e){return e!=null?(ir(this,e),l.updateOffset(this,!0),this):Ce(this,"Month")}function Ns(){return Ke(this.year(),this.month())}function Ws(e){return this._monthsParseExact?(w(this,"_monthsRegex")||lr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=Os),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Fs(e){return this._monthsParseExact?(w(this,"_monthsRegex")||lr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Ts),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function lr(){function e(i,d){return d.length-i.length}var t=[],r=[],s=[],n,a;for(n=0;n<12;n++)a=q([2e3,n]),t.push(this.monthsShort(a,"")),r.push(this.months(a,"")),s.push(this.months(a,"")),s.push(this.monthsShort(a,""));for(t.sort(e),r.sort(e),s.sort(e),n=0;n<12;n++)t[n]=F(t[n]),r[n]=F(r[n]);for(n=0;n<24;n++)s[n]=F(s[n]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}h("Y",0,0,function(){var e=this.year();return e<=9999?Z(e,4):"+"+e});h(0,["YY",2],0,function(){return this.year()%100});h(0,["YYYY",4],0,"year");h(0,["YYYYY",5],0,"year");h(0,["YYYYYY",6,!0],0,"year");P("year","y");R("year",1);u("Y",Qe);u("YY",M,A);u("YYYY",Yt,vt);u("YYYYY",Je,qe);u("YYYYYY",Je,qe);D(["YYYYY","YYYYYY"],b);D("YYYY",function(e,t){t[b]=e.length===2?l.parseTwoDigitYear(e):_(e)});D("YY",function(e,t){t[b]=l.parseTwoDigitYear(e)});D("Y",function(e,t){t[b]=parseInt(e,10)});function Ye(e){return Ze(e)?366:365}l.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var ur=ke("FullYear",!0);function As(){return Ze(this.year())}function Is(e,t,r,s,n,a,i){var d;return e<100&&e>=0?(d=new Date(e+400,t,r,s,n,a,i),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,r,s,n,a,i),d}function Oe(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,r){var s=7+t-r,n=(7+Oe(e,0,s).getUTCDay()-t)%7;return-n+s-1}function dr(e,t,r,s,n){var a=(7+r-s)%7,i=Ue(e,s,n),d=1+7*(t-1)+a+i,f,m;return d<=0?(f=e-1,m=Ye(f)+d):d>Ye(e)?(f=e+1,m=d-Ye(e)):(f=e,m=d),{year:f,dayOfYear:m}}function Te(e,t,r){var s=Ue(e.year(),t,r),n=Math.floor((e.dayOfYear()-s-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+ee(i,t,r)):n>ee(e.year(),t,r)?(a=n-ee(e.year(),t,r),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function ee(e,t,r){var s=Ue(e,t,r),n=Ue(e+1,t,r);return(Ye(e)-s+n)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");P("week","w");P("isoWeek","W");R("week",5);R("isoWeek",5);u("w",M);u("ww",M,A);u("W",M);u("WW",M,A);Ne(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function Ls(e){return Te(e,this._week.dow,this._week.doy).week}var Cs={dow:0,doy:6};function Es(){return this._week.dow}function Us(){return this._week.doy}function Hs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Vs(e){var t=Te(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day");h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});h("e",0,0,"weekday");h("E",0,0,"isoWeekday");P("day","d");P("weekday","e");P("isoWeekday","E");R("day",11);R("weekday",11);R("isoWeekday",11);u("d",M);u("e",M);u("E",M);u("dd",function(e,t){return t.weekdaysMinRegex(e)});u("ddd",function(e,t){return t.weekdaysShortRegex(e)});u("dddd",function(e,t){return t.weekdaysRegex(e)});Ne(["dd","ddd","dddd"],function(e,t,r,s){var n=r._locale.weekdaysParse(e,s,r._strict);n!=null?t.d=n:c(r).invalidWeekday=e});Ne(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function Gs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function js(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ot(e,t){return e.slice(t,7).concat(e.slice(0,t))}var zs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),hr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$s="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zs=Re,qs=Re,Bs=Re;function Js(e,t){var r=V(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ot(r,this._week.dow):e?r[e.day()]:r}function Qs(e){return e===!0?Ot(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Xs(e){return e===!0?Ot(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ks(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=q([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1||(n=Y.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=Y.call(this._minWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function en(e,t,r){var s,n,a;if(this._weekdaysParseExact)return Ks.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=q([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function tn(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Gs(e,this.localeData()),this.add(e-t,"d")):t}function rn(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function sn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=js(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function nn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Tt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=Zs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function an(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Tt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qs),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function on(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Tt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Bs),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Tt(){function e(k,N){return N.length-k.length}var t=[],r=[],s=[],n=[],a,i,d,f,m;for(a=0;a<7;a++)i=q([2e3,1]).day(a),d=F(this.weekdaysMin(i,"")),f=F(this.weekdaysShort(i,"")),m=F(this.weekdays(i,"")),t.push(d),r.push(f),s.push(m),n.push(d),n.push(f),n.push(m);t.sort(e),r.sort(e),s.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function xt(){return this.hours()%12||12}function ln(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,xt);h("k",["kk",2],0,ln);h("hmm",0,0,function(){return""+xt.apply(this)+Z(this.minutes(),2)});h("hmmss",0,0,function(){return""+xt.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)});h("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)});h("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)});function fr(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}fr("a",!0);fr("A",!1);P("hour","h");R("hour",13);function cr(e,t){return t._meridiemParse}u("a",cr);u("A",cr);u("H",M);u("h",M);u("k",M);u("HH",M,A);u("hh",M,A);u("kk",M,A);u("hmm",rr);u("hmmss",sr);u("Hmm",rr);u("Hmmss",sr);D(["H","HH"],T);D(["k","kk"],function(e,t,r){var s=_(e);t[T]=s===24?0:s});D(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});D(["h","hh"],function(e,t,r){t[T]=_(e),c(r).bigHour=!0});D("hmm",function(e,t,r){var s=e.length-2;t[T]=_(e.substr(0,s)),t[H]=_(e.substr(s)),c(r).bigHour=!0});D("hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[T]=_(e.substr(0,s)),t[H]=_(e.substr(s,2)),t[K]=_(e.substr(n)),c(r).bigHour=!0});D("Hmm",function(e,t,r){var s=e.length-2;t[T]=_(e.substr(0,s)),t[H]=_(e.substr(s))});D("Hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[T]=_(e.substr(0,s)),t[H]=_(e.substr(s,2)),t[K]=_(e.substr(n))});function un(e){return(e+"").toLowerCase().charAt(0)==="p"}var dn=/[ap]\.?m?\.?/i,hn=ke("Hours",!0);function fn(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var _r={calendar:es,longDateFormat:ns,invalidDate:is,ordinal:ls,dayOfMonthOrdinalParse:us,relativeTime:hs,months:Ys,monthsShort:nr,week:Cs,weekdays:zs,weekdaysMin:$s,weekdaysShort:hr,meridiemParse:dn},v={},Me={},xe;function cn(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function Ht(e){return e&&e.toLowerCase().replace("_","-")}function _n(e){for(var t=0,r,s,n,a;t<e.length;){for(a=Ht(e[t]).split("-"),r=a.length,s=Ht(e[t+1]),s=s?s.split("-"):null;r>0;){if(n=et(a.slice(0,r).join("-")),n)return n;if(s&&s.length>=r&&cn(a,s)>=r-1)break;r--}t++}return xe}function mn(e){return e.match("^[^/\\\\]*$")!=null}function et(e){var t=null,r;if(v[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&mn(e))try{t=xe._abbr,r=require,r("./locale/"+e),ie(t)}catch{v[e]=null}return v[e]}function ie(e,t){var r;return e&&(W(t)?r=re(e):r=bt(e,t),r?xe=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),xe._abbr}function bt(e,t){if(t!==null){var r,s=_r;if(t.abbr=e,v[e]!=null)Jt("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."),s=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)s=v[t.parentLocale]._config;else if(r=et(t.parentLocale),r!=null)s=r._config;else return Me[t.parentLocale]||(Me[t.parentLocale]=[]),Me[t.parentLocale].push({name:e,config:t}),null;return v[e]=new pt(dt(s,t)),Me[e]&&Me[e].forEach(function(n){bt(n.name,n.config)}),ie(e),v[e]}else return delete v[e],null}function yn(e,t){if(t!=null){var r,s,n=_r;v[e]!=null&&v[e].parentLocale!=null?v[e].set(dt(v[e]._config,t)):(s=et(e),s!=null&&(n=s._config),t=dt(n,t),s==null&&(t.abbr=e),r=new pt(t),r.parentLocale=v[e],v[e]=r),ie(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===ie()&&ie(e)):v[e]!=null&&delete v[e]);return v[e]}function re(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return xe;if(!V(e)){if(t=et(e),t)return t;e=[e]}return _n(e)}function wn(){return ht(v)}function Pt(e){var t,r=e._a;return r&&c(e).overflow===-2&&(t=r[X]<0||r[X]>11?X:r[$]<1||r[$]>Ke(r[b],r[X])?$:r[T]<0||r[T]>24||r[T]===24&&(r[H]!==0||r[K]!==0||r[ue]!==0)?T:r[H]<0||r[H]>59?H:r[K]<0||r[K]>59?K:r[ue]<0||r[ue]>999?ue:-1,c(e)._overflowDayOfYear&&(t<b||t>$)&&(t=$),c(e)._overflowWeeks&&t===-1&&(t=Ms),c(e)._overflowWeekday&&t===-1&&(t=gs),c(e).overflow=t),e}var Sn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Dn=/Z|[+-]\d\d(?::?\d\d)?/,Fe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ot=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pn=/^\/?Date\((-?\d+)/i,Mn=/^(?:(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{4}))$/,gn={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function mr(e){var t,r,s=e._i,n=Sn.exec(s)||kn.exec(s),a,i,d,f,m=Fe.length,k=ot.length;if(n){for(c(e).iso=!0,t=0,r=m;t<r;t++)if(Fe[t][1].exec(n[1])){i=Fe[t][0],a=Fe[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,r=k;t<r;t++)if(ot[t][1].exec(n[3])){d=(n[2]||" ")+ot[t][0];break}if(d==null){e._isValid=!1;return}}if(!a&&d!=null){e._isValid=!1;return}if(n[4])if(Dn.exec(n[4]))f="Z";else{e._isValid=!1;return}e._f=i+(d||"")+(f||""),Nt(e)}else e._isValid=!1}function vn(e,t,r,s,n,a){var i=[Yn(e),nr.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function Yn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function On(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Tn(e,t,r){if(e){var s=hr.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(s!==n)return c(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function xn(e,t,r){if(e)return gn[e];if(t)return 0;var s=parseInt(r,10),n=s%100,a=(s-n)/100;return a*60+n}function yr(e){var t=Mn.exec(On(e._i)),r;if(t){if(r=vn(t[4],t[3],t[2],t[5],t[6],t[7]),!Tn(t[1],r,e))return;e._a=r,e._tzm=xn(t[8],t[9],t[10]),e._d=Oe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function bn(e){var t=pn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(mr(e),e._isValid===!1)delete e._isValid;else return;if(yr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function _e(e,t,r){return e!=null?e:t!=null?t:r}function Pn(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Rt(e){var t,r,s=[],n,a,i;if(!e._d){for(n=Pn(e),e._w&&e._a[$]==null&&e._a[X]==null&&Rn(e),e._dayOfYear!=null&&(i=_e(e._a[b],n[b]),(e._dayOfYear>Ye(i)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),r=Oe(i,0,e._dayOfYear),e._a[X]=r.getUTCMonth(),e._a[$]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=n[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[T]===24&&e._a[H]===0&&e._a[K]===0&&e._a[ue]===0&&(e._nextDay=!0,e._a[T]=0),e._d=(e._useUTC?Oe:Is).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[T]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(c(e).weekdayMismatch=!0)}}function Rn(e){var t,r,s,n,a,i,d,f,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,r=_e(t.GG,e._a[b],Te(p(),1,4).year),s=_e(t.W,1),n=_e(t.E,1),(n<1||n>7)&&(f=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,m=Te(p(),a,i),r=_e(t.gg,e._a[b],m.year),s=_e(t.w,m.week),t.d!=null?(n=t.d,(n<0||n>6)&&(f=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(f=!0)):n=a),s<1||s>ee(r,a,i)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(d=dr(r,s,n,a,i),e._a[b]=d.year,e._dayOfYear=d.dayOfYear)}l.ISO_8601=function(){};l.RFC_2822=function(){};function Nt(e){if(e._f===l.ISO_8601){mr(e);return}if(e._f===l.RFC_2822){yr(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,r,s,n,a,i,d=t.length,f=0,m,k;for(n=Qt(e._f,e._locale).match(Mt)||[],k=n.length,r=0;r<k;r++)a=n[r],s=(t.match(ks(a,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&c(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),f+=s.length),ye[a]?(s?c(e).empty=!1:c(e).unusedTokens.push(a),ps(a,s,e)):e._strict&&!s&&c(e).unusedTokens.push(a);c(e).charsLeftOver=d-f,t.length>0&&c(e).unusedInput.push(t),e._a[T]<=12&&c(e).bigHour===!0&&e._a[T]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[T]=Nn(e._locale,e._a[T],e._meridiem),m=c(e).era,m!==null&&(e._a[b]=e._locale.erasConvertYear(m,e._a[b])),Rt(e),Pt(e)}function Nn(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Wn(e){var t,r,s,n,a,i,d=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<f;n++)a=0,i=!1,t=Dt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],Nt(t),kt(t)&&(i=!0),a+=c(t).charsLeftOver,a+=c(t).unusedTokens.length*10,c(t).score=a,d?a<s&&(s=a,r=t):(s==null||a<s||i)&&(s=a,r=t,i&&(d=!0));ne(e,r||t)}function Fn(e){if(!e._d){var t=gt(e._i),r=t.day===void 0?t.date:t.day;e._a=qt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),Rt(e)}}function An(e){var t=new Pe(Pt(wr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function wr(e){var t=e._i,r=e._f;return e._locale=e._locale||re(e._l),t===null||r===void 0&&t===""?$e({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),G(t)?new Pe(Pt(t)):(be(t)?e._d=t:V(r)?Wn(e):r?Nt(e):In(e),kt(e)||(e._d=null),e))}function In(e){var t=e._i;W(t)?e._d=new Date(l.now()):be(t)?e._d=new Date(t.valueOf()):typeof t=="string"?bn(e):V(t)?(e._a=qt(t.slice(0),function(r){return parseInt(r,10)}),Rt(e)):he(t)?Fn(e):te(t)?e._d=new Date(t):l.createFromInputFallback(e)}function Sr(e,t,r,s,n){var a={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(he(e)&&St(e)||V(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=r,a._i=e,a._f=t,a._strict=s,An(a)}function p(e,t,r,s){return Sr(e,t,r,s,!1)}var Ln=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=p.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:$e()}),Cn=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=p.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:$e()});function kr(e,t){var r,s;if(t.length===1&&V(t[0])&&(t=t[0]),!t.length)return p();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function En(){var e=[].slice.call(arguments,0);return kr("isBefore",e)}function Un(){var e=[].slice.call(arguments,0);return kr("isAfter",e)}var Hn=function(){return Date.now?Date.now():+new Date},ge=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Vn(e){var t,r=!1,s,n=ge.length;for(t in e)if(w(e,t)&&!(Y.call(ge,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<n;++s)if(e[ge[s]]){if(r)return!1;parseFloat(e[ge[s]])!==_(e[ge[s]])&&(r=!0)}return!0}function Gn(){return this._isValid}function jn(){return j(NaN)}function tt(e){var t=gt(e),r=t.year||0,s=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,d=t.hour||0,f=t.minute||0,m=t.second||0,k=t.millisecond||0;this._isValid=Vn(t),this._milliseconds=+k+m*1e3+f*6e4+d*1e3*60*60,this._days=+i+a*7,this._months=+n+s*3+r*12,this._data={},this._locale=re(),this._bubble()}function Ie(e){return e instanceof tt}function ct(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function zn(e,t,r){var s=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<s;i++)(r&&e[i]!==t[i]||!r&&_(e[i])!==_(t[i]))&&a++;return a+n}function Dr(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+Z(~~(r/60),2)+t+Z(~~r%60,2)})}Dr("Z",":");Dr("ZZ","");u("Z",Xe);u("ZZ",Xe);D(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Wt(Xe,e)});var $n=/([\+\-]|\d\d)/gi;function Wt(e,t){var r=(t||"").match(e),s,n,a;return r===null?null:(s=r[r.length-1]||[],n=(s+"").match($n)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function Ft(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(G(e)||be(e)?e.valueOf():p(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),l.updateOffset(r,!1),r):p(e).local()}function _t(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function Zn(e,t,r){var s=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Wt(Xe,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(n=_t(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?gr(this,j(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:_t(this)}function qn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Bn(e){return this.utcOffset(0,e)}function Jn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(_t(this),"m")),this}function Qn(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Wt(ws,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Xn(e){return this.isValid()?(e=e?p(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Kn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ea(){if(!W(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Dt(e,this),e=wr(e),e._a?(t=e._isUTC?q(e._a):p(e._a),this._isDSTShifted=this.isValid()&&zn(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ta(){return this.isValid()?!this._isUTC:!1}function ra(){return this.isValid()?this._isUTC:!1}function pr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var sa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,na=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function j(e,t){var r=e,s=null,n,a,i;return Ie(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:te(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=sa.exec(e))?(n=s[1]==="-"?-1:1,r={y:0,d:_(s[$])*n,h:_(s[T])*n,m:_(s[H])*n,s:_(s[K])*n,ms:_(ct(s[ue]*1e3))*n}):(s=na.exec(e))?(n=s[1]==="-"?-1:1,r={y:le(s[2],n),M:le(s[3],n),w:le(s[4],n),d:le(s[5],n),h:le(s[6],n),m:le(s[7],n),s:le(s[8],n)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=aa(p(r.from),p(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),a=new tt(r),Ie(e)&&w(e,"_locale")&&(a._locale=e._locale),Ie(e)&&w(e,"_isValid")&&(a._isValid=e._isValid),a}j.fn=tt.prototype;j.invalid=jn;function le(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Vt(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function aa(e,t){var r;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?r=Vt(e,t):(r=Vt(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Mr(e,t){return function(r,s){var n,a;return s!==null&&!isNaN(+s)&&(Jt(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=s,s=a),n=j(r,s),gr(this,n,e),this}}function gr(e,t,r,s){var n=t._milliseconds,a=ct(t._days),i=ct(t._months);!e.isValid()||(s=s==null?!0:s,i&&ir(e,Ce(e,"Month")+i*r),a&&Kt(e,"Date",Ce(e,"Date")+a*r),n&&e._d.setTime(e._d.valueOf()+n*r),s&&l.updateOffset(e,a||i))}var ia=Mr(1,"add"),oa=Mr(-1,"subtract");function vr(e){return typeof e=="string"||e instanceof String}function la(e){return G(e)||be(e)||vr(e)||te(e)||da(e)||ua(e)||e===null||e===void 0}function ua(e){var t=he(e)&&!St(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,i=s.length;for(n=0;n<i;n+=1)a=s[n],r=r||w(e,a);return t&&r}function da(e){var t=V(e),r=!1;return t&&(r=e.filter(function(s){return!te(s)&&vr(e)}).length===0),t&&r}function ha(e){var t=he(e)&&!St(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<s.length;n+=1)a=s[n],r=r||w(e,a);return t&&r}function fa(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function ca(e,t){arguments.length===1&&(arguments[0]?la(arguments[0])?(e=arguments[0],t=void 0):ha(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||p(),s=Ft(r,this).startOf("day"),n=l.calendarFormat(this,s)||"sameElse",a=t&&(B(t[n])?t[n].call(this,r):t[n]);return this.format(a||this.localeData().calendar(n,this,p(r)))}function _a(){return new Pe(this)}function ma(e,t){var r=G(e)?e:p(e);return this.isValid()&&r.isValid()?(t=U(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function ya(e,t){var r=G(e)?e:p(e);return this.isValid()&&r.isValid()?(t=U(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function wa(e,t,r,s){var n=G(e)?e:p(e),a=G(t)?t:p(t);return this.isValid()&&n.isValid()&&a.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(n,r):!this.isBefore(n,r))&&(s[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function Sa(e,t){var r=G(e)?e:p(e),s;return this.isValid()&&r.isValid()?(t=U(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function ka(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Da(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function pa(e,t,r){var s,n,a;if(!this.isValid())return NaN;if(s=Ft(e,this),!s.isValid())return NaN;switch(n=(s.utcOffset()-this.utcOffset())*6e4,t=U(t),t){case"year":a=Le(this,s)/12;break;case"month":a=Le(this,s);break;case"quarter":a=Le(this,s)/3;break;case"second":a=(this-s)/1e3;break;case"minute":a=(this-s)/6e4;break;case"hour":a=(this-s)/36e5;break;case"day":a=(this-s-n)/864e5;break;case"week":a=(this-s-n)/6048e5;break;default:a=this-s}return r?a:C(a)}function Le(e,t){if(e.date()<t.date())return-Le(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),n,a;return t-s<0?(n=e.clone().add(r-1,"months"),a=(t-s)/(s-n)):(n=e.clone().add(r+1,"months"),a=(t-s)/(n-s)),-(r+a)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ma(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ga(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Ae(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):B(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ae(r,"Z")):Ae(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function va(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+s+n+a)}function Ya(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Ae(this,e);return this.localeData().postformat(t)}function Oa(e,t){return this.isValid()&&(G(e)&&e.isValid()||p(e).isValid())?j({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ta(e){return this.from(p(),e)}function xa(e,t){return this.isValid()&&(G(e)&&e.isValid()||p(e).isValid())?j({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ba(e){return this.to(p(),e)}function Yr(e){var t;return e===void 0?this._locale._abbr:(t=re(e),t!=null&&(this._locale=t),this)}var Or=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Tr(){return this._locale}var He=1e3,we=60*He,Ve=60*we,xr=(365*400+97)*24*Ve;function Se(e,t){return(e%t+t)%t}function br(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-xr:new Date(e,t,r).valueOf()}function Pr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-xr:Date.UTC(e,t,r)}function Pa(e){var t,r;if(e=U(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Pr:br,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Se(t+(this._isUTC?0:this.utcOffset()*we),Ve);break;case"minute":t=this._d.valueOf(),t-=Se(t,we);break;case"second":t=this._d.valueOf(),t-=Se(t,He);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Ra(e){var t,r;if(e=U(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Pr:br,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ve-Se(t+(this._isUTC?0:this.utcOffset()*we),Ve)-1;break;case"minute":t=this._d.valueOf(),t+=we-Se(t,we)-1;break;case"second":t=this._d.valueOf(),t+=He-Se(t,He)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Na(){return this._d.valueOf()-(this._offset||0)*6e4}function Wa(){return Math.floor(this.valueOf()/1e3)}function Fa(){return new Date(this.valueOf())}function Aa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ia(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function La(){return this.isValid()?this.toISOString():null}function Ca(){return kt(this)}function Ea(){return ne({},c(this))}function Ua(){return c(this).overflow}function Ha(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr");h("NN",0,0,"eraAbbr");h("NNN",0,0,"eraAbbr");h("NNNN",0,0,"eraName");h("NNNNN",0,0,"eraNarrow");h("y",["y",1],"yo","eraYear");h("y",["yy",2],0,"eraYear");h("y",["yyy",3],0,"eraYear");h("y",["yyyy",4],0,"eraYear");u("N",At);u("NN",At);u("NNN",At);u("NNNN",Xa);u("NNNNN",Ka);D(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var n=r._locale.erasParse(e,s,r._strict);n?c(r).era=n:c(r).invalidEra=e});u("y",De);u("yy",De);u("yyy",De);u("yyyy",De);u("yo",ei);D(["y","yy","yyy","yyyy"],b);D(["yo"],function(e,t,r,s){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[b]=r._locale.eraYearOrdinalParse(e,n):t[b]=parseInt(e,10)});function Va(e,t){var r,s,n,a=this._eras||re("en")._eras;for(r=0,s=a.length;r<s;++r){switch(typeof a[r].since){case"string":n=l(a[r].since).startOf("day"),a[r].since=n.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":n=l(a[r].until).startOf("day").valueOf(),a[r].until=n.valueOf();break}}return a}function Ga(e,t,r){var s,n,a=this.eras(),i,d,f;for(e=e.toUpperCase(),s=0,n=a.length;s<n;++s)if(i=a[s].name.toUpperCase(),d=a[s].abbr.toUpperCase(),f=a[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(d===e)return a[s];break;case"NNNN":if(i===e)return a[s];break;case"NNNNN":if(f===e)return a[s];break}else if([i,d,f].indexOf(e)>=0)return a[s]}function ja(e,t){var r=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*r}function za(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function $a(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function Za(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function qa(){var e,t,r,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=n[e].since<=n[e].until?1:-1,s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return(this.year()-l(n[e].since).year())*r+n[e].offset;return this.year()}function Ba(e){return w(this,"_erasNameRegex")||It.call(this),e?this._erasNameRegex:this._erasRegex}function Ja(e){return w(this,"_erasAbbrRegex")||It.call(this),e?this._erasAbbrRegex:this._erasRegex}function Qa(e){return w(this,"_erasNarrowRegex")||It.call(this),e?this._erasNarrowRegex:this._erasRegex}function At(e,t){return t.erasAbbrRegex(e)}function Xa(e,t){return t.erasNameRegex(e)}function Ka(e,t){return t.erasNarrowRegex(e)}function ei(e,t){return t._eraYearOrdinalRegex||De}function It(){var e=[],t=[],r=[],s=[],n,a,i=this.eras();for(n=0,a=i.length;n<a;++n)t.push(F(i[n].name)),e.push(F(i[n].abbr)),r.push(F(i[n].narrow)),s.push(F(i[n].name)),s.push(F(i[n].abbr)),s.push(F(i[n].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100});h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function rt(e,t){h(0,[e,e.length],0,t)}rt("gggg","weekYear");rt("ggggg","weekYear");rt("GGGG","isoWeekYear");rt("GGGGG","isoWeekYear");P("weekYear","gg");P("isoWeekYear","GG");R("weekYear",1);R("isoWeekYear",1);u("G",Qe);u("g",Qe);u("GG",M,A);u("gg",M,A);u("GGGG",Yt,vt);u("gggg",Yt,vt);u("GGGGG",Je,qe);u("ggggg",Je,qe);Ne(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)});Ne(["gg","GG"],function(e,t,r,s){t[s]=l.parseTwoDigitYear(e)});function ti(e){return Rr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ri(e){return Rr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function si(){return ee(this.year(),1,4)}function ni(){return ee(this.isoWeekYear(),1,4)}function ai(){var e=this.localeData()._week;return ee(this.year(),e.dow,e.doy)}function ii(){var e=this.localeData()._week;return ee(this.weekYear(),e.dow,e.doy)}function Rr(e,t,r,s,n){var a;return e==null?Te(this,s,n).year:(a=ee(e,s,n),t>a&&(t=a),oi.call(this,e,t,r,s,n))}function oi(e,t,r,s,n){var a=dr(e,t,r,s,n),i=Oe(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter");P("quarter","Q");R("quarter",7);u("Q",er);D("Q",function(e,t){t[X]=(_(e)-1)*3});function li(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");P("date","D");R("date",9);u("D",M);u("DD",M,A);u("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});D(["D","DD"],$);D("Do",function(e,t){t[$]=_(e.match(M)[0])});var Nr=ke("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");P("dayOfYear","DDD");R("dayOfYear",4);u("DDD",Be);u("DDDD",tr);D(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function ui(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute");P("minute","m");R("minute",14);u("m",M);u("mm",M,A);D(["m","mm"],H);var di=ke("Minutes",!1);h("s",["ss",2],0,"second");P("second","s");R("second",15);u("s",M);u("ss",M,A);D(["s","ss"],K);var hi=ke("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)});h(0,["SS",2],0,function(){return~~(this.millisecond()/10)});h(0,["SSS",3],0,"millisecond");h(0,["SSSS",4],0,function(){return this.millisecond()*10});h(0,["SSSSS",5],0,function(){return this.millisecond()*100});h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});P("millisecond","ms");R("millisecond",16);u("S",Be,er);u("SS",Be,A);u("SSS",Be,tr);var ae,Wr;for(ae="SSSS";ae.length<=9;ae+="S")u(ae,De);function fi(e,t){t[ue]=_(("0."+e)*1e3)}for(ae="S";ae.length<=9;ae+="S")D(ae,fi);Wr=ke("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function ci(){return this._isUTC?"UTC":""}function _i(){return this._isUTC?"Coordinated Universal Time":""}var o=Pe.prototype;o.add=ia;o.calendar=ca;o.clone=_a;o.diff=pa;o.endOf=Ra;o.format=Ya;o.from=Oa;o.fromNow=Ta;o.to=xa;o.toNow=ba;o.get=ms;o.invalidAt=Ua;o.isAfter=ma;o.isBefore=ya;o.isBetween=wa;o.isSame=Sa;o.isSameOrAfter=ka;o.isSameOrBefore=Da;o.isValid=Ca;o.lang=Or;o.locale=Yr;o.localeData=Tr;o.max=Cn;o.min=Ln;o.parsingFlags=Ea;o.set=ys;o.startOf=Pa;o.subtract=oa;o.toArray=Aa;o.toObject=Ia;o.toDate=Fa;o.toISOString=ga;o.inspect=va;typeof Symbol!="undefined"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=La;o.toString=Ma;o.unix=Wa;o.valueOf=Na;o.creationData=Ha;o.eraName=za;o.eraNarrow=$a;o.eraAbbr=Za;o.eraYear=qa;o.year=ur;o.isLeapYear=As;o.weekYear=ti;o.isoWeekYear=ri;o.quarter=o.quarters=li;o.month=or;o.daysInMonth=Ns;o.week=o.weeks=Hs;o.isoWeek=o.isoWeeks=Vs;o.weeksInYear=ai;o.weeksInWeekYear=ii;o.isoWeeksInYear=si;o.isoWeeksInISOWeekYear=ni;o.date=Nr;o.day=o.days=tn;o.weekday=rn;o.isoWeekday=sn;o.dayOfYear=ui;o.hour=o.hours=hn;o.minute=o.minutes=di;o.second=o.seconds=hi;o.millisecond=o.milliseconds=Wr;o.utcOffset=Zn;o.utc=Bn;o.local=Jn;o.parseZone=Qn;o.hasAlignedHourOffset=Xn;o.isDST=Kn;o.isLocal=ta;o.isUtcOffset=ra;o.isUtc=pr;o.isUTC=pr;o.zoneAbbr=ci;o.zoneName=_i;o.dates=E("dates accessor is deprecated. Use date instead.",Nr);o.months=E("months accessor is deprecated. Use month instead",or);o.years=E("years accessor is deprecated. Use year instead",ur);o.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",qn);o.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ea);function mi(e){return p(e*1e3)}function yi(){return p.apply(null,arguments).parseZone()}function Fr(e){return e}var S=pt.prototype;S.calendar=ts;S.longDateFormat=as;S.invalidDate=os;S.ordinal=ds;S.preparse=Fr;S.postformat=Fr;S.relativeTime=fs;S.pastFuture=cs;S.set=Kr;S.eras=Va;S.erasParse=Ga;S.erasConvertYear=ja;S.erasAbbrRegex=Ja;S.erasNameRegex=Ba;S.erasNarrowRegex=Qa;S.months=xs;S.monthsShort=bs;S.monthsParse=Rs;S.monthsRegex=Fs;S.monthsShortRegex=Ws;S.week=Ls;S.firstDayOfYear=Us;S.firstDayOfWeek=Es;S.weekdays=Js;S.weekdaysMin=Xs;S.weekdaysShort=Qs;S.weekdaysParse=en;S.weekdaysRegex=nn;S.weekdaysShortRegex=an;S.weekdaysMinRegex=on;S.isPM=un;S.meridiem=fn;function Ge(e,t,r,s){var n=re(),a=q().set(s,t);return n[r](a,e)}function Ar(e,t,r){if(te(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ge(e,t,r,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Ge(e,s,r,"month");return n}function Lt(e,t,r,s){typeof e=="boolean"?(te(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,te(t)&&(r=t,t=void 0),t=t||"");var n=re(),a=e?n._week.dow:0,i,d=[];if(r!=null)return Ge(t,(r+a)%7,s,"day");for(i=0;i<7;i++)d[i]=Ge(t,(i+a)%7,s,"day");return d}function wi(e,t){return Ar(e,t,"months")}function Si(e,t){return Ar(e,t,"monthsShort")}function ki(e,t,r){return Lt(e,t,r,"weekdays")}function Di(e,t,r){return Lt(e,t,r,"weekdaysShort")}function pi(e,t,r){return Lt(e,t,r,"weekdaysMin")}ie("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});l.lang=E("moment.lang is deprecated. Use moment.locale instead.",ie);l.langData=E("moment.langData is deprecated. Use moment.localeData instead.",re);var J=Math.abs;function Mi(){var e=this._data;return this._milliseconds=J(this._milliseconds),this._days=J(this._days),this._months=J(this._months),e.milliseconds=J(e.milliseconds),e.seconds=J(e.seconds),e.minutes=J(e.minutes),e.hours=J(e.hours),e.months=J(e.months),e.years=J(e.years),this}function Ir(e,t,r,s){var n=j(t,r);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function gi(e,t){return Ir(this,e,t,1)}function vi(e,t){return Ir(this,e,t,-1)}function Gt(e){return e<0?Math.floor(e):Math.ceil(e)}function Yi(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,n,a,i,d,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Gt(mt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,n=C(e/1e3),s.seconds=n%60,a=C(n/60),s.minutes=a%60,i=C(a/60),s.hours=i%24,t+=C(i/24),f=C(Lr(t)),r+=f,t-=Gt(mt(f)),d=C(r/12),r%=12,s.days=t,s.months=r,s.years=d,this}function Lr(e){return e*4800/146097}function mt(e){return e*146097/4800}function Oi(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=U(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Lr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(mt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Ti(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+_(this._months/12)*31536e6:NaN}function se(e){return function(){return this.as(e)}}var xi=se("ms"),bi=se("s"),Pi=se("m"),Ri=se("h"),Ni=se("d"),Wi=se("w"),Fi=se("M"),Ai=se("Q"),Ii=se("y");function Li(){return j(this)}function Ci(e){return e=U(e),this.isValid()?this[e+"s"]():NaN}function fe(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ei=fe("milliseconds"),Ui=fe("seconds"),Hi=fe("minutes"),Vi=fe("hours"),Gi=fe("days"),ji=fe("months"),zi=fe("years");function $i(){return C(this.days()/7)}var Q=Math.round,me={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zi(e,t,r,s,n){return n.relativeTime(t||1,!!r,e,s)}function qi(e,t,r,s){var n=j(e).abs(),a=Q(n.as("s")),i=Q(n.as("m")),d=Q(n.as("h")),f=Q(n.as("d")),m=Q(n.as("M")),k=Q(n.as("w")),N=Q(n.as("y")),x=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||i<=1&&["m"]||i<r.m&&["mm",i]||d<=1&&["h"]||d<r.h&&["hh",d]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(x=x||k<=1&&["w"]||k<r.w&&["ww",k]),x=x||m<=1&&["M"]||m<r.M&&["MM",m]||N<=1&&["y"]||["yy",N],x[2]=t,x[3]=+e>0,x[4]=s,Zi.apply(null,x)}function Bi(e){return e===void 0?Q:typeof e=="function"?(Q=e,!0):!1}function Ji(e,t){return me[e]===void 0?!1:t===void 0?me[e]:(me[e]=t,e==="s"&&(me.ss=t-1),!0)}function Qi(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=me,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},me,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),n=this.localeData(),a=qi(this,!r,s,n),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var lt=Math.abs;function ce(e){return(e>0)-(e<0)||+e}function st(){if(!this.isValid())return this.localeData().invalidDate();var e=lt(this._milliseconds)/1e3,t=lt(this._days),r=lt(this._months),s,n,a,i,d=this.asSeconds(),f,m,k,N;return d?(s=C(e/60),n=C(s/60),e%=60,s%=60,a=C(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=d<0?"-":"",m=ce(this._months)!==ce(d)?"-":"",k=ce(this._days)!==ce(d)?"-":"",N=ce(this._milliseconds)!==ce(d)?"-":"",f+"P"+(a?m+a+"Y":"")+(r?m+r+"M":"")+(t?k+t+"D":"")+(n||s||e?"T":"")+(n?N+n+"H":"")+(s?N+s+"M":"")+(e?N+i+"S":"")):"P0D"}var y=tt.prototype;y.isValid=Gn;y.abs=Mi;y.add=gi;y.subtract=vi;y.as=Oi;y.asMilliseconds=xi;y.asSeconds=bi;y.asMinutes=Pi;y.asHours=Ri;y.asDays=Ni;y.asWeeks=Wi;y.asMonths=Fi;y.asQuarters=Ai;y.asYears=Ii;y.valueOf=Ti;y._bubble=Yi;y.clone=Li;y.get=Ci;y.milliseconds=Ei;y.seconds=Ui;y.minutes=Hi;y.hours=Vi;y.days=Gi;y.weeks=$i;y.months=ji;y.years=zi;y.humanize=Qi;y.toISOString=st;y.toString=st;y.toJSON=st;y.locale=Yr;y.localeData=Tr;y.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",st);y.lang=Or;h("X",0,0,"unix");h("x",0,0,"valueOf");u("x",Qe);u("X",Ss);D("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});D("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
|
|
18
|
-
|
|
9
|
+
*/var Ye;function br(){if(Ye)return H;Ye=1;var f=Be.default,u=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,_=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function R(T,m,S){var E,h={},x=null,k=null;S!==void 0&&(x=""+S),m.key!==void 0&&(x=""+m.key),m.ref!==void 0&&(k=m.ref);for(E in m)d.call(m,E)&&!p.hasOwnProperty(E)&&(h[E]=m[E]);if(T&&T.defaultProps)for(E in m=T.defaultProps,m)h[E]===void 0&&(h[E]=m[E]);return{$$typeof:u,type:T,key:x,ref:k,props:h,_owner:_.current}}return H.Fragment=c,H.jsx=R,H.jsxs=R,H}var G={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Le;function Rr(){return Le||(Le=1,process.env.NODE_ENV!=="production"&&function(){var f=Be.default,u=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),T=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),j=Symbol.iterator,W="@@iterator";function N(e){if(e===null||typeof e!="object")return null;var r=j&&e[j]||e[W];return typeof r=="function"?r:null}var a=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function s(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];B("error",e,t)}}function B(e,r,t){{var n=a.ReactDebugCurrentFrame,l=n.getStackAddendum();l!==""&&(r+="%s",t=t.concat([l]));var v=t.map(function(i){return String(i)});v.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,v)}}var V=!1,C=!1,J=!1,z=!1,qe=!1,me;me=Symbol.for("react.module.reference");function He(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===p||qe||e===_||e===S||e===E||z||e===k||V||C||J||typeof e=="object"&&e!==null&&(e.$$typeof===x||e.$$typeof===h||e.$$typeof===R||e.$$typeof===T||e.$$typeof===m||e.$$typeof===me||e.getModuleId!==void 0))}function Ge(e,r,t){var n=e.displayName;if(n)return n;var l=r.displayName||r.name||"";return l!==""?t+"("+l+")":t}function he(e){return e.displayName||"Context"}function I(e){if(e==null)return null;if(typeof e.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case p:return"Profiler";case _:return"StrictMode";case S:return"Suspense";case E:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case T:var r=e;return he(r)+".Consumer";case R:var t=e;return he(t._context)+".Provider";case m:return Ge(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:I(e.type)||"Memo";case x:{var l=e,v=l._payload,i=l._init;try{return I(i(v))}catch{return null}}}return null}var Y=Object.assign,U=0,_e,ge,ye,Ee,be,Re,Te;function Se(){}Se.__reactDisabledLog=!0;function Je(){{if(U===0){_e=console.log,ge=console.info,ye=console.warn,Ee=console.error,be=console.group,Re=console.groupCollapsed,Te=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}U++}}function ze(){{if(U--,U===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Y({},e,{value:_e}),info:Y({},e,{value:ge}),warn:Y({},e,{value:ye}),error:Y({},e,{value:Ee}),group:Y({},e,{value:be}),groupCollapsed:Y({},e,{value:Re}),groupEnd:Y({},e,{value:Te})})}U<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var te=a.ReactCurrentDispatcher,ne;function K(e,r,t){{if(ne===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);ne=n&&n[1]||""}return`
|
|
18
|
+
`+ne+e}}var ae=!1,Q;{var Ke=typeof WeakMap=="function"?WeakMap:Map;Q=new Ke}function we(e,r){if(!e||ae)return"";{var t=Q.get(e);if(t!==void 0)return t}var n;ae=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=te.current,te.current=null,Je();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(F){n=F}Reflect.construct(e,[],i)}else{try{i.call()}catch(F){n=F}e.call(i.prototype)}}else{try{throw Error()}catch(F){n=F}e()}}catch(F){if(F&&n&&typeof F.stack=="string"){for(var o=F.stack.split(`
|
|
19
|
+
`),w=n.stack.split(`
|
|
20
|
+
`),g=o.length-1,b=w.length-1;g>=1&&b>=0&&o[g]!==w[b];)b--;for(;g>=1&&b>=0;g--,b--)if(o[g]!==w[b]){if(g!==1||b!==1)do if(g--,b--,b<0||o[g]!==w[b]){var D=`
|
|
21
|
+
`+o[g].replace(" at new "," at ");return e.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",e.displayName)),typeof e=="function"&&Q.set(e,D),D}while(g>=1&&b>=0);break}}}finally{ae=!1,te.current=v,ze(),Error.prepareStackTrace=l}var M=e?e.displayName||e.name:"",Ve=M?K(M):"";return typeof e=="function"&&Q.set(e,Ve),Ve}function Qe(e,r,t){return we(e,!1)}function Xe(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function X(e,r,t){if(e==null)return"";if(typeof e=="function")return we(e,Xe(e));if(typeof e=="string")return K(e);switch(e){case S:return K("Suspense");case E:return K("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case m:return Qe(e.render);case h:return X(e.type,r,t);case x:{var n=e,l=n._payload,v=n._init;try{return X(v(l),r,t)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,Ce={},xe=a.ReactDebugCurrentFrame;function ee(e){if(e){var r=e._owner,t=X(e.type,e._source,r?r.type:null);xe.setExtraStackFrame(t)}else xe.setExtraStackFrame(null)}function Ze(e,r,t,n,l){{var v=Function.call.bind(Z);for(var i in e)if(v(e,i)){var o=void 0;try{if(typeof e[i]!="function"){var w=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}o=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(g){o=g}o&&!(o instanceof Error)&&(ee(l),s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof o),ee(null)),o instanceof Error&&!(o.message in Ce)&&(Ce[o.message]=!0,ee(l),s("Failed %s type: %s",t,o.message),ee(null))}}}var er=Array.isArray;function oe(e){return er(e)}function rr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function tr(e){try{return De(e),!1}catch{return!0}}function De(e){return""+e}function Pe(e){if(tr(e))return s("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",rr(e)),De(e)}var q=a.ReactCurrentOwner,nr={key:!0,ref:!0,__self:!0,__source:!0},ke,Ae,ie;ie={};function ar(e){if(Z.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function or(e){if(Z.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ir(e,r){if(typeof e.ref=="string"&&q.current&&r&&q.current.stateNode!==r){var t=I(q.current.type);ie[t]||(s('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',I(q.current.type),e.ref),ie[t]=!0)}}function ur(e,r){{var t=function(){ke||(ke=!0,s("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function lr(e,r){{var t=function(){Ae||(Ae=!0,s("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var cr=function(e,r,t,n,l,v,i){var o={$$typeof:u,type:e,key:r,ref:t,props:i,_owner:v};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function sr(e,r,t,n,l){{var v,i={},o=null,w=null;t!==void 0&&(Pe(t),o=""+t),or(r)&&(Pe(r.key),o=""+r.key),ar(r)&&(w=r.ref,ir(r,l));for(v in r)Z.call(r,v)&&!nr.hasOwnProperty(v)&&(i[v]=r[v]);if(e&&e.defaultProps){var g=e.defaultProps;for(v in g)i[v]===void 0&&(i[v]=g[v])}if(o||w){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&ur(i,b),w&&lr(i,b)}return cr(e,o,w,l,n,q.current,i)}}var ue=a.ReactCurrentOwner,je=a.ReactDebugCurrentFrame;function L(e){if(e){var r=e._owner,t=X(e.type,e._source,r?r.type:null);je.setExtraStackFrame(t)}else je.setExtraStackFrame(null)}var le;le=!1;function ce(e){return typeof e=="object"&&e!==null&&e.$$typeof===u}function Oe(){{if(ue.current){var e=I(ue.current.type);if(e)return`
|
|
22
|
+
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function fr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
|
|
24
|
+
|
|
25
|
+
Check your code at `+r+":"+t+"."}return""}}var Ie={};function dr(e){{var r=Oe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
26
|
+
|
|
27
|
+
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=dr(r);if(Ie[t])return;Ie[t]=!0;var n="";e&&e._owner&&e._owner!==ue.current&&(n=" It was passed a child from "+I(e._owner.type)+"."),L(e),s('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),L(null)}}function $e(e,r){{if(typeof e!="object")return;if(oe(e))for(var t=0;t<e.length;t++){var n=e[t];ce(n)&&Fe(n,r)}else if(ce(e))e._store&&(e._store.validated=!0);else if(e){var l=N(e);if(typeof l=="function"&&l!==e.entries)for(var v=l.call(e),i;!(i=v.next()).done;)ce(i.value)&&Fe(i.value,r)}}}function vr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===m||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=I(r);Ze(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!le){le=!0;var l=I(r);s("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",l||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&s("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){L(e),s("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),L(null);break}}e.ref!==null&&(L(e),s("Invalid attribute `ref` supplied to `React.Fragment`."),L(null))}}function We(e,r,t,n,l,v){{var i=He(e);if(!i){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var w=fr(l);w?o+=w:o+=Oe();var g;e===null?g="null":oe(e)?g="array":e!==void 0&&e.$$typeof===u?(g="<"+(I(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):g=typeof e,s("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",g,o)}var b=sr(e,r,t,l,v);if(b==null)return b;if(i){var D=r.children;if(D!==void 0)if(n)if(oe(D)){for(var M=0;M<D.length;M++)$e(D[M],e);Object.freeze&&Object.freeze(D)}else s("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(D,e)}return e===d?pr(b):vr(b),b}}function mr(e,r,t){return We(e,r,t,!0)}function hr(e,r,t){return We(e,r,t,!1)}var _r=hr,gr=mr;G.Fragment=d,G.jsx=_r,G.jsxs=gr}()),G}(function(f){process.env.NODE_ENV==="production"?f.exports=br():f.exports=Rr()})(fe);const y=fe.exports.jsx,Tr=fe.exports.jsxs,O=({className:f,handleOnClick:u,label:c,title:d,disabled:_,disabledTranslation:p,testID:R,rules:T,level:m,path:S,context:E,validation:h,...x})=>y(P.Button,{type:"primary",className:f,title:p&&_?p.title:d,onClick:k=>u(k),disabled:_&&!p,...x,children:p&&_?p.label:c});O.displayName="AntDActionElement";const de=se.forwardRef(({className:f,title:u,testID:c,level:d,path:_,label:p,disabled:R,context:T,validation:m,...S},E)=>y(yr.HolderOutlined,{ref:E,className:f,title:u,...S}));de.displayName="AntDDragHandle";const ve=({className:f,handleOnChange:u,label:c,checked:d,title:_,disabled:p,path:R,context:T,validation:m,testID:S,...E})=>y(P.Switch,{title:_,className:f,onChange:h=>u(h),checked:!!d,disabled:p,checkedChildren:c,unCheckedChildren:"=",...E});ve.displayName="AntDNotToggle";const{OptGroup:Sr,Option:Me}=P.Select,wr=f=>A.isOptionGroupArray(f)?f.map(u=>y(Sr,{label:u.label,children:u.options.map(c=>y(Me,{value:c.name,children:c.label},c.name))},u.label)):Array.isArray(f)?f.map(u=>y(Me,{value:u.name,children:u.label},u.name)):null,$=({className:f,handleOnChange:u,options:c,value:d,title:_,disabled:p,multiple:R,listsAsArrays:T,testID:m,rules:S,level:E,path:h,context:x,validation:k,operator:j,field:W,fieldData:N,...a})=>{const s=se.useMemo(()=>R?C=>u(Array.isArray(C)?T?C:A.joinWith(C,","):C):C=>u(C),[u,T,R]),B=R?Array.isArray(d)?d:A.splitBy(d,","):d,V=R?{mode:"multiple"}:{};return y("span",{title:_,className:f,children:y(P.Select,{...V,dropdownMatchSelectWidth:!1,disabled:p,value:B,onChange:s,...a,children:wr(c)})})};$.displayName="AntDValueSelector";const pe=({fieldData:f,operator:u,value:c,handleOnChange:d,title:_,className:p,type:R,inputType:T,values:m=[],listsAsArrays:S,valueSource:E,disabled:h,testID:x,...k})=>{var N;if(A.useValueEditor({handleOnChange:d,inputType:T,operator:u,value:c}),u==="null"||u==="notNull")return null;const j=(N=f==null?void 0:f.placeholder)!=null?N:"",W=["between","notBetween","in","notIn"].includes(u)&&!["date","datetime-local"].includes(`${T}`)?"text":T||"text";if((u==="between"||u==="notBetween")&&R==="select"){const a=A.toArray(c),s=V=>{var J,z;const C=[V,(z=a[1])!=null?z:(J=m[0])==null?void 0:J.name,...a.slice(2)];d(S?C:A.joinWith(C,","))},B=V=>{const C=[a[0],V,...a.slice(2)];d(S?C:A.joinWith(C,","))};return Tr("span",{"data-testid":x,className:p,title:_,children:[y($,{...k,className:A.standardClassnames.valueListItem,handleOnChange:s,disabled:h,value:a[0],options:m,listsAsArrays:S}),y($,{...k,className:A.standardClassnames.valueListItem,handleOnChange:B,disabled:h,value:a[1],options:m,listsAsArrays:S})]})}switch(R){case"select":case"multiselect":return y($,{...k,className:p,handleOnChange:d,options:m,value:c,title:_,disabled:h,multiple:R==="multiselect",listsAsArrays:S});case"textarea":return y(P.Input.TextArea,{value:c,title:_,className:p,disabled:h,placeholder:j,onChange:a=>d(a.target.value)});case"switch":return y(P.Switch,{checked:!!c,title:_,className:p,disabled:h,onChange:a=>d(a)});case"checkbox":return y("span",{title:_,className:p,children:y(P.Checkbox,{type:"checkbox",disabled:h,onChange:a=>d(a.target.checked),checked:!!c})});case"radio":return y("span",{className:p,title:_,children:m.map(a=>y(P.Radio,{value:a.name,checked:c===a.name,disabled:h,onChange:s=>d(s.target.value),children:a.label},a.name))})}switch(W){case"date":case"datetime-local":return u==="between"||u==="notBetween"?y(P.DatePicker.RangePicker,{value:typeof c=="string"&&/^[^,]+,[^,]+$/.test(c)?A.splitBy(c,",").map(a=>re.default(a)):void 0,showTime:W==="datetime-local",className:p,disabled:h,placeholder:[j,j],onChange:a=>d(a==null?void 0:a.map(s=>s==null?void 0:s.format(re.default.HTML5_FMT.DATE)).join(","))}):y(P.DatePicker,{value:c?re.default(c):null,showTime:W==="datetime-local",className:p,disabled:h,placeholder:j,onChange:(a,s)=>d(s)});case"time":return y(P.TimePicker,{value:c?re.default(c,"HH:mm:ss"):null,className:p,disabled:h,placeholder:j,onChange:a=>{var s;return d((s=a==null?void 0:a.format("HH:mm:ss"))!=null?s:"")}})}return y(P.Input,{type:W,value:c,title:_,className:p,disabled:h,placeholder:j,onChange:a=>d(a.target.value)})};pe.displayName="AntDValueEditor";const Ue={addGroupAction:O,addRuleAction:O,cloneGroupAction:O,cloneRuleAction:O,lockGroupAction:O,lockRuleAction:O,combinatorSelector:$,fieldSelector:$,notToggle:ve,operatorSelector:$,removeGroupAction:O,removeRuleAction:O,valueEditor:pe,dragHandle:de,valueSourceSelector:$},Cr=A.getCompatContextProvider({key:"antd",controlElements:Ue});exports.AntDActionElement=O;exports.AntDDragHandle=de;exports.AntDNotToggle=ve;exports.AntDValueEditor=pe;exports.AntDValueSelector=$;exports.QueryBuilderAntD=Cr;exports.antdControlElements=Ue;
|
|
19
28
|
//# sourceMappingURL=index.cjs.js.map
|