@linn-it/linn-form-components-library 31.1.0 → 31.1.1
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/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useState as t,useRef as i,useEffect as n,useMemo as a,useReducer as o,useCallback as r,forwardRef as l,useImperativeHandle as s,Fragment as c}from"react";import p from"@mui/material/Button";import{jsx as d,jsxs as u,Fragment as m}from"react/jsx-runtime";import f from"@mui/material/Tooltip";import h from"@mui/material/SvgIcon";import v from"@mui/material/Box";import g from"@mui/material/CircularProgress";import x from"@mui/material/Typography";import y from"@mui/material/Link";import b from"@mui/material/TextField";import w from"@mui/material/InputLabel";import k from"@mui/material/Card";import _ from"@mui/icons-material/Error";import D from"@mui/material/FormControlLabel";import S from"@mui/material/Checkbox";import O from"@mui/material/InputAdornment";import{useSnackbar as M}from"notistack";import{Paper as j,IconButton as T,Typography as C}from"@mui/material";import Y from"@mui/material/Grid";import{Link as z,useLocation as P,useParams as N,useNavigate as E}from"react-router-dom";import R from"@mui/material/List";import F from"@mui/material/ListItem";import A from"@mui/material/Switch";import L from"@mui/material/IconButton";import W from"@mui/material/Snackbar";import I from"@mui/icons-material/Close";import{DatePicker as H}from"@mui/x-date-pickers/DatePicker";import{DateTimePicker as U}from"@mui/x-date-pickers/DateTimePicker";import q from"@mui/material/Tabs";import V from"@mui/material/Tab";import G from"@mui/material/AppBar";import B from"@mui/material/ClickAwayListener";import Z from"@mui/material/Menu";import $ from"@mui/material/MenuItem";import J from"@mui/material/Toolbar";import K from"@mui/material/Badge";import Q from"@mui/icons-material/AccountCircle";import X from"@mui/icons-material/Search";import ee from"@mui/icons-material/Notifications";import te from"@mui/material/Paper";import{createTheme as ie,styled as ne}from"@mui/material/styles";import ae from"@mui/material/ListItemText";import oe from"@mui/icons-material/Delete";import re from"@mui/material/Divider";import{PickersDay as le}from"@mui/x-date-pickers/PickersDay";import se from"react-is";import ce from"@mui/material/Chip";import pe from"@mui/material/Accordion";import de from"@mui/material/AccordionSummary";import ue from"@mui/material/AccordionDetails";import me from"@mui/icons-material/ExpandMore";import fe from"@mui/material/Dialog";import he from"@mui/material/Stack";import ve from"@mui/icons-material/ArrowRight";import ge from"@mui/icons-material/ArrowLeft";import xe from"@mui/material/DialogTitle";import ye from"@mui/material/DialogContent";import be from"@mui/material/DialogActions";import we from"@mui/icons-material/EditOff";import ke from"@mui/icons-material/ModeEdit";import{GridToolbar as _e,DataGrid as De,gridClasses as Se}from"@mui/x-data-grid";import{useAuth as Oe,hasAuthParams as Me}from"react-oidc-context";import{utilities as je}from"@linn-it/linn-form-components-library";function Te(e){let{backClick:t,text:i=null}=e;return d("div",{style:{float:"left"},children:d(p,{id:"back-button",onClick:t,children:i||"Back"})})}function Ce(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Ye(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function ze(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(i),!0).forEach(function(t){Ce(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ye(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function Pe(){return d(v,{sx:{textAlign:"center",margin:e=>e.spacing(4),height:"40px"},children:d(g,{})})}function Ne(e){let{href:i,accept:n="text/csv",fileName:a="export.csv",buttonText:o="EXPORT",tooltipText:r="Download report as CSV file",disabled:l=!1,accessToken:s=null}=e;const[c,m]=t(!1),[v,g]=t(!1);let x={Accept:n};s&&(x=ze(ze({},x),{},{Authorization:"Bearer ".concat(s)}));return d("div",{style:{float:"right"},children:d(f,{title:r,placement:"top-end",children:c?d(Pe,{}):u(p,{variant:"outlined",disabled:l,color:v?"secondary":"primary",onClick:()=>{m(!0),g(!1),fetch(i,{headers:new Headers(x)}).then(e=>{if(!e.ok)throw new Error("Network response was not OK");return e.blob()}).then(e=>{const t=window.URL.createObjectURL(e),i=document.createElement("a");i.href=t,i.download=a,document.body.appendChild(i),i.click(),i.remove()}).then(()=>m(!1)).catch(()=>{g(!0),m(!1),alert("Download failed")})},children:[v?"Retry":o,d(h,{children:d("path",{xmlns:"http://www.w3.org/2000/svg",d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"})})]})})})}function Ee(e){let{navigate:t,rootPathLength:i=2,homeUrl:n="https://app.linn.co.uk",location:a}=e,o=a.pathname;o.endsWith("/")&&(o=o.substring(0,o.length-1));const r=o.split("/").filter(e=>"report"!==e).reduce((e,n,a,o)=>{const r=o.slice(0,a+1).join("/")||"/";return n?[...e,{key:a,caption:n,href:r,onClick:e=>{o.length>i&&(e.preventDefault(),t(r))}}]:e},[]);return d(m,{children:u(v,{style:{marginLeft:"20px"},children:[d(y,{href:n,variant:"button",sx:{"&:hover":{cursor:"pointer"}},children:"HOME"},"home"),u(m,{children:[" "," / "," "]}),r.map((e,t)=>t<r.length-1?u(v,{children:[d(y,{href:e.href,variant:"button",sx:{"&:hover":{cursor:"pointer"}},onClick:e.onClick,children:e.caption},e.href),u(m,{children:[" "," / "," "]})]},t):d(x,{display:"inline",variant:"button",children:e.caption},t))]})})}function Re(e){let{saveClick:t,cancelClick:i,saveDisabled:n=!1,backClick:a,showBackButton:o=!0}=e;return u(v,{sx:{float:"right"},children:[(!n||o)&&d(p,{id:"cancel-button",onClick:()=>{n?a():i()},variant:"outlined",sx:{marginRight:e=>e.spacing(1)},children:n?"Back":"Cancel"}),d(p,{id:"save-button",variant:"contained",color:"primary",onClick:()=>t(),disabled:n,children:"Save"})]})}const Fe=e=>e||0===e,Ae=e=>e.some(e=>e.displayText||""===e.displayText),Le=function(e,t){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2])return["loading..."];const i=e?[...e]:[];return t&&(Ae(e)?i.push({id:"",displayText:""}):i.push("")),i};function We(e){let{onChange:t,optionsLoading:i=!1,propertyName:n,required:a=!1,disabled:o=!1,label:r="",items:l=[],allowNoValue:s=!0,value:c="",helperText:p="",fullWidth:f=!1,adornment:h="",type:v="text",error:g=!1,margin:x="dense",autoFocus:y=!1}=e;return u(m,{children:[d(w,{sx:{fontSize:e=>e.typography.fontSize,color:g?e=>e.palette.error.main:"inherit","& .MuiInputLabel-asterisk":{color:e=>e.palette.error.main}},required:a,error:g,htmlFor:n,children:r}),d(b,{sx:{paddingTop:0,marginTop:e=>e.spacing(1)},autoFocus:y,error:g,id:n,type:v,select:!0,adornment:h,disabled:o,fullWidth:f,value:(k=c,Fe(k)?k:""),onChange:e=>(e=>{const i=e.target.value;let a;a="number"===v?Fe(i)?parseFloat(i):null:Fe(i)?i:"",t(n,a)})(e),SelectProps:{native:!0},size:"small",helperText:p,margin:x,variant:"outlined",required:a,FormHelperTextProps:{sx:{color:g?e=>e.palette.error.main:"inherit","&.Mui-required":{color:e=>e.palette.error.main}}},children:Ae(l)?Le(l,s,i).map(e=>d("option",{value:e.id,children:e.displayText},e.id)):Le(l,s,i).map(e=>d("option",{value:e,children:e},e))})]});var k}function Ie(e){let{errorMessage:t,detailLines:i=[]}=e;return u(k,{sx:{width:"50%",margin:"0 auto",padding:e=>e.spacing(2),backgroundColor:e=>e.palette.error.light},children:[d(_,{sx:{color:e=>e.palette.error.dark,float:"right"}}),d(x,{align:"center",children:t}),d("div",{children:null==i?void 0:i.map(e=>d(x,{align:"center",children:"".concat(e.descriptor," - ").concat(e.message)},e.descriptor))})]})}const He=e=>{let{checked:t=!1,color:i="primary",label:n="",onChange:a,sx:o={}}=e;return d(D,{label:n,sx:ze({width:"100%",fontSize:14},o),control:d(S,{checked:t,onChange:a,color:i})})},Ue=e=>e||0===e;function qe(e){let{onChange:a=null,propertyName:o,type:r="text",adornment:l="",disabled:s=!1,error:c=!1,fullWidth:p=!1,helperText:f="",label:h="",margin:v="dense",maxLength:g=null,rows:x=null,name:y="",placeholder:k="",required:_=!1,value:D="",decimalPlaces:S=null,textFieldProps:M=null,autoFocus:j=!1,onErrorStateChange:T=null,visible:C=!0}=e;const Y=i(null),[z,P]=t(!1),[N,E]=t("");n(()=>{setTimeout(()=>{j&&Y.current&&C&&Y.current.focus()},100)},[j,C]),n(()=>{P(c)},[c]);return u(m,{children:[d(w,{sx:{fontSize:e=>e.typography.fontSize,color:z?e=>e.palette.error.main:"inherit","& .MuiInputLabel-asterisk":{color:e=>e.palette.error.main}},required:_,error:z,htmlFor:o,children:h}),d(b,ze({sx:{paddingTop:0,marginTop:e=>e.spacing(1)},disabled:s,error:z,fullWidth:p,helperText:z?N:f,margin:v,multiline:x>0,name:y,id:o,placeholder:k,required:_,size:"small",rows:x,inputRef:Y,onWheel:()=>{"number"===r&&Y.current.blur()},type:r,value:(R=D,Ue(R)?R:""),onChange:e=>(e=>{const t=e.target.value;let i=t;"number"===r?(i=Ue(t)?parseFloat(t):null,i&&S&&t.indexOf(".")<t.length-S&&-1!==t.indexOf(".")&&(i=parseFloat(t.slice(0,t.indexOf(".")+S+1)))):g&&(null==t?void 0:t.length)>g?(P(!0),E("MAX LENGTH (".concat(g,") EXCEEDED")),T&&T(!0)):g&&(null==t?void 0:t.length)<=g&&(P(!1),T&&T(!1),E("")),a(o,i)})(e),InputProps:{startAdornment:l?d(O,{position:"start",children:l}):null},FormHelperTextProps:{sx:{color:z?e=>e.palette.error.main:e=>e.palette.text.primary}},onInput:e=>{"number"===r&&g&&(e.target.value=e.target.value.slice(0,g))},variant:"outlined"},M))]});var R}function Ve(e){let{to:t,external:i=!1,newTab:n=!1,tooltip:a=null,text:o,disabled:r=!1}=e;const l=d(p,{color:"primary","aria-label":"Search",variant:"outlined",sx:{marginLeft:1,marginTop:3},disabled:r,children:o}),s=a?d(f,{title:a,children:d("div",{children:l})}):l;return r?s:d("div",{children:i?d("a",{href:t,target:n?"_blank":"_self",rel:"noreferrer",style:{textDecoration:"none"},children:s}):d(y,{to:t,style:{textDecoration:"none"},children:s})})}const Ge={xs:4,s:6,m:8,l:10,xl:12},Be={xs:4,s:3,m:2,l:1,xl:0};function Ze(e){let{children:t,navigate:i=null,location:a=null,width:o="l",requestErrors:r=[],showRequestErrors:l=!1,homeUrl:s=null,showBreadcrumbs:c=!0,title:p=null,defaultAppTitle:m=null}=e;const{enqueueSnackbar:f}=M();return n(()=>{r&&l&&r.forEach(e=>{f("".concat(e.message," - ").concat(e.type),{variant:"error",preventDuplicate:!0})})},[r,f,l]),n(()=>(p&&(document.title=p),()=>{m&&(document.title=m)}),[p,m]),u(Y,{container:!0,spacing:3,children:[d(Y,{size:12,children:c&&d(Ee,{navigate:i,homeUrl:s,location:a})}),d(Y,{size:Be[o]}),d(Y,{size:Ge[o],children:d(j,{sx:{padding:4},square:!0,children:t})}),d(Y,{size:Be[o]})]})}const $e=(e,t,i)=>i?"".concat(e[t]," - ").concat(e[i]):e[t];function Je(e){let{title:t="",entityList:i,entityId:n,descriptionFieldName:a=null,hasExternalLinks:o=!1}=e;const r=o?"a":z;return u(m,{children:[d(x,{variant:"h4",children:t}),d(R,{children:i.map(e=>d(F,{button:!0,component:r,to:e.href,href:e.href,children:d(x,{color:"primary",variant:"subtitle2",children:$e(e,n,a)})},e[n]))})]})}function Ke(e){let{createUrl:t,disabled:i=!1}=e;return d(z,{to:t,style:{textDecoration:"none"},children:d(p,{color:"primary",variant:"outlined",sx:{float:"right"},disabled:i,children:"Create"})})}function Qe(e){let{onChange:t,propertyName:i,value:n=!1,label:a,disabled:o}=e;return d(D,{control:d(A,{checked:n,onChange:()=>{t(i,!n)},value:n,color:"primary",disabled:o}),label:a})}function Xe(e){let{message:t,visible:i=!1,onClose:n,timeOut:a=3e3}=e;return d(W,{anchorOrigin:{vertical:"bottom",horizontal:"left"},ContentProps:{sx:{backgroundColor:e=>e.palette.primary.main}},open:i,autoHideDuration:a,onClose:()=>n(!1),message:t,action:d(L,{"aria-label":"Close",color:"inherit",onClick:()=>n(!1),size:"large",children:d(I,{})})})}function et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function tt(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var it,nt={exports:{}};var at,ot=(it||(it=1,(at=nt).exports=function(){var e,t;function i(){return e.apply(null,arguments)}function n(t){e=t}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(r(e,t))return!1;return!0}function s(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function p(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var i,n=[],a=e.length;for(i=0;i<a;++i)n.push(t(e[i],i));return n}function u(e,t){for(var i in t)r(t,i)&&(e[i]=t[i]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,i,n){return Zi(e,t,i,n,!0).utc()}function f(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(e){return null==e._pf&&(e._pf=f()),e._pf}function v(e){var i=null,n=!1,a=e._d&&!isNaN(e._d.getTime());return a&&(i=h(e),n=t.call(i.parsedDateParts,function(e){return null!=e}),a=i.overflow<0&&!i.empty&&!i.invalidEra&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&n),e._strict&&(a=a&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?a:(e._isValid=a,e._isValid)}function g(e){var t=m(NaN);return null!=e?u(h(t),e):h(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){var t,i=Object(this),n=i.length>>>0;for(t=0;t<n;t++)if(t in i&&e.call(this,i[t],t,i))return!0;return!1};var x=i.momentProperties=[],y=!1;function b(e,t){var i,n,a,o=x.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=h(t)),s(t._locale)||(e._locale=t._locale),o>0)for(i=0;i<o;i++)s(a=t[n=x[i]])||(e[n]=a);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,i.updateOffset(this),y=!1)}function k(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function _(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function D(e,t){var n=!0;return u(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var a,o,l,s=[],c=arguments.length;for(o=0;o<c;o++){if(a="","object"==typeof arguments[o]){for(l in a+="\n["+o+"] ",arguments[0])r(arguments[0],l)&&(a+=l+": "+arguments[0][l]+", ");a=a.slice(0,-2)}else a=arguments[o];s.push(a)}_(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var S,O={};function M(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),O[e]||(_(t),O[e]=!0)}function j(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e){var t,i;for(i in e)r(e,i)&&(j(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function C(e,t){var i,n=u({},e);for(i in t)r(t,i)&&(o(e[i])&&o(t[i])?(n[i]={},u(n[i],e[i]),u(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)r(e,i)&&!r(t,i)&&o(e[i])&&(n[i]=u({},n[i]));return n}function Y(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)r(e,t)&&i.push(t);return i};var z={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function P(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return j(n)?n.call(t,i):n}function N(e,t,i){var n=""+Math.abs(e),a=t-n.length;return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var E=/(\[[^\[]*\])|(\\)?([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,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},A={};function L(e,t,i,n){var a=n;"string"==typeof n&&(a=function(){return this[n]()}),e&&(A[e]=a),t&&(A[t[0]]=function(){return N(a.apply(this,arguments),t[1],t[2])}),i&&(A[i]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function I(e){var t,i,n=e.match(E);for(t=0,i=n.length;t<i;t++)A[n[t]]?n[t]=A[n[t]]:n[t]=W(n[t]);return function(t){var a,o="";for(a=0;a<i;a++)o+=j(n[a])?n[a].call(t,e):n[a];return o}}function H(e,t){return e.isValid()?(t=U(t,e.localeData()),F[t]=F[t]||I(t),F[t](e)):e.localeData().invalidDate()}function U(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;i>=0&&R.test(e);)e=e.replace(R,n),R.lastIndex=0,i-=1;return e}var q={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 V(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(E).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var G="Invalid date";function B(){return this._invalidDate}var Z="%d",$=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var K={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 Q(e,t,i,n){var a=this._relativeTime[i];return j(a)?a(e,t,i,n):a.replace(/%d/i,e)}function X(e,t){var i=this._relativeTime[e>0?"future":"past"];return j(i)?i(t):i.replace(/%s/i,t)}var ee={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function te(e){return"string"==typeof e?ee[e]||ee[e.toLowerCase()]:void 0}function ie(e){var t,i,n={};for(i in e)r(e,i)&&(t=te(i))&&(n[t]=e[i]);return n}var ne={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ae(e){var t,i=[];for(t in e)r(e,t)&&i.push({unit:t,priority:ne[t]});return i.sort(function(e,t){return e.priority-t.priority}),i}var oe,re=/\d/,le=/\d\d/,se=/\d{3}/,ce=/\d{4}/,pe=/[+-]?\d{6}/,de=/\d\d?/,ue=/\d\d\d\d?/,me=/\d\d\d\d\d\d?/,fe=/\d{1,3}/,he=/\d{1,4}/,ve=/[+-]?\d{1,6}/,ge=/\d+/,xe=/[+-]?\d+/,ye=/Z|[+-]\d\d:?\d\d/gi,be=/Z|[+-]\d\d(?::?\d\d)?/gi,we=/[+-]?\d+(\.\d{1,3})?/,ke=/[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,_e=/^[1-9]\d?/,De=/^([1-9]\d|\d)/;function Se(e,t,i){oe[e]=j(t)?t:function(e,n){return e&&i?i:t}}function Oe(e,t){return r(oe,e)?oe[e](t._strict,t._locale):new RegExp(Me(e))}function Me(e){return je(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,a){return t||i||n||a}))}function je(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Te(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ce(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=Te(t)),i}oe={};var Ye={};function ze(e,t){var i,n,a=t;for("string"==typeof e&&(e=[e]),c(t)&&(a=function(e,i){i[t]=Ce(e)}),n=e.length,i=0;i<n;i++)Ye[e[i]]=a}function Pe(e,t){ze(e,function(e,i,n,a){n._w=n._w||{},t(e,n._w,n,a)})}function Ne(e,t,i){null!=t&&r(Ye,e)&&Ye[e](t,i._a,i,e)}function Ee(e){return e%4==0&&e%100!=0||e%400==0}var Re=0,Fe=1,Ae=2,Le=3,We=4,Ie=5,He=6,Ue=7,qe=8;function Ve(e){return Ee(e)?366:365}L("Y",0,0,function(){var e=this.year();return e<=9999?N(e,4):"+"+e}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),Se("Y",xe),Se("YY",de,le),Se("YYYY",he,ce),Se("YYYYY",ve,pe),Se("YYYYYY",ve,pe),ze(["YYYYY","YYYYYY"],Re),ze("YYYY",function(e,t){t[Re]=2===e.length?i.parseTwoDigitYear(e):Ce(e)}),ze("YY",function(e,t){t[Re]=i.parseTwoDigitYear(e)}),ze("Y",function(e,t){t[Re]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return Ce(e)+(Ce(e)>68?1900:2e3)};var Ge,Be=$e("FullYear",!0);function Ze(){return Ee(this.year())}function $e(e,t){return function(n){return null!=n?(Ke(this,e,n),i.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){if(!e.isValid())return NaN;var i=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return n?i.getUTCSeconds():i.getSeconds();case"Minutes":return n?i.getUTCMinutes():i.getMinutes();case"Hours":return n?i.getUTCHours():i.getHours();case"Date":return n?i.getUTCDate():i.getDate();case"Day":return n?i.getUTCDay():i.getDay();case"Month":return n?i.getUTCMonth():i.getMonth();case"FullYear":return n?i.getUTCFullYear():i.getFullYear();default:return NaN}}function Ke(e,t,i){var n,a,o,r,l;if(e.isValid()&&!isNaN(i)){switch(n=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?n.setUTCMilliseconds(i):n.setMilliseconds(i));case"Seconds":return void(a?n.setUTCSeconds(i):n.setSeconds(i));case"Minutes":return void(a?n.setUTCMinutes(i):n.setMinutes(i));case"Hours":return void(a?n.setUTCHours(i):n.setHours(i));case"Date":return void(a?n.setUTCDate(i):n.setDate(i));case"FullYear":break;default:return}o=i,r=e.month(),l=29!==(l=e.date())||1!==r||Ee(o)?l:28,a?n.setUTCFullYear(o,r,l):n.setFullYear(o,r,l)}}function Qe(e){return j(this[e=te(e)])?this[e]():this}function Xe(e,t){if("object"==typeof e){var i,n=ae(e=ie(e)),a=n.length;for(i=0;i<a;i++)this[n[i].unit](e[n[i].unit])}else if(j(this[e=te(e)]))return this[e](t);return this}function et(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=et(t,12);return e+=(t-i)/12,1===i?Ee(e)?29:28:31-i%7%2}Ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),L("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Se("M",de,_e),Se("MM",de,le),Se("MMM",function(e,t){return t.monthsShortRegex(e)}),Se("MMMM",function(e,t){return t.monthsRegex(e)}),ze(["M","MM"],function(e,t){t[Fe]=Ce(e)-1}),ze(["MMM","MMMM"],function(e,t,i,n){var a=i._locale.monthsParse(e,n,i._strict);null!=a?t[Fe]=a:h(i).invalidMonth=e});var nt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,lt=ke,st=ke;function ct(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function pt(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function dt(e,t,i){var n,a,o,r=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=m([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(a=Ge.call(this._shortMonthsParse,r))?a:null:-1!==(a=Ge.call(this._longMonthsParse,r))?a:null:"MMM"===t?-1!==(a=Ge.call(this._shortMonthsParse,r))||-1!==(a=Ge.call(this._longMonthsParse,r))?a:null:-1!==(a=Ge.call(this._longMonthsParse,r))||-1!==(a=Ge.call(this._shortMonthsParse,r))?a:null}function ut(e,t,i){var n,a,o;if(this._monthsParseExact)return dt.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=m([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}}function mt(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Ce(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var i=t,n=e.date();return n=n<29?n:Math.min(n,it(e.year(),i)),e._isUTC?e._d.setUTCMonth(i,n):e._d.setMonth(i,n),e}function ft(e){return null!=e?(mt(this,e),i.updateOffset(this,!0),this):Je(this,"Month")}function ht(){return it(this.year(),this.month())}function vt(e){return this._monthsParseExact?(r(this,"_monthsRegex")||xt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=lt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(e){return this._monthsParseExact?(r(this,"_monthsRegex")||xt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function xt(){function e(e,t){return t.length-e.length}var t,i,n,a,o=[],r=[],l=[];for(t=0;t<12;t++)i=m([2e3,t]),n=je(this.monthsShort(i,"")),a=je(this.months(i,"")),o.push(n),r.push(a),l.push(a),l.push(n);o.sort(e),r.sort(e),l.sort(e),this._monthsRegex=new RegExp("^("+l.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function yt(e,t,i,n,a,o,r){var l;return e<100&&e>=0?(l=new Date(e+400,t,i,n,a,o,r),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,i,n,a,o,r),l}function bt(e){var t,i;return e<100&&e>=0?((i=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,i){var n=7+t-i;return-(7+bt(e,0,n).getUTCDay()-t)%7+n-1}function kt(e,t,i,n,a){var o,r,l=1+7*(t-1)+(7+i-n)%7+wt(e,n,a);return l<=0?r=Ve(o=e-1)+l:l>Ve(e)?(o=e+1,r=l-Ve(e)):(o=e,r=l),{year:o,dayOfYear:r}}function _t(e,t,i){var n,a,o=wt(e.year(),t,i),r=Math.floor((e.dayOfYear()-o-1)/7)+1;return r<1?n=r+Dt(a=e.year()-1,t,i):r>Dt(e.year(),t,i)?(n=r-Dt(e.year(),t,i),a=e.year()+1):(a=e.year(),n=r),{week:n,year:a}}function Dt(e,t,i){var n=wt(e,t,i),a=wt(e+1,t,i);return(Ve(e)-n+a)/7}function St(e){return _t(e,this._week.dow,this._week.doy).week}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),Se("w",de,_e),Se("ww",de,le),Se("W",de,_e),Se("WW",de,le),Pe(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=Ce(e)});var Ot={dow:0,doy:6};function Mt(){return this._week.dow}function jt(){return this._week.doy}function Tt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ct(e){var t=_t(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Yt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function zt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}L("d",0,"do","day"),L("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),L("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),L("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),Se("d",de),Se("e",de),Se("E",de),Se("dd",function(e,t){return t.weekdaysMinRegex(e)}),Se("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Se("dddd",function(e,t){return t.weekdaysRegex(e)}),Pe(["dd","ddd","dddd"],function(e,t,i,n){var a=i._locale.weekdaysParse(e,n,i._strict);null!=a?t.d=a:h(i).invalidWeekday=e}),Pe(["d","e","E"],function(e,t,i,n){t[n]=Ce(e)});var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Et="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=ke,At=ke,Lt=ke;function Wt(e,t){var i=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(i,this._week.dow):e?i[e.day()]:i}function It(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ht(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,i){var n,a,o,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=m([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(a=Ge.call(this._weekdaysParse,r))?a:null:"ddd"===t?-1!==(a=Ge.call(this._shortWeekdaysParse,r))?a:null:-1!==(a=Ge.call(this._minWeekdaysParse,r))?a:null:"dddd"===t?-1!==(a=Ge.call(this._weekdaysParse,r))||-1!==(a=Ge.call(this._shortWeekdaysParse,r))||-1!==(a=Ge.call(this._minWeekdaysParse,r))?a:null:"ddd"===t?-1!==(a=Ge.call(this._shortWeekdaysParse,r))||-1!==(a=Ge.call(this._weekdaysParse,r))||-1!==(a=Ge.call(this._minWeekdaysParse,r))?a:null:-1!==(a=Ge.call(this._minWeekdaysParse,r))||-1!==(a=Ge.call(this._weekdaysParse,r))||-1!==(a=Ge.call(this._shortWeekdaysParse,r))?a:null}function qt(e,t,i){var n,a,o;if(this._weekdaysParseExact)return Ut.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=m([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=Je(this,"Day");return null!=e?(e=Yt(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Bt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=zt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=At),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,i,n,a,o,r=[],l=[],s=[],c=[];for(t=0;t<7;t++)i=m([2e3,1]).day(t),n=je(this.weekdaysMin(i,"")),a=je(this.weekdaysShort(i,"")),o=je(this.weekdays(i,"")),r.push(n),l.push(a),s.push(o),c.push(n),c.push(a),c.push(o);r.sort(e),l.sort(e),s.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function ei(e,t){L(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ti(e,t){return t._meridiemParse}function ii(e){return"p"===(e+"").toLowerCase().charAt(0)}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Qt),L("k",["kk",2],0,Xt),L("hmm",0,0,function(){return""+Qt.apply(this)+N(this.minutes(),2)}),L("hmmss",0,0,function(){return""+Qt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),L("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),L("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),ei("a",!0),ei("A",!1),Se("a",ti),Se("A",ti),Se("H",de,De),Se("h",de,_e),Se("k",de,_e),Se("HH",de,le),Se("hh",de,le),Se("kk",de,le),Se("hmm",ue),Se("hmmss",me),Se("Hmm",ue),Se("Hmmss",me),ze(["H","HH"],Le),ze(["k","kk"],function(e,t,i){var n=Ce(e);t[Le]=24===n?0:n}),ze(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),ze(["h","hh"],function(e,t,i){t[Le]=Ce(e),h(i).bigHour=!0}),ze("hmm",function(e,t,i){var n=e.length-2;t[Le]=Ce(e.substr(0,n)),t[We]=Ce(e.substr(n)),h(i).bigHour=!0}),ze("hmmss",function(e,t,i){var n=e.length-4,a=e.length-2;t[Le]=Ce(e.substr(0,n)),t[We]=Ce(e.substr(n,2)),t[Ie]=Ce(e.substr(a)),h(i).bigHour=!0}),ze("Hmm",function(e,t,i){var n=e.length-2;t[Le]=Ce(e.substr(0,n)),t[We]=Ce(e.substr(n))}),ze("Hmmss",function(e,t,i){var n=e.length-4,a=e.length-2;t[Le]=Ce(e.substr(0,n)),t[We]=Ce(e.substr(n,2)),t[Ie]=Ce(e.substr(a))});var ni=/[ap]\.?m?\.?/i,ai=$e("Hours",!0);function oi(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var ri,li={calendar:z,longDateFormat:q,invalidDate:G,ordinal:Z,dayOfMonthOrdinalParse:$,relativeTime:K,months:nt,monthsShort:ot,week:Ot,weekdays:Nt,weekdaysMin:Rt,weekdaysShort:Et,meridiemParse:ni},si={},ci={};function pi(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function di(e){return e?e.toLowerCase().replace("_","-"):e}function ui(e){for(var t,i,n,a,o=0;o<e.length;){for(t=(a=di(e[o]).split("-")).length,i=(i=di(e[o+1]))?i.split("-"):null;t>0;){if(n=fi(a.slice(0,t).join("-")))return n;if(i&&i.length>=t&&pi(a,i)>=t-1)break;t--}o++}return ri}function mi(e){return!(!e||!e.match("^[^/\\\\]*$"))}function fi(e){var t=null;if(void 0===si[e]&&at&&at.exports&&mi(e))try{t=ri._abbr,tt("./locale/"+e),hi(t)}catch(t){si[e]=null}return si[e]}function hi(e,t){var i;return e&&((i=s(t)?xi(e):vi(e,t))?ri=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ri._abbr}function vi(e,t){if(null!==t){var i,n=li;if(t.abbr=e,null!=si[e])M("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=si[e]._config;else if(null!=t.parentLocale)if(null!=si[t.parentLocale])n=si[t.parentLocale]._config;else{if(null==(i=fi(t.parentLocale)))return ci[t.parentLocale]||(ci[t.parentLocale]=[]),ci[t.parentLocale].push({name:e,config:t}),null;n=i._config}return si[e]=new Y(C(n,t)),ci[e]&&ci[e].forEach(function(e){vi(e.name,e.config)}),hi(e),si[e]}return delete si[e],null}function gi(e,t){if(null!=t){var i,n,a=li;null!=si[e]&&null!=si[e].parentLocale?si[e].set(C(si[e]._config,t)):(null!=(n=fi(e))&&(a=n._config),t=C(a,t),null==n&&(t.abbr=e),(i=new Y(t)).parentLocale=si[e],si[e]=i),hi(e)}else null!=si[e]&&(null!=si[e].parentLocale?(si[e]=si[e].parentLocale,e===hi()&&hi(e)):null!=si[e]&&delete si[e]);return si[e]}function xi(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ri;if(!a(e)){if(t=fi(e))return t;e=[e]}return ui(e)}function yi(){return S(si)}function bi(e){var t,i=e._a;return i&&-2===h(e).overflow&&(t=i[Fe]<0||i[Fe]>11?Fe:i[Ae]<1||i[Ae]>it(i[Re],i[Fe])?Ae:i[Le]<0||i[Le]>24||24===i[Le]&&(0!==i[We]||0!==i[Ie]||0!==i[He])?Le:i[We]<0||i[We]>59?We:i[Ie]<0||i[Ie]>59?Ie:i[He]<0||i[He]>999?He:-1,h(e)._overflowDayOfYear&&(t<Re||t>Ae)&&(t=Ae),h(e)._overflowWeeks&&-1===t&&(t=Ue),h(e)._overflowWeekday&&-1===t&&(t=qe),h(e).overflow=t),e}var wi=/^\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)?)?$/,ki=/^\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)?)?$/,_i=/Z|[+-]\d\d(?::?\d\d)?/,Di=[["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]],Si=[["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/]],Oi=/^\/?Date\((-?\d+)/i,Mi=/^(?:(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}))$/,ji={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ti(e){var t,i,n,a,o,r,l=e._i,s=wi.exec(l)||ki.exec(l),c=Di.length,p=Si.length;if(s){for(h(e).iso=!0,t=0,i=c;t<i;t++)if(Di[t][1].exec(s[1])){a=Di[t][0],n=!1!==Di[t][2];break}if(null==a)return void(e._isValid=!1);if(s[3]){for(t=0,i=p;t<i;t++)if(Si[t][1].exec(s[3])){o=(s[2]||" ")+Si[t][0];break}if(null==o)return void(e._isValid=!1)}if(!n&&null!=o)return void(e._isValid=!1);if(s[4]){if(!_i.exec(s[4]))return void(e._isValid=!1);r="Z"}e._f=a+(o||"")+(r||""),Ii(e)}else e._isValid=!1}function Ci(e,t,i,n,a,o){var r=[Yi(e),ot.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(a,10)];return o&&r.push(parseInt(o,10)),r}function Yi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function zi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pi(e,t,i){return!e||Et.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(i).weekdayMismatch=!0,i._isValid=!1,!1)}function Ni(e,t,i){if(e)return ji[e];if(t)return 0;var n=parseInt(i,10),a=n%100;return(n-a)/100*60+a}function Ei(e){var t,i=Mi.exec(zi(e._i));if(i){if(t=Ci(i[4],i[3],i[2],i[5],i[6],i[7]),!Pi(i[1],t,e))return;e._a=t,e._tzm=Ni(i[8],i[9],i[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Ri(e){var t=Oi.exec(e._i);null===t?(Ti(e),!1===e._isValid&&(delete e._isValid,Ei(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Fi(e,t,i){return null!=e?e:null!=t?t:i}function Ai(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Li(e){var t,i,n,a,o,r=[];if(!e._d){for(n=Ai(e),e._w&&null==e._a[Ae]&&null==e._a[Fe]&&Wi(e),null!=e._dayOfYear&&(o=Fi(e._a[Re],n[Re]),(e._dayOfYear>Ve(o)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),i=bt(o,0,e._dayOfYear),e._a[Fe]=i.getUTCMonth(),e._a[Ae]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Le]&&0===e._a[We]&&0===e._a[Ie]&&0===e._a[He]&&(e._nextDay=!0,e._a[Le]=0),e._d=(e._useUTC?bt:yt).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Le]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(h(e).weekdayMismatch=!0)}}function Wi(e){var t,i,n,a,o,r,l,s,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,r=4,i=Fi(t.GG,e._a[Re],_t($i(),1,4).year),n=Fi(t.W,1),((a=Fi(t.E,1))<1||a>7)&&(s=!0)):(o=e._locale._week.dow,r=e._locale._week.doy,c=_t($i(),o,r),i=Fi(t.gg,e._a[Re],c.year),n=Fi(t.w,c.week),null!=t.d?((a=t.d)<0||a>6)&&(s=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(s=!0)):a=o),n<1||n>Dt(i,o,r)?h(e)._overflowWeeks=!0:null!=s?h(e)._overflowWeekday=!0:(l=kt(i,n,a,o,r),e._a[Re]=l.year,e._dayOfYear=l.dayOfYear)}function Ii(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],h(e).empty=!0;var t,n,a,o,r,l,s,c=""+e._i,p=c.length,d=0;for(s=(a=U(e._f,e._locale).match(E)||[]).length,t=0;t<s;t++)o=a[t],(n=(c.match(Oe(o,e))||[])[0])&&((r=c.substr(0,c.indexOf(n))).length>0&&h(e).unusedInput.push(r),c=c.slice(c.indexOf(n)+n.length),d+=n.length),A[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),Ne(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=p-d,c.length>0&&h(e).unusedInput.push(c),e._a[Le]<=12&&!0===h(e).bigHour&&e._a[Le]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[Le]=Hi(e._locale,e._a[Le],e._meridiem),null!==(l=h(e).era)&&(e._a[Re]=e._locale.erasConvertYear(l,e._a[Re])),Li(e),bi(e)}else Ei(e);else Ti(e)}function Hi(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Ui(e){var t,i,n,a,o,r,l=!1,s=e._f.length;if(0===s)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<s;a++)o=0,r=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Ii(t),v(t)&&(r=!0),o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,l?o<n&&(n=o,i=t):(null==n||o<n||r)&&(n=o,i=t,r&&(l=!0));u(e,i||t)}function qi(e){if(!e._d){var t=ie(e._i),i=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Li(e)}}function Vi(e){var t=new w(bi(Gi(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gi(e){var t=e._i,i=e._f;return e._locale=e._locale||xi(e._l),null===t||void 0===i&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(bi(t)):(p(t)?e._d=t:a(i)?Ui(e):i?Ii(e):Bi(e),v(e)||(e._d=null),e))}function Bi(e){var t=e._i;s(t)?e._d=new Date(i.now()):p(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Ri(e):a(t)?(e._a=d(t.slice(0),function(e){return parseInt(e,10)}),Li(e)):o(t)?qi(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Zi(e,t,i,n,r){var s={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=i,s._i=e,s._f=t,s._strict=n,Vi(s)}function $i(e,t,i,n){return Zi(e,t,i,n,!1)}i.createFromInputFallback=D("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":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ji=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$i.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),Ki=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$i.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()});function Qi(e,t){var i,n;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return $i();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}function Xi(){return Qi("isBefore",[].slice.call(arguments,0))}function en(){return Qi("isAfter",[].slice.call(arguments,0))}var tn=function(){return Date.now?Date.now():+new Date},nn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function an(e){var t,i,n=!1,a=nn.length;for(t in e)if(r(e,t)&&(-1===Ge.call(nn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<a;++i)if(e[nn[i]]){if(n)return!1;parseFloat(e[nn[i]])!==Ce(e[nn[i]])&&(n=!0)}return!0}function on(){return this._isValid}function rn(){return Tn(NaN)}function ln(e){var t=ie(e),i=t.year||0,n=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,r=t.day||0,l=t.hour||0,s=t.minute||0,c=t.second||0,p=t.millisecond||0;this._isValid=an(t),this._milliseconds=+p+1e3*c+6e4*s+1e3*l*60*60,this._days=+r+7*o,this._months=+a+3*n+12*i,this._data={},this._locale=xi(),this._bubble()}function sn(e){return e instanceof ln}function cn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function pn(e,t,i){var n,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),r=0;for(n=0;n<a;n++)Ce(e[n])!==Ce(t[n])&&r++;return r+o}function dn(e,t){L(e,0,0,function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+N(~~(e/60),2)+t+N(~~e%60,2)})}dn("Z",":"),dn("ZZ",""),Se("Z",be),Se("ZZ",be),ze(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=mn(be,e)});var un=/([\+\-]|\d\d)/gi;function mn(e,t){var i,n,a=(t||"").match(e);return null===a?null:0===(n=60*(i=((a[a.length-1]||[])+"").match(un)||["-",0,0])[1]+Ce(i[2]))?0:"+"===i[0]?n:-n}function fn(e,t){var n,a;return t._isUTC?(n=t.clone(),a=(k(e)||p(e)?e.valueOf():$i(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+a),i.updateOffset(n,!1),n):$i(e).local()}function hn(e){return-Math.round(e._d.getTimezoneOffset())}function vn(e,t,n){var a,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mn(be,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=hn(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),o!==e&&(!t||this._changeInProgress?Nn(this,Tn(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:hn(this)}function gn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function xn(e){return this.utcOffset(0,e)}function yn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hn(this),"m")),this}function bn(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mn(ye,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wn(e){return!!this.isValid()&&(e=e?$i(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function kn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _n(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Gi(t))._a?(e=t._isUTC?m(t._a):$i(t._a),this._isDSTShifted=this.isValid()&&pn(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Dn(){return!!this.isValid()&&!this._isUTC}function Sn(){return!!this.isValid()&&this._isUTC}function On(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Mn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tn(e,t){var i,n,a,o=e,l=null;return sn(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(l=Mn.exec(e))?(i="-"===l[1]?-1:1,o={y:0,d:Ce(l[Ae])*i,h:Ce(l[Le])*i,m:Ce(l[We])*i,s:Ce(l[Ie])*i,ms:Ce(cn(1e3*l[He]))*i}):(l=jn.exec(e))?(i="-"===l[1]?-1:1,o={y:Cn(l[2],i),M:Cn(l[3],i),w:Cn(l[4],i),d:Cn(l[5],i),h:Cn(l[6],i),m:Cn(l[7],i),s:Cn(l[8],i)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(a=zn($i(o.from),$i(o.to)),(o={}).ms=a.milliseconds,o.M=a.months),n=new ln(o),sn(e)&&r(e,"_locale")&&(n._locale=e._locale),sn(e)&&r(e,"_isValid")&&(n._isValid=e._isValid),n}function Cn(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function Yn(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function zn(e,t){var i;return e.isValid()&&t.isValid()?(t=fn(t,e),e.isBefore(t)?i=Yn(e,t):((i=Yn(t,e)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function Pn(e,t){return function(i,n){var a;return null===n||isNaN(+n)||(M(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=i,i=n,n=a),Nn(this,Tn(i,n),e),this}}function Nn(e,t,n,a){var o=t._milliseconds,r=cn(t._days),l=cn(t._months);e.isValid()&&(a=null==a||a,l&&mt(e,Je(e,"Month")+l*n),r&&Ke(e,"Date",Je(e,"Date")+r*n),o&&e._d.setTime(e._d.valueOf()+o*n),a&&i.updateOffset(e,r||l))}Tn.fn=ln.prototype,Tn.invalid=rn;var En=Pn(1,"add"),Rn=Pn(-1,"subtract");function Fn(e){return"string"==typeof e||e instanceof String}function An(e){return k(e)||p(e)||Fn(e)||c(e)||Wn(e)||Ln(e)||null==e}function Ln(e){var t,i,n=o(e)&&!l(e),a=!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"],c=s.length;for(t=0;t<c;t+=1)i=s[t],a=a||r(e,i);return n&&a}function Wn(e){var t=a(e),i=!1;return t&&(i=0===e.filter(function(t){return!c(t)&&Fn(e)}).length),t&&i}function In(e){var t,i,n=o(e)&&!l(e),a=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<s.length;t+=1)i=s[t],a=a||r(e,i);return n&&a}function Hn(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function Un(e,t){1===arguments.length&&(arguments[0]?An(arguments[0])?(e=arguments[0],t=void 0):In(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||$i(),a=fn(n,this).startOf("day"),o=i.calendarFormat(this,a)||"sameElse",r=t&&(j(t[o])?t[o].call(this,n):t[o]);return this.format(r||this.localeData().calendar(o,this,$i(n)))}function qn(){return new w(this)}function Vn(e,t){var i=k(e)?e:$i(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=te(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())}function Gn(e,t){var i=k(e)?e:$i(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=te(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())}function Bn(e,t,i,n){var a=k(e)?e:$i(e),o=k(t)?t:$i(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&("("===(n=n||"()")[0]?this.isAfter(a,i):!this.isBefore(a,i))&&(")"===n[1]?this.isBefore(o,i):!this.isAfter(o,i))}function Zn(e,t){var i,n=k(e)?e:$i(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=te(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))}function $n(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Jn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kn(e,t,i){var n,a,o;if(!this.isValid())return NaN;if(!(n=fn(e,this)).isValid())return NaN;switch(a=6e4*(n.utcOffset()-this.utcOffset()),t=te(t)){case"year":o=Qn(this,n)/12;break;case"month":o=Qn(this,n);break;case"quarter":o=Qn(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-a)/864e5;break;case"week":o=(this-n-a)/6048e5;break;default:o=this-n}return i?o:Te(o)}function Qn(e,t){if(e.date()<t.date())return-Qn(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(i+1,"months")-n)))||0}function Xn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ea(e){if(!this.isValid())return null;var t=!0!==e,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?H(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(i,"Z")):H(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i,n,a="moment",o="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",n=o+'[")]',this.format(e+t+i+n)}function ia(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)}function na(e,t){return this.isValid()&&(k(e)&&e.isValid()||$i(e).isValid())?Tn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function aa(e){return this.from($i(),e)}function oa(e,t){return this.isValid()&&(k(e)&&e.isValid()||$i(e).isValid())?Tn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ra(e){return this.to($i(),e)}function la(e){var t;return void 0===e?this._locale._abbr:(null!=(t=xi(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sa=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function ca(){return this._locale}var pa=1e3,da=60*pa,ua=60*da,ma=3506328*ua;function fa(e,t){return(e%t+t)%t}function ha(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-ma:new Date(e,t,i).valueOf()}function va(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-ma:Date.UTC(e,t,i)}function ga(e){var t,n;if(void 0===(e=te(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?va:ha,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fa(t+(this._isUTC?0:this.utcOffset()*da),ua);break;case"minute":t=this._d.valueOf(),t-=fa(t,da);break;case"second":t=this._d.valueOf(),t-=fa(t,pa)}return this._d.setTime(t),i.updateOffset(this,!0),this}function xa(e){var t,n;if(void 0===(e=te(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?va:ha,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ua-fa(t+(this._isUTC?0:this.utcOffset()*da),ua)-1;break;case"minute":t=this._d.valueOf(),t+=da-fa(t,da)-1;break;case"second":t=this._d.valueOf(),t+=pa-fa(t,pa)-1}return this._d.setTime(t),i.updateOffset(this,!0),this}function ya(){return this._d.valueOf()-6e4*(this._offset||0)}function ba(){return Math.floor(this.valueOf()/1e3)}function wa(){return new Date(this.valueOf())}function ka(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function _a(){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 Da(){return this.isValid()?this.toISOString():null}function Sa(){return v(this)}function Oa(){return u({},h(this))}function Ma(){return h(this).overflow}function ja(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ta(e,t){var n,a,o,r=this._eras||xi("en")._eras;for(n=0,a=r.length;n<a;++n)switch("string"==typeof r[n].since&&(o=i(r[n].since).startOf("day"),r[n].since=o.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":o=i(r[n].until).startOf("day").valueOf(),r[n].until=o.valueOf()}return r}function Ca(e,t,i){var n,a,o,r,l,s=this.eras();for(e=e.toUpperCase(),n=0,a=s.length;n<a;++n)if(o=s[n].name.toUpperCase(),r=s[n].abbr.toUpperCase(),l=s[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(r===e)return s[n];break;case"NNNN":if(o===e)return s[n];break;case"NNNNN":if(l===e)return s[n]}else if([o,r,l].indexOf(e)>=0)return s[n]}function Ya(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function za(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].name;if(n[e].until<=i&&i<=n[e].since)return n[e].name}return""}function Pa(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""}function Na(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""}function Ea(){var e,t,n,a,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,a=this.clone().startOf("day").valueOf(),o[e].since<=a&&a<=o[e].until||o[e].until<=a&&a<=o[e].since)return(this.year()-i(o[e].since).year())*n+o[e].offset;return this.year()}function Ra(e){return r(this,"_erasNameRegex")||Ua.call(this),e?this._erasNameRegex:this._erasRegex}function Fa(e){return r(this,"_erasAbbrRegex")||Ua.call(this),e?this._erasAbbrRegex:this._erasRegex}function Aa(e){return r(this,"_erasNarrowRegex")||Ua.call(this),e?this._erasNarrowRegex:this._erasRegex}function La(e,t){return t.erasAbbrRegex(e)}function Wa(e,t){return t.erasNameRegex(e)}function Ia(e,t){return t.erasNarrowRegex(e)}function Ha(e,t){return t._eraYearOrdinalRegex||ge}function Ua(){var e,t,i,n,a,o=[],r=[],l=[],s=[],c=this.eras();for(e=0,t=c.length;e<t;++e)i=je(c[e].name),n=je(c[e].abbr),a=je(c[e].narrow),r.push(i),o.push(n),l.push(a),s.push(i),s.push(n),s.push(a);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+l.join("|")+")","i")}function qa(e,t){L(0,[e,e.length],0,t)}function Va(e){return Ka.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ga(e){return Ka.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ba(){return Dt(this.year(),1,4)}function Za(){return Dt(this.isoWeekYear(),1,4)}function $a(){var e=this.localeData()._week;return Dt(this.year(),e.dow,e.doy)}function Ja(){var e=this.localeData()._week;return Dt(this.weekYear(),e.dow,e.doy)}function Ka(e,t,i,n,a){var o;return null==e?_t(this,n,a).year:(t>(o=Dt(e,n,a))&&(t=o),Qa.call(this,e,t,i,n,a))}function Qa(e,t,i,n,a){var o=kt(e,t,i,n,a),r=bt(o.year,0,o.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}function Xa(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),Se("N",La),Se("NN",La),Se("NNN",La),Se("NNNN",Wa),Se("NNNNN",Ia),ze(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){var a=i._locale.erasParse(e,n,i._strict);a?h(i).era=a:h(i).invalidEra=e}),Se("y",ge),Se("yy",ge),Se("yyy",ge),Se("yyyy",ge),Se("yo",Ha),ze(["y","yy","yyy","yyyy"],Re),ze(["yo"],function(e,t,i,n){var a;i._locale._eraYearOrdinalRegex&&(a=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[Re]=i._locale.eraYearOrdinalParse(e,a):t[Re]=parseInt(e,10)}),L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),qa("gggg","weekYear"),qa("ggggg","weekYear"),qa("GGGG","isoWeekYear"),qa("GGGGG","isoWeekYear"),Se("G",xe),Se("g",xe),Se("GG",de,le),Se("gg",de,le),Se("GGGG",he,ce),Se("gggg",he,ce),Se("GGGGG",ve,pe),Se("ggggg",ve,pe),Pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=Ce(e)}),Pe(["gg","GG"],function(e,t,n,a){t[a]=i.parseTwoDigitYear(e)}),L("Q",0,"Qo","quarter"),Se("Q",re),ze("Q",function(e,t){t[Fe]=3*(Ce(e)-1)}),L("D",["DD",2],"Do","date"),Se("D",de,_e),Se("DD",de,le),Se("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ze(["D","DD"],Ae),ze("Do",function(e,t){t[Ae]=Ce(e.match(de)[0])});var eo=$e("Date",!0);function to(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}L("DDD",["DDDD",3],"DDDo","dayOfYear"),Se("DDD",fe),Se("DDDD",se),ze(["DDD","DDDD"],function(e,t,i){i._dayOfYear=Ce(e)}),L("m",["mm",2],0,"minute"),Se("m",de,De),Se("mm",de,le),ze(["m","mm"],We);var io=$e("Minutes",!1);L("s",["ss",2],0,"second"),Se("s",de,De),Se("ss",de,le),ze(["s","ss"],Ie);var no,ao,oo=$e("Seconds",!1);for(L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return 10*this.millisecond()}),L(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),L(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),L(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),L(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),L(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Se("S",fe,re),Se("SS",fe,le),Se("SSS",fe,se),no="SSSS";no.length<=9;no+="S")Se(no,ge);function ro(e,t){t[He]=Ce(1e3*("0."+e))}for(no="S";no.length<=9;no+="S")ze(no,ro);function lo(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ao=$e("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var co=w.prototype;function po(e){return $i(1e3*e)}function uo(){return $i.apply(null,arguments).parseZone()}function mo(e){return e}co.add=En,co.calendar=Un,co.clone=qn,co.diff=Kn,co.endOf=xa,co.format=ia,co.from=na,co.fromNow=aa,co.to=oa,co.toNow=ra,co.get=Qe,co.invalidAt=Ma,co.isAfter=Vn,co.isBefore=Gn,co.isBetween=Bn,co.isSame=Zn,co.isSameOrAfter=$n,co.isSameOrBefore=Jn,co.isValid=Sa,co.lang=sa,co.locale=la,co.localeData=ca,co.max=Ki,co.min=Ji,co.parsingFlags=Oa,co.set=Xe,co.startOf=ga,co.subtract=Rn,co.toArray=ka,co.toObject=_a,co.toDate=wa,co.toISOString=ea,co.inspect=ta,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Da,co.toString=Xn,co.unix=ba,co.valueOf=ya,co.creationData=ja,co.eraName=za,co.eraNarrow=Pa,co.eraAbbr=Na,co.eraYear=Ea,co.year=Be,co.isLeapYear=Ze,co.weekYear=Va,co.isoWeekYear=Ga,co.quarter=co.quarters=Xa,co.month=ft,co.daysInMonth=ht,co.week=co.weeks=Tt,co.isoWeek=co.isoWeeks=Ct,co.weeksInYear=$a,co.weeksInWeekYear=Ja,co.isoWeeksInYear=Ba,co.isoWeeksInISOWeekYear=Za,co.date=eo,co.day=co.days=Vt,co.weekday=Gt,co.isoWeekday=Bt,co.dayOfYear=to,co.hour=co.hours=ai,co.minute=co.minutes=io,co.second=co.seconds=oo,co.millisecond=co.milliseconds=ao,co.utcOffset=vn,co.utc=xn,co.local=yn,co.parseZone=bn,co.hasAlignedHourOffset=wn,co.isDST=kn,co.isLocal=Dn,co.isUtcOffset=Sn,co.isUtc=On,co.isUTC=On,co.zoneAbbr=lo,co.zoneName=so,co.dates=D("dates accessor is deprecated. Use date instead.",eo),co.months=D("months accessor is deprecated. Use month instead",ft),co.years=D("years accessor is deprecated. Use year instead",Be),co.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gn),co.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_n);var fo=Y.prototype;function ho(e,t,i,n){var a=xi(),o=m().set(n,t);return a[i](o,e)}function vo(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return ho(e,t,i,"month");var n,a=[];for(n=0;n<12;n++)a[n]=ho(e,n,i,"month");return a}function go(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var a,o=xi(),r=e?o._week.dow:0,l=[];if(null!=i)return ho(t,(i+r)%7,n,"day");for(a=0;a<7;a++)l[a]=ho(t,(a+r)%7,n,"day");return l}function xo(e,t){return vo(e,t,"months")}function yo(e,t){return vo(e,t,"monthsShort")}function bo(e,t,i){return go(e,t,i,"weekdays")}function wo(e,t,i){return go(e,t,i,"weekdaysShort")}function ko(e,t,i){return go(e,t,i,"weekdaysMin")}fo.calendar=P,fo.longDateFormat=V,fo.invalidDate=B,fo.ordinal=J,fo.preparse=mo,fo.postformat=mo,fo.relativeTime=Q,fo.pastFuture=X,fo.set=T,fo.eras=Ta,fo.erasParse=Ca,fo.erasConvertYear=Ya,fo.erasAbbrRegex=Fa,fo.erasNameRegex=Ra,fo.erasNarrowRegex=Aa,fo.months=ct,fo.monthsShort=pt,fo.monthsParse=ut,fo.monthsRegex=gt,fo.monthsShortRegex=vt,fo.week=St,fo.firstDayOfYear=jt,fo.firstDayOfWeek=Mt,fo.weekdays=Wt,fo.weekdaysMin=Ht,fo.weekdaysShort=It,fo.weekdaysParse=qt,fo.weekdaysRegex=Zt,fo.weekdaysShortRegex=$t,fo.weekdaysMinRegex=Jt,fo.isPM=ii,fo.meridiem=oi,hi("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;return e+(1===Ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=D("moment.lang is deprecated. Use moment.locale instead.",hi),i.langData=D("moment.langData is deprecated. Use moment.localeData instead.",xi);var _o=Math.abs;function Do(){var e=this._data;return this._milliseconds=_o(this._milliseconds),this._days=_o(this._days),this._months=_o(this._months),e.milliseconds=_o(e.milliseconds),e.seconds=_o(e.seconds),e.minutes=_o(e.minutes),e.hours=_o(e.hours),e.months=_o(e.months),e.years=_o(e.years),this}function So(e,t,i,n){var a=Tn(t,i);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function Oo(e,t){return So(this,e,t,1)}function Mo(e,t){return So(this,e,t,-1)}function jo(e){return e<0?Math.floor(e):Math.ceil(e)}function To(){var e,t,i,n,a,o=this._milliseconds,r=this._days,l=this._months,s=this._data;return o>=0&&r>=0&&l>=0||o<=0&&r<=0&&l<=0||(o+=864e5*jo(Yo(l)+r),r=0,l=0),s.milliseconds=o%1e3,e=Te(o/1e3),s.seconds=e%60,t=Te(e/60),s.minutes=t%60,i=Te(t/60),s.hours=i%24,r+=Te(i/24),l+=a=Te(Co(r)),r-=jo(Yo(a)),n=Te(l/12),l%=12,s.days=r,s.months=l,s.years=n,this}function Co(e){return 4800*e/146097}function Yo(e){return 146097*e/4800}function zo(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=te(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+Co(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(Yo(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function Po(e){return function(){return this.as(e)}}var No=Po("ms"),Eo=Po("s"),Ro=Po("m"),Fo=Po("h"),Ao=Po("d"),Lo=Po("w"),Wo=Po("M"),Io=Po("Q"),Ho=Po("y"),Uo=No;function qo(){return Tn(this)}function Vo(e){return e=te(e),this.isValid()?this[e+"s"]():NaN}function Go(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bo=Go("milliseconds"),Zo=Go("seconds"),$o=Go("minutes"),Jo=Go("hours"),Ko=Go("days"),Qo=Go("months"),Xo=Go("years");function er(){return Te(this.days()/7)}var tr=Math.round,ir={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nr(e,t,i,n,a){return a.relativeTime(t||1,!!i,e,n)}function ar(e,t,i,n){var a=Tn(e).abs(),o=tr(a.as("s")),r=tr(a.as("m")),l=tr(a.as("h")),s=tr(a.as("d")),c=tr(a.as("M")),p=tr(a.as("w")),d=tr(a.as("y")),u=o<=i.ss&&["s",o]||o<i.s&&["ss",o]||r<=1&&["m"]||r<i.m&&["mm",r]||l<=1&&["h"]||l<i.h&&["hh",l]||s<=1&&["d"]||s<i.d&&["dd",s];return null!=i.w&&(u=u||p<=1&&["w"]||p<i.w&&["ww",p]),(u=u||c<=1&&["M"]||c<i.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,u[3]=+e>0,u[4]=n,nr.apply(null,u)}function or(e){return void 0===e?tr:"function"==typeof e&&(tr=e,!0)}function rr(e,t){return void 0!==ir[e]&&(void 0===t?ir[e]:(ir[e]=t,"s"===e&&(ir.ss=t-1),!0))}function lr(e,t){if(!this.isValid())return this.localeData().invalidDate();var i,n,a=!1,o=ir;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(o=Object.assign({},ir,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=ar(this,!a,o,i=this.localeData()),a&&(n=i.pastFuture(+this,n)),i.postformat(n)}var sr=Math.abs;function cr(e){return(e>0)-(e<0)||+e}function pr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,a,o,r,l,s=sr(this._milliseconds)/1e3,c=sr(this._days),p=sr(this._months),d=this.asSeconds();return d?(e=Te(s/60),t=Te(e/60),s%=60,e%=60,i=Te(p/12),p%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",o=cr(this._months)!==cr(d)?"-":"",r=cr(this._days)!==cr(d)?"-":"",l=cr(this._milliseconds)!==cr(d)?"-":"",a+"P"+(i?o+i+"Y":"")+(p?o+p+"M":"")+(c?r+c+"D":"")+(t||e||s?"T":"")+(t?l+t+"H":"")+(e?l+e+"M":"")+(s?l+n+"S":"")):"P0D"}var dr=ln.prototype;return dr.isValid=on,dr.abs=Do,dr.add=Oo,dr.subtract=Mo,dr.as=zo,dr.asMilliseconds=No,dr.asSeconds=Eo,dr.asMinutes=Ro,dr.asHours=Fo,dr.asDays=Ao,dr.asWeeks=Lo,dr.asMonths=Wo,dr.asQuarters=Io,dr.asYears=Ho,dr.valueOf=Uo,dr._bubble=To,dr.clone=qo,dr.get=Vo,dr.milliseconds=Bo,dr.seconds=Zo,dr.minutes=$o,dr.hours=Jo,dr.days=Ko,dr.weeks=er,dr.months=Qo,dr.years=Xo,dr.humanize=lr,dr.toISOString=pr,dr.toString=pr,dr.toJSON=pr,dr.locale=la,dr.localeData=ca,dr.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),dr.lang=sa,L("X",0,0,"unix"),L("x",0,0,"valueOf"),Se("x",xe),Se("X",we),ze("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),ze("x",function(e,t,i){i._d=new Date(Ce(e))}),
|
|
1
|
+
import e,{useState as t,useRef as i,useEffect as n,useMemo as a,useReducer as o,useCallback as r,forwardRef as l,useImperativeHandle as s,Fragment as c}from"react";import p from"@mui/material/Button";import{jsx as d,jsxs as u,Fragment as m}from"react/jsx-runtime";import f from"@mui/material/Tooltip";import h from"@mui/material/SvgIcon";import v from"@mui/material/Box";import g from"@mui/material/CircularProgress";import x from"@mui/material/Typography";import y from"@mui/material/Link";import b from"@mui/material/TextField";import w from"@mui/material/InputLabel";import k from"@mui/material/Card";import _ from"@mui/icons-material/Error";import D from"@mui/material/FormControlLabel";import S from"@mui/material/Checkbox";import O from"@mui/material/InputAdornment";import{useSnackbar as M}from"notistack";import{Paper as j,IconButton as T,Typography as C}from"@mui/material";import Y from"@mui/material/Grid";import{Link as z,useLocation as P,useParams as N,useNavigate as E}from"react-router-dom";import R from"@mui/material/List";import F from"@mui/material/ListItem";import A from"@mui/material/Switch";import L from"@mui/material/IconButton";import W from"@mui/material/Snackbar";import I from"@mui/icons-material/Close";import{DatePicker as H}from"@mui/x-date-pickers/DatePicker";import{DateTimePicker as U}from"@mui/x-date-pickers/DateTimePicker";import q from"@mui/material/Tabs";import V from"@mui/material/Tab";import G from"@mui/material/AppBar";import B from"@mui/material/ClickAwayListener";import Z from"@mui/material/Menu";import $ from"@mui/material/MenuItem";import J from"@mui/material/Toolbar";import K from"@mui/material/Badge";import Q from"@mui/icons-material/AccountCircle";import X from"@mui/icons-material/Search";import ee from"@mui/icons-material/Notifications";import te from"@mui/material/Paper";import{createTheme as ie,styled as ne}from"@mui/material/styles";import ae from"@mui/material/ListItemText";import oe from"@mui/icons-material/Delete";import re from"@mui/material/Divider";import{PickersDay as le}from"@mui/x-date-pickers/PickersDay";import se from"react-is";import ce from"@mui/material/Chip";import pe from"@mui/material/Accordion";import de from"@mui/material/AccordionSummary";import ue from"@mui/material/AccordionDetails";import me from"@mui/icons-material/ExpandMore";import fe from"@mui/material/Dialog";import he from"@mui/material/Stack";import ve from"@mui/icons-material/ArrowRight";import ge from"@mui/icons-material/ArrowLeft";import xe from"@mui/material/DialogTitle";import ye from"@mui/material/DialogContent";import be from"@mui/material/DialogActions";import we from"@mui/icons-material/EditOff";import ke from"@mui/icons-material/ModeEdit";import{GridToolbar as _e,DataGrid as De,gridClasses as Se}from"@mui/x-data-grid";import{useAuth as Oe,hasAuthParams as Me}from"react-oidc-context";import{utilities as je}from"@linn-it/linn-form-components-library";function Te(e){let{backClick:t,text:i=null}=e;return d("div",{style:{float:"left"},children:d(p,{id:"back-button",onClick:t,children:i||"Back"})})}function Ce(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Ye(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function ze(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(i),!0).forEach(function(t){Ce(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ye(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function Pe(){return d(v,{sx:{textAlign:"center",margin:e=>e.spacing(4),height:"40px"},children:d(g,{})})}function Ne(e){let{href:i,accept:n="text/csv",fileName:a="export.csv",buttonText:o="EXPORT",tooltipText:r="Download report as CSV file",disabled:l=!1,accessToken:s=null}=e;const[c,m]=t(!1),[v,g]=t(!1);let x={Accept:n};s&&(x=ze(ze({},x),{},{Authorization:"Bearer ".concat(s)}));return d("div",{style:{float:"right"},children:d(f,{title:r,placement:"top-end",children:c?d(Pe,{}):u(p,{variant:"outlined",disabled:l,color:v?"secondary":"primary",onClick:()=>{m(!0),g(!1),fetch(i,{headers:new Headers(x)}).then(e=>{if(!e.ok)throw new Error("Network response was not OK");return e.blob()}).then(e=>{const t=window.URL.createObjectURL(e),i=document.createElement("a");i.href=t,i.download=a,document.body.appendChild(i),i.click(),i.remove()}).then(()=>m(!1)).catch(()=>{g(!0),m(!1),alert("Download failed")})},children:[v?"Retry":o,d(h,{children:d("path",{xmlns:"http://www.w3.org/2000/svg",d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"})})]})})})}function Ee(e){let{navigate:t,rootPathLength:i=2,homeUrl:n="https://app.linn.co.uk",location:a}=e,o=a.pathname;o.endsWith("/")&&(o=o.substring(0,o.length-1));const r=o.split("/").filter(e=>"report"!==e).reduce((e,n,a,o)=>{const r=o.slice(0,a+1).join("/")||"/";return n?[...e,{key:a,caption:n,href:r,onClick:e=>{o.length>i&&(e.preventDefault(),t(r))}}]:e},[]);return u(v,{style:{marginLeft:"20px"},children:[d(y,{href:n,variant:"button",sx:{"&:hover":{cursor:"pointer"}},children:"HOME"},"home"),u(m,{children:[" "," / "," "]}),r.map((e,t)=>t<r.length-1?u(v,{children:[d(y,{href:e.href,variant:"button",sx:{"&:hover":{cursor:"pointer"}},onClick:e.onClick,children:e.caption},e.href),u(m,{children:[" "," / "," "]})]},t):d(x,{display:"inline",variant:"button",children:e.caption},t))]})}function Re(e){let{saveClick:t,cancelClick:i,saveDisabled:n=!1,backClick:a,showBackButton:o=!0}=e;return u(v,{sx:{float:"right"},children:[(!n||o)&&d(p,{id:"cancel-button",onClick:()=>{n?a():i()},variant:"outlined",sx:{marginRight:e=>e.spacing(1)},children:n?"Back":"Cancel"}),d(p,{id:"save-button",variant:"contained",color:"primary",onClick:()=>t(),disabled:n,children:"Save"})]})}const Fe=e=>e||0===e,Ae=e=>e.some(e=>e.displayText||""===e.displayText),Le=function(e,t){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2])return["loading..."];const i=e?[...e]:[];return t&&(Ae(e)?i.push({id:"",displayText:""}):i.push("")),i};function We(e){let{onChange:t,optionsLoading:i=!1,propertyName:n,required:a=!1,disabled:o=!1,label:r="",items:l=[],allowNoValue:s=!0,value:c="",helperText:p="",fullWidth:f=!1,adornment:h="",type:v="text",error:g=!1,margin:x="dense",autoFocus:y=!1}=e;return u(m,{children:[d(w,{sx:{fontSize:e=>e.typography.fontSize,color:g?e=>e.palette.error.main:"inherit","& .MuiInputLabel-asterisk":{color:e=>e.palette.error.main}},required:a,error:g,htmlFor:n,children:r}),d(b,{sx:{paddingTop:0,marginTop:e=>e.spacing(1)},autoFocus:y,error:g,id:n,type:v,select:!0,adornment:h,disabled:o,fullWidth:f,value:(k=c,Fe(k)?k:""),onChange:e=>(e=>{const i=e.target.value;let a;a="number"===v?Fe(i)?parseFloat(i):null:Fe(i)?i:"",t(n,a)})(e),SelectProps:{native:!0},size:"small",helperText:p,margin:x,variant:"outlined",required:a,FormHelperTextProps:{sx:{color:g?e=>e.palette.error.main:"inherit","&.Mui-required":{color:e=>e.palette.error.main}}},children:Ae(l)?Le(l,s,i).map(e=>d("option",{value:e.id,children:e.displayText},e.id)):Le(l,s,i).map(e=>d("option",{value:e,children:e},e))})]});var k}function Ie(e){let{errorMessage:t,detailLines:i=[]}=e;return u(k,{sx:{width:"50%",margin:"0 auto",padding:e=>e.spacing(2),backgroundColor:e=>e.palette.error.light},children:[d(_,{sx:{color:e=>e.palette.error.dark,float:"right"}}),d(x,{align:"center",children:t}),d("div",{children:null==i?void 0:i.map(e=>d(x,{align:"center",children:"".concat(e.descriptor," - ").concat(e.message)},e.descriptor))})]})}const He=e=>{let{checked:t=!1,color:i="primary",label:n="",onChange:a,sx:o={}}=e;return d(D,{label:n,sx:ze({width:"100%",fontSize:14},o),control:d(S,{checked:t,onChange:a,color:i})})},Ue=e=>e||0===e;function qe(e){let{onChange:a=null,propertyName:o,type:r="text",adornment:l="",disabled:s=!1,error:c=!1,fullWidth:p=!1,helperText:f="",label:h="",margin:v="dense",maxLength:g=null,rows:x=null,name:y="",placeholder:k="",required:_=!1,value:D="",decimalPlaces:S=null,textFieldProps:M=null,autoFocus:j=!1,onErrorStateChange:T=null,visible:C=!0}=e;const Y=i(null),[z,P]=t(!1),[N,E]=t("");n(()=>{setTimeout(()=>{j&&Y.current&&C&&Y.current.focus()},100)},[j,C]),n(()=>{P(c)},[c]);return u(m,{children:[d(w,{sx:{fontSize:e=>e.typography.fontSize,color:z?e=>e.palette.error.main:"inherit","& .MuiInputLabel-asterisk":{color:e=>e.palette.error.main}},required:_,error:z,htmlFor:o,children:h}),d(b,ze({sx:{paddingTop:0,marginTop:e=>e.spacing(1)},disabled:s,error:z,fullWidth:p,helperText:z?N:f,margin:v,multiline:x>0,name:y,id:o,placeholder:k,required:_,size:"small",rows:x,inputRef:Y,onWheel:()=>{"number"===r&&Y.current.blur()},type:r,value:(R=D,Ue(R)?R:""),onChange:e=>(e=>{const t=e.target.value;let i=t;"number"===r?(i=Ue(t)?parseFloat(t):null,i&&S&&t.indexOf(".")<t.length-S&&-1!==t.indexOf(".")&&(i=parseFloat(t.slice(0,t.indexOf(".")+S+1)))):g&&(null==t?void 0:t.length)>g?(P(!0),E("MAX LENGTH (".concat(g,") EXCEEDED")),T&&T(!0)):g&&(null==t?void 0:t.length)<=g&&(P(!1),T&&T(!1),E("")),a(o,i)})(e),InputProps:{startAdornment:l?d(O,{position:"start",children:l}):null},FormHelperTextProps:{sx:{color:z?e=>e.palette.error.main:e=>e.palette.text.primary}},onInput:e=>{"number"===r&&g&&(e.target.value=e.target.value.slice(0,g))},variant:"outlined"},M))]});var R}function Ve(e){let{to:t,external:i=!1,newTab:n=!1,tooltip:a=null,text:o,disabled:r=!1}=e;const l=d(p,{color:"primary","aria-label":"Search",variant:"outlined",sx:{marginLeft:1,marginTop:3},disabled:r,children:o}),s=a?d(f,{title:a,children:d("div",{children:l})}):l;return r?s:d("div",{children:i?d("a",{href:t,target:n?"_blank":"_self",rel:"noreferrer",style:{textDecoration:"none"},children:s}):d(y,{to:t,style:{textDecoration:"none"},children:s})})}const Ge={xs:4,s:6,m:8,l:10,xl:12},Be={xs:4,s:3,m:2,l:1,xl:0};function Ze(e){let{children:t,navigate:i=null,location:a=null,width:o="l",requestErrors:r=[],showRequestErrors:l=!1,homeUrl:s=null,showBreadcrumbs:c=!0,title:p=null,defaultAppTitle:m=null}=e;const{enqueueSnackbar:f}=M();return n(()=>{r&&l&&r.forEach(e=>{f("".concat(e.message," - ").concat(e.type),{variant:"error",preventDuplicate:!0})})},[r,f,l]),n(()=>(p&&(document.title=p),()=>{m&&(document.title=m)}),[p,m]),u(Y,{container:!0,spacing:3,children:[d(Y,{size:12,children:c&&d(Ee,{navigate:i,homeUrl:s,location:a})}),d(Y,{size:Be[o]}),d(Y,{size:Ge[o],children:d(j,{sx:{padding:4},square:!0,children:t})}),d(Y,{size:Be[o]})]})}const $e=(e,t,i)=>i?"".concat(e[t]," - ").concat(e[i]):e[t];function Je(e){let{title:t="",entityList:i,entityId:n,descriptionFieldName:a=null,hasExternalLinks:o=!1}=e;const r=o?"a":z;return u(m,{children:[d(x,{variant:"h4",children:t}),d(R,{children:i.map(e=>d(F,{button:!0,component:r,to:e.href,href:e.href,children:d(x,{color:"primary",variant:"subtitle2",children:$e(e,n,a)})},e[n]))})]})}function Ke(e){let{createUrl:t,disabled:i=!1}=e;return d(z,{to:t,style:{textDecoration:"none"},children:d(p,{color:"primary",variant:"outlined",sx:{float:"right"},disabled:i,children:"Create"})})}function Qe(e){let{onChange:t,propertyName:i,value:n=!1,label:a,disabled:o}=e;return d(D,{control:d(A,{checked:n,onChange:()=>{t(i,!n)},value:n,color:"primary",disabled:o}),label:a})}function Xe(e){let{message:t,visible:i=!1,onClose:n,timeOut:a=3e3}=e;return d(W,{anchorOrigin:{vertical:"bottom",horizontal:"left"},ContentProps:{sx:{backgroundColor:e=>e.palette.primary.main}},open:i,autoHideDuration:a,onClose:()=>n(!1),message:t,action:d(L,{"aria-label":"Close",color:"inherit",onClick:()=>n(!1),size:"large",children:d(I,{})})})}function et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function tt(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var it,nt={exports:{}};var at,ot=(it||(it=1,(at=nt).exports=function(){var e,t;function i(){return e.apply(null,arguments)}function n(t){e=t}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(r(e,t))return!1;return!0}function s(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function p(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var i,n=[],a=e.length;for(i=0;i<a;++i)n.push(t(e[i],i));return n}function u(e,t){for(var i in t)r(t,i)&&(e[i]=t[i]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,i,n){return Zi(e,t,i,n,!0).utc()}function f(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(e){return null==e._pf&&(e._pf=f()),e._pf}function v(e){var i=null,n=!1,a=e._d&&!isNaN(e._d.getTime());return a&&(i=h(e),n=t.call(i.parsedDateParts,function(e){return null!=e}),a=i.overflow<0&&!i.empty&&!i.invalidEra&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&n),e._strict&&(a=a&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?a:(e._isValid=a,e._isValid)}function g(e){var t=m(NaN);return null!=e?u(h(t),e):h(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){var t,i=Object(this),n=i.length>>>0;for(t=0;t<n;t++)if(t in i&&e.call(this,i[t],t,i))return!0;return!1};var x=i.momentProperties=[],y=!1;function b(e,t){var i,n,a,o=x.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=h(t)),s(t._locale)||(e._locale=t._locale),o>0)for(i=0;i<o;i++)s(a=t[n=x[i]])||(e[n]=a);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,i.updateOffset(this),y=!1)}function k(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function _(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function D(e,t){var n=!0;return u(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var a,o,l,s=[],c=arguments.length;for(o=0;o<c;o++){if(a="","object"==typeof arguments[o]){for(l in a+="\n["+o+"] ",arguments[0])r(arguments[0],l)&&(a+=l+": "+arguments[0][l]+", ");a=a.slice(0,-2)}else a=arguments[o];s.push(a)}_(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var S,O={};function M(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),O[e]||(_(t),O[e]=!0)}function j(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e){var t,i;for(i in e)r(e,i)&&(j(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function C(e,t){var i,n=u({},e);for(i in t)r(t,i)&&(o(e[i])&&o(t[i])?(n[i]={},u(n[i],e[i]),u(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)r(e,i)&&!r(t,i)&&o(e[i])&&(n[i]=u({},n[i]));return n}function Y(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)r(e,t)&&i.push(t);return i};var z={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function P(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return j(n)?n.call(t,i):n}function N(e,t,i){var n=""+Math.abs(e),a=t-n.length;return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var E=/(\[[^\[]*\])|(\\)?([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,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},A={};function L(e,t,i,n){var a=n;"string"==typeof n&&(a=function(){return this[n]()}),e&&(A[e]=a),t&&(A[t[0]]=function(){return N(a.apply(this,arguments),t[1],t[2])}),i&&(A[i]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function I(e){var t,i,n=e.match(E);for(t=0,i=n.length;t<i;t++)A[n[t]]?n[t]=A[n[t]]:n[t]=W(n[t]);return function(t){var a,o="";for(a=0;a<i;a++)o+=j(n[a])?n[a].call(t,e):n[a];return o}}function H(e,t){return e.isValid()?(t=U(t,e.localeData()),F[t]=F[t]||I(t),F[t](e)):e.localeData().invalidDate()}function U(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;i>=0&&R.test(e);)e=e.replace(R,n),R.lastIndex=0,i-=1;return e}var q={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 V(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(E).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var G="Invalid date";function B(){return this._invalidDate}var Z="%d",$=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var K={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 Q(e,t,i,n){var a=this._relativeTime[i];return j(a)?a(e,t,i,n):a.replace(/%d/i,e)}function X(e,t){var i=this._relativeTime[e>0?"future":"past"];return j(i)?i(t):i.replace(/%s/i,t)}var ee={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function te(e){return"string"==typeof e?ee[e]||ee[e.toLowerCase()]:void 0}function ie(e){var t,i,n={};for(i in e)r(e,i)&&(t=te(i))&&(n[t]=e[i]);return n}var ne={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ae(e){var t,i=[];for(t in e)r(e,t)&&i.push({unit:t,priority:ne[t]});return i.sort(function(e,t){return e.priority-t.priority}),i}var oe,re=/\d/,le=/\d\d/,se=/\d{3}/,ce=/\d{4}/,pe=/[+-]?\d{6}/,de=/\d\d?/,ue=/\d\d\d\d?/,me=/\d\d\d\d\d\d?/,fe=/\d{1,3}/,he=/\d{1,4}/,ve=/[+-]?\d{1,6}/,ge=/\d+/,xe=/[+-]?\d+/,ye=/Z|[+-]\d\d:?\d\d/gi,be=/Z|[+-]\d\d(?::?\d\d)?/gi,we=/[+-]?\d+(\.\d{1,3})?/,ke=/[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,_e=/^[1-9]\d?/,De=/^([1-9]\d|\d)/;function Se(e,t,i){oe[e]=j(t)?t:function(e,n){return e&&i?i:t}}function Oe(e,t){return r(oe,e)?oe[e](t._strict,t._locale):new RegExp(Me(e))}function Me(e){return je(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,a){return t||i||n||a}))}function je(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Te(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ce(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=Te(t)),i}oe={};var Ye={};function ze(e,t){var i,n,a=t;for("string"==typeof e&&(e=[e]),c(t)&&(a=function(e,i){i[t]=Ce(e)}),n=e.length,i=0;i<n;i++)Ye[e[i]]=a}function Pe(e,t){ze(e,function(e,i,n,a){n._w=n._w||{},t(e,n._w,n,a)})}function Ne(e,t,i){null!=t&&r(Ye,e)&&Ye[e](t,i._a,i,e)}function Ee(e){return e%4==0&&e%100!=0||e%400==0}var Re=0,Fe=1,Ae=2,Le=3,We=4,Ie=5,He=6,Ue=7,qe=8;function Ve(e){return Ee(e)?366:365}L("Y",0,0,function(){var e=this.year();return e<=9999?N(e,4):"+"+e}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),Se("Y",xe),Se("YY",de,le),Se("YYYY",he,ce),Se("YYYYY",ve,pe),Se("YYYYYY",ve,pe),ze(["YYYYY","YYYYYY"],Re),ze("YYYY",function(e,t){t[Re]=2===e.length?i.parseTwoDigitYear(e):Ce(e)}),ze("YY",function(e,t){t[Re]=i.parseTwoDigitYear(e)}),ze("Y",function(e,t){t[Re]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return Ce(e)+(Ce(e)>68?1900:2e3)};var Ge,Be=$e("FullYear",!0);function Ze(){return Ee(this.year())}function $e(e,t){return function(n){return null!=n?(Ke(this,e,n),i.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){if(!e.isValid())return NaN;var i=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return n?i.getUTCSeconds():i.getSeconds();case"Minutes":return n?i.getUTCMinutes():i.getMinutes();case"Hours":return n?i.getUTCHours():i.getHours();case"Date":return n?i.getUTCDate():i.getDate();case"Day":return n?i.getUTCDay():i.getDay();case"Month":return n?i.getUTCMonth():i.getMonth();case"FullYear":return n?i.getUTCFullYear():i.getFullYear();default:return NaN}}function Ke(e,t,i){var n,a,o,r,l;if(e.isValid()&&!isNaN(i)){switch(n=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?n.setUTCMilliseconds(i):n.setMilliseconds(i));case"Seconds":return void(a?n.setUTCSeconds(i):n.setSeconds(i));case"Minutes":return void(a?n.setUTCMinutes(i):n.setMinutes(i));case"Hours":return void(a?n.setUTCHours(i):n.setHours(i));case"Date":return void(a?n.setUTCDate(i):n.setDate(i));case"FullYear":break;default:return}o=i,r=e.month(),l=29!==(l=e.date())||1!==r||Ee(o)?l:28,a?n.setUTCFullYear(o,r,l):n.setFullYear(o,r,l)}}function Qe(e){return j(this[e=te(e)])?this[e]():this}function Xe(e,t){if("object"==typeof e){var i,n=ae(e=ie(e)),a=n.length;for(i=0;i<a;i++)this[n[i].unit](e[n[i].unit])}else if(j(this[e=te(e)]))return this[e](t);return this}function et(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=et(t,12);return e+=(t-i)/12,1===i?Ee(e)?29:28:31-i%7%2}Ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),L("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Se("M",de,_e),Se("MM",de,le),Se("MMM",function(e,t){return t.monthsShortRegex(e)}),Se("MMMM",function(e,t){return t.monthsRegex(e)}),ze(["M","MM"],function(e,t){t[Fe]=Ce(e)-1}),ze(["MMM","MMMM"],function(e,t,i,n){var a=i._locale.monthsParse(e,n,i._strict);null!=a?t[Fe]=a:h(i).invalidMonth=e});var nt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,lt=ke,st=ke;function ct(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function pt(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function dt(e,t,i){var n,a,o,r=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=m([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(a=Ge.call(this._shortMonthsParse,r))?a:null:-1!==(a=Ge.call(this._longMonthsParse,r))?a:null:"MMM"===t?-1!==(a=Ge.call(this._shortMonthsParse,r))||-1!==(a=Ge.call(this._longMonthsParse,r))?a:null:-1!==(a=Ge.call(this._longMonthsParse,r))||-1!==(a=Ge.call(this._shortMonthsParse,r))?a:null}function ut(e,t,i){var n,a,o;if(this._monthsParseExact)return dt.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=m([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}}function mt(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Ce(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var i=t,n=e.date();return n=n<29?n:Math.min(n,it(e.year(),i)),e._isUTC?e._d.setUTCMonth(i,n):e._d.setMonth(i,n),e}function ft(e){return null!=e?(mt(this,e),i.updateOffset(this,!0),this):Je(this,"Month")}function ht(){return it(this.year(),this.month())}function vt(e){return this._monthsParseExact?(r(this,"_monthsRegex")||xt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=lt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(e){return this._monthsParseExact?(r(this,"_monthsRegex")||xt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function xt(){function e(e,t){return t.length-e.length}var t,i,n,a,o=[],r=[],l=[];for(t=0;t<12;t++)i=m([2e3,t]),n=je(this.monthsShort(i,"")),a=je(this.months(i,"")),o.push(n),r.push(a),l.push(a),l.push(n);o.sort(e),r.sort(e),l.sort(e),this._monthsRegex=new RegExp("^("+l.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function yt(e,t,i,n,a,o,r){var l;return e<100&&e>=0?(l=new Date(e+400,t,i,n,a,o,r),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,i,n,a,o,r),l}function bt(e){var t,i;return e<100&&e>=0?((i=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,i){var n=7+t-i;return-(7+bt(e,0,n).getUTCDay()-t)%7+n-1}function kt(e,t,i,n,a){var o,r,l=1+7*(t-1)+(7+i-n)%7+wt(e,n,a);return l<=0?r=Ve(o=e-1)+l:l>Ve(e)?(o=e+1,r=l-Ve(e)):(o=e,r=l),{year:o,dayOfYear:r}}function _t(e,t,i){var n,a,o=wt(e.year(),t,i),r=Math.floor((e.dayOfYear()-o-1)/7)+1;return r<1?n=r+Dt(a=e.year()-1,t,i):r>Dt(e.year(),t,i)?(n=r-Dt(e.year(),t,i),a=e.year()+1):(a=e.year(),n=r),{week:n,year:a}}function Dt(e,t,i){var n=wt(e,t,i),a=wt(e+1,t,i);return(Ve(e)-n+a)/7}function St(e){return _t(e,this._week.dow,this._week.doy).week}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),Se("w",de,_e),Se("ww",de,le),Se("W",de,_e),Se("WW",de,le),Pe(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=Ce(e)});var Ot={dow:0,doy:6};function Mt(){return this._week.dow}function jt(){return this._week.doy}function Tt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ct(e){var t=_t(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Yt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function zt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}L("d",0,"do","day"),L("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),L("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),L("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),Se("d",de),Se("e",de),Se("E",de),Se("dd",function(e,t){return t.weekdaysMinRegex(e)}),Se("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Se("dddd",function(e,t){return t.weekdaysRegex(e)}),Pe(["dd","ddd","dddd"],function(e,t,i,n){var a=i._locale.weekdaysParse(e,n,i._strict);null!=a?t.d=a:h(i).invalidWeekday=e}),Pe(["d","e","E"],function(e,t,i,n){t[n]=Ce(e)});var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Et="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=ke,At=ke,Lt=ke;function Wt(e,t){var i=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(i,this._week.dow):e?i[e.day()]:i}function It(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ht(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,i){var n,a,o,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=m([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(a=Ge.call(this._weekdaysParse,r))?a:null:"ddd"===t?-1!==(a=Ge.call(this._shortWeekdaysParse,r))?a:null:-1!==(a=Ge.call(this._minWeekdaysParse,r))?a:null:"dddd"===t?-1!==(a=Ge.call(this._weekdaysParse,r))||-1!==(a=Ge.call(this._shortWeekdaysParse,r))||-1!==(a=Ge.call(this._minWeekdaysParse,r))?a:null:"ddd"===t?-1!==(a=Ge.call(this._shortWeekdaysParse,r))||-1!==(a=Ge.call(this._weekdaysParse,r))||-1!==(a=Ge.call(this._minWeekdaysParse,r))?a:null:-1!==(a=Ge.call(this._minWeekdaysParse,r))||-1!==(a=Ge.call(this._weekdaysParse,r))||-1!==(a=Ge.call(this._shortWeekdaysParse,r))?a:null}function qt(e,t,i){var n,a,o;if(this._weekdaysParseExact)return Ut.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=m([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=Je(this,"Day");return null!=e?(e=Yt(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Bt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=zt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=At),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,i,n,a,o,r=[],l=[],s=[],c=[];for(t=0;t<7;t++)i=m([2e3,1]).day(t),n=je(this.weekdaysMin(i,"")),a=je(this.weekdaysShort(i,"")),o=je(this.weekdays(i,"")),r.push(n),l.push(a),s.push(o),c.push(n),c.push(a),c.push(o);r.sort(e),l.sort(e),s.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function ei(e,t){L(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ti(e,t){return t._meridiemParse}function ii(e){return"p"===(e+"").toLowerCase().charAt(0)}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Qt),L("k",["kk",2],0,Xt),L("hmm",0,0,function(){return""+Qt.apply(this)+N(this.minutes(),2)}),L("hmmss",0,0,function(){return""+Qt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),L("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),L("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),ei("a",!0),ei("A",!1),Se("a",ti),Se("A",ti),Se("H",de,De),Se("h",de,_e),Se("k",de,_e),Se("HH",de,le),Se("hh",de,le),Se("kk",de,le),Se("hmm",ue),Se("hmmss",me),Se("Hmm",ue),Se("Hmmss",me),ze(["H","HH"],Le),ze(["k","kk"],function(e,t,i){var n=Ce(e);t[Le]=24===n?0:n}),ze(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),ze(["h","hh"],function(e,t,i){t[Le]=Ce(e),h(i).bigHour=!0}),ze("hmm",function(e,t,i){var n=e.length-2;t[Le]=Ce(e.substr(0,n)),t[We]=Ce(e.substr(n)),h(i).bigHour=!0}),ze("hmmss",function(e,t,i){var n=e.length-4,a=e.length-2;t[Le]=Ce(e.substr(0,n)),t[We]=Ce(e.substr(n,2)),t[Ie]=Ce(e.substr(a)),h(i).bigHour=!0}),ze("Hmm",function(e,t,i){var n=e.length-2;t[Le]=Ce(e.substr(0,n)),t[We]=Ce(e.substr(n))}),ze("Hmmss",function(e,t,i){var n=e.length-4,a=e.length-2;t[Le]=Ce(e.substr(0,n)),t[We]=Ce(e.substr(n,2)),t[Ie]=Ce(e.substr(a))});var ni=/[ap]\.?m?\.?/i,ai=$e("Hours",!0);function oi(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var ri,li={calendar:z,longDateFormat:q,invalidDate:G,ordinal:Z,dayOfMonthOrdinalParse:$,relativeTime:K,months:nt,monthsShort:ot,week:Ot,weekdays:Nt,weekdaysMin:Rt,weekdaysShort:Et,meridiemParse:ni},si={},ci={};function pi(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function di(e){return e?e.toLowerCase().replace("_","-"):e}function ui(e){for(var t,i,n,a,o=0;o<e.length;){for(t=(a=di(e[o]).split("-")).length,i=(i=di(e[o+1]))?i.split("-"):null;t>0;){if(n=fi(a.slice(0,t).join("-")))return n;if(i&&i.length>=t&&pi(a,i)>=t-1)break;t--}o++}return ri}function mi(e){return!(!e||!e.match("^[^/\\\\]*$"))}function fi(e){var t=null;if(void 0===si[e]&&at&&at.exports&&mi(e))try{t=ri._abbr,tt("./locale/"+e),hi(t)}catch(t){si[e]=null}return si[e]}function hi(e,t){var i;return e&&((i=s(t)?xi(e):vi(e,t))?ri=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ri._abbr}function vi(e,t){if(null!==t){var i,n=li;if(t.abbr=e,null!=si[e])M("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=si[e]._config;else if(null!=t.parentLocale)if(null!=si[t.parentLocale])n=si[t.parentLocale]._config;else{if(null==(i=fi(t.parentLocale)))return ci[t.parentLocale]||(ci[t.parentLocale]=[]),ci[t.parentLocale].push({name:e,config:t}),null;n=i._config}return si[e]=new Y(C(n,t)),ci[e]&&ci[e].forEach(function(e){vi(e.name,e.config)}),hi(e),si[e]}return delete si[e],null}function gi(e,t){if(null!=t){var i,n,a=li;null!=si[e]&&null!=si[e].parentLocale?si[e].set(C(si[e]._config,t)):(null!=(n=fi(e))&&(a=n._config),t=C(a,t),null==n&&(t.abbr=e),(i=new Y(t)).parentLocale=si[e],si[e]=i),hi(e)}else null!=si[e]&&(null!=si[e].parentLocale?(si[e]=si[e].parentLocale,e===hi()&&hi(e)):null!=si[e]&&delete si[e]);return si[e]}function xi(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ri;if(!a(e)){if(t=fi(e))return t;e=[e]}return ui(e)}function yi(){return S(si)}function bi(e){var t,i=e._a;return i&&-2===h(e).overflow&&(t=i[Fe]<0||i[Fe]>11?Fe:i[Ae]<1||i[Ae]>it(i[Re],i[Fe])?Ae:i[Le]<0||i[Le]>24||24===i[Le]&&(0!==i[We]||0!==i[Ie]||0!==i[He])?Le:i[We]<0||i[We]>59?We:i[Ie]<0||i[Ie]>59?Ie:i[He]<0||i[He]>999?He:-1,h(e)._overflowDayOfYear&&(t<Re||t>Ae)&&(t=Ae),h(e)._overflowWeeks&&-1===t&&(t=Ue),h(e)._overflowWeekday&&-1===t&&(t=qe),h(e).overflow=t),e}var wi=/^\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)?)?$/,ki=/^\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)?)?$/,_i=/Z|[+-]\d\d(?::?\d\d)?/,Di=[["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]],Si=[["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/]],Oi=/^\/?Date\((-?\d+)/i,Mi=/^(?:(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}))$/,ji={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ti(e){var t,i,n,a,o,r,l=e._i,s=wi.exec(l)||ki.exec(l),c=Di.length,p=Si.length;if(s){for(h(e).iso=!0,t=0,i=c;t<i;t++)if(Di[t][1].exec(s[1])){a=Di[t][0],n=!1!==Di[t][2];break}if(null==a)return void(e._isValid=!1);if(s[3]){for(t=0,i=p;t<i;t++)if(Si[t][1].exec(s[3])){o=(s[2]||" ")+Si[t][0];break}if(null==o)return void(e._isValid=!1)}if(!n&&null!=o)return void(e._isValid=!1);if(s[4]){if(!_i.exec(s[4]))return void(e._isValid=!1);r="Z"}e._f=a+(o||"")+(r||""),Ii(e)}else e._isValid=!1}function Ci(e,t,i,n,a,o){var r=[Yi(e),ot.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(a,10)];return o&&r.push(parseInt(o,10)),r}function Yi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function zi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pi(e,t,i){return!e||Et.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(i).weekdayMismatch=!0,i._isValid=!1,!1)}function Ni(e,t,i){if(e)return ji[e];if(t)return 0;var n=parseInt(i,10),a=n%100;return(n-a)/100*60+a}function Ei(e){var t,i=Mi.exec(zi(e._i));if(i){if(t=Ci(i[4],i[3],i[2],i[5],i[6],i[7]),!Pi(i[1],t,e))return;e._a=t,e._tzm=Ni(i[8],i[9],i[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Ri(e){var t=Oi.exec(e._i);null===t?(Ti(e),!1===e._isValid&&(delete e._isValid,Ei(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Fi(e,t,i){return null!=e?e:null!=t?t:i}function Ai(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Li(e){var t,i,n,a,o,r=[];if(!e._d){for(n=Ai(e),e._w&&null==e._a[Ae]&&null==e._a[Fe]&&Wi(e),null!=e._dayOfYear&&(o=Fi(e._a[Re],n[Re]),(e._dayOfYear>Ve(o)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),i=bt(o,0,e._dayOfYear),e._a[Fe]=i.getUTCMonth(),e._a[Ae]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Le]&&0===e._a[We]&&0===e._a[Ie]&&0===e._a[He]&&(e._nextDay=!0,e._a[Le]=0),e._d=(e._useUTC?bt:yt).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Le]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(h(e).weekdayMismatch=!0)}}function Wi(e){var t,i,n,a,o,r,l,s,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,r=4,i=Fi(t.GG,e._a[Re],_t($i(),1,4).year),n=Fi(t.W,1),((a=Fi(t.E,1))<1||a>7)&&(s=!0)):(o=e._locale._week.dow,r=e._locale._week.doy,c=_t($i(),o,r),i=Fi(t.gg,e._a[Re],c.year),n=Fi(t.w,c.week),null!=t.d?((a=t.d)<0||a>6)&&(s=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(s=!0)):a=o),n<1||n>Dt(i,o,r)?h(e)._overflowWeeks=!0:null!=s?h(e)._overflowWeekday=!0:(l=kt(i,n,a,o,r),e._a[Re]=l.year,e._dayOfYear=l.dayOfYear)}function Ii(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],h(e).empty=!0;var t,n,a,o,r,l,s,c=""+e._i,p=c.length,d=0;for(s=(a=U(e._f,e._locale).match(E)||[]).length,t=0;t<s;t++)o=a[t],(n=(c.match(Oe(o,e))||[])[0])&&((r=c.substr(0,c.indexOf(n))).length>0&&h(e).unusedInput.push(r),c=c.slice(c.indexOf(n)+n.length),d+=n.length),A[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),Ne(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=p-d,c.length>0&&h(e).unusedInput.push(c),e._a[Le]<=12&&!0===h(e).bigHour&&e._a[Le]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[Le]=Hi(e._locale,e._a[Le],e._meridiem),null!==(l=h(e).era)&&(e._a[Re]=e._locale.erasConvertYear(l,e._a[Re])),Li(e),bi(e)}else Ei(e);else Ti(e)}function Hi(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Ui(e){var t,i,n,a,o,r,l=!1,s=e._f.length;if(0===s)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<s;a++)o=0,r=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Ii(t),v(t)&&(r=!0),o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,l?o<n&&(n=o,i=t):(null==n||o<n||r)&&(n=o,i=t,r&&(l=!0));u(e,i||t)}function qi(e){if(!e._d){var t=ie(e._i),i=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Li(e)}}function Vi(e){var t=new w(bi(Gi(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gi(e){var t=e._i,i=e._f;return e._locale=e._locale||xi(e._l),null===t||void 0===i&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(bi(t)):(p(t)?e._d=t:a(i)?Ui(e):i?Ii(e):Bi(e),v(e)||(e._d=null),e))}function Bi(e){var t=e._i;s(t)?e._d=new Date(i.now()):p(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Ri(e):a(t)?(e._a=d(t.slice(0),function(e){return parseInt(e,10)}),Li(e)):o(t)?qi(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Zi(e,t,i,n,r){var s={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=i,s._i=e,s._f=t,s._strict=n,Vi(s)}function $i(e,t,i,n){return Zi(e,t,i,n,!1)}i.createFromInputFallback=D("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":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ji=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$i.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),Ki=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$i.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()});function Qi(e,t){var i,n;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return $i();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}function Xi(){return Qi("isBefore",[].slice.call(arguments,0))}function en(){return Qi("isAfter",[].slice.call(arguments,0))}var tn=function(){return Date.now?Date.now():+new Date},nn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function an(e){var t,i,n=!1,a=nn.length;for(t in e)if(r(e,t)&&(-1===Ge.call(nn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<a;++i)if(e[nn[i]]){if(n)return!1;parseFloat(e[nn[i]])!==Ce(e[nn[i]])&&(n=!0)}return!0}function on(){return this._isValid}function rn(){return Tn(NaN)}function ln(e){var t=ie(e),i=t.year||0,n=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,r=t.day||0,l=t.hour||0,s=t.minute||0,c=t.second||0,p=t.millisecond||0;this._isValid=an(t),this._milliseconds=+p+1e3*c+6e4*s+1e3*l*60*60,this._days=+r+7*o,this._months=+a+3*n+12*i,this._data={},this._locale=xi(),this._bubble()}function sn(e){return e instanceof ln}function cn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function pn(e,t,i){var n,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),r=0;for(n=0;n<a;n++)Ce(e[n])!==Ce(t[n])&&r++;return r+o}function dn(e,t){L(e,0,0,function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+N(~~(e/60),2)+t+N(~~e%60,2)})}dn("Z",":"),dn("ZZ",""),Se("Z",be),Se("ZZ",be),ze(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=mn(be,e)});var un=/([\+\-]|\d\d)/gi;function mn(e,t){var i,n,a=(t||"").match(e);return null===a?null:0===(n=60*(i=((a[a.length-1]||[])+"").match(un)||["-",0,0])[1]+Ce(i[2]))?0:"+"===i[0]?n:-n}function fn(e,t){var n,a;return t._isUTC?(n=t.clone(),a=(k(e)||p(e)?e.valueOf():$i(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+a),i.updateOffset(n,!1),n):$i(e).local()}function hn(e){return-Math.round(e._d.getTimezoneOffset())}function vn(e,t,n){var a,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mn(be,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=hn(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),o!==e&&(!t||this._changeInProgress?Nn(this,Tn(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:hn(this)}function gn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function xn(e){return this.utcOffset(0,e)}function yn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hn(this),"m")),this}function bn(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mn(ye,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wn(e){return!!this.isValid()&&(e=e?$i(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function kn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _n(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Gi(t))._a?(e=t._isUTC?m(t._a):$i(t._a),this._isDSTShifted=this.isValid()&&pn(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Dn(){return!!this.isValid()&&!this._isUTC}function Sn(){return!!this.isValid()&&this._isUTC}function On(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Mn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tn(e,t){var i,n,a,o=e,l=null;return sn(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(l=Mn.exec(e))?(i="-"===l[1]?-1:1,o={y:0,d:Ce(l[Ae])*i,h:Ce(l[Le])*i,m:Ce(l[We])*i,s:Ce(l[Ie])*i,ms:Ce(cn(1e3*l[He]))*i}):(l=jn.exec(e))?(i="-"===l[1]?-1:1,o={y:Cn(l[2],i),M:Cn(l[3],i),w:Cn(l[4],i),d:Cn(l[5],i),h:Cn(l[6],i),m:Cn(l[7],i),s:Cn(l[8],i)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(a=zn($i(o.from),$i(o.to)),(o={}).ms=a.milliseconds,o.M=a.months),n=new ln(o),sn(e)&&r(e,"_locale")&&(n._locale=e._locale),sn(e)&&r(e,"_isValid")&&(n._isValid=e._isValid),n}function Cn(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function Yn(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function zn(e,t){var i;return e.isValid()&&t.isValid()?(t=fn(t,e),e.isBefore(t)?i=Yn(e,t):((i=Yn(t,e)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function Pn(e,t){return function(i,n){var a;return null===n||isNaN(+n)||(M(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=i,i=n,n=a),Nn(this,Tn(i,n),e),this}}function Nn(e,t,n,a){var o=t._milliseconds,r=cn(t._days),l=cn(t._months);e.isValid()&&(a=null==a||a,l&&mt(e,Je(e,"Month")+l*n),r&&Ke(e,"Date",Je(e,"Date")+r*n),o&&e._d.setTime(e._d.valueOf()+o*n),a&&i.updateOffset(e,r||l))}Tn.fn=ln.prototype,Tn.invalid=rn;var En=Pn(1,"add"),Rn=Pn(-1,"subtract");function Fn(e){return"string"==typeof e||e instanceof String}function An(e){return k(e)||p(e)||Fn(e)||c(e)||Wn(e)||Ln(e)||null==e}function Ln(e){var t,i,n=o(e)&&!l(e),a=!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"],c=s.length;for(t=0;t<c;t+=1)i=s[t],a=a||r(e,i);return n&&a}function Wn(e){var t=a(e),i=!1;return t&&(i=0===e.filter(function(t){return!c(t)&&Fn(e)}).length),t&&i}function In(e){var t,i,n=o(e)&&!l(e),a=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<s.length;t+=1)i=s[t],a=a||r(e,i);return n&&a}function Hn(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function Un(e,t){1===arguments.length&&(arguments[0]?An(arguments[0])?(e=arguments[0],t=void 0):In(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||$i(),a=fn(n,this).startOf("day"),o=i.calendarFormat(this,a)||"sameElse",r=t&&(j(t[o])?t[o].call(this,n):t[o]);return this.format(r||this.localeData().calendar(o,this,$i(n)))}function qn(){return new w(this)}function Vn(e,t){var i=k(e)?e:$i(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=te(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())}function Gn(e,t){var i=k(e)?e:$i(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=te(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())}function Bn(e,t,i,n){var a=k(e)?e:$i(e),o=k(t)?t:$i(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&("("===(n=n||"()")[0]?this.isAfter(a,i):!this.isBefore(a,i))&&(")"===n[1]?this.isBefore(o,i):!this.isAfter(o,i))}function Zn(e,t){var i,n=k(e)?e:$i(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=te(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))}function $n(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Jn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kn(e,t,i){var n,a,o;if(!this.isValid())return NaN;if(!(n=fn(e,this)).isValid())return NaN;switch(a=6e4*(n.utcOffset()-this.utcOffset()),t=te(t)){case"year":o=Qn(this,n)/12;break;case"month":o=Qn(this,n);break;case"quarter":o=Qn(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-a)/864e5;break;case"week":o=(this-n-a)/6048e5;break;default:o=this-n}return i?o:Te(o)}function Qn(e,t){if(e.date()<t.date())return-Qn(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(i+1,"months")-n)))||0}function Xn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ea(e){if(!this.isValid())return null;var t=!0!==e,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?H(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(i,"Z")):H(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i,n,a="moment",o="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",n=o+'[")]',this.format(e+t+i+n)}function ia(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)}function na(e,t){return this.isValid()&&(k(e)&&e.isValid()||$i(e).isValid())?Tn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function aa(e){return this.from($i(),e)}function oa(e,t){return this.isValid()&&(k(e)&&e.isValid()||$i(e).isValid())?Tn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ra(e){return this.to($i(),e)}function la(e){var t;return void 0===e?this._locale._abbr:(null!=(t=xi(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sa=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function ca(){return this._locale}var pa=1e3,da=60*pa,ua=60*da,ma=3506328*ua;function fa(e,t){return(e%t+t)%t}function ha(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-ma:new Date(e,t,i).valueOf()}function va(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-ma:Date.UTC(e,t,i)}function ga(e){var t,n;if(void 0===(e=te(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?va:ha,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fa(t+(this._isUTC?0:this.utcOffset()*da),ua);break;case"minute":t=this._d.valueOf(),t-=fa(t,da);break;case"second":t=this._d.valueOf(),t-=fa(t,pa)}return this._d.setTime(t),i.updateOffset(this,!0),this}function xa(e){var t,n;if(void 0===(e=te(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?va:ha,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ua-fa(t+(this._isUTC?0:this.utcOffset()*da),ua)-1;break;case"minute":t=this._d.valueOf(),t+=da-fa(t,da)-1;break;case"second":t=this._d.valueOf(),t+=pa-fa(t,pa)-1}return this._d.setTime(t),i.updateOffset(this,!0),this}function ya(){return this._d.valueOf()-6e4*(this._offset||0)}function ba(){return Math.floor(this.valueOf()/1e3)}function wa(){return new Date(this.valueOf())}function ka(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function _a(){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 Da(){return this.isValid()?this.toISOString():null}function Sa(){return v(this)}function Oa(){return u({},h(this))}function Ma(){return h(this).overflow}function ja(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ta(e,t){var n,a,o,r=this._eras||xi("en")._eras;for(n=0,a=r.length;n<a;++n)switch("string"==typeof r[n].since&&(o=i(r[n].since).startOf("day"),r[n].since=o.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":o=i(r[n].until).startOf("day").valueOf(),r[n].until=o.valueOf()}return r}function Ca(e,t,i){var n,a,o,r,l,s=this.eras();for(e=e.toUpperCase(),n=0,a=s.length;n<a;++n)if(o=s[n].name.toUpperCase(),r=s[n].abbr.toUpperCase(),l=s[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(r===e)return s[n];break;case"NNNN":if(o===e)return s[n];break;case"NNNNN":if(l===e)return s[n]}else if([o,r,l].indexOf(e)>=0)return s[n]}function Ya(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function za(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].name;if(n[e].until<=i&&i<=n[e].since)return n[e].name}return""}function Pa(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""}function Na(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""}function Ea(){var e,t,n,a,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,a=this.clone().startOf("day").valueOf(),o[e].since<=a&&a<=o[e].until||o[e].until<=a&&a<=o[e].since)return(this.year()-i(o[e].since).year())*n+o[e].offset;return this.year()}function Ra(e){return r(this,"_erasNameRegex")||Ua.call(this),e?this._erasNameRegex:this._erasRegex}function Fa(e){return r(this,"_erasAbbrRegex")||Ua.call(this),e?this._erasAbbrRegex:this._erasRegex}function Aa(e){return r(this,"_erasNarrowRegex")||Ua.call(this),e?this._erasNarrowRegex:this._erasRegex}function La(e,t){return t.erasAbbrRegex(e)}function Wa(e,t){return t.erasNameRegex(e)}function Ia(e,t){return t.erasNarrowRegex(e)}function Ha(e,t){return t._eraYearOrdinalRegex||ge}function Ua(){var e,t,i,n,a,o=[],r=[],l=[],s=[],c=this.eras();for(e=0,t=c.length;e<t;++e)i=je(c[e].name),n=je(c[e].abbr),a=je(c[e].narrow),r.push(i),o.push(n),l.push(a),s.push(i),s.push(n),s.push(a);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+l.join("|")+")","i")}function qa(e,t){L(0,[e,e.length],0,t)}function Va(e){return Ka.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ga(e){return Ka.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ba(){return Dt(this.year(),1,4)}function Za(){return Dt(this.isoWeekYear(),1,4)}function $a(){var e=this.localeData()._week;return Dt(this.year(),e.dow,e.doy)}function Ja(){var e=this.localeData()._week;return Dt(this.weekYear(),e.dow,e.doy)}function Ka(e,t,i,n,a){var o;return null==e?_t(this,n,a).year:(t>(o=Dt(e,n,a))&&(t=o),Qa.call(this,e,t,i,n,a))}function Qa(e,t,i,n,a){var o=kt(e,t,i,n,a),r=bt(o.year,0,o.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}function Xa(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),Se("N",La),Se("NN",La),Se("NNN",La),Se("NNNN",Wa),Se("NNNNN",Ia),ze(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){var a=i._locale.erasParse(e,n,i._strict);a?h(i).era=a:h(i).invalidEra=e}),Se("y",ge),Se("yy",ge),Se("yyy",ge),Se("yyyy",ge),Se("yo",Ha),ze(["y","yy","yyy","yyyy"],Re),ze(["yo"],function(e,t,i,n){var a;i._locale._eraYearOrdinalRegex&&(a=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[Re]=i._locale.eraYearOrdinalParse(e,a):t[Re]=parseInt(e,10)}),L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),qa("gggg","weekYear"),qa("ggggg","weekYear"),qa("GGGG","isoWeekYear"),qa("GGGGG","isoWeekYear"),Se("G",xe),Se("g",xe),Se("GG",de,le),Se("gg",de,le),Se("GGGG",he,ce),Se("gggg",he,ce),Se("GGGGG",ve,pe),Se("ggggg",ve,pe),Pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=Ce(e)}),Pe(["gg","GG"],function(e,t,n,a){t[a]=i.parseTwoDigitYear(e)}),L("Q",0,"Qo","quarter"),Se("Q",re),ze("Q",function(e,t){t[Fe]=3*(Ce(e)-1)}),L("D",["DD",2],"Do","date"),Se("D",de,_e),Se("DD",de,le),Se("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ze(["D","DD"],Ae),ze("Do",function(e,t){t[Ae]=Ce(e.match(de)[0])});var eo=$e("Date",!0);function to(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}L("DDD",["DDDD",3],"DDDo","dayOfYear"),Se("DDD",fe),Se("DDDD",se),ze(["DDD","DDDD"],function(e,t,i){i._dayOfYear=Ce(e)}),L("m",["mm",2],0,"minute"),Se("m",de,De),Se("mm",de,le),ze(["m","mm"],We);var io=$e("Minutes",!1);L("s",["ss",2],0,"second"),Se("s",de,De),Se("ss",de,le),ze(["s","ss"],Ie);var no,ao,oo=$e("Seconds",!1);for(L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return 10*this.millisecond()}),L(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),L(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),L(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),L(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),L(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Se("S",fe,re),Se("SS",fe,le),Se("SSS",fe,se),no="SSSS";no.length<=9;no+="S")Se(no,ge);function ro(e,t){t[He]=Ce(1e3*("0."+e))}for(no="S";no.length<=9;no+="S")ze(no,ro);function lo(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ao=$e("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var co=w.prototype;function po(e){return $i(1e3*e)}function uo(){return $i.apply(null,arguments).parseZone()}function mo(e){return e}co.add=En,co.calendar=Un,co.clone=qn,co.diff=Kn,co.endOf=xa,co.format=ia,co.from=na,co.fromNow=aa,co.to=oa,co.toNow=ra,co.get=Qe,co.invalidAt=Ma,co.isAfter=Vn,co.isBefore=Gn,co.isBetween=Bn,co.isSame=Zn,co.isSameOrAfter=$n,co.isSameOrBefore=Jn,co.isValid=Sa,co.lang=sa,co.locale=la,co.localeData=ca,co.max=Ki,co.min=Ji,co.parsingFlags=Oa,co.set=Xe,co.startOf=ga,co.subtract=Rn,co.toArray=ka,co.toObject=_a,co.toDate=wa,co.toISOString=ea,co.inspect=ta,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Da,co.toString=Xn,co.unix=ba,co.valueOf=ya,co.creationData=ja,co.eraName=za,co.eraNarrow=Pa,co.eraAbbr=Na,co.eraYear=Ea,co.year=Be,co.isLeapYear=Ze,co.weekYear=Va,co.isoWeekYear=Ga,co.quarter=co.quarters=Xa,co.month=ft,co.daysInMonth=ht,co.week=co.weeks=Tt,co.isoWeek=co.isoWeeks=Ct,co.weeksInYear=$a,co.weeksInWeekYear=Ja,co.isoWeeksInYear=Ba,co.isoWeeksInISOWeekYear=Za,co.date=eo,co.day=co.days=Vt,co.weekday=Gt,co.isoWeekday=Bt,co.dayOfYear=to,co.hour=co.hours=ai,co.minute=co.minutes=io,co.second=co.seconds=oo,co.millisecond=co.milliseconds=ao,co.utcOffset=vn,co.utc=xn,co.local=yn,co.parseZone=bn,co.hasAlignedHourOffset=wn,co.isDST=kn,co.isLocal=Dn,co.isUtcOffset=Sn,co.isUtc=On,co.isUTC=On,co.zoneAbbr=lo,co.zoneName=so,co.dates=D("dates accessor is deprecated. Use date instead.",eo),co.months=D("months accessor is deprecated. Use month instead",ft),co.years=D("years accessor is deprecated. Use year instead",Be),co.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gn),co.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_n);var fo=Y.prototype;function ho(e,t,i,n){var a=xi(),o=m().set(n,t);return a[i](o,e)}function vo(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return ho(e,t,i,"month");var n,a=[];for(n=0;n<12;n++)a[n]=ho(e,n,i,"month");return a}function go(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var a,o=xi(),r=e?o._week.dow:0,l=[];if(null!=i)return ho(t,(i+r)%7,n,"day");for(a=0;a<7;a++)l[a]=ho(t,(a+r)%7,n,"day");return l}function xo(e,t){return vo(e,t,"months")}function yo(e,t){return vo(e,t,"monthsShort")}function bo(e,t,i){return go(e,t,i,"weekdays")}function wo(e,t,i){return go(e,t,i,"weekdaysShort")}function ko(e,t,i){return go(e,t,i,"weekdaysMin")}fo.calendar=P,fo.longDateFormat=V,fo.invalidDate=B,fo.ordinal=J,fo.preparse=mo,fo.postformat=mo,fo.relativeTime=Q,fo.pastFuture=X,fo.set=T,fo.eras=Ta,fo.erasParse=Ca,fo.erasConvertYear=Ya,fo.erasAbbrRegex=Fa,fo.erasNameRegex=Ra,fo.erasNarrowRegex=Aa,fo.months=ct,fo.monthsShort=pt,fo.monthsParse=ut,fo.monthsRegex=gt,fo.monthsShortRegex=vt,fo.week=St,fo.firstDayOfYear=jt,fo.firstDayOfWeek=Mt,fo.weekdays=Wt,fo.weekdaysMin=Ht,fo.weekdaysShort=It,fo.weekdaysParse=qt,fo.weekdaysRegex=Zt,fo.weekdaysShortRegex=$t,fo.weekdaysMinRegex=Jt,fo.isPM=ii,fo.meridiem=oi,hi("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;return e+(1===Ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=D("moment.lang is deprecated. Use moment.locale instead.",hi),i.langData=D("moment.langData is deprecated. Use moment.localeData instead.",xi);var _o=Math.abs;function Do(){var e=this._data;return this._milliseconds=_o(this._milliseconds),this._days=_o(this._days),this._months=_o(this._months),e.milliseconds=_o(e.milliseconds),e.seconds=_o(e.seconds),e.minutes=_o(e.minutes),e.hours=_o(e.hours),e.months=_o(e.months),e.years=_o(e.years),this}function So(e,t,i,n){var a=Tn(t,i);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function Oo(e,t){return So(this,e,t,1)}function Mo(e,t){return So(this,e,t,-1)}function jo(e){return e<0?Math.floor(e):Math.ceil(e)}function To(){var e,t,i,n,a,o=this._milliseconds,r=this._days,l=this._months,s=this._data;return o>=0&&r>=0&&l>=0||o<=0&&r<=0&&l<=0||(o+=864e5*jo(Yo(l)+r),r=0,l=0),s.milliseconds=o%1e3,e=Te(o/1e3),s.seconds=e%60,t=Te(e/60),s.minutes=t%60,i=Te(t/60),s.hours=i%24,r+=Te(i/24),l+=a=Te(Co(r)),r-=jo(Yo(a)),n=Te(l/12),l%=12,s.days=r,s.months=l,s.years=n,this}function Co(e){return 4800*e/146097}function Yo(e){return 146097*e/4800}function zo(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=te(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+Co(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(Yo(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function Po(e){return function(){return this.as(e)}}var No=Po("ms"),Eo=Po("s"),Ro=Po("m"),Fo=Po("h"),Ao=Po("d"),Lo=Po("w"),Wo=Po("M"),Io=Po("Q"),Ho=Po("y"),Uo=No;function qo(){return Tn(this)}function Vo(e){return e=te(e),this.isValid()?this[e+"s"]():NaN}function Go(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bo=Go("milliseconds"),Zo=Go("seconds"),$o=Go("minutes"),Jo=Go("hours"),Ko=Go("days"),Qo=Go("months"),Xo=Go("years");function er(){return Te(this.days()/7)}var tr=Math.round,ir={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nr(e,t,i,n,a){return a.relativeTime(t||1,!!i,e,n)}function ar(e,t,i,n){var a=Tn(e).abs(),o=tr(a.as("s")),r=tr(a.as("m")),l=tr(a.as("h")),s=tr(a.as("d")),c=tr(a.as("M")),p=tr(a.as("w")),d=tr(a.as("y")),u=o<=i.ss&&["s",o]||o<i.s&&["ss",o]||r<=1&&["m"]||r<i.m&&["mm",r]||l<=1&&["h"]||l<i.h&&["hh",l]||s<=1&&["d"]||s<i.d&&["dd",s];return null!=i.w&&(u=u||p<=1&&["w"]||p<i.w&&["ww",p]),(u=u||c<=1&&["M"]||c<i.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,u[3]=+e>0,u[4]=n,nr.apply(null,u)}function or(e){return void 0===e?tr:"function"==typeof e&&(tr=e,!0)}function rr(e,t){return void 0!==ir[e]&&(void 0===t?ir[e]:(ir[e]=t,"s"===e&&(ir.ss=t-1),!0))}function lr(e,t){if(!this.isValid())return this.localeData().invalidDate();var i,n,a=!1,o=ir;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(o=Object.assign({},ir,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=ar(this,!a,o,i=this.localeData()),a&&(n=i.pastFuture(+this,n)),i.postformat(n)}var sr=Math.abs;function cr(e){return(e>0)-(e<0)||+e}function pr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,a,o,r,l,s=sr(this._milliseconds)/1e3,c=sr(this._days),p=sr(this._months),d=this.asSeconds();return d?(e=Te(s/60),t=Te(e/60),s%=60,e%=60,i=Te(p/12),p%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",o=cr(this._months)!==cr(d)?"-":"",r=cr(this._days)!==cr(d)?"-":"",l=cr(this._milliseconds)!==cr(d)?"-":"",a+"P"+(i?o+i+"Y":"")+(p?o+p+"M":"")+(c?r+c+"D":"")+(t||e||s?"T":"")+(t?l+t+"H":"")+(e?l+e+"M":"")+(s?l+n+"S":"")):"P0D"}var dr=ln.prototype;return dr.isValid=on,dr.abs=Do,dr.add=Oo,dr.subtract=Mo,dr.as=zo,dr.asMilliseconds=No,dr.asSeconds=Eo,dr.asMinutes=Ro,dr.asHours=Fo,dr.asDays=Ao,dr.asWeeks=Lo,dr.asMonths=Wo,dr.asQuarters=Io,dr.asYears=Ho,dr.valueOf=Uo,dr._bubble=To,dr.clone=qo,dr.get=Vo,dr.milliseconds=Bo,dr.seconds=Zo,dr.minutes=$o,dr.hours=Jo,dr.days=Ko,dr.weeks=er,dr.months=Qo,dr.years=Xo,dr.humanize=lr,dr.toISOString=pr,dr.toString=pr,dr.toJSON=pr,dr.locale=la,dr.localeData=ca,dr.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),dr.lang=sa,L("X",0,0,"unix"),L("x",0,0,"valueOf"),Se("x",xe),Se("X",we),ze("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),ze("x",function(e,t,i){i._d=new Date(Ce(e))}),
|
|
2
2
|
//! moment.js
|
|
3
3
|
i.version="2.30.1",n($i),i.fn=co,i.min=Xi,i.max=en,i.now=tn,i.utc=m,i.unix=po,i.months=xo,i.isDate=p,i.locale=hi,i.invalid=g,i.duration=Tn,i.isMoment=k,i.weekdays=bo,i.parseZone=uo,i.localeData=xi,i.isDuration=sn,i.monthsShort=yo,i.weekdaysMin=ko,i.defineLocale=vi,i.updateLocale=gi,i.locales=yi,i.weekdaysShort=wo,i.normalizeUnits=te,i.relativeTimeRounding=or,i.relativeTimeThreshold=rr,i.calendarFormat=Hn,i.prototype=co,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()),nt.exports),rt=et(ot);function lt(e){let{value:t=(new Date).toISOString(),minDate:i=null,maxDate:n=null,label:a="",onChange:o=()=>{},required:r=!1,disabled:l=!1,datePickerProps:s=null}=e;return u(m,{children:[d(w,{sx:e=>e.typography.fontSize,required:r,children:a}),d(H,ze({allowKeyboardControl:!0,margin:"dense",inputVariant:"outlined",autoOk:!0,format:"DD/MM/YYYY",slotProps:{textField:{variant:"outlined",fullWidth:!0,size:"small",sx:{mt:1}}},value:t?rt(t):null,minDate:i?rt(i):null,maxDate:n?rt(n):null,onChange:o,disabled:l},s))]})}function st(e){let{label:t="",value:i=(new Date).toISOString(),onChange:n=()=>{},minDate:a,maxDate:o,required:r=!1,disabled:l=!1}=e;return u(m,{children:[d(w,{sx:e=>e.typography.fontSize,required:r,children:t}),d(U,{allowKeyboardControl:!0,autoOk:!0,margin:"dense",inputVariant:"outlined",ampm:!1,renderInput:e=>d(b,ze({},e)),value:rt(i),minDate:rt(a),maxDate:rt(o),onChange:n,disabled:l,format:"DD/MM/YYYY HH:mm",slotProps:{textField:{variant:"outlined",fullWidth:!0,size:"small",sx:{mt:1}}}})]})}const ct=["autoFocus","propertyName"];function pt(e){let{autoFocus:t=!1,propertyName:i}=e,n=function(e,t){if(null==e)return{};var i,n,a=function(e,t){if(null==e)return{};var i={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)i=o[n],-1===t.indexOf(i)&&{}.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}(e,ct);return d(qe,ze({adornment:d(T,{onClick:()=>!1,size:"large",children:d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:d("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})})}),autoFocus:t,propertyName:i},n))}const dt={getHref:(e,t)=>{if(e&&e.links&&e.links.length>0){const i=e.links.find(e=>e.rel===t);return i?i.href:null}return null},getSelfHref:e=>dt.getHref(e,"self"),sortList:e=>e.slice().sort((e,t)=>e<t?-1:e>t?1:0),sortEntityList:(e,t)=>e.slice().sort((e,i)=>e[t]<i[t]?-1:e[t]>i[t]?1:0)},ut=e=>function(t){const{initialise:i,itemId:a}=t;return n(()=>{i&&a?i({itemId:a}):i&&i(t)},[i,a]),d(e,ze({},t))};function mt(e){let{section:t,close:i}=e;const{columns:n}=t;return u(te,{sx:{backgroundColor:"#f5f5f5",position:"fixed",zIndex:1e3,paddingTop:"80px",width:"100%",overflow:"auto",height:"100vh"},children:[d(p,{onClick:i,color:"secondary",sx:{marginRight:"10px",marginTop:"10px",float:"right",top:0,right:0},children:d(I,{})}),u(Y,{container:!0,children:[n.map((e,t)=>d(Y,{size:{xs:12,md:6,lg:3,xl:3},children:e.categories.filter(e=>e.items.filter(e=>e.showInMenu).length>0).map(e=>u(R,{dense:!0,children:[d(F,{sx:{paddingTop:"0px !important",paddingBottom:"0px !important"},children:d(x,{variant:"button",gutterBottom:!0,children:e.title.replace("&","&")})}),e.items.map(e=>e.showInMenu&&d("a",{href:e.href,style:{textDecoration:"none"},children:d(F,{sx:{paddingTop:0,paddingBottom:0,margin:0},children:d(x,{sx:{margin:0,lineHeight:1.8},variant:"overline",color:"primary",children:e.title})})},e.href))]},e.title))},t)),d(Y,{size:12,children:d("a",{href:"/".concat(t.id),children:d(p,{onClick:i,color:"primary",sx:{marginRight:"10px",marginBottom:"10px",float:"right"},children:"SHOW ALL OPTIONS..."})})})]})]})}const ft={paper:{backgroundColor:"#f5f5f5",position:"fixed",zIndex:1e3,paddingTop:"80px",width:"100%",overflow:"auto",height:"100vh"}};function ht(e){let{menu:i,close:n}=e;const[a,o]=t(),r=i.map(e=>e.columns).flat().map(e=>e.categories).flat().map(e=>e.items).flat(),l=Object.values(r.reduce((e,t)=>e[t.href]?e:ze(ze({},e),{},{[t.href]:t}),{}));return u(te,{sx:ft.paper,children:[d(p,{onClick:n,color:"secondary",sx:{marginRight:"10px",marginTop:"10px",float:"right",top:0,right:0},children:d(I,{})}),d(Y,{container:!0,children:u(Y,{size:12,sm:6,md:4,lg:3,xl:3,"justify-content":"flex-end",children:[d(pt,{value:a,onChange:(e,t)=>{o(t)},textFieldProps:{autoFocus:!0},placeholder:"start typing..."}),d(R,{dense:!0,children:(null==a?void 0:a.length)>1&&l.filter(e=>e.title.toLowerCase().includes(a.toLowerCase())||e.href.toLowerCase().includes(a.toLowerCase())).map(e=>d(v,{children:d("a",{href:e.href,style:{textDecoration:"none"},children:d(F,{sx:{paddingTop:0,paddingBottom:0,margin:0},children:d(x,{variant:"overline",color:"primary",sx:{margin:0,lineHeight:1.8},children:e.title})})})},e.href))})]})})]})}function vt(e){let{sections:i=null,loading:a=!1,username:o="",myStuff:r=null,notifications:l=[],handleSignOut:s=null}=e;const[c,f]=t(!1),[h,v]=t(),{enqueueSnackbar:g,closeSnackbar:y}=M(),b={root:{position:"absolute",width:"100%",margin:0,top:0,zIndex:10},tabLabel:{fontSize:"1rem",color:"#B0B0B0"},snackbarNew:{background:"#1a73e8",width:"800px"},snackbarSeen:{width:"800px"},tab:{minWidth:"100px"},toolbar:{paddingLeft:0,paddingRight:0},tabs:{paddingLeft:0,flexGrow:1},container:{width:"100%",margin:0},appBar:{backgroundColor:"#424242",width:"100% !important",margin:0,position:"fixed",zIndex:1300},icons:{cursor:"pointer",color:"white"}},w=()=>{v()};if(n(()=>{const e=e=>{"Escape"===e.key&&f(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[]),i){const e=i.map(e=>e.id),t=e=>{v(e.currentTarget)},n=(e,t)=>u(m,{children:[d(p,{variant:"contained",onClick:()=>{window.location=dt.getSelfHref(t)},children:"View"}),d(p,{onClick:()=>{y(e),localStorage.setItem(t.title,t.content),markNotificationSeen(t)},children:"Dismiss"})]}),k=()=>0===l.length,_=()=>{k()?g("No notifications to show!",{anchorOrigin:{vertical:"bottom",horizontal:"right"},variant:"info",preventDuplicate:!0}):l.forEach((e,t)=>{setTimeout(()=>{g("".concat(e.title," ").concat(e.content),{anchorOrigin:{vertical:"bottom",horizontal:"right"},ContentProps:{sx:{root:localStorage.getItem(e.title)?b.snackbarSeen:b.snackbarNew}},action:t=>n(t,e),preventDuplicate:!0})},200*t)})};return d(B,{onClickAway:()=>f(!1),children:u("div",{className:"hide-when-printing",children:[d(Y,{container:!0,spacing:3,children:i&&!a&&d(G,{position:"static",sx:b.appBar,children:d(J,{children:u(Y,{container:!0,spacing:3,sx:b.container,children:[d(Y,{size:9,children:d(q,{sx:b.tabs,value:c,onChange:(e,t)=>{f(c!==t&&t)},scrollButtons:"auto",variant:"scrollable",indicatorColor:"primary",textColor:"primary",children:i.map(e=>d(V,{id:e.id,sx:b.tab,label:d("span",{style:b.tabLabel,children:e.title}),selected:!1},e.id))})}),d(Y,{size:1,children:d(x,{variant:"h4",children:d(Q,{sx:b.icons,"aria-owns":h?"simple-menu":void 0,onClick:t,id:i.length},i.length)})}),d(Y,{size:1,children:d(x,{variant:"h4",children:d(K,{badgeContent:l.length,color:"primary",variant:"dot",children:d(ee,{sx:b.icons,onClick:_})})})}),d(Y,{size:1,children:d(x,{variant:"h4",children:d(X,{sx:b.icons,onClick:()=>f(i.length)})})}),u(Z,{id:"simple-menu",anchorEl:h,open:Boolean(h),onClose:w,children:[d($,{onClick:w,children:o}),o&&r.groups.map(e=>d("span",{children:d("a",{href:e.items[0].href,children:d($,{onClick:w,children:e.items[0].title})})},e.items[0].href)),s&&d($,{style:{color:"blue",textDecoration:"underline",cursor:"pointer",background:"none"},onClick:s,children:"Sign Out (Newer apps pages)"})]})]})})})}),e.map((e,t)=>c===t&&d(mt,{section:i.find(t=>t.id===e),id:e,style:{align:"right"},anchorEl:e.id,close:()=>f(!1)},e)),c===i.length&&d(ht,{menu:i,close:()=>f(!1)})]})})}return d("div",{style:b.root,children:d(G,{position:"static",color:"default",children:d(J,{sx:b.toolbar})})})}const gt=ie();function xt(e){let{items:t,removeItem:i=null,title:n="Items Selected",maxHeight:a=null}=e;return u(m,{children:[d(x,{variant:"body1",sx:{marginBottom:"8px"},children:n}),d(R,{dense:!0,sx:ze({width:"100%",position:"relative",overflow:"auto"},a&&{maxHeight:a}),children:t.map(e=>u(R,{children:[u(F,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"8px 16px"},children:[d(ae,{primary:e.displayText?e.displayText:e}),i&&d(L,{"aria-label":"delete",onClick:()=>i(e.id?e.id:e),size:"large",sx:{marginLeft:"auto"},children:d(oe,{})})]}),d(re,{})]},e.id?e.id:e))})]})}function yt(){return d(Y,{container:!0,alignItems:"flex-start",styles:{alignItems:"flex-start"},children:d(C,{variant:"h4",children:"Page Not Found"})})}function bt(e){return rt.isMoment(e)?e.clone():rt(e,"MM-DD-YYYY")}function wt(e){const t=bt(e);return 6===t.day()?t.endOf("week"):t.startOf("week").subtract(1,"days")}function kt(e){const t=bt(e);return 6===t.day()?t.endOf("week").add(6,"days"):t.endOf("week").subtract(1,"days")}const _t=ne(le,{shouldForwardProp:e=>"dayIsBetween"!==e&&"isFirstDay"!==e&&"isLastDay"!==e})(e=>{let{theme:t,dayIsBetween:i,isFirstDay:n,isLastDay:a}=e;return ze(ze(ze({},i&&{borderRadius:0,backgroundColor:t.palette.primary.main,color:t.palette.common.white,"&:hover, &:focus":{backgroundColor:t.palette.primary.dark}}),n&&{borderTopLeftRadius:"50%",borderBottomLeftRadius:"50%"}),a&&{borderTopRightRadius:"50%",borderBottomRightRadius:"50%"})});function Dt(e){let{selectedDate:t=new Date,setWeekStartDate:i,propertyName:n="",label:a="",disabled:o=!1,required:r=!1}=e;return u(m,{children:[a&&d(w,{required:r,sx:{fontSize:"1rem",marginBottom:"8px"},children:a}),d(H,{disabled:o,value:t?rt(t):null,onChange:e=>{i(n,wt(e))},renderInput:e=>d(b,ze(ze({},e),{},{variant:"outlined"})),renderDay:(e,i,n)=>{if(!t)return d(le,ze({},n));const a=rt(wt(t)),o=rt(kt(t)),r=rt(e).isBetween(a,o,null,"[]"),l=rt(e).isSame(a,"day"),s=rt(e).isSame(o,"day");return d(_t,ze(ze({},n),{},{dayIsBetween:r,isFirstDay:l,isLastDay:s}))},inputFormat:"DD/MM/YYYY",slotProps:{textField:{variant:"outlined",fullWidth:!0,size:"small",sx:{mt:1}}}})]})}!function(e,t){void 0===t&&(t={});var i=t.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===i&&n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}("@media print {\n @page {\n size: portrait;\n margin: 0mm;\n margin-right: 0mm;\n }\n \n @page land {\n size: landscape !important;\n margin: 0mm;\n margin-right: 0mm;\n }\n .print-landscape {\n page: land;\n }\n .pageContainer {\n width: 1100px;\n height: 800px;\n }\n table {\n zoom: 0.85;\n }\n .zoomed-in-printing {\n zoom: 1.45;\n }\n .date-for-printing {\n display: block !important;\n }\n .hide-when-printing {\n display: none !important;\n }\n .show-only-when-printing {\n display: block !important;\n }\n .padding-top-when-not-printing {\n padding-top: 0 !important;\n margin-top: -50px;\n }\n}\n\n.date-for-printing {\n display: none;\n right: 40px;\n top: 40px;\n position: absolute;\n font-size: small;\n}\n\n.show-only-when-printing {\n display: none;\n}\n\n.padding-top-when-not-printing {\n padding-top: 40px;\n}\n");const St=(e,t)=>{var i;null!=e&&null!==(i=e[e.length-1])&&void 0!==i&&i.includes("signin-oidc")?global.window.history.go(-3):null!=e&&e.length?t():global.window.history.back()};var Ot,Mt,jt,Tt,Ct,Yt,zt,Pt,Nt,Et,Rt,Ft,At,Lt={exports:{}};
|
|
4
4
|
/*
|